From 77b6deeaee450fd5b851cfec14c09e64c9b689bf Mon Sep 17 00:00:00 2001 From: Shawn Iverson Date: Sat, 29 Oct 2022 14:41:23 -0400 Subject: [PATCH] Update spec files for rhel/suse --- rhel/mailscanner.spec | 12 ++++++++++++ suse/mailscanner.spec | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/rhel/mailscanner.spec b/rhel/mailscanner.spec index b6f06559..485fe541 100644 --- a/rhel/mailscanner.spec +++ b/rhel/mailscanner.spec @@ -74,6 +74,7 @@ MailScanner/reports/ro MailScanner/reports/sk MailScanner/perl/MailScanner MailScanner/perl/custom +MailScanner/perl/Sendmail/PMilter EOF while read f @@ -207,6 +208,10 @@ done install common/usr/share/MailScanner/perl/MailScanner.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/ +install common/usr/share/MailScanner/perl/Sendmail/Milter.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/Sendmail/ +install common/usr/share/MailScanner/perl/Sendmail/PMilter.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/Sendmail/ +install common/usr/share/MailScanner/perl/Sendmail/PMilter/Context.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/Sendmail/PMilter + while read f do install common/usr/share/MailScanner/perl/MailScanner/$f ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/MailScanner/ @@ -766,6 +771,10 @@ exit 0 %attr(644,root,root) /usr/share/MailScanner/perl/MailScanner/ZMailer.pm %attr(644,root,root) /usr/share/MailScanner/perl/MailScanner/ZMDiskStore.pm +%attr(644,root,root) /usr/share/MailScanner/perl/Sendmail/Milter.pm +%attr(644,root,root) /usr/share/MailScanner/perl/Sendmail/PMilter.pm +%attr(644,root,root) /usr/share/MailScanner/perl/Sendmail/PMilter/Context.pm + %attr(755,root,root) /etc/cron.daily/mailscanner %attr(755,root,root) /etc/cron.hourly/mailscanner @@ -1280,6 +1289,9 @@ exit 0 %config(noreplace) /usr/share/MailScanner/reports/ca/stored.virus.message.txt %changelog +* Sat Oct 29 2022 Shawn Iverson +- Integrate working PMilter code into MailScanner + * Sat Jan 08 2022 Shawn Iverson - Revert addition of 1x1spacer.gif in favor of base64 embedding diff --git a/suse/mailscanner.spec b/suse/mailscanner.spec index 7bbfe17a..a41f9c6b 100644 --- a/suse/mailscanner.spec +++ b/suse/mailscanner.spec @@ -75,6 +75,7 @@ MailScanner/reports/ro MailScanner/reports/sk MailScanner/perl/MailScanner MailScanner/perl/custom +MailScanner/perl/Sendmail/PMilter EOF while read f @@ -208,6 +209,10 @@ done install common/usr/share/MailScanner/perl/MailScanner.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/ +install common/usr/share/MailScanner/perl/Sendmail/Milter.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/Sendmail/ +install common/usr/share/MailScanner/perl/Sendmail/PMilter.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/Sendmail/ +install common/usr/share/MailScanner/perl/Sendmail/PMilter/Context.pm ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/Sendmail/PMilter + while read f do install common/usr/share/MailScanner/perl/MailScanner/$f ${RPM_BUILD_ROOT}/usr/share/MailScanner/perl/MailScanner/ @@ -691,6 +696,10 @@ exit 0 %attr(644,root,root) /usr/share/MailScanner/perl/MailScanner/ZMailer.pm %attr(644,root,root) /usr/share/MailScanner/perl/MailScanner/ZMDiskStore.pm +%attr(644,root,root) /usr/share/MailScanner/perl/Sendmail/Milter.pm +%attr(644,root,root) /usr/share/MailScanner/perl/Sendmail/PMilter.pm +%attr(644,root,root) /usr/share/MailScanner/perl/Sendmail/PMilter/Context.pm + %attr(755,root,root) /etc/cron.daily/mailscanner %attr(755,root,root) /etc/cron.hourly/mailscanner @@ -1205,6 +1214,9 @@ exit 0 %config(noreplace) /usr/share/MailScanner/reports/ca/stored.virus.message.txt %changelog +* Sat Oct 29 2022 Shawn Iverson +- Integrate working PMilter code into MailScanner + * Sat Jan 08 2022 Shawn Iverson - Revert addition of 1x1spacer.gif in favor of base64 embedding