summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/iputils/iputils_s20151218.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-01-07 01:31:10 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-15 11:54:50 +0000
commit4cb226954a909d0d6456bffbc857a8d966cc26c0 (patch)
treec07ba4f80d618e91a278682206213a24619fa51c /meta/recipes-extended/iputils/iputils_s20151218.bb
parentfe47dd7bf5bf4c0cfdc8689f25ea5e2f4fa267bb (diff)
downloadpoky-4cb226954a909d0d6456bffbc857a8d966cc26c0.tar.gz
iputils: s20121221 -> s20151218
* Remove fix-build-command-line-argument-with-gnutls.patch which is already in the source. * Add libgcrypt to DEPENDS since it depends on it. (From OE-Core rev: 119a121e4dbf48db67544c4c7fca40a1abcf1146) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/iputils/iputils_s20151218.bb')
-rw-r--r--meta/recipes-extended/iputils/iputils_s20151218.bb72
1 files changed, 72 insertions, 0 deletions
diff --git a/meta/recipes-extended/iputils/iputils_s20151218.bb b/meta/recipes-extended/iputils/iputils_s20151218.bb
new file mode 100644
index 0000000000..4c3523d425
--- /dev/null
+++ b/meta/recipes-extended/iputils/iputils_s20151218.bb
@@ -0,0 +1,72 @@
1SUMMARY = "Network monitoring tools"
2DESCRIPTION = "Utilities for the IP protocol, including traceroute6, \
3tracepath, tracepath6, ping, ping6 and arping."
4HOMEPAGE = "http://www.skbuff.net/iputils"
5SECTION = "console/network"
6
7LICENSE = "BSD & GPLv2+"
8
9LIC_FILES_CHKSUM = "file://ping.c;beginline=1;endline=35;md5=f9ceb201733e9a6cf8f00766dd278d82 \
10 file://tracepath.c;beginline=1;endline=10;md5=0ecea2bf60bff2f3d840096d87647f3d \
11 file://arping.c;beginline=1;endline=11;md5=fe84301b5c2655c950f8b92a057fafa6 \
12 file://tftpd.c;beginline=1;endline=32;md5=28834bf8a91a5b8a92755dbee709ef96 "
13
14DEPENDS = "gnutls docbook-utils-native sgmlspl-native libcap libgcrypt"
15
16
17SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \
18 file://debian/use_gethostbyname2.diff \
19 file://debian/targets.diff \
20 file://nsgmls-path-fix.patch \
21 "
22
23SRC_URI[md5sum] = "8aaa7395f27dff9f57ae016d4bc753ce"
24SRC_URI[sha256sum] = "549f58d71951e52b46595829134d4e330642f522f50026917fadc349a54825a1"
25
26UPSTREAM_CHECK_REGEX = "iputils-(?P<pver>s\d+).tar"
27
28do_compile () {
29 oe_runmake 'CC=${CC} -D_GNU_SOURCE' VPATH="${STAGING_LIBDIR}:${STAGING_DIR_HOST}/${base_libdir}" all man
30}
31
32do_install () {
33 install -m 0755 -d ${D}${base_bindir} ${D}${mandir}/man8
34 # SUID root programs
35 install -m 4555 ping ${D}${base_bindir}/ping
36 install -m 4555 ping6 ${D}${base_bindir}/ping6
37 install -m 4555 traceroute6 ${D}${base_bindir}/
38 install -m 4555 clockdiff ${D}${base_bindir}/
39 # Other programgs
40 for i in arping tracepath tracepath6; do
41 install -m 0755 $i ${D}${base_bindir}/
42 done
43 # Manual pages for things we build packages for
44 for i in tracepath.8 traceroute6.8 ping.8 arping.8; do
45 install -m 0644 doc/$i ${D}${mandir}/man8/ || true
46 done
47}
48
49inherit update-alternatives
50
51ALTERNATIVE_PRIORITY = "100"
52
53ALTERNATIVE_${PN}-ping = "ping"
54ALTERNATIVE_LINK_NAME[ping] = "${base_bindir}/ping"
55
56ALTERNATIVE_${PN}-ping6 = "ping6"
57ALTERNATIVE_LINK_NAME[ping6] = "${base_bindir}/ping6"
58
59PACKAGES += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6 ${PN}-clockdiff"
60
61ALLOW_EMPTY_${PN} = "1"
62RDEPENDS_${PN} += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6 ${PN}-clockdiff"
63
64FILES_${PN} = ""
65FILES_${PN}-ping = "${base_bindir}/ping.${BPN}"
66FILES_${PN}-ping6 = "${base_bindir}/ping6.${BPN}"
67FILES_${PN}-arping = "${base_bindir}/arping"
68FILES_${PN}-tracepath = "${base_bindir}/tracepath"
69FILES_${PN}-tracepath6 = "${base_bindir}/tracepath6"
70FILES_${PN}-traceroute6 = "${base_bindir}/traceroute6"
71FILES_${PN}-clockdiff = "${base_bindir}/clockdiff"
72FILES_${PN}-doc = "${mandir}/man8"