2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2019-03-26 15:58:05 +00:00
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2018-07-16 20:45:36 +02:00
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
2016-03-15 14:20:42 +04:00
|
|
|
|
|
|
|
|
PKG_NAME="openvpn"
|
2023-11-20 07:36:32 +00:00
|
|
|
PKG_VERSION="2.6.8"
|
|
|
|
|
PKG_SHA256="5ede1565c8a6d880100f7f235317a7ee9eea83d5052db5547f13a9e76af7805d"
|
2016-03-15 14:20:42 +04:00
|
|
|
PKG_LICENSE="GPL"
|
2018-08-05 10:47:38 +02:00
|
|
|
PKG_SITE="https://openvpn.net"
|
2022-03-17 10:03:43 +00:00
|
|
|
PKG_URL="https://swupdate.openvpn.org/community/releases/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2023-01-26 02:15:19 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain libcap-ng lz4 lzo openssl"
|
2018-10-22 15:06:12 +02:00
|
|
|
PKG_LONGDESC="A full featured SSL VPN software solution that integrates OpenVPN server capabilities."
|
2023-11-10 13:43:14 +00:00
|
|
|
PKG_TOOLCHAIN="configure"
|
2016-03-15 14:20:42 +04:00
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_have_decl_TUNSETPERSIST=no \
|
|
|
|
|
--disable-server \
|
|
|
|
|
--disable-plugins \
|
|
|
|
|
--enable-iproute2 IPROUTE=/sbin/ip \
|
|
|
|
|
--enable-management \
|
|
|
|
|
--enable-fragment \
|
|
|
|
|
--disable-multihome \
|
|
|
|
|
--disable-port-share \
|
|
|
|
|
--disable-debug"
|
|
|
|
|
|
|
|
|
|
post_makeinstall_target() {
|
2021-01-19 19:34:12 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
|
ln -sf ../sbin/openvpn ${INSTALL}/usr/bin/openvpn
|
2016-03-15 14:20:42 +04:00
|
|
|
}
|