[SAMBA-TNG] minor nit in the packaging directory

Steve Langasek vorlon at netexpress.net
Thu Jan 20 02:48:56 GMT 2000


Hello,
I've attached below an update to the file packaging/RedHat/makefile-path.patch
which works against the SAMBA_TNG branch.

I'm sure many of you are thinking that packaging is the last thing anyone
should be worried about in the TNG branch, and you're right.  However, I
expect that many of those who will use pam_smbpass are those who are already
running Samba on RedHat systems, no doubt using RPMs that were built using
this patch, and it would be nice to have pam_smbpass looking for files in the
same place as their existing Samba install.

So if someone sees fit to apply this to the CVS tree, I'd certainly appreciate
it :)

Thanks,
-Steve Langasek
postmodern programmer

Index: packaging/RedHat/makefile-path.patch
===================================================================
RCS file: /cvsroot/samba/packaging/RedHat/makefile-path.patch,v
retrieving revision 1.6
diff -u -w -r1.6 makefile-path.patch
--- makefile-path.patch	1998/12/19 03:29:03	1.6
+++ makefile-path.patch	2000/01/20 02:22:17
@@ -1,6 +1,6 @@
-diff -uNr samba-PVERSION/source/Makefile.in samba-kgc/source/Makefile.in
---- samba-PVERSION/source/Makefile.in	Wed Dec  2 14:35:18 1998
-+++ samba-kgc/source/Makefile.in	Wed Dec  2 15:06:02 1998
+diff -uNr samba-orig/source/Makefile.in samba/source/Makefile.in
+--- samba-orig/source/Makefile.in	Tue Jan 19 19:51:09 2000
++++ samba/source/Makefile.in	Wed Jan 20 02:04:50 2000
 @@ -27,7 +27,7 @@
  # the previous releases of Samba
  SBINDIR = @bindir@
@@ -10,17 +10,19 @@
  MANDIR = @mandir@
  
  # The permissions to give the executables
-@@ -36,23 +36,23 @@
- # set these to where to find various files
+@@ -37,25 +37,25 @@
  # 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
+ LOGFILEBASE = $(VARDIR)
+-SMBLOGFILE = $(LOGFILEBASE)/log.smb
+-NMBLOGFILE = $(LOGFILEBASE)/log.nmb
++SMBLOGFILE = $(LOGFILEBASE)/log/samba/log.smb
++NMBLOGFILE = $(LOGFILEBASE)/log/samba/log.nmb
  CONFIGFILE = $(LIBDIR)/smb.conf
  LMHOSTSFILE = $(LIBDIR)/lmhosts
  DRIVERFILE = $(LIBDIR)/printers.def
+ FORMSFILE = $(LIBDIR)/ntforms.def
+ NTDRIVERSDIR = $(LIBDIR)
  PASSWD_PROGRAM = /bin/passwd
 -SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd
 -SMB_PASSGRP_FILE = $(BASEDIR)/private/smbpassgrp




More information about the samba-technical mailing list