Diff networkmanager-l2tp-1.20.8 with a networkmanager-l2tp-1.20.8-r3
/usr/portage/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.20.8-r3.ebuild 2023-10-09 14:52:34.764368483 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
MY_PN="NetworkManager-l2tp" |
7 | 7 |
MY_P="${MY_PN}-${PV}" |
8 | ||
9 |
inherit gnome.org |
|
8 |
inherit autotools gnome.org |
|
10 | 9 | |
11 | 10 |
DESCRIPTION="NetworkManager L2TP plugin" |
12 | 11 |
HOMEPAGE="https://github.com/nm-l2tp/NetworkManager-l2tp" |
... | ... | |
49 | 48 | |
50 | 49 |
S="${WORKDIR}/${MY_P}" |
51 | 50 | |
51 |
PATCHES=( |
|
52 |
"${FILESDIR}"/${P}-ppp-2.5.0-{1,2}.patch |
|
53 |
"${FILESDIR}"/${PN}-1.20.8-bashism-configure.patch |
|
54 |
) |
|
55 | ||
56 |
src_prepare() { |
|
57 |
default |
|
58 | ||
59 |
# For ppp-2.5.0 patch & bashism patch |
|
60 |
eautoreconf |
|
61 |
} |
|
62 | ||
52 | 63 |
src_configure() { |
53 | 64 |
local PPPD_VER=$(best_version net-dialup/ppp) |
54 | 65 |
PPPD_VER=${PPPD_VER#*/*-} # reduce it to ${PV}-${PR} |