mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
openvpn: move to meta-networking and tweak
* Move SRC_URI checksums next to SRC_URI * Move packaging definitions to the end * Set SUMMARY instead of DESCRIPTION * Drop unused inc file Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
21adc5d117
commit
f1d7f500ac
+5
-4
@@ -1,16 +1,18 @@
|
|||||||
DESCRIPTION = "A full-featured SSL VPN solution via tun device."
|
SUMMARY = "A full-featured SSL VPN solution via tun device."
|
||||||
HOMEPAGE = "http://openvpn.sourceforge.net"
|
HOMEPAGE = "http://openvpn.sourceforge.net"
|
||||||
SECTION = "console/network"
|
SECTION = "console/network"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c"
|
||||||
DEPENDS = "lzo openssl"
|
DEPENDS = "lzo openssl"
|
||||||
RRECOMMENDS_${PN} = "kernel-module-tun"
|
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \
|
SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \
|
||||||
file://openvpn"
|
file://openvpn"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7"
|
||||||
|
SRC_URI[sha256sum] = "5185181df2e6043bd667377bc92e36ea5a5bd7600af209654f109b6403ca5b36"
|
||||||
|
|
||||||
CFLAGS += "-fno-inline"
|
CFLAGS += "-fno-inline"
|
||||||
|
|
||||||
# I want openvpn to be able to read password from file (hrw)
|
# I want openvpn to be able to read password from file (hrw)
|
||||||
@@ -22,5 +24,4 @@ do_install_append() {
|
|||||||
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
||||||
}
|
}
|
||||||
|
|
||||||
SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7"
|
RRECOMMENDS_${PN} = "kernel-module-tun"
|
||||||
SRC_URI[sha256sum] = "5185181df2e6043bd667377bc92e36ea5a5bd7600af209654f109b6403ca5b36"
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
DESCRIPTION = "A full-featured SSL VPN solution via tun device."
|
|
||||||
HOMEPAGE = "http://openvpn.sourceforge.net"
|
|
||||||
SECTION = "console/network"
|
|
||||||
LICENSE = "GPLv2"
|
|
||||||
DEPENDS = "lzo openssl"
|
|
||||||
RRECOMMENDS_${PN} = "kernel-module-tun"
|
|
||||||
|
|
||||||
INC_PR = "r2"
|
|
||||||
|
|
||||||
SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \
|
|
||||||
file://openvpn"
|
|
||||||
S = "${WORKDIR}/openvpn-${PV}"
|
|
||||||
|
|
||||||
CFLAGS += "-fno-inline"
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
do_install_append() {
|
|
||||||
install -d ${D}/${sysconfdir}/init.d
|
|
||||||
install -d ${D}/${sysconfdir}/openvpn
|
|
||||||
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user