Compare commits

...

4 Commits

Author SHA256 Message Date
2062022455 remove multiple README references 2025-09-05 13:17:45 +02:00
da742b79ea Add Gitea build results 2025-08-12 18:18:46 +02:00
138577dc24 Accepting request 1239052 from devel:languages:perl
- drop iXHash plugin (last provider stopped operation)
  * remove iXhash2-4.00.tar.gz
  * remove iXhash2-meta-rules.patch

OBS-URL: https://build.opensuse.org/request/show/1239052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spamassassin?expand=0&rev=93
2025-01-21 20:09:46 +00:00
cdeb42a03c drop iXHash plugin
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/spamassassin?expand=0&rev=166
2025-01-20 14:19:46 +00:00
5 changed files with 23 additions and 65 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/spamassassin/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/spamassassin)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2590758ef3afe088e9f130d8987b150af99369cb7293936f163d60578a5c21a
size 7765

View File

@@ -1,21 +0,0 @@
diff -u iXhash2-4.00/iXhash2.cf iXhash2-4.00_fix/iXhash2.cf
--- iXhash2-4.00/iXhash2.cf 2019-04-30 16:49:39.000000000 +0200
+++ iXhash2-4.00_fix/iXhash2.cf 2024-04-10 10:25:00.975919467 +0200
@@ -1,15 +1,8 @@
-
-# Note: loadplugin should really go into local.pre or so
-loadplugin Mail::SpamAssassin::Plugin::iXhash2 iXhash2.pm
-
-ifplugin Mail::SpamAssassin::Plugin::iXhash2
+loadplugin Mail::SpamAssassin::Plugin::iXhash2
ixhashdnsbl IXHASH_IX ix.dnsbl.manitu.net.
body IXHASH_IX eval:check_ixhash('IXHASH_IX')
-describe IXHASH_IX http://www.ixhash.net/listinfo.html
+describe IXHASH_IX https://www.nixspam.net/
tflags IXHASH_IX net
score IXHASH_IX 1.5
reuse IXHASH_IX
-
-endif
-

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jan 20 13:29:51 UTC 2025 - Dirk Stoecker <opensuse@dstoecker.de>
- drop iXHash plugin (last provider stopped operation)
* remove iXhash2-4.00.tar.gz
* remove iXhash2-meta-rules.patch
-------------------------------------------------------------------
Wed Apr 10 08:25:53 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package spamassassin
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,12 @@
%bcond_without test
%define ix_version 4.00
%define spd_version 2.61
%define sa_version 4.0.1
%define sa_float %(echo %{sa_version} | awk -F. '{ printf "%d.%03d%03d", $1, $2, $3 }')
%define perl_float %(echo %{perl_version} | awk -F. '{ printf "%d.%03d", $1, $2 }')
%define rules_revision 1916528
%define IXHASH iXhash2-%{ix_version}
%define SPAMPD spampd-%{spd_version}
Name: spamassassin
@@ -37,7 +35,6 @@ Group: Productivity/Networking/Email/Utilities
URL: https://spamassassin.apache.org/
Source0: https://downloads.apache.org/spamassassin/source/Mail-SpamAssassin-%{sa_version}.tar.bz2
Source1: https://downloads.apache.org/spamassassin/source/Mail-SpamAssassin-rules-%{sa_version}.r%{rules_revision}.tgz
Source2: https://mailfud.org/iXhash2/%{IXHASH}.tar.gz
Source3: https://github.com/mpaperno/spampd/archive/%{spd_version}.tar.gz#/%{SPAMPD}.tar.gz
Source10: local.cf
Source11: README.SUSE
@@ -53,12 +50,11 @@ Source101: https://downloads.apache.org/spamassassin/source/Mail-SpamAssass
# Keyring downloaded from https://www.apache.org/dist/spamassassin/KEYS
Source102: spamassassin.keyring
Source103: %{name}-rpmlintrc
Source104: README.md
Patch1: patch-PgSQL
Patch2: patch-URIDNSBL
Patch6: bnc#582111.diff
Patch7: basic-lint-without-sandbox.patch
# PATCH-FIX-OPENSUSE adapt ixHash config to RPM package
Patch10: iXhash2-meta-rules.patch
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(zlib)
# optional, but want them for build (test)
@@ -200,35 +196,13 @@ This package contains the perl modules for the spamassassin, including
the filter rules. This package is required for the package
"spamassassin", the commandline tool.
%package -n perl-Mail-SpamAssassin-Plugin-iXhash2
Version: %{ix_version}
Release: 0
Summary: The iXhash plugin for SpamAssassin
Group: Development/Libraries/Perl
Requires: perl(Digest::MD5)
Requires: perl(Mail::SpamAssassin) = %{sa_float}
Provides: perl-Mail-SpamAssassin-Plugin-iXhash = %{ix_version}
Obsoletes: perl-Mail-SpamAssassin-Plugin-iXhash < %{ix_version}
BuildArch: noarch
%{perl_requires}
%description -n perl-Mail-SpamAssassin-Plugin-iXhash2
This archive contains the iXhash2 plugin for the SpamAssassin spam filtering
software, along with an example config file.
Basically the plugin provides a network-based test just as razor2, pyzor
and DCC do. Working solely on the body of an email, it removes parts of it
and computes a hash value from the rest. These values will then be looked up
via DNS using the domains given in the config file(s).
%prep
%setup -q -n Mail-SpamAssassin-%{sa_version} -a 2 -a 3
%setup -q -n Mail-SpamAssassin-%{sa_version} -a 3
tar -zxf %{SOURCE1} -C rules
%patch -P 1
%patch -P 2 -p1
%patch -P 6
%patch -P 7 -p1
%patch -P 10 -p0
cp %{SOURCE11} ./
%build
@@ -261,15 +235,11 @@ sed -i -e "/\/usr\/bin/d" %{name}.files
# package only %%{_mandir}/man3
sed -i -e "s,%{_mandir}/man?,%{_mandir}/man3," %{name}.files
#
## perl-Mail-SpamAssassin-Plugin-iXhash2 stuff
install -d %{buildroot}%{_sysconfdir}/mail/spamassassin
cp %{IXHASH}/iXhash2.pm %{buildroot}%{perl_vendorlib}/Mail/SpamAssassin/Plugin
cp %{IXHASH}/iXhash2.cf %{buildroot}%{_sysconfdir}/mail/spamassassin/iXhash2.cf
#
## spamassassin stuff
install -D -m0755 %{SPAMPD}/spampd.pl %{buildroot}%{_sbindir}/spampd
install -m 0755 %{SOURCE15} %{buildroot}%{_sbindir}/
mv %{buildroot}%{_bindir}/spamd %{buildroot}%{_sbindir}/
install -d %{buildroot}%{_sysconfdir}/mail/spamassassin
install -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/mail/spamassassin/local.cf
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcspamd
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcspampd
@@ -354,15 +324,8 @@ fi
%doc ldap sql
%dir %{_sysconfdir}/mail
%config(noreplace) %{_sysconfdir}/mail/spamassassin
%exclude %{_sysconfdir}/mail/spamassassin/iXhash2.cf
%exclude %{perl_vendorarch}
%dir %{_datadir}/spamassassin
%{_datadir}/spamassassin/*
%files -n perl-Mail-SpamAssassin-Plugin-iXhash2
%license %{IXHASH}/LICENSE
%doc %{IXHASH}/CHANGELOG %{IXHASH}/README
%config(noreplace) %{_sysconfdir}/mail/spamassassin/iXhash2.cf
%{perl_vendorlib}/Mail/SpamAssassin/Plugin/iXhash2.pm
%changelog