aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba/files
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-09-27 09:58:20 +0800
committerpst <pst@FreeBSD.org>1997-09-27 09:58:20 +0800
commite9d93621f9e902d1feb51501a51930e57ee3feb0 (patch)
tree1ebc8e55e6a63e0c328949d1ac7954a29b1f19ca /net/samba/files
parent3a18681f78b1ff25ac4882f283a28d3e901d54a0 (diff)
downloadfreebsd-ports-gnome-e9d93621f9e902d1feb51501a51930e57ee3feb0.tar.gz
freebsd-ports-gnome-e9d93621f9e902d1feb51501a51930e57ee3feb0.tar.zst
freebsd-ports-gnome-e9d93621f9e902d1feb51501a51930e57ee3feb0.zip
Update to Samba 1.9.17p2 -
- fixes root compromise security problem - WINS service and browsing across subnets now works too!
Diffstat (limited to 'net/samba/files')
-rw-r--r--net/samba/files/patch-aa41
1 files changed, 29 insertions, 12 deletions
diff --git a/net/samba/files/patch-aa b/net/samba/files/patch-aa
index d98338ea069a..63286ab75b50 100644
--- a/net/samba/files/patch-aa
+++ b/net/samba/files/patch-aa
@@ -1,6 +1,11 @@
---- Makefile.orig Sat Feb 22 19:26:39 1997
-+++ Makefile Tue Mar 4 11:16:34 1997
-@@ -5,16 +5,16 @@
+--- Makefile.orig Fri Sep 26 05:44:18 1997
++++ Makefile Fri Sep 26 18:41:40 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.
@@ -9,9 +14,9 @@
# The directories to put things in. If you use multiple
# architectures or share the samba binaries across NFS then
- # you will probably want to change this layout.
--BASEDIR = /usr/local/samba
-+BASEDIR = $(PREFIX)
+@@ -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
@@ -22,7 +27,7 @@
# The permissions to give the executables
INSTALLPERMS = 0755
-@@ -42,13 +42,13 @@
+@@ -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))
@@ -41,18 +46,19 @@
# 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))
-@@ -329,8 +329,8 @@
+@@ -385,9 +385,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
+-# NOTE: You may need to add -DBSD44 if you have password problems
+-# FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
-# LIBSM = -lcrypt
-+FLAGSM = -DFreeBSD -DBSD44
++FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
+LIBSM = -lcrypt
# This is for NEXTSTEP Release 2.X
-@@ -624,8 +624,8 @@
+@@ -687,8 +686,8 @@
install: installbin installman installscripts
installbin: all
@@ -63,3 +69,14 @@
installscripts:
@$(SHELL) $(srcdir)installscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS)
+@@ -707,8 +706,8 @@
+ @$(SHELL) $(srcdir)uninstallman.sh $(MANDIR) $(srcdir)
+
+ uninstallbin:
+- @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(LIBDIR) $(VARDIR) $(SPROGS)
+- @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(LIBDIR) $(VARDIR) $(PROGS)
++ @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(ETCDIR) $(LOGDIR) $(SPROGS)
++ @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(ETCDIR) $(LOGDIR) $(PROGS)
+
+ uninstallscripts:
+ @$(SHELL) $(srcdir)uninstallscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS)