Merge commit 'aef7cf84616a6f6c8d959d89d59b41a505627a75' into dora
This commit is contained in:
commit
2d6838b7d5
|
@ -1,6 +1,7 @@
|
||||||
#OpenVPN client conf
|
#OpenVPN client conf
|
||||||
tls-client
|
tls-client
|
||||||
client
|
client
|
||||||
|
ns-cert-type server
|
||||||
dev tun
|
dev tun
|
||||||
proto udp
|
proto udp
|
||||||
tun-mtu 1500
|
tun-mtu 1500
|
||||||
|
|
|
@ -5,7 +5,7 @@ LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
SRC_URI = "file://sysmocom-vpn.conf"
|
SRC_URI = "file://sysmocom-vpn.conf"
|
||||||
PR = "r3"
|
PR = "r4"
|
||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/openvpn/sysmocom-vpn.conf"
|
CONFFILES_${PN} = "${sysconfdir}/openvpn/sysmocom-vpn.conf"
|
||||||
PACKAGE_ARCH = "all"
|
PACKAGE_ARCH = "all"
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
DESCRIPTION = "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"
|
|
||||||
RRECOMMENDS_${PN} = "kernel-module-tun"
|
|
||||||
|
|
||||||
PR = "r1"
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \
|
|
||||||
file://openvpn"
|
|
||||||
|
|
||||||
CFLAGS += "-fno-inline"
|
|
||||||
|
|
||||||
# I want openvpn to be able to read password from file (hrw)
|
|
||||||
EXTRA_OECONF += "--enable-password-save"
|
|
||||||
|
|
||||||
do_install_append() {
|
|
||||||
install -d ${D}/${sysconfdir}/init.d
|
|
||||||
install -d ${D}/${sysconfdir}/openvpn
|
|
||||||
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
|
||||||
}
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7"
|
|
||||||
SRC_URI[sha257sum] = "5185181df2e6043bd667377bc92e36ea5a5bd7600af209654f109b6403ca5b36"
|
|
|
@ -61,6 +61,3 @@ pkg_postinst_${PN} () {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# We need to test opkg upgrade of OpenVPN through the OpenVPN first
|
|
||||||
DEFAULT_PREFERENCE = "-1"
|
|
||||||
|
|
Loading…
Reference in New Issue