rpms/sendmail/devel sendmail-8.13.7-aliases_dir.patch, NONE, 1.1 sendmail-8.13.7-vacation.patch, NONE, 1.1 sendmail-redhat.mc, 1.15, 1.16 sendmail.etc-mail-Makefile, 1.9, 1.10 sendmail.init, 1.14, 1.15 sendmail.spec, 1.70, 1.71

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jul 18 15:01:43 UTC 2006


Author: twoerner

Update of /cvs/dist/rpms/sendmail/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26387

Modified Files:
	sendmail-redhat.mc sendmail.etc-mail-Makefile sendmail.init 
	sendmail.spec 
Added Files:
	sendmail-8.13.7-aliases_dir.patch 
	sendmail-8.13.7-vacation.patch 
Log Message:
[tw]
- using new syntax for access database (#177566)
- fixed failure message while shutting down sm-client (#119429)
  resolution: stop sm-client before sendmail
- fixed method to specify persistent queue runners (#126760)
- removed patch backup files from sendmail-cf tree (#152955)
- fixed missing dnl on SMART_HOST define (#166680)
- fixed wrong location of aliases and aliases.db file in aliases man page
  (#166744)
- enabled CipherList config option for sendmail (#172352)
- added user chowns for /etc/mail/authinfo.db and move check for cf files
  (#184341)
- fixed Makefile of vacation (#191396)
  vacation is not included in this sendmail package
- /var/log/mail now belongs to sendmail (#192850)



sendmail-8.13.7-aliases_dir.patch:
 aliases.5 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE sendmail-8.13.7-aliases_dir.patch ---
--- sendmail-8.13.7/sendmail/aliases.5.aliases_dir	2006-07-14 15:41:59.000000000 +0200
+++ sendmail-8.13.7/sendmail/aliases.5	2006-07-14 15:42:38.000000000 +0200
@@ -23,7 +23,7 @@
 aliases used by 
 sendmail.
 The file resides in 
-/etc/mail 
+/etc
 and 
 is formatted as a series of lines of the form
 .IP
@@ -96,7 +96,7 @@
 .PP
 This is only the raw data file; the actual aliasing information is
 placed into a binary format in the file 
-/etc/mail/aliases.db
+/etc/aliases.db
 using the program 
 newaliases(1).  
 A 

sendmail-8.13.7-vacation.patch:
 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE sendmail-8.13.7-vacation.patch ---
--- sendmail-8.13.7/vacation/Makefile.vacation	1999-09-24 00:36:45.000000000 +0200
+++ sendmail-8.13.7/vacation/Makefile	2006-07-18 15:12:42.000000000 +0200
@@ -1,7 +1,7 @@
 #       $Id: Makefile,v 8.5 1999/09/23 22:36:45 ca Exp $
 
 SHELL= /bin/sh
-BUILD=   ./Build
+BUILD=   ./Build -f ../redhat.config.m4
 OPTIONS= $(CONFIG) $(FLAGS)
 
 all: FRC


Index: sendmail-redhat.mc
===================================================================
RCS file: /cvs/dist/rpms/sendmail/devel/sendmail-redhat.mc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sendmail-redhat.mc	19 Jun 2006 16:19:17 -0000	1.15
+++ sendmail-redhat.mc	18 Jul 2006 15:01:40 -0000	1.16
@@ -19,7 +19,7 @@
 dnl # Uncomment and edit the following line if your outgoing mail needs to
 dnl # be sent out through an external mail server:
 dnl #
-dnl define(`SMART_HOST',`smtp.your.provider')
+dnl define(`SMART_HOST',`smtp.your.provider')dnl
 dnl #
 define(`confDEF_USER_ID',``8:12'')dnl
 dnl define(`confAUTO_REBUILD')dnl


Index: sendmail.etc-mail-Makefile
===================================================================
RCS file: /cvs/dist/rpms/sendmail/devel/sendmail.etc-mail-Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sendmail.etc-mail-Makefile	9 Sep 2004 12:27:14 -0000	1.9
+++ sendmail.etc-mail-Makefile	18 Jul 2006 15:01:40 -0000	1.10
@@ -11,6 +11,9 @@
 
 
 all: ${CFFILES} ${POSSIBLE} virtusertable.db access.db domaintable.db mailertable.db
+	@if test -f /etc/mail/authinfo.db; then \
+		/bin/chown smmsp:smmsp /etc/mail/authinfo.db; \
+	fi
 
 userdb.db: userdb
 	@makemap btree $@ < $<
@@ -21,7 +24,7 @@
 %.cf: %.mc
 	@if test -f /usr/share/sendmail-cf/m4/cf.m4; then \
 		umask 022; \
-		mv -f $@ $@.bak; \
+		[ -e $@ ] && mv -f $@ $@.bak; \
 		m4 $< > $@; \
 	else \
 		echo -e "WARNING: '$<' is modified. Please install package sendmail-cf to update your configuration."; \


Index: sendmail.init
===================================================================
RCS file: /cvs/dist/rpms/sendmail/devel/sendmail.init,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- sendmail.init	17 Feb 2006 16:57:15 -0000	1.14
+++ sendmail.init	18 Jul 2006 15:01:40 -0000	1.15
@@ -62,7 +62,7 @@
 	    /sbin/restorecon /var/run/sm-client.pid
 	fi
 	daemon --check sm-client /usr/sbin/sendmail -L sm-msp-queue -Ac \
-			-q $SMQUEUE $SENDMAIL_OPTARG
+			-q$SMQUEUE $SENDMAIL_OPTARG
 	RETVAL=$?
         echo
         [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sm-client
@@ -101,11 +101,6 @@
 
 stop() {
 	# Stop daemons.
-	echo -n $"Shutting down $prog: "
-	killproc sendmail
-	RETVAL=$?
-	echo
-	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sendmail
 	if test -f /var/run/sm-client.pid ; then
 		echo -n $"Shutting down sm-client: "
 		killproc sm-client
@@ -114,6 +109,11 @@
 		[ $RETVAL -eq 0 ] && rm -f /var/run/sm-client.pid
 		[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sm-client
 	fi
+	echo -n $"Shutting down $prog: "
+	killproc sendmail
+	RETVAL=$?
+	echo
+	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sendmail
 	return $RETVAL
 }
 


Index: sendmail.spec
===================================================================
RCS file: /cvs/dist/rpms/sendmail/devel/sendmail.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- sendmail.spec	12 Jul 2006 17:38:05 -0000	1.70
+++ sendmail.spec	18 Jul 2006 15:01:41 -0000	1.71
@@ -18,7 +18,7 @@
 Summary: A widely used Mail Transport Agent (MTA).
 Name: sendmail
 Version: 8.13.7
-Release: 2.1
+Release: 3
 License: Sendmail
 Group: System Environment/Daemons
 Provides: smtpdaemon
@@ -42,6 +42,8 @@
 Patch10: sendmail-8.12.7-manpage.patch
 Patch11: sendmail-8.13.6-dynamic.patch
 Patch12: sendmail-8.13.0-cyrus.patch
+Patch13: sendmail-8.13.7-aliases_dir.patch
+Patch14: sendmail-8.13.7-vacation.patch
 Buildroot: %{_tmppath}/%{name}-root
 BuildRequires: tcp_wrappers
 BuildRequires: db4-devel
@@ -137,13 +139,15 @@
 %patch10 -p1 -b .manpage
 %patch11 -p1 -b .dynamic
 %patch12 -p1 -b .cyrus
+%patch13 -p1 -b .aliases_dir
+%patch14 -p1 -b .vacation
 
 %build
 # generate redhat config file
 cat > redhat.config.m4 << EOF
 define(\`confMAPDEF', \`-DNEWDB -DNIS -DHESIOD -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1')
 define(\`confOPTIMIZE', \`\`\`${RPM_OPT_FLAGS}''')
-define(\`confENVDEF', \`-I/usr/include/db4 -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_WORKAROUND_BROKEN_NAMESERVERS -D_FFR_SMTP_SSL')
+define(\`confENVDEF', \`-I/usr/include/db4 -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_WORKAROUND_BROKEN_NAMESERVERS -D_FFR_SMTP_SSL -D_FFR_TLS_1')
 define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib}')
 define(\`confLIBS', \`-lnsl -lwrap -lhesiod -lcrypt -ldb')
 define(\`confMANOWN', \`root')
@@ -293,6 +297,10 @@
 
 # Install the cf files for the sendmail-cf package.
 cp -ar cf/* $RPM_BUILD_ROOT%{sendmailcf}
+# remove patch backup files
+rm -rf $RPM_BUILD_ROOT%{sendmailcf}/cf/Build.*
+rm -rf $RPM_BUILD_ROOT%{sendmailcf}/*/*.mc.*
+rm -rf $RPM_BUILD_ROOT%{sendmailcf}/*/*.m4.*
 
 install -d -m755 $RPM_BUILD_ROOT/etc/mail
 
@@ -333,9 +341,9 @@
 # package.
 #
 # by default we allow relaying from localhost...
-localhost.localdomain		RELAY
-localhost			RELAY
-127.0.0.1			RELAY
+Connect:localhost.localdomain		RELAY
+Connect:localhost			RELAY
+Connect:127.0.0.1			RELAY
 
 EOF
 for map in virtusertable access domaintable mailertable ; do
@@ -523,6 +531,7 @@
 %{_mandir}/man1/newaliases.sendmail.1*
 %{_mandir}/man1/mailq.sendmail.1*
 
+%dir %{stdir}
 %config(noreplace)		%{stdir}/statistics
 %config(noreplace)		/etc/mail/sendmail.cf
 %config(noreplace)		/etc/mail/submit.cf
@@ -578,6 +587,22 @@
 %{_docdir}/sendmail
 
 %changelog
+* Tue Jul 18 2006 Thomas Woerner <twoerner at redhat.com> 8.13.7-3
+- using new syntax for access database (#177566)
+- fixed failure message while shutting down sm-client (#119429)
+  resolution: stop sm-client before sendmail
+- fixed method to specify persistent queue runners (#126760)
+- removed patch backup files from sendmail-cf tree (#152955)
+- fixed missing dnl on SMART_HOST define (#166680)
+- fixed wrong location of aliases and aliases.db file in aliases man page
+  (#166744)
+- enabled CipherList config option for sendmail (#172352)
+- added user chowns for /etc/mail/authinfo.db and move check for cf files
+  (#184341)
+- fixed Makefile of vacation (#191396)
+  vacation is not included in this sendmail package
+- /var/log/mail now belongs to sendmail (#192850)
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 8.13.7-2.1
 - rebuild
 




More information about the fedora-cvs-commits mailing list