1 Summary: An outgoing mail processor, and the SMTP tunnel
2 Summary(pl): Preprocesor wychodz±cej poczty i tunel SMTP
7 Group: Applications/Mail
8 Source0: http://cesnet.dl.sourceforge.net/sourceforge/anubis/%{name}-%{version}.tar.gz
10 Patch0: %{name}-info.patch
11 URL: http://anubis.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gpgme-devel
15 BuildRequires: openssl-devel
16 BuildRequires: pcre-devel
17 BuildRequires: texinfo
18 PreReq: /sbin/chkconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Anubis is an outgoing mail processor. It goes between the MUA (Mail User Agent)
23 and the MTA (Mail Transport Agent), and can perform on the fly various sorts of
24 processing and conversion on the outgoing mail in accord with the sender's
25 specified rules, based on a highly configurable regular expressions system.
26 It operates as a proxy server, independently from mail user agents.
27 Anubis can edit outgoing mail headers, encrypt and/or sign mail with the
28 GNU Privacy Guard, build secure SMTP tunnels (Simple Mail Transport Protocol)
29 using the TLS/SSL encryption even if your mail user agent doesn't support it,
30 or tunnel a connection through a SOCKS proxy or WinGate proxy server. Moreover,
31 Anubis supports the remailers (it allows sending mail in an anonymous way).
34 Anubis jest preprocesorem wychodz±cej poczty i tunelem miêdzy MUA and
35 the MTA. Anubis wspiera rozszerzone wyra¿enia regularne, szyfrowanie
36 TLS/SSL, GnuPG, SOCKS Proxy oraz WinGates, remailery i nie tylko.
48 --disable-dependency-tracking
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}}
56 DESTDIR=$RPM_BUILD_ROOT
58 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/anubis
59 install ./examples/defaultrc $RPM_BUILD_ROOT%{_sysconfdir}/anubisrc
62 rm -fr $RPM_BUILD_ROOT
65 /sbin/chkconfig --add anubis
66 if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
67 /etc/rc.d/init.d/anubis restart >&2
69 echo "Run \"/etc/rc.d/init.d/anubis start\" to start anubis." >&2
71 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
75 if [ "$1" = "0" ]; then
76 if [ -f %{_localstatedir}/lock/subsys/anubis ]; then
77 /etc/rc.d/init.d/anubis stop
79 /sbin/chkconfig --del anubis
83 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
86 %defattr(644,root,root,755)
87 %doc AUTHORS README INSTALL NEWS ChangeLog TODO examples
88 %attr(754,root,root) /etc/rc.d/init.d/anubis
89 %attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/anubisrc
90 %attr(755,root,root) %{_sbindir}/anubis