fping: Updated to 3.10
This commit is contained in:
parent
1ecc761ac8
commit
eb13815f64
@ -1,8 +1,8 @@
|
|||||||
drwxr-xr-x root/root usr/
|
drwxr-xr-x root/root usr/
|
||||||
drwxr-xr-x root/root usr/bin/
|
drwxr-xr-x root/root usr/bin/
|
||||||
lrwxrwxrwx root/root usr/bin/fping -> /usr/sbin/fping
|
-r-sr-xr-x root/root usr/bin/fping
|
||||||
|
-r-sr-xr-x root/root usr/bin/fping6
|
||||||
drwxr-xr-x root/root usr/man/
|
drwxr-xr-x root/root usr/man/
|
||||||
drwxr-xr-x root/root usr/man/man8/
|
drwxr-xr-x root/root usr/man/man8/
|
||||||
-rw-r--r-- root/root usr/man/man8/fping.8.gz
|
-rw-r--r-- root/root usr/man/man8/fping.8.gz
|
||||||
drwxr-xr-x root/root usr/sbin/
|
-rw-r--r-- root/root usr/man/man8/fping6.8.gz
|
||||||
-rwsr-xr-x root/root usr/sbin/fping
|
|
||||||
|
@ -1 +1 @@
|
|||||||
d5e8be59e307cef76bc479e1684df705 fping-2.4b2_to.tar.gz
|
6a0ddecb671df1d580d20c0dd1095773 fping-3.10.tar.gz
|
||||||
|
@ -1,21 +1,31 @@
|
|||||||
# Description: fping - send ICMP ECHO_REQUEST packets to network hosts.
|
# Description: A utility to ping multiple hosts at once
|
||||||
# URL: http://www.fping.com/
|
# URL: http://www.fping.com/
|
||||||
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
||||||
# Maintainer: Thomas Penteker, tek at serverop dot de
|
#
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=fping
|
name=fping
|
||||||
version=2.4b2_to
|
version=3.10
|
||||||
release=1
|
release=1
|
||||||
source=(http://www.mirrorservice.org/sites/ftp.wiretapped.net/pub/security/network-mapping/fping/$name-$version.tar.gz)
|
source=(http://www.fping.org/dist/${name}-${version}.tar.gz)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
./configure --prefix=/usr
|
|
||||||
sed -i "/^CFLAGS/s/-O2 -pipe/$CFLAGS/" Makefile
|
# Configure
|
||||||
install -d $PKG/usr/bin
|
./configure --prefix=/usr \
|
||||||
make && make prefix=$PKG/usr install
|
--sbindir=/usr/bin \
|
||||||
sed "s|$PKG||g" $SRC/$name-$version/$name.8 > $PKG/usr/man/man8/$name.8
|
--mandir=/usr/man \
|
||||||
chmod u+s $PKG/usr/sbin/$name
|
--enable-ipv4 \
|
||||||
ln -sf /usr/sbin/$name $PKG/usr/bin/$name
|
--enable-ipv6
|
||||||
|
|
||||||
|
# Build
|
||||||
|
make
|
||||||
|
|
||||||
|
# Package
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
chmod 4555 ${PKG}/usr/bin/fping
|
||||||
|
chmod 4555 ${PKG}/usr/bin/fping6
|
||||||
|
|
||||||
|
chown -R root:root $PKG
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user