[arch-commits] Commit in ypbind-mt/repos (8 files)

Tom Gundersen tomegun at nymeria.archlinux.org
Sun May 12 19:41:49 EDT 2013


    Date: Monday, May 13, 2013 @ 01:41:48
  Author: tomegun
Revision: 185289

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  ypbind-mt/repos/testing-i686/
  ypbind-mt/repos/testing-i686/PKGBUILD
    (from rev 185288, ypbind-mt/trunk/PKGBUILD)
  ypbind-mt/repos/testing-i686/nisdomainname.conf
    (from rev 185288, ypbind-mt/trunk/nisdomainname.conf)
  ypbind-mt/repos/testing-i686/ypbind.service
    (from rev 185288, ypbind-mt/trunk/ypbind.service)
  ypbind-mt/repos/testing-x86_64/
  ypbind-mt/repos/testing-x86_64/PKGBUILD
    (from rev 185288, ypbind-mt/trunk/PKGBUILD)
  ypbind-mt/repos/testing-x86_64/nisdomainname.conf
    (from rev 185288, ypbind-mt/trunk/nisdomainname.conf)
  ypbind-mt/repos/testing-x86_64/ypbind.service
    (from rev 185288, ypbind-mt/trunk/ypbind.service)

-----------------------------------+
 testing-i686/PKGBUILD             |   40 ++++++++++++++++++++++++++++++++++++
 testing-i686/nisdomainname.conf   |    4 +++
 testing-i686/ypbind.service       |   16 ++++++++++++++
 testing-x86_64/PKGBUILD           |   40 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/nisdomainname.conf |    4 +++
 testing-x86_64/ypbind.service     |   16 ++++++++++++++
 6 files changed, 120 insertions(+)

Copied: ypbind-mt/repos/testing-i686/PKGBUILD (from rev 185288, ypbind-mt/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-12 23:41:48 UTC (rev 185289)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ypbind-mt
+pkgver=1.37.1
+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' 'systemd')
+backup=('etc/yp.conf')
+source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+	'ypbind.service')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	./configure \
+		--prefix=/usr \
+		--sbindir=/usr/bin
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -D -m644 etc/yp.conf "${pkgdir}"/etc/yp.conf
+	install -D -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service
+	install -d -m755 "${pkgdir}"/var/yp/binding
+}
+md5sums=('8af8d35e7b9a7fcc3a1576697a04bd82'
+         '5ea205756731c2978cca4934141424bd')

Copied: ypbind-mt/repos/testing-i686/nisdomainname.conf (from rev 185288, ypbind-mt/trunk/nisdomainname.conf)
===================================================================
--- testing-i686/nisdomainname.conf	                        (rev 0)
+++ testing-i686/nisdomainname.conf	2013-05-12 23:41:48 UTC (rev 185289)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set in /etc/rc.d/ypbind
+#
+NISDOMAINNAME=""

Copied: ypbind-mt/repos/testing-i686/ypbind.service (from rev 185288, ypbind-mt/trunk/ypbind.service)
===================================================================
--- testing-i686/ypbind.service	                        (rev 0)
+++ testing-i686/ypbind.service	2013-05-12 23:41:48 UTC (rev 185289)
@@ -0,0 +1,16 @@
+[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/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"
+
+[Install]
+WantedBy=multi-user.target

Copied: ypbind-mt/repos/testing-x86_64/PKGBUILD (from rev 185288, ypbind-mt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-12 23:41:48 UTC (rev 185289)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ypbind-mt
+pkgver=1.37.1
+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' 'systemd')
+backup=('etc/yp.conf')
+source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+	'ypbind.service')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	./configure \
+		--prefix=/usr \
+		--sbindir=/usr/bin
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -D -m644 etc/yp.conf "${pkgdir}"/etc/yp.conf
+	install -D -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service
+	install -d -m755 "${pkgdir}"/var/yp/binding
+}
+md5sums=('8af8d35e7b9a7fcc3a1576697a04bd82'
+         '5ea205756731c2978cca4934141424bd')

Copied: ypbind-mt/repos/testing-x86_64/nisdomainname.conf (from rev 185288, ypbind-mt/trunk/nisdomainname.conf)
===================================================================
--- testing-x86_64/nisdomainname.conf	                        (rev 0)
+++ testing-x86_64/nisdomainname.conf	2013-05-12 23:41:48 UTC (rev 185289)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set in /etc/rc.d/ypbind
+#
+NISDOMAINNAME=""

Copied: ypbind-mt/repos/testing-x86_64/ypbind.service (from rev 185288, ypbind-mt/trunk/ypbind.service)
===================================================================
--- testing-x86_64/ypbind.service	                        (rev 0)
+++ testing-x86_64/ypbind.service	2013-05-12 23:41:48 UTC (rev 185289)
@@ -0,0 +1,16 @@
+[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/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"
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list