[arch-commits] Commit in spampd/trunk (PKGBUILD perl-5.18-fixes.patch)
Florian Pritz
bluewind at archlinux.org
Wed Apr 3 13:28:08 UTC 2019
Date: Wednesday, April 3, 2019 @ 13:28:07
Author: bluewind
Revision: 448319
upgpkg: spampd 2.53-1
upstream update
Modified:
spampd/trunk/PKGBUILD
Deleted:
spampd/trunk/perl-5.18-fixes.patch
-----------------------+
PKGBUILD | 25 +++++++++----------------
perl-5.18-fixes.patch | 42 ------------------------------------------
2 files changed, 9 insertions(+), 58 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-03 12:36:38 UTC (rev 448318)
+++ PKGBUILD 2019-04-03 13:28:07 UTC (rev 448319)
@@ -1,34 +1,27 @@
# Maintainer: Florian "Bluewind" Pritz <flo at xssn.at>
pkgname=spampd
-pkgver=2.30
-pkgrel=14
+pkgver=2.53
+pkgrel=1
pkgdesc="Spamassassin Proxy Daemon"
arch=('any')
url="https://www.worlddesign.com/index.cfm/page/software/open-source/spampd.htm"
-license=('GPL')
+license=('GPL3')
depends=('perl' 'perl-net-server' 'spamassassin')
-source=("https://www.worlddesign.com/Content/rd/mta/$pkgname/$pkgname-$pkgver.tar.gz"
- spampd.service perl-5.18-fixes.patch)
-md5sums=('742c6f2cb75db54e59d044a8ee40445f'
- 'afc4f2c824bfbd1cc81db3e740f29078'
- '55ea1067be9e70c60b708d355b085a0a')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpaperno/spampd/archive/2.53.tar.gz"
+ spampd.service)
+md5sums=('63ef45a103687ec3a1b7983f537b4d9a'
+ 'afc4f2c824bfbd1cc81db3e740f29078')
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch -p1 -i "$srcdir/perl-5.18-fixes.patch"
-}
-
build() {
cd "$srcdir/$pkgname-$pkgver"
- make
+ pod2man spampd.pl | gzip -n -c > spampd.8.gz
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- install -Dm755 spampd "$pkgdir/usr/bin/spampd"
+ install -Dm755 spampd.pl "$pkgdir/usr/bin/spampd"
install -Dm644 spampd.8.gz "$pkgdir/usr/share/man/man8/spampd.8.gz"
install -Dm644 "$srcdir/spampd.service" "$pkgdir/usr/lib/systemd/system/spampd.service"
Deleted: perl-5.18-fixes.patch
===================================================================
--- perl-5.18-fixes.patch 2019-04-03 12:36:38 UTC (rev 448318)
+++ perl-5.18-fixes.patch 2019-04-03 13:28:07 UTC (rev 448319)
@@ -1,42 +0,0 @@
-diff --git a/spampd b/spampd
-index 7b1f234..2798d50 100644
---- a/spampd
-+++ b/spampd
-@@ -937,6 +937,10 @@ if ( !$options{logsock} ) {
- };
- }
-
-+# untaint some args to prevent errors in other modules
-+($pidfile) = ($pidfile =~ /^(.+)$/);
-+($relayhost) = ($relayhost =~ /^(.+)$/);
-+($relayport) = ($relayport =~ /^(.+)$/);
-
- my $server = bless {
- server => {host => $host,
-@@ -1147,10 +1151,10 @@ L<http://www.WorldDesign.com/index.cfm/rd/mta/spampd.htm>.
-
- =head1 Requires
-
--=over 5
--
- Perl modules:
-
-+=over 5
-+
- =item B<Mail::SpamAssassin>
-
- =item B<Net::Server::PreForkSimple>
-@@ -1478,11 +1482,11 @@ Prints usage information.
-
- =head2 Deprecated Options
-
--=over 5
--
- The following options are no longer used but still accepted for backwards
- compatibility with prevoius I<spampd> versions:
-
-+=over 5
-+
- =item B<--dead-letters>
-
- =item B<--heloname>
More information about the arch-commits
mailing list