summaryrefslogtreecommitdiff
path: root/packaging/Caldera/UnixWare
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-09 03:25:53 +0000
committerGerald Carter <jerry@samba.org>2003-09-09 03:25:53 +0000
commitdbfcec04a1691659743f8f6ab065b8212fd9a5dd (patch)
tree6d5f2df124fa4c22a4816d6ac4f7cac117ac23f3 /packaging/Caldera/UnixWare
parent3cf6eaebd6c57974d33934bf9647b0ab9f50f88e (diff)
downloadsamba-dbfcec04a1691659743f8f6ab065b8212fd9a5dd.tar.gz
samba-dbfcec04a1691659743f8f6ab065b8212fd9a5dd.tar.bz2
samba-dbfcec04a1691659743f8f6ab065b8212fd9a5dd.zip
syncing packaging files from 3.0
(This used to be commit 9374755ad3b844a86642a7ea1795ec2b8ab736b2)
Diffstat (limited to 'packaging/Caldera/UnixWare')
-rwxr-xr-xpackaging/Caldera/UnixWare/Clean22
-rwxr-xr-xpackaging/Caldera/UnixWare/Compile52
-rwxr-xr-xpackaging/Caldera/UnixWare/Configure67
-rwxr-xr-xpackaging/Caldera/UnixWare/Install146
-rwxr-xr-xpackaging/Caldera/UnixWare/Makepkg10
-rwxr-xr-xpackaging/Caldera/UnixWare/Package40
-rw-r--r--packaging/Caldera/UnixWare/README54
-rwxr-xr-xpackaging/Caldera/UnixWare/findsmb141
-rw-r--r--packaging/Caldera/UnixWare/pkg/admin1
-rw-r--r--packaging/Caldera/UnixWare/pkg/pkginfo10
-rwxr-xr-xpackaging/Caldera/UnixWare/pkg/postinstall56
-rwxr-xr-xpackaging/Caldera/UnixWare/pkg/postremove30
-rw-r--r--packaging/Caldera/UnixWare/pkg/prototype310
-rw-r--r--packaging/Caldera/UnixWare/samba-2.2-uw7-prototype.patch11
-rw-r--r--packaging/Caldera/UnixWare/samba-2.2-uw7.patch200
-rw-r--r--packaging/Caldera/UnixWare/smb.conf291
-rwxr-xr-xpackaging/Caldera/UnixWare/smb.init76
-rwxr-xr-xpackaging/Caldera/UnixWare/smbadduser73
-rwxr-xr-xpackaging/Caldera/UnixWare/smbprint77
-rw-r--r--packaging/Caldera/UnixWare/smbusers3
20 files changed, 0 insertions, 1670 deletions
diff --git a/packaging/Caldera/UnixWare/Clean b/packaging/Caldera/UnixWare/Clean
deleted file mode 100755
index fe4eed2527..0000000000
--- a/packaging/Caldera/UnixWare/Clean
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-# Cleanup after having configured, compiled, installed and packaged.
-# Careful - running this script attempts to restore this hierarchy to
-# freshly unpacked source
-#
-# Invoke as "./Clean -n" to get this script to tell you what it would do
-# without doing anything
-#
-
-V=
-[ "$1" = "-n" ] && V=echo
-
-[ -d dist ] && $V rm -rf dist
-[ -f ../../../source/Makefile ] && {
- $V cd ../../../source
- $V rm -f bin/locktest bin/masktest bin/smbsh bin/debug2html \
- bin/locktest2 bin/smbfilter bin/smbtorture
- $V make clean
- $V make distclean
- $V rm -f mout*
-}
diff --git a/packaging/Caldera/UnixWare/Compile b/packaging/Caldera/UnixWare/Compile
deleted file mode 100755
index 2867e4d5ad..0000000000
--- a/packaging/Caldera/UnixWare/Compile
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/ksh
-#
-# 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
-
-CC="cc -Kthread -Kalloca -I/usr/local/include -L/usr/local/lib"
-CPP="$CC -E"
-CFLAGS="-Xa -Dasm=__asm -DANSICPP -O3"
-LDFLAGS="-L/usr/local/lib"
-CXX="CC -I/usr/local/include"
-CXXFLAGS="-O3 -I/usr/local/include/stl -L/usr/local/lib"
-RANLIB=true
-MAKE=/usr/local/bin/make
-if [ "$V" = "echo" ]
-then
- echo "exporting the following shell variables:"
- echo "CC=$CC"
- echo "CPP=$CPP"
- echo "CXX=$CXX"
- echo "RANLIB=$RANLIB"
- echo "MAKE=$MAKE"
- echo "CFLAGS=$CFLAGS"
- echo "CXXFLAGS=$CXXFLAGS"
- echo "LDFLAGS=$LDFLAGS"
-else
- export CC CPP CXX RANLIB MAKE CFLAGS CXXFLAGS LDFLAGS
-fi
-
-if [ "$V" = "echo" ]
-then
- echo "cd ../../../source"
- echo "rm -f mout-1 mout-2 mout-3 mout-4"
- echo "make all 2>&1 | tee mout-1"
- echo "make smbfilter smbtorture debug2html 2>&1 | tee mout-2"
- echo "make bin/smbspool smbwrapper bin/wbinfo 2>&1 | tee mout-3"
- echo "make masktest locktest locktest2 2>&1 | tee mout-3"
-else
- cd ../../../source
- rm -f mout-1 mout-2 mout-3 mout-4
- make all 2>&1 | tee mout-1
- make smbfilter smbtorture debug2html 2>&1 | tee mout-2
- make bin/smbspool smbwrapper bin/wbinfo 2>&1 | tee mout-3
- make masktest locktest locktest2 2>&1 | tee mout-3
-fi
-#
-# Not building :
-# nsswitch - no <nss.h>
-# rpctorture - improper use of client_info struct, dunno
diff --git a/packaging/Caldera/UnixWare/Configure b/packaging/Caldera/UnixWare/Configure
deleted file mode 100755
index e5a7fbba4d..0000000000
--- a/packaging/Caldera/UnixWare/Configure
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/ksh
-#
-# 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
-
-CC="cc -Kthread -Kalloca -I/usr/local/include -L/usr/local/lib"
-CPP="$CC -E"
-CFLAGS="-Xa -Dasm=__asm -DANSICPP -O3"
-LDFLAGS="-L/usr/local/lib"
-CXX="CC -I/usr/local/include"
-CXXFLAGS="-O3 -I/usr/local/include/stl -L/usr/local/lib"
-RANLIB=true
-MAKE=/usr/local/bin/make
-PREFIX=/usr/local/samba
-if [ "$V" = "echo" ]
-then
- echo "exporting the following shell variables:"
- echo "CC=$CC"
- echo "CPP=$CPP"
- echo "CXX=$CXX"
- echo "RANLIB=$RANLIB"
- echo "MAKE=$MAKE"
- echo "CFLAGS=$CFLAGS"
- echo "CXXFLAGS=$CXXFLAGS"
- echo "LDFLAGS=$LDFLAGS"
- echo "PREFIX=$PREFIX"
-else
- export CC CPP CXX RANLIB MAKE CFLAGS CXXFLAGS LDFLAGS PREFIX
-fi
-
-cd ../../../source
-[ -f mout-config ] && {
- if [ "$V" = "echo" ]
- then
- echo "mv mout-config mout-config$$"
- else
- mv mout-config mout-config$$
- fi
-}
-if [ "$V" = "echo" ]
-then
- echo "./configure \
- --prefix=${PREFIX} \
- --with-profile \
- --with-syslog \
- --with-utmp \
- --with-vfs \
- --with-msdfs \
- --with-netatalk \
- --with-sambabook=${PREFIX}/swat/using_samba \
- 2>&1 | tee mout-config"
-else
- ./configure \
- --prefix=${PREFIX} \
- --with-profile \
- --with-syslog \
- --with-utmp \
- --with-vfs \
- --with-msdfs \
- --with-netatalk \
- --with-sambabook=${PREFIX}/swat/using_samba \
- 2>&1 | tee mout-config
-fi
diff --git a/packaging/Caldera/UnixWare/Install b/packaging/Caldera/UnixWare/Install
deleted file mode 100755
index 3fffc37d25..0000000000
--- a/packaging/Caldera/UnixWare/Install
+++ /dev/null
@@ -1,146 +0,0 @@
-#!/bin/ksh
-#
-# 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
-
-PREFIX=/usr/local/samba
-HERE=`pwd`
-PKGDIR=packaging/Caldera/UnixWare
-
-BUILD_ROOT=${HERE}/dist
-BLDFIX=${BUILD_ROOT}/${PREFIX}
-$V rm -rf $BUILD_ROOT
-$V mkdir -p $BUILD_ROOT/etc/init.d
-$V mkdir -p ${BLDFIX}/bin
-$V mkdir -p ${BLDFIX}/sbin
-$V mkdir -p ${BLDFIX}/swat/using_samba/gifs
-$V mkdir -p ${BLDFIX}/swat/using_samba/figs
-$V mkdir -p ${BLDFIX}/swat/images
-$V mkdir -p ${BLDFIX}/swat/help
-$V mkdir -p ${BLDFIX}/swat/include
-$V mkdir -p ${BLDFIX}/man/man1
-$V mkdir -p ${BLDFIX}/man/man5
-$V mkdir -p ${BLDFIX}/man/man7
-$V mkdir -p ${BLDFIX}/man/man8
-$V mkdir -p ${BLDFIX}/var/locks
-$V mkdir -p ${BLDFIX}/lib/codepages/src
-
-# Copy into the dist tree the pkg data files
-for i in pkg/*
-do
- [ -f $i ] && $V cp $i ${BUILD_ROOT}
-done
-
-cd ../../..
-
-# Install standard binary files
-for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \
- make_smbcodepage make_unicodemap make_printerdef rpcclient smbspool \
- smbsh smbwrapper.so
-do
-$V install -m755 -s source/bin/$i ${BLDFIX}/bin
-done
-for i in mksmbpasswd.sh smbtar
-do
-$V install -m755 source/script/$i ${BLDFIX}/bin
-done
-
-# Install secure binary files
-for i in smbd nmbd swat debug2html smbtorture smbfilter locktest2 masktest
-do
-$V install -m755 -s source/bin/$i ${BLDFIX}/sbin
-done
-
-
-# Install level 1 man pages
-for i in *.1
-do
-$V install -m644 docs/manpages/$i ${BLDFIX}/man/man1
-done
-
-# Install codepage source files
-for i in 437 737 775 850 852 861 866 932 936 949 950 1251
-do
-$V install -m644 source/codepages/codepage_def.$i ${BLDFIX}/lib/codepages/src
-done
-for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R
-do
-$V install -m644 source/codepages/CP$i.TXT ${BLDFIX}/lib/codepages/src
-done
-
-# Install SWAT helper files
-for i in swat/help/*.html docs/htmldocs/*.html
-do
-$V install -m644 $i ${BLDFIX}/swat/help
-done
-for i in swat/images/*.gif
-do
-$V install -m644 $i ${BLDFIX}/swat/images
-done
-for i in swat/include/*.html
-do
-$V install -m644 $i ${BLDFIX}/swat/include
-done
-
-# This is the O'Reily Samba Book - on-line
-for i in docs/htmldocs/using_samba/*.html
-do
-$V install -m644 $i ${BLDFIX}/swat/using_samba
-done
-for i in docs/htmldocs/using_samba/figs/*.gif
-do
-$V install -m644 $i ${BLDFIX}/swat/using_samba/figs
-done
-for i in docs/htmldocs/using_samba/gifs/*.gif
-do
-$V install -m644 $i ${BLDFIX}/swat/using_samba/gifs
-done
-
-# Install the miscellany
-$V install -m644 swat/README ${BLDFIX}/swat
-$V install -m644 docs/manpages/smb.conf.5 ${BLDFIX}/man/man5
-$V install -m644 docs/manpages/lmhosts.5 ${BLDFIX}/man/man5
-$V install -m644 docs/manpages/smbpasswd.5 ${BLDFIX}/man/man5
-$V install -m644 docs/manpages/samba.7 ${BLDFIX}/man/man7
-$V install -m644 docs/manpages/smbd.8 ${BLDFIX}/man/man8
-$V install -m644 docs/manpages/nmbd.8 ${BLDFIX}/man/man8
-$V install -m644 docs/manpages/smbpasswd.8 ${BLDFIX}/man/man8
-$V install -m644 docs/manpages/swat.8 ${BLDFIX}/man/man8
-$V install -m644 docs/manpages/smbmount.8 ${BLDFIX}/man/man8
-$V install -m644 docs/manpages/smbmnt.8 ${BLDFIX}/man/man8
-$V install -m644 docs/manpages/smbumount.8 ${BLDFIX}/man/man8
-$V install -m644 ${PKGDIR}/smb.conf ${BLDFIX}/lib/smb.conf
-$V install -m644 ${PKGDIR}/smbusers $BUILD_ROOT/etc/smbusers
-$V install -m755 ${PKGDIR}/smbprint ${BLDFIX}/bin
-$V install -m755 ${PKGDIR}/findsmb ${BLDFIX}/bin
-$V install -m755 ${PKGDIR}/smbadduser ${BLDFIX}/bin
-$V install -m755 ${PKGDIR}/smb.init $BUILD_ROOT/etc/init.d/samba
-
-# The following is now done in the postinstall script
-#
-# if [ "$V" = "echo" ]
-# then
-# echo "echo 127.0.0.1 localhost > $BUILD_ROOT/etc/lmhosts"
-# else
-# echo 127.0.0.1 localhost > $BUILD_ROOT/etc/lmhosts
-# fi
-#
-# Build codepage load files
-# $V cd ${BLDFIX}/lib/codepages
-# for i in 437 737 775 850 852 861 866 932 936 949 950 1251
-# do
-# $V ${PREFIX}/bin/make_smbcodepage c $i \
-# ${BLDFIX}/lib/codepages/src/codepage_def.$i \
-# ${BLDFIX}/lib/codepages/codepage.$i
-# done
-# for i in 437 737 850 852 861 866 932 936 949 950 \
-# ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R
-# do
-# $V ${PREFIX}/bin/make_unicodemap $i \
-# ${BLDFIX}/lib/codepages/src/CP$i.TXT \
-# ${BLDFIX}/lib/codepages/unicode_map.$i
-# done
diff --git a/packaging/Caldera/UnixWare/Makepkg b/packaging/Caldera/UnixWare/Makepkg
deleted file mode 100755
index dc57b246ef..0000000000
--- a/packaging/Caldera/UnixWare/Makepkg
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/ksh
-#
-# invoke with -n as the first argument to get this script to tell
-# you what it would do without doing anything
-#
-
-./Configure $*
-./Compile $*
-./Install $*
-./Package $*
diff --git a/packaging/Caldera/UnixWare/Package b/packaging/Caldera/UnixWare/Package
deleted file mode 100755
index f225b8eb7e..0000000000
--- a/packaging/Caldera/UnixWare/Package
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/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
diff --git a/packaging/Caldera/UnixWare/README b/packaging/Caldera/UnixWare/README
deleted file mode 100644
index 74f8dc53d5..0000000000
--- a/packaging/Caldera/UnixWare/README
+++ /dev/null
@@ -1,54 +0,0 @@
-Preparation Date: December 28, 2000
-Preparer: Ronald Joe Record <rr@sco.com>
-
-Instructions: Preparing Samba Packages for UnixWare
-===============================================================
-
-We provide support only for current versions of UnixWare.
-
-The file samba-2.2-uw7.patch is a patch file suitable for use
-with the patch command as follows:
-
- # cd ../../../source
- # patch -p 0 -i ../packaging/Caldera/UnixWare/samba-2.2-uw7.patch
-
-The files modified by this patch are:
- smbwrapper/smbw.c
- tdb/tdb.c
- utils/torture.c
- utils/locktest.c
- utils/locktest2.c
- utils/masktest.c
- utils/smbcacls.c
- ltconfig
- configure.in
-
-This patch should only be necessary until these changes are accepted
-back into the 2.2 source tree. Until then, this patch must be applied
-prior to building Samba 2.2 on UnixWare 7. After applying the patch it
-is then necessary to run autoconf again and regenerate the configure file:
-
- # cd ../../../source
- # autoconf
-
-To produce the pkgadd installable datastream simply type (in this directory):
- # ./Makepkg
-
-The resultant samba.pkg should reside in the ./dist subdirectory.
-To install from this pkgadd datastream, issue the command (as root):
-
- # cd dist
- # pkgadd -d `pwd`/samba.pkg all
-
-Alternately, each of the steps in building the datastream may be performed
-individually by invoking each of the following:
-
- # ./Configure
- # ./Compile
- # ./Install
- # ./Package
-
-If files are added or deleted from the UnixWare Samba distribution then
-the prototype file in the pkg directory should be appropriately modified.
-The files in the pkg subdirectory were initially created using the mkpkg
-package from SCO Skunkware (see http://www.sco.com/skunkware).
diff --git a/packaging/Caldera/UnixWare/findsmb b/packaging/Caldera/UnixWare/findsmb
deleted file mode 100755
index c87fdb5190..0000000000
--- a/packaging/Caldera/UnixWare/findsmb
+++ /dev/null
@@ -1,141 +0,0 @@
-#!/usr/local/bin/perl
-#
-# Prints info on all smb responding machines on a subnet.
-# This script needs to be run on a machine without nmbd running and be
-# run as root to get correct info from WIN95 clients.
-#
-# syntax:
-# findsmb [subnet broadcast address]
-#
-# with no agrument it will list machines on the current subnet
-#
-# There will be a "+" in front of the workgroup name for machines that are
-# local master browsers for that workgroup. There will be an "*" in front
-# of the workgroup name for machines that are the domain master browser for
-# that workgroup.
-#
-
-$SAMBABIN = "/usr/local/samba/bin";
-
-for ($i = 0; $i < 2; $i++) { # test for -d option and broadcast address
- $_ = shift;
- if (m/-d|-D/) {
- $DEBUG = 1;
- } else {
- if ($_) {
- $BCAST = "-B $_";
- }
- }
-}
-
-sub ipsort # do numeric sort on last field of IP address
-{
- @t1 = split(/\./,$a);
- @t2 = split(/\./,$b);
- @t1[3] <=> @t2[3];
-}
-
-# look for all machines that respond to a name lookup
-
-open(NMBLOOKUP,"$SAMBABIN/nmblookup $BCAST '*'|") ||
- die("Can't run nmblookup '*'.\n");
-
-# get rid of all lines that are not a response IP address,
-# strip everything but IP address and sort by last field in address
-
-@ipaddrs = sort ipsort grep(s/ \*<00>.*$//,<NMBLOOKUP>);
-
-# print header info
-
-print "\nIP ADDR NETBIOS NAME WORKGROUP/OS/VERSION $BCAST\n";
-print "---------------------------------------------------------------------\n";
-
-foreach $ip (@ipaddrs) # loop through each IP address found
-{
- $ip =~ s/\n//; # strip newline from IP address
-
-# find the netbios names registered by each machine
-
- open(NMBLOOKUP,"$SAMBABIN/nmblookup -r -A $ip|") ||
- die("Can't get nmb name list.\n");
- @nmblookup = <NMBLOOKUP>;
- close NMBLOOKUP;
-
-# get the first <00> name
-
- @name = grep(/<00>/,@nmblookup);
- $_ = @name[0];
- if ($_) { # we have a netbios name
- if (/GROUP/) { # is it a group name
- ($name, $aliases, $type, $length, @addresses) =
- gethostbyaddr(pack('C4',split('\.',$ip)),2);
- if (! $name) { # could not get name
- $name = "unknown nis name";
- }
- } else {
- /(.{1,15})\s+<00>\s+/;
- $name = $1;
- }
-
-# do an smbclient command on the netbios name.
-
- open(SMB,"$SAMBABIN/smbclient -N -L $name -I $ip -U% |") ||
- die("Can't do smbclient command.\n");
- @smb = <SMB>;
- close SMB;
-
- if ($DEBUG) { # if -d flag print results of nmblookup and smbclient
- print "===============================================================\n";
- print @nmblookup;
- print @smb;
- }
-
-# look for the OS= string
-
- @info = grep(/OS=/,@smb);
- $_ = @info[0];
- if ($_) { # we found response
- s/Domain=|OS=|Server=|\n//g; # strip out descriptions to make line shorter
-
- } else { # no OS= string in response (WIN95 client)
-
-# for WIN95 clients get workgroup name from nmblookup response
- @name = grep(/<00> - <GROUP>/,@nmblookup);
- $_ = @name[0];
- if ($_) {
- /(.{1,15})\s+<00>\s+/;
- $_ = "[$1]";
- } else {
- $_ = "Unknown Workgroup";
- }
- }
-
-# see if machine registered a local master browser name
- if (grep(/<1d>/,@nmblookup)) {
- $master = '+'; # indicate local master browser
- if (grep(/<1b>/,@nmblookup)) { # how about domain master browser?
- $master = '*'; # indicate domain master browser
- }
- } else {
- $master = ' '; # not a browse master
- }
-
-# line up info in 3 columns
-
- print "$ip".' 'x(16-length($ip))."$name".' 'x(14-length($name))."$master"."$_\n";
-
- } else { # no netbios name found
-# try getting the host name
- ($name, $aliases, $type, $length, @addresses) =
- gethostbyaddr(pack('C4',split('\.',$ip)),2);
- if (! $name) { # could not get name
- $name = "unknown nis name";
- }
- if ($DEBUG) { # if -d flag print results of nmblookup
- print "===============================================================\n";
- print @nmblookup;
- }
- print "$ip".' 'x(16-length($ip))."$name\n";
- }
-}
-
diff --git a/packaging/Caldera/UnixWare/pkg/admin b/packaging/Caldera/UnixWare/pkg/admin
deleted file mode 100644
index fe2438c770..0000000000
--- a/packaging/Caldera/UnixWare/pkg/admin
+++ /dev/null
@@ -1 +0,0 @@
-basedir=ask
diff --git a/packaging/Caldera/UnixWare/pkg/pkginfo b/packaging/Caldera/UnixWare/pkg/pkginfo
deleted file mode 100644
index c4d8bff0bb..0000000000
--- a/packaging/Caldera/UnixWare/pkg/pkginfo
+++ /dev/null
@@ -1,10 +0,0 @@
-PKG="samba"
-NAME="Samba - A Windows SMB/CIFS fileserver for UNIX"
-VERSION="2.2"
-VENDOR="SCO"
-HOTLINE="1-800-SCO-UNIX"
-EMAIL="rr@sco.com"
-CATEGORY="skunkware"
-CLASSES="samba"
-ARCH="i386"
-BASEDIR=/
diff --git a/packaging/Caldera/UnixWare/pkg/postinstall b/packaging/Caldera/UnixWare/pkg/postinstall
deleted file mode 100755
index 4e202ae354..0000000000
--- a/packaging/Caldera/UnixWare/pkg/postinstall
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# Create /var/spool/samba, setup swat to be run out of inetd on port 901,
-# initialize the lmhosts file and create the codepage load files
-#
-# Written 10-Aug-1999 by Ronald Joe Record (rr@sco.com)
-#
-
-SPOOL=/var/spool/samba
-SVCS=/etc/services
-INET=/etc/inetd.conf
-PREFIX=/usr/local/samba
-LMHOST=/etc/lmhosts
-
-[ -d $SPOOL ] || {
- mkdir -p $SPOOL
- chmod 1777 $SPOOL
-}
-
-grep swat $SVCS > /dev/null || {
- echo "swat 901/tcp # Samba Web Administration Tool " >> $SVCS
-}
-
-grep swat $INET > /dev/null || {
- echo "swat stream tcp nowait root /usr/local/samba/bin/swat swat " >> $INET
-}
-
-if [ -f $LMHOST ]
-then
- grep localhost $LMHOST > /dev/null || {
- echo 127.0.0.1 localhost >> $LMHOST
- }
-else
- echo 127.0.0.1 localhost > $LMHOST
-fi
-
-#
-# Build codepage load files
-#
-
-cd ${PREFIX}/lib/codepages
-for i in 437 737 775 850 852 861 866 932 936 949 950 1251
-do
- ${PREFIX}/bin/make_smbcodepage c $i \
- ${PREFIX}/lib/codepages/src/codepage_def.$i \
- ${PREFIX}/lib/codepages/codepage.$i
-done
-for i in 437 737 850 852 861 866 932 936 949 950 \
- ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R
-do
- ${PREFIX}/bin/make_unicodemap $i \
- ${PREFIX}/lib/codepages/src/CP$i.TXT \
- ${PREFIX}/lib/codepages/unicode_map.$i
-done
-
-kill -1 `ps -e | grep inetd | awk ' { print $1 } '`
diff --git a/packaging/Caldera/UnixWare/pkg/postremove b/packaging/Caldera/UnixWare/pkg/postremove
deleted file mode 100755
index dc81d6fa85..0000000000
--- a/packaging/Caldera/UnixWare/pkg/postremove
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# Remove /var/spool/samba and delete inetd entries for swat
-#
-
-SPOOL=/var/spool/samba
-SVCS=/etc/services
-INET=/etc/inetd.conf
-
-[ -d $SPOOL ] && {
- rm -rf $SPOOL
-}
-
-grep swat $SVCS > /dev/null && {
- B=`basename $SVCS`
- T=$B$$
- grep -v swat $SVCS > /tmp/$T
- cp /tmp/$T $SVCS
- rm -f /tmp/$T
-}
-
-grep swat $INET > /dev/null || {
- B=`basename $INET`
- T=$B$$
- grep -v swat $INET > /tmp/$T
- cp /tmp/$T $INET
- rm -f /tmp/$T
-}
-
-kill -1 `ps -e | grep inetd | awk ' { print $1 } '`
diff --git a/packaging/Caldera/UnixWare/pkg/prototype b/packaging/Caldera/UnixWare/pkg/prototype
deleted file mode 100644
index 13a64b6feb..0000000000
--- a/packaging/Caldera/UnixWare/pkg/prototype
+++ /dev/null
@@ -1,310 +0,0 @@
-i admin=admin
-i pkginfo=pkginfo
-i postinstall=postinstall
-i postremove=postremove
-
-d samba etc 0755 root sys
-d samba etc/init.d 0755 root sys
-f samba etc/init.d/samba 0755 root sys
-f samba etc/smbusers 0644 root sys
-d samba usr 0755 root sys
-d samba usr/local 0755 root sys
-d samba usr/local/samba 0755 root sys
-d samba usr/local/samba/bin 0755 root sys
-f samba usr/local/samba/bin/nmblookup 0755 root sys
-f samba usr/local/samba/bin/smbclient 0755 root sys
-f samba usr/local/samba/bin/smbpasswd 0755 root sys
-f samba usr/local/samba/bin/smbstatus 0755 root sys
-f samba usr/local/samba/bin/testparm 0755 root sys
-f samba usr/local/samba/bin/testprns 0755 root sys
-f samba usr/local/samba/bin/make_smbcodepage 0755 root sys
-f samba usr/local/samba/bin/make_unicodemap 0755 root sys
-f samba usr/local/samba/bin/make_printerdef 0755 root sys
-f samba usr/local/samba/bin/rpcclient 0755 root sys
-f samba usr/local/samba/bin/smbspool 0755 root sys
-f samba usr/local/samba/bin/smbsh 0755 root sys
-f samba usr/local/samba/bin/smbwrapper.so 0755 root sys
-f samba usr/local/samba/bin/mksmbpasswd.sh 0755 root sys
-f samba usr/local/samba/bin/smbtar 0755 root sys
-f samba usr/local/samba/bin/smbprint 0755 root sys
-f samba usr/local/samba/bin/findsmb 0755 root sys
-f samba usr/local/samba/bin/smbadduser 0755 root sys
-d samba usr/local/samba/sbin 0755 root sys
-f samba usr/local/samba/sbin/smbd 0755 root sys
-f samba usr/local/samba/sbin/nmbd 0755 root sys
-f samba usr/local/samba/sbin/swat 0755 root sys
-f samba usr/local/samba/sbin/debug2html 0755 root sys
-f samba usr/local/samba/sbin/smbtorture 0755 root sys
-f samba usr/local/samba/sbin/smbfilter 0755 root sys
-f samba usr/local/samba/sbin/locktest2 0755 root sys
-f samba usr/local/samba/sbin/masktest 0755 root sys
-d samba usr/local/samba/swat 0755 root sys
-d samba usr/local/samba/swat/using_samba 0755 root sys
-d samba usr/local/samba/swat/using_samba/gifs 0755 root sys
-f samba usr/local/samba/swat/using_samba/gifs/index.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/gifs/samba.s.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/gifs/txthome.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/gifs/txtnexta.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/gifs/txtpreva.gif 0644 root sys
-d samba usr/local/samba/swat/using_samba/figs 0755 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0101.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0102.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0103.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0104.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0105.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0106.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0107.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0108.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0109.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0110.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0111.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0112.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0113.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0114.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0201.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0202.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0203.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0204.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0301.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0302.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0303.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0304.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0305.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0306.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0307.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0308.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0309.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0310.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0311.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0312.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0313.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0314.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0315.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0316.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0317.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0318.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0319.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0320.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0321.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0322.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0323.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0324.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0325.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0326.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0327.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0328.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0401.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0402.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0403.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0404.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0405.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0406.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0407.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0501.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0502.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0503.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0504.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0505.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0506.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0507.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0508.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0601.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0602.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0603.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0604.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0605.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0606.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0701.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0702.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0703.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0704.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0705.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0706.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0707.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0708.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0709.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0801.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0802.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0803.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0804.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0805.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0901.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0902.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0903.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0904.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.0905.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.aa01.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.ab01.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/figs/sam.ab02.gif 0644 root sys
-f samba usr/local/samba/swat/using_samba/appa_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appa_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appa_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appa_04.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appa_05.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appb_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appb_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appb_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appc_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appd_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appe_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/appf_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_04.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_05.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_06.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_07.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch01_08.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch02_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch02_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch02_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch02_04.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch02_05.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch02_06.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch03_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch03_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch03_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_04.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_05.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_06.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_07.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch04_08.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch05_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch05_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch05_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch05_04.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch05_05.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch06_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch06_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch06_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch06_04.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch06_05.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch06_06.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch07_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch07_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch07_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch08_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch08_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch08_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch08_04.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch08_05.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch08_06.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch08_07.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch09_01.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch09_02.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/ch09_03.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/index.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/inx.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/licenseinfo.html 0644 root sys
-f samba usr/local/samba/swat/using_samba/this_edition.html 0644 root sys
-d samba usr/local/samba/swat/images 0755 root sys
-f samba usr/local/samba/swat/images/globals.gif 0644 root sys
-f samba usr/local/samba/swat/images/home.gif 0644 root sys
-f samba usr/local/samba/swat/images/passwd.gif 0644 root sys
-f samba usr/local/samba/swat/images/printers.gif 0644 root sys
-f samba usr/local/samba/swat/images/samba.gif 0644 root sys
-f samba usr/local/samba/swat/images/shares.gif 0644 root sys
-f samba usr/local/samba/swat/images/status.gif 0644 root sys
-f samba usr/local/samba/swat/images/viewconfig.gif 0644 root sys
-d samba usr/local/samba/swat/help 0755 root sys
-f samba usr/local/samba/swat/help/welcome.html 0644 root sys
-f samba usr/local/samba/swat/help/DOMAIN_MEMBER.html 0644 root sys
-f samba usr/local/samba/swat/help/NT_Security.html 0644 root sys
-f samba usr/local/samba/swat/help/findsmb.1.html 0644 root sys
-f samba usr/local/samba/swat/help/lmhosts.5.html 0644 root sys
-f samba usr/local/samba/swat/help/make_smbcodepage.1.html 0644 root sys
-f samba usr/local/samba/swat/help/nmbd.8.html 0644 root sys
-f samba usr/local/samba/swat/help/nmblookup.1.html 0644 root sys
-f samba usr/local/samba/swat/help/rpcclient.1.html 0644 root sys
-f samba usr/local/samba/swat/help/samba-pdc-faq.html 0644 root sys
-f samba usr/local/samba/swat/help/samba-pdc-howto.html 0644 root sys
-f samba usr/local/samba/swat/help/samba.7.html 0644 root sys
-f samba usr/local/samba/swat/help/smb.conf.5.html 0644 root sys
-f samba usr/local/samba/swat/help/smbclient.1.html 0644 root sys
-f samba usr/local/samba/swat/help/smbcontrol.1.html 0644 root sys
-f samba usr/local/samba/swat/help/smbd.8.html 0644 root sys
-f samba usr/local/samba/swat/help/smbpasswd.5.html 0644 root sys
-f samba usr/local/samba/swat/help/smbpasswd.8.html 0644 root sys
-f samba usr/local/samba/swat/help/smbrun.1.html 0644 root sys
-f samba usr/local/samba/swat/help/smbsh.1.html 0644 root sys
-f samba usr/local/samba/swat/help/smbspool.8.html 0644 root sys
-f samba usr/local/samba/swat/help/smbstatus.1.html 0644 root sys
-f samba usr/local/samba/swat/help/smbtar.1.html 0644 root sys
-f samba usr/local/samba/swat/help/swat.8.html 0644 root sys
-f samba usr/local/samba/swat/help/testparm.1.html 0644 root sys
-f samba usr/local/samba/swat/help/testprns.1.html 0644 root sys
-f samba usr/local/samba/swat/help/wbinfo.1.html 0644 root sys
-f samba usr/local/samba/swat/help/winbindd.8.html 0644 root sys
-d samba usr/local/samba/swat/include 0755 root sys
-f samba usr/local/samba/swat/include/footer.html 0644 root sys
-f samba usr/local/samba/swat/include/header.html 0644 root sys
-f samba usr/local/samba/swat/README 0644 root sys
-d samba usr/local/samba/man 0755 root sys
-d samba usr/local/samba/man/man1 0755 root sys
-f samba usr/local/samba/man/man1/findsmb.1 0644 root sys
-f samba usr/local/samba/man/man1/make_smbcodepage.1 0644 root sys
-f samba usr/local/samba/man/man1/make_unicodemap.1 0644 root sys
-f samba usr/local/samba/man/man1/nmblookup.1 0644 root sys
-f samba usr/local/samba/man/man1/smbclient.1 0644 root sys
-f samba usr/local/samba/man/man1/smbcontrol.1 0644 root sys
-f samba usr/local/samba/man/man1/smbrun.1 0644 root sys
-f samba usr/local/samba/man/man1/smbsh.1 0644 root sys
-f samba usr/local/samba/man/man1/smbstatus.1 0644 root sys
-f samba usr/local/samba/man/man1/smbtar.1 0644 root sys
-f samba usr/local/samba/man/man1/testparm.1 0644 root sys
-f samba usr/local/samba/man/man1/testprns.1 0644 root sys
-f samba usr/local/samba/man/man1/wbinfo.1 0644 root sys
-d samba usr/local/samba/man/man5 0755 root sys
-f samba usr/local/samba/man/man5/smb.conf.5 0644 root sys
-f samba usr/local/samba/man/man5/lmhosts.5 0644 root sys
-f samba usr/local/samba/man/man5/smbpasswd.5 0644 root sys
-d samba usr/local/samba/man/man7 0755 root sys
-f samba usr/local/samba/man/man7/samba.7 0644 root sys
-d samba usr/local/samba/man/man8 0755 root sys
-f samba usr/local/samba/man/man8/smbd.8 0644 root sys
-f samba usr/local/samba/man/man8/nmbd.8 0644 root sys
-f samba usr/local/samba/man/man8/smbpasswd.8 0644 root sys
-f samba usr/local/samba/man/man8/swat.8 0644 root sys
-f samba usr/local/samba/man/man8/smbmount.8 0644 root sys
-f samba usr/local/samba/man/man8/smbmnt.8 0644 root sys
-f samba usr/local/samba/man/man8/smbumount.8 0644 root sys
-d samba usr/local/samba/var 0755 root sys
-d samba usr/local/samba/var/locks 0755 root sys
-d samba usr/local/samba/lib 0755 root sys
-d samba usr/local/samba/lib/codepages 0755 root sys
-d samba usr/local/samba/lib/codepages/src 0755 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.437 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.737 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.775 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.850 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.852 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.861 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.866 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.932 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.936 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.949 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.950 0644 root sys
-f samba usr/local/samba/lib/codepages/src/codepage_def.1251 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP437.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP737.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP850.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP852.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP861.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP866.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP932.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP936.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP949.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CP950.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CPISO8859-1.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CPISO8859-2.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CPISO8859-5.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CPISO8859-7.TXT 0644 root sys
-f samba usr/local/samba/lib/codepages/src/CPKOI8-R.TXT 0644 root sys
-f samba usr/local/samba/lib/smb.conf 0644 root sys
-d samba usr/local/man 0755 root sys
-d samba usr/local/man/html 0755 root sys
-s samba usr/local/man/html/samba=/usr/local/samba/swat/using_samba
diff --git a/packaging/Caldera/UnixWare/samba-2.2-uw7-prototype.patch b/packaging/Caldera/UnixWare/samba-2.2-uw7-prototype.patch
deleted file mode 100644
index 7678379b06..0000000000
--- a/packaging/Caldera/UnixWare/samba-2.2-uw7-prototype.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- packaging/Caldera/UnixWare/pkg/prototype.00 Tue Jan 9 05:40:47 2001
-+++ packaging/Caldera/UnixWare/pkg/prototype Fri Apr 13 14:44:33 2001
-@@ -220,7 +220,7 @@
- f samba usr/local/samba/swat/help/make_smbcodepage.1.html 0644 root sys
- f samba usr/local/samba/swat/help/nmbd.8.html 0644 root sys
- f samba usr/local/samba/swat/help/nmblookup.1.html 0644 root sys
--f samba usr/local/samba/swat/help/rpcclient.8.html 0644 root sys
-+f samba usr/local/samba/swat/help/rpcclient.1.html 0644 root sys
- f samba usr/local/samba/swat/help/samba-pdc-faq.html 0644 root sys
- f samba usr/local/samba/swat/help/samba-pdc-howto.html 0644 root sys
- f samba usr/local/samba/swat/help/samba.7.html 0644 root sys
diff --git a/packaging/Caldera/UnixWare/samba-2.2-uw7.patch b/packaging/Caldera/UnixWare/samba-2.2-uw7.patch
deleted file mode 100644
index c4412e542e..0000000000
--- a/packaging/Caldera/UnixWare/samba-2.2-uw7.patch
+++ /dev/null
@@ -1,200 +0,0 @@
---- smbwrapper/smbw.c.orig Mon Jan 8 12:37:48 2001
-+++ smbwrapper/smbw.c Fri Apr 13 13:09:00 2001
-@@ -22,6 +22,11 @@
- #include "includes.h"
- #include "realcalls.h"
-
-+#if defined(__USLC__) && defined(HAVE_SYS_ACL_H)
-+#define GETACL ACL_GET
-+#define GETACLCNT ACL_CNT
-+#endif
-+
- pstring smbw_cwd;
-
- static struct smbw_file *smbw_files;
-@@ -1462,7 +1467,11 @@
- /*****************************************************
- say no to acls
- *******************************************************/
-+#if defined(__USLC__)
-+ int smbw_acl(const char *pathp, int cmd, int nentries, void *aclbufp)
-+#else
- int smbw_acl(const char *pathp, int cmd, int nentries, aclent_t *aclbufp)
-+#endif
- {
- if (cmd == GETACL || cmd == GETACLCNT) return 0;
- errno = ENOSYS;
-@@ -1474,7 +1483,11 @@
- /*****************************************************
- say no to acls
- *******************************************************/
-+#if defined(__USLC__)
-+ int smbw_facl(int fd, int cmd, int nentries, void *aclbufp)
-+#else
- int smbw_facl(int fd, int cmd, int nentries, aclent_t *aclbufp)
-+#endif
- {
- if (cmd == GETACL || cmd == GETACLCNT) return 0;
- errno = ENOSYS;
---- tdb/tdb.c.orig Fri Apr 13 05:58:34 2001
-+++ tdb/tdb.c Fri Apr 13 13:34:18 2001
-@@ -856,7 +856,11 @@
- {
- TDB_DATA key, dbuf;
- struct list_struct rec;
-+#if defined(__USLC__)
-+ struct tdb_traverse_lock tl = { (struct tdb_traverse_lock *)0, 0, 0 };
-+#else
- struct tdb_traverse_lock tl = { NULL, 0, 0 };
-+#endif
- int ret, count = 0;
-
- /* This was in the initializaton, above, but the IRIX compiler
---- utils/torture.c.orig Fri Mar 30 13:53:26 2001
-+++ utils/torture.c Fri Apr 13 13:09:01 2001
-@@ -2703,7 +2703,11 @@
-
- dbf = stdout;
-
-+#if defined(__USLC__)
-+ setbuf(stdout, NULL);
-+#else
- setbuffer(stdout, NULL, 0);
-+#endif
-
- charset_initialise();
-
---- utils/locktest.c.orig Fri Sep 29 13:18:14 2000
-+++ utils/locktest.c Fri Apr 13 13:09:01 2001
-@@ -34,7 +34,7 @@
-
- #define FILENAME "\\locktest.dat"
- #define LOCKRANGE 1000
--#define LOCKBASE 0;
-+#define LOCKBASE 0
-
- /*
- #define LOCKBASE (0x40000000 - 50)
-@@ -59,6 +59,7 @@
- char needed;
- };
-
-+#ifndef __USLC__
- static struct record preset[] = {
- #if 0
- {36, 5, 0, 0, 0, 8, 1},
-@@ -67,6 +68,7 @@
- {99, 11, 0, 0, 7, 1, 1},
- #endif
- };
-+#endif /* __USLC__) */
-
- static struct record *recorded;
-
-@@ -378,20 +380,23 @@
- recorded = (struct record *)malloc(sizeof(*recorded) * numops);
-
- for (n=0; n<numops; n++) {
-+#ifndef __USLC__
- if (n < sizeof(preset) / sizeof(preset[0])) {
- recorded[n] = preset[n];
- } else {
-+#endif
- recorded[n].conn = random() % NCONNECTIONS;
- recorded[n].f = random() % NFILES;
- recorded[n].start = LOCKBASE + ((unsigned)random() % (LOCKRANGE-1));
-- recorded[n].len = 1 +
-- random() % (LOCKRANGE-(recorded[n].start-LOCKBASE));
-+ recorded[n].len = 1 + random() % (LOCKRANGE-(recorded[n].start-LOCKBASE));
- recorded[n].start *= RANGE_MULTIPLE;
- recorded[n].len *= RANGE_MULTIPLE;
- recorded[n].r1 = random() % 100;
- recorded[n].r2 = random() % 100;
- recorded[n].needed = True;
-+#ifndef __USLC__
- }
-+#endif
- }
-
- reconnect(cli, fnum, share);
-@@ -484,7 +489,11 @@
- int seed, server;
- static pstring servicesf = CONFIGFILE;
-
-+#if defined(__USLC__)
-+ setvbuf(stdout,NULL,_IOLBF,0); /* line buffered */
-+#else
- setlinebuf(stdout);
-+#endif
-
- dbf = stderr;
-
---- utils/locktest2.c.orig Tue Jun 13 08:47:44 2000
-+++ utils/locktest2.c Fri Apr 13 13:09:01 2001
-@@ -540,7 +540,11 @@
- int seed;
- static pstring servicesf = CONFIGFILE;
-
-+#if defined(__USLC__)
-+ setvbuf(stdout,NULL,_IOLBF,0); /* line buffered */
-+#else
- setlinebuf(stdout);
-+#endif
-
- dbf = stderr;
-
---- utils/masktest.c.orig Fri May 26 17:28:02 2000
-+++ utils/masktest.c Fri Apr 13 13:09:01 2001
-@@ -310,7 +310,11 @@
- int seed;
- static pstring servicesf = CONFIGFILE;
-
-+#if defined(__USLC__)
-+ setvbuf(stdout,NULL,_IOLBF,0); /* line buffered */
-+#else
- setlinebuf(stdout);
-+#endif
-
- dbf = stderr;
-
---- utils/smbcacls.c.orig Thu Apr 12 21:09:39 2001
-+++ utils/smbcacls.c Fri Apr 13 13:09:01 2001
-@@ -824,7 +824,11 @@
-
- ctx=talloc_init();
-
-+#if defined(__USLC__)
-+ setvbuf(stdout,NULL,_IOLBF,0); /* line buffered */
-+#else
- setlinebuf(stdout);
-+#endif
-
- dbf = stderr;
-
---- ltconfig.orig Mon Mar 13 15:20:00 2000
-+++ ltconfig Fri Apr 13 13:09:01 2001
-@@ -1482,9 +1482,9 @@
- no_undefined_flag=' -z text'
- # $CC -shared without GNU ld will not create a library from C++
- # object files and a static libstdc++, better avoid it by now
-- archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linkopts'
-+ archive_cmds='$LD -G${allow_undefined_flag} -h $rpath/$soname -o $lib $libobjs $deplibs $linkopts'
- archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
-- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp'
-+ $LD -G${allow_undefined_flag} -M $lib.exp -h $rpath/$soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp'
- hardcode_libdir_flag_spec=
- hardcode_shlibpath_var=no
- runpath_var='LD_RUN_PATH'
---- configure.in.orig Fri Apr 13 11:33:18 2001
-+++ configure.in Fri Apr 13 13:09:01 2001
-@@ -727,6 +727,10 @@
- *sysv5*)
- if [ test "$GCC" != yes ]; then
- AC_DEFINE(HAVE_MEMSET)
-+ PICFLAG="-KPIC"
-+ ac_cv_prog_cc_fpic=no
-+ ac_cv_prog_cc_Kpic=no
-+ ac_cv_prog_cc_KPIC=yes
- fi
- LDSHFLAGS="-G"
- ;;
diff --git a/packaging/Caldera/UnixWare/smb.conf b/packaging/Caldera/UnixWare/smb.conf
deleted file mode 100644
index e3b3ae9e69..0000000000
--- a/packaging/Caldera/UnixWare/smb.conf
+++ /dev/null
@@ -1,291 +0,0 @@
-# This is the main Samba configuration file. You should read the
-# smb.conf(5) manual page in order to understand the options listed
-# here. Samba has a huge number of configurable options (perhaps too
-# many!) most of which are not shown in this example
-#
-# Any line which starts with a ; (semi-colon) or a # (hash)
-# is a comment and is ignored. In this example we will use a #
-# for commentry and a ; for parts of the config file that you
-# may wish to enable
-#
-# NOTE: Whenever you modify this file you should run the command "testparm"
-# to check that you have not many any basic syntactic errors.
-#
-#======================= Global Settings =====================================
-[global]
-
-# workgroup = NT-Domain-Name or Workgroup-Name
- workgroup = MYGROUP
-
-# server string is the equivalent of the NT Description field
- server string = Samba Server
-
-# This option is important for security. It allows you to restrict
-# connections to machines which are on your local network. The
-# following example restricts access to two C class networks and
-# the "loopback" interface. For more examples of the syntax see
-# the smb.conf man page
-; hosts allow = 192.168.1. 192.168.2. 127.
-
-# if you want to automatically load your printer list rather
-# than setting them up individually then you'll need this
- printcap name = lpstat
- load printers = yes
-
-# It should not be necessary to spell out the print system type unless
-# yours is non-standard. Currently supported print systems include:
-# bsd, sysv, plp, lprng, aix, hpux, qnx
- printing = sysv
-
-# Uncomment this if you want a guest account, you must add this to /etc/passwd
-# otherwise the user "nobody" is used
-; guest account = pcguest
-
-# this tells Samba to use a separate log file for each machine
-# that connects
- log file = /usr/local/samba/var/log.%m
-
-# Put a capping on the size of the log files (in Kb).
- max log size = 50
-
-# Security mode. Most people will want user level security. See
-# security_level.txt for details.
- security = user
-# Use password server option only with security = server
-; password server = <NT-Server-Name>
-
-# Password Level allows matching of _n_ characters of the password for
-# all combinations of upper and lower case.
-; password level = 8
-; username level = 8
-
-# You may wish to use password encryption. Please read
-# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
-# Do not enable this option unless you have read those documents
-; encrypt passwords = yes
-; smb passwd file = /etc/smbpasswd
-
-# The following are needed to allow password changing from Windows to
-# update the Linux sytsem password also.
-# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
-# NOTE2: You do NOT need these to allow workstations to change only
-# the encrypted SMB passwords. They allow the Unix password
-# to be kept in sync with the SMB password.
-; unix password sync = Yes
-; passwd program = /usr/bin/passwd %u
-; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
-
-# Unix users can map to different SMB User names
-; username map = /etc/smbusers
-
-# Using the following line enables you to customise your configuration
-# on a per machine basis. The %m gets replaced with the netbios name
-# of the machine that is connecting
-; include = /etc/smb.conf.%m
-
-# Most people will find that this option gives better performance.
-# See speed.txt and the manual pages for details
- socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
-
-# Configure Samba to use multiple interfaces
-# If you have multiple network interfaces then you must list them
-# here. See the man page for details.
-; interfaces = 192.168.12.2/24 192.168.13.2/24
-
-# Configure remote browse list synchronisation here
-# request announcement to, or browse list sync from:
-# a specific host or from / to a whole subnet (see below)
-; remote browse sync = 192.168.3.25 192.168.5.255
-# Cause this host to announce itself to local subnets here
-; remote announce = 192.168.1.255 192.168.2.44
-
-# Browser Control Options:
-# set local master to no if you don't want Samba to become a master
-# browser on your network. Otherwise the normal election rules apply
-; local master = no
-
-# OS Level determines the precedence of this server in master browser
-# elections. The default value should be reasonable
-; os level = 33
-
-# Domain Master specifies Samba to be the Domain Master Browser. This
-# allows Samba to collate browse lists between subnets. Don't use this
-# if you already have a Windows NT domain controller doing this job
-; domain master = yes
-
-# Preferred Master causes Samba to force a local browser election on startup
-# and gives it a slightly higher chance of winning the election
-; preferred master = yes
-
-# Use only if you have an NT server on your network that has been
-# configured at install time to be a primary domain controller.
-; domain controller = <NT-Domain-Controller-SMBName>
-
-# Enable this if you want Samba to be a domain logon server for
-# Windows95 workstations.
-; domain logons = yes
-
-# if you enable domain logons then you may want a per-machine or
-# per user logon script
-# run a specific logon batch file per workstation (machine)
-; logon script = %m.bat
-# run a specific logon batch file per username
-; logon script = %U.bat
-
-# Where to store roving profiles (only for Win95 and WinNT)
-# %L substitutes for this servers netbios name, %U is username
-# You must uncomment the [Profiles] share below
-; logon path = \\%L\Profiles\%U
-
-# All NetBIOS names must be resolved to IP Addresses
-# 'Name Resolve Order' allows the named resolution mechanism to be specified
-# the default order is "host lmhosts wins bcast". "host" means use the unix
-# system gethostbyname() function call that will use either /etc/hosts OR
-# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
-# and the /etc/resolv.conf file. "host" therefore is system configuration
-# dependant. This parameter is most often of use to prevent DNS lookups
-# in order to resolve NetBIOS names to IP Addresses. Use with care!
-# The example below excludes use of name resolution for machines that are NOT
-# on the local network segment
-# - OR - are not deliberately to be known via lmhosts or via WINS.
-; name resolve order = wins lmhosts bcast
-
-# Windows Internet Name Serving Support Section:
-# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
-; wins support = yes
-
-# WINS Server - Tells the NMBD components of Samba to be a WINS Client
-# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
-; wins server = w.x.y.z
-
-# WINS Proxy - Tells Samba to answer name resolution queries on
-# behalf of a non WINS capable client, for this to work there must be
-# at least one WINS Server on the network. The default is NO.
-; wins proxy = yes
-
-# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
-# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
-# this has been changed in version 1.9.18 to no.
- dns proxy = no
-
-# Case Preservation can be handy - system default is _no_
-# NOTE: These can be set on a per share basis
-; preserve case = no
-; short preserve case = no
-# Default case is normally upper case for all DOS files
-; default case = lower
-# Be very careful with case sensitivity - it can break things!
-; case sensitive = no
-
-#============================ Share Definitions ==============================
-[homes]
- comment = Home Directories
- browseable = no
- writable = yes
-
-# Un-comment the following and create the netlogon directory for Domain Logons
-; [netlogon]
-; comment = Network Logon Service
-; path = /home/netlogon
-; guest ok = yes
-; writable = no
-; share modes = no
-
-
-# Un-comment the following to provide a specific roving profile share
-# the default is to use the user's home directory
-;[Profiles]
-; path = /home/profiles
-; browseable = no
-; guest ok = yes
-
-
-# NOTE: If you have a BSD-style print system there is no need to
-# specifically define each individual printer
-[printers]
- comment = All Printers
- path = /var/spool/samba
- browseable = no
-# Set public = yes to allow user 'guest account' to print
- guest ok = no
- writable = no
- printable = yes
-
-# This one is useful for people to share files
-;[tmp]
-; comment = Temporary file space
-; path = /tmp
-; read only = no
-; public = yes
-
-# A publicly accessible directory, but read only, except for people in
-# the "staff" group
-;[public]
-; comment = Public Stuff
-; path = /home/samba
-; public = yes
-; writable = yes
-; printable = no
-; write list = @staff
-
-# Other examples.
-#
-# A private printer, usable only by fred. Spool data will be placed in fred's
-# home directory. Note that fred must have write access to the spool directory,
-# wherever it is.
-;[fredsprn]
-; comment = Fred's Printer
-; valid users = fred
-; path = /homes/fred
-; printer = freds_printer
-; public = no
-; writable = no
-; printable = yes
-
-# A private directory, usable only by fred. Note that fred requires write
-# access to the directory.
-;[fredsdir]
-; comment = Fred's Service
-; path = /usr/somewhere/private
-; valid users = fred
-; public = no
-; writable = yes
-; printable = no
-
-# a service which has a different directory for each machine that connects
-# this allows you to tailor configurations to incoming machines. You could
-# also use the %u option to tailor it by user name.
-# The %m gets replaced with the machine name that is connecting.
-;[pchome]
-; comment = PC Directories
-; path = /usr/pc/%m
-; public = no
-; writable = yes
-
-# A publicly accessible directory, read/write to all users. Note that all files
-# created in the directory by users will be owned by the default user, so
-# any user with access can delete any other user's files. Obviously this
-# directory must be writable by the default user. Another user could of course
-# be specified, in which case all files would be owned by that user instead.
-;[public]
-; path = /usr/somewhere/else/public
-; public = yes
-; only guest = yes
-; writable = yes
-; printable = no
-
-# The following two entries demonstrate how to share a directory so that two
-# users can place files there that will be owned by the specific users. In this
-# setup, the directory should be writable by both users and should have the
-# sticky bit set on it to prevent abuse. Obviously this could be extended to
-# as many users as required.
-;[myshare]
-; comment = Mary's and Fred's stuff
-; path = /usr/somewhere/shared
-; valid users = mary fred
-; public = no
-; writable = yes
-; printable = no
-; create mask = 0765
-
-
diff --git a/packaging/Caldera/UnixWare/smb.init b/packaging/Caldera/UnixWare/smb.init
deleted file mode 100755
index ce6c6fa4b3..0000000000
--- a/packaging/Caldera/UnixWare/smb.init
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#ident "@(#)samba.server 1.0 96/06/19 TK" /* SVr4.0 1.1.13.1*/
-#
-# Please send info on modifications to knuutila@cs.utu.fi
-#
-# This file should have uid root, gid sys and chmod 744
-#
-# Modified 17-Jul-99 by Ron Record (rr@sco.com) for use in SCO Skunkware
-#
-
-SAMBADIR=/usr/local/samba
-RCSCRIPT=/etc/rc2.d/S99samba
-
-if [ ! -d /usr/bin ]
-then # /usr not mounted
- exit
-fi
-
-killproc() { # kill the named process(es)
- if [ -f $SAMBADIR/var/locks/$1.pid ]
- then
- kill `cat $SAMBADIR/var/locks/$1.pid`
- else
- pid=`/usr/bin/ps -e |
- /usr/bin/grep $1 |
- /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
- [ "$pid" != "" ] && kill $pid
- fi
-}
-
-start() {
-#
-# Edit these lines to suit your installation (paths, workgroup, host)
-#
- $SAMBADIR/sbin/smbd -D -s $SAMBADIR/lib/smb.conf
- $SAMBADIR/sbin/nmbd -D -s $SAMBADIR/lib/smb.conf
-}
-
-stop() {
- killproc nmbd
- killproc smbd
-}
-
-# Start/stop processes required for samba server
-
-case "$1" in
-
-'start')
- start
- ;;
-'stop')
- stop
- ;;
-'restart')
- stop
- start
- ;;
-'enable')
- if [ -h $RCSCRIPT ] ; then
- echo "Samba is already enabled."
- else
- echo "Enabling Samba ... \c"
- rm -f $RCSCRIPT
- ln -s /etc/init.d/samba $RCSCRIPT
- echo "Done"
- fi
- ;;
-'disable')
- echo "Disabling Samba ... \c"
- rm -f $RCSCRIPT
- echo "Done"
- ;;
-*)
- echo "Usage: /etc/init.d/samba { start | stop | restart | enable | disable }"
- ;;
-esac
diff --git a/packaging/Caldera/UnixWare/smbadduser b/packaging/Caldera/UnixWare/smbadduser
deleted file mode 100755
index 2f38bf28f1..0000000000
--- a/packaging/Caldera/UnixWare/smbadduser
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/csh
-#
-# smbadduser - Written by Mike Zakharoff
-#
-unalias *
-set path = ($path)
-
-set smbpasswd = /etc/smbpasswd
-set user_map = /etc/smbusers
-#
-# Set to site specific passwd command
-#
-set passwd = "cat /etc/passwd"
-#set passwd = "niscat passwd.org_dir"
-#set passwd = "ypcat passwd"
-
-set line = "----------------------------------------------------------"
-if ($#argv == 0) then
- echo $line
- echo "Written: Mike Zakharoff email: michael.j.zakharoff@boeing.com"
- echo ""
- echo " 1) Updates $smbpasswd"
- echo " 2) Updates $user_map"
- echo " 3) Executes smbpasswd for each new user"
- echo ""
- echo "smbadduser unixid:ntid unixid:ntid ..."
- echo ""
- echo "Example: smbadduser zak:zakharoffm johns:smithj"
- echo $line
- exit 1
-endif
-
-touch $smbpasswd $user_map
-set new = ()
-foreach one ($argv)
- echo $one | grep ':' >& /dev/null
- if ($status != 0) then
- echo "ERROR: Must use unixid:ntid like -> zak:zakharoffm"
- continue
- endif
- set unix = `echo $one | awk -F: '{print $1}'`
- set ntid = `echo $one | awk -F: '{print $2}'`
-
- set usr = `eval $passwd | awk -F: '$1==USR {print $1}' USR=$unix`
- if ($#usr != 1) then
- echo "ERROR: $unix Not in passwd database SKIPPING..."
- continue
- endif
- set tmp = `cat $smbpasswd | awk -F: '$1==USR {print $1}' USR=$unix`
- if ($#tmp != 0) then
- echo "ERROR: $unix is already in $smbpasswd SKIPPING..."
- continue
- endif
-
- echo "Adding: $unix to $smbpasswd"
- eval $passwd | \
- awk -F: '$1==USR { \
- printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", $1, $3, $5, $6, $7) }' USR=$unix >> $smbpasswd
- if ($unix != $ntid) then
- echo "Adding: {$unix = $ntid} to $user_map"
- echo "$unix = $ntid" >> $user_map
- endif
- set new = ($new $unix)
-end
-
-#
-# Enter password for new users
-#
-foreach one ($new)
- echo $line
- echo "ENTER password for $one"
- smbpasswd $one
-end
diff --git a/packaging/Caldera/UnixWare/smbprint b/packaging/Caldera/UnixWare/smbprint
deleted file mode 100755
index ec083eede6..0000000000
--- a/packaging/Caldera/UnixWare/smbprint
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# This script is an input filter for printcap printing on a unix machine. It
-# uses the smbclient program to print the file to the specified smb-based
-# server and service.
-# For example you could have a printcap entry like this
-#
-# smb:lp=/dev/null:sd=/usr/spool/smb:sh:if=/usr/local/samba/smbprint
-#
-# which would create a unix printer called "smb" that will print via this
-# script. You will need to create the spool directory /usr/spool/smb with
-# appropriate permissions and ownerships for your system.
-
-# Set these to the server and service you wish to print to
-# In this example I have a WfWg PC called "lapland" that has a printer
-# exported called "printer" with no password.
-
-#
-# Script further altered by hamiltom@ecnz.co.nz (Michael Hamilton)
-# so that the server, service, and password can be read from
-# a /var/spool/lpd/PRINTNAME/.config file.
-#
-# In order for this to work the /etc/printcap entry must include an
-# accounting file (af=...):
-#
-# cdcolour:\
-# :cm=CD IBM Colorjet on 6th:\
-# :sd=/var/spool/lpd/cdcolour:\
-# :af=/var/spool/lpd/cdcolour/acct:\
-# :if=/usr/local/etc/smbprint:\
-# :mx=0:\
-# :lp=/dev/null:
-#
-# The /usr/var/spool/lpd/PRINTNAME/.config file should contain:
-# server=PC_SERVER
-# service=PR_SHARENAME
-# password="password"
-#
-# E.g.
-# server=PAULS_PC
-# service=CJET_371
-# password=""
-
-#
-# Debugging log file, change to /dev/null if you like.
-#
-# logfile=/tmp/smb-print.log
-logfile=/dev/null
-
-
-#
-# The last parameter to the filter is the accounting file name.
-# Extract the directory name from the file name.
-# Concat this with /.config to get the config file.
-#
-eval acct_file=\${$#}
-spool_dir=`dirname $acct_file`
-config_file=$spool_dir/.config
-
-# Should read the following variables set in the config file:
-# server
-# service
-# password
-eval `cat $config_file`
-
-#
-# Some debugging help, change the >> to > if you want to same space.
-#
-echo "server $server, service $service" >> $logfile
-
-(
-# NOTE You may wish to add the line `echo translate' if you want automatic
-# CR/LF translation when printing.
-# echo translate
- echo "print -"
- cat
-) | /usr/bin/smbclient "\\\\$server\\$service" $password -U $server -N -P >> $logfile
diff --git a/packaging/Caldera/UnixWare/smbusers b/packaging/Caldera/UnixWare/smbusers
deleted file mode 100644
index ae3389f53f..0000000000
--- a/packaging/Caldera/UnixWare/smbusers
+++ /dev/null
@@ -1,3 +0,0 @@
-# Unix_name = SMB_name1 SMB_name2 ...
-root = administrator admin
-nobody = guest pcguest smbguest