diff options
| -rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn_2.6.14.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.6.14.bb b/meta-networking/recipes-support/openvpn/openvpn_2.6.14.bb index 67ea09fad5..8627c7812d 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.6.14.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.6.14.bb | |||
| @@ -3,7 +3,7 @@ HOMEPAGE = "https://openvpn.net/" | |||
| 3 | SECTION = "net" | 3 | SECTION = "net" |
| 4 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=89196bacc47ed37a5b242a535661a049" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=89196bacc47ed37a5b242a535661a049" |
| 6 | DEPENDS = "lzo lz4 openssl iproute2 libcap-ng ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} ${@bb.utils.contains('PTEST_ENABLED', '1', 'cmocka', '', d)} " | 6 | DEPENDS = "lzo lz4 openssl libcap-ng ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} ${@bb.utils.contains('PTEST_ENABLED', '1', 'cmocka', '', d)} " |
| 7 | 7 | ||
| 8 | inherit autotools systemd update-rc.d pkgconfig ptest | 8 | inherit autotools systemd update-rc.d pkgconfig ptest |
| 9 | 9 | ||
| @@ -26,7 +26,6 @@ INITSCRIPT_PARAMS:${PN} = "start 10 2 3 4 5 . stop 70 0 1 6 ." | |||
| 26 | CFLAGS += "-fno-inline" | 26 | CFLAGS += "-fno-inline" |
| 27 | 27 | ||
| 28 | # I want openvpn to be able to read password from file (hrw) | 28 | # I want openvpn to be able to read password from file (hrw) |
| 29 | EXTRA_OECONF += "--enable-iproute2" | ||
| 30 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" | 29 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" |
| 31 | 30 | ||
| 32 | # Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. | 31 | # Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. |
| @@ -38,8 +37,12 @@ EXTRA_OECONF += "SYSTEMD_UNIT_DIR=${systemd_system_unitdir} \ | |||
| 38 | 37 | ||
| 39 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 38 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 40 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ | 39 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ |
| 40 | iproute2 \ | ||
| 41 | " | 41 | " |
| 42 | 42 | ||
| 43 | # dco and iproute2 are mutually incompatible | ||
| 44 | PACKAGECONFIG[dco] = ",--disable-dco,libnl" | ||
| 45 | PACKAGECONFIG[iproute2] = "--enable-iproute2,,iproute2,iproute2-ip" | ||
| 43 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | 46 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" |
| 44 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | 47 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" |
| 45 | 48 | ||
