[arch-commits] Commit in ypserv/trunk (4 files)

Tom Gundersen tomegun at archlinux.org
Wed Aug 22 22:00:33 UTC 2012


    Date: Wednesday, August 22, 2012 @ 18:00:33
  Author: tomegun
Revision: 165526

upgpkg: ypserv 2.28-1

add systemd service files and upstream release

Added:
  ypserv/trunk/yppasswdd.service
  ypserv/trunk/ypserv.service
  ypserv/trunk/ypxfrd.service
Modified:
  ypserv/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   18 +++++++++++++++---
 yppasswdd.service |   12 ++++++++++++
 ypserv.service    |   12 ++++++++++++
 ypxfrd.service    |   12 ++++++++++++
 4 files changed, 51 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-08-22 19:38:08 UTC (rev 165525)
+++ PKGBUILD	2012-08-22 22:00:33 UTC (rev 165526)
@@ -5,7 +5,7 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=ypserv
-pkgver=2.27
+pkgver=2.28
 pkgrel=1
 pkgdesc='Linux NIS Server'
 arch=('i686' 'x86_64')
@@ -15,7 +15,10 @@
 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 @@
 	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')

Added: yppasswdd.service
===================================================================
--- yppasswdd.service	                        (rev 0)
+++ yppasswdd.service	2012-08-22 22:00:33 UTC (rev 165526)
@@ -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

Added: ypserv.service
===================================================================
--- ypserv.service	                        (rev 0)
+++ ypserv.service	2012-08-22 22:00:33 UTC (rev 165526)
@@ -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

Added: ypxfrd.service
===================================================================
--- ypxfrd.service	                        (rev 0)
+++ ypxfrd.service	2012-08-22 22:00:33 UTC (rev 165526)
@@ -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




More information about the arch-commits mailing list