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:
parent
6c628d6e0a
commit
f4f4cf6922
@ -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
3
fetchmail-6.3.20.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:22e94f11d885cb9330a197fd80217d44f65e6b087e4d4b4d83e573adfc24aa7b
|
||||||
|
size 1723623
|
@ -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
|
Mon Dec 13 11:25:12 UTC 2010 - puzel@novell.com
|
||||||
|
|
||||||
|
110
fetchmail.spec
110
fetchmail.spec
@ -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.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -15,33 +15,40 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: fetchmail
|
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
|
%if 0%{?suse_version} > 1000
|
||||||
%define with_krb5 1
|
%define with_krb5 1
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?with_krb5}
|
%if 0%{?with_krb5}
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
%endif
|
%endif
|
||||||
License: GPLv2+ ; Other uncritical OpenSource License ; Public Domain, Freeware
|
Version: 6.3.20
|
||||||
Group: Productivity/Networking/Email/Utilities
|
|
||||||
AutoReqProv: on
|
|
||||||
Version: 6.3.19
|
|
||||||
Release: 1
|
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
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}.init
|
Source1: %{name}.init
|
||||||
Source2: %{name}.logrotate
|
Source2: %{name}.logrotate
|
||||||
Source3: sysconfig.%{name}
|
Source3: sysconfig.%{name}
|
||||||
Patch0: fetchmail-6.3.8-smtp_errors.patch
|
Patch0: fetchmail-6.3.8-smtp_errors.patch
|
||||||
PreReq: %insserv_prereq %fillup_prereq coreutils pwdutils
|
PreReq: %fillup_prereq
|
||||||
Url: http://fetchmail.berlios.de/
|
PreReq: %insserv_prereq
|
||||||
Icon: fetchmail.xpm
|
PreReq: coreutils
|
||||||
Requires: smtp_daemon logrotate
|
PreReq: pwdutils
|
||||||
|
Requires: logrotate
|
||||||
|
Requires: smtp_daemon
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: Full-Featured POP and IMAP Mail Retrieval Daemon
|
Icon: fetchmail.xpm
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Fetchmail is a robust and well-documented remote mail retrieval and
|
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,
|
fetchmailconf, an interactive GUI configurator suitable for end-users,
|
||||||
is included in the fetchmailconf package.
|
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
|
%package -n fetchmailconf
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Fetchmail Configuration Utility
|
Summary: Fetchmail Configuration Utility
|
||||||
Group: Productivity/Networking/Email/Utilities
|
Group: Productivity/Networking/Email/Utilities
|
||||||
Requires: %{name} = %{version} python-tk
|
Requires: %{name} = %{version}
|
||||||
|
Requires: python-tk
|
||||||
|
|
||||||
%description -n fetchmailconf
|
%description -n fetchmailconf
|
||||||
A GUI configuration utility for generating fetchmail configuration
|
A GUI configuration utility for generating fetchmail configuration
|
||||||
files (.fetchmailrc).
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
cp -a %{S:1} %{S:2} %{S:3} .
|
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE3} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %suse_version > 1010
|
%if 0%{?suse_version} > 1010
|
||||||
ACLOCAL="aclocal -I m4 -I m4-local" autoreconf -f -i
|
ACLOCAL="aclocal -I m4 -I m4-local" autoreconf -f -i
|
||||||
%endif
|
%endif
|
||||||
if [ -f /usr/%_lib/libkrb5.so ] ; then
|
if [ -f /usr/%{_lib}/libkrb5.so ] ; then
|
||||||
GSS="--with-gssapi"
|
GSS="--with-gssapi"
|
||||||
else
|
else
|
||||||
GSS=""
|
GSS=""
|
||||||
@ -110,24 +98,24 @@ fi
|
|||||||
$GSS\
|
$GSS\
|
||||||
%endif
|
%endif
|
||||||
--with-ssl=/usr
|
--with-ssl=/usr
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
ln -sf fetchmail.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/fetchmailconf.1.gz
|
ln -sf fetchmail.1.gz %{buildroot}/%{_mandir}/man1/fetchmailconf.1.gz
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
|
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
||||||
cp fetchmail.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/fetchmail
|
cp fetchmail.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/fetchmail
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
mkdir -p %{buildroot}%{_sysconfdir}/init.d
|
||||||
mkdir -p $RPM_BUILD_ROOT/sbin
|
mkdir -p %{buildroot}/sbin
|
||||||
cp fetchmail.init $RPM_BUILD_ROOT/etc/init.d/fetchmail
|
cp fetchmail.init %{buildroot}%{_initddir}/fetchmail
|
||||||
chmod +x $RPM_BUILD_ROOT/etc/init.d/fetchmail
|
chmod +x %{buildroot}%{_initddir}/fetchmail
|
||||||
ln -s ../etc/init.d/fetchmail $RPM_BUILD_ROOT/sbin/rcfetchmail
|
ln -s ../etc/init.d/fetchmail %{buildroot}/sbin/rcfetchmail
|
||||||
touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
|
touch %{buildroot}%{_sysconfdir}/fetchmailrc
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
|
||||||
cp sysconfig.%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
cp sysconfig.%{name} %{buildroot}%{_localstatedir}/adm/fillup-templates
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
|
mkdir -p %{buildroot}%{_localstatedir}/log
|
||||||
touch $RPM_BUILD_ROOT%{_localstatedir}/log/fetchmail
|
touch %{buildroot}%{_localstatedir}/log/fetchmail
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/fetchmail
|
mkdir -p %{buildroot}%{_localstatedir}/lib/fetchmail
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -148,20 +136,20 @@ if [ $1 == 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-, root, root)
|
%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
|
%{_bindir}/fetchmail
|
||||||
%dir %attr (0700, fetchmail, root) %{_localstatedir}/lib/fetchmail
|
%dir %attr(0700, fetchmail, root) %{_localstatedir}/lib/fetchmail
|
||||||
%ghost %attr (0600, fetchmail, root) %{_localstatedir}/log/fetchmail
|
%ghost %attr(0600, fetchmail, root) %{_localstatedir}/log/fetchmail
|
||||||
%doc %{_mandir}/man1/fetchmail.1.gz
|
%doc %{_mandir}/man1/fetchmail.1.gz
|
||||||
%ghost %config(noreplace) %attr (0600, fetchmail, root) %{_sysconfdir}/fetchmailrc
|
%doc COPYING FAQ FEATURES NEWS NOTES OLDNEWS README README.NTLM README.SSL README.SSL-SERVER TODO contrib *.html *.txt *.pdf
|
||||||
%config(noreplace) /etc/logrotate.d/fetchmail
|
%ghost %config(noreplace) %attr(0600, fetchmail, root) %{_sysconfdir}/fetchmailrc
|
||||||
/etc/init.d/fetchmail
|
%config(noreplace) %{_sysconfdir}/logrotate.d/fetchmail
|
||||||
|
%{_sysconfdir}/init.d/fetchmail
|
||||||
/sbin/rcfetchmail
|
/sbin/rcfetchmail
|
||||||
/var/adm/fillup-templates/sysconfig.%{name}
|
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
||||||
|
|
||||||
%files -n fetchmailconf
|
%files -n fetchmailconf
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user