iputils: update to 20101006.
This commit is contained in:
parent
27c0e2c407
commit
66076835de
4 changed files with 1068 additions and 26 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- Makefile.orig 2009-03-06 09:03:41.189028082 +0100
|
--- a/Makefile.orig 2010-10-06 13:59:20.000000000 +0200
|
||||||
+++ Makefile 2009-03-06 09:08:37.087015943 +0100
|
+++ b/Makefile 2011-02-01 01:58:43.338899085 +0100
|
||||||
@@ -25,6 +25,14 @@ TAG:=`date +s%Y%m%d`
|
@@ -25,6 +25,15 @@ TAG:=`date +s%Y%m%d`
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
@ -11,7 +11,8 @@
|
||||||
+ else \
|
+ else \
|
||||||
+ install -D -m755 $$f $(DESTDIR)/sbin/$$f; \
|
+ install -D -m755 $$f $(DESTDIR)/sbin/$$f; \
|
||||||
+ fi; \
|
+ fi; \
|
||||||
|
+ \
|
||||||
+ done
|
+ done
|
||||||
|
|
||||||
tftpd: tftpd.o tftpsubs.o
|
tftpd: tftpd.o tftpsubs.o
|
||||||
ping: ping.o ping_common.o
|
arping: arping.o -lsysfs
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
the OPEN_MAX define has been removed in newer kernel headers so use the
|
|
||||||
proper method of getting the value dynamically
|
|
||||||
|
|
||||||
http://bugs.gentoo.org/195861
|
|
||||||
|
|
||||||
--- rdisc.c
|
|
||||||
+++ rdisc.c
|
|
||||||
@@ -247,7 +247,7 @@ void do_fork(void)
|
|
||||||
if ((pid=fork()) != 0)
|
|
||||||
exit(0);
|
|
||||||
|
|
||||||
- for (t = 0; t < OPEN_MAX; t++)
|
|
||||||
+ for (t = 0; t < sysconf(_SC_OPEN_MAX); t++)
|
|
||||||
if (t != s)
|
|
||||||
close(t);
|
|
||||||
|
|
1044
srcpkgs/iputils/patches/iputils-s20101006-manpages.patch
Normal file
1044
srcpkgs/iputils/patches/iputils-s20101006-manpages.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,15 +1,28 @@
|
||||||
# Template file for 'iputils'
|
# Template file for 'iputils'
|
||||||
pkgname=iputils
|
pkgname=iputils
|
||||||
version=20071127
|
version=20101006
|
||||||
distver=s${version}
|
patch_args="-Np1"
|
||||||
wrksrc="$pkgname-$distver"
|
wrksrc="${pkgname}-s${version}"
|
||||||
distfiles="http://www.linuxgrill.com/anonymous/iproute2/$pkgname-$distver.tar.bz2"
|
distfiles="http://www.skbuff.net/${pkgname}/${pkgname}-s${version}.tar.bz2"
|
||||||
build_style=gnu_makefile
|
build_style=gnu_makefile
|
||||||
short_desc="IP Configuration Utilities (and Ping)"
|
short_desc="IP Configuration Utilities (and ping)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=dbbd87554d66e438245487ac31aa4a542a1c6c1ec8273cfacbbfeda09eb44a93
|
checksum=fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7
|
||||||
long_desc="
|
long_desc="
|
||||||
The iputils package is set of small useful utilities for Linux networking.
|
The iputils package is set of small useful utilities for Linux networking.
|
||||||
It was originally maintained by Alexey Kuznetsov."
|
It was originally maintained by Alexey Kuznetsov."
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libssl
|
||||||
|
Add_dependency run libsysfs
|
||||||
|
Add_dependency build libsysfs-devel
|
||||||
|
Add_dependency build openssl-devel
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
install -d ${DESTDIR}/usr/share/man/man8
|
||||||
|
install -m644 ${wrksrc}/doc/*.8 ${DESTDIR}/usr/share/man/man8
|
||||||
|
cd ${DESTDIR}/usr/share/man/man8
|
||||||
|
ln -sf ping.8 ping6.8
|
||||||
|
ln -sf tracepath.8 tracepath6.8
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue