[arch-commits] Commit in yp-tools/repos (10 files)

Tom Gundersen tomegun at nymeria.archlinux.org
Thu May 30 08:13:01 EDT 2013


    Date: Thursday, May 30, 2013 @ 14:13:01
  Author: tomegun
Revision: 186649

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

Added:
  yp-tools/repos/staging-i686/
  yp-tools/repos/staging-i686/PKGBUILD
    (from rev 186648, yp-tools/trunk/PKGBUILD)
  yp-tools/repos/staging-i686/domainname.conf
    (from rev 186648, yp-tools/trunk/domainname.conf)
  yp-tools/repos/staging-i686/domainname.service
    (from rev 186648, yp-tools/trunk/domainname.service)
  yp-tools/repos/staging-i686/yp-tools.install
    (from rev 186648, yp-tools/trunk/yp-tools.install)
  yp-tools/repos/staging-x86_64/
  yp-tools/repos/staging-x86_64/PKGBUILD
    (from rev 186648, yp-tools/trunk/PKGBUILD)
  yp-tools/repos/staging-x86_64/domainname.conf
    (from rev 186648, yp-tools/trunk/domainname.conf)
  yp-tools/repos/staging-x86_64/domainname.service
    (from rev 186648, yp-tools/trunk/domainname.service)
  yp-tools/repos/staging-x86_64/yp-tools.install
    (from rev 186648, yp-tools/trunk/yp-tools.install)

-----------------------------------+
 staging-i686/PKGBUILD             |   39 ++++++++++++++++++++++++++++++++++++
 staging-i686/domainname.conf      |    4 +++
 staging-i686/domainname.service   |   11 ++++++++++
 staging-i686/yp-tools.install     |    5 ++++
 staging-x86_64/PKGBUILD           |   39 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/domainname.conf    |    4 +++
 staging-x86_64/domainname.service |   11 ++++++++++
 staging-x86_64/yp-tools.install   |    5 ++++
 8 files changed, 118 insertions(+)

Copied: yp-tools/repos/staging-i686/PKGBUILD (from rev 186648, yp-tools/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,39 @@
+# $Id$
+# 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.14
+pkgrel=3
+pkgdesc='Linux NIS Tools'
+arch=('i686' 'x86_64')
+url='http://www.linux-nis.org/nis/yp-tools/'
+license=('GPL2')
+depends=('ypbind-mt')
+backup=('etc/nisdomainname')
+install=yp-tools.install
+source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+	'domainname.service'
+	'domainname.conf')
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver"
+	make DESTDIR="$pkgdir" install
+	install -D -m644 ../domainname.conf "${pkgdir}/etc/nisdomainname"
+	install -D -m644 ../domainname.service "${pkgdir}/usr/lib/systemd/system/domainname.service"
+	# usrmove
+	cd "$pkgdir"
+	mv usr/sbin/* usr/bin
+	rmdir usr/sbin
+}
+md5sums=('ba1f121c17e3ad65368be173b977cd13'
+         '5a78cd2218936241133e5f61383a2dc8'
+         '74298e047121f528a2a5c221afd783ab')

Copied: yp-tools/repos/staging-i686/domainname.conf (from rev 186648, yp-tools/trunk/domainname.conf)
===================================================================
--- staging-i686/domainname.conf	                        (rev 0)
+++ staging-i686/domainname.conf	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set by domainname.service
+#
+NISDOMAINNAME=""

Copied: yp-tools/repos/staging-i686/domainname.service (from rev 186648, yp-tools/trunk/domainname.service)
===================================================================
--- staging-i686/domainname.service	                        (rev 0)
+++ staging-i686/domainname.service	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,11 @@
+[Unit]
+Description=NIS Domainname
+
+[Service]
+Type=oneshot
+EnvironmentFile=/etc/nisdomainname
+ExecStart=/usr/bin/nisdomainname $NISDOMAINNAME
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target

Copied: yp-tools/repos/staging-i686/yp-tools.install (from rev 186648, yp-tools/trunk/yp-tools.install)
===================================================================
--- staging-i686/yp-tools.install	                        (rev 0)
+++ staging-i686/yp-tools.install	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,5 @@
+post_upgrade() {
+	if [ "$(vercmp 2.14-2 "$2")" -eq 1 ]; then
+		printf '===> Configure your NIS domain name in /etc/nisdomainname\n'
+	fi
+}

Copied: yp-tools/repos/staging-x86_64/PKGBUILD (from rev 186648, yp-tools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,39 @@
+# $Id$
+# 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.14
+pkgrel=3
+pkgdesc='Linux NIS Tools'
+arch=('i686' 'x86_64')
+url='http://www.linux-nis.org/nis/yp-tools/'
+license=('GPL2')
+depends=('ypbind-mt')
+backup=('etc/nisdomainname')
+install=yp-tools.install
+source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+	'domainname.service'
+	'domainname.conf')
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver"
+	make DESTDIR="$pkgdir" install
+	install -D -m644 ../domainname.conf "${pkgdir}/etc/nisdomainname"
+	install -D -m644 ../domainname.service "${pkgdir}/usr/lib/systemd/system/domainname.service"
+	# usrmove
+	cd "$pkgdir"
+	mv usr/sbin/* usr/bin
+	rmdir usr/sbin
+}
+md5sums=('ba1f121c17e3ad65368be173b977cd13'
+         '5a78cd2218936241133e5f61383a2dc8'
+         '74298e047121f528a2a5c221afd783ab')

Copied: yp-tools/repos/staging-x86_64/domainname.conf (from rev 186648, yp-tools/trunk/domainname.conf)
===================================================================
--- staging-x86_64/domainname.conf	                        (rev 0)
+++ staging-x86_64/domainname.conf	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set by domainname.service
+#
+NISDOMAINNAME=""

Copied: yp-tools/repos/staging-x86_64/domainname.service (from rev 186648, yp-tools/trunk/domainname.service)
===================================================================
--- staging-x86_64/domainname.service	                        (rev 0)
+++ staging-x86_64/domainname.service	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,11 @@
+[Unit]
+Description=NIS Domainname
+
+[Service]
+Type=oneshot
+EnvironmentFile=/etc/nisdomainname
+ExecStart=/usr/bin/nisdomainname $NISDOMAINNAME
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target

Copied: yp-tools/repos/staging-x86_64/yp-tools.install (from rev 186648, yp-tools/trunk/yp-tools.install)
===================================================================
--- staging-x86_64/yp-tools.install	                        (rev 0)
+++ staging-x86_64/yp-tools.install	2013-05-30 12:13:01 UTC (rev 186649)
@@ -0,0 +1,5 @@
+post_upgrade() {
+	if [ "$(vercmp 2.14-2 "$2")" -eq 1 ]; then
+		printf '===> Configure your NIS domain name in /etc/nisdomainname\n'
+	fi
+}



More information about the arch-commits mailing list