Diff accel-ppp-1.11.1_p20180320 with a accel-ppp-1.12.0

/usr/portage/net-dialup/accel-ppp/accel-ppp-1.12.0.ebuild 2019-10-09 16:39:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6 6
inherit cmake-utils flag-o-matic linux-info linux-mod
7 7

  
8 8
DESCRIPTION="High performance PPTP, PPPoE and L2TP server"
9 9
HOMEPAGE="https://sourceforge.net/projects/accel-ppp/"
10
SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.bz2"
10
SRC_URI="https://download.sourceforge.net/accel-ppp/${P}.tar.bz2 -> ${P}.tar"
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
......
18 18
	postgres? ( dev-db/postgresql:* )
19 19
	snmp? ( net-analyzer/net-snmp )
20 20
	dev-libs/libpcre
21
	dev-libs/openssl:0"
21
	dev-libs/openssl:0="
22 22
DEPEND="${RDEPEND}
23 23
	valgrind? ( dev-util/valgrind )"
24 24
PDEPEND="net-dialup/ppp-scripts"
......
33 33
	"${FILESDIR}/${PN}-1.11.1-socklen.patch"
34 34
)
35 35

  
36
S="${WORKDIR}"
37

  
38 36
pkg_setup() {
39 37
	if use ipoe; then
40 38
		linux-mod_pkg_setup
......
53 51
		drivers/ipoe/CMakeLists.txt \
54 52
		drivers/vlan_mon/CMakeLists.txt || die
55 53

  
54
	# Fix version
55
	sed -i -e "s/1.11/${PV}/" drivers/ipoe/ipoe.c || die
56
	sed -i -e "s/1.11/${PV}/" drivers/vlan_mon/vlan_mon.c || die
57

  
56 58
	# Bug #549918
57 59
	append-ldflags -Wl,-z,lazy
58 60

  
Thank you!