commit be02ffc887e6b9bad8f4e6673995a0625e2bdf11
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Tue Feb 7 10:57:29 2017 +0100

    - initial

 spamassassin-plugin-iXhash2.spec | 53 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/spamassassin-plugin-iXhash2.spec b/spamassassin-plugin-iXhash2.spec
new file mode 100644
index 0000000..0a484f7
--- /dev/null
+++ b/spamassassin-plugin-iXhash2.spec
@@ -0,0 +1,53 @@
+Summary:       SpamAssassin plugin to lookup e-mail checksums in blacklists
+Name:          spamassassin-plugin-iXhash2
+Version:       2.05
+Release:       1
+License:       Apache v2.0
+Group:         Applications/Networking
+URL:           http://mailfud.org/iXhash2/
+Source0:       http://mailfud.org/iXhash2/iXhash2-%{version}.tar.gz
+# Source0-md5: 3acd152c17207ae2454a35c29b41a258
+Source1:       spamassassin-iXhash2.eml
+Patch0:                spamassassin-iXhash2-2.05-conf.patch
+BuildRequires: perl-devel
+Requires:      spamassassin >= 3.2
+Provides:      spamassassin-iXhash = 1.5.5-2
+Obsoletes:     spamassassin-iXhash < 1.5.5-2
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+iXhash2 is an unofficial improved version of the iXhash spam filter
+plugin for SpamAssassin, adding async DNS lookups for performance and
+removing unneeded features but fully compatible with the iXhash 1.5.5
+(http://www.ixhash.net/) implementation. It computes MD5 checksums of
+fragments of the body of an e-mail and compares them to those of known
+spam using DNS queries to a RBL-like name server. So it works similar
+to the standard plugins that use the Pyzor, Razor and DCC software
+packages from within SpamAssassin.
+
+%prep
+%setup -q -n iXhash2-%{version}
+%patch0 -p1 -b .conf
+cp -pf %{SOURCE1} iXhash2.eml
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D -p iXhash2.cf 
$RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/iXhash2.cf
+touch -c -r iXhash2.cf.conf 
$RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/iXhash2.cf
+install -D -p iXhash2.pm 
$RPM_BUILD_ROOT%{perl_vendorlib}/Mail/SpamAssassin/Plugin/iXhash2.pm
+install -d $RPM_BUILD_ROOT%{_mandir}/man3/
+perldoc iXhash2.pm > 
$RPM_BUILD_ROOT%{_mandir}/man3/Mail::SpamAssassin::Plugin::iXhash2.3pm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG LICENSE README iXhash2.eml
+%config(noreplace) %{_sysconfdir}/mail/spamassassin/iXhash2.cf
+%{perl_vendorlib}/Mail/SpamAssassin/Plugin/iXhash2.pm
+%{_mandir}/man3/*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/spamassassin-plugin-iXhash2.git/commitdiff/be02ffc887e6b9bad8f4e6673995a0625e2bdf11

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to