diff options
author | agc <agc@pkgsrc.org> | 1997-12-24 10:32:01 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-12-24 10:32:01 +0000 |
commit | eb359c12c4a83f1b5d9d92fc1bd2614152d6b91e (patch) | |
tree | 81de82841f699b8916a06b35b2cc7a7463fadc9f /net/samba/patches | |
parent | 00fdfa6041111abcb7ff7017aa8bbb0fe1e7ee77 (diff) | |
download | pkgsrc-eb359c12c4a83f1b5d9d92fc1bd2614152d6b91e.tar.gz |
Initial import of samba, from FreeBSD, into the NetBSD packages
collection, thanks to Ty Sarna (tsarna@endicor.com), and addresses the
first part of PR pkg/4746.
The Samba software suite is a collection of programs that implements
the SMB protocol for UNIX systems.
Diffstat (limited to 'net/samba/patches')
-rw-r--r-- | net/samba/patches/patch-aa | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/net/samba/patches/patch-aa b/net/samba/patches/patch-aa new file mode 100644 index 00000000000..6c07f098047 --- /dev/null +++ b/net/samba/patches/patch-aa @@ -0,0 +1,70 @@ +--- Makefile.orig Sat Sep 27 00:04:52 1997 ++++ Makefile Wed Oct 15 17:09:58 1997 +@@ -5,11 +5,11 @@ + ########################################################################### + + # The base directory for all samba files +-BASEDIR = /usr/local/samba ++BASEDIR = $(PREFIX) + + # 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 = $(PREFIX)/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 ++ETCDIR = $(BASEDIR)/etc ++LOGDIR = /var/log + + # The permissions to give the executables + INSTALLPERMS = 0755 +@@ -45,13 +45,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 +-CONFIGFILE = $(LIBDIR)/smb.conf +-LMHOSTSFILE = $(LIBDIR)/lmhosts ++SMBLOGFILE = $(LOGDIR)/smb ++NMBLOGFILE = $(LOGDIR)/nmb ++CONFIGFILE = $(ETCDIR)/smb.conf ++LMHOSTSFILE = $(ETCDIR)/lmhosts + + # the directory where lock files go +-LOCKDIR = $(VARDIR)/locks ++LOCKDIR = /var/spool/lock + + # 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)) +@@ -383,8 +383,8 @@ + # This is for FreeBSD + # contributed by kuku@acds.physik.rwth-aachen.de + # NOTE: You may need to add -DBSD44 if you have password problems +-# FLAGSM = -DFreeBSD -DFAST_SHARE_MODES +-# LIBSM = -lcrypt ++FLAGSM = -DFreeBSD -DFAST_SHARE_MODES ++LIBSM = -lcrypt + + + # This is for NEXTSTEP Release 2.X +@@ -684,8 +684,8 @@ + install: installbin installman installscripts + + installbin: all +- @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(LIBDIR) $(VARDIR) $(SPROGS) +- @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(LIBDIR) $(VARDIR) $(PROGS) ++ @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(ETCDIR) $(LOGDIR) $(SPROGS) ++ @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(ETCDIR) $(LOGDIR) $(PROGS) + + installscripts: + @$(SHELL) $(srcdir)installscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS) |