summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-07-13 15:59:15 +0200
committerpiernov <piernov@piernov.servegame.org>2012-07-13 15:59:15 +0200
commit5d4b4cc6bf50e5afd6325363e242ddbd99c32163 (patch)
tree7ef497359231e6849721da386d1de5a00a041442
parente96f7de5632ffb6cff9ddbe4778d0c4d9fa22570 (diff)
downloadnutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.tar.gz
nutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.tar.bz2
nutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.tar.xz
nutyx-pakxe-5d4b4cc6bf50e5afd6325363e242ddbd99c32163.zip
net-tools 1.60-20101030-1 màj port
-rw-r--r--net-tools/.md5sum.i6865
-rw-r--r--net-tools/.md5sum.x86_645
-rwxr-xr-xnet-tools/Pkgfile15
3 files changed, 6 insertions, 19 deletions
diff --git a/net-tools/.md5sum.i686 b/net-tools/.md5sum.i686
index 2914c29e5..2fe52be84 100644
--- a/net-tools/.md5sum.i686
+++ b/net-tools/.md5sum.i686
@@ -1,4 +1 @@
-20697137d49bc0f6b7ba2b35cdb3e27d net-tools-1.60-gcc34-3.patch
-901a8728f17a8190ef6e441d56b30112 net-tools-1.60-kernel_headers-2.patch
-7de67d26122785defd46bf2ed9b5b82b net-tools-1.60-mii_ioctl-1.patch
-888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2
+6be14ed473cacdd68edeaa9605adc469 net-tools-CVS_20101030.tar.gz
diff --git a/net-tools/.md5sum.x86_64 b/net-tools/.md5sum.x86_64
index 2914c29e5..2fe52be84 100644
--- a/net-tools/.md5sum.x86_64
+++ b/net-tools/.md5sum.x86_64
@@ -1,4 +1 @@
-20697137d49bc0f6b7ba2b35cdb3e27d net-tools-1.60-gcc34-3.patch
-901a8728f17a8190ef6e441d56b30112 net-tools-1.60-kernel_headers-2.patch
-7de67d26122785defd46bf2ed9b5b82b net-tools-1.60-mii_ioctl-1.patch
-888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2
+6be14ed473cacdd68edeaa9605adc469 net-tools-CVS_20101030.tar.gz
diff --git a/net-tools/Pkgfile b/net-tools/Pkgfile
index 232cd5f73..cf0734b40 100755
--- a/net-tools/Pkgfile
+++ b/net-tools/Pkgfile
@@ -6,20 +6,13 @@
name=net-tools
version=1.60
-release=1
-source=( http://www.tazenda.demon.co.uk/phil/$name/$name-$version.tar.bz2\
- http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-gcc34-3.patch\
- http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-kernel_headers-2.patch\
- http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-mii_ioctl-1.patch)
-
+release=20101030-1
+source=(http://anduin.linuxfromscratch.org/sources/BLFS/svn/n/net-tools-CVS_${release%-*}.tar.gz)
build() {
unset MAKEFLAGS
- cd $name-$version
- patch -Np1 -i ../net-tools-1.60-gcc34-3.patch &&
- patch -Np1 -i ../net-tools-1.60-kernel_headers-2.patch &&
- patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch &&
-yes "" | make config &&
+ cd $name-CVS_${release%-*}
+ yes "" | make config &&
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \
-e 's|HAVE_MII 0|HAVE_MII 1|g' config.h &&
sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \