summaryrefslogtreecommitdiff
path: root/extra/ypserv
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-08-28 11:13:32 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-08-28 11:13:32 +0200
commit0cc6a0720f9505aaacfc247fa646d3e888f8e4aa (patch)
tree65312a00db8134471b6b4d8f32c36cf479effdbe /extra/ypserv
parent0c5c6934b681707ec1a459da4318aabd7f9b796f (diff)
parent559da5e6e5aff9ccc57e29b6a91c35a528424b6c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/widelands/PKGBUILD community/bird/PKGBUILD community/hwinfo/PKGBUILD community/pdnsd/PKGBUILD community/spectrwm/PKGBUILD community/xmlrpc-c/PKGBUILD core/wireless_tools/PKGBUILD extra/proftpd/PKGBUILD libre/grub/PKGBUILD multilib-testing/lib32-libdrm/PKGBUILD multilib-testing/lib32-libdrm/no-pthread-stubs.patch multilib/lib32-gdk-pixbuf2/PKGBUILD testing/pkg-config/PKGBUILD testing/systemd/PKGBUILD testing/systemd/systemd.install
Diffstat (limited to 'extra/ypserv')
-rw-r--r--extra/ypserv/PKGBUILD20
-rw-r--r--extra/ypserv/yppasswdd.service12
-rw-r--r--extra/ypserv/ypserv.service12
-rw-r--r--extra/ypserv/ypxfrd.service12
4 files changed, 52 insertions, 4 deletions
diff --git a/extra/ypserv/PKGBUILD b/extra/ypserv/PKGBUILD
index 148a126c5..1c6adc54e 100644
--- a/extra/ypserv/PKGBUILD
+++ b/extra/ypserv/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 151791 2012-03-03 01:11:12Z tomegun $
+# $Id: PKGBUILD 165551 2012-08-23 17:48:09Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=ypserv
-pkgver=2.27
+pkgver=2.28
pkgrel=1
pkgdesc='Linux NIS Server'
arch=('i686' 'x86_64' 'mips64el')
@@ -15,7 +15,10 @@ depends=('gdbm' 'openslp' 'inetutils')
optdepends=('gawk: for printcap support')
backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets')
source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- confpost.patch
+ 'confpost.patch'
+ 'ypxfrd.service'
+ 'yppasswdd.service'
+ 'ypserv.service'
'yppasswd'
'ypserv')
@@ -35,8 +38,17 @@ package() {
install -D -m644 etc/securenets "${pkgdir}"/var/yp/securenets
install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv
install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd
+ install -D -m644 ../ypxfrd.service "${pkgdir}"/usr/lib/systemd/system/ypxfrd.service
+ install -D -m644 ../ypserv.service "${pkgdir}"/usr/lib/systemd/system/ypserv.service
+ install -D -m644 ../yppasswdd.service "${pkgdir}"/usr/lib/systemd/system/yppasswdd.service
+
+ # Provide native service for arch-daemons generator
+ ln -s yppasswdd.service "$pkgdir/usr/lib/systemd/system/yppasswd.service"
}
-md5sums=('fd9c43aec932a92be07b723c647b02a4'
+md5sums=('ed64f489bab494218fc5c5942b95d5b6'
'8acb314f30d6e531ac9efa8655f68ccb'
+ 'c80e253756446d59a90c4c21b1cb8740'
+ '7cba3dd3544436c3c1f05e36c0018e92'
+ '3398271c3e0a054e64b06b99aa2dc63d'
'4bc84c48ed1bb9659698853acb5cfd76'
'c40befe5932f1b42efaced6b46809303')
diff --git a/extra/ypserv/yppasswdd.service b/extra/ypserv/yppasswdd.service
new file mode 100644
index 000000000..9a7068b6c
--- /dev/null
+++ b/extra/ypserv/yppasswdd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Users Passwords Change Server
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/yppasswdd.pid
+ExecStart=/usr/sbin/rpc.yppasswdd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/extra/ypserv/ypserv.service b/extra/ypserv/ypserv.service
new file mode 100644
index 000000000..024a92e5a
--- /dev/null
+++ b/extra/ypserv/ypserv.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Server
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypserv.pid
+ExecStart=/usr/sbin/ypserv
+
+[Install]
+WantedBy=multi-user.target
diff --git a/extra/ypserv/ypxfrd.service b/extra/ypserv/ypxfrd.service
new file mode 100644
index 000000000..322ef559f
--- /dev/null
+++ b/extra/ypserv/ypxfrd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Maps Transferring Accelerator
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypxfrd.pid
+ExecStart=/usr/sbin/rpc.ypxfrd
+
+[Install]
+WantedBy=multi-user.target