[arch-commits] Commit in spampd/repos (3 files)

Florian Pritz bluewind at archlinux.org
Wed Apr 3 13:33:09 UTC 2019


    Date: Wednesday, April 3, 2019 @ 13:33:08
  Author: bluewind
Revision: 448321

archrelease: copy trunk to community-testing-any

Added:
  spampd/repos/community-testing-any/
  spampd/repos/community-testing-any/PKGBUILD
    (from rev 448320, spampd/trunk/PKGBUILD)
  spampd/repos/community-testing-any/spampd.service
    (from rev 448320, spampd/trunk/spampd.service)

----------------+
 PKGBUILD       |   32 ++++++++++++++++++++++++++++++++
 spampd.service |   10 ++++++++++
 2 files changed, 42 insertions(+)

Copied: spampd/repos/community-testing-any/PKGBUILD (from rev 448320, spampd/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-04-03 13:33:08 UTC (rev 448321)
@@ -0,0 +1,32 @@
+# Maintainer: Florian "Bluewind" Pritz <flo at xssn.at>
+pkgname=spampd
+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=('GPL3')
+depends=('perl' 'perl-net-server' 'spamassassin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpaperno/spampd/archive/2.53.tar.gz"
+        spampd.service)
+md5sums=('63ef45a103687ec3a1b7983f537b4d9a'
+         'afc4f2c824bfbd1cc81db3e740f29078')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  pod2man spampd.pl | gzip -n -c > spampd.8.gz
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  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"
+
+  printf "u spampd - - /var/lib/spampd\n" | install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/spampd.conf"
+  printf "d /run/spampd 0700 spampd spampd -\n" | install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/spampd.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: spampd/repos/community-testing-any/spampd.service (from rev 448320, spampd/trunk/spampd.service)
===================================================================
--- community-testing-any/spampd.service	                        (rev 0)
+++ community-testing-any/spampd.service	2019-04-03 13:33:08 UTC (rev 448321)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Spamassassin Proxy Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/spampd --port=10025 --relayhost=127.0.0.1:10026 --tagall --log-rules-hit --user spampd --group spampd --pid=/run/spampd/spampd.pid --nodetach --maxsize=512
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list