[arch-commits] Commit in net-tools/repos (6 files)
Ronald van Haren
ronald at archlinux.org
Sat Aug 4 20:55:04 UTC 2012
Date: Saturday, August 4, 2012 @ 16:55:03
Author: ronald
Revision: 164775
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
net-tools/repos/testing-i686/
net-tools/repos/testing-i686/PKGBUILD
(from rev 164774, net-tools/trunk/PKGBUILD)
net-tools/repos/testing-i686/net-tools.install
(from rev 164774, net-tools/trunk/net-tools.install)
net-tools/repos/testing-x86_64/
net-tools/repos/testing-x86_64/PKGBUILD
(from rev 164774, net-tools/trunk/PKGBUILD)
net-tools/repos/testing-x86_64/net-tools.install
(from rev 164774, net-tools/trunk/net-tools.install)
----------------------------------+
testing-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-i686/net-tools.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-x86_64/net-tools.install | 12 ++++++++++++
4 files changed, 98 insertions(+)
Copied: net-tools/repos/testing-i686/PKGBUILD (from rev 164774, net-tools/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-08-04 20:55:03 UTC (rev 164775)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=net-tools
+pkgver=1.60.20120804git
+pkgrel=1
+pkgdesc="Configuration tools for Linux networking"
+arch=(i686 x86_64)
+license=('GPL2')
+url="http://net-tools.sourceforge.net/"
+depends=('glibc')
+
+# http://www.tazenda.demon.co.uk/phil/$pkgname/$pkgname-$pkgver.tar.bz2
+# use git checkout instead
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+options=(!makeflags)
+install=net-tools.install
+sha1sums=('a3341086cb403a8d747b783693f72ee2dfd72d82')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ yes "" | make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make BASEDIR=$pkgdir update
+
+ # the following is provided by yp-tools
+ rm "${pkgdir}"/bin/{nis,yp}domainname
+ rm "${pkgdir}"/usr/share/man/man1/{nis,yp}domainname.1
+
+ # hostname is provided by inetutils
+ rm "${pkgdir}"/bin/{hostname,dnsdomainname,domainname}
+ rm -rf "${pkgdir}"/usr/share/man/man1
+}
Copied: net-tools/repos/testing-i686/net-tools.install (from rev 164774, net-tools/trunk/net-tools.install)
===================================================================
--- testing-i686/net-tools.install (rev 0)
+++ testing-i686/net-tools.install 2012-08-04 20:55:03 UTC (rev 164775)
@@ -0,0 +1,12 @@
+post_upgrade() {
+ if [ "$(vercmp $2 1.60-16)" -lt 0 ]; then
+ echo "hostname and {,yp,nis}domainname has moved:"
+ echo "----------"
+ echo "hostname is now in coreutils"
+ echo "domainname is now in yp-tools"
+ echo "their functionality might have changed slightly"
+ echo ""
+ echo "dnsdomainname remains in net-tools"
+ echo "----------"
+ fi
+}
Copied: net-tools/repos/testing-x86_64/PKGBUILD (from rev 164774, net-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-08-04 20:55:03 UTC (rev 164775)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=net-tools
+pkgver=1.60.20120804git
+pkgrel=1
+pkgdesc="Configuration tools for Linux networking"
+arch=(i686 x86_64)
+license=('GPL2')
+url="http://net-tools.sourceforge.net/"
+depends=('glibc')
+
+# http://www.tazenda.demon.co.uk/phil/$pkgname/$pkgname-$pkgver.tar.bz2
+# use git checkout instead
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+options=(!makeflags)
+install=net-tools.install
+sha1sums=('a3341086cb403a8d747b783693f72ee2dfd72d82')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ yes "" | make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make BASEDIR=$pkgdir update
+
+ # the following is provided by yp-tools
+ rm "${pkgdir}"/bin/{nis,yp}domainname
+ rm "${pkgdir}"/usr/share/man/man1/{nis,yp}domainname.1
+
+ # hostname is provided by inetutils
+ rm "${pkgdir}"/bin/{hostname,dnsdomainname,domainname}
+ rm -rf "${pkgdir}"/usr/share/man/man1
+}
Copied: net-tools/repos/testing-x86_64/net-tools.install (from rev 164774, net-tools/trunk/net-tools.install)
===================================================================
--- testing-x86_64/net-tools.install (rev 0)
+++ testing-x86_64/net-tools.install 2012-08-04 20:55:03 UTC (rev 164775)
@@ -0,0 +1,12 @@
+post_upgrade() {
+ if [ "$(vercmp $2 1.60-16)" -lt 0 ]; then
+ echo "hostname and {,yp,nis}domainname has moved:"
+ echo "----------"
+ echo "hostname is now in coreutils"
+ echo "domainname is now in yp-tools"
+ echo "their functionality might have changed slightly"
+ echo ""
+ echo "dnsdomainname remains in net-tools"
+ echo "----------"
+ fi
+}
More information about the arch-commits
mailing list