1 |
commit: 65289919c4600500f63773cf5e70eb7feee40984 |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 9 12:20:11 2020 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 9 12:25:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65289919 |
7 |
|
8 |
net-dialup/accel-ppp: drop old version |
9 |
|
10 |
Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org> |
11 |
|
12 |
.../accel-ppp/accel-ppp-1.11.1_p20180320.ebuild | 105 --------------------- |
13 |
1 file changed, 105 deletions(-) |
14 |
|
15 |
diff --git a/net-dialup/accel-ppp/accel-ppp-1.11.1_p20180320.ebuild b/net-dialup/accel-ppp/accel-ppp-1.11.1_p20180320.ebuild |
16 |
deleted file mode 100644 |
17 |
index 0d27e032077..00000000000 |
18 |
--- a/net-dialup/accel-ppp/accel-ppp-1.11.1_p20180320.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,105 +0,0 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-inherit cmake-utils flag-o-matic linux-info linux-mod |
27 |
- |
28 |
-DESCRIPTION="High performance PPTP, PPPoE and L2TP server" |
29 |
-HOMEPAGE="https://sourceforge.net/projects/accel-ppp/" |
30 |
-SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.bz2" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~x86" |
35 |
-IUSE="debug doc ipoe lua postgres radius shaper snmp valgrind" |
36 |
- |
37 |
-RDEPEND="lua? ( dev-lang/lua:0 ) |
38 |
- postgres? ( dev-db/postgresql:* ) |
39 |
- snmp? ( net-analyzer/net-snmp ) |
40 |
- dev-libs/libpcre |
41 |
- dev-libs/openssl:0" |
42 |
-DEPEND="${RDEPEND} |
43 |
- valgrind? ( dev-util/valgrind )" |
44 |
-PDEPEND="net-dialup/ppp-scripts" |
45 |
- |
46 |
-DOCS=( README ) |
47 |
- |
48 |
-CONFIG_CHECK="~L2TP ~PPPOE ~PPTP" |
49 |
- |
50 |
-REQUIRED_USE="valgrind? ( debug )" |
51 |
- |
52 |
-PATCHES=( |
53 |
- "${FILESDIR}/${PN}-1.11.1-socklen.patch" |
54 |
-) |
55 |
- |
56 |
-S="${WORKDIR}" |
57 |
- |
58 |
-pkg_setup() { |
59 |
- if use ipoe; then |
60 |
- linux-mod_pkg_setup |
61 |
- set_arch_to_kernel |
62 |
- else |
63 |
- linux-info_pkg_setup |
64 |
- fi |
65 |
-} |
66 |
- |
67 |
-src_prepare() { |
68 |
- sed -i -e "/mkdir/d" \ |
69 |
- -e "s: RENAME accel-ppp.conf.dist::" accel-pppd/CMakeLists.txt || die 'sed on accel-pppd/CMakeLists.txt failed' |
70 |
- |
71 |
- # Do not install kernel modules like that - breaks sandbox! |
72 |
- sed -i -e '/modules_install/d' \ |
73 |
- drivers/ipoe/CMakeLists.txt \ |
74 |
- drivers/vlan_mon/CMakeLists.txt || die |
75 |
- |
76 |
- # Bug #549918 |
77 |
- append-ldflags -Wl,-z,lazy |
78 |
- |
79 |
- cmake-utils_src_prepare |
80 |
-} |
81 |
- |
82 |
-src_configure() { |
83 |
- local libdir="$(get_libdir)" |
84 |
- # There must be also dev-libs/tomcrypt (TOMCRYPT) as crypto alternative to OpenSSL |
85 |
- local mycmakeargs=( |
86 |
- -DLIB_SUFFIX="${libdir#lib}" |
87 |
- -DBUILD_IPOE_DRIVER="$(usex ipoe)" |
88 |
- -DBUILD_PPTP_DRIVER=no |
89 |
- -DBUILD_VLAN_MON_DRIVER="$(usex ipoe)" |
90 |
- -DCRYPTO=OPENSSL |
91 |
- -DLOG_PGSQL="$(usex postgres)" |
92 |
- -DLUA="$(usex lua)" |
93 |
- -DMEMDEBUG="$(usex debug)" |
94 |
- -DNETSNMP="$(usex snmp)" |
95 |
- -DRADIUS="$(usex radius)" |
96 |
- -DSHAPER="$(usex shaper)" |
97 |
- $(use debug && echo "-DVALGRIND=$(usex valgrind)") |
98 |
- ) |
99 |
- cmake-utils_src_configure |
100 |
-} |
101 |
- |
102 |
-src_compile() { |
103 |
- cmake-utils_src_compile |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- if use ipoe; then |
108 |
- local MODULE_NAMES="ipoe(accel-ppp:${BUILD_DIR}/drivers/ipoe/driver) vlan_mon(accel-ppp:${BUILD_DIR}/drivers/vlan_mon/driver)" |
109 |
- linux-mod_src_install |
110 |
- fi |
111 |
- |
112 |
- cmake-utils_src_install |
113 |
- |
114 |
- use doc && dodoc -r rfc |
115 |
- |
116 |
- if use snmp; then |
117 |
- insinto /usr/share/snmp/mibs |
118 |
- doins accel-pppd/extra/net-snmp/ACCEL-PPP-MIB.txt |
119 |
- fi |
120 |
- |
121 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN}d |
122 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN}d |
123 |
- |
124 |
- dodir /var/log/accel-ppp |
125 |
-} |