Skip to contentSkip to conversation

fping: add recipe

PATCH Superseded Fathi Boudra 2 participants 2 messages Sep 6, 2013 – Sep 7, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fping: add recipe

V1->V2
drop PR
use PACKAGECONFIG for ipv6
drop COMPATIBLE_HOST

---
 meta-networking/recipes-support/fping/fping_3.5.bb | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-networking/recipes-support/fping/fping_3.5.bb
meta-networking/recipes-support/fping/fping_3.5.bb new file +24 -0
new file mode 100644
index 0000000..064c630
@@ -0,0 +1,24 @@
+SUMMARY = "sends ICMP ECHO_REQUEST packets to network hosts"
+DESCRIPTION = "fping is a ping like program which uses the Internet Control \
+Message Protocol (ICMP) echo request to determine if a target host is \
+responding. fping differs from ping in that you can specify any number of \
+targets on the command line, or specify a file containing the lists of \
+targets to ping.  Instead of sending to one target until it times out or \
+replies, fping will send out a ping packet and move on to the next target \
+in a round-robin fashion."
+HOMEPAGE = "http://www.fping.org/"
+SECTION = "console/tools"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=09d77789fe32be35acde9637a5ee39b1"
+
+SRC_URI = "http://www.fping.org/dist/fping-${PV}.tar.gz"
+SRC_URI[md5sum] = "2e17cb655aa4eb59b5a4a38a89e746ed"
+SRC_URI[sha256sum] = "09b8960e235341bae6000085d38106357eae656a79e0119bd27e816c9003656a"
+
+S = "${WORKDIR}/fping-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-ipv4"
+
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Signature · 1 line
1.8.1.2
#1 lore raw

Op 6 sep. 2013, om 23:58 heeft Fathi Boudra <[email protected]> het volgende geschreven:

Quoted 4 lines

V1->V2
drop PR
use PACKAGECONFIG for ipv6
drop COMPATIBLE_HOST

Changelogs like this go below the '---' so they don't end up in git log.

Quoted 26 lines

---
meta-networking/recipes-support/fping/fping_3.5.bb | 24 ++++++++++++++++++++++

1 file changed, 24 insertions(+)

create mode 100644 meta-networking/recipes-support/fping/fping_3.5.bb

meta-networking/recipes-support/fping/fping_3.5.bb new file +14 -0
new file mode 100644
index 0000000..064c630
@@ -0,0 +1,24 @@
+SUMMARY = "sends ICMP ECHO_REQUEST packets to network hosts"
+DESCRIPTION = "fping is a ping like program which uses the Internet Control \
+Message Protocol (ICMP) echo request to determine if a target host is \
+responding. fping differs from ping in that you can specify any number of \
+targets on the command line, or specify a file containing the lists of \
+targets to ping.  Instead of sending to one target until it times out or \
+replies, fping will send out a ping packet and move on to the next target \
+in a round-robin fashion."
+HOMEPAGE = "http://www.fping.org/"
+SECTION = "console/tools"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=09d77789fe32be35acde9637a5ee39b1"
+
+SRC_URI = "http://www.fping.org/dist/fping-${PV}.tar.gz"

meta-networking/recipes-support/fping/fping_3.5.bb line 24

Quoted 10 lines
meta-networking/recipes-support/fping/fping_3.5.bb new file +10 -0
+SRC_URI[md5sum] = "2e17cb655aa4eb59b5a4a38a89e746ed"
+SRC_URI[sha256sum] = "09b8960e235341bae6000085d38106357eae656a79e0119bd27e816c9003656a"
+
+S = "${WORKDIR}/fping-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-ipv4"
+
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"

You'll also need:

PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"

See meta/recipes-extended/iptables/iptables_1.4.17.bb in OE-core for reference on ipv6 PACKAGECONFIG.

regards,

Koen

Quoted 3 lines
Signature · 1 line
1.8.1.2