1 |
mrness 08/01/06 12:49:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rp-pppoe-3.8-r2.ebuild |
5 |
Log: |
6 |
Propagate pppoe-server session offset to PPP interface name, thanks to Aleksey Shipilev <aleksey.shipilev@×××××.com> (#204476). |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.89 net-dialup/rp-pppoe/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/ChangeLog?rev=1.89&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/ChangeLog?rev=1.89&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/ChangeLog?r1=1.88&r2=1.89 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v |
19 |
retrieving revision 1.88 |
20 |
retrieving revision 1.89 |
21 |
diff -u -r1.88 -r1.89 |
22 |
--- ChangeLog 6 May 2007 08:11:04 -0000 1.88 |
23 |
+++ ChangeLog 6 Jan 2008 12:49:18 -0000 1.89 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-dialup/rp-pppoe |
26 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.88 2007/05/06 08:11:04 genone Exp $ |
28 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.89 2008/01/06 12:49:18 mrness Exp $ |
30 |
+ |
31 |
+*rp-pppoe-3.8-r2 (06 Jan 2008) |
32 |
+ |
33 |
+ 06 Jan 2008; Alin Năstac <mrness@g.o> |
34 |
+ +files/rp-pppoe-3.8-session-offset.patch, +rp-pppoe-3.8-r2.ebuild: |
35 |
+ Propagate pppoe-server session offset to PPP interface name, thanks to |
36 |
+ Aleksey Shipilev <aleksey.shipilev@×××××.com> (#204476). |
37 |
|
38 |
06 May 2007; Marius Mauch <genone@g.o> rp-pppoe-3.8-r1.ebuild: |
39 |
Replacing einfo with elog |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: rp-pppoe-3.8-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild,v 1.1 2008/01/06 12:49:18 mrness Exp $ |
53 |
|
54 |
WANT_AUTOCONF="latest" |
55 |
WANT_AUTOMAKE="latest" |
56 |
|
57 |
inherit eutils flag-o-matic autotools |
58 |
|
59 |
DESCRIPTION="A user-mode PPPoE client and server suite for Linux" |
60 |
HOMEPAGE="http://www.roaringpenguin.com/pppoe/" |
61 |
SRC_URI="http://www.roaringpenguin.com/penguin/pppoe/${P}.tar.gz |
62 |
ftp://ftp.samba.org/pub/ppp/ppp-2.4.3.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
67 |
IUSE="X" |
68 |
|
69 |
DEPEND="net-dialup/ppp |
70 |
X? ( dev-lang/tk )" |
71 |
|
72 |
src_unpack() { |
73 |
unpack ${A} || die "failed to unpack" |
74 |
|
75 |
# Patch to enable integration of pppoe-start and pppoe-stop with |
76 |
# baselayout-1.11.x so that the pidfile can be found reliably per interface |
77 |
epatch "${FILESDIR}/${P}-gentoo-netscripts.patch" |
78 |
|
79 |
epatch "${FILESDIR}/${P}-username-charset.patch" # bug 82410 |
80 |
epatch "${FILESDIR}/${P}-plugin-options.patch" |
81 |
epatch "${FILESDIR}/${P}-configure.patch" |
82 |
epatch "${FILESDIR}/${P}-session-offset.patch" # bug 204476 |
83 |
|
84 |
cd "${S}" |
85 |
#Avoid "setXid, dynamically linked and using lazy bindings" QA notice |
86 |
sed -i -e 's:\(@CC@\) \(-o pppoe-wrapper wrapper.o\):\1 '$(bindnow-flags)' \2:' gui/Makefile.in |
87 |
|
88 |
cd src |
89 |
eautoconf |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
addpredict /dev/ppp |
94 |
|
95 |
cd "${S}/src" |
96 |
econf --enable-plugin=../../ppp-2.4.3 || die "econf failed" |
97 |
emake || die "emake failed" |
98 |
|
99 |
if use X; then |
100 |
make -C "${S}/gui" || die "gui make failed" |
101 |
fi |
102 |
} |
103 |
|
104 |
src_install () { |
105 |
cd "${S}/src" |
106 |
make RPM_INSTALL_ROOT="${D}" docdir=/usr/share/doc/${PF} install \ |
107 |
|| die "install failed" |
108 |
|
109 |
#Don't use compiled rp-pppoe plugin - see pkg_preinst below |
110 |
rm "${D}/etc/ppp/plugins/rp-pppoe.so" |
111 |
|
112 |
prepalldocs |
113 |
|
114 |
if use X; then |
115 |
make -C "${S}/gui" install RPM_INSTALL_ROOT="${D}" \ |
116 |
datadir=/usr/share/doc/${PF}/ || die "gui install failed" |
117 |
dosym /usr/share/doc/${PF}/tkpppoe /usr/share/tkpppoe |
118 |
fi |
119 |
} |
120 |
|
121 |
pkg_preinst() { |
122 |
# Use the rp-pppoe plugin that comes with net-dialup/pppd |
123 |
local PPPD_VER=`best_version net-dialup/ppp` |
124 |
PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} |
125 |
PPPD_VER=${PPPD_VER%%-*} #reduce it to ${PV} |
126 |
if [ -n "${PPPD_VER}" ] && [ -f "${ROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then |
127 |
dosym /usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so |
128 |
fi |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
elog "Use pppoe-setup to configure your dialup connection." |
133 |
} |
134 |
|
135 |
|
136 |
|
137 |
-- |
138 |
gentoo-commits@l.g.o mailing list |