[arch-commits] Commit in ypbind-mt/trunk (PKGBUILD ypbind.service)
Tom Gundersen
tomegun at archlinux.org
Sun Jun 10 01:24:49 UTC 2012
Date: Saturday, June 9, 2012 @ 21:24:48
Author: tomegun
Revision: 161338
upgpkg: ypbind-mt 1.33-5
add systemd unit file
also add yp-tools as a dep, both the rc script and the systemd unit file relies on it
Added:
ypbind-mt/trunk/ypbind.service
Modified:
ypbind-mt/trunk/PKGBUILD
----------------+
PKGBUILD | 12 +++++++-----
ypbind.service | 13 +++++++++++++
2 files changed, 20 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-06-10 01:13:12 UTC (rev 161337)
+++ PKGBUILD 2012-06-10 01:24:48 UTC (rev 161338)
@@ -6,20 +6,20 @@
pkgname=ypbind-mt
pkgver=1.33
-pkgrel=4
+pkgrel=5
pkgdesc='Linux NIS daemon'
url='http://www.linux-nis.org/nis/ypbind-mt/'
license=('GPL2')
arch=('i686' 'x86_64')
makedepends=('networkmanager')
-depends=('rpcbind' 'openslp' 'dbus-glib')
-optdepends=('yp-tools: to set a domain name')
+depends=('rpcbind' 'openslp' 'dbus-glib' 'yp-tools')
backup=('etc/yp.conf' 'etc/conf.d/ypbind' 'etc/conf.d/nisdomainname')
#source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz"
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'nisdomainname.conf'
'ypbind.conf'
- 'ypbind')
+ 'ypbind'
+ 'ypbind.service')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -40,9 +40,11 @@
install -D -m755 ../ypbind "${pkgdir}"/etc/rc.d/ypbind
install -D -m644 ../ypbind.conf "${pkgdir}"/etc/conf.d/ypbind
install -D -m644 ../nisdomainname.conf "${pkgdir}"/etc/conf.d/nisdomainname
+ install -D -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service
install -d -m755 "${pkgdir}"/var/yp/binding
}
md5sums=('692f68ed0476762be4228ce543a5b791'
'e83a85291ea2ee152a78f2c16b0b1185'
'229309a989abad27703ac2e6d07dc7ae'
- '1f7a4c80414d580c9afb3a08267beed0')
+ '1f7a4c80414d580c9afb3a08267beed0'
+ '88a721095e334cd442f4649a151ba9be')
Added: ypbind.service
===================================================================
--- ypbind.service (rev 0)
+++ ypbind.service 2012-06-10 01:24:48 UTC (rev 161338)
@@ -0,0 +1,13 @@
+[Unit]
+Description=YP Bind
+Requires=rpcbind.service domainname.service
+After=rpcbind.service domainname.service network.target
+Before=systemd-user-sessions.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypbind.pid
+ExecStart=/usr/sbin/ypbind
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list