mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-15 06:10:02 +00:00
recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long time and nobody showed any interest to fix them * remove all unused .patch and .inc files as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
SUMMARY = "A caching, forwarding DNS proxy server"
|
||||
DESCRIPTION = "\
|
||||
dnrd is a proxying nameserver. It forwards DNS queries to the appropriate \
|
||||
nameserver, but can also act as the primary nameserver for a subnet behind \
|
||||
a firewall. It also has features such as caching DNS requests, support for \
|
||||
DNS servers, cache poisoning prevention, TCP support, etc.."
|
||||
HOMEPAGE = "http://dnrd.sourceforge.net/"
|
||||
SECTION = "net"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0be67017f1c770313ad7b40e18d568f1"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
|
||||
file://dnrd.service \
|
||||
file://dnrd.conf.sample \
|
||||
file://dnrd.init"
|
||||
SRC_URI[md5sum] = "41c9b070aae8ed403fc8c2aac7ab157c"
|
||||
SRC_URI[sha256sum] = "aa46e7f8736b88c1d752cf606b3990041221ce91d014e955c6b02eb2167db015"
|
||||
|
||||
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"
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "dnrd.service"
|
||||
SYSTEMD_AUTO_ENABLE = "disable"
|
||||
|
||||
inherit autotools
|
||||
inherit ${@bb.utils.filter('VIRTUAL-RUNTIME_init_manager', 'systemd', d)}
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D} INSTALL="install -p"
|
||||
|
||||
sed -i -e 's:/etc/rc.d/init.d/functions:/etc/init.d/functions:g' \
|
||||
${WORKDIR}/dnrd.init
|
||||
install -d -m 0755 ${D}${sysconfdir}/init.d
|
||||
install -d -m 0755 ${D}${sysconfdir}/dnrd
|
||||
install -p -m 0644 ${WORKDIR}/dnrd.conf.sample ${D}${sysconfdir}/dnrd/dnrd.conf
|
||||
install -p -m 0755 ${WORKDIR}/dnrd.init ${D}${sysconfdir}/init.d/dnrd
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d -m 0755 ${D}${systemd_unitdir}/system
|
||||
install -m 644 ${WORKDIR}/dnrd.service ${D}${systemd_unitdir}/system
|
||||
fi
|
||||
}
|
||||
@@ -1,224 +0,0 @@
|
||||
Taken from
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755956
|
||||
|
||||
--- ./src/expr_ops.h 2014-06-24 17:07:05.574784704 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr_ops.h 2014-07-25 00:19:28.367694613 +0400
|
||||
@@ -28,7 +28,7 @@
|
||||
const void *(*get)(const struct nft_rule_expr *e, uint16_t type, uint32_t *data_len);
|
||||
int (*parse)(struct nft_rule_expr *e, struct nlattr *attr);
|
||||
void (*build)(struct nlmsghdr *nlh, struct nft_rule_expr *e);
|
||||
- int (*snprintf)(char *buf, size_t len, uint32_t type, uint32_t flags, struct nft_rule_expr *e);
|
||||
+ int (*snprintf_)(char *buf, size_t len, uint32_t type, uint32_t flags, struct nft_rule_expr *e);
|
||||
int (*xml_parse)(struct nft_rule_expr *e, mxml_node_t *tree,
|
||||
struct nft_parse_err *err);
|
||||
int (*json_parse)(struct nft_rule_expr *e, json_t *data,
|
||||
--- ./src/rule.c 2014-06-24 17:07:05.574784704 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/rule.c 2014-07-25 00:19:28.355694880 +0400
|
||||
@@ -813,7 +813,7 @@
|
||||
"{\"type\":\"%s\",", expr->ops->name);
|
||||
SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
|
||||
|
||||
- ret = expr->ops->snprintf(buf+offset, len, type, flags, expr);
|
||||
+ ret = expr->ops->snprintf_(buf+offset, len, type, flags, expr);
|
||||
SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
|
||||
|
||||
/*
|
||||
--- ./src/expr.c 2014-06-24 17:07:05.574784704 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr.c 2014-07-25 00:19:27.367716863 +0400
|
||||
@@ -227,7 +227,7 @@
|
||||
int ret;
|
||||
unsigned int offset = 0, len = size;
|
||||
|
||||
- ret = expr->ops->snprintf(buf+offset, len, type, flags, expr);
|
||||
+ ret = expr->ops->snprintf_(buf+offset, len, type, flags, expr);
|
||||
SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
|
||||
|
||||
return offset;
|
||||
--- ./src/expr/exthdr.c 2014-06-25 18:34:08.174284719 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/exthdr.c 2014-07-25 00:21:48.192583628 +0400
|
||||
@@ -362,7 +362,7 @@
|
||||
.get = nft_rule_expr_exthdr_get,
|
||||
.parse = nft_rule_expr_exthdr_parse,
|
||||
.build = nft_rule_expr_exthdr_build,
|
||||
- .snprintf = nft_rule_expr_exthdr_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_exthdr_snprintf,
|
||||
.xml_parse = nft_rule_expr_exthdr_xml_parse,
|
||||
.json_parse = nft_rule_expr_exthdr_json_parse,
|
||||
};
|
||||
--- ./src/expr/log.c 2014-06-25 18:34:08.178284810 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/log.c 2014-07-25 00:21:48.160584340 +0400
|
||||
@@ -332,7 +332,7 @@
|
||||
.get = nft_rule_expr_log_get,
|
||||
.parse = nft_rule_expr_log_parse,
|
||||
.build = nft_rule_expr_log_build,
|
||||
- .snprintf = nft_rule_expr_log_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_log_snprintf,
|
||||
.xml_parse = nft_rule_expr_log_xml_parse,
|
||||
.json_parse = nft_rule_expr_log_json_parse,
|
||||
};
|
||||
--- ./src/expr/limit.c 2014-06-25 18:34:08.178284810 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/limit.c 2014-07-25 00:21:48.108585496 +0400
|
||||
@@ -250,7 +250,7 @@
|
||||
.get = nft_rule_expr_limit_get,
|
||||
.parse = nft_rule_expr_limit_parse,
|
||||
.build = nft_rule_expr_limit_build,
|
||||
- .snprintf = nft_rule_expr_limit_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_limit_snprintf,
|
||||
.xml_parse = nft_rule_expr_limit_xml_parse,
|
||||
.json_parse = nft_rule_expr_limit_json_parse,
|
||||
};
|
||||
--- ./src/expr/cmp.c 2014-06-25 18:34:08.174284719 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/cmp.c 2014-07-25 00:21:48.172584073 +0400
|
||||
@@ -331,7 +331,7 @@
|
||||
.get = nft_rule_expr_cmp_get,
|
||||
.parse = nft_rule_expr_cmp_parse,
|
||||
.build = nft_rule_expr_cmp_build,
|
||||
- .snprintf = nft_rule_expr_cmp_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_cmp_snprintf,
|
||||
.xml_parse = nft_rule_expr_cmp_xml_parse,
|
||||
.json_parse = nft_rule_expr_cmp_json_parse,
|
||||
};
|
||||
--- ./src/expr/target.c 2014-06-25 18:34:08.182284901 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/target.c 2014-07-25 00:21:48.184583806 +0400
|
||||
@@ -274,7 +274,7 @@
|
||||
.get = nft_rule_expr_target_get,
|
||||
.parse = nft_rule_expr_target_parse,
|
||||
.build = nft_rule_expr_target_build,
|
||||
- .snprintf = nft_rule_expr_target_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_target_snprintf,
|
||||
.xml_parse = nft_rule_expr_target_xml_parse,
|
||||
.json_parse = nft_rule_expr_target_json_parse,
|
||||
};
|
||||
--- ./src/expr/byteorder.c 2014-06-25 18:34:08.158284356 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/byteorder.c 2014-07-25 00:21:48.148584607 +0400
|
||||
@@ -384,7 +384,7 @@
|
||||
.get = nft_rule_expr_byteorder_get,
|
||||
.parse = nft_rule_expr_byteorder_parse,
|
||||
.build = nft_rule_expr_byteorder_build,
|
||||
- .snprintf = nft_rule_expr_byteorder_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_byteorder_snprintf,
|
||||
.xml_parse = nft_rule_expr_byteorder_xml_parse,
|
||||
.json_parse = nft_rule_expr_byteorder_json_parse,
|
||||
};
|
||||
--- ./src/expr/lookup.c 2014-06-25 18:34:08.178284810 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/lookup.c 2014-07-25 00:21:48.136584874 +0400
|
||||
@@ -305,7 +305,7 @@
|
||||
.get = nft_rule_expr_lookup_get,
|
||||
.parse = nft_rule_expr_lookup_parse,
|
||||
.build = nft_rule_expr_lookup_build,
|
||||
- .snprintf = nft_rule_expr_lookup_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_lookup_snprintf,
|
||||
.xml_parse = nft_rule_expr_lookup_xml_parse,
|
||||
.json_parse = nft_rule_expr_lookup_json_parse,
|
||||
};
|
||||
--- ./src/expr/immediate.c 2014-06-25 18:34:08.178284810 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/immediate.c 2014-07-25 00:21:48.124585141 +0400
|
||||
@@ -365,7 +365,7 @@
|
||||
.get = nft_rule_expr_immediate_get,
|
||||
.parse = nft_rule_expr_immediate_parse,
|
||||
.build = nft_rule_expr_immediate_build,
|
||||
- .snprintf = nft_rule_expr_immediate_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_immediate_snprintf,
|
||||
.xml_parse = nft_rule_expr_immediate_xml_parse,
|
||||
.json_parse = nft_rule_expr_immediate_json_parse,
|
||||
};
|
||||
--- ./src/expr/meta.c 2014-06-25 18:34:08.178284810 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/meta.c 2014-07-25 00:21:48.040587008 +0400
|
||||
@@ -340,7 +340,7 @@
|
||||
.get = nft_rule_expr_meta_get,
|
||||
.parse = nft_rule_expr_meta_parse,
|
||||
.build = nft_rule_expr_meta_build,
|
||||
- .snprintf = nft_rule_expr_meta_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_meta_snprintf,
|
||||
.xml_parse = nft_rule_expr_meta_xml_parse,
|
||||
.json_parse = nft_rule_expr_meta_json_parse,
|
||||
};
|
||||
--- ./src/expr/queue.c 2014-06-25 18:34:08.182284901 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/queue.c 2014-07-25 00:21:48.208583272 +0400
|
||||
@@ -294,7 +294,7 @@
|
||||
.get = nft_rule_expr_queue_get,
|
||||
.parse = nft_rule_expr_queue_parse,
|
||||
.build = nft_rule_expr_queue_build,
|
||||
- .snprintf = nft_rule_expr_queue_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_queue_snprintf,
|
||||
.xml_parse = nft_rule_expr_queue_xml_parse,
|
||||
.json_parse = nft_rule_expr_queue_json_parse,
|
||||
};
|
||||
--- ./src/expr/nat.c 2014-06-25 18:34:08.182284901 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/nat.c 2014-07-25 00:21:48.084586030 +0400
|
||||
@@ -430,7 +430,7 @@
|
||||
.get = nft_rule_expr_nat_get,
|
||||
.parse = nft_rule_expr_nat_parse,
|
||||
.build = nft_rule_expr_nat_build,
|
||||
- .snprintf = nft_rule_expr_nat_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_nat_snprintf,
|
||||
.xml_parse = nft_rule_expr_nat_xml_parse,
|
||||
.json_parse = nft_rule_expr_nat_json_parse,
|
||||
};
|
||||
--- ./src/expr/payload.c 2014-06-25 18:34:08.182284901 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/payload.c 2014-07-25 00:21:48.200583450 +0400
|
||||
@@ -337,7 +337,7 @@
|
||||
.get = nft_rule_expr_payload_get,
|
||||
.parse = nft_rule_expr_payload_parse,
|
||||
.build = nft_rule_expr_payload_build,
|
||||
- .snprintf = nft_rule_expr_payload_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_payload_snprintf,
|
||||
.xml_parse = nft_rule_expr_payload_xml_parse,
|
||||
.json_parse = nft_rule_expr_payload_json_parse,
|
||||
};
|
||||
--- ./src/expr/reject.c 2014-06-25 18:34:08.182284901 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/reject.c 2014-07-25 00:21:48.096585762 +0400
|
||||
@@ -242,7 +242,7 @@
|
||||
.get = nft_rule_expr_reject_get,
|
||||
.parse = nft_rule_expr_reject_parse,
|
||||
.build = nft_rule_expr_reject_build,
|
||||
- .snprintf = nft_rule_expr_reject_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_reject_snprintf,
|
||||
.xml_parse = nft_rule_expr_reject_xml_parse,
|
||||
.json_parse = nft_rule_expr_reject_json_parse,
|
||||
};
|
||||
--- ./src/expr/counter.c 2014-06-25 18:34:08.174284719 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/counter.c 2014-07-25 00:21:48.056586652 +0400
|
||||
@@ -236,7 +236,7 @@
|
||||
.get = nft_rule_expr_counter_get,
|
||||
.parse = nft_rule_expr_counter_parse,
|
||||
.build = nft_rule_expr_counter_build,
|
||||
- .snprintf = nft_rule_expr_counter_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_counter_snprintf,
|
||||
.xml_parse = nft_rule_expr_counter_xml_parse,
|
||||
.json_parse = nft_rule_expr_counter_json_parse,
|
||||
};
|
||||
--- ./src/expr/ct.c 2014-06-25 18:34:08.174284719 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/ct.c 2014-07-25 00:21:48.068586385 +0400
|
||||
@@ -428,7 +428,7 @@
|
||||
.get = nft_rule_expr_ct_get,
|
||||
.parse = nft_rule_expr_ct_parse,
|
||||
.build = nft_rule_expr_ct_build,
|
||||
- .snprintf = nft_rule_expr_ct_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_ct_snprintf,
|
||||
.xml_parse = nft_rule_expr_ct_xml_parse,
|
||||
.json_parse = nft_rule_expr_ct_json_parse,
|
||||
};
|
||||
--- ./src/expr/bitwise.c 2014-06-25 18:34:08.158284356 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/bitwise.c 2014-07-25 00:21:49.272559599 +0400
|
||||
@@ -403,7 +403,7 @@
|
||||
.get = nft_rule_expr_bitwise_get,
|
||||
.parse = nft_rule_expr_bitwise_parse,
|
||||
.build = nft_rule_expr_bitwise_build,
|
||||
- .snprintf = nft_rule_expr_bitwise_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_bitwise_snprintf,
|
||||
.xml_parse = nft_rule_expr_bitwise_xml_parse,
|
||||
.json_parse = nft_rule_expr_bitwise_json_parse,
|
||||
};
|
||||
--- ./src/expr/match.c 2014-06-25 18:34:08.178284810 +0400
|
||||
+++ ../libnftnl-1.0.2-my/./src/expr/match.c 2014-07-25 00:21:48.032587186 +0400
|
||||
@@ -273,7 +273,7 @@
|
||||
.get = nft_rule_expr_match_get,
|
||||
.parse = nft_rule_expr_match_parse,
|
||||
.build = nft_rule_expr_match_build,
|
||||
- .snprintf = nft_rule_expr_match_snprintf,
|
||||
+ .snprintf_ = nft_rule_expr_match_snprintf,
|
||||
.xml_parse = nft_rule_expr_match_xml_parse,
|
||||
.json_parse = nft_rule_expr_match_json_parse,
|
||||
};
|
||||
|
||||
-33
@@ -1,33 +0,0 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
From c81bf54d6eb870286662a11d3b4a994717c47696 Mon Sep 17 00:00:00 2001
|
||||
From: Armin Kuster <akuster808@gmail.com>
|
||||
Date: Tue, 8 Sep 2015 05:36:27 -0700
|
||||
Subject: [PATCH] testmmap: fix compile issue with gcc 5.x
|
||||
|
||||
this fixes:
|
||||
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=]
|
||||
| printf("ring_ofs[%d] %ld\n", i, nifp->ring_ofs[i]);
|
||||
| ^
|
||||
|
||||
Signed-off-by: Armin Kuster <akuster808@gmail.com>
|
||||
---
|
||||
examples/testmmap.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/testmmap.c b/examples/testmmap.c
|
||||
index d7f6acc..934489a 100644
|
||||
--- a/examples/testmmap.c
|
||||
+++ b/examples/testmmap.c
|
||||
@@ -537,7 +537,7 @@ do_if()
|
||||
for (i = 0; i < 5; i++)
|
||||
printf("spare1[%d] %u\n", i, nifp->ni_spare1[i]);
|
||||
for (i = 0; i < (nifp->ni_tx_rings + nifp->ni_rx_rings + 2); i++)
|
||||
- printf("ring_ofs[%d] %ld\n", i, nifp->ring_ofs[i]);
|
||||
+ printf("ring_ofs[%d] %zd\n", i, nifp->ring_ofs[i]);
|
||||
}
|
||||
|
||||
struct netmap_ring *
|
||||
--
|
||||
2.3.5
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
The makefile assumes building locally.
|
||||
|
||||
Upstream Status: Inappropriate [Native]
|
||||
|
||||
The configure is not auto-make based
|
||||
|
||||
Signed-of-by: Armin Kuster <akuster@mvista.com>
|
||||
|
||||
Index: LINUX/netmap.mak.in
|
||||
===================================================================
|
||||
--- a/LINUX/netmap.mak.in
|
||||
+++ b/LINUX/netmap.mak.in
|
||||
@@ -12,10 +12,9 @@ SRCDIR:=@SRCDIR@
|
||||
# The following commands are needed to build the modules as out-of-tree,
|
||||
# in fact the kernel sources path must be specified.
|
||||
|
||||
-PWD ?= $(CURDIR)
|
||||
|
||||
# Additional compile flags (e.g. header location)
|
||||
-EXTRA_CFLAGS := -I$(PWD) -I$(SRCDIR) -I$(SRCDIR)/../sys -I$(SRCDIR)/../sys/dev -DCONFIG_NETMAP
|
||||
+EXTRA_CFLAGS := -I$(SRCDIR) -I$(SRCDIR)/../sys -I$(SRCDIR)/../sys/dev -DCONFIG_NETMAP
|
||||
EXTRA_CFLAGS += -Wno-unused-but-set-variable
|
||||
EXTRA_CFLAGS += $(foreach s,$(SUBSYS),-DCONFIG_NETMAP_$(shell echo $s|tr a-z- A-Z_))
|
||||
|
||||
Index: LINUX/configure
|
||||
===================================================================
|
||||
--- a/LINUX/configure
|
||||
+++ b/LINUX/configure
|
||||
@@ -349,52 +349,6 @@ reset_tests() {
|
||||
EOF
|
||||
}
|
||||
|
||||
-# run_tests: run all accumulated tests and exec the pertinent
|
||||
-# success/failure actions for each one.
|
||||
-run_tests() {
|
||||
- local t= # prevent -EOF to eat the make TAB
|
||||
- cat > $TMPDIR/Makefile <<-EOF
|
||||
- ifneq (\$(KERNELRELEASE),)
|
||||
- obj-m := $TESTOBJS
|
||||
- else
|
||||
- S_DRIVERS := $(drv print)
|
||||
- all: \$(S_DRIVERS:%=get-%)
|
||||
- $t \$(MAKE) -C $ksrc M=\$\$PWD $kopts
|
||||
-
|
||||
- -include $TOPDIR/drivers.mak
|
||||
- EOF
|
||||
- for d in $(drv print); do
|
||||
- cat >> $TMPDIR/Makefile <<-EOF
|
||||
- get-$d:
|
||||
- $t [ -z "\$($d-src)" ] || cp -Rp \$($d-src) \$(if \$($d-dst),\$($d-dst),.)
|
||||
- $t touch get-$d
|
||||
- EOF
|
||||
- done
|
||||
- echo endif >> $TMPDIR/Makefile
|
||||
- {
|
||||
- cat <<-EOF
|
||||
-##############################################################################
|
||||
-## BEGIN RUNNING TESTS: $(date)
|
||||
-##############################################################################
|
||||
-## Makefile:
|
||||
- EOF
|
||||
- cat $TMPDIR/Makefile
|
||||
- cat <<-EOF
|
||||
-##############################################################################
|
||||
- EOF
|
||||
- } >> config.log
|
||||
- (
|
||||
- cd $TMPDIR
|
||||
- make -k -j $(grep -c processor /proc/cpuinfo)
|
||||
- ) >> config.log
|
||||
- eval "$TESTPOSTPROC"
|
||||
- cat >> config.log <<-EOF
|
||||
-##############################################################################
|
||||
-## END RUNNING TESTS: $(date)
|
||||
-##############################################################################
|
||||
- EOF
|
||||
-}
|
||||
-
|
||||
configh=netmap_linux_config.h
|
||||
# succes/failure actions are expected to write some macros
|
||||
# in netma_linux_config.h. The following functions can be
|
||||
@@ -619,7 +573,6 @@ configuration. Please check 'config.log'
|
||||
reset_tests
|
||||
rm -f drivers.mak
|
||||
add_test true broken_buildsystem < /dev/null
|
||||
-run_tests
|
||||
|
||||
drvname2config() {
|
||||
local name=$1
|
||||
@@ -1280,7 +1233,6 @@ cat > $configh <<-EOF
|
||||
EOF
|
||||
|
||||
# the TESTPOSTPROC script will add macros to $configh
|
||||
-run_tests
|
||||
|
||||
define DRIVER_SUFFIX \"$drvsuffix\"
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
require netmap.inc
|
||||
|
||||
DEPENDS = "virtual/kernel"
|
||||
do_configure[depends] += "virtual/kernel:do_shared_workdir"
|
||||
|
||||
inherit module
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
export INSTALL_MOD_DIR="kernel/netmap-modules"
|
||||
|
||||
EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
|
||||
--kernel-sources=${STAGING_KERNEL_DIR} \
|
||||
--install-mod-path=${D} \
|
||||
--driver-suffix="-netmap" \
|
||||
"
|
||||
|
||||
# The driver builds are optional, but for deterministic builds,
|
||||
# we should be able to explicitly enable/disable the builds
|
||||
# for them in a proper place (maybe in BSP).
|
||||
# But we can't use PACKAGECONFIG since there is no option for
|
||||
# each driver, and the options are:
|
||||
# --no-drivers do not compile any driver
|
||||
# --no-drivers= do not compile the given drivers (comma sep.)
|
||||
# --drivers= only compile the given drivers (comma sep.)
|
||||
#
|
||||
# So use NETMAP_DRIVERS and the following python code to add proper
|
||||
# configs to EXTRA_OECONF.
|
||||
#
|
||||
# The default is no-drivers, and all supported drivers are listed
|
||||
# in NETMAP_ALL_DRIVERS.
|
||||
NETMAP_DRIVERS ??= ""
|
||||
NETMAP_ALL_DRIVERS = "ixgbe igb e1000e e1000 veth.c forcedeth.c virtio_net.c r8169.c"
|
||||
|
||||
python __anonymous () {
|
||||
drivers_list = d.getVar("NETMAP_DRIVERS").split()
|
||||
all_drivers_list = d.getVar("NETMAP_ALL_DRIVERS").split()
|
||||
config_drivers = "--drivers=" + ",".join(drivers_list)
|
||||
|
||||
extra_oeconf_drivers = bb.utils.contains_any('NETMAP_DRIVERS', all_drivers_list, config_drivers, '--no-drivers', d)
|
||||
d.appendVar("EXTRA_OECONF", extra_oeconf_drivers)
|
||||
}
|
||||
|
||||
LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}"
|
||||
LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}"
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/LINUX
|
||||
./configure ${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
do_configure_append () {
|
||||
cat >> ${S}/LINUX/netmap_linux_config.h <<EOF
|
||||
#define NETMAP_LINUX_HAVE_HRTIMER_MODE_REL
|
||||
#define NETMAP_LINUX_HAVE_HRTIMER_FORWARD_NOW
|
||||
#define NETMAP_LINUX_HAVE_PHYS_ADDR_T
|
||||
#define NETMAP_LINUX_HAVE_ACCESS_ONCE
|
||||
#define NETMAP_LINUX_HAVE_NETDEV_OPS
|
||||
#define NETMAP_LINUX_HAVE_INIT_NET
|
||||
#define NETMAP_LINUX_HAVE_LIVE_ADDR_CHANGE
|
||||
#define NETMAP_LINUX_HAVE_TX_SKB_SHARING
|
||||
#define NETMAP_LINUX_HAVE_UNLOCKED_IOCTL
|
||||
#define NETMAP_LINUX_HAVE_PERNET_OPS_ID
|
||||
#define NETMAP_LINUX_VIRTIO_FUNCTIONS
|
||||
#define NETMAP_LINUX_VIRTIO_FREE_PAGES
|
||||
#define NETMAP_LINUX_VIRTIO_GET_VRSIZE
|
||||
#define NETMAP_LINUX_TIMER_RTYPE enum hrtimer_restart
|
||||
#define NETMAP_LINUX_VIRTIO_MULTI_QUEUE
|
||||
#define NETMAP_LINUX_HAVE_E1000E_EXT_RXDESC
|
||||
#define NETMAP_LINUX_HAVE_E1000E_DOWN2
|
||||
EOF
|
||||
|
||||
if ${@ 'false' if (bb.utils.vercmp_string(d.getVar('KERNEL_VERSION') or "0", '3.17') < 0) else 'true' } ; then
|
||||
echo OK
|
||||
cat >> ${S}/LINUX/netmap_linux_config.h <<EOF
|
||||
#define NETMAP_LINUX_ALLOC_NETDEV_4ARGS
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
cd ${S}/LINUX
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/LINUX
|
||||
oe_runmake install
|
||||
}
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/83335/
|
||||
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"
|
||||
@@ -1,17 +0,0 @@
|
||||
SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)"
|
||||
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."
|
||||
SECTION = "networking"
|
||||
HOMEPAGE = "http://code.google.com/p/netmap/"
|
||||
LICENSE = "GPLv2+"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=56ae0b9c7ba0476ab9098de94c2714d6"
|
||||
|
||||
SRCREV = "da9e19e69b84e4f6f8ae125f8d01b42a4abade6a"
|
||||
PV = "master+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://github.com/luigirizzo/netmap.git"
|
||||
SRC_URI += "file://makefile_fixup.patch"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
COMPATIBLE_HOST = '(x86_64|i.86|mips|arm).*-linux'
|
||||
@@ -1,37 +0,0 @@
|
||||
require netmap.inc
|
||||
|
||||
DEPENDS = "netmap-modules"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
|
||||
--kernel-sources=${STAGING_KERNEL_DIR} \
|
||||
--no-drivers \
|
||||
--disable-generic \
|
||||
--prefix=${prefix} \
|
||||
--destdir=${D} \
|
||||
--cc='${CC}' \
|
||||
--ld='${LD}' \
|
||||
"
|
||||
SRC_URI += "file://0001-testmmap-fix-compile-issue-with-gcc-5.x.patch"
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/LINUX
|
||||
./configure ${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
cd ${S}/LINUX
|
||||
make apps
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/LINUX
|
||||
make install-apps DESTDIR=${D}
|
||||
}
|
||||
|
||||
FILES_${PN} += "${bindir}"
|
||||
RDEPENDS_${PN} = "kernel-module-netmap"
|
||||
RRECOMMENDS_${PN} = "kernel-module-netmap"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/69733/
|
||||
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"
|
||||
@@ -1,45 +0,0 @@
|
||||
SUMMARY = "ACCEL-PPP is a high performance VPN server application for linux"
|
||||
HOMEPAGE = "http://sourceforge.net/apps/trac/accel-ppp/wiki"
|
||||
SECTION = "net"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
|
||||
|
||||
DEPENDS = "openssl libpcre"
|
||||
|
||||
inherit cmake
|
||||
|
||||
PR = "r1"
|
||||
PV = "1.7.3+git"
|
||||
|
||||
SRCREV = "4acfa46c321a344b9a6ce4128e72d1e02828d8a0"
|
||||
SRC_URI = "git://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp;branch=1.7"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
-DBUILD_DRIVER=FALSE \
|
||||
-DCMAKE_INSTALL_PREFIX=${prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLOG_PGSQL=FALSE \
|
||||
-DRADIUS=FALSE \
|
||||
-DNETSNMP=FALSE \
|
||||
"
|
||||
FILES_${PN}-dbg += "/usr/lib/${BPN}/.debug/*"
|
||||
|
||||
PACKAGES =+ "${PN}-libs"
|
||||
FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so"
|
||||
INSANE_SKIP_${PN}-libs = "dev-so"
|
||||
RDEPENDS_${PN} += "${PN}-libs"
|
||||
|
||||
do_install_prepend() {
|
||||
cmlist=`find ${S} -name CMakeLists.txt`
|
||||
for file in $cmlist; do
|
||||
sed -i -e "s:LIBRARY DESTINATION lib/accel-ppp:LIBRARY DESTINATION ${baselib}/accel-ppp:g" \
|
||||
-e "s:\${CMAKE_INSTALL_PREFIX}/lib/accel-ppp:\${CMAKE_INSTALL_PREFIX}/${baselib}/accel-ppp:g" \
|
||||
$cmlist
|
||||
done
|
||||
}
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/81003/
|
||||
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"
|
||||
-47
@@ -1,47 +0,0 @@
|
||||
example21.cpp: remove deprecated code
|
||||
|
||||
The deprecated code was no longer used, so remove it to avoid
|
||||
compiling failure with -Werror=unused-function
|
||||
...
|
||||
| example21.cpp:51:8: error: 'size_t {anonymous}::readData(char*,
|
||||
size_t, size_t)' defined but not used [-Werror=unused-function]
|
||||
| size_t readData(char *buffer, size_t size, size_t nitems)
|
||||
...
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
examples/example21.cpp | 17 -----------------
|
||||
1 file changed, 17 deletions(-)
|
||||
|
||||
diff --git a/examples/example21.cpp b/examples/example21.cpp
|
||||
--- a/examples/example21.cpp
|
||||
+++ b/examples/example21.cpp
|
||||
@@ -39,23 +39,6 @@
|
||||
#include <curlpp/Options.hpp>
|
||||
#include <curlpp/Exception.hpp>
|
||||
|
||||
-/*
|
||||
- anonymous namespace to prevent name clash in case other examples using the same global entities
|
||||
- would be compiled in the same project
|
||||
-*/
|
||||
-namespace
|
||||
-{
|
||||
-
|
||||
-char *data = NULL;
|
||||
-
|
||||
-size_t readData(char *buffer, size_t size, size_t nitems)
|
||||
-{
|
||||
- strncpy(buffer, data, size * nitems);
|
||||
- return size * nitems;
|
||||
-}
|
||||
-
|
||||
-} // namespace
|
||||
-
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
if(argc != 3) {
|
||||
--
|
||||
1.9.1
|
||||
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
Don't check manpages for xsltproc.
|
||||
|
||||
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
|
||||
|
||||
diff -Nurp tevent-0.9.21.orig/lib/talloc/wscript tevent-0.9.21/lib/talloc/wscript
|
||||
--- tevent-0.9.21.orig/lib/talloc/wscript 2013-09-08 21:24:14.000000000 +0900
|
||||
+++ tevent-0.9.21/lib/talloc/wscript 2015-04-24 16:28:04.085000230 +0900
|
||||
@@ -55,7 +55,7 @@ def configure(conf):
|
||||
if conf.env.standalone_talloc:
|
||||
conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1
|
||||
|
||||
- conf.CHECK_XSLTPROC_MANPAGES()
|
||||
+ conf.find_program('xsltproc', var='XSLTPROC')
|
||||
|
||||
if not conf.env.disable_python:
|
||||
# also disable if we don't have the python libs installed
|
||||
@@ -1,53 +0,0 @@
|
||||
# This package builds the NIS ypbind daemon
|
||||
# The source package is utils/net/NIS/ypbind-mt
|
||||
#
|
||||
require nis.inc
|
||||
|
||||
DESCRIPTION = " \
|
||||
Multithreaded NIS bind service (ypbind-mt). \
|
||||
ypbind-mt is a complete new implementation of a NIS \
|
||||
binding daemon for Linux. It has the following \
|
||||
features. Supports ypbind protocol V1 and V2. \
|
||||
Uses threads for better response. Supports multiple \
|
||||
domain bindings. Supports /var/yp/binding/* file \
|
||||
for Linux libc 4/5 and glibc 2.x. Supports a list \
|
||||
of known secure NIS server (/etc/yp.conf) Binds to \
|
||||
the server which answered as first. \
|
||||
"
|
||||
HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html"
|
||||
DEPENDS = "yp-tools ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||
PROVIDES += "ypbind"
|
||||
|
||||
PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools - the recipe will be removed on 2017-09-01 unless the issue is fixed"
|
||||
|
||||
SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \
|
||||
file://ypbind.init \
|
||||
file://ypbind.service \
|
||||
"
|
||||
SRC_URI[md5sum] = "54e2040d8266ae7d302d081ca310c8a8"
|
||||
SRC_URI[sha256sum] = "dc2f7d97c94dcab0acfdcd115cd8b464eb8c427e4bb0fe68404ae7465f517cd3"
|
||||
|
||||
inherit systemd update-rc.d
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "ypbind.service"
|
||||
INITSCRIPT_NAME = "ypbind"
|
||||
INITSCRIPT_PARAMS = "start 44 3 5 . stop 70 0 1 2 6 ."
|
||||
|
||||
CACHED_CONFIGUREVARS = "ac_cv_prog_STRIP=/bin/true"
|
||||
|
||||
EXTRA_OECONF = "PKG_CONFIG_PATH='${STAGING_LIBDIR}/yp-nis/pkgconfig/'"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -d ${D}${sysconfdir}/rcS.d
|
||||
|
||||
install -m 0755 ${WORKDIR}/ypbind.init ${D}${sysconfdir}/init.d/ypbind
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
|
||||
RPROVIDES_${PN} += "${PN}-systemd"
|
||||
RREPLACES_${PN} += "${PN}-systemd"
|
||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||
Reference in New Issue
Block a user