diff options
Diffstat (limited to 'meta-networking')
11 files changed, 0 insertions, 702 deletions
diff --git a/meta-networking/recipes-daemons/dnrd/dnrd_2.20.3.bb b/meta-networking/recipes-daemons/dnrd/dnrd_2.20.3.bb deleted file mode 100644 index 2da29d9cb4..0000000000 --- a/meta-networking/recipes-daemons/dnrd/dnrd_2.20.3.bb +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | SUMMARY = "A caching, forwarding DNS proxy server" | ||
| 2 | DESCRIPTION = "\ | ||
| 3 | dnrd is a proxying nameserver. It forwards DNS queries to the appropriate \ | ||
| 4 | nameserver, but can also act as the primary nameserver for a subnet behind \ | ||
| 5 | a firewall. It also has features such as caching DNS requests, support for \ | ||
| 6 | DNS servers, cache poisoning prevention, TCP support, etc.." | ||
| 7 | HOMEPAGE = "http://dnrd.sourceforge.net/" | ||
| 8 | SECTION = "net" | ||
| 9 | LICENSE = "GPLv2" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=0be67017f1c770313ad7b40e18d568f1" | ||
| 11 | |||
| 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ | ||
| 13 | file://dnrd.service \ | ||
| 14 | file://dnrd.conf.sample \ | ||
| 15 | file://dnrd.init" | ||
| 16 | SRC_URI[md5sum] = "41c9b070aae8ed403fc8c2aac7ab157c" | ||
| 17 | SRC_URI[sha256sum] = "aa46e7f8736b88c1d752cf606b3990041221ce91d014e955c6b02eb2167db015" | ||
| 18 | |||
| 19 | PNBLACKLIST[dnrd] ?= "BROKEN: dnrd-2.20.3-r0 do_package: QA Issue: dnrd: Files/directories were installed but not shipped in any package: - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
| 20 | |||
| 21 | SYSTEMD_SERVICE_${PN} = "dnrd.service" | ||
| 22 | SYSTEMD_AUTO_ENABLE = "disable" | ||
| 23 | |||
| 24 | inherit autotools | ||
| 25 | inherit ${@bb.utils.filter('VIRTUAL-RUNTIME_init_manager', 'systemd', d)} | ||
| 26 | |||
| 27 | do_install() { | ||
| 28 | oe_runmake install DESTDIR=${D} INSTALL="install -p" | ||
| 29 | |||
| 30 | sed -i -e 's:/etc/rc.d/init.d/functions:/etc/init.d/functions:g' \ | ||
| 31 | ${WORKDIR}/dnrd.init | ||
| 32 | install -d -m 0755 ${D}${sysconfdir}/init.d | ||
| 33 | install -d -m 0755 ${D}${sysconfdir}/dnrd | ||
| 34 | install -p -m 0644 ${WORKDIR}/dnrd.conf.sample ${D}${sysconfdir}/dnrd/dnrd.conf | ||
| 35 | install -p -m 0755 ${WORKDIR}/dnrd.init ${D}${sysconfdir}/init.d/dnrd | ||
| 36 | |||
| 37 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
| 38 | install -d -m 0755 ${D}${systemd_unitdir}/system | ||
| 39 | install -m 644 ${WORKDIR}/dnrd.service ${D}${systemd_unitdir}/system | ||
| 40 | fi | ||
| 41 | } | ||
diff --git a/meta-networking/recipes-filter/libnftnl/libnftnl/snprintf_shadow.patch b/meta-networking/recipes-filter/libnftnl/libnftnl/snprintf_shadow.patch deleted file mode 100644 index 0453b1b496..0000000000 --- a/meta-networking/recipes-filter/libnftnl/libnftnl/snprintf_shadow.patch +++ /dev/null | |||
| @@ -1,224 +0,0 @@ | |||
| 1 | Taken from | ||
| 2 | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755956 | ||
| 3 | |||
| 4 | --- ./src/expr_ops.h 2014-06-24 17:07:05.574784704 +0400 | ||
| 5 | +++ ../libnftnl-1.0.2-my/./src/expr_ops.h 2014-07-25 00:19:28.367694613 +0400 | ||
| 6 | @@ -28,7 +28,7 @@ | ||
| 7 | const void *(*get)(const struct nft_rule_expr *e, uint16_t type, uint32_t *data_len); | ||
| 8 | int (*parse)(struct nft_rule_expr *e, struct nlattr *attr); | ||
| 9 | void (*build)(struct nlmsghdr *nlh, struct nft_rule_expr *e); | ||
| 10 | - int (*snprintf)(char *buf, size_t len, uint32_t type, uint32_t flags, struct nft_rule_expr *e); | ||
| 11 | + int (*snprintf_)(char *buf, size_t len, uint32_t type, uint32_t flags, struct nft_rule_expr *e); | ||
| 12 | int (*xml_parse)(struct nft_rule_expr *e, mxml_node_t *tree, | ||
| 13 | struct nft_parse_err *err); | ||
| 14 | int (*json_parse)(struct nft_rule_expr *e, json_t *data, | ||
| 15 | --- ./src/rule.c 2014-06-24 17:07:05.574784704 +0400 | ||
| 16 | +++ ../libnftnl-1.0.2-my/./src/rule.c 2014-07-25 00:19:28.355694880 +0400 | ||
| 17 | @@ -813,7 +813,7 @@ | ||
| 18 | "{\"type\":\"%s\",", expr->ops->name); | ||
| 19 | SNPRINTF_BUFFER_SIZE(ret, size, len, offset); | ||
| 20 | |||
| 21 | - ret = expr->ops->snprintf(buf+offset, len, type, flags, expr); | ||
| 22 | + ret = expr->ops->snprintf_(buf+offset, len, type, flags, expr); | ||
| 23 | SNPRINTF_BUFFER_SIZE(ret, size, len, offset); | ||
| 24 | |||
| 25 | /* | ||
| 26 | --- ./src/expr.c 2014-06-24 17:07:05.574784704 +0400 | ||
| 27 | +++ ../libnftnl-1.0.2-my/./src/expr.c 2014-07-25 00:19:27.367716863 +0400 | ||
| 28 | @@ -227,7 +227,7 @@ | ||
| 29 | int ret; | ||
| 30 | unsigned int offset = 0, len = size; | ||
| 31 | |||
| 32 | - ret = expr->ops->snprintf(buf+offset, len, type, flags, expr); | ||
| 33 | + ret = expr->ops->snprintf_(buf+offset, len, type, flags, expr); | ||
| 34 | SNPRINTF_BUFFER_SIZE(ret, size, len, offset); | ||
| 35 | |||
| 36 | return offset; | ||
| 37 | --- ./src/expr/exthdr.c 2014-06-25 18:34:08.174284719 +0400 | ||
| 38 | +++ ../libnftnl-1.0.2-my/./src/expr/exthdr.c 2014-07-25 00:21:48.192583628 +0400 | ||
| 39 | @@ -362,7 +362,7 @@ | ||
| 40 | .get = nft_rule_expr_exthdr_get, | ||
| 41 | .parse = nft_rule_expr_exthdr_parse, | ||
| 42 | .build = nft_rule_expr_exthdr_build, | ||
| 43 | - .snprintf = nft_rule_expr_exthdr_snprintf, | ||
| 44 | + .snprintf_ = nft_rule_expr_exthdr_snprintf, | ||
| 45 | .xml_parse = nft_rule_expr_exthdr_xml_parse, | ||
| 46 | .json_parse = nft_rule_expr_exthdr_json_parse, | ||
| 47 | }; | ||
| 48 | --- ./src/expr/log.c 2014-06-25 18:34:08.178284810 +0400 | ||
| 49 | +++ ../libnftnl-1.0.2-my/./src/expr/log.c 2014-07-25 00:21:48.160584340 +0400 | ||
| 50 | @@ -332,7 +332,7 @@ | ||
| 51 | .get = nft_rule_expr_log_get, | ||
| 52 | .parse = nft_rule_expr_log_parse, | ||
| 53 | .build = nft_rule_expr_log_build, | ||
| 54 | - .snprintf = nft_rule_expr_log_snprintf, | ||
| 55 | + .snprintf_ = nft_rule_expr_log_snprintf, | ||
| 56 | .xml_parse = nft_rule_expr_log_xml_parse, | ||
| 57 | .json_parse = nft_rule_expr_log_json_parse, | ||
| 58 | }; | ||
| 59 | --- ./src/expr/limit.c 2014-06-25 18:34:08.178284810 +0400 | ||
| 60 | +++ ../libnftnl-1.0.2-my/./src/expr/limit.c 2014-07-25 00:21:48.108585496 +0400 | ||
| 61 | @@ -250,7 +250,7 @@ | ||
| 62 | .get = nft_rule_expr_limit_get, | ||
| 63 | .parse = nft_rule_expr_limit_parse, | ||
| 64 | .build = nft_rule_expr_limit_build, | ||
| 65 | - .snprintf = nft_rule_expr_limit_snprintf, | ||
| 66 | + .snprintf_ = nft_rule_expr_limit_snprintf, | ||
| 67 | .xml_parse = nft_rule_expr_limit_xml_parse, | ||
| 68 | .json_parse = nft_rule_expr_limit_json_parse, | ||
| 69 | }; | ||
| 70 | --- ./src/expr/cmp.c 2014-06-25 18:34:08.174284719 +0400 | ||
| 71 | +++ ../libnftnl-1.0.2-my/./src/expr/cmp.c 2014-07-25 00:21:48.172584073 +0400 | ||
| 72 | @@ -331,7 +331,7 @@ | ||
| 73 | .get = nft_rule_expr_cmp_get, | ||
| 74 | .parse = nft_rule_expr_cmp_parse, | ||
| 75 | .build = nft_rule_expr_cmp_build, | ||
| 76 | - .snprintf = nft_rule_expr_cmp_snprintf, | ||
| 77 | + .snprintf_ = nft_rule_expr_cmp_snprintf, | ||
| 78 | .xml_parse = nft_rule_expr_cmp_xml_parse, | ||
| 79 | .json_parse = nft_rule_expr_cmp_json_parse, | ||
| 80 | }; | ||
| 81 | --- ./src/expr/target.c 2014-06-25 18:34:08.182284901 +0400 | ||
| 82 | +++ ../libnftnl-1.0.2-my/./src/expr/target.c 2014-07-25 00:21:48.184583806 +0400 | ||
| 83 | @@ -274,7 +274,7 @@ | ||
| 84 | .get = nft_rule_expr_target_get, | ||
| 85 | .parse = nft_rule_expr_target_parse, | ||
| 86 | .build = nft_rule_expr_target_build, | ||
| 87 | - .snprintf = nft_rule_expr_target_snprintf, | ||
| 88 | + .snprintf_ = nft_rule_expr_target_snprintf, | ||
| 89 | .xml_parse = nft_rule_expr_target_xml_parse, | ||
| 90 | .json_parse = nft_rule_expr_target_json_parse, | ||
| 91 | }; | ||
| 92 | --- ./src/expr/byteorder.c 2014-06-25 18:34:08.158284356 +0400 | ||
| 93 | +++ ../libnftnl-1.0.2-my/./src/expr/byteorder.c 2014-07-25 00:21:48.148584607 +0400 | ||
| 94 | @@ -384,7 +384,7 @@ | ||
| 95 | .get = nft_rule_expr_byteorder_get, | ||
| 96 | .parse = nft_rule_expr_byteorder_parse, | ||
| 97 | .build = nft_rule_expr_byteorder_build, | ||
| 98 | - .snprintf = nft_rule_expr_byteorder_snprintf, | ||
| 99 | + .snprintf_ = nft_rule_expr_byteorder_snprintf, | ||
| 100 | .xml_parse = nft_rule_expr_byteorder_xml_parse, | ||
| 101 | .json_parse = nft_rule_expr_byteorder_json_parse, | ||
| 102 | }; | ||
| 103 | --- ./src/expr/lookup.c 2014-06-25 18:34:08.178284810 +0400 | ||
| 104 | +++ ../libnftnl-1.0.2-my/./src/expr/lookup.c 2014-07-25 00:21:48.136584874 +0400 | ||
| 105 | @@ -305,7 +305,7 @@ | ||
| 106 | .get = nft_rule_expr_lookup_get, | ||
| 107 | .parse = nft_rule_expr_lookup_parse, | ||
| 108 | .build = nft_rule_expr_lookup_build, | ||
| 109 | - .snprintf = nft_rule_expr_lookup_snprintf, | ||
| 110 | + .snprintf_ = nft_rule_expr_lookup_snprintf, | ||
| 111 | .xml_parse = nft_rule_expr_lookup_xml_parse, | ||
| 112 | .json_parse = nft_rule_expr_lookup_json_parse, | ||
| 113 | }; | ||
| 114 | --- ./src/expr/immediate.c 2014-06-25 18:34:08.178284810 +0400 | ||
| 115 | +++ ../libnftnl-1.0.2-my/./src/expr/immediate.c 2014-07-25 00:21:48.124585141 +0400 | ||
| 116 | @@ -365,7 +365,7 @@ | ||
| 117 | .get = nft_rule_expr_immediate_get, | ||
| 118 | .parse = nft_rule_expr_immediate_parse, | ||
| 119 | .build = nft_rule_expr_immediate_build, | ||
| 120 | - .snprintf = nft_rule_expr_immediate_snprintf, | ||
| 121 | + .snprintf_ = nft_rule_expr_immediate_snprintf, | ||
| 122 | .xml_parse = nft_rule_expr_immediate_xml_parse, | ||
| 123 | .json_parse = nft_rule_expr_immediate_json_parse, | ||
| 124 | }; | ||
| 125 | --- ./src/expr/meta.c 2014-06-25 18:34:08.178284810 +0400 | ||
| 126 | +++ ../libnftnl-1.0.2-my/./src/expr/meta.c 2014-07-25 00:21:48.040587008 +0400 | ||
| 127 | @@ -340,7 +340,7 @@ | ||
| 128 | .get = nft_rule_expr_meta_get, | ||
| 129 | .parse = nft_rule_expr_meta_parse, | ||
| 130 | .build = nft_rule_expr_meta_build, | ||
| 131 | - .snprintf = nft_rule_expr_meta_snprintf, | ||
| 132 | + .snprintf_ = nft_rule_expr_meta_snprintf, | ||
| 133 | .xml_parse = nft_rule_expr_meta_xml_parse, | ||
| 134 | .json_parse = nft_rule_expr_meta_json_parse, | ||
| 135 | }; | ||
| 136 | --- ./src/expr/queue.c 2014-06-25 18:34:08.182284901 +0400 | ||
| 137 | +++ ../libnftnl-1.0.2-my/./src/expr/queue.c 2014-07-25 00:21:48.208583272 +0400 | ||
| 138 | @@ -294,7 +294,7 @@ | ||
| 139 | .get = nft_rule_expr_queue_get, | ||
| 140 | .parse = nft_rule_expr_queue_parse, | ||
| 141 | .build = nft_rule_expr_queue_build, | ||
| 142 | - .snprintf = nft_rule_expr_queue_snprintf, | ||
| 143 | + .snprintf_ = nft_rule_expr_queue_snprintf, | ||
| 144 | .xml_parse = nft_rule_expr_queue_xml_parse, | ||
| 145 | .json_parse = nft_rule_expr_queue_json_parse, | ||
| 146 | }; | ||
| 147 | --- ./src/expr/nat.c 2014-06-25 18:34:08.182284901 +0400 | ||
| 148 | +++ ../libnftnl-1.0.2-my/./src/expr/nat.c 2014-07-25 00:21:48.084586030 +0400 | ||
| 149 | @@ -430,7 +430,7 @@ | ||
| 150 | .get = nft_rule_expr_nat_get, | ||
| 151 | .parse = nft_rule_expr_nat_parse, | ||
| 152 | .build = nft_rule_expr_nat_build, | ||
| 153 | - .snprintf = nft_rule_expr_nat_snprintf, | ||
| 154 | + .snprintf_ = nft_rule_expr_nat_snprintf, | ||
| 155 | .xml_parse = nft_rule_expr_nat_xml_parse, | ||
| 156 | .json_parse = nft_rule_expr_nat_json_parse, | ||
| 157 | }; | ||
| 158 | --- ./src/expr/payload.c 2014-06-25 18:34:08.182284901 +0400 | ||
| 159 | +++ ../libnftnl-1.0.2-my/./src/expr/payload.c 2014-07-25 00:21:48.200583450 +0400 | ||
| 160 | @@ -337,7 +337,7 @@ | ||
| 161 | .get = nft_rule_expr_payload_get, | ||
| 162 | .parse = nft_rule_expr_payload_parse, | ||
| 163 | .build = nft_rule_expr_payload_build, | ||
| 164 | - .snprintf = nft_rule_expr_payload_snprintf, | ||
| 165 | + .snprintf_ = nft_rule_expr_payload_snprintf, | ||
| 166 | .xml_parse = nft_rule_expr_payload_xml_parse, | ||
| 167 | .json_parse = nft_rule_expr_payload_json_parse, | ||
| 168 | }; | ||
| 169 | --- ./src/expr/reject.c 2014-06-25 18:34:08.182284901 +0400 | ||
| 170 | +++ ../libnftnl-1.0.2-my/./src/expr/reject.c 2014-07-25 00:21:48.096585762 +0400 | ||
| 171 | @@ -242,7 +242,7 @@ | ||
| 172 | .get = nft_rule_expr_reject_get, | ||
| 173 | .parse = nft_rule_expr_reject_parse, | ||
| 174 | .build = nft_rule_expr_reject_build, | ||
| 175 | - .snprintf = nft_rule_expr_reject_snprintf, | ||
| 176 | + .snprintf_ = nft_rule_expr_reject_snprintf, | ||
| 177 | .xml_parse = nft_rule_expr_reject_xml_parse, | ||
| 178 | .json_parse = nft_rule_expr_reject_json_parse, | ||
| 179 | }; | ||
| 180 | --- ./src/expr/counter.c 2014-06-25 18:34:08.174284719 +0400 | ||
| 181 | +++ ../libnftnl-1.0.2-my/./src/expr/counter.c 2014-07-25 00:21:48.056586652 +0400 | ||
| 182 | @@ -236,7 +236,7 @@ | ||
| 183 | .get = nft_rule_expr_counter_get, | ||
| 184 | .parse = nft_rule_expr_counter_parse, | ||
| 185 | .build = nft_rule_expr_counter_build, | ||
| 186 | - .snprintf = nft_rule_expr_counter_snprintf, | ||
| 187 | + .snprintf_ = nft_rule_expr_counter_snprintf, | ||
| 188 | .xml_parse = nft_rule_expr_counter_xml_parse, | ||
| 189 | .json_parse = nft_rule_expr_counter_json_parse, | ||
| 190 | }; | ||
| 191 | --- ./src/expr/ct.c 2014-06-25 18:34:08.174284719 +0400 | ||
| 192 | +++ ../libnftnl-1.0.2-my/./src/expr/ct.c 2014-07-25 00:21:48.068586385 +0400 | ||
| 193 | @@ -428,7 +428,7 @@ | ||
| 194 | .get = nft_rule_expr_ct_get, | ||
| 195 | .parse = nft_rule_expr_ct_parse, | ||
| 196 | .build = nft_rule_expr_ct_build, | ||
| 197 | - .snprintf = nft_rule_expr_ct_snprintf, | ||
| 198 | + .snprintf_ = nft_rule_expr_ct_snprintf, | ||
| 199 | .xml_parse = nft_rule_expr_ct_xml_parse, | ||
| 200 | .json_parse = nft_rule_expr_ct_json_parse, | ||
| 201 | }; | ||
| 202 | --- ./src/expr/bitwise.c 2014-06-25 18:34:08.158284356 +0400 | ||
| 203 | +++ ../libnftnl-1.0.2-my/./src/expr/bitwise.c 2014-07-25 00:21:49.272559599 +0400 | ||
| 204 | @@ -403,7 +403,7 @@ | ||
| 205 | .get = nft_rule_expr_bitwise_get, | ||
| 206 | .parse = nft_rule_expr_bitwise_parse, | ||
| 207 | .build = nft_rule_expr_bitwise_build, | ||
| 208 | - .snprintf = nft_rule_expr_bitwise_snprintf, | ||
| 209 | + .snprintf_ = nft_rule_expr_bitwise_snprintf, | ||
| 210 | .xml_parse = nft_rule_expr_bitwise_xml_parse, | ||
| 211 | .json_parse = nft_rule_expr_bitwise_json_parse, | ||
| 212 | }; | ||
| 213 | --- ./src/expr/match.c 2014-06-25 18:34:08.178284810 +0400 | ||
| 214 | +++ ../libnftnl-1.0.2-my/./src/expr/match.c 2014-07-25 00:21:48.032587186 +0400 | ||
| 215 | @@ -273,7 +273,7 @@ | ||
| 216 | .get = nft_rule_expr_match_get, | ||
| 217 | .parse = nft_rule_expr_match_parse, | ||
| 218 | .build = nft_rule_expr_match_build, | ||
| 219 | - .snprintf = nft_rule_expr_match_snprintf, | ||
| 220 | + .snprintf_ = nft_rule_expr_match_snprintf, | ||
| 221 | .xml_parse = nft_rule_expr_match_xml_parse, | ||
| 222 | .json_parse = nft_rule_expr_match_json_parse, | ||
| 223 | }; | ||
| 224 | |||
diff --git a/meta-networking/recipes-kernel/netmap/files/0001-testmmap-fix-compile-issue-with-gcc-5.x.patch b/meta-networking/recipes-kernel/netmap/files/0001-testmmap-fix-compile-issue-with-gcc-5.x.patch deleted file mode 100644 index ea36b1cd91..0000000000 --- a/meta-networking/recipes-kernel/netmap/files/0001-testmmap-fix-compile-issue-with-gcc-5.x.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | From c81bf54d6eb870286662a11d3b4a994717c47696 Mon Sep 17 00:00:00 2001 | ||
| 4 | From: Armin Kuster <akuster808@gmail.com> | ||
| 5 | Date: Tue, 8 Sep 2015 05:36:27 -0700 | ||
| 6 | Subject: [PATCH] testmmap: fix compile issue with gcc 5.x | ||
| 7 | |||
| 8 | this fixes: | ||
| 9 | examples/testmmap.c:540:10: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t {aka const int}' [-Werror=format=] | ||
| 10 | | printf("ring_ofs[%d] %ld\n", i, nifp->ring_ofs[i]); | ||
| 11 | | ^ | ||
| 12 | |||
| 13 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
| 14 | --- | ||
| 15 | examples/testmmap.c | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/examples/testmmap.c b/examples/testmmap.c | ||
| 19 | index d7f6acc..934489a 100644 | ||
| 20 | --- a/examples/testmmap.c | ||
| 21 | +++ b/examples/testmmap.c | ||
| 22 | @@ -537,7 +537,7 @@ do_if() | ||
| 23 | for (i = 0; i < 5; i++) | ||
| 24 | printf("spare1[%d] %u\n", i, nifp->ni_spare1[i]); | ||
| 25 | for (i = 0; i < (nifp->ni_tx_rings + nifp->ni_rx_rings + 2); i++) | ||
| 26 | - printf("ring_ofs[%d] %ld\n", i, nifp->ring_ofs[i]); | ||
| 27 | + printf("ring_ofs[%d] %zd\n", i, nifp->ring_ofs[i]); | ||
| 28 | } | ||
| 29 | |||
| 30 | struct netmap_ring * | ||
| 31 | -- | ||
| 32 | 2.3.5 | ||
| 33 | |||
diff --git a/meta-networking/recipes-kernel/netmap/files/makefile_fixup.patch b/meta-networking/recipes-kernel/netmap/files/makefile_fixup.patch deleted file mode 100644 index b050bf0011..0000000000 --- a/meta-networking/recipes-kernel/netmap/files/makefile_fixup.patch +++ /dev/null | |||
| @@ -1,97 +0,0 @@ | |||
| 1 | The makefile assumes building locally. | ||
| 2 | |||
| 3 | Upstream Status: Inappropriate [Native] | ||
| 4 | |||
| 5 | The configure is not auto-make based | ||
| 6 | |||
| 7 | Signed-of-by: Armin Kuster <akuster@mvista.com> | ||
| 8 | |||
| 9 | Index: LINUX/netmap.mak.in | ||
| 10 | =================================================================== | ||
| 11 | --- a/LINUX/netmap.mak.in | ||
| 12 | +++ b/LINUX/netmap.mak.in | ||
| 13 | @@ -12,10 +12,9 @@ SRCDIR:=@SRCDIR@ | ||
| 14 | # The following commands are needed to build the modules as out-of-tree, | ||
| 15 | # in fact the kernel sources path must be specified. | ||
| 16 | |||
| 17 | -PWD ?= $(CURDIR) | ||
| 18 | |||
| 19 | # Additional compile flags (e.g. header location) | ||
| 20 | -EXTRA_CFLAGS := -I$(PWD) -I$(SRCDIR) -I$(SRCDIR)/../sys -I$(SRCDIR)/../sys/dev -DCONFIG_NETMAP | ||
| 21 | +EXTRA_CFLAGS := -I$(SRCDIR) -I$(SRCDIR)/../sys -I$(SRCDIR)/../sys/dev -DCONFIG_NETMAP | ||
| 22 | EXTRA_CFLAGS += -Wno-unused-but-set-variable | ||
| 23 | EXTRA_CFLAGS += $(foreach s,$(SUBSYS),-DCONFIG_NETMAP_$(shell echo $s|tr a-z- A-Z_)) | ||
| 24 | |||
| 25 | Index: LINUX/configure | ||
| 26 | =================================================================== | ||
| 27 | --- a/LINUX/configure | ||
| 28 | +++ b/LINUX/configure | ||
| 29 | @@ -349,52 +349,6 @@ reset_tests() { | ||
| 30 | EOF | ||
| 31 | } | ||
| 32 | |||
| 33 | -# run_tests: run all accumulated tests and exec the pertinent | ||
| 34 | -# success/failure actions for each one. | ||
| 35 | -run_tests() { | ||
| 36 | - local t= # prevent -EOF to eat the make TAB | ||
| 37 | - cat > $TMPDIR/Makefile <<-EOF | ||
| 38 | - ifneq (\$(KERNELRELEASE),) | ||
| 39 | - obj-m := $TESTOBJS | ||
| 40 | - else | ||
| 41 | - S_DRIVERS := $(drv print) | ||
| 42 | - all: \$(S_DRIVERS:%=get-%) | ||
| 43 | - $t \$(MAKE) -C $ksrc M=\$\$PWD $kopts | ||
| 44 | - | ||
| 45 | - -include $TOPDIR/drivers.mak | ||
| 46 | - EOF | ||
| 47 | - for d in $(drv print); do | ||
| 48 | - cat >> $TMPDIR/Makefile <<-EOF | ||
| 49 | - get-$d: | ||
| 50 | - $t [ -z "\$($d-src)" ] || cp -Rp \$($d-src) \$(if \$($d-dst),\$($d-dst),.) | ||
| 51 | - $t touch get-$d | ||
| 52 | - EOF | ||
| 53 | - done | ||
| 54 | - echo endif >> $TMPDIR/Makefile | ||
| 55 | - { | ||
| 56 | - cat <<-EOF | ||
| 57 | -############################################################################## | ||
| 58 | -## BEGIN RUNNING TESTS: $(date) | ||
| 59 | -############################################################################## | ||
| 60 | -## Makefile: | ||
| 61 | - EOF | ||
| 62 | - cat $TMPDIR/Makefile | ||
| 63 | - cat <<-EOF | ||
| 64 | -############################################################################## | ||
| 65 | - EOF | ||
| 66 | - } >> config.log | ||
| 67 | - ( | ||
| 68 | - cd $TMPDIR | ||
| 69 | - make -k -j $(grep -c processor /proc/cpuinfo) | ||
| 70 | - ) >> config.log | ||
| 71 | - eval "$TESTPOSTPROC" | ||
| 72 | - cat >> config.log <<-EOF | ||
| 73 | -############################################################################## | ||
| 74 | -## END RUNNING TESTS: $(date) | ||
| 75 | -############################################################################## | ||
| 76 | - EOF | ||
| 77 | -} | ||
| 78 | - | ||
| 79 | configh=netmap_linux_config.h | ||
| 80 | # succes/failure actions are expected to write some macros | ||
| 81 | # in netma_linux_config.h. The following functions can be | ||
| 82 | @@ -619,7 +573,6 @@ configuration. Please check 'config.log' | ||
| 83 | reset_tests | ||
| 84 | rm -f drivers.mak | ||
| 85 | add_test true broken_buildsystem < /dev/null | ||
| 86 | -run_tests | ||
| 87 | |||
| 88 | drvname2config() { | ||
| 89 | local name=$1 | ||
| 90 | @@ -1280,7 +1233,6 @@ cat > $configh <<-EOF | ||
| 91 | EOF | ||
| 92 | |||
| 93 | # the TESTPOSTPROC script will add macros to $configh | ||
| 94 | -run_tests | ||
| 95 | |||
| 96 | define DRIVER_SUFFIX \"$drvsuffix\" | ||
| 97 | |||
diff --git a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb deleted file mode 100644 index 192ece0e9d..0000000000 --- a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +++ /dev/null | |||
| @@ -1,92 +0,0 @@ | |||
| 1 | require netmap.inc | ||
| 2 | |||
| 3 | DEPENDS = "virtual/kernel" | ||
| 4 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 5 | |||
| 6 | inherit module | ||
| 7 | |||
| 8 | CLEANBROKEN = "1" | ||
| 9 | |||
| 10 | export INSTALL_MOD_DIR="kernel/netmap-modules" | ||
| 11 | |||
| 12 | EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ | ||
| 13 | --kernel-sources=${STAGING_KERNEL_DIR} \ | ||
| 14 | --install-mod-path=${D} \ | ||
| 15 | --driver-suffix="-netmap" \ | ||
| 16 | " | ||
| 17 | |||
| 18 | # The driver builds are optional, but for deterministic builds, | ||
| 19 | # we should be able to explicitly enable/disable the builds | ||
| 20 | # for them in a proper place (maybe in BSP). | ||
| 21 | # But we can't use PACKAGECONFIG since there is no option for | ||
| 22 | # each driver, and the options are: | ||
| 23 | # --no-drivers do not compile any driver | ||
| 24 | # --no-drivers= do not compile the given drivers (comma sep.) | ||
| 25 | # --drivers= only compile the given drivers (comma sep.) | ||
| 26 | # | ||
| 27 | # So use NETMAP_DRIVERS and the following python code to add proper | ||
| 28 | # configs to EXTRA_OECONF. | ||
| 29 | # | ||
| 30 | # The default is no-drivers, and all supported drivers are listed | ||
| 31 | # in NETMAP_ALL_DRIVERS. | ||
| 32 | NETMAP_DRIVERS ??= "" | ||
| 33 | NETMAP_ALL_DRIVERS = "ixgbe igb e1000e e1000 veth.c forcedeth.c virtio_net.c r8169.c" | ||
| 34 | |||
| 35 | python __anonymous () { | ||
| 36 | drivers_list = d.getVar("NETMAP_DRIVERS").split() | ||
| 37 | all_drivers_list = d.getVar("NETMAP_ALL_DRIVERS").split() | ||
| 38 | config_drivers = "--drivers=" + ",".join(drivers_list) | ||
| 39 | |||
| 40 | extra_oeconf_drivers = bb.utils.contains_any('NETMAP_DRIVERS', all_drivers_list, config_drivers, '--no-drivers', d) | ||
| 41 | d.appendVar("EXTRA_OECONF", extra_oeconf_drivers) | ||
| 42 | } | ||
| 43 | |||
| 44 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}" | ||
| 45 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}" | ||
| 46 | |||
| 47 | do_configure () { | ||
| 48 | cd ${S}/LINUX | ||
| 49 | ./configure ${EXTRA_OECONF} | ||
| 50 | } | ||
| 51 | |||
| 52 | do_configure_append () { | ||
| 53 | cat >> ${S}/LINUX/netmap_linux_config.h <<EOF | ||
| 54 | #define NETMAP_LINUX_HAVE_HRTIMER_MODE_REL | ||
| 55 | #define NETMAP_LINUX_HAVE_HRTIMER_FORWARD_NOW | ||
| 56 | #define NETMAP_LINUX_HAVE_PHYS_ADDR_T | ||
| 57 | #define NETMAP_LINUX_HAVE_ACCESS_ONCE | ||
| 58 | #define NETMAP_LINUX_HAVE_NETDEV_OPS | ||
| 59 | #define NETMAP_LINUX_HAVE_INIT_NET | ||
| 60 | #define NETMAP_LINUX_HAVE_LIVE_ADDR_CHANGE | ||
| 61 | #define NETMAP_LINUX_HAVE_TX_SKB_SHARING | ||
| 62 | #define NETMAP_LINUX_HAVE_UNLOCKED_IOCTL | ||
| 63 | #define NETMAP_LINUX_HAVE_PERNET_OPS_ID | ||
| 64 | #define NETMAP_LINUX_VIRTIO_FUNCTIONS | ||
| 65 | #define NETMAP_LINUX_VIRTIO_FREE_PAGES | ||
| 66 | #define NETMAP_LINUX_VIRTIO_GET_VRSIZE | ||
| 67 | #define NETMAP_LINUX_TIMER_RTYPE enum hrtimer_restart | ||
| 68 | #define NETMAP_LINUX_VIRTIO_MULTI_QUEUE | ||
| 69 | #define NETMAP_LINUX_HAVE_E1000E_EXT_RXDESC | ||
| 70 | #define NETMAP_LINUX_HAVE_E1000E_DOWN2 | ||
| 71 | EOF | ||
| 72 | |||
| 73 | if ${@ 'false' if (bb.utils.vercmp_string(d.getVar('KERNEL_VERSION') or "0", '3.17') < 0) else 'true' } ; then | ||
| 74 | echo OK | ||
| 75 | cat >> ${S}/LINUX/netmap_linux_config.h <<EOF | ||
| 76 | #define NETMAP_LINUX_ALLOC_NETDEV_4ARGS | ||
| 77 | EOF | ||
| 78 | fi | ||
| 79 | } | ||
| 80 | |||
| 81 | do_compile () { | ||
| 82 | cd ${S}/LINUX | ||
| 83 | oe_runmake | ||
| 84 | } | ||
| 85 | |||
| 86 | do_install () { | ||
| 87 | cd ${S}/LINUX | ||
| 88 | oe_runmake install | ||
| 89 | } | ||
| 90 | |||
| 91 | # http://errors.yoctoproject.org/Errors/Details/83335/ | ||
| 92 | PNBLACKLIST[netmap-modules] ?= "BROKEN: not compatible with default kernel version 4.8 - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
diff --git a/meta-networking/recipes-kernel/netmap/netmap.inc b/meta-networking/recipes-kernel/netmap/netmap.inc deleted file mode 100644 index ab33e765d4..0000000000 --- a/meta-networking/recipes-kernel/netmap/netmap.inc +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)" | ||
| 2 | DESCRIPTION= "NETMAP is a framework for very fast packet I/O from userspace. VALE is an equally fast in-kernel software switch using the netmap API. Both are implemented as a single kernel module for FreeBSD and Linux, and can deal with line rate on real or emulated 10 Gbit ports." | ||
| 3 | SECTION = "networking" | ||
| 4 | HOMEPAGE = "http://code.google.com/p/netmap/" | ||
| 5 | LICENSE = "GPLv2+" | ||
| 6 | |||
| 7 | LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=56ae0b9c7ba0476ab9098de94c2714d6" | ||
| 8 | |||
| 9 | SRCREV = "da9e19e69b84e4f6f8ae125f8d01b42a4abade6a" | ||
| 10 | PV = "master+git${SRCPV}" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/luigirizzo/netmap.git" | ||
| 13 | SRC_URI += "file://makefile_fixup.patch" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | COMPATIBLE_HOST = '(x86_64|i.86|mips|arm).*-linux' | ||
diff --git a/meta-networking/recipes-kernel/netmap/netmap_git.bb b/meta-networking/recipes-kernel/netmap/netmap_git.bb deleted file mode 100644 index 2d8509c744..0000000000 --- a/meta-networking/recipes-kernel/netmap/netmap_git.bb +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | require netmap.inc | ||
| 2 | |||
| 3 | DEPENDS = "netmap-modules" | ||
| 4 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 5 | |||
| 6 | EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ | ||
| 7 | --kernel-sources=${STAGING_KERNEL_DIR} \ | ||
| 8 | --no-drivers \ | ||
| 9 | --disable-generic \ | ||
| 10 | --prefix=${prefix} \ | ||
| 11 | --destdir=${D} \ | ||
| 12 | --cc='${CC}' \ | ||
| 13 | --ld='${LD}' \ | ||
| 14 | " | ||
| 15 | SRC_URI += "file://0001-testmmap-fix-compile-issue-with-gcc-5.x.patch" | ||
| 16 | |||
| 17 | do_configure () { | ||
| 18 | cd ${S}/LINUX | ||
| 19 | ./configure ${EXTRA_OECONF} | ||
| 20 | } | ||
| 21 | |||
| 22 | do_compile () { | ||
| 23 | cd ${S}/LINUX | ||
| 24 | make apps | ||
| 25 | } | ||
| 26 | |||
| 27 | do_install () { | ||
| 28 | cd ${S}/LINUX | ||
| 29 | make install-apps DESTDIR=${D} | ||
| 30 | } | ||
| 31 | |||
| 32 | FILES_${PN} += "${bindir}" | ||
| 33 | RDEPENDS_${PN} = "kernel-module-netmap" | ||
| 34 | RRECOMMENDS_${PN} = "kernel-module-netmap" | ||
| 35 | |||
| 36 | # http://errors.yoctoproject.org/Errors/Details/69733/ | ||
| 37 | PNBLACKLIST[netmap] ?= "BROKEN: Tries to build kernel module and fails, either it should be disabled or there should be dependency on kernel like in netmap-modules - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
diff --git a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb deleted file mode 100644 index 0a86504c73..0000000000 --- a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | SUMMARY = "ACCEL-PPP is a high performance VPN server application for linux" | ||
| 2 | HOMEPAGE = "http://sourceforge.net/apps/trac/accel-ppp/wiki" | ||
| 3 | SECTION = "net" | ||
| 4 | |||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | ||
| 7 | |||
| 8 | DEPENDS = "openssl libpcre" | ||
| 9 | |||
| 10 | inherit cmake | ||
| 11 | |||
| 12 | PR = "r1" | ||
| 13 | PV = "1.7.3+git" | ||
| 14 | |||
| 15 | SRCREV = "4acfa46c321a344b9a6ce4128e72d1e02828d8a0" | ||
| 16 | SRC_URI = "git://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp;branch=1.7" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | EXTRA_OECMAKE = " \ | ||
| 21 | -DBUILD_DRIVER=FALSE \ | ||
| 22 | -DCMAKE_INSTALL_PREFIX=${prefix} \ | ||
| 23 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 24 | -DLOG_PGSQL=FALSE \ | ||
| 25 | -DRADIUS=FALSE \ | ||
| 26 | -DNETSNMP=FALSE \ | ||
| 27 | " | ||
| 28 | FILES_${PN}-dbg += "/usr/lib/${BPN}/.debug/*" | ||
| 29 | |||
| 30 | PACKAGES =+ "${PN}-libs" | ||
| 31 | FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so" | ||
| 32 | INSANE_SKIP_${PN}-libs = "dev-so" | ||
| 33 | RDEPENDS_${PN} += "${PN}-libs" | ||
| 34 | |||
| 35 | do_install_prepend() { | ||
| 36 | cmlist=`find ${S} -name CMakeLists.txt` | ||
| 37 | for file in $cmlist; do | ||
| 38 | sed -i -e "s:LIBRARY DESTINATION lib/accel-ppp:LIBRARY DESTINATION ${baselib}/accel-ppp:g" \ | ||
| 39 | -e "s:\${CMAKE_INSTALL_PREFIX}/lib/accel-ppp:\${CMAKE_INSTALL_PREFIX}/${baselib}/accel-ppp:g" \ | ||
| 40 | $cmlist | ||
| 41 | done | ||
| 42 | } | ||
| 43 | |||
| 44 | # http://errors.yoctoproject.org/Errors/Details/81003/ | ||
| 45 | PNBLACKLIST[accel-ppp] ?= "BROKEN: fails to build with new binutils-2.27 - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
diff --git a/meta-networking/recipes-support/curlpp/curlpp/example21.cpp-remove-deprecated-code.patch b/meta-networking/recipes-support/curlpp/curlpp/example21.cpp-remove-deprecated-code.patch deleted file mode 100644 index dae583d854..0000000000 --- a/meta-networking/recipes-support/curlpp/curlpp/example21.cpp-remove-deprecated-code.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | example21.cpp: remove deprecated code | ||
| 2 | |||
| 3 | The deprecated code was no longer used, so remove it to avoid | ||
| 4 | compiling failure with -Werror=unused-function | ||
| 5 | ... | ||
| 6 | | example21.cpp:51:8: error: 'size_t {anonymous}::readData(char*, | ||
| 7 | size_t, size_t)' defined but not used [-Werror=unused-function] | ||
| 8 | | size_t readData(char *buffer, size_t size, size_t nitems) | ||
| 9 | ... | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 14 | --- | ||
| 15 | examples/example21.cpp | 17 ----------------- | ||
| 16 | 1 file changed, 17 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/examples/example21.cpp b/examples/example21.cpp | ||
| 19 | --- a/examples/example21.cpp | ||
| 20 | +++ b/examples/example21.cpp | ||
| 21 | @@ -39,23 +39,6 @@ | ||
| 22 | #include <curlpp/Options.hpp> | ||
| 23 | #include <curlpp/Exception.hpp> | ||
| 24 | |||
| 25 | -/* | ||
| 26 | - anonymous namespace to prevent name clash in case other examples using the same global entities | ||
| 27 | - would be compiled in the same project | ||
| 28 | -*/ | ||
| 29 | -namespace | ||
| 30 | -{ | ||
| 31 | - | ||
| 32 | -char *data = NULL; | ||
| 33 | - | ||
| 34 | -size_t readData(char *buffer, size_t size, size_t nitems) | ||
| 35 | -{ | ||
| 36 | - strncpy(buffer, data, size * nitems); | ||
| 37 | - return size * nitems; | ||
| 38 | -} | ||
| 39 | - | ||
| 40 | -} // namespace | ||
| 41 | - | ||
| 42 | int main(int argc, char *argv[]) | ||
| 43 | { | ||
| 44 | if(argc != 3) { | ||
| 45 | -- | ||
| 46 | 1.9.1 | ||
| 47 | |||
diff --git a/meta-networking/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch b/meta-networking/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch deleted file mode 100644 index 1ce4dda1c3..0000000000 --- a/meta-networking/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | Don't check manpages for xsltproc. | ||
| 2 | |||
| 3 | Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> | ||
| 4 | |||
| 5 | diff -Nurp tevent-0.9.21.orig/lib/talloc/wscript tevent-0.9.21/lib/talloc/wscript | ||
| 6 | --- tevent-0.9.21.orig/lib/talloc/wscript 2013-09-08 21:24:14.000000000 +0900 | ||
| 7 | +++ tevent-0.9.21/lib/talloc/wscript 2015-04-24 16:28:04.085000230 +0900 | ||
| 8 | @@ -55,7 +55,7 @@ def configure(conf): | ||
| 9 | if conf.env.standalone_talloc: | ||
| 10 | conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1 | ||
| 11 | |||
| 12 | - conf.CHECK_XSLTPROC_MANPAGES() | ||
| 13 | + conf.find_program('xsltproc', var='XSLTPROC') | ||
| 14 | |||
| 15 | if not conf.env.disable_python: | ||
| 16 | # also disable if we don't have the python libs installed | ||
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb deleted file mode 100644 index 0b7e5046b1..0000000000 --- a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | # This package builds the NIS ypbind daemon | ||
| 2 | # The source package is utils/net/NIS/ypbind-mt | ||
| 3 | # | ||
| 4 | require nis.inc | ||
| 5 | |||
| 6 | DESCRIPTION = " \ | ||
| 7 | Multithreaded NIS bind service (ypbind-mt). \ | ||
| 8 | ypbind-mt is a complete new implementation of a NIS \ | ||
| 9 | binding daemon for Linux. It has the following \ | ||
| 10 | features. Supports ypbind protocol V1 and V2. \ | ||
| 11 | Uses threads for better response. Supports multiple \ | ||
| 12 | domain bindings. Supports /var/yp/binding/* file \ | ||
| 13 | for Linux libc 4/5 and glibc 2.x. Supports a list \ | ||
| 14 | of known secure NIS server (/etc/yp.conf) Binds to \ | ||
| 15 | the server which answered as first. \ | ||
| 16 | " | ||
| 17 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" | ||
| 18 | DEPENDS = "yp-tools ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | ||
| 19 | PROVIDES += "ypbind" | ||
| 20 | |||
| 21 | PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
| 22 | |||
| 23 | SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \ | ||
| 24 | file://ypbind.init \ | ||
| 25 | file://ypbind.service \ | ||
| 26 | " | ||
| 27 | SRC_URI[md5sum] = "54e2040d8266ae7d302d081ca310c8a8" | ||
| 28 | SRC_URI[sha256sum] = "dc2f7d97c94dcab0acfdcd115cd8b464eb8c427e4bb0fe68404ae7465f517cd3" | ||
| 29 | |||
| 30 | inherit systemd update-rc.d | ||
| 31 | |||
| 32 | SYSTEMD_SERVICE_${PN} = "ypbind.service" | ||
| 33 | INITSCRIPT_NAME = "ypbind" | ||
| 34 | INITSCRIPT_PARAMS = "start 44 3 5 . stop 70 0 1 2 6 ." | ||
| 35 | |||
| 36 | CACHED_CONFIGUREVARS = "ac_cv_prog_STRIP=/bin/true" | ||
| 37 | |||
| 38 | EXTRA_OECONF = "PKG_CONFIG_PATH='${STAGING_LIBDIR}/yp-nis/pkgconfig/'" | ||
| 39 | |||
| 40 | do_install_append () { | ||
| 41 | install -d ${D}${sysconfdir}/init.d | ||
| 42 | install -d ${D}${sysconfdir}/rcS.d | ||
| 43 | |||
| 44 | install -m 0755 ${WORKDIR}/ypbind.init ${D}${sysconfdir}/init.d/ypbind | ||
| 45 | |||
| 46 | install -d ${D}${systemd_unitdir}/system | ||
| 47 | install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system | ||
| 48 | } | ||
| 49 | |||
| 50 | |||
| 51 | RPROVIDES_${PN} += "${PN}-systemd" | ||
| 52 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 53 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
