Summary: An outgoing mail processor, and the SMTP tunnel Summary(pl): Preprocesor wychodzącej poczty i tunel SMTP Name: anubis Version: 3.4.6 Release: 4 License: GPL Group: Applications/Mail Source0: http://dl.sourceforge.net/anubis/%{name}-%{version}.tar.gz # Source0-md5: 12e492c1b4287a93659530510db5b77b Source1: %{name}.init Patch0: %{name}-info.patch Patch1: %{name}-securityfixes.patch Patch2: %{name}-nolibnsl.patch URL: http://anubis.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake BuildRequires: gpgme-devel BuildRequires: openssl-devel >= 0.9.6m BuildRequires: pcre-devel BuildRequires: texinfo PreReq: rc-scripts Requires(post,preun): /sbin/chkconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description GNU Anubis is an outgoing mail processor. It goes between the MUA (Mail User Agent) and the MTA (Mail Transport Agent), and can perform on the fly various sorts of processing and conversion on the outgoing mail in accord with the sender's specified rules, based on a highly configurable regular expressions system. It operates as a proxy server, independently from mail user agents. GNU Anubis can edit outgoing mail headers, encrypt and/or sign mail with the GNU Privacy Guard, build secure SMTP tunnels (Simple Mail Transport Protocol) using the TLS/SSL encryption even if your mail user agent doesn't support it, or tunnel a connection through a SOCKS proxy. Moreover, GNU Anubis supports the remailers (it allows sending mail in an anonymous way). %description -l pl GNU Anubis zajmuje się przetwarzaniem poczty wychodzącej. Znajduje się on pomiędzy MUA (Mail User Agent) i MTA (Mail Transport Agent) i może wykonywać w locie różne rodzaje przetwarzania i konwersji poczty wychodzącej zależnie od podanych reguł, bazujących na wysoce konfigurowalnym systemie wyrażeń regularnych. GNU Anubis działa jako serwer proxy, niezależnie od programów pocztowych. Potrafi on zmieniać nagłówki listów, szyfrować lub podpisywać jest przy pomocy GNU Privacy Guard, tworzyć bezpieczne tunele SMTP używając szyfrowania TLS/SSL nawet, gdy Twój program pocztowy nie ma takich możliwości. Możliwe jest też tunelowanie połączeń przez SOCKS proxy. Co więcej, GNU Anubis wspiera także remailery (czyli pozawala na anonimowe wysyłanie poczty). %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %{__aclocal} %{__autoconf} %{__automake} %configure \ --with-pcre \ --disable-dependency-tracking %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis install ./examples/defaultrc $RPM_BUILD_ROOT%{_sysconfdir}/anubisrc %clean rm -fr $RPM_BUILD_ROOT %post /sbin/chkconfig --add anubis if [ -f %{_localstatedir}/lock/subsys/anubis ]; then /etc/rc.d/init.d/anubis restart >&2 else echo "Run \"/etc/rc.d/init.d/anubis start\" to start anubis." >&2 fi [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %preun if [ "$1" = "0" ]; then if [ -f %{_localstatedir}/lock/subsys/anubis ]; then /etc/rc.d/init.d/anubis stop fi /sbin/chkconfig --del anubis fi %postun [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %files %defattr(644,root,root,755) %doc AUTHORS README INSTALL NEWS ChangeLog TODO examples %attr(754,root,root) /etc/rc.d/init.d/anubis %attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/anubisrc %attr(755,root,root) %{_sbindir}/anubis %{_mandir}/man1/* %{_infodir}/*info*