summaryrefslogtreecommitdiff
path: root/community/inn
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-14 00:04:07 +0000
committerroot <root@rshg054.dnsready.net>2012-09-14 00:04:07 +0000
commit1b99470a0c85186f768a328fcc11a7cfcc85be51 (patch)
treee08ce57006ed5455ffcfb1fb57544ed5604b0a80 /community/inn
parent843685ce9dd76d37a4c7b0230eacb6d26bdf30dd (diff)
Fri Sep 14 00:04:06 UTC 2012
Diffstat (limited to 'community/inn')
-rw-r--r--community/inn/PKGBUILD12
-rw-r--r--community/inn/innd.service16
2 files changed, 24 insertions, 4 deletions
diff --git a/community/inn/PKGBUILD b/community/inn/PKGBUILD
index 5b7a43d0c..43801f6af 100644
--- a/community/inn/PKGBUILD
+++ b/community/inn/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 71743 2012-06-02 10:29:04Z bluewind $
+# $Id: PKGBUILD 76159 2012-09-12 10:42:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Edward Tjörnhammar <xhemi@cube2.se>
# Contributor: Edward Tjörnhammar <xhemi@cube2.se>
pkgname=inn
-pkgver=2.5.2
-pkgrel=10
+pkgver=2.5.3
+pkgrel=1
pkgdesc="Complete open source Usenet system. De facto standard for handling news routing, news spool and serving the spool to customers."
url="http://www.isc.org/software/inn/"
arch=('i686' 'x86_64')
@@ -51,12 +51,14 @@ source=(http://ftp.isc.org/isc/inn/inn-$pkgver.tar.gz
nnrpd.rc
innd.conf
nnrpd.conf
+ innd.service
site.make.patch)
-md5sums=('a6e577dceb90d07501b96149508b974b'
+md5sums=('353fe95232828ddbc80debff86c240bc'
'a243d9498568f1beee20da5684b5fbfc'
'a0b1ff8501ac8a31ce81a2f9c9b4bac9'
'fbf1d2c5b3c5a08ae3e515c71c2e2e4a'
'bb4bbe86ae52fbbf08b0f6f370dea052'
+ '9da925a486fcf0cd67fdf462cbb9c0b4'
'960c800026ed6e03901cf0bafdfd53d8')
build() {
@@ -129,4 +131,6 @@ package() {
install -D -m0644 $srcdir/inn-$pkgver/LICENSE $pkgdir/usr/share/licenses/inn/LICENSE
chown root:root $pkgdir/usr/bin/innbind
chmod 05555 $pkgdir/usr/bin/innbind
+
+ install -Dm0644 $srcdir/innd.service $pkgdir/usr/lib/systemd/system/innd.service
}
diff --git a/community/inn/innd.service b/community/inn/innd.service
new file mode 100644
index 000000000..724baf90c
--- /dev/null
+++ b/community/inn/innd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Inetnet News Daemon
+After=syslog.target network.target
+ConditionPathExists=/etc/inn/inn.conf
+
+[Service]
+User=news
+PermissionsStartOnly=true
+PIDFile=/run/inn/innd.pid
+Type=forking
+ExecStart=/usr/bin/rc.news
+ExecStop=/bin/su -m news -c '/usr/bin/rc.news stop'
+KillMode=control-group
+
+[Install]
+WantedBy=multi-user.target