Hello community, here is the log from the commit of package msmtp for openSUSE:Factory checked in at 2012-10-22 22:07:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/msmtp (Old) and /work/SRC/openSUSE:Factory/.msmtp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "msmtp", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/msmtp/msmtp.changes 2012-06-06 16:09:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.msmtp.new/msmtp.changes 2012-10-22 22:07:21.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Oct 20 15:37:38 UTC 2012 - [email protected] + +- create a -mta subpackage, providing smtp_daemon. +- build msmtp with -fPIE/pie. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ msmtp.spec ++++++ --- /var/tmp/diff_new_pack.Z78Zdb/_old 2012-10-22 22:07:24.000000000 +0200 +++ /var/tmp/diff_new_pack.Z78Zdb/_new 2012-10-22 22:07:24.000000000 +0200 @@ -78,12 +78,28 @@ This subpackage contains the documentation for %{name}, including examples and sample configuration files. +%package mta +Summary: MTA based on %{name} +Group: Productivity/Networking/Email/Servers +Requires: %{name} = %{version} +Conflicts: sendmail sendmail-tls postfix exim +Provides: smtp_daemon + +%description mta +msmtp is an SMTP client that can be used as a plug-in for Mutt and +other mail user agents. It forwards mail to an SMTP server that does +the delivery. msmtp supports multiple accounts. + +This subpackage provides a mail transfer agent that can be used as +a minimalistic replacement of sendmail. + %prep %setup -q %build %if 0%{?suse_version} > 1000 -export CFLAGS="%{optflags} -fstack-protector" +CFLAGS="%{optflags} -fstack-protector -fPIE" +export LDFLAGS="-pie" %endif %configure --docdir="%{_docdir}/%{name}" --with-ssl=openssl make %{?_smp_mflags} V=1 @@ -130,6 +146,11 @@ echo "%doc %{_docdir}/%{name}/$ff" >>docfiles.lst done +# mta files +install -d %{buildroot}%{_sbindir} +ln -s %{_bindir}/msmtp %{buildroot}%{_sbindir}/sendmail +ln -s %{_mandir}/man1/msmtp.1%{ext_man} %{buildroot}%{_mandir}/man1/sendmail.1%{ext_man} + # not properly ignored on Fedora 10: rm -f "%{buildroot}%{_infodir}/dir" @@ -171,4 +192,9 @@ %defattr (-, root, root) %doc %dir %{_docdir}/%{name} +%files mta +%defattr (-, root, root) +%{_sbindir}/sendmail +%{_mandir}/man1/sendmail.1%{ext_man} + %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
