summaryrefslogtreecommitdiff
path: root/extra/ypbind-mt
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-25 14:01:11 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-25 14:01:11 +0200
commitc94bf77ede06fa67fd3222ffa3fcad8898e1fd59 (patch)
tree3e4cc7f273a07c12fd69c589da434717e523664f /extra/ypbind-mt
parent0f89996e6f908cc405cd44478860b864dcb189f1 (diff)
parent3b99c42eb8ca744e86e4e17197b1bf10642c6785 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/nginx/PKGBUILD community-testing/nginx/nginx.install community/chrony/PKGBUILD community/lxdm/PKGBUILD community/oidentd/PKGBUILD community/oss/PKGBUILD community/pdnsd/PKGBUILD community/ruby-cairo/PKGBUILD community/subtle/PKGBUILD core/kmod/PKGBUILD core/lvm2/PKGBUILD core/openldap/PKGBUILD core/systemd/PKGBUILD extra/smartmontools/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'extra/ypbind-mt')
-rw-r--r--extra/ypbind-mt/PKGBUILD14
-rw-r--r--extra/ypbind-mt/ypbind.service13
2 files changed, 21 insertions, 6 deletions
diff --git a/extra/ypbind-mt/PKGBUILD b/extra/ypbind-mt/PKGBUILD
index 03c6f70fb..49a073967 100644
--- a/extra/ypbind-mt/PKGBUILD
+++ b/extra/ypbind-mt/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 150656 2012-02-19 12:54:57Z tomegun $
+# $Id: PKGBUILD 162167 2012-06-22 13:00:20Z dreisner $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
@@ -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' 'mips64el')
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 @@ package() {
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')
diff --git a/extra/ypbind-mt/ypbind.service b/extra/ypbind-mt/ypbind.service
new file mode 100644
index 000000000..c59231000
--- /dev/null
+++ b/extra/ypbind-mt/ypbind.service
@@ -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