commit perl-Mail-SpamAssassin-Plugin-dqs for openSUSE:Factory

2023-01-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Mail-SpamAssassin-Plugin-dqs 
for openSUSE:Factory checked in at 2023-01-14 00:03:34

Comparing /work/SRC/openSUSE:Factory/perl-Mail-SpamAssassin-Plugin-dqs (Old)
 and  
/work/SRC/openSUSE:Factory/.perl-Mail-SpamAssassin-Plugin-dqs.new.32243 (New)


Package is "perl-Mail-SpamAssassin-Plugin-dqs"

Sat Jan 14 00:03:34 2023 rev:3 rq:1058272 version:1.4.0

Changes:

--- 
/work/SRC/openSUSE:Factory/perl-Mail-SpamAssassin-Plugin-dqs/perl-Mail-SpamAssassin-Plugin-dqs.changes
  2022-11-16 15:44:15.848060506 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Mail-SpamAssassin-Plugin-dqs.new.32243/perl-Mail-SpamAssassin-Plugin-dqs.changes
   2023-01-14 00:04:21.318108463 +0100
@@ -1,0 +2,9 @@
+Fri Jan 13 13:35:49 UTC 2023 - Johannes Weberhofer 
+
+- spamassassin-dqs version 1.4.0
+  * Added support for SA 4.0.0+
+
+- spamassassin-dqs version 1.3.0
+  * Updated README.md
+
+---

Old:

  v1.2.2.tar.gz

New:

  spamassassin-dqs-1.4.0.tar.gz



Other differences:
--
++ perl-Mail-SpamAssassin-Plugin-dqs.spec ++
--- /var/tmp/diff_new_pack.9KJktM/_old  2023-01-14 00:04:21.810111329 +0100
+++ /var/tmp/diff_new_pack.9KJktM/_new  2023-01-14 00:04:21.814111352 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Mail-SpamAssassin-Plugin-dqs
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,16 @@
 
 
 Name:   perl-Mail-SpamAssassin-Plugin-dqs
-Version:1.2.2
+Version:1.4.0
 Release:0
 Summary:SpamAssassin plugin for Spamhaus Data Query Service (DQS)
 License:Apache-2.0
 Group:  Development/Libraries/Perl
 URL:https://github.com/spamhaus/spamassassin-dqs/tags
-Source0:
https://github.com/spamhaus/spamassassin-dqs/archive/refs/tags/v%{version}.tar.gz
+Source0:
https://github.com/spamhaus/spamassassin-dqs/archive/refs/tags/v%{version}.tar.gz#/spamassassin-dqs-%{version}.tar.gz
 Source1:README-SUSE.md
-BuildRequires:  spamassassin >= 3.4.1
-Requires:   spamassassin >= 3.4.1
+BuildRequires:  spamassassin >= 4.0.0
+Requires:   spamassassin >= 4.0.0
 %{perl_requires}
 
 %description
@@ -45,25 +45,27 @@
 
 %prep
 %setup -q -n spamassassin-dqs-%{version}
-sed -e 's||%{perl_vendorlib}/Mail/SpamAssassin/Plugin|' -i 
sh.pre
+sed -e 's||%{perl_vendorlib}/Mail/SpamAssassin/Plugin|' -i 
"3.4.1+/sh.pre"
 cp %{SOURCE1} .
 
 %build
 
 %install
-install -D -p -m 0644 SH.pm 
%{buildroot}%{perl_vendorlib}/Mail/SpamAssassin/Plugin/SH.pm
+install -D -p -m 0644 "3.4.1+/SH.pm" 
%{buildroot}%{perl_vendorlib}/Mail/SpamAssassin/Plugin/SH.pm
 mkdir -p %{buildroot}/%{_bindir}
-install -m 0755 hbltest.sh %{buildroot}%{_bindir}/hbltest.sh
-for FILE in sh.pre sh.cf sh_hbl.cf sh_hbl_scores.cf sh_scores.cf ; do
-   install -D -p -m 0644 $FILE 
%{buildroot}%{_sysconfdir}/mail/spamassassin/$FILE
+install -m 0755 "3.4.1+/hbltest.sh" %{buildroot}%{_bindir}/hbltest.sh
+install -D -p -m 0644 "3.4.1+/sh.pre" 
"%{buildroot}%{_sysconfdir}/mail/spamassassin/sh.pre"
+for FILE in sh.cf sh_scores.cf sh_hbl.cf sh_hbl_scores.cf ; do
+   install -D -p -m 0644 "4.0.0+/$FILE" 
"%{buildroot}%{_sysconfdir}/mail/spamassassin/$FILE"
 done
 
 %check
 # setup config files
 mkdir tests
 cp %{_sysconfdir}/mail/spamassassin/* tests/
-for FILE in sh.pre sh.cf sh_scores.cf ; do
-   cp $FILE tests/
+cp "3.4.1+/sh.pre" tests/
+for FILE in sh.cf sh_scores.cf ; do
+   cp "4.0.0+/$FILE" tests/
 done
 sed -e 's|%{perl_vendorlib}|%{buildroot}%{perl_vendorlib}|' -i tests/sh.pre
 # execute the tests


commit perl-Mail-SpamAssassin-Plugin-dqs for openSUSE:Factory

2022-11-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Mail-SpamAssassin-Plugin-dqs 
for openSUSE:Factory checked in at 2022-11-16 15:44:13

Comparing /work/SRC/openSUSE:Factory/perl-Mail-SpamAssassin-Plugin-dqs (Old)
 and  
/work/SRC/openSUSE:Factory/.perl-Mail-SpamAssassin-Plugin-dqs.new.1597 (New)


Package is "perl-Mail-SpamAssassin-Plugin-dqs"

Wed Nov 16 15:44:13 2022 rev:2 rq:1036212 version:1.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/perl-Mail-SpamAssassin-Plugin-dqs/perl-Mail-SpamAssassin-Plugin-dqs.changes
  2022-02-09 20:40:55.442623394 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Mail-SpamAssassin-Plugin-dqs.new.1597/perl-Mail-SpamAssassin-Plugin-dqs.changes
2022-11-16 15:44:15.848060506 +0100
@@ -1,0 +2,8 @@
+Wed Nov 16 10:28:49 UTC 2022 - Johannes Weberhofer 
+
+- spamassassin-dqs version 1.2.2
+
+  * Removed useless syslog functions and made the plugin compatible with 
MDaemon
+  * Minor fixes
+
+---

Old:

  v1.2.0.tar.gz

New:

  v1.2.2.tar.gz



Other differences:
--
++ perl-Mail-SpamAssassin-Plugin-dqs.spec ++
--- /var/tmp/diff_new_pack.v6tkTV/_old  2022-11-16 15:44:16.388063158 +0100
+++ /var/tmp/diff_new_pack.v6tkTV/_new  2022-11-16 15:44:16.392063177 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   perl-Mail-SpamAssassin-Plugin-dqs
-Version:1.2.0
+Version:1.2.2
 Release:0
 Summary:SpamAssassin plugin for Spamhaus Data Query Service (DQS)
 License:Apache-2.0

++ v1.2.0.tar.gz -> v1.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spamassassin-dqs-1.2.0/Changelog.md 
new/spamassassin-dqs-1.2.2/Changelog.md
--- old/spamassassin-dqs-1.2.0/Changelog.md 2021-09-09 16:46:07.0 
+0200
+++ new/spamassassin-dqs-1.2.2/Changelog.md 2022-04-20 18:23:07.0 
+0200
@@ -1,5 +1,15 @@
 Changelog for SpamAssassin DQS Plugin 
 
+- 200422
+   - Removed useless syslog functions and made the plugin compatible with 
MDaemon
+   - Minor fixes
+   - Tagged version 1.2.1
+
+- 310122
+   - Added functions to check whole hostnames in DBL
+   - Minor fixes
+   - Tagged version 1.2.0
+   
 - 140721
- Fixed scores on the abused section
- Tagged version 1.1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spamassassin-dqs-1.2.0/README.md 
new/spamassassin-dqs-1.2.2/README.md
--- old/spamassassin-dqs-1.2.0/README.md2021-09-09 16:46:07.0 
+0200
+++ new/spamassassin-dqs-1.2.2/README.md2022-04-20 18:23:07.0 
+0200
@@ -1,4 +1,3 @@
-
 # Using DQS with SpamAssassin
 
 This repository contains the configuration files and a plugin written for 
SpamAssassin, (https://spamassassin.apache.org/) for use with Spamhaus 
Technology Data Query Service (DQS) product.
@@ -19,6 +18,7 @@
 - Installation instructions
- [Install from Github](#install-from-github)
- [Install from FreeBSD ports](#install-from-freebsd-ports)
+- [Testing your setup](#testing-your-setup)
 - [Plugin internals](#plugin-internals)
 - [Final recommendations](#final-recommendations)
 - [Support and feedback](#support-and-feedback)
@@ -256,6 +256,12 @@
$ sudo make install
 ```
 
+## Testing your setup
+
+Once you succesfully installed the plugin, you could head to 
[http://blt.spamhaus.com](http://blt.spamhaus.com) and test if you have 
correctly installed everything. 
+
+**Please read the docs carefully**, as a "delivered" response with a red flag 
**doesn't always mean you missed something**; it depends on your setup. You 
should always check all the headers of any email that the BLT sends and look 
for spam headers, usually, but not always: "X-Spam-Flag: Yes" or "X-Spam: Yes".
+
 ***
 
 ## Plugin internals
@@ -283,6 +289,9 @@
  * `check_sh_bodyuri_ns`
  This function scans the email body and looks for URLs; when one is found it 
takes the domain's authoritative nameservers IPs and checks them in SBL (beta, 
not used, but you are encouraged to try it).
  
+ * `check_sh_hostname`
+ This function extracts whole hostnames starting from URLs in the email body 
and is used to check them in the abused-legit component of DBL
+ 
  * `check_sh_crypto`
  This functions looks for cryptowallets in the email body and checks them in 
HBL. As of today, we support the following cryptos:
 - BTC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spamassassin-dqs-1.2.0/SH.pm 
new/spamassassin-dqs-1.2.2/SH.pm
--- old/spamassassin-dqs-1.2.0/SH.pm2021-09-09 16:46:07.0 +0200
+++