summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/coreutils/PKGBUILD12
-rw-r--r--testing/net-tools/PKGBUILD25
-rw-r--r--testing/net-tools/net-tools.install12
3 files changed, 31 insertions, 18 deletions
diff --git a/testing/coreutils/PKGBUILD b/testing/coreutils/PKGBUILD
index 8fdbe0149..6d75f0659 100644
--- a/testing/coreutils/PKGBUILD
+++ b/testing/coreutils/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 126199 2011-06-02 14:37:57Z bisson $
+# $Id: PKGBUILD 127042 2011-06-10 00:56:53Z bisson $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=coreutils
pkgver=8.12
-pkgrel=2
+pkgrel=3
pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
arch=('i686' 'x86_64')
license=('GPL3')
@@ -35,8 +35,8 @@ build() {
autoreconf -v
./configure --prefix=/usr \
- --enable-install-program=su,hostname \
- --enable-no-install-program=groups,kill,uptime \
+ --enable-install-program=su \
+ --enable-no-install-program=groups,hostname,kill,uptime \
--enable-pam
make
}
@@ -54,8 +54,8 @@ package() {
install -dm755 ${pkgdir}/{bin,usr/sbin}
# binaries required by FHS
- _fhs="cat chgrp chmod chown cp date dd df echo false hostname \
- ln ls mkdir mknod mv pwd rm rmdir stty su sync true uname"
+ _fhs="cat chgrp chmod chown cp date dd df echo false ln ls \
+ mkdir mknod mv pwd rm rmdir stty su sync true uname"
mv ${_fhs} ${pkgdir}/bin
# binaries required by various Arch scripts
diff --git a/testing/net-tools/PKGBUILD b/testing/net-tools/PKGBUILD
index d9b2380bc..6a81124ea 100644
--- a/testing/net-tools/PKGBUILD
+++ b/testing/net-tools/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 126212 2011-06-02 16:50:35Z bisson $
+# $Id: PKGBUILD 127037 2011-06-10 00:48:19Z bisson $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=net-tools
pkgver=1.60
-pkgrel=16
+pkgrel=18
pkgdesc="Configuration tools for Linux networking"
arch=(i686 x86_64)
license=('GPL')
@@ -14,13 +14,7 @@ source=(http://www.tazenda.demon.co.uk/phil/$pkgname/$pkgname-$pkgver.tar.bz2
net-tools-1.60-nameif.patch
net-tools-1.60-nameif_strncpy.patch)
options=(!makeflags)
-md5sums=('888774accab40217dde927e21979c165'
- '7ef8d0c6818faa0fdeea94970a20e3fb'
- 'b52d899cba9956bb0055150506f41ac1'
- '51de6eabe2d6d6dc860f72c41cee636b'
- 'c16109863bc63f3dad4ef35305a340bb'
- '29a32617382fab1735acba4d920f1fcd'
- 'e66466b9304dac85eb42b32f1ec3b284')
+install=net-tools.install
build() {
cd $srcdir/$pkgname-$pkgver
@@ -37,7 +31,14 @@ package() {
cd $srcdir/$pkgname-$pkgver
make BASEDIR=$pkgdir update
- # the following is provided by yp-tools and coreutils
- rm "${pkgdir}"/bin/{{,dns,nis,yp}domainname,hostname}
- rm "${pkgdir}"/usr/share/man/man1/{{,dns,nis,yp}domainname,hostname}.1
+ # the following is provided by yp-tools
+ rm "${pkgdir}"/bin/{nis,yp}domainname
+ rm "${pkgdir}"/usr/share/man/man1/{nis,yp}domainname.1
}
+md5sums=('888774accab40217dde927e21979c165'
+ '7ef8d0c6818faa0fdeea94970a20e3fb'
+ 'b52d899cba9956bb0055150506f41ac1'
+ '51de6eabe2d6d6dc860f72c41cee636b'
+ 'c16109863bc63f3dad4ef35305a340bb'
+ '29a32617382fab1735acba4d920f1fcd'
+ 'e66466b9304dac85eb42b32f1ec3b284')
diff --git a/testing/net-tools/net-tools.install b/testing/net-tools/net-tools.install
new file mode 100644
index 000000000..9eee9e51b
--- /dev/null
+++ b/testing/net-tools/net-tools.install
@@ -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
+}