[arch-commits] Commit in yp-tools/trunk (PKGBUILD domainname.service)

Tom Gundersen tomegun at archlinux.org
Sun Jun 10 01:12:50 UTC 2012


    Date: Saturday, June 9, 2012 @ 21:12:50
  Author: tomegun
Revision: 161336

upgpkg: yp-tools 2.12-3

add systemd unit file

Added:
  yp-tools/trunk/domainname.service
Modified:
  yp-tools/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   13 +++++++++----
 domainname.service |   11 +++++++++++
 2 files changed, 20 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-09 22:30:45 UTC (rev 161335)
+++ PKGBUILD	2012-06-10 01:12:50 UTC (rev 161336)
@@ -1,18 +1,20 @@
 # $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Mantainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
 # Contributor: dorphell <dorphell at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=yp-tools
 pkgver=2.12
-pkgrel=2
+pkgrel=3
 pkgdesc='Linux NIS Tools'
 arch=('i686' 'x86_64')
 url='http://www.linux-nis.org/nis/yp-tools/'
 license=('GPL2')
 depends=('ypbind-mt')
-source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.gz")
-sha1sums=('10b0ef5d4c5723e0716d7a1431a900c0ba6ef703')
+#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"
+	'domainname.service')
 
 build() {
 	cd "$srcdir/$pkgname-$pkgver"
@@ -23,4 +25,7 @@
 package() {
 	cd "$srcdir/$pkgname-$pkgver"
 	make DESTDIR="$pkgdir" install
+	install -D -m644 ../domainname.service "${pkgdir}/usr/lib/systemd/service/domainname.service"
 }
+md5sums=('ce1e06d86caa285fa8cd76fdf103f51e'
+         '8d354b76eb0df9a3b06637bfff87453b')

Added: domainname.service
===================================================================
--- domainname.service	                        (rev 0)
+++ domainname.service	2012-06-10 01:12:50 UTC (rev 161336)
@@ -0,0 +1,11 @@
+[Unit]
+Description=NIS Domainname
+
+[Service]
+Type=oneshot
+EnvironmentFile=/etc/conf.d/nisdomainname
+ExecStart=/usr/bin/nisdomainname $NISDOMAINNAME
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list