From: | "Sergey Popov (pinkbyte)" <pinkbyte@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-dialup/accel-ppp: ChangeLog accel-ppp-1.8.0.ebuild |
Date: | Fri, 06 Jun 2014 09:09:41 |
Message-Id: | 20140606090937.348CF2004E@flycatcher.gentoo.org |
1 | pinkbyte 14/06/06 09:09:37 |
2 | |
3 | Modified: ChangeLog |
4 | Added: accel-ppp-1.8.0.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) |
9 | |
10 | Revision Changes Path |
11 | 1.8 net-dialup/accel-ppp/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/accel-ppp/ChangeLog?rev=1.8&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/accel-ppp/ChangeLog?rev=1.8&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/accel-ppp/ChangeLog?r1=1.7&r2=1.8 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-dialup/accel-ppp/ChangeLog,v |
20 | retrieving revision 1.7 |
21 | retrieving revision 1.8 |
22 | diff -u -r1.7 -r1.8 |
23 | --- ChangeLog 5 Jun 2014 08:09:28 -0000 1.7 |
24 | +++ ChangeLog 6 Jun 2014 09:09:36 -0000 1.8 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-dialup/accel-ppp |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-dialup/accel-ppp/ChangeLog,v 1.7 2014/06/05 08:09:28 pinkbyte Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-dialup/accel-ppp/ChangeLog,v 1.8 2014/06/06 09:09:36 pinkbyte Exp $ |
30 | + |
31 | +*accel-ppp-1.8.0 (06 Jun 2014) |
32 | + |
33 | + 06 Jun 2014; Sergey Popov <pinkbyte@g.o> +accel-ppp-1.8.0.ebuild: |
34 | + Version bump |
35 | |
36 | 05 Jun 2014; Sergey Popov <pinkbyte@g.o> accel-ppp-1.7.4.ebuild, |
37 | accel-ppp-1.7.9999.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 net-dialup/accel-ppp/accel-ppp-1.8.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/accel-ppp/accel-ppp-1.8.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/accel-ppp/accel-ppp-1.8.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: accel-ppp-1.8.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-dialup/accel-ppp/accel-ppp-1.8.0.ebuild,v 1.1 2014/06/06 09:09:37 pinkbyte Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit cmake-utils linux-info multilib |
55 | |
56 | DESCRIPTION="High performance PPTP, PPPoE and L2TP server" |
57 | HOMEPAGE="http://accel-ppp.sourceforge.net/" |
58 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="debug doc postgres radius shaper snmp valgrind" |
64 | |
65 | RDEPEND="postgres? ( dev-db/postgresql-base ) |
66 | snmp? ( net-analyzer/net-snmp ) |
67 | dev-libs/libpcre |
68 | dev-libs/openssl:0" |
69 | DEPEND="${RDEPEND} |
70 | valgrind? ( dev-util/valgrind )" |
71 | |
72 | DOCS=( README ) |
73 | CONFIG_CHECK="~L2TP ~PPPOE ~PPTP" |
74 | |
75 | src_prepare() { |
76 | sed -i -e "/mkdir/d" \ |
77 | -e "/echo/d" \ |
78 | -e "s: RENAME accel-ppp.conf.dist::" accel-pppd/CMakeLists.txt || die 'sed on accel-pppd/CMakeLists.txt failed' |
79 | |
80 | epatch_user |
81 | } |
82 | |
83 | src_configure() { |
84 | local libdir="$(get_libdir)" |
85 | # There must be also dev-libs/tomcrypt (TOMCRYPT) as crypto alternative to OpenSSL |
86 | # IPoE driver does not build properly :-( |
87 | local mycmakeargs=( |
88 | -DLIB_PATH_SUFFIX="${libdir#lib}" |
89 | -DBUILD_PPTP_DRIVER=FALSE |
90 | -DBUILD_IPOE_DRIVER=FALSE |
91 | -DCRYPTO=OPENSSL |
92 | $(cmake-utils_use debug MEMDEBUG) |
93 | $(cmake-utils_use postgres LOG_PGSQL) |
94 | $(cmake-utils_use radius RADIUS) |
95 | $(cmake-utils_use shaper SHAPER) |
96 | $(cmake-utils_use snmp NETSNMP) |
97 | $(cmake-utils_use valgrind VALGRIND) |
98 | ) |
99 | |
100 | cmake-utils_src_configure |
101 | } |
102 | |
103 | src_install() { |
104 | cmake-utils_src_install |
105 | |
106 | use doc && dodoc -r rfc |
107 | |
108 | if use snmp; then |
109 | insinto /usr/share/snmp/mibs |
110 | doins accel-pppd/extra/net-snmp/ACCEL-PPP-MIB.txt |
111 | fi |
112 | |
113 | newinitd "${FILESDIR}"/${PN}.initd ${PN}d |
114 | newconfd "${FILESDIR}"/${PN}.confd ${PN}d |
115 | |
116 | dodir /var/log/accel-ppp |
117 | } |