openvpn: Move to OpenVPN v2.3.6 and systemd service files
Systems that had OpenVPN enabled by default will be migrated (at least that is the aim).neels/inmarsat
parent
5fac86dde4
commit
e068851a66
|
@ -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
|
||||
}
|
||||
|
||||
# We need to test opkg upgrade of OpenVPN through the OpenVPN first
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
|
Loading…
Reference in New Issue