aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/svr4/mkpkg
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-08-18 20:42:13 +0000
committerGerald Combs <gerald@wireshark.org>2002-08-18 20:42:13 +0000
commitc85e94578401c74b5986d902e373f83c699e2e04 (patch)
tree0ba857f33997bf922dbbae8d125be389fcc41ae4 /packaging/svr4/mkpkg
parent868c88686f8bf4d1a0f9c42cef7b2cb712883101 (diff)
Tweak the Solaris/SVR4 packaging a bit. Change "make install-strip" to
"make install"; even though the resulting files are huge it's probably better to have the debugging symbols intact. Set file and directory permissions in /usr/local to match those in /usr. svn path=/trunk/; revision=6016
Diffstat (limited to 'packaging/svr4/mkpkg')
-rwxr-xr-xpackaging/svr4/mkpkg10
1 files changed, 9 insertions, 1 deletions
diff --git a/packaging/svr4/mkpkg b/packaging/svr4/mkpkg
index 40e20eb94a..27456964c7 100755
--- a/packaging/svr4/mkpkg
+++ b/packaging/svr4/mkpkg
@@ -47,7 +47,15 @@ if [ ! -d $stagedir ] ; then
fi
find $stagedir/$prefix/* -print | \
- pkgproto $stagedir/$prefix=$prefix >> $prototype
+ pkgproto $stagedir/$prefix=$prefix | \
+ # Mimic file permissions under /usr
+ awk ' \
+ /bin/ { print $1, $2, $3, $4, "root bin"; next }; \
+ /lib/ { print $1, $2, $3, $4, "root bin"; next }; \
+ /man/ { print $1, $2, $3, $4, "root bin"; next }; \
+ { print $1, $2, $3, $4, "root sys" } \
+ ' \
+ >> $prototype
# Make the package installation directory
pkgmk -o -r / -d /$srcdir -f $prototype