distribution/packages/network/openvpn/package.mk

27 lines
1.1 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# 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"
2023-02-24 13:53:43 +00:00
PKG_URL="https://swupdate.openvpn.org/community/releases/${PKG_NAME}-${PKG_VERSION}.tar.xz"
2022-02-05 14:23:32 +00:00
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() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/bin
ln -sf ../sbin/openvpn ${INSTALL}/usr/bin/openvpn
2022-02-05 14:23:32 +00:00
}