summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1997-07-26 16:08:49 +0000
committerJohn Terpstra <jht@samba.org>1997-07-26 16:08:49 +0000
commitbfdaaaf36d55051bf60d30648b87b96ed87b9ba5 (patch)
tree172b183175809b5eb92fea843ad479d7d2e14319 /examples
parentda0ca0a7cb21d1de8a37d28ac9872078ca4489e9 (diff)
downloadsamba-bfdaaaf36d55051bf60d30648b87b96ed87b9ba5.tar.gz
samba-bfdaaaf36d55051bf60d30648b87b96ed87b9ba5.tar.bz2
samba-bfdaaaf36d55051bf60d30648b87b96ed87b9ba5.zip
JHT ===> Just playin' wif da RPM 'tings. Ok?
(This used to be commit 4d9b2f48b737a3757a3c482d3d90cf0b9778260a)
Diffstat (limited to 'examples')
-rw-r--r--examples/redhat/samba-make.patch229
-rw-r--r--examples/redhat/samba.spec7
2 files changed, 149 insertions, 87 deletions
diff --git a/examples/redhat/samba-make.patch b/examples/redhat/samba-make.patch
index 364252d0b8..b7b1095284 100644
--- a/examples/redhat/samba-make.patch
+++ b/examples/redhat/samba-make.patch
@@ -1,85 +1,144 @@
---- samba-1.9.17/source/Makefile.orig Wed Jul 23 21:06:24 1997
-+++ samba-1.9.17/source/Makefile Wed Jul 23 21:55:10 1997
-@@ -5,11 +5,11 @@
- ###########################################################################
-
- # The base directory for all samba files
--BASEDIR = /usr/local/samba
-+BASEDIR = /
-
- # 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,9 +18,9 @@
- # 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)etc
-+VARDIR = $(BASEDIR)var
-
- # The permissions to give the executables
- INSTALLPERMS = 0755
-@@ -29,13 +29,13 @@
- # add -DSYSLOG for syslog support
- # RPM_OPT_FLAGS is needed when building an RPM distribution package
- # for RedHat Linux.
--# FLAGS1 = $(RPM_OPT_FLAGS)
--FLAGS1 = -O
-+FLAGS1 = $(RPM_OPT_FLAGS)
-+# FLAGS1 = -O
- LIBS1 =
-
- # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
- # use cc, instead you will have to use gcc.
--# CC = gcc
-+CC = gcc
-
- # This may help with some versions of make
- SHELL = /bin/sh
-@@ -48,13 +48,13 @@
- # set these to where to find various files
- # These can be overridden by command line switches (see smbd(8))
- # or in smb.conf (see smb.conf(5))
--SMBLOGFILE = $(VARDIR)/log.smb
--NMBLOGFILE = $(VARDIR)/log.nmb
-+SMBLOGFILE = $(VARDIR)/log/samba/log.smb
-+NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
- CONFIGFILE = $(LIBDIR)/smb.conf
- LMHOSTSFILE = $(LIBDIR)/lmhosts
-
- # the directory where lock files go
--LOCKDIR = $(VARDIR)/locks
-+LOCKDIR = $(VARDIR)/lock/samba
-
- # set this to the default group you want your machine to appear in
- # for browsing. This can also be set in nmbd (see nmbd(8))
-@@ -84,8 +84,8 @@
-
- # This is for PAM authentication. RedHat Linux uses PAM.
- # If you use PAM, then uncomment the following lines:
--# PAM_FLAGS = -DUSE_PAM
--# PAM_LIBS = -ldl -lpam
-+PAM_FLAGS = -DUSE_PAM
-+PAM_LIBS = -ldl -lpam
-
- # This is for AFS authentication. If you use AFS then set AFS_BASE
- # according to your system layout, and uncomment the other lines as well.
-@@ -200,8 +200,8 @@
- # contributed by Andrew.Tridgell@anu.edu.au
- # AXPROC defines DEC Alpha Processor
- # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
--# FLAGSM = -DLINUX -DFAST_SHARE_MODES
--# LIBSM =
-+FLAGSM = -DLINUX -DFAST_SHARE_MODES
-+LIBSM =
-
- # Use this for Linux with shadow passwords and quota
- # contributed by xeno@mix.hive.no
+*** samba-1.9.17/source/Makefile.orig Sun Jul 27 00:19:02 1997
+--- samba-1.9.17/source/Makefile Sun Jul 27 00:21:05 1997
+***************
+*** 5,15 ****
+ ###########################################################################
+
+ # The base directory for all samba files
+! BASEDIR = /usr/local/samba
+
+ # The base manpages directory to put the man pages in
+ # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
+! MANDIR = /usr/local/man
+
+ # The directories to put things in. If you use multiple
+ # architectures or share the samba binaries across NFS then
+--- 5,15 ----
+ ###########################################################################
+
+ # The base directory for all samba files
+! BASEDIR = /
+
+ # The base manpages directory to put the man pages in
+ # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
+! MANDIR = /usr/man
+
+ # The directories to put things in. If you use multiple
+ # architectures or share the samba binaries across NFS then
+***************
+*** 18,26 ****
+ # 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
+
+ # The permissions to give the executables
+ INSTALLPERMS = 0755
+--- 18,26 ----
+ # normally only applies to nmbd and smbd
+ # SBINDIR implies a secure binary directory
+ BINDIR = $(BASEDIR)/bin
+! SBINDIR = $(BASEDIR)/sbin
+! LIBDIR = $(BASEDIR)etc
+! VARDIR = $(BASEDIR)var
+
+ # The permissions to give the executables
+ INSTALLPERMS = 0755
+***************
+*** 29,41 ****
+ # add -DSYSLOG for syslog support
+ # RPM_OPT_FLAGS is needed when building an RPM distribution package
+ # for RedHat Linux.
+! # FLAGS1 = $(RPM_OPT_FLAGS)
+! FLAGS1 = -O
+ LIBS1 =
+
+ # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
+ # use cc, instead you will have to use gcc.
+! # CC = gcc
+
+ # This may help with some versions of make
+ SHELL = /bin/sh
+--- 29,41 ----
+ # add -DSYSLOG for syslog support
+ # RPM_OPT_FLAGS is needed when building an RPM distribution package
+ # for RedHat Linux.
+! FLAGS1 = $(RPM_OPT_FLAGS)
+! #FLAGS1 = -O
+ LIBS1 =
+
+ # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
+ # use cc, instead you will have to use gcc.
+! CC = gcc
+
+ # This may help with some versions of make
+ SHELL = /bin/sh
+***************
+*** 48,60 ****
+ # set these to where to find various files
+ # These can be overridden by command line switches (see smbd(8))
+ # or in smb.conf (see smb.conf(5))
+! SMBLOGFILE = $(VARDIR)/log.smb
+! NMBLOGFILE = $(VARDIR)/log.nmb
+ CONFIGFILE = $(LIBDIR)/smb.conf
+ LMHOSTSFILE = $(LIBDIR)/lmhosts
+
+ # the directory where lock files go
+! LOCKDIR = $(VARDIR)/locks
+
+ # set this to the default group you want your machine to appear in
+ # for browsing. This can also be set in nmbd (see nmbd(8))
+--- 48,60 ----
+ # set these to where to find various files
+ # These can be overridden by command line switches (see smbd(8))
+ # or in smb.conf (see smb.conf(5))
+! SMBLOGFILE = $(VARDIR)/log/samba/log.smb
+! NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
+ CONFIGFILE = $(LIBDIR)/smb.conf
+ LMHOSTSFILE = $(LIBDIR)/lmhosts
+
+ # the directory where lock files go
+! LOCKDIR = $(VARDIR)/lock/samba
+
+ # set this to the default group you want your machine to appear in
+ # for browsing. This can also be set in nmbd (see nmbd(8))
+***************
+*** 84,91 ****
+
+ # This is for PAM authentication. RedHat Linux uses PAM.
+ # If you use PAM, then uncomment the following lines:
+! # PAM_FLAGS = -DUSE_PAM
+! # PAM_LIBS = -ldl -lpam
+
+ # This is for AFS authentication. If you use AFS then set AFS_BASE
+ # according to your system layout, and uncomment the other lines as well.
+--- 84,91 ----
+
+ # This is for PAM authentication. RedHat Linux uses PAM.
+ # If you use PAM, then uncomment the following lines:
+! PAM_FLAGS = -DUSE_PAM
+! PAM_LIBS = -ldl -lpam
+
+ # This is for AFS authentication. If you use AFS then set AFS_BASE
+ # according to your system layout, and uncomment the other lines as well.
+***************
+*** 200,207 ****
+ # contributed by Andrew.Tridgell@anu.edu.au
+ # AXPROC defines DEC Alpha Processor
+ # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
+! # FLAGSM = -DLINUX -DFAST_SHARE_MODES
+! # LIBSM =
+
+ # Use this for Linux with shadow passwords and quota
+ # contributed by xeno@mix.hive.no
+--- 200,207 ----
+ # contributed by Andrew.Tridgell@anu.edu.au
+ # AXPROC defines DEC Alpha Processor
+ # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
+! FLAGSM = -DLINUX -DFAST_SHARE_MODES
+! LIBSM =
+
+ # Use this for Linux with shadow passwords and quota
+ # contributed by xeno@mix.hive.no
diff --git a/examples/redhat/samba.spec b/examples/redhat/samba.spec
index 6f54375d57..54329a13b9 100644
--- a/examples/redhat/samba.spec
+++ b/examples/redhat/samba.spec
@@ -2,14 +2,14 @@ Summary: SMB client and server
Name: samba
%define version 1.9.17
Version: %{version}
-Release: 5
+Release: 6
Copyright: GPL
Group: Networking
Source: ftp://samba.anu.edu.au/pub/samba/samba-%{version}.tar.gz
Patch: samba-make.patch
Patch2: samba-axp.patch
Packager: John H Terpstra [Samba-Team] <jht@aquasoft.com.au>
-Requires: pamconfig
+Requires:
BuildRoot: /tmp/samba
%description
@@ -22,6 +22,9 @@ SMB filesystem in Linux.
Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT need
NetBEUI (Microsoft Raw NetBIOS frame) protocol.
+This release provides enhanced browsing and protocol support and
+has been called - The BROWSE FIX release.
+
%prep
%setup
%patch -p1