From 2dfb02c6205d39ed0aafc477857860dd2f11b56b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 1 Nov 1999 04:10:14 +0000 Subject: Removed old x86 packagin in line with 2.0 tree. Jeremy. --- packaging/Solaris/x86/Instructions | 44 --------------------------- packaging/Solaris/x86/PackageDate | 1 - packaging/Solaris/x86/Packager | 2 -- packaging/Solaris/x86/Packaging-instructions | 14 --------- packaging/Solaris/x86/package-prep | 32 ------------------- packaging/Solaris/x86/samba.init | 34 --------------------- packaging/Solaris/x86/setup.sh | 24 --------------- packaging/Solaris/x86/skeleton.tar | Bin 26112 -> 0 bytes 8 files changed, 151 deletions(-) delete mode 100644 packaging/Solaris/x86/Instructions delete mode 100644 packaging/Solaris/x86/PackageDate delete mode 100644 packaging/Solaris/x86/Packager delete mode 100644 packaging/Solaris/x86/Packaging-instructions delete mode 100755 packaging/Solaris/x86/package-prep delete mode 100755 packaging/Solaris/x86/samba.init delete mode 100755 packaging/Solaris/x86/setup.sh delete mode 100644 packaging/Solaris/x86/skeleton.tar diff --git a/packaging/Solaris/x86/Instructions b/packaging/Solaris/x86/Instructions deleted file mode 100644 index 73fbcc2884f..00000000000 --- a/packaging/Solaris/x86/Instructions +++ /dev/null @@ -1,44 +0,0 @@ -Copyright (C) 1997-1998 John H Terpstra -E-mail: jht@samba.org - -Subject: Installation Instructions for Sun Solaris x86 --------------------------------------------------------- - -1) cd / -2) tar xvf [path-to-]/install.tar -3) cd /usr/local/samba/lib -4) vi smb.conf - -Now modify smb.conf to reflect your site needs. - -5) samba start - -To stop samba: - - samba stop - -You could install samba to run from the system start-up scripts -(recommended) by running ./setup.sh - -Start / Stop Samba as follows:- - - samba [start | stop] - - -Subject: Encrypted password support ------------------------------------ - -Encrypted passwords applies to the SMB connections serviced by this -machine, not to local user logons. Local user logons are services by -the security system chosen by your system administrator. - -To enable SMB encrypted password support do the following: - -1) Put /usr/local/samba/bin in your PATH -2) Edit /usr/local/samba/lib/smb.conf and uncomment the - line "encrypt passwd = yes" -3) Execute: smbpasswd -a "username" "password" - -The above will create your /usr/local/samba/private/smbpasswd file -in which will be the NT and LanMAN hashed passwords. - diff --git a/packaging/Solaris/x86/PackageDate b/packaging/Solaris/x86/PackageDate deleted file mode 100644 index eb384576a41..00000000000 --- a/packaging/Solaris/x86/PackageDate +++ /dev/null @@ -1 +0,0 @@ -January 15, 1999, Sydney, Australia diff --git a/packaging/Solaris/x86/Packager b/packaging/Solaris/x86/Packager deleted file mode 100644 index 569280dc796..00000000000 --- a/packaging/Solaris/x86/Packager +++ /dev/null @@ -1,2 +0,0 @@ -Date: January 15, 1999 -Packager: John H Terpstra diff --git a/packaging/Solaris/x86/Packaging-instructions b/packaging/Solaris/x86/Packaging-instructions deleted file mode 100644 index 77eafd312f5..00000000000 --- a/packaging/Solaris/x86/Packaging-instructions +++ /dev/null @@ -1,14 +0,0 @@ -The package building files should be located in a directory -called: samba-2.0.0 - -Step Directions -==== ============================================ -1. Copy the samba distribution tarball into the packaging directory -2. Make sure you have a installed on your system the GNU gzip/gunzip files -3. Edit "package-prep" script as required -4. Run "package-prep" - -If all goes well, you should now have a usable distribution package. - -Note: Update the Instructions file as required. - diff --git a/packaging/Solaris/x86/package-prep b/packaging/Solaris/x86/package-prep deleted file mode 100755 index 0b67d906dc5..00000000000 --- a/packaging/Solaris/x86/package-prep +++ /dev/null @@ -1,32 +0,0 @@ -tar xvf skeleton.tar -NOWDIR=`pwd`; -( cd /usr/local; - if [ -x man ]; then mv man man.orig; fi - if [ -x samba ]; then mv samba samba.orig; fi - ln -sf $NOWDIR/usr/local/man man; - ln -sf $NOWDIR/usr/local/samba samba; ) -exit 0 -gunzip samba-2.0.0.tar.gz -tar xvf samba-2.0.0.tar -cd samba-2.0.0/source -./configure --with-smbwrapper -make all smbwrapper -make install -exit 0 -cd $NOWDIR/usr/local/samba -cp -pr man ../ -rm -rf man -cd $NOWDIR -tar cvf install.tar usr var -cd samba-2.0.0/source -rm -f ../source/bin/* -make clean -cd ../.. -tar cvf samba-2.0.0.tar samba-2.0.0 -rm -rf samba-2.0.0 -rm -rf usr var -cd .. -find samba-2.0.0 -print | cpio -o > samba-2.0.0-sol-2.6-x86.cpio -gzip samba-2.0.0-sol-2.6-x86.cpio -cd samba-2.0.0 -tar xvf install.tar diff --git a/packaging/Solaris/x86/samba.init b/packaging/Solaris/x86/samba.init deleted file mode 100755 index 6a742440890..00000000000 --- a/packaging/Solaris/x86/samba.init +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -if [ ! -d /usr/bin ]; then - echo "The /usr file system is not mounted." - exit 1 -fi - -killproc() { - pid=`/bin/ps ax | grep -w $1 | sed -e 's/^ *//' -e 's/ .*//'` - echo "Stopping $1 now." - [ "$pid" != "" ] && kill -15 $pid - echo $pid -} - - -# Start/stop processes required for samba server - -case "$1" in - - 'start') - echo "Starting Samba" - /usr/local/samba/bin/smbd - /usr/local/samba/bin/nmbd - echo "Done." - ;; - 'stop') - killproc smbd - killproc nmbd - ;; - *) - echo "Usage: /sbin/init.d/samba.init [ start | stop ]" - ;; -esac -exit 0 diff --git a/packaging/Solaris/x86/setup.sh b/packaging/Solaris/x86/setup.sh deleted file mode 100755 index 5bce22e1237..00000000000 --- a/packaging/Solaris/x86/setup.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -echo "Setting up for SWAT - The Samba Web Administration Tool" - -echo 'swat 901/tcp' >> /etc/services -uniq /etc/services /tmp/tempserv -cp /tmp/tempserv /etc/services -rm /tmp/tempserv -echo 'swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat' >> /etc/inetd.conf -uniq /etc/inetd.conf /tmp/tempinetd -cp /tmp/tempinetd /etc/inetd.conf -rm /tmp/tempinetd -echo "Creating Symbolic Links for Start up Scripts" -cp -f samba.init /sbin/init.d -chown bin.bin /sbin/init.d/samba.init -chmod 750 /sbin/init.d/samba.init -ln -sf /etc/init.d/samba.init /etc/rc0.d/K01samba -ln -sf /etc/init.d/samba.init /etc/rc2.d/K91samba -ln -sf /etc/init.d/samba.init /etc/rc3.d/S91samba -echo "Done. Now settting up samba command" -ln /etc/init.d/samba.init /sbin/samba -echo "Done." -echo "To start / stop samba:" -echo " execute: samba [start | stop] diff --git a/packaging/Solaris/x86/skeleton.tar b/packaging/Solaris/x86/skeleton.tar deleted file mode 100644 index 304060b1cf4..00000000000 Binary files a/packaging/Solaris/x86/skeleton.tar and /dev/null differ -- cgit