[oe] [meta-networking][PATCH V2] fping: add recipe
Signed-off-by: Fathi Boudra --- 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 000..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] = "09b8960e235341bae685d38106357eae656a79e0119bd27e816c9003656a" + +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 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH V2] fping: add recipe
Op 6 sep. 2013, om 23:58 heeft Fathi Boudra 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 > --- > 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 000..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] = > "09b8960e235341bae685d38106357eae656a79e0119bd27e816c9003656a" > + > +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 > ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH V2] fping: add recipe
V1->V2 drop PR use PACKAGECONFIG for ipv6 drop COMPATIBLE_HOST Signed-off-by: Fathi Boudra --- 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 000..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] = "09b8960e235341bae685d38106357eae656a79e0119bd27e816c9003656a" + +S = "${WORKDIR}/fping-${PV}" + +inherit autotools + +EXTRA_OECONF = "--enable-ipv4" + +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," -- 1.8.1.2 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel