summaryrefslogtreecommitdiff
path: root/packaging/Caldera/UnixWare/Package
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-06-01 12:24:11 +0000
committerGerald Carter <jerry@samba.org>2001-06-01 12:24:11 +0000
commit0e40dbf86bd60f7eb057a27f56cded4f689c6747 (patch)
treeba563fed292816c03ae1253e545c6f961cbe59ca /packaging/Caldera/UnixWare/Package
parent26bc8adcaa94a5a76710d1003d3828982fff33ac (diff)
downloadsamba-0e40dbf86bd60f7eb057a27f56cded4f689c6747.tar.gz
samba-0e40dbf86bd60f7eb057a27f56cded4f689c6747.tar.bz2
samba-0e40dbf86bd60f7eb057a27f56cded4f689c6747.zip
sync with SAMBA_2_2
(This used to be commit 720ec55c175bd9df5832085066d1e68b2684a8a2)
Diffstat (limited to 'packaging/Caldera/UnixWare/Package')
-rwxr-xr-xpackaging/Caldera/UnixWare/Package40
1 files changed, 40 insertions, 0 deletions
diff --git a/packaging/Caldera/UnixWare/Package b/packaging/Caldera/UnixWare/Package
new file mode 100755
index 0000000000..f225b8eb7e
--- /dev/null
+++ b/packaging/Caldera/UnixWare/Package
@@ -0,0 +1,40 @@
+#!/bin/ksh
+#
+# Now create the actual pkgadd installable datastream
+#
+# invoke with -n as the first argument to get this script to tell
+# you what it would do without doing anything
+#
+
+V=
+[ "$1" = "-n" ] && V=echo
+
+$V cd dist
+PKGNAME=samba
+PKGBLD=`pwd`
+[ "$V" = "echo" ] && PKGBLD=$PKGBLD/dist
+
+PKGCOMPRESS="-c"
+#PKGBLOCKLIM=2876
+PKGBLOCKLIM=6200
+
+##############################################################################
+#
+# make filesystem-type package in directory ./$PKGNAME/
+# (source files reside in ./root)
+#
+# don't use PKGBLOCKLIM for now
+#
+$V pkgmk -o $PKGCOMPRESS -d $PKGBLD -r $PKGBLD
+#pkgmk -o $PKGCOMPRESS -l $PKGBLOCKLIM -d $PKGBLD -r $PKGBLD
+#pkgmk -o $PKGCOMPRESS -l $PKGBLOCKLIM -d $PKGBLD -r $PKGBLD/root
+
+#
+# make $PKGNAME.pkg datastream-type package
+#
+$V pkgtrans -s $PKGBLD $PKGBLD/$PKGNAME.pkg $PKGNAME
+
+#
+# remove filesystem-type package
+#
+#rm -rf $PKGBLD/$PKGNAME