diff options
| -rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn_2.1.3.bb | 27 | ||||
| -rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb | 31 |
2 files changed, 31 insertions, 27 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.1.3.bb b/meta-networking/recipes-support/openvpn/openvpn_2.1.3.bb deleted file mode 100644 index 9ef0fbf0b5..0000000000 --- a/meta-networking/recipes-support/openvpn/openvpn_2.1.3.bb +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | SUMMARY = "A full-featured SSL VPN solution via tun device" | ||
| 2 | HOMEPAGE = "http://openvpn.sourceforge.net" | ||
| 3 | SECTION = "console/network" | ||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" | ||
| 6 | DEPENDS = "lzo openssl" | ||
| 7 | |||
| 8 | inherit autotools | ||
| 9 | |||
| 10 | SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \ | ||
| 11 | file://openvpn" | ||
| 12 | |||
| 13 | SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7" | ||
| 14 | SRC_URI[sha256sum] = "5185181df2e6043bd667377bc92e36ea5a5bd7600af209654f109b6403ca5b36" | ||
| 15 | |||
| 16 | CFLAGS += "-fno-inline" | ||
| 17 | |||
| 18 | # I want openvpn to be able to read password from file (hrw) | ||
| 19 | EXTRA_OECONF += "--enable-password-save" | ||
| 20 | |||
| 21 | do_install_append() { | ||
| 22 | install -d ${D}/${sysconfdir}/init.d | ||
| 23 | install -d ${D}/${sysconfdir}/openvpn | ||
| 24 | install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d | ||
| 25 | } | ||
| 26 | |||
| 27 | RRECOMMENDS_${PN} = "kernel-module-tun" | ||
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb new file mode 100644 index 0000000000..a3322a0c59 --- /dev/null +++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "A full-featured SSL VPN solution via tun device." | ||
| 2 | HOMEPAGE = "http://openvpn.sourceforge.net" | ||
| 3 | SECTION = "console/network" | ||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" | ||
| 6 | DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
| 7 | |||
| 8 | inherit autotools | ||
| 9 | |||
| 10 | SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ | ||
| 11 | file://openvpn" | ||
| 12 | |||
| 13 | SRC_URI[md5sum] = "04d47237907faabe9d046970ffe44b2e" | ||
| 14 | SRC_URI[sha256sum] = "af506d5f48568fa8d2f2435cb3fad35f9a9a8f263999ea6df3ba296960cec85a" | ||
| 15 | |||
| 16 | CFLAGS += "-fno-inline" | ||
| 17 | |||
| 18 | # I want openvpn to be able to read password from file (hrw) | ||
| 19 | EXTRA_OECONF += "--enable-password-save --enable-iproute2" | ||
| 20 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" | ||
| 21 | EXTRA_OECONF += "IPROUTE=/bin/ip" | ||
| 22 | |||
| 23 | do_install_append() { | ||
| 24 | install -d ${D}/${sysconfdir}/init.d | ||
| 25 | install -d ${D}/${sysconfdir}/openvpn | ||
| 26 | install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d | ||
| 27 | } | ||
| 28 | |||
| 29 | RRECOMMENDS_${PN} = "kernel-module-tun" | ||
| 30 | |||
| 31 | FILES_${PN}-dbg += "/usr/lib/openvpn/plugins/.debug" | ||
