26 lines
1.1 KiB
Makefile
26 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="openvpn"
|
|
PKG_VERSION="2.4.9"
|
|
PKG_SHA256="641f3add8694b2ccc39fd4fd92554e4f089ad16a8db6d2b473ec284839a5ebe2"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://openvpn.net"
|
|
PKG_URL="https://swupdate.openvpn.org/community/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain lzo openssl"
|
|
PKG_LONGDESC="A full featured SSL VPN software solution that integrates OpenVPN server capabilities."
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_have_decl_TUNSETPERSIST=no \
|
|
--disable-plugins \
|
|
--enable-iproute2 IPROUTE=/sbin/ip \
|
|
--enable-management \
|
|
--enable-fragment \
|
|
--disable-multihome \
|
|
--disable-port-share \
|
|
--disable-debug"
|
|
|
|
post_makeinstall_target() {
|
|
mkdir -p $INSTALL/usr/bin
|
|
ln -sf ../sbin/openvpn $INSTALL/usr/bin/openvpn
|
|
}
|