Репозитории ALT
S: | 6.4.37-alt1 |
5.1: | 6.3.17-alt0.M50P.1 |
4.1: | 6.3.8-alt6.1.M41.1 |
4.0: | 6.3.8-alt4 |
+updates: | 6.3.8-alt4 |
3.0: | 6.2.5.2-alt1 |
Группа :: Сети/Почта
Пакет: fetchmail
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: fetchmail
Version: 6.2.5.2
Release: alt1
Summary: Full-featured POP/IMAP/ETRN mail retrieval daemon
Group: Networking/Mail
License: GPL
Url: http://fetchmail.berlios.de/
Source: http://download.berlios.de/fetchmail/%name-%version.tar.bz2
Source1: %name.init
Source2: http://download.berlios.de/fetchmail/fetchmailconf-1.43.2.gz
Source3: fetchmailrc.example
Source10: fetchmailconf-large.png
Source11: fetchmailconf-mini.png
Source12: fetchmailconf.png
Patch1: %name-5.6.2-contrib.patch
Patch2: %name-5.9.11-fetchmailconf.patch
Patch3: %name-6.2.5-nopermcheck.patch
Patch4: %name-6.2.3-krb5-config.patch
Patch6: %name-5.9.11-verbose.patch
# Fedora patches
Patch11: %name-6.2.0-rh-gsspop.patch
Patch12: %name-6.2.0-rh-crlf.patch
Patch13: %name-6.2.5-rh-popcapa.patch
Patch15: %name-6.2.5-rh-recent-after-expunge.patch
Patch16: %name-6.2.5-rh-krb5.patch
Patch18: %name-6.2.5-rh-port.patch
Requires: /usr/sbin/sendmail
Requires: setup >= 2.1.9-ipl15mdk
# Automatically added by buildreq on Fri Jul 18 2003
BuildRequires: XFree86-devel flex libkrb5-devel libssl-devel
BuildRequires: autoconf >= 2.52
%package -n %{name}conf
Summary: A utility for graphically configuring your %name preferences.
Group: System/Configuration/Networking
Requires: %name = %version-%release, tkinter
%package daemon
Summary: SySV init script for demonize %name for sucking emails
Group: System/Servers
PreReq: %name = %version-%release
PreReq: shadow-utils, chkconfig
%package contrib
Summary: Various contributed software designed to work with %name
Group: System/Base
Requires: %name = %version-%release
%description
Fetchmail is a free, full-featured, robust, and well-documented remote mail
retrieval and forwarding utility intended to be used over on-demand TCP/IP
links (such as SLIP or PPP connections).
It retrieves mail from remote mail servers and forwards it to your local
(client) machine's delivery system, so it can then be read by normal
mail user agents such as Mutt, Elm, Pine, (X)Emacs/Gnus or Mailx.
Fetchmail supports every remote-mail protocol currently in use on the
Internet (POP2, POP3, RPOP, APOP, KPOP, all IMAPs, ESMTP ETRN) for
retrieval. Then Fetchmail forwards the mail through SMTP or a mail
delivery agent (MDA) program of your choice, so you can
read it through your normal mail client.
You may also want to install and configure a local SMTP server, such
as postfix-smtpd, as that's what fetchmail uses for delivery
by default.
%description -n %{name}conf
Fetchmailconf is a TCL/TK application for graphically configuring your
~/.%{name}rc preferences file.
Fetchmail has many options which can be daunting to the new user.
This utility takes some of the guesswork and hassle out of setting up %name.
%description daemon
SySV init script for demonize %name for sucking emails.
%description contrib
Various contributed software designed to work with %name.
%prep
%setup -q
%__gzip -dc %SOURCE2 > fetchmailconf
%patch1 -p1
%patch2 -p1
%patch3 -p1 -b .orig-nopermcheck
%patch4 -p1
%patch6 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch15 -p1
%patch16 -p1
%patch18 -p1
cp %SOURCE3 fetchmailrc.example
%build
# Fix gettextization.
if [ ! -s po/LINGUAS ]; then
%__sed -ne 's/^ALL_LINGUAS="\([^"]*\)"$/\1/p' configure.in >>po/LINGUAS
%__subst 's/^\(ALL_LINGUAS=\)/#\1/g' configure.in
fi
# Needed for patch 4
%__aclocal
%__autoconf
export ac_cv_path_procmail=/usr/bin/procmail
export ac_cv_path_sendmail=/usr/sbin/sendmail
export ac_cv_lib_intl_gettext=no
%configure \
--enable-fallback=sendmail \
--enable-nls \
--enable-RPA \
--enable-NTLM \
--enable-SDPS \
--with-ssl \
--with-kerberos5 \
--without-kerberos
#--with-kerberos5=%_prefix \
# SMP-incompatible
%make
%install
%makeinstall mandir=$RPM_BUILD_ROOT%_man1dir
%__mkdir_p $RPM_BUILD_ROOT%_libdir/rhs/control-panel
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/X11/wmconfig
%__install -p -m644 rh-config/*.{xpm,init} $RPM_BUILD_ROOT%_libdir/rhs/control-panel
%__rm -rf contrib/RCS
%__chmod 644 contrib/*
%__cp rh-config/fetchmailconf.wmconfig \
$RPM_BUILD_ROOT%_sysconfdir/X11/wmconfig/fetchmailconf
%__install -pD -m755 %SOURCE1 $RPM_BUILD_ROOT%_initdir/%name
#%__install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/%name
touch $RPM_BUILD_ROOT%_sysconfdir/%{name}rc
%__install -d -m700 $RPM_BUILD_ROOT%_localstatedir/%name
# Menu entry
%__mkdir_p $RPM_BUILD_ROOT/{%_liconsdir,%_miconsdir,%_menudir}
cat << EOF >$RPM_BUILD_ROOT%_menudir/%{name}conf
?package(%{name}conf): command="%{name}conf" icon="%{name}conf.png" \
needs="x11" title="Fetchmail Configuration" \
longtitle="Configuration tool for Fetchmail" section="Networking/Mail"
EOF
%__install -m644 %SOURCE10 $RPM_BUILD_ROOT%_liconsdir/%{name}conf.png
%__install -m644 %SOURCE11 $RPM_BUILD_ROOT%_miconsdir/%{name}conf.png
%__install -m644 %SOURCE12 $RPM_BUILD_ROOT%_iconsdir/%{name}conf.png
%find_lang %name
cat >README.%name-conf <<EOF
Fetchmailconf is a TCL/TK application for graphically configuring your
~/.fetchmailrc preferences file.
Fetchmail has many options which can be daunting to the new user.
This utility takes some of the guesswork and hassle out of setting up
fetchmail.
EOF
%post -n %{name}conf
%update_menus
%postun -n %{name}conf
%clean_menus
%pre -n %name-daemon
/usr/sbin/groupadd -rf %name
/usr/sbin/useradd -r -n -M -g %name -d %_localstatedir/%name -s /dev/null %name &>/dev/null ||:
#install -d -m700 -o %name -g %name %_localstatedir/%name
%post -n %name-daemon
%post_service %name
%preun -n %name-daemon
%preun_service %name
%files -f %name.lang
%_bindir/%name
%_man1dir/%name.*
%doc FAQ FEATURES NEWS NOTES README TODO *.html
%doc fetchmailrc.example
%files -n %{name}conf
%_bindir/%{name}conf
%_menudir/*
%_iconsdir/*.png
%_liconsdir/*.png
%_miconsdir/*.png
%_libdir/rhs/control-panel/*
%_man1dir/%{name}conf.*
%doc README.%name-conf
%files daemon
%attr(640,root,%name) %config(noreplace,missingok) %_sysconfdir/%{name}rc
#%config(noreplace) %_sysconfdir/sysconfig/%name
%config(noreplace) %_initdir/%name
%attr(700,%name,%name) %_localstatedir/%name
%files contrib
%doc contrib/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 6.2.5.2
Release: alt1
Summary: Full-featured POP/IMAP/ETRN mail retrieval daemon
Group: Networking/Mail
License: GPL
Url: http://fetchmail.berlios.de/
Source: http://download.berlios.de/fetchmail/%name-%version.tar.bz2
Source1: %name.init
Source2: http://download.berlios.de/fetchmail/fetchmailconf-1.43.2.gz
Source3: fetchmailrc.example
Source10: fetchmailconf-large.png
Source11: fetchmailconf-mini.png
Source12: fetchmailconf.png
Patch1: %name-5.6.2-contrib.patch
Patch2: %name-5.9.11-fetchmailconf.patch
Patch3: %name-6.2.5-nopermcheck.patch
Patch4: %name-6.2.3-krb5-config.patch
Patch6: %name-5.9.11-verbose.patch
# Fedora patches
Patch11: %name-6.2.0-rh-gsspop.patch
Patch12: %name-6.2.0-rh-crlf.patch
Patch13: %name-6.2.5-rh-popcapa.patch
Patch15: %name-6.2.5-rh-recent-after-expunge.patch
Patch16: %name-6.2.5-rh-krb5.patch
Patch18: %name-6.2.5-rh-port.patch
Requires: /usr/sbin/sendmail
Requires: setup >= 2.1.9-ipl15mdk
# Automatically added by buildreq on Fri Jul 18 2003
BuildRequires: XFree86-devel flex libkrb5-devel libssl-devel
BuildRequires: autoconf >= 2.52
%package -n %{name}conf
Summary: A utility for graphically configuring your %name preferences.
Group: System/Configuration/Networking
Requires: %name = %version-%release, tkinter
%package daemon
Summary: SySV init script for demonize %name for sucking emails
Group: System/Servers
PreReq: %name = %version-%release
PreReq: shadow-utils, chkconfig
%package contrib
Summary: Various contributed software designed to work with %name
Group: System/Base
Requires: %name = %version-%release
%description
Fetchmail is a free, full-featured, robust, and well-documented remote mail
retrieval and forwarding utility intended to be used over on-demand TCP/IP
links (such as SLIP or PPP connections).
It retrieves mail from remote mail servers and forwards it to your local
(client) machine's delivery system, so it can then be read by normal
mail user agents such as Mutt, Elm, Pine, (X)Emacs/Gnus or Mailx.
Fetchmail supports every remote-mail protocol currently in use on the
Internet (POP2, POP3, RPOP, APOP, KPOP, all IMAPs, ESMTP ETRN) for
retrieval. Then Fetchmail forwards the mail through SMTP or a mail
delivery agent (MDA) program of your choice, so you can
read it through your normal mail client.
You may also want to install and configure a local SMTP server, such
as postfix-smtpd, as that's what fetchmail uses for delivery
by default.
%description -n %{name}conf
Fetchmailconf is a TCL/TK application for graphically configuring your
~/.%{name}rc preferences file.
Fetchmail has many options which can be daunting to the new user.
This utility takes some of the guesswork and hassle out of setting up %name.
%description daemon
SySV init script for demonize %name for sucking emails.
%description contrib
Various contributed software designed to work with %name.
%prep
%setup -q
%__gzip -dc %SOURCE2 > fetchmailconf
%patch1 -p1
%patch2 -p1
%patch3 -p1 -b .orig-nopermcheck
%patch4 -p1
%patch6 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch15 -p1
%patch16 -p1
%patch18 -p1
cp %SOURCE3 fetchmailrc.example
%build
# Fix gettextization.
if [ ! -s po/LINGUAS ]; then
%__sed -ne 's/^ALL_LINGUAS="\([^"]*\)"$/\1/p' configure.in >>po/LINGUAS
%__subst 's/^\(ALL_LINGUAS=\)/#\1/g' configure.in
fi
# Needed for patch 4
%__aclocal
%__autoconf
export ac_cv_path_procmail=/usr/bin/procmail
export ac_cv_path_sendmail=/usr/sbin/sendmail
export ac_cv_lib_intl_gettext=no
%configure \
--enable-fallback=sendmail \
--enable-nls \
--enable-RPA \
--enable-NTLM \
--enable-SDPS \
--with-ssl \
--with-kerberos5 \
--without-kerberos
#--with-kerberos5=%_prefix \
# SMP-incompatible
%make
%install
%makeinstall mandir=$RPM_BUILD_ROOT%_man1dir
%__mkdir_p $RPM_BUILD_ROOT%_libdir/rhs/control-panel
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/X11/wmconfig
%__install -p -m644 rh-config/*.{xpm,init} $RPM_BUILD_ROOT%_libdir/rhs/control-panel
%__rm -rf contrib/RCS
%__chmod 644 contrib/*
%__cp rh-config/fetchmailconf.wmconfig \
$RPM_BUILD_ROOT%_sysconfdir/X11/wmconfig/fetchmailconf
%__install -pD -m755 %SOURCE1 $RPM_BUILD_ROOT%_initdir/%name
#%__install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/%name
touch $RPM_BUILD_ROOT%_sysconfdir/%{name}rc
%__install -d -m700 $RPM_BUILD_ROOT%_localstatedir/%name
# Menu entry
%__mkdir_p $RPM_BUILD_ROOT/{%_liconsdir,%_miconsdir,%_menudir}
cat << EOF >$RPM_BUILD_ROOT%_menudir/%{name}conf
?package(%{name}conf): command="%{name}conf" icon="%{name}conf.png" \
needs="x11" title="Fetchmail Configuration" \
longtitle="Configuration tool for Fetchmail" section="Networking/Mail"
EOF
%__install -m644 %SOURCE10 $RPM_BUILD_ROOT%_liconsdir/%{name}conf.png
%__install -m644 %SOURCE11 $RPM_BUILD_ROOT%_miconsdir/%{name}conf.png
%__install -m644 %SOURCE12 $RPM_BUILD_ROOT%_iconsdir/%{name}conf.png
%find_lang %name
cat >README.%name-conf <<EOF
Fetchmailconf is a TCL/TK application for graphically configuring your
~/.fetchmailrc preferences file.
Fetchmail has many options which can be daunting to the new user.
This utility takes some of the guesswork and hassle out of setting up
fetchmail.
EOF
%post -n %{name}conf
%update_menus
%postun -n %{name}conf
%clean_menus
%pre -n %name-daemon
/usr/sbin/groupadd -rf %name
/usr/sbin/useradd -r -n -M -g %name -d %_localstatedir/%name -s /dev/null %name &>/dev/null ||:
#install -d -m700 -o %name -g %name %_localstatedir/%name
%post -n %name-daemon
%post_service %name
%preun -n %name-daemon
%preun_service %name
%files -f %name.lang
%_bindir/%name
%_man1dir/%name.*
%doc FAQ FEATURES NEWS NOTES README TODO *.html
%doc fetchmailrc.example
%files -n %{name}conf
%_bindir/%{name}conf
%_menudir/*
%_iconsdir/*.png
%_liconsdir/*.png
%_miconsdir/*.png
%_libdir/rhs/control-panel/*
%_man1dir/%{name}conf.*
%doc README.%name-conf
%files daemon
%attr(640,root,%name) %config(noreplace,missingok) %_sysconfdir/%{name}rc
#%config(noreplace) %_sysconfdir/sysconfig/%name
%config(noreplace) %_initdir/%name
%attr(700,%name,%name) %_localstatedir/%name
%files contrib
%doc contrib/*
%changelog
…
Полный changelog можно просмотреть здесь