[arch-commits] Commit in fssos-nsvs/trunk (PKGBUILD nsvsd nsvsd.service)
Eric Bélanger
eric at nymeria.archlinux.org
Sun May 12 23:34:46 UTC 2013
Date: Monday, May 13, 2013 @ 01:34:46
Author: eric
Revision: 90504
upgpkg: fssos-nsvs 0.5-11
Remove initscripts support, Move binaries in /usr/sbin to /usr/bin
Modified:
fssos-nsvs/trunk/PKGBUILD
fssos-nsvs/trunk/nsvsd.service
Deleted:
fssos-nsvs/trunk/nsvsd
---------------+
PKGBUILD | 19 ++++++++-----------
nsvsd | 36 ------------------------------------
nsvsd.service | 2 +-
3 files changed, 9 insertions(+), 48 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-12 23:32:26 UTC (rev 90503)
+++ PKGBUILD 2013-05-12 23:34:46 UTC (rev 90504)
@@ -3,7 +3,7 @@
pkgname=fssos-nsvs
pkgver=0.5
-pkgrel=10
+pkgrel=11
pkgdesc="NSVS for FSSOS"
arch=('i686' 'x86_64')
url="http://fssos.sourceforge.net/"
@@ -13,21 +13,18 @@
options=('!libtool' '!makeflags')
install=$pkgname.install
source=("http://downloads.sourceforge.net/sourceforge/fssos/nsvs-$pkgver.tar.gz"
- 'nsvsd'
- 'nsvsd.service')
+ 'nsvsd.service')
+md5sums=('3f17c2f6339f1a322b712b467023d825'
+ '9c791d2086e13f774548d9d6ba2cf9d5')
build() {
- cd $srcdir/nsvs-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ cd nsvs-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
make CFLAGS="${CFLAGS} -D_GNU_SOURCE"
}
package() {
- cd $srcdir/nsvs-$pkgver
- make DESTDIR=$pkgdir install
- install -D -m755 "$srcdir/nsvsd" "$pkgdir/etc/rc.d/nsvsd"
+ cd nsvs-$pkgver
+ make DESTDIR="$pkgdir" install
install -D -m644 "$srcdir/nsvsd.service" "$pkgdir/usr/lib/systemd/system/nsvsd.service"
}
-md5sums=('3f17c2f6339f1a322b712b467023d825'
- '4dfd9dc0d69b375587e39ab2621d9ea9'
- '61e970d0704875b1da83cb4e9fc0eef5')
Deleted: nsvsd
===================================================================
--- nsvsd 2013-05-12 23:32:26 UTC (rev 90503)
+++ nsvsd 2013-05-12 23:34:46 UTC (rev 90504)
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting nsvsd"
- /usr/sbin/nsvsd -f /etc/nsvsd.conf
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon nsvsd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping nsvsd"
- kill `cat /var/run/nsvsd.pid` &>/dev/null
- rm -f /var/run/nsvsd.pid
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon nsvsd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Modified: nsvsd.service
===================================================================
--- nsvsd.service 2013-05-12 23:32:26 UTC (rev 90503)
+++ nsvsd.service 2013-05-12 23:34:46 UTC (rev 90504)
@@ -2,7 +2,7 @@
Description=Name Service Via Sockets Daemon
[Service]
-ExecStart=/usr/sbin/nsvsd -f /etc/nsvsd.conf
+ExecStart=/usr/bin/nsvsd -f /etc/nsvsd.conf
[Install]
WantedBy=multi-user.target
More information about the arch-commits
mailing list