diff options
Diffstat (limited to 'package/fping')
-rw-r--r-- | package/fping/Config.in | 15 | ||||
-rw-r--r-- | package/fping/Makefile | 37 | ||||
-rw-r--r-- | package/fping/ipkg/fping.control | 4 |
3 files changed, 56 insertions, 0 deletions
diff --git a/package/fping/Config.in b/package/fping/Config.in new file mode 100644 index 000000000..3fb258d1b --- /dev/null +++ b/package/fping/Config.in @@ -0,0 +1,15 @@ +config ADK_PACKAGE_FPING + prompt "fping............................. A program to ping multiple hosts in parallel" + tristate + default n + help + fping is a ping(1) like program which uses the Internet Control Message Protocol + (ICMP) echo request to determine if a host is up. fping is different from ping in + that you can specify any number of hosts on the command line, or specify a file + containing the lists of hosts to ping. Instead of trying one host until it timeouts + or replies, fping will send out a ping packet and move on to the next host in a + round-robin fashion. If a host replies, it is noted and removed from the list of + hosts to check. If a host does not respond within a certain time limit and/or retry + limit it will be considered unreachable. + + http://www.fping.com/ diff --git a/package/fping/Makefile b/package/fping/Makefile new file mode 100644 index 000000000..ce14b9555 --- /dev/null +++ b/package/fping/Makefile @@ -0,0 +1,37 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= fping +PKG_VERSION:= 2.4b2_to +PKG_RELEASE:= 1 +PKG_MD5SUM:= d5e8be59e307cef76bc479e1684df705 +DISTFILES:= ${PKG_NAME}.tar.gz +MASTER_SITES:= http://fping.sourceforge.net/download/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,FPING,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE= gnu + +do-build: + ${MAKE} -j1 CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}" -C ${WRKBUILD} clean ${PKG_NAME} + mv ${WRKBUILD}/${PKG_NAME} ${WRKBUILD}/${PKG_NAME}4 +ifeq ($(ADK_IPV6),y) + ${MAKE} -j1 CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS} -DIPV6=1" -C ${WRKBUILD} clean ${PKG_NAME} + mv ${WRKBUILD}/${PKG_NAME} ${WRKBUILD}/${PKG_NAME}6 + +endif + +do-install: + ${INSTALL_DIR} ${IDIR_FPING}/usr/bin + ${CP} ${WRKBUILD}/${PKG_NAME}4 ${IDIR_FPING}/usr/bin/${PKG_NAME} +ifeq ($(ADK_IPV6),y) + ${CP} ${WRKBUILD}/${PKG_NAME}6 ${IDIR_FPING}/usr/bin/ +endif + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/fping/ipkg/fping.control b/package/fping/ipkg/fping.control new file mode 100644 index 000000000..964c8dbf2 --- /dev/null +++ b/package/fping/ipkg/fping.control @@ -0,0 +1,4 @@ +Package: fping +Priority: optional +Section: net +Description: A program to ping hosts in parallel |