1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Update to Samba 1.9.17p2 -

- fixes root compromise security problem
	- WINS service and browsing across subnets now works too!
This commit is contained in:
Paul Traina 1997-09-27 01:58:20 +00:00
parent e6b2148961
commit e38110a2e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8030
12 changed files with 117 additions and 63 deletions

View File

@ -3,12 +3,12 @@
# Date created: 11th Feb 1995 # Date created: 11th Feb 1995
# Whom: gpalmer # Whom: gpalmer
# #
# $Id: Makefile,v 1.11 1996/11/18 11:36:16 asami Exp $ # $Id: Makefile,v 1.12 1997/03/05 01:35:15 pst Exp $
# #
DISTNAME= samba-1.9.16p11 DISTNAME= samba-1.9.17p2
CATEGORIES= net CATEGORIES= net
MASTER_SITES= ftp://nimbus.anu.edu.au/pub/tridge/samba/ MASTER_SITES= ftp://samba.anu.edu.au/pub/samba/
WRKSRC= ${WRKDIR}/${DISTNAME}/source WRKSRC= ${WRKDIR}/${DISTNAME}/source
MAINTAINER= gpalmer@FreeBSD.ORG MAINTAINER= gpalmer@FreeBSD.ORG
@ -16,7 +16,7 @@ MAINTAINER= gpalmer@FreeBSD.ORG
MAN1= smbstatus.1 smbclient.1 smbrun.1 smbtar.1 testparm.1 testprns.1 MAN1= smbstatus.1 smbclient.1 smbrun.1 smbtar.1 testparm.1 testprns.1
MAN5= smb.conf.5 MAN5= smb.conf.5
MAN7= samba.7 MAN7= samba.7
MAN8= smbd.8 nmbd.8 MAN8= smbd.8 nmbd.8 smbpasswd.8
pre-install: pre-install:
@${MKDIR} /usr/local/samba @${MKDIR} /usr/local/samba

View File

@ -1 +1 @@
MD5 (samba-1.9.16p11.tar.gz) = fb78238de10933d2ff8a604d0f793666 MD5 (samba-1.9.17p2.tar.gz) = 27ac28ccf084268ba5c8c0b3a0ed12e4

View File

@ -1,6 +1,11 @@
--- Makefile.orig Sat Feb 22 19:26:39 1997 --- Makefile.orig Fri Sep 26 05:44:18 1997
+++ Makefile Tue Mar 4 11:16:34 1997 +++ Makefile Fri Sep 26 18:41:40 1997
@@ -5,16 +5,16 @@ @@ -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 # The base manpages directory to put the man pages in
# Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist. # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
@ -9,9 +14,9 @@
# The directories to put things in. If you use multiple # The directories to put things in. If you use multiple
# architectures or share the samba binaries across NFS then # architectures or share the samba binaries across NFS then
# you will probably want to change this layout. @@ -18,9 +18,9 @@
-BASEDIR = /usr/local/samba # normally only applies to nmbd and smbd
+BASEDIR = $(PREFIX) # SBINDIR implies a secure binary directory
BINDIR = $(BASEDIR)/bin BINDIR = $(BASEDIR)/bin
-SBINDIR = $(BASEDIR)/bin -SBINDIR = $(BASEDIR)/bin
-LIBDIR = $(BASEDIR)/lib -LIBDIR = $(BASEDIR)/lib
@ -22,7 +27,7 @@
# The permissions to give the executables # The permissions to give the executables
INSTALLPERMS = 0755 INSTALLPERMS = 0755
@@ -42,13 +42,13 @@ @@ -48,13 +48,13 @@
# set these to where to find various files # set these to where to find various files
# These can be overridden by command line switches (see smbd(8)) # These can be overridden by command line switches (see smbd(8))
# or in smb.conf (see smb.conf(5)) # 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 # 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)) # for browsing. This can also be set in nmbd (see nmbd(8))
@@ -329,8 +329,8 @@ @@ -385,9 +385,8 @@
# This is for FreeBSD # This is for FreeBSD
# contributed by kuku@acds.physik.rwth-aachen.de # contributed by kuku@acds.physik.rwth-aachen.de
# NOTE: You may need to add -DBSD44 if you have password problems -# NOTE: You may need to add -DBSD44 if you have password problems
-# FLAGSM = -DFreeBSD -# FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
-# LIBSM = -lcrypt -# LIBSM = -lcrypt
+FLAGSM = -DFreeBSD -DBSD44 +FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
+LIBSM = -lcrypt +LIBSM = -lcrypt
# This is for NEXTSTEP Release 2.X # This is for NEXTSTEP Release 2.X
@@ -624,8 +624,8 @@ @@ -687,8 +686,8 @@
install: installbin installman installscripts install: installbin installman installscripts
installbin: all installbin: all
@ -63,3 +69,14 @@
installscripts: installscripts:
@$(SHELL) $(srcdir)installscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS) @$(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)

View File

@ -1,17 +1,17 @@
bin/addtosmbpass
bin/nmblookup
bin/smbclient bin/smbclient
bin/smbpasswd
bin/smbrun bin/smbrun
bin/smbstatus bin/smbstatus
bin/smbpasswd
bin/nmblookup
bin/smbtar bin/smbtar
bin/addtosmbpass
bin/testparm bin/testparm
bin/testprns bin/testprns
sbin/smbd sbin/smbd
sbin/nmbd sbin/nmbd
man/man1/smbstatus.1.gz
man/man1/smbclient.1.gz man/man1/smbclient.1.gz
man/man1/smbrun.1.gz man/man1/smbrun.1.gz
man/man1/smbstatus.1.gz
man/man1/smbtar.1.gz man/man1/smbtar.1.gz
man/man1/testparm.1.gz man/man1/testparm.1.gz
man/man1/testprns.1.gz man/man1/testprns.1.gz
@ -19,3 +19,4 @@ man/man5/smb.conf.5.gz
man/man7/samba.7.gz man/man7/samba.7.gz
man/man8/smbd.8.gz man/man8/smbd.8.gz
man/man8/nmbd.8.gz man/man8/nmbd.8.gz
man/man8/smbpasswd.8.gz

View File

@ -3,12 +3,12 @@
# Date created: 11th Feb 1995 # Date created: 11th Feb 1995
# Whom: gpalmer # Whom: gpalmer
# #
# $Id: Makefile,v 1.11 1996/11/18 11:36:16 asami Exp $ # $Id: Makefile,v 1.12 1997/03/05 01:35:15 pst Exp $
# #
DISTNAME= samba-1.9.16p11 DISTNAME= samba-1.9.17p2
CATEGORIES= net CATEGORIES= net
MASTER_SITES= ftp://nimbus.anu.edu.au/pub/tridge/samba/ MASTER_SITES= ftp://samba.anu.edu.au/pub/samba/
WRKSRC= ${WRKDIR}/${DISTNAME}/source WRKSRC= ${WRKDIR}/${DISTNAME}/source
MAINTAINER= gpalmer@FreeBSD.ORG MAINTAINER= gpalmer@FreeBSD.ORG
@ -16,7 +16,7 @@ MAINTAINER= gpalmer@FreeBSD.ORG
MAN1= smbstatus.1 smbclient.1 smbrun.1 smbtar.1 testparm.1 testprns.1 MAN1= smbstatus.1 smbclient.1 smbrun.1 smbtar.1 testparm.1 testprns.1
MAN5= smb.conf.5 MAN5= smb.conf.5
MAN7= samba.7 MAN7= samba.7
MAN8= smbd.8 nmbd.8 MAN8= smbd.8 nmbd.8 smbpasswd.8
pre-install: pre-install:
@${MKDIR} /usr/local/samba @${MKDIR} /usr/local/samba

View File

@ -1 +1 @@
MD5 (samba-1.9.16p11.tar.gz) = fb78238de10933d2ff8a604d0f793666 MD5 (samba-1.9.17p2.tar.gz) = 27ac28ccf084268ba5c8c0b3a0ed12e4

View File

@ -1,6 +1,11 @@
--- Makefile.orig Sat Feb 22 19:26:39 1997 --- Makefile.orig Fri Sep 26 05:44:18 1997
+++ Makefile Tue Mar 4 11:16:34 1997 +++ Makefile Fri Sep 26 18:41:40 1997
@@ -5,16 +5,16 @@ @@ -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 # The base manpages directory to put the man pages in
# Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist. # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
@ -9,9 +14,9 @@
# The directories to put things in. If you use multiple # The directories to put things in. If you use multiple
# architectures or share the samba binaries across NFS then # architectures or share the samba binaries across NFS then
# you will probably want to change this layout. @@ -18,9 +18,9 @@
-BASEDIR = /usr/local/samba # normally only applies to nmbd and smbd
+BASEDIR = $(PREFIX) # SBINDIR implies a secure binary directory
BINDIR = $(BASEDIR)/bin BINDIR = $(BASEDIR)/bin
-SBINDIR = $(BASEDIR)/bin -SBINDIR = $(BASEDIR)/bin
-LIBDIR = $(BASEDIR)/lib -LIBDIR = $(BASEDIR)/lib
@ -22,7 +27,7 @@
# The permissions to give the executables # The permissions to give the executables
INSTALLPERMS = 0755 INSTALLPERMS = 0755
@@ -42,13 +42,13 @@ @@ -48,13 +48,13 @@
# set these to where to find various files # set these to where to find various files
# These can be overridden by command line switches (see smbd(8)) # These can be overridden by command line switches (see smbd(8))
# or in smb.conf (see smb.conf(5)) # 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 # 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)) # for browsing. This can also be set in nmbd (see nmbd(8))
@@ -329,8 +329,8 @@ @@ -385,9 +385,8 @@
# This is for FreeBSD # This is for FreeBSD
# contributed by kuku@acds.physik.rwth-aachen.de # contributed by kuku@acds.physik.rwth-aachen.de
# NOTE: You may need to add -DBSD44 if you have password problems -# NOTE: You may need to add -DBSD44 if you have password problems
-# FLAGSM = -DFreeBSD -# FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
-# LIBSM = -lcrypt -# LIBSM = -lcrypt
+FLAGSM = -DFreeBSD -DBSD44 +FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
+LIBSM = -lcrypt +LIBSM = -lcrypt
# This is for NEXTSTEP Release 2.X # This is for NEXTSTEP Release 2.X
@@ -624,8 +624,8 @@ @@ -687,8 +686,8 @@
install: installbin installman installscripts install: installbin installman installscripts
installbin: all installbin: all
@ -63,3 +69,14 @@
installscripts: installscripts:
@$(SHELL) $(srcdir)installscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS) @$(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)

View File

@ -1,17 +1,17 @@
bin/addtosmbpass
bin/nmblookup
bin/smbclient bin/smbclient
bin/smbpasswd
bin/smbrun bin/smbrun
bin/smbstatus bin/smbstatus
bin/smbpasswd
bin/nmblookup
bin/smbtar bin/smbtar
bin/addtosmbpass
bin/testparm bin/testparm
bin/testprns bin/testprns
sbin/smbd sbin/smbd
sbin/nmbd sbin/nmbd
man/man1/smbstatus.1.gz
man/man1/smbclient.1.gz man/man1/smbclient.1.gz
man/man1/smbrun.1.gz man/man1/smbrun.1.gz
man/man1/smbstatus.1.gz
man/man1/smbtar.1.gz man/man1/smbtar.1.gz
man/man1/testparm.1.gz man/man1/testparm.1.gz
man/man1/testprns.1.gz man/man1/testprns.1.gz
@ -19,3 +19,4 @@ man/man5/smb.conf.5.gz
man/man7/samba.7.gz man/man7/samba.7.gz
man/man8/smbd.8.gz man/man8/smbd.8.gz
man/man8/nmbd.8.gz man/man8/nmbd.8.gz
man/man8/smbpasswd.8.gz

View File

@ -3,12 +3,12 @@
# Date created: 11th Feb 1995 # Date created: 11th Feb 1995
# Whom: gpalmer # Whom: gpalmer
# #
# $Id: Makefile,v 1.11 1996/11/18 11:36:16 asami Exp $ # $Id: Makefile,v 1.12 1997/03/05 01:35:15 pst Exp $
# #
DISTNAME= samba-1.9.16p11 DISTNAME= samba-1.9.17p2
CATEGORIES= net CATEGORIES= net
MASTER_SITES= ftp://nimbus.anu.edu.au/pub/tridge/samba/ MASTER_SITES= ftp://samba.anu.edu.au/pub/samba/
WRKSRC= ${WRKDIR}/${DISTNAME}/source WRKSRC= ${WRKDIR}/${DISTNAME}/source
MAINTAINER= gpalmer@FreeBSD.ORG MAINTAINER= gpalmer@FreeBSD.ORG
@ -16,7 +16,7 @@ MAINTAINER= gpalmer@FreeBSD.ORG
MAN1= smbstatus.1 smbclient.1 smbrun.1 smbtar.1 testparm.1 testprns.1 MAN1= smbstatus.1 smbclient.1 smbrun.1 smbtar.1 testparm.1 testprns.1
MAN5= smb.conf.5 MAN5= smb.conf.5
MAN7= samba.7 MAN7= samba.7
MAN8= smbd.8 nmbd.8 MAN8= smbd.8 nmbd.8 smbpasswd.8
pre-install: pre-install:
@${MKDIR} /usr/local/samba @${MKDIR} /usr/local/samba

View File

@ -1 +1 @@
MD5 (samba-1.9.16p11.tar.gz) = fb78238de10933d2ff8a604d0f793666 MD5 (samba-1.9.17p2.tar.gz) = 27ac28ccf084268ba5c8c0b3a0ed12e4

View File

@ -1,6 +1,11 @@
--- Makefile.orig Sat Feb 22 19:26:39 1997 --- Makefile.orig Fri Sep 26 05:44:18 1997
+++ Makefile Tue Mar 4 11:16:34 1997 +++ Makefile Fri Sep 26 18:41:40 1997
@@ -5,16 +5,16 @@ @@ -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 # The base manpages directory to put the man pages in
# Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist. # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
@ -9,9 +14,9 @@
# The directories to put things in. If you use multiple # The directories to put things in. If you use multiple
# architectures or share the samba binaries across NFS then # architectures or share the samba binaries across NFS then
# you will probably want to change this layout. @@ -18,9 +18,9 @@
-BASEDIR = /usr/local/samba # normally only applies to nmbd and smbd
+BASEDIR = $(PREFIX) # SBINDIR implies a secure binary directory
BINDIR = $(BASEDIR)/bin BINDIR = $(BASEDIR)/bin
-SBINDIR = $(BASEDIR)/bin -SBINDIR = $(BASEDIR)/bin
-LIBDIR = $(BASEDIR)/lib -LIBDIR = $(BASEDIR)/lib
@ -22,7 +27,7 @@
# The permissions to give the executables # The permissions to give the executables
INSTALLPERMS = 0755 INSTALLPERMS = 0755
@@ -42,13 +42,13 @@ @@ -48,13 +48,13 @@
# set these to where to find various files # set these to where to find various files
# These can be overridden by command line switches (see smbd(8)) # These can be overridden by command line switches (see smbd(8))
# or in smb.conf (see smb.conf(5)) # 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 # 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)) # for browsing. This can also be set in nmbd (see nmbd(8))
@@ -329,8 +329,8 @@ @@ -385,9 +385,8 @@
# This is for FreeBSD # This is for FreeBSD
# contributed by kuku@acds.physik.rwth-aachen.de # contributed by kuku@acds.physik.rwth-aachen.de
# NOTE: You may need to add -DBSD44 if you have password problems -# NOTE: You may need to add -DBSD44 if you have password problems
-# FLAGSM = -DFreeBSD -# FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
-# LIBSM = -lcrypt -# LIBSM = -lcrypt
+FLAGSM = -DFreeBSD -DBSD44 +FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
+LIBSM = -lcrypt +LIBSM = -lcrypt
# This is for NEXTSTEP Release 2.X # This is for NEXTSTEP Release 2.X
@@ -624,8 +624,8 @@ @@ -687,8 +686,8 @@
install: installbin installman installscripts install: installbin installman installscripts
installbin: all installbin: all
@ -63,3 +69,14 @@
installscripts: installscripts:
@$(SHELL) $(srcdir)installscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS) @$(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)

View File

@ -1,17 +1,17 @@
bin/addtosmbpass
bin/nmblookup
bin/smbclient bin/smbclient
bin/smbpasswd
bin/smbrun bin/smbrun
bin/smbstatus bin/smbstatus
bin/smbpasswd
bin/nmblookup
bin/smbtar bin/smbtar
bin/addtosmbpass
bin/testparm bin/testparm
bin/testprns bin/testprns
sbin/smbd sbin/smbd
sbin/nmbd sbin/nmbd
man/man1/smbstatus.1.gz
man/man1/smbclient.1.gz man/man1/smbclient.1.gz
man/man1/smbrun.1.gz man/man1/smbrun.1.gz
man/man1/smbstatus.1.gz
man/man1/smbtar.1.gz man/man1/smbtar.1.gz
man/man1/testparm.1.gz man/man1/testparm.1.gz
man/man1/testprns.1.gz man/man1/testprns.1.gz
@ -19,3 +19,4 @@ man/man5/smb.conf.5.gz
man/man7/samba.7.gz man/man7/samba.7.gz
man/man8/smbd.8.gz man/man8/smbd.8.gz
man/man8/nmbd.8.gz man/man8/nmbd.8.gz
man/man8/smbpasswd.8.gz