%define versionmajor 6 %define versionminor 4 %define versionpatch 39 Summary: Full-featured POP/IMAP mail retrieval daemon Name: fetchmail Version: %{versionmajor}.%{versionminor}.%{versionpatch} Release: 1.1%{?dist} License: GPLv2 Group: Networking/Mail URL: https://www.fetchmail.info Source0: https://gitlab.com/%{name}/%{name}/-/archive/RELEASE_%{versionmajor}-%{versionminor}-%{[versionpatch}/%{name}-RELEASE_%{versionmajor}-%{versionminor}-%{versionpatch}.tar.bz2 # Be sure to generate with `gpg2 -ab ` Source2: %{name}-RELEASE_%{versionmajor}-%{versionminor}-%{versionpatch}.tar.bz2.asc Source4: fetchmail.sysconfig Source5: fetchmail.service Source7: fetchmail.png Patch0: fetchmail-5.7.0-nlsfix.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: bison BuildRequires: flex BuildRequires: gettext BuildRequires: gettext-devel BuildRequires: lynx BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(krb5) BuildRequires: python3 # By default, fetchmail sends the mail to a local mail server. Requires: (exim or postfix or sendmail) # The mail server will then send the mail to a delivery agent (based on # ~/.forward). The delivery agent can also be used directly. Requires: (maildrop or procmail) Obsoletes: fetchyahoo < 2.14.9-2 %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. It comes with an interactive GUI configuration tool suitable for end-users. 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, so you can read it through your normal mail client. %package -n fetchmailconf Summary: A utility for graphically configuring your fetchmail preferences Group: System/Networking Requires: tkinter3 Requires: python3dist(future) Requires: %{name} = %{version} %description -n fetchmailconf 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. %package daemon Summary: SySV init script for demonize fetchmail for retrieving emails Group: System/Base Requires: %{name} = %{version} Requires(preun): rpm-helper Requires(post): rpm-helper %description daemon Systemd service for fetchmail for sucking emails. %prep %setup -q -n %{name}-RELEASE_%{versionmajor}-%{versionminor}-%{versionpatch} %autopatch -p1 %build %if 0%{?serverbuild:1} # Just sets up CFLAGS; fetchmail should compile fine without them. %serverbuild %endif test -x configure || ./autogen.sh %configure \ --with-ssl=%_prefix \ --enable-RPA \ --enable-NTLM \ --enable-SDPS \ --with-gssapi \ --with-kerberos5 # (tv) do not use %%make in order to workaround buggy parallel build: %__make all FAQ FEATURES NOTES %install mkdir -p %{buildroot}{%_libdir/rhs/control-panel,%_datadir/applets/Administration} \ %{buildroot}{%_sysconfdir/{X11/wmconfig,sysconfig},%_mandir/man1,%_unitdir} %make_install install rh-config/*.{xpm,init} %{buildroot}%{_libdir}/rhs/control-panel install -m0644 %SOURCE4 %{buildroot}%{_sysconfdir}/sysconfig/fetchmail install -m0755 %SOURCE5 %{buildroot}%{_unitdir}/fetchmail.service echo -e "# Put here each user config\n" > %{buildroot}/etc/fetchmailrc # Menu entry mkdir -p %{buildroot}%{_iconsdir}/hicolor/64x64/apps install -m 0644 %{SOURCE7} %{buildroot}%{_iconsdir}/hicolor/64x64/apps/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications cat > $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Fetchmailconf Comment=Full-featured POP/IMAP mail retrieval daemon Exec=%{name} Icon=%{name} Terminal=false Type=Application Categories=Settings; EOF %find_lang %name cat > README.fetchmail-conf < 6.4.37-3.mga9 + Revision: 1761233 - New version: 6.4.37 - Reverted support for Oauth 2.0, which causes problems with non-Oauth servers. - Built for OpenSSL 3.0.12 * Sat Jun 17 2023 keithbowes 6.4.24-1.2.mga8 + Revision: 1761232 - Rebuilt for OpenSSL 1.1.1u * Sun May 21 2023 keithbowes 6.4.24-1.1.mga8 + Revision: 1761231 - Add support for OAuth 2.0 and GSSAPI/Kerberos 5 - Backport a fix for the critical softbounce bug from 6.4.34 * Wed Dec 08 2021 neoclust 6.4.24-1.mga8 + Revision: 1761230 - New version 6.4.24: Fixes CVE-2021-39272 (mga#29420) - Add P100: Fixes CVE-2021-36386 (mga#29297) + tmb - fix CVE-2021-36386 regression (mga#29349) * Sun Jul 19 2020 wally 6.4.8-4.mga8 + Revision: 1607191 - increase systemd service default polling interval to 300 seconds * Sat Jul 18 2020 wally 6.4.8-3.mga8 + Revision: 1607010 - drop norootwarning patch - log to syslog when used as a systemd service * Sat Jul 18 2020 wally 6.4.8-2.mga8 + Revision: 1606903 - switch from old init script to systemd service (mga#26969) * Sat Jul 18 2020 wally 6.4.8-1.mga8 + Revision: 1606898 - new version 6.4.8 * Wed Mar 25 2020 danf 6.4.2-1.mga8 + Revision: 1559577 - Upgraded to 6.4.2 + umeabot - Mageia 8 Mass Rebuild + wally - replace deprecated %%configure2_5x