summaryrefslogtreecommitdiff
path: root/extra/ypbind-mt
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-17 01:53:16 -0700
committerroot <root@rshg054.dnsready.net>2013-05-17 01:53:16 -0700
commitb5f4c940227b9a7051c381688636d59f67864f93 (patch)
tree99d9cd904411e9aad2ea12662db7d3eb8c786085 /extra/ypbind-mt
parent453f3b8b2c568e9babcdc4852772278a39f130c0 (diff)
Fri May 17 01:52:35 PDT 2013
Diffstat (limited to 'extra/ypbind-mt')
-rw-r--r--extra/ypbind-mt/PKGBUILD11
-rw-r--r--extra/ypbind-mt/ypbind.service2
2 files changed, 7 insertions, 6 deletions
diff --git a/extra/ypbind-mt/PKGBUILD b/extra/ypbind-mt/PKGBUILD
index 56ade6c6c..c2bbc1c08 100644
--- a/extra/ypbind-mt/PKGBUILD
+++ b/extra/ypbind-mt/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 184214 2013-05-03 22:54:48Z tomegun $
+# $Id: PKGBUILD 185611 2013-05-15 22:57:01Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
@@ -6,13 +6,13 @@
pkgname=ypbind-mt
pkgver=1.37.1
-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' 'yp-tools')
+depends=('rpcbind' 'openslp' 'yp-tools' 'systemd')
backup=('etc/yp.conf')
source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'ypbind.service')
@@ -21,7 +21,8 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --sbindir=/usr/bin
make
}
@@ -36,4 +37,4 @@ package() {
install -d -m755 "${pkgdir}"/var/yp/binding
}
md5sums=('8af8d35e7b9a7fcc3a1576697a04bd82'
- '9083debd16fc49c6645372caa25969b5')
+ '5ea205756731c2978cca4934141424bd')
diff --git a/extra/ypbind-mt/ypbind.service b/extra/ypbind-mt/ypbind.service
index 08e4fe14e..bb13f1d66 100644
--- a/extra/ypbind-mt/ypbind.service
+++ b/extra/ypbind-mt/ypbind.service
@@ -7,7 +7,7 @@ Before=systemd-user-sessions.service
[Service]
Type=forking
PIDFile=/run/ypbind.pid
-ExecStart=/usr/sbin/ypbind
+ExecStart=/usr/bin/ypbind
# Terrible hack, upstream ypbind should sort something out
# Wait for at most 10 seconds for a NIS master to become available
ExecStartPost=/bin/sh -c "for i in 1 2 3 4 5 6 7 8 9 10; do ypwhich && break; sleep 1; done"