From: | "Lars Wendler (polynomial-c)" <polynomial-c@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-dialup/rp-pppoe: rp-pppoe-3.11.ebuild ChangeLog |
Date: | Sun, 29 Dec 2013 23:02:24 |
Message-Id: | 20131229230219.5042D2004C@flycatcher.gentoo.org |
1 | polynomial-c 13/12/29 23:02:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rp-pppoe-3.11.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
9 | |
10 | Revision Changes Path |
11 | 1.104 net-dialup/rp-pppoe/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/rp-pppoe/ChangeLog?rev=1.104&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/rp-pppoe/ChangeLog?rev=1.104&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/rp-pppoe/ChangeLog?r1=1.103&r2=1.104 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v |
20 | retrieving revision 1.103 |
21 | retrieving revision 1.104 |
22 | diff -u -r1.103 -r1.104 |
23 | --- ChangeLog 12 May 2013 04:00:43 -0000 1.103 |
24 | +++ ChangeLog 29 Dec 2013 23:02:19 -0000 1.104 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-dialup/rp-pppoe |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.103 2013/05/12 04:00:43 patrick Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.104 2013/12/29 23:02:19 polynomial-c Exp $ |
30 | + |
31 | +*rp-pppoe-3.11 (29 Dec 2013) |
32 | + |
33 | + 29 Dec 2013; Lars Wendler <polynomial-c@g.o> +rp-pppoe-3.11.ebuild, |
34 | + +files/rp-pppoe-3.11-gentoo.patch: |
35 | + Version bump. |
36 | |
37 | 12 May 2013; Patrick Lauer <patrick@g.o> rp-pppoe-3.8-r2.ebuild: |
38 | Remove redundant WANT_AUTOMAKE |
39 | |
40 | |
41 | |
42 | 1.1 net-dialup/rp-pppoe/rp-pppoe-3.11.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.11.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.11.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: rp-pppoe-3.11.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2013 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.11.ebuild,v 1.1 2013/12/29 23:02:19 polynomial-c Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | inherit eutils flag-o-matic autotools |
56 | |
57 | DESCRIPTION="A user-mode PPPoE client and server suite for Linux" |
58 | HOMEPAGE="http://www.roaringpenguin.com/pppoe/" |
59 | SRC_URI="http://www.roaringpenguin.com/files/download/${P}.tar.gz |
60 | ftp://ftp.samba.org/pub/ppp/ppp-2.4.4.tar.gz" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
65 | IUSE="X" |
66 | |
67 | RDEPEND="net-dialup/ppp |
68 | X? ( dev-lang/tk )" |
69 | # see bug #230491 |
70 | DEPEND="|| ( <sys-kernel/linux-headers-2.6.24 >=sys-kernel/linux-headers-2.6.25 ) |
71 | ${RDEPEND}" |
72 | |
73 | src_prepare() { |
74 | # Patch to enable integration of pppoe-start and pppoe-stop with |
75 | # baselayout-1.11.x so that the pidfile can be found reliably per interface |
76 | epatch "${FILESDIR}/${PN}-3.10-gentoo-netscripts.patch" |
77 | |
78 | epatch "${FILESDIR}/${PN}-3.10-username-charset.patch" # bug 82410 |
79 | epatch "${FILESDIR}/${PN}-3.10-plugin-options.patch" |
80 | epatch "${FILESDIR}/${PN}-3.10-autotools.patch" |
81 | epatch "${FILESDIR}/${PN}-3.10-session-offset.patch" # bug 204476 |
82 | has_version '<sys-kernel/linux-headers-2.6.35' && \ |
83 | epatch "${FILESDIR}/${PN}-3.10-linux-headers.patch" #334197 |
84 | epatch "${FILESDIR}/${PN}-3.10-posix-source-sigaction.patch" |
85 | epatch "${FILESDIR}/${PN}-3.11-gentoo.patch" |
86 | |
87 | cd "${S}"/src || die |
88 | eautoreconf |
89 | } |
90 | |
91 | src_configure() { |
92 | addpredict /dev/ppp |
93 | |
94 | cd "${S}/src" || die |
95 | econf --enable-plugin=../../ppp-2.4.4 |
96 | } |
97 | |
98 | src_compile() { |
99 | cd "${S}/src" || die |
100 | emake |
101 | |
102 | if use X; then |
103 | make -C "${S}/gui" || die "gui make failed" |
104 | fi |
105 | } |
106 | |
107 | src_install () { |
108 | cd "${S}/src" || die |
109 | emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install |
110 | |
111 | #Don't use compiled rp-pppoe plugin - see pkg_preinst below |
112 | local pppoe_plugin="${D}/etc/ppp/plugins/rp-pppoe.so" |
113 | if [ -f "${pppoe_plugin}" ] ; then |
114 | rm "${pppoe_plugin}" || die |
115 | fi |
116 | |
117 | if use X; then |
118 | emake -C "${S}/gui" \ |
119 | DESTDIR="${D}" \ |
120 | datadir=/usr/share/doc/${PF}/ \ |
121 | install |
122 | dosym /usr/share/doc/${PF}/tkpppoe /usr/share/tkpppoe |
123 | fi |
124 | } |
125 | |
126 | pkg_preinst() { |
127 | # Use the rp-pppoe plugin that comes with net-dialup/pppd |
128 | local PPPD_VER=$(best_version net-dialup/ppp) |
129 | PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} |
130 | PPPD_VER=${PPPD_VER%%-*} #reduce it to ${PV} |
131 | if [ -n "${PPPD_VER}" ] && [ -f "${ROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then |
132 | dosym /usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so |
133 | fi |
134 | } |
135 | |
136 | pkg_postinst() { |
137 | elog "Use pppoe-setup to configure your dialup connection." |
138 | } |