[arch-commits] Commit in spampd/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:59:45 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:59:44
Author: felixonmars
Revision: 658314
archrelease: copy trunk to community-staging-any
Added:
spampd/repos/community-staging-any/
spampd/repos/community-staging-any/PKGBUILD
(from rev 658313, spampd/trunk/PKGBUILD)
spampd/repos/community-staging-any/spampd.service
(from rev 658313, spampd/trunk/spampd.service)
----------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
spampd.service | 10 ++++++++++
2 files changed, 42 insertions(+)
Copied: spampd/repos/community-staging-any/PKGBUILD (from rev 658313, spampd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 12:59:44 UTC (rev 658314)
@@ -0,0 +1,32 @@
+# Maintainer: Florian "Bluewind" Pritz <flo at xssn.at>
+pkgname=spampd
+pkgver=2.53
+pkgrel=3
+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'
+ '009db21d0046a73bde74e403e903da6e')
+
+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-staging-any/spampd.service (from rev 658313, spampd/trunk/spampd.service)
===================================================================
--- community-staging-any/spampd.service (rev 0)
+++ community-staging-any/spampd.service 2020-07-07 12:59:44 UTC (rev 658314)
@@ -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 --homedir=/var/lib/spampd --nodetach --maxsize=2048
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list