1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-12 13:44:19 +03:00

JHT ===> Getting ready for release of 1.9.17alpha5

Please note that version.h has been updated!!!!!!!!!!
This commit is contained in:
John Terpstra
-
parent e723dd3dee
commit 271d12b5dd
5 changed files with 96 additions and 136 deletions

View File

@@ -8,5 +8,7 @@ SRCDIR=`rpm --showrc | awk '/^sourcedir/ { print $3}'`
cp -a *.spec $SPECDIR cp -a *.spec $SPECDIR
cp -a *.patch smb.* samba.log $SRCDIR cp -a *.patch smb.* samba.log $SRCDIR
cd $SRCDIR
tar czvf samba-1.9.17.tar.gz samba-1.9.17
cd $SPECDIR cd $SPECDIR
rpm --clean -ba samba.spec rpm --clean -ba samba.spec

View File

@@ -1,132 +1,85 @@
*** samba-1.9.17/source/Makefile.orig Sat Jul 12 12:51:39 1997 --- samba-1.9.17/source/Makefile.orig Wed Jul 23 21:06:24 1997
--- samba-1.9.17/source/Makefile Sat Jul 12 12:56:04 1997 +++ samba-1.9.17/source/Makefile Wed Jul 23 21:55:10 1997
*************** @@ -5,11 +5,11 @@
*** 5,15 ****
########################################################################### ###########################################################################
# The base directory for all samba files # The base directory for all samba files
! BASEDIR = /usr/local/samba -BASEDIR = /usr/local/samba
+BASEDIR = /
# 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.
! MANDIR = /usr/local/man -MANDIR = /usr/local/man
+MANDIR = /usr/man
# 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
--- 5,15 ---- @@ -18,9 +18,9 @@
###########################################################################
# The base directory for all samba files
! BASEDIR = /usr
# The base manpages directory to put the man pages in
# Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
! MANDIR = $(BASEDIR)/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 # normally only applies to nmbd and smbd
# SBINDIR implies a secure binary directory # SBINDIR implies a secure binary directory
BINDIR = $(BASEDIR)/bin BINDIR = $(BASEDIR)/bin
! SBINDIR = $(BASEDIR)/bin -SBINDIR = $(BASEDIR)/bin
! LIBDIR = $(BASEDIR)/lib -LIBDIR = $(BASEDIR)/lib
! VARDIR = $(BASEDIR)/var -VARDIR = $(BASEDIR)/var
+SBINDIR = $(BASEDIR)/sbin
+LIBDIR = $(BASEDIR)etc
+VARDIR = $(BASEDIR)var
# The permissions to give the executables # The permissions to give the executables
INSTALLPERMS = 0755 INSTALLPERMS = 0755
--- 18,26 ---- @@ -29,13 +29,13 @@
# normally only applies to nmbd and smbd # add -DSYSLOG for syslog support
# SBINDIR implies a secure binary directory # RPM_OPT_FLAGS is needed when building an RPM distribution package
BINDIR = $(BASEDIR)/bin # for RedHat Linux.
! SBINDIR = $(BASEDIR)/sbin -# FLAGS1 = $(RPM_OPT_FLAGS)
! LIBDIR = /etc -FLAGS1 = -O
! VARDIR = /var +FLAGS1 = $(RPM_OPT_FLAGS)
+# FLAGS1 = -O
# The permissions to give the executables LIBS1 =
INSTALLPERMS = 0755
***************
*** 35,41 ****
# You will need to use a ANSI C compiler. This means under SunOS 4 you can't # 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. # use cc, instead you will have to use gcc.
! # CC = gcc -# CC = gcc
+CC = gcc
# This may help with some versions of make # This may help with some versions of make
SHELL = /bin/sh SHELL = /bin/sh
--- 35,41 ---- @@ -48,13 +48,13 @@
# 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 # 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))
! SMBLOGFILE = $(VARDIR)/log.smb -SMBLOGFILE = $(VARDIR)/log.smb
! NMBLOGFILE = $(VARDIR)/log.nmb -NMBLOGFILE = $(VARDIR)/log.nmb
+SMBLOGFILE = $(VARDIR)/log/samba/log.smb
+NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
CONFIGFILE = $(LIBDIR)/smb.conf CONFIGFILE = $(LIBDIR)/smb.conf
LMHOSTSFILE = $(LIBDIR)/lmhosts LMHOSTSFILE = $(LIBDIR)/lmhosts
# the directory where lock files go # the directory where lock files go
! LOCKDIR = $(VARDIR)/locks -LOCKDIR = $(VARDIR)/locks
+LOCKDIR = $(VARDIR)/lock/samba
# 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))
--- 48,60 ---- @@ -84,8 +84,8 @@
# 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))
***************
*** 77,84 ****
# This is for PAM authentication. RedHat Linux uses PAM. # This is for PAM authentication. RedHat Linux uses PAM.
# If you use PAM, then uncomment the following lines: # If you use PAM, then uncomment the following lines:
! # PAM_FLAGS = -DUSE_PAM -# PAM_FLAGS = -DUSE_PAM
! # PAM_LIBS = -ldl -lpam -# 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 # 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. # according to your system layout, and uncomment the other lines as well.
--- 77,84 ---- @@ -200,8 +200,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
# 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.
***************
*** 187,194 ****
# contributed by Andrew.Tridgell@anu.edu.au # contributed by Andrew.Tridgell@anu.edu.au
# AXPROC defines DEC Alpha Processor # AXPROC defines DEC Alpha Processor
# FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
! # FLAGSM = -DLINUX -DFAST_SHARE_MODES -# FLAGSM = -DLINUX -DFAST_SHARE_MODES
! # LIBSM = -# LIBSM =
+FLAGSM = -DLINUX -DFAST_SHARE_MODES
# Use this for Linux with shadow passwords and quota +LIBSM =
# contributed by xeno@mix.hive.no
--- 187,194 ----
# 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 # Use this for Linux with shadow passwords and quota
# contributed by xeno@mix.hive.no # contributed by xeno@mix.hive.no

View File

@@ -1,3 +1,3 @@
auth required /lib/security/pam_unix_auth.so auth required /lib/security/pam_unix_auth.so
auth required /lib/security/pam_pwd.so nullok shadow auth required /lib/security/pam_pwdb.so nullok shadow
account required /lib/security/pam_unix_account.so account required /lib/security/pam_unix_acct.so

View File

@@ -2,7 +2,7 @@ Summary: SMB client and server
Name: samba Name: samba
%define version 1.9.17 %define version 1.9.17
Version: %{version} Version: %{version}
Release: 4 Release: 5
Copyright: GPL Copyright: GPL
Group: Networking Group: Networking
Source: ftp://samba.anu.edu.au/pub/samba/samba-%{version}.tar.gz Source: ftp://samba.anu.edu.au/pub/samba/samba-%{version}.tar.gz
@@ -88,6 +88,7 @@ install -m644 examples/simple/smb.conf $RPM_BUILD_ROOT/etc/smb.conf.sampl
install -m644 examples/redhat/smb.conf $RPM_BUILD_ROOT/etc/smb.conf install -m644 examples/redhat/smb.conf $RPM_BUILD_ROOT/etc/smb.conf
install -m755 examples/redhat/smbprint $RPM_BUILD_ROOT/usr/bin install -m755 examples/redhat/smbprint $RPM_BUILD_ROOT/usr/bin
install -m755 examples/redhat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb install -m755 examples/redhat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
install -m755 examples/redhat/smb.init $RPM_BUILD_ROOT/usr/sbin/samba
install -m644 examples/redhat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba install -m644 examples/redhat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba
install -m644 examples/redhat/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba install -m644 examples/redhat/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba
@@ -118,6 +119,9 @@ if [ "$1" = 0 ] ; then
if [ -e /var/log/samba ]; then if [ -e /var/log/samba ]; then
rm -rf /var/log/samba rm -rf /var/log/samba
fi fi
if [ -e /var/lock/samba ]; then
rm -rf /var/lock/samba
fi
fi fi
%files %files
@@ -142,6 +146,7 @@ fi
%attr(-,root,root) %config /etc/smb.conf %attr(-,root,root) %config /etc/smb.conf
%attr(-,root,root) %config /etc/smb.conf.sampl %attr(-,root,root) %config /etc/smb.conf.sampl
%attr(-,root,root) %config /etc/rc.d/init.d/smb %attr(-,root,root) %config /etc/rc.d/init.d/smb
%attr(755,root,root) %config /usr/sbin/samba
%attr(-,root,root) %config /etc/rc.d/rc3.d/S91smb %attr(-,root,root) %config /etc/rc.d/rc3.d/S91smb
%attr(-,root,root) %config /etc/rc.d/rc5.d/S91smb %attr(-,root,root) %config /etc/rc.d/rc5.d/S91smb
%attr(-,root,root) %config /etc/rc.d/rc0.d/K35smb %attr(-,root,root) %config /etc/rc.d/rc0.d/K35smb

View File

@@ -1 +1 @@
#define VERSION "1.9.17alpha4" #define VERSION "1.9.17alpha5"