2007-01-16 00:25:53 +01:00
|
|
|
#
|
2008-09-08 01:34:13 +02:00
|
|
|
# spec file for package msmtp (Version 1.4.16)
|
2007-01-16 00:25:53 +01:00
|
|
|
#
|
2008-04-07 12:15:51 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:25:53 +01:00
|
|
|
#
|
2008-09-08 01:34:13 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:25:53 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-07 12:15:51 +02:00
|
|
|
|
2007-01-16 00:25:53 +01:00
|
|
|
Name: msmtp
|
2008-09-08 01:34:13 +02:00
|
|
|
Version: 1.4.16
|
|
|
|
Release: 1
|
2007-01-16 00:25:53 +01:00
|
|
|
#
|
2008-04-07 12:15:51 +02:00
|
|
|
License: GPL v3 or later
|
2007-01-16 00:25:53 +01:00
|
|
|
Group: Productivity/Networking/Email/Utilities
|
|
|
|
#
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: libidn-devel openssl-devel
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
PreReq: %install_info_prereq
|
|
|
|
%endif
|
|
|
|
#
|
2008-04-07 12:15:51 +02:00
|
|
|
Url: http://msmtp.sourceforge.net/
|
2007-01-16 00:25:53 +01:00
|
|
|
Source: http://prdownloads.sourceforge.net/msmtp/msmtp-%{version}.tar.bz2
|
|
|
|
#
|
|
|
|
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
|
2007-08-05 11:52:28 +02:00
|
|
|
%setup -q
|
2007-01-16 00:25:53 +01:00
|
|
|
|
|
|
|
%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
|
2007-08-05 11:52:28 +02:00
|
|
|
%{__cp} scripts/msmtpqueue/$i ${i}.msmtpqueue
|
2007-01-16 00:25:53 +01:00
|
|
|
done
|
2008-09-08 01:34:13 +02:00
|
|
|
%{__cp} scripts/msmtpq/README README.msmtpq
|
|
|
|
%{__install} -m 0755 \
|
|
|
|
scripts/msmtpqueue/*.sh \
|
|
|
|
scripts/msmtpq/msmtp{q,Q} \
|
|
|
|
scripts/set_sendmail/set_sendmail.sh \
|
2007-08-05 11:52:28 +02:00
|
|
|
%{buildroot}%{_bindir}
|
2007-01-16 00:25:53 +01:00
|
|
|
|
|
|
|
%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)
|
2008-09-08 01:34:13 +02:00
|
|
|
%doc AUTHORS ChangeLog* COPYING NEWS README README.msmtpqueue README.msmtpq THANKS
|
2007-01-16 00:25:53 +01:00
|
|
|
%doc doc/msmtp.html doc/Mutt+msmtp.txt doc/*.example
|
2008-09-08 01:34:13 +02:00
|
|
|
%doc scripts/set_sendmail/set_sendmail.conf
|
2007-01-16 00:25:53 +01:00
|
|
|
%{_bindir}/msmtp
|
2008-09-08 01:34:13 +02:00
|
|
|
%{_bindir}/msmtpq
|
|
|
|
%{_bindir}/msmtpQ
|
2007-01-16 00:25:53 +01:00
|
|
|
%{_bindir}/msmtp-enqueue.sh
|
|
|
|
%{_bindir}/msmtp-runqueue.sh
|
2007-08-05 11:52:28 +02:00
|
|
|
%{_bindir}/msmtp-listqueue.sh
|
|
|
|
%{_bindir}/set_sendmail.sh
|
2007-01-16 00:25:53 +01:00
|
|
|
%{_mandir}/man1/msmtp.1*
|
|
|
|
%{_infodir}/msmtp.info*
|
|
|
|
|
2007-06-17 12:10:50 +02:00
|
|
|
%changelog
|
2008-09-08 01:34:13 +02:00
|
|
|
* Sat Sep 06 2008 mrueckert@suse.de
|
|
|
|
- update to version 1.4.16
|
|
|
|
- Changed all scripts to '#!/usr/bin/env bash' instead of
|
|
|
|
'#!/bin/sh' or '#!/bin/bash', because they use bash features
|
|
|
|
that are not available in POSIX /bin/sh and because bash might
|
|
|
|
not live in /bin, e.g. on BSD systems. This is a quick fix for
|
|
|
|
Debian bug #489635.
|
|
|
|
- Accept both 250 and 251 in return of the RCPT TO command, as
|
|
|
|
required by RFC 2821 sections 4.3.2 and 3.4. Reported and fixed
|
|
|
|
by Matthias Bernhardt. Thanks!
|
|
|
|
- Fix scripts/msmtpqueue/msmtp-runqueue.sh. An error made while
|
|
|
|
applying a patch accidently broke it. Reported by Thomas Weber.
|
|
|
|
Thanks!
|
|
|
|
(this obsoletes msmtp-runqueue.sh.patch)
|
|
|
|
- additional changes from version 1.4.15
|
|
|
|
- Added the new tls_crl_file configuration command and the
|
|
|
|
corresponding --tls-crl-file option.
|
|
|
|
- Added the new tls_min_dh_prime_bits configuration command and
|
|
|
|
the corresponding --tls-min-dh-prime-bits option. This closes
|
|
|
|
Debian bug #440344.
|
|
|
|
- Added the new tls_priorities configuration command and the
|
|
|
|
corresponding --tls-priorities option.
|
|
|
|
- Gnulib upate to 2008-06-02. Use getpass-gnu instead of getpass
|
|
|
|
module.
|
|
|
|
- Add msmtpq scripts by Chris Gianniotis to the scripts
|
|
|
|
directory. Suggest them as a replacement in the README of the
|
|
|
|
msmtpqueue scripts.
|
|
|
|
- Do not let getpass() read from stdin, because we read the mail
|
|
|
|
from there. Reported by Karol Lewandowski. Thanks!
|
|
|
|
- Updated the set_sendmail script by Gautam Iyer. Thanks!
|
|
|
|
- Return EX_TEMPFAIL instead of EX_DATAERR in case of 4xx
|
|
|
|
replies to the MAIL FROM, RCPT TO and DATA commands. Reported
|
|
|
|
by Kent Vinther Friis. Thanks!
|
|
|
|
- install msmtpq
|
2008-05-07 23:26:57 +02:00
|
|
|
* Wed May 07 2008 cthiel@suse.de
|
|
|
|
- fix msmtp-runqueue.sh
|
2008-04-07 12:15:51 +02:00
|
|
|
* 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
|
2007-08-05 11:52:28 +02:00
|
|
|
- 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.
|
2008-04-07 12:15:51 +02:00
|
|
|
* Sun Jun 17 2007 bwalle@suse.de
|
2007-06-17 12:10:50 +02:00
|
|
|
- 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
|
2008-04-07 12:15:51 +02:00
|
|
|
* Tue Apr 10 2007 mrueckert@suse.de
|
2007-08-05 11:52:28 +02:00
|
|
|
- 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.
|
2008-05-07 23:26:57 +02:00
|
|
|
* Mon Jan 22 2007 mrueckert@suse.de
|
2007-08-05 11:52:28 +02:00
|
|
|
- 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.
|
2008-04-07 12:15:51 +02:00
|
|
|
* Mon Nov 06 2006 mrueckert@suse.de
|
2007-08-05 11:52:28 +02:00
|
|
|
- update to version 1.4.9:
|
|
|
|
Some minor build problems were fixed, and the gnulib portability
|
|
|
|
library was updated.
|
2008-04-07 12:15:51 +02:00
|
|
|
* Mon Aug 21 2006 mrueckert@suse.de
|
2007-01-16 00:25:53 +01:00
|
|
|
- Update to version 1.4.7:
|
|
|
|
o added option to enforce SSLv3
|
|
|
|
o many small bugfixes
|
2008-04-07 12:15:51 +02:00
|
|
|
* Sun Jun 18 2006 mrueckert@suse.de
|
2007-01-16 00:25:53 +01:00
|
|
|
- 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
|
2008-04-07 12:15:51 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:25:53 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-07 12:15:51 +02:00
|
|
|
* Wed Oct 19 2005 arvin@suse.de
|
2007-01-16 00:25:53 +01:00
|
|
|
- updated to version 1.4.4
|
2008-04-07 12:15:51 +02:00
|
|
|
* Mon Jul 18 2005 arvin@suse.de
|
2007-01-16 00:25:53 +01:00
|
|
|
- updated to version 1.4.3
|
2008-04-07 12:15:51 +02:00
|
|
|
* Mon Jul 11 2005 arvin@suse.de
|
2007-01-16 00:25:53 +01:00
|
|
|
- initial package with version 1.4.2
|