SHA256
1
0
forked from pool/fetchmail

update to fetchmail-6.3.20

OBS-URL: https://build.opensuse.org/package/show/server:mail/fetchmail?expand=0&rev=30
This commit is contained in:
Petr Uzel 2011-06-06 14:30:41 +00:00 committed by Git OBS Bridge
parent 6c628d6e0a
commit f4f4cf6922
4 changed files with 85 additions and 64 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7988dc66db2ea4e091fa3da98efa3eb5b61f9b621883e1f08fd0166d399b3306
size 1706902

3
fetchmail-6.3.20.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22e94f11d885cb9330a197fd80217d44f65e6b087e4d4b4d83e573adfc24aa7b
size 1723623

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Mon Jun 6 13:52:08 UTC 2011 - puzel@novell.com
- update to fetchmail-6.3.20
# SECURITY BUG FIXES
- CVE-2011-1947 (bnc#697368): STARTTLS: Fetchmail runs the IMAP
STARTTLS or POP3 STLS negotiation with the set timeout (default
five minutes) now. This was reported missing, with observed
fetchmail freezes beyond a week, by Thomas Jarosch.
See fetchmail-SA-2011-01.txt for further details.
# BUG FIXES
- IMAP: Do not search for UNSEEN messages in ranges. Usually,
there are very few new messages and most of the range searches
result in nothing. Instead, split the long response to make the
IMAP driver think that there are multiple lines of response.
- Do not print "skipping message" for old messages even in
verbose mode. If there are too many old messages, the logs just
get filled without any real activity.
- Build: fetchmail now always uses its own MD5 implementation
rather than trying to find a system library with matched
header. The library and header variants found on systems are
too diverse, and the code size saving is not worth any more
wasted user or programmer time.
# CHANGES
- Call strlen() only once when removing CRLF from a line.
- fetchmail sets Internet domain sockets to "keepalive" mode now.
Note that there is no portable way to configure actual timeouts
for this mode, and some systems only support a system-wide
timeout setting. fetchmail does not attempt to tune the time
spans of keepalive mode.
- remove build-time dependency on ed
- use spec-cleaner
-------------------------------------------------------------------
Mon Dec 13 11:25:12 UTC 2010 - puzel@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package fetchmail (Version 6.3.19)
# spec file for package fetchmail
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -15,33 +15,40 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: fetchmail
BuildRequires: ed openssl-devel opie postfix procmail pwdutils python-devel
BuildRequires: openssl-devel
BuildRequires: opie
BuildRequires: postfix
BuildRequires: procmail
BuildRequires: pwdutils
BuildRequires: python-devel
%if 0%{?suse_version} > 1000
%define with_krb5 1
%endif
%if 0%{?with_krb5}
BuildRequires: krb5-devel
%endif
License: GPLv2+ ; Other uncritical OpenSource License ; Public Domain, Freeware
Group: Productivity/Networking/Email/Utilities
AutoReqProv: on
Version: 6.3.19
Version: 6.3.20
Release: 1
License: GPLv2+ ; Other uncritical OpenSource License ; Public Domain, Freeware
Summary: Full-Featured POP and IMAP Mail Retrieval Daemon
Url: http://fetchmail.berlios.de/
Group: Productivity/Networking/Email/Utilities
Source: %{name}-%{version}.tar.bz2
Source1: %{name}.init
Source2: %{name}.logrotate
Source3: sysconfig.%{name}
Patch0: fetchmail-6.3.8-smtp_errors.patch
PreReq: %insserv_prereq %fillup_prereq coreutils pwdutils
Url: http://fetchmail.berlios.de/
Icon: fetchmail.xpm
Requires: smtp_daemon logrotate
PreReq: %fillup_prereq
PreReq: %insserv_prereq
PreReq: coreutils
PreReq: pwdutils
Requires: logrotate
Requires: smtp_daemon
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Full-Featured POP and IMAP Mail Retrieval Daemon
Icon: fetchmail.xpm
%description
Fetchmail is a robust and well-documented remote mail retrieval and
@ -55,46 +62,27 @@ user agents, such as mutt, elm, pine, (x)emacs/gnus, or mailx.
fetchmailconf, an interactive GUI configurator suitable for end-users,
is included in the fetchmailconf package.
Authors:
--------
Eric S. Raymond <esr@snark.thyrsus.com>
Matthias Andree <matthias.andree@gmx.de>
Carl E. Harris <ceharris@mal.com>
George M. Sipe <gsipe@pobox.com>
Sunil Shetye <shetye@bombay.retortsoft.com>
%package -n fetchmailconf
License: GPLv2+
Summary: Fetchmail Configuration Utility
Group: Productivity/Networking/Email/Utilities
Requires: %{name} = %{version} python-tk
Requires: %{name} = %{version}
Requires: python-tk
%description -n fetchmailconf
A GUI configuration utility for generating fetchmail configuration
files (.fetchmailrc).
Authors:
--------
Eric S. Raymond <esr@snark.thyrsus.com>
Matthias Andree <matthias.andree@gmx.de>
Carl E. Harris <ceharris@mal.com>
George M. Sipe <gsipe@pobox.com>
Sunil Shetye <shetye@bombay.retortsoft.com>
%prep
%setup -q
%patch0 -p1
cp -a %{S:1} %{S:2} %{S:3} .
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE3} .
%build
%if %suse_version > 1010
%if 0%{?suse_version} > 1010
ACLOCAL="aclocal -I m4 -I m4-local" autoreconf -f -i
%endif
if [ -f /usr/%_lib/libkrb5.so ] ; then
if [ -f /usr/%{_lib}/libkrb5.so ] ; then
GSS="--with-gssapi"
else
GSS=""
@ -110,24 +98,24 @@ fi
$GSS\
%endif
--with-ssl=/usr
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%makeinstall
ln -sf fetchmail.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/fetchmailconf.1.gz
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
cp fetchmail.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/fetchmail
mkdir -p $RPM_BUILD_ROOT/etc/init.d
mkdir -p $RPM_BUILD_ROOT/sbin
cp fetchmail.init $RPM_BUILD_ROOT/etc/init.d/fetchmail
chmod +x $RPM_BUILD_ROOT/etc/init.d/fetchmail
ln -s ../etc/init.d/fetchmail $RPM_BUILD_ROOT/sbin/rcfetchmail
touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
cp sysconfig.%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
touch $RPM_BUILD_ROOT%{_localstatedir}/log/fetchmail
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/fetchmail
%make_install
ln -sf fetchmail.1.gz %{buildroot}/%{_mandir}/man1/fetchmailconf.1.gz
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
cp fetchmail.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/fetchmail
mkdir -p %{buildroot}%{_sysconfdir}/init.d
mkdir -p %{buildroot}/sbin
cp fetchmail.init %{buildroot}%{_initddir}/fetchmail
chmod +x %{buildroot}%{_initddir}/fetchmail
ln -s ../etc/init.d/fetchmail %{buildroot}/sbin/rcfetchmail
touch %{buildroot}%{_sysconfdir}/fetchmailrc
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
cp sysconfig.%{name} %{buildroot}%{_localstatedir}/adm/fillup-templates
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/fetchmail
mkdir -p %{buildroot}%{_localstatedir}/lib/fetchmail
%find_lang %{name}
%pre
@ -148,20 +136,20 @@ if [ $1 == 0 ]; then
fi
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-, root, root)
%doc COPYING FAQ FEATURES NEWS NOTES OLDNEWS README README.NTLM README.SSL README.SSL-SERVER TODO contrib *.html *.txt *.pdf
%{_bindir}/fetchmail
%dir %attr (0700, fetchmail, root) %{_localstatedir}/lib/fetchmail
%ghost %attr (0600, fetchmail, root) %{_localstatedir}/log/fetchmail
%dir %attr(0700, fetchmail, root) %{_localstatedir}/lib/fetchmail
%ghost %attr(0600, fetchmail, root) %{_localstatedir}/log/fetchmail
%doc %{_mandir}/man1/fetchmail.1.gz
%ghost %config(noreplace) %attr (0600, fetchmail, root) %{_sysconfdir}/fetchmailrc
%config(noreplace) /etc/logrotate.d/fetchmail
/etc/init.d/fetchmail
%doc COPYING FAQ FEATURES NEWS NOTES OLDNEWS README README.NTLM README.SSL README.SSL-SERVER TODO contrib *.html *.txt *.pdf
%ghost %config(noreplace) %attr(0600, fetchmail, root) %{_sysconfdir}/fetchmailrc
%config(noreplace) %{_sysconfdir}/logrotate.d/fetchmail
%{_sysconfdir}/init.d/fetchmail
/sbin/rcfetchmail
/var/adm/fillup-templates/sysconfig.%{name}
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
%files -n fetchmailconf
%defattr(-, root, root)