All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH V2] fping: add recipe
@ 2013-09-06 21:58 Fathi Boudra
  2013-09-07  6:29 ` Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Fathi Boudra @ 2013-09-06 21:58 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi, Joe MacDonald

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

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
---
 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

diff --git a/meta-networking/recipes-support/fping/fping_3.5.bb b/meta-networking/recipes-support/fping/fping_3.5.bb
new file mode 100644
index 0000000..064c630
--- /dev/null
+++ b/meta-networking/recipes-support/fping/fping_3.5.bb
@@ -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,"
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-networking][PATCH V2] fping: add recipe
  2013-09-06 21:58 [meta-networking][PATCH V2] fping: add recipe Fathi Boudra
@ 2013-09-07  6:29 ` Koen Kooi
  0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2013-09-07  6:29 UTC (permalink / raw)
  To: Fathi Boudra; +Cc: openembedded-devel, Joe MacDonald


Op 6 sep. 2013, om 23:58 heeft Fathi Boudra <fathi.boudra@linaro.org> het volgende geschreven:

> 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.

> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
> ---
> 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
> 
> diff --git a/meta-networking/recipes-support/fping/fping_3.5.bb b/meta-networking/recipes-support/fping/fping_3.5.bb
> new file mode 100644
> index 0000000..064c630
> --- /dev/null
> +++ b/meta-networking/recipes-support/fping/fping_3.5.bb
> @@ -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,"

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

> -- 
> 1.8.1.2
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-networking][PATCH V2] fping: add recipe
  2013-09-08 14:52 [meta-networking][PATCH V3] " Fathi Boudra
@ 2013-09-08 14:52 ` Fathi Boudra
  0 siblings, 0 replies; 3+ messages in thread
From: Fathi Boudra @ 2013-09-08 14:52 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi, Joe MacDonald

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
---
 meta-networking/recipes-support/fping/fping_3.5.bb | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-networking/recipes-support/fping/fping_3.5.bb

diff --git a/meta-networking/recipes-support/fping/fping_3.5.bb b/meta-networking/recipes-support/fping/fping_3.5.bb
new file mode 100644
index 0000000..fe88934
--- /dev/null
+++ b/meta-networking/recipes-support/fping/fping_3.5.bb
@@ -0,0 +1,25 @@
+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 ?= "${@base_contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-08 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06 21:58 [meta-networking][PATCH V2] fping: add recipe Fathi Boudra
2013-09-07  6:29 ` Koen Kooi
2013-09-08 14:52 [meta-networking][PATCH V3] " Fathi Boudra
2013-09-08 14:52 ` [meta-networking][PATCH V2] " Fathi Boudra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.