summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/openvpn
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-networking/recipes-support/openvpn
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/openvpn')
-rw-r--r--meta-networking/recipes-support/openvpn/openvpn_2.5.3.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.5.3.bb b/meta-networking/recipes-support/openvpn/openvpn_2.5.3.bb
index 7f4cc189ce..a70e9708de 100644
--- a/meta-networking/recipes-support/openvpn/openvpn_2.5.3.bb
+++ b/meta-networking/recipes-support/openvpn/openvpn_2.5.3.bb
@@ -20,12 +20,12 @@ SRC_URI[sha256sum] = "75f0044df449430555ca7b995a2b77ab24f2946fdc3668301b8edc2398
20# CVE-2020-7224 and CVE-2020-27569 are for Aviatrix OpenVPN client, not for openvpn. 20# CVE-2020-7224 and CVE-2020-27569 are for Aviatrix OpenVPN client, not for openvpn.
21CVE_CHECK_WHITELIST += "CVE-2020-7224 CVE-2020-27569" 21CVE_CHECK_WHITELIST += "CVE-2020-7224 CVE-2020-27569"
22 22
23SYSTEMD_SERVICE_${PN} += "openvpn@loopback-server.service openvpn@loopback-client.service" 23SYSTEMD_SERVICE:${PN} += "openvpn@loopback-server.service openvpn@loopback-client.service"
24SYSTEMD_AUTO_ENABLE = "disable" 24SYSTEMD_AUTO_ENABLE = "disable"
25 25
26INITSCRIPT_PACKAGES = "${PN}" 26INITSCRIPT_PACKAGES = "${PN}"
27INITSCRIPT_NAME_${PN} = "openvpn" 27INITSCRIPT_NAME:${PN} = "openvpn"
28INITSCRIPT_PARAMS_${PN} = "start 10 2 3 4 5 . stop 70 0 1 6 ." 28INITSCRIPT_PARAMS:${PN} = "start 10 2 3 4 5 . stop 70 0 1 6 ."
29 29
30CFLAGS += "-fno-inline" 30CFLAGS += "-fno-inline"
31 31
@@ -36,7 +36,7 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '', '--disable-p
36# Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. 36# Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host.
37EXTRA_OECONF += "IPROUTE=${base_sbindir}/ip" 37EXTRA_OECONF += "IPROUTE=${base_sbindir}/ip"
38 38
39do_install_append() { 39do_install:append() {
40 install -d ${D}/${sysconfdir}/init.d 40 install -d ${D}/${sysconfdir}/init.d
41 install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d 41 install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
42 42
@@ -65,12 +65,12 @@ do_install_append() {
65 65
66PACKAGES =+ " ${PN}-sample " 66PACKAGES =+ " ${PN}-sample "
67 67
68RRECOMMENDS_${PN} = "kernel-module-tun" 68RRECOMMENDS:${PN} = "kernel-module-tun"
69 69
70FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug" 70FILES:${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
71FILES_${PN} += "${systemd_unitdir}/system/openvpn@.service \ 71FILES:${PN} += "${systemd_unitdir}/system/openvpn@.service \
72 ${sysconfdir}/tmpfiles.d \ 72 ${sysconfdir}/tmpfiles.d \
73 " 73 "
74FILES_${PN}-sample += "${systemd_unitdir}/system/openvpn@loopback-server.service \ 74FILES:${PN}-sample += "${systemd_unitdir}/system/openvpn@loopback-server.service \
75 ${systemd_unitdir}/system/openvpn@loopback-client.service \ 75 ${systemd_unitdir}/system/openvpn@loopback-client.service \
76 ${sysconfdir}/openvpn/sample/" 76 ${sysconfdir}/openvpn/sample/"