Сравнение openvpn-2.5.7-r1 с openvpn-2.6.4

/usr/portage/net-vpn/openvpn/openvpn-2.6.4.ebuild 2023-10-09 14:52:34.768368483 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit autotools flag-o-matic systemd linux-info tmpfiles
6
inherit autotools systemd linux-info tmpfiles
7 7

  
8 8
DESCRIPTION="Robust and highly flexible tunneling application compatible with many OSes"
9 9
HOMEPAGE="https://openvpn.net/"
10 10

  
11 11
if [[ ${PV} == "9999" ]]; then
12 12
	EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git"
13
	EGIT_SUBMODULES=(-cmocka)
14

  
15 13
	inherit git-r3
16 14
else
17
	SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz"
18
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
15
	SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz"
16
	KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86"
19 17
fi
20 18

  
21 19
LICENSE="GPL-2"
22 20
SLOT="0"
23 21

  
24
IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
22
IUSE="dco down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
25 23
IUSE+=" pam pkcs11 +plugins selinux systemd test"
26 24

  
27 25
RESTRICT="!test? ( test )"
......
30 28
	pkcs11? ( !mbedtls )
31 29
	!plugins? ( !pam !down-root )
32 30
	inotify? ( plugins )
31
	dco? ( !iproute2 )
33 32
"
34 33

  
35 34
CDEPEND="
......
39 38
	lz4? ( app-arch/lz4 )
40 39
	lzo? ( >=dev-libs/lzo-1.07 )
41 40
	mbedtls? ( net-libs/mbedtls:= )
42
	openssl? ( >=dev-libs/openssl-0.9.8:0= )
41
	openssl? ( >=dev-libs/openssl-1.0.2:0= )
43 42
	pam? ( sys-libs/pam )
44 43
	pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
45 44
	systemd? ( sys-apps/systemd )
45
	dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= )
46
	sys-libs/libcap-ng:=
46 47
"
47 48

  
48 49
BDEPEND="virtual/pkgconfig"
......
90 91
		$(use_enable pam plugin-auth-pam)
91 92
		$(use_enable down-root plugin-down-root)
92 93
		$(use_enable systemd)
94
		$(use_enable dco)
93 95
	)
94 96

  
95 97
	SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
......
116 118
	find "${ED}/usr" -name '*.la' -delete || die
117 119

  
118 120
	# install documentation
119
	dodoc AUTHORS ChangeLog PORTS README README.IPv6
121
	dodoc AUTHORS ChangeLog PORTS README
120 122

  
121 123
	# Install some helper scripts
122 124
	keepdir /etc/openvpn
Спасибо!