summaryrefslogtreecommitdiffstats
path: root/packaging/HPUX/create_package_with_winbind.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/HPUX/create_package_with_winbind.sh')
-rw-r--r--packaging/HPUX/create_package_with_winbind.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/packaging/HPUX/create_package_with_winbind.sh b/packaging/HPUX/create_package_with_winbind.sh
new file mode 100644
index 00000000000..b58c38f0a91
--- /dev/null
+++ b/packaging/HPUX/create_package_with_winbind.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/sh
+PRODUCT=Samba
+DEPOT=samba.depot
+PSF=samba.psf
+export PRODUCT
+export DEPOT
+export PSF
+
+mkdir codepage >/dev/null 2>&1
+mkdir man >/dev/null 2>&1
+
+./gen_psf_with_winbind.sh $PRODUCT
+
+echo "Creating software depot ($DEPOT) for product $PRODUCT"
+
+/usr/sbin/swpackage -vv -s samba.psf -x target_type=tape -d `pwd`/$DEPOT $PRODUCT
+
+#- clean-up temporary directories
+rm -r codepage
+rm -r man
+