commit sendmail for openSUSE:13.1
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package sendmail for openSUSE:13.1 checked in at 2013-09-27 18:30:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1/sendmail (Old) and /work/SRC/openSUSE:13.1/.sendmail.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "sendmail" Changes: -------- --- /work/SRC/openSUSE:13.1/sendmail/sendmail.changes 2013-09-23 11:09:00.000000000 +0200 +++ /work/SRC/openSUSE:13.1/.sendmail.new/sendmail.changes 2013-09-27 18:30:53.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 9 12:32:40 UTC 2013 - werner@suse.de + +- 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.2VGTqy/_old 2013-09-27 18:30:53.000000000 +0200 +++ /var/tmp/diff_new_pack.2VGTqy/_new 2013-09-27 18:30:53.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: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de