Diff accel-ppp-1.12.0_p20230609 with a accel-ppp-9999
/usr/portage/net-dialup/accel-ppp/accel-ppp-9999.ebuild 2023-10-09 14:52:33.348368447 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
LUA_COMPAT=( lua5-1 ) |
7 |
EGIT_REPO_URI="https://github.com/accel-ppp/accel-ppp.git" |
|
7 | 8 |
MODULES_OPTIONAL_IUSE="ipoe" |
8 |
inherit cmake flag-o-matic linux-mod-r1 lua-single |
|
9 |
inherit cmake flag-o-matic git-r3 linux-mod-r1 lua-single |
|
9 | 10 | |
10 | 11 |
DESCRIPTION="High performance PPTP, PPPoE and L2TP server" |
11 | 12 |
HOMEPAGE="https://sourceforge.net/projects/accel-ppp/" |
12 |
SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.bz2" |
|
13 |
SRC_URI="" |
|
13 | 14 | |
14 | 15 |
LICENSE="GPL-2" |
15 | 16 |
SLOT="0" |
16 |
KEYWORDS="~amd64 ~x86" |
|
17 |
KEYWORDS="" |
|
17 | 18 |
IUSE="debug doc libtomcrypt lua postgres radius shaper snmp valgrind" |
18 | 19 | |
19 | 20 |
RDEPEND="!libtomcrypt? ( dev-libs/openssl:0= ) |
... | ... | |
33 | 34 |
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) |
34 | 35 |
valgrind? ( debug )" |
35 | 36 | |
36 |
PATCHES=( |
|
37 |
"${FILESDIR}/${PN}-1.11.1-socklen.patch" |
|
38 |
) |
|
39 | ||
40 |
S="${WORKDIR}" |
|
41 | ||
42 | 37 |
pkg_setup() { |
43 | 38 |
linux-mod-r1_pkg_setup |
44 | 39 |
set_arch_to_kernel |
... | ... | |
54 | 49 |
drivers/ipoe/CMakeLists.txt \ |
55 | 50 |
drivers/vlan_mon/CMakeLists.txt || die |
56 | 51 | |
57 |
# Fix version |
|
58 |
sed -i -e "s/1.11/${PV}/" drivers/ipoe/ipoe.c || die |
|
59 |
sed -i -e "s/1.11/${PV}/" drivers/vlan_mon/vlan_mon.c || die |
|
60 | ||
61 | 52 |
# Bug #549918 |
62 | 53 |
append-ldflags -Wl,-z,lazy |
63 | 54 |