summaryrefslogtreecommitdiff
path: root/extra/fssos-nsvs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-02 01:06:16 -0700
committerroot <root@rshg054.dnsready.net>2012-10-02 01:06:16 -0700
commit941550cbc215d608bd18439f99500b74fbb80f0d (patch)
treeced50aee5db693d8495b19c59d2bdbd6927c9393 /extra/fssos-nsvs
parent9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff)
Tue Oct 2 01:06:06 PDT 2012
Diffstat (limited to 'extra/fssos-nsvs')
-rw-r--r--extra/fssos-nsvs/PKGBUILD15
-rw-r--r--extra/fssos-nsvs/nsvsd.service8
2 files changed, 17 insertions, 6 deletions
diff --git a/extra/fssos-nsvs/PKGBUILD b/extra/fssos-nsvs/PKGBUILD
index b2d16ae34..a2c1af331 100644
--- a/extra/fssos-nsvs/PKGBUILD
+++ b/extra/fssos-nsvs/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 150944 2012-02-24 09:43:04Z pierre $
+# $Id: PKGBUILD 167367 2012-10-01 15:08:26Z tomegun $
# Maintainer: Dale Blount <dale@archlinux.org>
pkgname=fssos-nsvs
pkgver=0.5
-pkgrel=8
+pkgrel=9
pkgdesc="NSVS for FSSOS"
arch=('i686' 'x86_64')
url="http://fssos.sourceforge.net/"
@@ -13,9 +13,8 @@ backup=('etc/nsvsd.conf')
options=('!libtool' '!makeflags')
install=$pkgname.install
source=("http://downloads.sourceforge.net/sourceforge/fssos/nsvs-$pkgver.tar.gz"
- 'nsvsd')
-md5sums=('3f17c2f6339f1a322b712b467023d825'
- '4dfd9dc0d69b375587e39ab2621d9ea9')
+ 'nsvsd'
+ 'nsvsd.service')
build() {
cd $srcdir/nsvs-$pkgver
@@ -26,5 +25,9 @@ build() {
package() {
cd $srcdir/nsvs-$pkgver
make DESTDIR=$pkgdir install
- install -D -m755 $srcdir/nsvsd $pkgdir/etc/rc.d/nsvsd
+ install -D -m755 "$srcdir/nsvsd" "$pkgdir/etc/rc.d/nsvsd"
+ install -D -m644 "$srcdir/nsvsd.service" "$pkgdir/usr/lib/systemd/system/nsvsd.service"
}
+md5sums=('3f17c2f6339f1a322b712b467023d825'
+ '4dfd9dc0d69b375587e39ab2621d9ea9'
+ '61e970d0704875b1da83cb4e9fc0eef5')
diff --git a/extra/fssos-nsvs/nsvsd.service b/extra/fssos-nsvs/nsvsd.service
new file mode 100644
index 000000000..0df5444ab
--- /dev/null
+++ b/extra/fssos-nsvs/nsvsd.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Name Service Via Sockets Daemon
+
+[Service]
+ExecStart=/usr/sbin/nsvsd -f /etc/nsvsd.conf
+
+[Install]
+WantedBy=multi-user.target