forked from pool/msmtp
168 lines
5.3 KiB
RPMSpec
168 lines
5.3 KiB
RPMSpec
#
|
|
# spec file for package msmtp (Version 1.4.14)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: msmtp
|
|
Version: 1.4.14
|
|
Release: 8
|
|
#
|
|
License: GPL v3 or later
|
|
Group: Productivity/Networking/Email/Utilities
|
|
#
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: libidn-devel openssl-devel
|
|
%if 0%{?suse_version}
|
|
PreReq: %install_info_prereq
|
|
%endif
|
|
#
|
|
Url: http://msmtp.sourceforge.net/
|
|
Source: http://prdownloads.sourceforge.net/msmtp/msmtp-%{version}.tar.bz2
|
|
Patch: msmtp-runqueue.sh.patch
|
|
#
|
|
Summary: An SMTP Client
|
|
|
|
%description
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Martin Lambers <marlam@marlam.de>
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch
|
|
|
|
%build
|
|
%if 0%{?suse_version} > 1000
|
|
export CFLAGS="%{optflags} -fstack-protector"
|
|
%endif
|
|
%configure --docdir=%{_docdir}/%{name} --with-ssl=openssl
|
|
%{__make}
|
|
|
|
%install
|
|
%makeinstall
|
|
%find_lang %{name}
|
|
for i in README ChangeLog ; do
|
|
%{__cp} scripts/msmtpqueue/$i ${i}.msmtpqueue
|
|
done
|
|
%{__install} -D -m 0755 scripts/msmtpqueue/*.sh scripts/set_sendmail.sh \
|
|
%{buildroot}%{_bindir}
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
%if 0%{?suse_version}
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/msmtp.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/msmtp.info.gz
|
|
%endif
|
|
|
|
%files -f %{name}.lang
|
|
%defattr (-, root, root)
|
|
%doc AUTHORS ChangeLog* COPYING NEWS README README.msmtpqueue THANKS
|
|
%doc doc/msmtp.html doc/Mutt+msmtp.txt doc/*.example
|
|
%{_bindir}/msmtp
|
|
%{_bindir}/msmtp-enqueue.sh
|
|
%{_bindir}/msmtp-runqueue.sh
|
|
%{_bindir}/msmtp-listqueue.sh
|
|
%{_bindir}/set_sendmail.sh
|
|
%{_mandir}/man1/msmtp.1*
|
|
%{_infodir}/msmtp.info*
|
|
|
|
%changelog
|
|
* Wed May 07 2008 cthiel@suse.de
|
|
- fix msmtp-runqueue.sh
|
|
* Tue Mar 18 2008 mrueckert@suse.de
|
|
- update to version 1.4.14
|
|
- The -t option now properly supports Resent-* headers.
|
|
- The --read-envelope-from option was added. It allows to read
|
|
the envelope from address from the From header.
|
|
- The environment variables SMTPSERVER and EMAIL can be used to
|
|
configure msmtp for simple use cases.
|
|
- Support for the Mac OS X keychain was added by Jay Soffian.
|
|
* Sat Aug 04 2007 mrueckert@suse.de
|
|
- update to version 1.4.13
|
|
- Added the set_sendmail.sh script by Gautam Iyer to the new
|
|
scripts subdirectory.
|
|
- Added the msmtpqueue scripts to the new scripts subdirectory.
|
|
- Make the search of an account by the envelope from address case
|
|
insensitive. Problem reported and fixed by Brandon Philips.
|
|
- Update the license of the source code to GPLv3 or later, and
|
|
change the license of the documentation to the GFDLv1.2 or
|
|
later.
|
|
- Gnulib update to 2007-07-15.
|
|
- no longer use the external msmtpqueue package.
|
|
* Sun Jun 17 2007 bwalle@suse.de
|
|
- update to version 1.4.12:
|
|
o Handle MAILER-DAEMON correctly
|
|
o documentation updates
|
|
o Require tls_trust_file or tls_certcheck=off for TLS sessions
|
|
o Do not use NTLM authentication automatically
|
|
o Gnulib update
|
|
o bug fixes
|
|
- update to msmtpqueue 0.5:
|
|
o Added the msmtp-listqueue.sh script
|
|
* Tue Apr 10 2007 mrueckert@suse.de
|
|
- update to 1.4.11:
|
|
- Require either tls_trust_file or tls_certcheck=off for TLS
|
|
sessions, so that msmtp is not silently vulnerable to
|
|
man-in-the-middle attacks.
|
|
- Do not use NTLM authentication automatically anymore unless TLS
|
|
is active. NTLM is not an open standard and must therefore be
|
|
considered broken.
|
|
- Gnulib update 2007-04-07.
|
|
* Mon Jan 22 2007 mrueckert@suse.de
|
|
- update to 1.4.10:
|
|
- Updated copyright info to 2007.
|
|
- Gnulib update to 2007-01-10.
|
|
- From mpop: Switch to autoconf-2.61 and automake-1.10, to avoid
|
|
problems with configure trying to run "sh /usr/bin/install"
|
|
where /usr/bin/install is not a shell script on NetBSD.
|
|
Reported by Jeremy C. Reed.
|
|
- From mpop: Remove the obsolete "extern int errno;" declaration.
|
|
It does not conform to POSIX and causes trouble. Thanks to
|
|
Jeremy C. Reed for the patch.
|
|
- Added AC_SYS_LARGEFILE to configure.ac, for large file support.
|
|
Removed the unnecessary AC_C_CONST and AC_HEADER_STDC.
|
|
* Mon Nov 06 2006 mrueckert@suse.de
|
|
- update to version 1.4.9:
|
|
Some minor build problems were fixed, and the gnulib portability
|
|
library was updated.
|
|
* Mon Aug 21 2006 mrueckert@suse.de
|
|
- Update to version 1.4.7:
|
|
o added option to enforce SSLv3
|
|
o many small bugfixes
|
|
* Sun Jun 18 2006 mrueckert@suse.de
|
|
- Update to version 1.4.6:
|
|
o idn support
|
|
o many small changes for details see
|
|
/usr/share/doc/packages/msmtp/ChangeLog
|
|
o small cleanup for the spec file
|
|
- added msmtpqueue-0.4 as part to the msmtp package
|
|
(no need for an own script for 2 shell script)
|
|
Adds basic queueing capabilities to msmtp
|
|
- build with -fstack-protector on > 10.0
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Oct 19 2005 arvin@suse.de
|
|
- updated to version 1.4.4
|
|
* Mon Jul 18 2005 arvin@suse.de
|
|
- updated to version 1.4.3
|
|
* Mon Jul 11 2005 arvin@suse.de
|
|
- initial package with version 1.4.2
|