diff options
-rw-r--r-- | packaging/SuSE/5.2/samba-1.9.18p5.dif | 234 | ||||
-rw-r--r-- | packaging/SuSE/5.2/samba.spec | 119 |
2 files changed, 0 insertions, 353 deletions
diff --git a/packaging/SuSE/5.2/samba-1.9.18p5.dif b/packaging/SuSE/5.2/samba-1.9.18p5.dif deleted file mode 100644 index 39b13f010d..0000000000 --- a/packaging/SuSE/5.2/samba-1.9.18p5.dif +++ /dev/null @@ -1,234 +0,0 @@ ---- Makefile.Linux -+++ Makefile.Linux 1998/05/06 15:58:42 -@@ -0,0 +1,35 @@ -+# -+# -+# Makefile.Linux to integrate package into source tree of S.u.S.E.-Linux -+# -+# Copyright (C) 1996 S.u.S.E. GmbH Fuerth, Germany. -+# -+# Please send bug-fixes or comments to feedback@suse.de. -+# -+# Author: Florian La Roche <florian@suse.de> -+# Volker Lendecke <vl@suse.de> -+# -+# -+ -+doc=/usr/doc/packages/samba -+ -+compile: -+ make -C source -+ -+install: -+ make install -C source -+ mkdir -p $(doc) -+ cp -a docs/* $(doc) -+ rm -rf $(doc)/*.[0-9] -+ cp -R examples $(doc) -+ chmod 644 `find $(doc) -type f` -+ chmod 755 `find $(doc) -type d` -+ install -m 644 smb.conf /etc/smb.conf -+ install rc /sbin/init.d/smb -+ install -m 755 source/mksmbpasswd.sh /usr/bin/mksmbpasswd.sh -+ ln -sf ../smb /sbin/init.d/rc2.d/S20smb -+ ln -sf ../smb /sbin/init.d/rc2.d/K20smb -+ ln -sf ../smb /sbin/init.d/rc3.d/S20smb -+ ln -sf ../smb /sbin/init.d/rc3.d/K20smb -+ mkdir -p /var/adm/fillup-templates -+ cp rc.config.samba /var/adm/fillup-templates ---- doinst.sh -+++ doinst.sh 1998/05/06 15:54:52 -@@ -0,0 +1,15 @@ -+# -+# install/doinst.sh - to be done after extraction -+# -+# Copyright (c) 1997 S.u.S.E. GmbH Fuerth, Germany. -+# -+# -+echo "Updating etc/rc.config..." -+if [ -x bin/fillup ] ; then -+ bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.samba -+else -+ echo "ERROR: fillup not found. This should not happen. Please compare" -+ echo "etc/rc.config and var/adm/fillup-templates/rc.config.samba and" -+ echo "update by hand." -+fi -+ ---- rc -+++ rc 1998/05/06 15:54:52 -@@ -0,0 +1,32 @@ -+#! /bin/sh -+# Copyright (c) 1996 StarDivision GmbH. All rights reserved. -+# Copyright (c) 1996 S.u.S.E. Gmbh Fuerth, Germany. All rights reserved. -+# -+# Author: Bastian Epting, StarDivision GmbH <be@stardivision.de> -+# Florian La Roche, <florian@suse.de> -+# Volker Lendecke, <vl@suse.de> -+# -+ -+. /etc/rc.config -+ -+test "$START_SMB" = "yes" || exit 0 -+ -+case "$1" in -+ start) -+ echo -n "Starting SMB services." -+ /usr/sbin/nmbd -D -+ /usr/sbin/smbd -D -+ echo -+ ;; -+ stop) -+ echo -n "Shutting down SMB services." -+ killproc -TERM /usr/sbin/nmbd -+ killproc -TERM /usr/sbin/smbd -+ echo -+ ;; -+ *) -+ echo "Usage: $0 {start|stop}" -+ exit 1 -+esac -+ -+exit 0 ---- rc.config.samba -+++ rc.config.samba 1998/05/06 15:54:52 -@@ -0,0 +1,5 @@ -+# -+# start samba? ("yes" or "no") -+# Windows 95 / NT - File- and Printservices -+# -+START_SMB="no" ---- smb.conf -+++ smb.conf 1998/05/06 15:54:52 -@@ -0,0 +1,48 @@ -+[global] -+ workgroup = arbeitsgruppe -+ guest account = nobody -+ keep alive = 30 -+ os level = 2 -+ security = user -+ printing = bsd -+ printcap name = /etc/printcap -+ load printers = yes -+ -+; Please uncomment the following entry and replace the -+; ip number and netmask with the correct numbers for -+; your ethernet interface. -+; interfaces = 192.168.1.1/255.255.255.0 -+ -+; If you want Samba to act as a wins server, please set -+; 'wins support = yes' -+ wins support = no -+ -+; If you want Samba to use an existing wins server, -+; please uncomment the following line and replace -+; the dummy with the wins server's ip number. -+; wins server = 192.168.1.1 -+ -+[homes] -+ comment = Heimatverzeichnis -+ browseable = no -+ read only = no -+ create mode = 0750 -+ -+; The following share gives all users access to the Server's CD drive, -+; assuming it is mounted under /cd. To enable this share, please remove -+; the semicolons before the lines -+; -+; [cdrom] -+; comment = Linux CD-ROM -+; path = /cd -+; read only = yes -+; locking = no -+ -+[printers] -+ comment = All Printers -+ browseable = no -+ printable = yes -+ public = no -+ read only = yes -+ create mode = 0700 -+ directory = /tmp ---- source/Makefile -+++ source/Makefile 1998/05/06 15:54:52 -@@ -5,11 +5,11 @@ - ########################################################################### - - # The base directory for all samba files --BASEDIR = /usr/local/samba -+BASEDIR = /usr - - # The base manpages directory to put the man pages in - # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist. --MANDIR = /usr/local/man -+MANDIR = /usr/man - - # The directories to put things in. If you use multiple - # architectures or share the samba binaries across NFS then -@@ -18,16 +18,16 @@ - # normally only applies to nmbd and smbd - # SBINDIR implies a secure binary directory - BINDIR = $(BASEDIR)/bin --SBINDIR = $(BASEDIR)/bin --LIBDIR = $(BASEDIR)/lib --VARDIR = $(BASEDIR)/var -+SBINDIR = $(BASEDIR)/sbin -+LIBDIR = $(BASEDIR)/lib/samba -+VARDIR = /var/log - - # The permissions to give the executables - INSTALLPERMS = 0755 - - # Add any optimisation or debugging flags here - # add -DSYSLOG for syslog support --FLAGS1 = -O -+FLAGS1 = -O2 - LIBS1 = - - # You will need to use a ANSI C compiler. This means under SunOS 4 you can't -@@ -47,15 +47,15 @@ - # or in smb.conf (see smb.conf(5)) - SMBLOGFILE = $(VARDIR)/log.smb - NMBLOGFILE = $(VARDIR)/log.nmb --CONFIGFILE = $(LIBDIR)/smb.conf --LMHOSTSFILE = $(LIBDIR)/lmhosts --DRIVERFILE = $(LIBDIR)/printers.def -+CONFIGFILE = /etc/smb.conf -+LMHOSTSFILE = /etc/lmhosts -+DRIVERFILE = /etc/printers.def - SMB_PASSWD = $(BINDIR)/smbpasswd --SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd --WEB_ROOT = $(BASEDIR) -+SMB_PASSWD_FILE = /etc/smbpasswd -+WEB_ROOT = /etc - - # the directory where lock files go --LOCKDIR = $(VARDIR)/locks -+LOCKDIR = /var/lock - - # The directory where code page definition files go - CODEPAGEDIR = $(LIBDIR)/codepages -@@ -206,7 +206,7 @@ - # contributed by Andrew.Tridgell@anu.edu.au - # add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the - # right libraries and includes --# FLAGSM = -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES -+FLAGSM = -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES - # LIBSM = -lshadow - - # Use this for Linux without shadow passwords or for any Linux ---- source/includes.h -+++ source/includes.h 1998/05/06 15:54:52 -@@ -244,13 +244,6 @@ - #define USE_SETFS - #endif - #endif --#ifdef SHADOW_PWD --#if _LINUX_C_LIB_VERSION_MAJOR < 5 --#ifndef crypt --#define crypt pw_encrypt --#endif --#endif --#endif - #endif - - #ifdef SUNOS4 diff --git a/packaging/SuSE/5.2/samba.spec b/packaging/SuSE/5.2/samba.spec deleted file mode 100644 index 5f20875c9e..0000000000 --- a/packaging/SuSE/5.2/samba.spec +++ /dev/null @@ -1,119 +0,0 @@ -# -# spec file for package samba (Version 1.9.18p1) -# -# Copyright (c) 1997 S.u.S.E. GmbH Fuerth, Germany. -# -# please send bugfixes or comments to feedback@suse.de. -# - -Vendor: S.u.S.E. GmbH, Fuerth, Germany -Distribution: S.u.S.E. Linux 5.1 (i386) -Name: samba -Release: 1 -Copyright: 1992-98 Andrew Tridgell, Karl Auer, Jeremy Allison -Group: -Provides: samba smbfs -Requires: -Conflicts: -Autoreqprov: on -Packager: feedback@suse.de - -Version: 1.9.18p5 -Summary: Samba is a file server for Unix, similar to LanManager. -Source: samba-1.9.18p5.tar.gz -Source1: smbfs-2.0.2.tar.gz -Patch: samba-1.9.18p5.dif -Patch1: smbfs-2.0.2.dif -%prep -%setup -%patch -%setup -T -n smbfs-2.0.2 -b1 -%patch -P 1 -%build -cd ../samba-1.9.18p5 -make -f Makefile.Linux compile -cd ../smbfs-2.0.2 -make -f Makefile.Linux compile -%install -cd ../samba-1.9.18p5 -make -f Makefile.Linux install -cd ../smbfs-2.0.2 -make -f Makefile.Linux install -Check -%post -echo "Updating etc/rc.config..." -if [ -x bin/fillup ] ; then - bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.samba -else - echo "ERROR: fillup not found. This should not happen. Please compare" - echo "etc/rc.config and var/adm/fillup-templates/rc.config.samba and" - echo "update by hand." -fi -%files -%docdir /usr/doc/packages/samba -/usr/doc/packages/samba -%config /etc/smb.conf -/usr/lib/samba/codepages -/sbin/init.d/rc2.d/K20smb -/sbin/init.d/rc2.d/S20smb -/sbin/init.d/rc3.d/K20smb -/sbin/init.d/rc3.d/S20smb -%config /sbin/init.d/smb -/usr/bin/addtosmbpass -/usr/bin/mksmbpasswd.sh -/usr/bin/make_printerdef -/usr/bin/make_smbcodepage -/usr/bin/nmblookup -/usr/bin/smbclient -/usr/bin/smbmount -/usr/bin/smbpasswd -/usr/bin/smbstatus -/usr/bin/smbtar -/usr/bin/smbumount -/usr/bin/testparm -/usr/bin/testprns -%doc /usr/man/man1/smbclient.1.gz -%doc /usr/man/man1/smbrun.1.gz -%doc /usr/man/man1/smbstatus.1.gz -%doc /usr/man/man1/smbtar.1.gz -%doc /usr/man/man1/testparm.1.gz -%doc /usr/man/man1/testprns.1.gz -%doc /usr/man/man1/make_smbcodepage.1.gz -%doc /usr/man/man5/smb.conf.5.gz -%doc /usr/man/man7/samba.7.gz -%doc /usr/man/man8/nmbd.8.gz -%doc /usr/man/man8/smbd.8.gz -%doc /usr/man/man8/smbmount.8.gz -%doc /usr/man/man8/smbumount.8.gz -%doc /usr/man/man8/smbmnt.8.gz -%doc /usr/man/man8/smbpasswd.8.gz -/usr/sbin/nmbd -/usr/sbin/smbd -/var/adm/fillup-templates/rc.config.samba -%description -Samba is a suite of programs which work together to allow clients to -access Unix filespace and printers via the SMB protocol (Seerver Message -Block). -CAUTION: The samba daemons are started by the init script -/sbin/init.d/samba, not by inetd. The entries for /usr/sbin/smbd -and /usr/sbin/nmbd must be commented out in /etc/inetd.conf. -In practice, this means that you can redirect disks and printers to -Unix disks and printers from LAN Manager clients, Windows for -Workgroups 3.11 clients, Windows'95 clients, Windows NT clients -and OS/2 clients. There is -also a Unix client program supplied as part of the suite which allows -Unix users to use an ftp-like interface to access filespace and -printers on any other SMB server. -Samba includes the following programs (in summary): -* smbd, the SMB server. This handles actual connections from clients. -* nmbd, the Netbios name server, which helps clients locate servers. -* smbclient, the Unix-hosted client program. -* testprns, a program to test server access to printers. -* testparm, a program to test the Samba configuration file for correctness. -* smb.conf, the Samba configuration file. -* smbprint, a sample script to allow a Unix host to use smbclient -to print to an SMB server. -The suite is supplied with full source and is GPLed. -This package expects its config file under /etc/smb.conf . -Documentation: /usr/doc/packages/samba - |