Hello community,

here is the log from the commit of package sendmail for openSUSE:Factory 
checked in at 2013-09-27 18:30:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sendmail (Old)
 and      /work/SRC/openSUSE:Factory/.sendmail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sendmail"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sendmail/sendmail.changes        2013-08-12 
10:16:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sendmail.new/sendmail.changes   2013-09-27 
18:30:46.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Sep  9 12:32:40 UTC 2013 - [email protected]
+
+- Edit existing /etc/sysconfig/sendmail to add Command line (bnc#839033)
+- Add a config.sendmail script which calls the update script verbosely
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sendmail.spec ++++++
--- /var/tmp/diff_new_pack.LLjznf/_old  2013-09-27 18:30:48.000000000 +0200
+++ /var/tmp/diff_new_pack.LLjznf/_new  2013-09-27 18:30:48.000000000 +0200
@@ -51,6 +51,7 @@
 Requires(post): %insserv_prereq
 Requires(post): coreutils
 Requires(post): permissions
+Requires(post): sed
 Requires(postun): %insserv_prereq
 Requires(posttrans): coreutils
 Requires(posttrans): findutils
@@ -325,6 +326,11 @@
     install -m 0644 smtp %{buildroot}%{_sysconfdir}/pam.d/smtp
     install -m 0644 fw   
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/sendmail
     install update.sendmail %{buildroot}%{_libexecdir}/sendmail.d/update
+    cat > %{buildroot}%{_sbindir}/config.sendmail <<-'EOF'
+       #!/bin/bash
+       VERBOSE=true exec %{_libexecdir}/sendmail.d/update
+       EOF
+    chmod 755 %{buildroot}%{_sbindir}/config.sendmail
     install -m 0644 sysconfig.sendmail      
%{buildroot}%{_localstatedir}/adm/fillup-templates/
     install -m 0644 sysconfig.mail-sendmail 
%{buildroot}%{_localstatedir}/adm/fillup-templates/
     > ${doc}/README.sendmail-local-only
@@ -406,6 +412,18 @@
 if test -f /etc/sysconfig/mail ; then
   . /etc/sysconfig/mail
 fi
+# Edit older configuration files
+if test -s /etc/sysconfig/sendmail ; then
+  sed -ri '\@^##[[:space:]]+Type:@,\@^#[[:space:]]+@ {
+    \@^##[[:space:]]+Command:@b skip
+    \@# enable this to change also the recipient address\.@i\
+## Command:     /usr/lib/sendmail.d/update
+    \@^#[[:space:]]*$@i\
+## Command:     /usr/lib/sendmail.d/update
+    :skip
+    N
+  }' /etc/sysconfig/sendmail
+fi
 %{fillup_and_insserv -nY sendmail sendmail}
 %{fillup_only -an mail}
 if test -x bin/systemctl ; then
@@ -488,6 +506,7 @@
 %config %attr(0644,root,root) 
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/sendmail
 %config %attr(0744,root,root) %{_sysconfdir}/init.d/sendmail
 %attr(0755,root,root) %{_libexecdir}/sendmail.d/update
+%attr(0755,root,root) %{_sbindir}/config.sendmail
 %if 0%{?suse_version} > 1140
 %config %attr(0644,root,root) %{sysdsysunitdir}/sendmail-client.path
 %config %attr(0644,root,root) %{sysdsysunitdir}/sendmail.service

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to