[arch-commits] Commit in yp-tools/repos (12 files)
Tom Gundersen
tomegun at nymeria.archlinux.org
Sat Apr 27 13:26:47 UTC 2013
Date: Saturday, April 27, 2013 @ 15:26:46
Author: tomegun
Revision: 183730
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
yp-tools/repos/testing-i686/PKGBUILD
(from rev 183729, yp-tools/trunk/PKGBUILD)
yp-tools/repos/testing-i686/domainname.conf
(from rev 183729, yp-tools/trunk/domainname.conf)
yp-tools/repos/testing-i686/domainname.service
(from rev 183729, yp-tools/trunk/domainname.service)
yp-tools/repos/testing-i686/yp-tools.install
(from rev 183729, yp-tools/trunk/yp-tools.install)
yp-tools/repos/testing-x86_64/PKGBUILD
(from rev 183729, yp-tools/trunk/PKGBUILD)
yp-tools/repos/testing-x86_64/domainname.conf
(from rev 183729, yp-tools/trunk/domainname.conf)
yp-tools/repos/testing-x86_64/domainname.service
(from rev 183729, yp-tools/trunk/domainname.service)
yp-tools/repos/testing-x86_64/yp-tools.install
(from rev 183729, yp-tools/trunk/yp-tools.install)
Deleted:
yp-tools/repos/testing-i686/PKGBUILD
yp-tools/repos/testing-i686/domainname.service
yp-tools/repos/testing-x86_64/PKGBUILD
yp-tools/repos/testing-x86_64/domainname.service
-----------------------------------+
/PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++
/domainname.service | 22 +++++++++++
testing-i686/PKGBUILD | 30 ---------------
testing-i686/domainname.conf | 4 ++
testing-i686/domainname.service | 11 -----
testing-i686/yp-tools.install | 5 ++
testing-x86_64/PKGBUILD | 30 ---------------
testing-x86_64/domainname.conf | 4 ++
testing-x86_64/domainname.service | 11 -----
testing-x86_64/yp-tools.install | 5 ++
10 files changed, 110 insertions(+), 82 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2013-04-27 13:26:36 UTC (rev 183729)
+++ testing-i686/PKGBUILD 2013-04-27 13:26:46 UTC (rev 183730)
@@ -1,30 +0,0 @@
-# $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=1
-pkgdesc='Linux NIS Tools'
-arch=('i686' 'x86_64')
-url='http://www.linux-nis.org/nis/yp-tools/'
-license=('GPL2')
-depends=('ypbind-mt')
-source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'domainname.service')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -D -m644 ../domainname.service "${pkgdir}/usr/lib/systemd/system/domainname.service"
-}
-md5sums=('ba1f121c17e3ad65368be173b977cd13'
- '8d354b76eb0df9a3b06637bfff87453b')
Copied: yp-tools/repos/testing-i686/PKGBUILD (from rev 183729, yp-tools/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-04-27 13:26:46 UTC (rev 183730)
@@ -0,0 +1,35 @@
+# $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=2
+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"
+}
+md5sums=('ba1f121c17e3ad65368be173b977cd13'
+ '5a78cd2218936241133e5f61383a2dc8'
+ '74298e047121f528a2a5c221afd783ab')
Copied: yp-tools/repos/testing-i686/domainname.conf (from rev 183729, yp-tools/trunk/domainname.conf)
===================================================================
--- testing-i686/domainname.conf (rev 0)
+++ testing-i686/domainname.conf 2013-04-27 13:26:46 UTC (rev 183730)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set by domainname.service
+#
+NISDOMAINNAME=""
Deleted: testing-i686/domainname.service
===================================================================
--- testing-i686/domainname.service 2013-04-27 13:26:36 UTC (rev 183729)
+++ testing-i686/domainname.service 2013-04-27 13:26:46 UTC (rev 183730)
@@ -1,11 +0,0 @@
-[Unit]
-Description=NIS Domainname
-
-[Service]
-Type=oneshot
-EnvironmentFile=/etc/conf.d/nisdomainname
-ExecStart=/usr/bin/nisdomainname $NISDOMAINNAME
-RemainAfterExit=true
-
-[Install]
-WantedBy=multi-user.target
Copied: yp-tools/repos/testing-i686/domainname.service (from rev 183729, yp-tools/trunk/domainname.service)
===================================================================
--- testing-i686/domainname.service (rev 0)
+++ testing-i686/domainname.service 2013-04-27 13:26:46 UTC (rev 183730)
@@ -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/testing-i686/yp-tools.install (from rev 183729, yp-tools/trunk/yp-tools.install)
===================================================================
--- testing-i686/yp-tools.install (rev 0)
+++ testing-i686/yp-tools.install 2013-04-27 13:26:46 UTC (rev 183730)
@@ -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
+}
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2013-04-27 13:26:36 UTC (rev 183729)
+++ testing-x86_64/PKGBUILD 2013-04-27 13:26:46 UTC (rev 183730)
@@ -1,30 +0,0 @@
-# $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=1
-pkgdesc='Linux NIS Tools'
-arch=('i686' 'x86_64')
-url='http://www.linux-nis.org/nis/yp-tools/'
-license=('GPL2')
-depends=('ypbind-mt')
-source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'domainname.service')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -D -m644 ../domainname.service "${pkgdir}/usr/lib/systemd/system/domainname.service"
-}
-md5sums=('ba1f121c17e3ad65368be173b977cd13'
- '8d354b76eb0df9a3b06637bfff87453b')
Copied: yp-tools/repos/testing-x86_64/PKGBUILD (from rev 183729, yp-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-04-27 13:26:46 UTC (rev 183730)
@@ -0,0 +1,35 @@
+# $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=2
+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"
+}
+md5sums=('ba1f121c17e3ad65368be173b977cd13'
+ '5a78cd2218936241133e5f61383a2dc8'
+ '74298e047121f528a2a5c221afd783ab')
Copied: yp-tools/repos/testing-x86_64/domainname.conf (from rev 183729, yp-tools/trunk/domainname.conf)
===================================================================
--- testing-x86_64/domainname.conf (rev 0)
+++ testing-x86_64/domainname.conf 2013-04-27 13:26:46 UTC (rev 183730)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set by domainname.service
+#
+NISDOMAINNAME=""
Deleted: testing-x86_64/domainname.service
===================================================================
--- testing-x86_64/domainname.service 2013-04-27 13:26:36 UTC (rev 183729)
+++ testing-x86_64/domainname.service 2013-04-27 13:26:46 UTC (rev 183730)
@@ -1,11 +0,0 @@
-[Unit]
-Description=NIS Domainname
-
-[Service]
-Type=oneshot
-EnvironmentFile=/etc/conf.d/nisdomainname
-ExecStart=/usr/bin/nisdomainname $NISDOMAINNAME
-RemainAfterExit=true
-
-[Install]
-WantedBy=multi-user.target
Copied: yp-tools/repos/testing-x86_64/domainname.service (from rev 183729, yp-tools/trunk/domainname.service)
===================================================================
--- testing-x86_64/domainname.service (rev 0)
+++ testing-x86_64/domainname.service 2013-04-27 13:26:46 UTC (rev 183730)
@@ -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/testing-x86_64/yp-tools.install (from rev 183729, yp-tools/trunk/yp-tools.install)
===================================================================
--- testing-x86_64/yp-tools.install (rev 0)
+++ testing-x86_64/yp-tools.install 2013-04-27 13:26:46 UTC (rev 183730)
@@ -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