2007-02-20 16:24:19 -06:00
|
|
|
# Description: Basic networking applet
|
2014-06-08 13:26:00 +02:00
|
|
|
# URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils
|
2008-02-01 15:16:04 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2015-12-18 17:28:26 +01:00
|
|
|
# Depends on: libcap openssl
|
2007-02-20 16:24:19 -06:00
|
|
|
|
|
|
|
name=iputils
|
2015-12-18 17:28:26 +01:00
|
|
|
version=s20151218
|
|
|
|
release=1
|
2008-09-17 19:58:58 +02:00
|
|
|
source=(http://www.skbuff.net/iputils/$name-$version.tar.bz2
|
2010-02-14 12:06:22 +01:00
|
|
|
http://crux.nu/files/distfiles/$name-man-$version.tar.xz)
|
2007-02-20 16:24:19 -06:00
|
|
|
|
|
|
|
build() {
|
2008-09-17 19:58:58 +02:00
|
|
|
cd $name-$version
|
2010-02-14 12:06:22 +01:00
|
|
|
|
2015-12-18 17:28:26 +01:00
|
|
|
make USE_GCRYPT=no USE_GNUTLS=no CCOPTOPT="$CFLAGS"
|
2007-02-20 16:24:19 -06:00
|
|
|
|
2015-07-25 23:20:05 +02:00
|
|
|
install -d $PKG/{{s,}bin,usr/{sbin,share/man/man8}}
|
2008-09-17 19:58:58 +02:00
|
|
|
install ping{,6} $PKG/bin/
|
|
|
|
install arping $PKG/sbin/
|
2010-06-03 13:21:00 +00:00
|
|
|
install tracepath{,6} traceroute6 clockdiff rarpd rdisc $PKG/usr/sbin/
|
2015-07-25 23:20:05 +02:00
|
|
|
cp -d $SRC/$name-man-$version/* $PKG/usr/share/man/man8
|
2008-09-17 19:58:58 +02:00
|
|
|
chmod u+s $PKG/bin/ping{,6} $PKG/usr/sbin/traceroute6
|
2007-02-20 16:24:19 -06:00
|
|
|
}
|