diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-14 10:10:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 22:52:24 +0000 |
commit | cd8f510a183d9c81f67a56fe0580cd474d189297 (patch) | |
tree | c1d7abc418428a5a9128b8ef381bd4954c06671d /meta/recipes-connectivity/kea/kea_1.7.10.bb | |
parent | 3a69732b8701493433d08b9bddd0363ea947fd43 (diff) | |
download | poky-cd8f510a183d9c81f67a56fe0580cd474d189297.tar.gz |
kea: upgrade 1.7.10 -> 1.8.1
(From OE-Core rev: 9a694510f60fbaece03215ec6d2379e422b88529)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/kea/kea_1.7.10.bb')
-rw-r--r-- | meta/recipes-connectivity/kea/kea_1.7.10.bb | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/meta/recipes-connectivity/kea/kea_1.7.10.bb b/meta/recipes-connectivity/kea/kea_1.7.10.bb deleted file mode 100644 index c9a11908e5..0000000000 --- a/meta/recipes-connectivity/kea/kea_1.7.10.bb +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | SUMMARY = "ISC Kea DHCP Server" | ||
2 | DESCRIPTION = "Kea is the next generation of DHCP software developed by ISC. It supports both DHCPv4 and DHCPv6 protocols along with their extensions, e.g. prefix delegation and dynamic updates to DNS." | ||
3 | HOMEPAGE = "http://kea.isc.org" | ||
4 | SECTION = "connectivity" | ||
5 | LICENSE = "MPL-2.0 & Apache-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=68d95543d2096459290a4e6b9ceccffa" | ||
7 | |||
8 | DEPENDS = "boost log4cplus openssl" | ||
9 | |||
10 | SRC_URI = "http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.gz \ | ||
11 | file://0001-keactrl.in-create-var-lib-kea-and-var-run-kea-folder.patch \ | ||
12 | file://kea-dhcp4.service \ | ||
13 | file://kea-dhcp6.service \ | ||
14 | file://kea-dhcp-ddns.service \ | ||
15 | file://kea-dhcp4-server \ | ||
16 | file://kea-dhcp6-server \ | ||
17 | file://kea-dhcp-ddns-server \ | ||
18 | file://fix-multilib-conflict.patch \ | ||
19 | file://fix_pid_keactrl.patch \ | ||
20 | file://0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch \ | ||
21 | " | ||
22 | SRC_URI[sha256sum] = "4e121f0e58b175a827581c69cb1d60778647049fa47f142940dddc9ce58f3c82" | ||
23 | |||
24 | inherit autotools systemd update-rc.d upstream-version-is-even | ||
25 | |||
26 | INITSCRIPT_NAME = "kea-dhcp4-server" | ||
27 | INITSCRIPT_PARAMS = "defaults 30" | ||
28 | |||
29 | SYSTEMD_SERVICE_${PN} = "kea-dhcp4.service kea-dhcp6.service kea-dhcp-ddns.service" | ||
30 | SYSTEMD_AUTO_ENABLE = "disable" | ||
31 | |||
32 | DEBUG_OPTIMIZATION_remove_mips = " -Og" | ||
33 | DEBUG_OPTIMIZATION_append_mips = " -O" | ||
34 | BUILD_OPTIMIZATION_remove_mips = " -Og" | ||
35 | BUILD_OPTIMIZATION_append_mips = " -O" | ||
36 | |||
37 | DEBUG_OPTIMIZATION_remove_mipsel = " -Og" | ||
38 | DEBUG_OPTIMIZATION_append_mipsel = " -O" | ||
39 | BUILD_OPTIMIZATION_remove_mipsel = " -Og" | ||
40 | BUILD_OPTIMIZATION_append_mipsel = " -O" | ||
41 | |||
42 | EXTRA_OECONF = "--with-boost-libs=-lboost_system \ | ||
43 | --with-log4cplus=${STAGING_DIR_TARGET}${prefix} \ | ||
44 | --with-openssl=${STAGING_DIR_TARGET}${prefix}" | ||
45 | |||
46 | do_configure_prepend() { | ||
47 | # replace abs_top_builddir to avoid introducing the build path | ||
48 | # don't expand the abs_top_builddir on the target as the abs_top_builddir is meanlingless on the target | ||
49 | find ${S} -type f -name *.sh.in | xargs sed -i "s:@abs_top_builddir@:@abs_top_builddir_placeholder@:g" | ||
50 | sed -i "s:@abs_top_srcdir@:@abs_top_srcdir_placeholder@:g" ${S}/src/bin/admin/kea-admin.in | ||
51 | } | ||
52 | |||
53 | # patch out build host paths for reproducibility | ||
54 | do_compile_prepend_class-target() { | ||
55 | sed -i -e "s,${WORKDIR},,g" ${B}/config.report | ||
56 | } | ||
57 | |||
58 | do_install_append() { | ||
59 | install -d ${D}${sysconfdir}/init.d | ||
60 | install -d ${D}${systemd_system_unitdir} | ||
61 | |||
62 | install -m 0644 ${WORKDIR}/kea-dhcp*service ${D}${systemd_system_unitdir} | ||
63 | install -m 0755 ${WORKDIR}/kea-*-server ${D}${sysconfdir}/init.d | ||
64 | sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@BASE_BINDIR@,${base_bindir},g' \ | ||
65 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | ||
66 | ${D}${systemd_system_unitdir}/kea-dhcp*service ${D}${sbindir}/keactrl | ||
67 | } | ||
68 | |||
69 | do_install_append() { | ||
70 | rm -rf "${D}${localstatedir}" | ||
71 | } | ||
72 | |||
73 | CONFFILES_${PN} = "${sysconfdir}/kea/keactrl.conf" | ||
74 | |||
75 | FILES_${PN}-staticdev += "${libdir}/kea/hooks/*.a ${libdir}/hooks/*.a" | ||
76 | FILES_${PN} += "${libdir}/hooks/*.so" | ||
77 | |||
78 | PARALLEL_MAKEINST = "" | ||