2018-10-21 19:09:21 +02:00
|
|
|
# Description: Basic networking utilities
|
|
|
|
# URL: https://github.com/iputils/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 23:24:19 +01:00
|
|
|
|
|
|
|
name=iputils
|
2018-10-21 19:09:21 +02:00
|
|
|
version=s20180629
|
2018-12-26 12:40:06 +01:00
|
|
|
release=2
|
2018-10-21 19:09:21 +02:00
|
|
|
source=(https://github.com/iputils/iputils/archive/$version/$name-$version.tar.gz
|
2018-12-26 12:40:06 +01:00
|
|
|
http://crux.nu/files/distfiles/$name-man-$version-1.tar.xz)
|
2007-02-20 23:24:19 +01:00
|
|
|
|
|
|
|
build() {
|
2008-09-17 19:58:58 +02:00
|
|
|
cd $name-$version
|
2010-02-14 12:06:22 +01:00
|
|
|
|
2018-10-21 19:21:55 +02:00
|
|
|
make USE_IDN=no USE_NETTLE=no USE_GCRYPT=no USE_GNUTLS=no CCOPTOPT="$CFLAGS"
|
2007-02-20 23:24:19 +01:00
|
|
|
|
2017-09-04 13:23:05 +02:00
|
|
|
install -d $PKG/{{s,}bin,usr/{bin,sbin,share/man/man8}}
|
2018-10-21 19:09:21 +02:00
|
|
|
install ping $PKG/bin/
|
2008-09-17 19:58:58 +02:00
|
|
|
install arping $PKG/sbin/
|
2018-10-21 19:09:21 +02:00
|
|
|
install tracepath clockdiff rarpd rdisc $PKG/usr/sbin/
|
2017-09-04 13:23:05 +02:00
|
|
|
install traceroute6 $PKG/usr/bin/
|
2015-07-25 23:20:05 +02:00
|
|
|
cp -d $SRC/$name-man-$version/* $PKG/usr/share/man/man8
|
2018-10-21 19:09:21 +02:00
|
|
|
chmod u+s $PKG/bin/ping $PKG/usr/bin/traceroute6
|
2007-02-20 23:24:19 +01:00
|
|
|
}
|