.gear/rules | 3 ++ .gear/tags/list | 1 + altlinux/imapfilter.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++ doc/imapfilter.1 | 4 +-- src/Makefile | 4 +-- 5 files changed, 101 insertions(+), 4 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..c5139ef --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +tar: v@version@:. +diff: v@version@:. . +spec: altlinux/imapfilter.spec diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..53b78dd --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +2bbc12962756699cad8882c1569de7bff6db9e15 v2.7.5 diff --git a/altlinux/imapfilter.spec b/altlinux/imapfilter.spec new file mode 100644 index 0000000..dd2a89c --- /dev/null +++ b/altlinux/imapfilter.spec @@ -0,0 +1,93 @@ +Name: imapfilter +Version: 2.7.5 +Release: alt2 + +Summary: mail filtering utility +License: BSD +Group: System/Configuration/Networking + +Url: https://github.com/lefcha/imapfilter + +# Cloned from git://github.com/lefcha/imapfilter.git +Source: %name-%version.tar +Patch: %name-%version-%release.patch + +BuildRequires: lua-devel libpcre2-devel libssl-devel + +%description +%name is a mail filtering utility. It connects to remote mail servers +using the Internet Message Access Protocol (IMAP), sends searching +queries to the server and processes mailboxes based on the results. It +can be used to delete, copy, move, flag, etc. messages residing in +mailboxes at the same or different mail servers. The 4rev1 and 4 +versions of the IMAP protocol are supported. + +%prep +%setup -q +%patch -p1 + +%build +%make_build PREFIX=%_prefix + +%install +make BINDIR=%buildroot%_bindir SHAREDIR=%buildroot%_datadir/%name MANDIR=%buildroot%_mandir install + +%files +%_bindir/* +%_datadir/%name +%_mandir/*/* + +%changelog +* Fri Jan 29 2021 Aleksei Nikiforov 2.7.5-alt2 +- Updated certificate paths to ALT-specific values. + +* Fri Jan 22 2021 Aleksei Nikiforov 2.7.5-alt1 +- 2.7.5 (Fixes CVE-2016-10937). + +* Tue Jan 29 2019 Vladimir Lettiev 2.6.12-alt1 +- 2.6.12 + +* Tue Feb 07 2017 Igor Vlasenko 2.5.5-alt1.1 +- rebuild with new lua 5.3 + +* Tue Sep 10 2013 Vladimir Lettiev 2.5.5-alt1 +- New version 2.5.5 + +* Fri Oct 05 2012 Vladimir Lettiev 2.5.3-alt1 +- New version 2.5.3 + +* Wed Oct 19 2011 Vladimir Lettiev 2.3-alt1 +- New version 2.3 +- Source cloned from upstream git + +* Thu Mar 10 2011 Vladimir Lettiev 2.2.3-alt1 +- New version 2.2.3 +- Changed Url of project + +* Thu Nov 18 2010 Vladimir Lettiev 2.2.2-alt2 +- rebuilt with libssl 1.0.0a + +* Mon Mar 15 2010 Vladimir Lettiev 2.2.2-alt1 +- New version 2.2.2 + +* Sat Aug 09 2008 ALT QA Team Robot 2.0.10-alt1.1 +- Automated rebuild due to libssl.so.6 -> libssl.so.7 soname change. + +* Thu Mar 06 2008 Eugene Ostapets 2.0.10-alt1 +- new version + +* Fri Mar 16 2007 Eugene Ostapets 1.3-alt1 +- new version +- fix 10472 + +* Fri Dec 29 2006 ALT QA Team Robot 1.2.2-alt1.1 +- Rebuilt due to libcrypto.so.4 -> libcrypto.so.6 soname change. + +* Sun Nov 12 2006 Eugene Ostapets 1.2.2-alt1 +- new version + +* Thu Nov 24 2005 Eugene Ostapets 1.1.1-alt1 +- new version + +* Thu Jul 5 2005 Eugene Ostapets 1.1-alt1 +- build for ALT Linux diff --git a/doc/imapfilter.1 b/doc/imapfilter.1 index 0db052a..727fd61 100644 --- a/doc/imapfilter.1 +++ b/doc/imapfilter.1 @@ -60,9 +60,9 @@ will be validated using the CA certificates found in this directory or file, and when this is not possible the local .Pa $HOME/.imapfilter/certificates file will be used. The default CA directory is -.Pa /etc/ssl/certs/ , +.Pa /etc/pki/tls/certs/ , and the default CA file is -.Pa /etc/ssl/cert.pem . +.Pa /etc/pki/tls/cert.pem . .It Fl V Displays version and copyright information. .It Fl v diff --git a/src/Makefile b/src/Makefile index bfb5556..a6666bf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,8 +4,8 @@ BINDIR = $(PREFIX)/bin SHAREDIR = $(PREFIX)/share/imapfilter MANDIR = $(PREFIX)/man -SSLCAPATH = /etc/ssl/certs -SSLCAFILE = /etc/ssl/cert.pem +SSLCAPATH = /etc/pki/tls/certs +SSLCAFILE = /etc/pki/tls/cert.pem MYCFLAGS = MYLDFLAGS =