openvpn: upgrade to 2.3.6.
PATCH 1/1 openvpn: upgrade to 2.3.6.
The purpose of this patch as below.
1. upgrade openvpn to 2.3.6 in order to fix CVE-2014-8104
2. enable systemd
3. provide new packages named ${PN}-sample to help user create config file easily and check whether is openvpn work.
Signed-off-by Bian Naimeng <[email protected]>
--- .../openvpn/openvpn/[email protected] | 12 +++++ .../recipes-support/openvpn/openvpn_2.3.4.bb | 33 ------------ .../recipes-support/openvpn/openvpn_2.3.6.bb | 63 ++++++++++++++++++++++ 3 files changed, 75 insertions(+), 33 deletions(-) create mode 100644 meta-networking/recipes-support/openvpn/openvpn/[email protected] delete mode 100644 meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb create mode 100644 meta-networking/recipes-support/openvpn/openvpn_2.3.6.bb
meta-networking/recipes-support/openvpn/openvpn/[email protected] new file +12 -0
@@ -0,0 +1,12 @@ +[Unit] +Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I +After=syslog.target network.target + +[Service] +PrivateTmp=true +Type=forking +PIDFile=/var/run/openvpn/%i.pid +ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb deleted +0 -33
@@ -1,33 +0,0 @@ -SUMMARY = "A full-featured SSL VPN solution via tun device." -HOMEPAGE = "http://openvpn.sourceforge.net" -SECTION = "console/network" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" -DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" - -inherit autotools - -SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ - file://openvpn" - -SRC_URI[md5sum] = "04d47237907faabe9d046970ffe44b2e" -SRC_URI[sha256sum] = "af506d5f48568fa8d2f2435cb3fad35f9a9a8f263999ea6df3ba296960cec85a" - -CFLAGS += "-fno-inline" - -# I want openvpn to be able to read password from file (hrw) -EXTRA_OECONF += "--enable-password-save --enable-iproute2" -EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" - -# Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. -EXTRA_OECONF += "IPROUTE=/sbin/ip" - -do_install_append() { - install -d ${D}/${sysconfdir}/init.d - install -d ${D}/${sysconfdir}/openvpn - install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d -} - -RRECOMMENDS_${PN} = "kernel-module-tun" - -FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
meta-networking/recipes-support/openvpn/openvpn_2.3.6.bb new file +63 -0
63 lines not on this page · raw message
Signature · 1 line
1.9.1