Portage is a package management system used by Gentoo Linux
# ChangeLog for net-dialup/rp-pppoe
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.96 2008/06/30 21:40:25 mrness Exp $
*rp-pppoe-3.10 (30 Jun 2008)
30 Jun 2008; Alin Năstac
+files/rp-pppoe-3.10-autotools.patch,
+files/rp-pppoe-3.10-gentoo-netscripts.patch,
+files/rp-pppoe-3.10-linux-headers.patch,
+files/rp-pppoe-3.10-plugin-options.patch,
+files/rp-pppoe-3.10-session-offset.patch,
+files/rp-pppoe-3.10-username-charset.patch, rp-pppoe-3.8-r2.ebuild,
+rp-pppoe-3.10.ebuild:
Version bump (#230013). Depend on
30 Jun 2008; Friedrich Oslage
rp-pppoe-3.8-r2.ebuild:
Stable on sparc, bug #227197
28 Jun 2008; Tobias Klausmann
rp-pppoe-3.8-r2.ebuild:
Stable on alpha, bug #227197
21 Jun 2008; Markus Rothe
Stable on ppc64; bug #227197
19 Jun 2008; Christian Faulhammer
rp-pppoe-3.8-r2.ebuild:
stable x86, bug 227197
17 Jun 2008; Jeroen Roovers
Stable for HPPA (bug #227197).
15 Jun 2008; Alin Năstac
+files/rp-pppoe-3.8-autoheader.patch, rp-pppoe-3.8-r2.ebuild:
Use eautoreconf instead eautoconf. Drop bindnow-flags (#226999).
*rp-pppoe-3.8-r2 (06 Jan 2008)
06 Jan 2008; Alin Năstac
+files/rp-pppoe-3.8-session-offset.patch, +rp-pppoe-3.8-r2.ebuild:
Propagate pppoe-server session offset to PPP interface name, thanks to
Aleksey Shipilev
06 May 2007; Marius Mauch
Replacing einfo with elog
*rp-pppoe-3.8-r1 (14 Apr 2007)
14 Apr 2007; Alin Năstac
+rp-pppoe-3.8-r1.ebuild:
Revision bump (bug 159747 comment 25).
10 Mar 2007; Alin Năstac
Remove references to $ROOT from src_install (#168039).
05 Jan 2007; Alin Năstac
Remove obsolete setup & postinst messages. Fix bug #160167.
04 Jan 2007; Alin Năstac
+files/rp-pppoe-3.8-configure.patch, -files/rp-pppoe-3.8-no-strip.patch,
rp-pppoe-3.8.ebuild:
Fix broken compilation on glibc-2.5 (#159896).
23 Sep 2006; Alin Nastac
+files/rp-pppoe-3.8-no-strip.patch, rp-pppoe-3.8.ebuild:
Avoid pre-stripped binaries QA warning.
22 Sep 2006; Alin Nastac
-files/rp-pppoe-3.5-dsa-557.patch,
-files/rp-pppoe-3.5-gentoo-netscripts.patch,
-files/rp-pppoe-3.5-on-demand-with-plugin.patch,
-files/rp-pppoe-3.5-username-charset.patch,
-files/rp-pppoe-3.7-gentoo-netscripts.patch,
-files/rp-pppoe-3.7-on-demand-with-plugin.patch,
-files/rp-pppoe-3.7-plugin-options.patch,
-files/rp-pppoe-3.7-username-charset.patch, -rp-pppoe-3.5-r11.ebuild,
-rp-pppoe-3.7.ebuild:
Remove obsolete versions.
22 Sep 2006;
stable on amd64
04 Sep 2006; Joshua Kinard
Marked stable on mips.
10 Jul 2006; Thomas Cort
Stable on alpha.
10 Jun 2006; Michael Hanselmann
Stable on ppc.
09 Jun 2006; Markus Rothe
Stable on ppc64
06 Jun 2006; Gustavo Zacarias
Stable on sparc
02 Jun 2006; Alin Nastac
Stable on x86.
26 May 2006; Danny van Dyk
Marked stable on amd64.
23 May 2006; Markus Rothe
Stable on ppc64
14 May 2006; Thomas Cort
Stable on alpha.
24 Apr 2006; Joshua Kinard
Marked stable on mips.
*rp-pppoe-3.8 (21 Apr 2006)
21 Apr 2006; Alin Nastac
+files/rp-pppoe-3.8-gentoo-netscripts.patch,
+files/rp-pppoe-3.8-plugin-options.patch,
+files/rp-pppoe-3.8-username-charset.patch, +rp-pppoe-3.8.ebuild:
Version bump. The new version fixes a bug in MD5 code that caused
pppoe-server to segfault on 64-bit arches (#130571).
01 Apr 2006; Alin Nastac
Bail out in pkg_setup if the old /etc/init.d/rp-pppoe still exist.
22 Mar 2006; Michael Hanselmann
Stable on ppc.
20 Mar 2006; Gustavo Zacarias
Stable on sparc
16 Mar 2006; Alin Nastac
-files/rp-pppoe-3.6-gentoo-netscripts.patch,
-files/rp-pppoe-3.6-on-demand-with-plugin.patch,
-files/rp-pppoe-3.6-plugin-options.patch,
-files/rp-pppoe-3.6-username-charset.patch, -rp-pppoe-3.6.ebuild,
rp-pppoe-3.7.ebuild:
Remove obsolete test version. Quote $FILESDIR, $S and $D. Stable on x86.
*rp-pppoe-3.7 (06 Feb 2006)
06 Feb 2006; Alin Nastac
+files/rp-pppoe-3.7-gentoo-netscripts.patch,
+files/rp-pppoe-3.7-on-demand-with-plugin.patch,
+files/rp-pppoe-3.7-plugin-options.patch,
+files/rp-pppoe-3.7-username-charset.patch, +rp-pppoe-3.7.ebuild:
Version bump (#121836).
06 Jan 2006; Alin Nastac
rp-pppoe-3.6.ebuild:
Remove duplicate dependencies and unnecessary tcltk useflag (#117963).
25 Dec 2005; Diego Pettenò
Use bindnow-flags function instead of -Wl,-z,now.
*rp-pppoe-3.6 (12 Oct 2005)
12 Oct 2005; Alin Nastac
+files/rp-pppoe-3.6-gentoo-netscripts.patch,
+files/rp-pppoe-3.6-on-demand-with-plugin.patch,
+files/rp-pppoe-3.6-plugin-options.patch,
+files/rp-pppoe-3.6-username-charset.patch, +rp-pppoe-3.6.ebuild:
Version bump (#102820).
23 Jun 2005; Yuta SATOH
added ~ppc64
21 Jun 2005; Alin Nastac
rp-pppoe-3.5-r11.ebuild:
Remove the rp-pppoe init script. The new way of using rp-pppoe is through
adsl net module of the baselayout-1.11.12-r4.
24 May 2005; Alin Nastac
-files/rp-pppoe-3.5-connect-on-demand.patch, -rp-pppoe-3.5-r10.ebuild:
Remove obsolete version.
11 May 2005; Alin Nastac
Stable on all arches.
*rp-pppoe-3.5-r11 (05 May 2005)
05 May 2005; Alin Nastac
+files/rp-pppoe-3.5-on-demand-with-plugin.patch, +rp-pppoe-3.5-r11.ebuild:
Fix order of pppd parameters when DEMAND & LINUX_PLUGIN are used (#89609).
*rp-pppoe-3.5-r10 (25 Apr 2005)
25 Apr 2005; Alin Nastac
files/rp-pppoe-3.5-username-charset.patch, -rp-pppoe-3.5-r9.ebuild,
+rp-pppoe-3.5-r10.ebuild:
Fix username-charset patch (#90219)
16 Apr 2005; Alin Nastac
-rp-pppoe-3.5-r8.ebuild, rp-pppoe-3.5-r9.ebuild:
Mark stable on all arches and remove old versions
*rp-pppoe-3.5-r9 (17 Mar 2005)
17 Mar 2005; Alin Nastac
+files/rp-pppoe-3.5-connect-on-demand.patch, +rp-pppoe-3.5-r9.ebuild:
Fix pppd parameters when on-demand is enabled (#85535).
*rp-pppoe-3.5-r8 (08 Mar 2005)
08 Mar 2005; Alin Nastac
+files/rp-pppoe-3.5-username-charset.patch, +rp-pppoe-3.5-r8.ebuild:
Add support for special chars in username (#82410), thanks to Pierluigi
Petrelli
04 Mar 2005; Alin Nastac
-files/rp-pppoe-3.5-pidfile.patch, -rp-pppoe-3.5-r2.ebuild,
-rp-pppoe-3.5-r6.ebuild:
Remove obsolete versions.
02 Mar 2005; Hardave Riar
Stable on mips, bug #81702
19 Feb 2005; Bryan Østergaard
Stable on alpha, bug 81702.
17 Feb 2005; Michael Hanselmann
Stable on hppa.
14 Feb 2005; Simon Stelling
stable on amd64 wrt bug 81702
14 Feb 2005; Gustavo Zacarias
Stable on sparc wrt #81702
13 Feb 2005; Michael Hanselmann
rp-pppoe-3.5-r7.ebuild:
Stable on ppc.
*rp-pppoe-3.5-r7 (13 Feb 2005)
13 Feb 2005; Alin Nastac
Fix problem with version of pppd plugin - use rp-pppoe.so from current
version of pppd (#81746).
12 Feb 2005; Alin Nastac
-files/rp-pppoe-3.5-netscripts.patch, -rp-pppoe-3.5-r5.ebuild,
rp-pppoe-3.5-r6.ebuild:
Mark revision 6 as stable on x86 and remove old testing ebuild.
*rp-pppoe-3.5-r6 (23 Jan 2005)
23 Jan 2005; Alin Nastac
Add kernel support for PPPoE, thanks to Yuri Karaban
22 Jan 2005; Markus Nigbur
Fixed SRC_URI. Added tcltk to IUSE.
29 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
*rp-pppoe-3.5-r5 (03 Dec 2004)
03 Dec 2004; Mike Frysinger
+files/rp-pppoe-3.5-gentoo-netscripts.patch, +rp-pppoe-3.5-r5.ebuild:
Fix net-script integration. Patch by Andreas Kauer #68934.
*rp-pppoe-3.5-r4 (15 Nov 2004)
15 Nov 2004; Alin Nastac
+rp-pppoe-3.5-r4.ebuild:
Fix adsl-stop to kill pppoe instead pppd (see #67209). Avoid QA notices
regarding lazy bindings.
*rp-pppoe-3.5-r3 (23 Oct 2004)
23 Oct 2004; Aron Griffis
Use netscripts patch instead of pidfile patch to integrate with
baselayout-1.11.x
16 Oct 2004; Hardave Riar
Stable on mips, bug #66296.
08 Oct 2004;
stable ppc gsla: 66296
08 Oct 2004; Gustavo Zacarias
Stable on sparc wrt #66296
08 Oct 2004; Bryan Østergaard
Stable on alpha, bug 66296.
07 Oct 2004; Jeremy Huddleston
provide net -> use net to clear up 'Cannot add provide 'net', as a service
with the same name exists\!' bug. This is not the best solution to this
problem as this package both needs and provides net. The best thing to do is
create predown and postup in /etc/init.d/net.eth0.
07 Oct 2004; Jeremy Huddleston
rp-pppoe-3.5-r2.ebuild:
Stable amd64.
*rp-pppoe-3.5-r2 (07 Oct 2004)
07 Oct 2004; Heinrich Wendel
+files/rp-pppoe-3.5-dsa-557.patch, +rp-pppoe-3.5-r2.ebuild:
security fix, bug #66296
27 Sep 2004; Daniel Black
)) error as per bug #65516. Thanks Heiko Helmle
27 Sep 2004; Heinrich Wendel
-rp-pppoe-3.5.ebuild:
fix tcltk useflag, bug #53986; remove old version
24 Sep 2004; Daniel Black
files/rp-pppoe.rc changed from need net to provide net as per bug #46906.
Thanks spanky.
*rp-pppoe-3.5-r1 (14 Jun 2004)
14 Jun 2004; Aron Griffis
+files/rp-pppoe-3.5-pidfile.patch, +rp-pppoe-3.5-r1.ebuild:
Add pidfile override to enable net.eth0 changes to support adsl for bug 24975
(net.eth0 with support for bringing up adsl interfaces)
09 Jun 2004; Aron Griffis
Fix use invocation
12 Feb 2004; Heinrich Wendel
remove background option to fix bug #40164
01 Jan 2004;
Added mips to KEYWORDS
24 Dec 2003; Jason Wever
Marked stable on sparc.
19 Nov 2003; Heinrich Wendel
metadata.xml
03 Nov 2003; Heinrich Wendel
bug #25951
02 Oct 2003; Heinrich Wendel
bug #30121
15 Sep 2003; Heinrich Wendel
files/rp-pppoe.rc:
added init script
added info at the end how to configure connection
21 Aug 2003; Will Woods
Marked stable for alpha
01 Aug 2003; Aron Griffis
Add ~alpha to KEYWORDS for bug 18488
*rp-pppoe-3.5 (23 May 2003)
28 Jul 2003; Guy Martin
Added hppa to KEYWORDS.
25 Jul 2003; Mike Frysinger
Added sandbox predict to /dev/ppp to fix #24833.
23 May 2003; Chuck Brewer
Added manifest.
05 Jan 2003: Jason Wever
Added ~sparc to keywords.
11 Dec 2002; Ryan Phillips
New version. Includes Maurizio Disimino's changes. Fixes #8782
*rp-pppoe-3.4-r2 (27 Oct 2002)
27 Oct 2002; Ryan Phillips
Included ebuild patch from Pierre-Henri Jondot that fixes the sandbox
violations. Fixes #8946
*rp-pppoe-3.4-r1 (27 Jul 2002)
27 Sep 2002; Seemant Kulleen
rp-pppoe-3.4-r1.ebuild :
If "tcltk" is in USE, then the tkpppoe front end will get installed.
Thanks to: tobi.bayer@gmx.de (Tobias Bayer) in bug #8419 for catching
this.
30 Aug 2002; Sascha Schwabbauer
Added ppc to keywords.
21 Aug 2002; Dan Armak
Fix typo in HOMEPAGE. Close #6789.
27 Jul 2002; Seemant Kulleen
files/digest-rp-pppoe-3.3 :
Resurrected for now.
*rp-pppoe-3.4 (21 Jun 2002)
21 Jun 2002; Ryan Phillips
New version
*rp-pppoe-3.3-r1 (13 Feb 2003)
13 Jul 2003; Daniel Ahlberg
Added missing changelog entry.
*rp-pppoe-3.3 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX rp-pppoe-3.10-autotools.patch 3879 RMD160 09294eef31ffa7bbef0b2bf11370f839d7daa6da SHA1 0b15045295976be5b2e589877b32a14e581e620e SHA256 3895842d42234f632681ab3b88a55d9b7a53c6c469c7399eb708ea699bc629c3
AUX rp-pppoe-3.10-gentoo-netscripts.patch 5238 RMD160 8aa0e19fc56145d082bb8e2fd42065c28d8f140d SHA1 da66c718e9c4c15f09b4118287b9a4c78c39a58d SHA256 c9c4997c3db1d0d350d285f371575b12cb15f15dfeac920b2fe573bff85754dc
AUX rp-pppoe-3.10-linux-headers.patch 823 RMD160 bd0bb516a130d9e96dcc95bcff1b5a910fdc62fb SHA1 923c0309182d7122dcf65ef66c327ea3a29869bb SHA256 39c854283b6a3d4ef382fb8aa1339b6a64be42c0922fa48ecc9b0c19e2a103e6
AUX rp-pppoe-3.10-plugin-options.patch 1372 RMD160 2a2ece24592ca57fd77b8caef1537915852b2a31 SHA1 03a1f00a4d053de2f3d2603d412590c5a41db681 SHA256 18bc857fab3ff8c206bb627815d587393a3b2ce278e3bac02855f4d8b5997a7f
AUX rp-pppoe-3.10-session-offset.patch 832 RMD160 b19ea52c28dd5e20cf241599816325b5646db6ef SHA1 c4fbf84eb5aa56c74a63c57cc71c4700d9d5f4e0 SHA256 66499b084aab890c61399c703e21ba00a46d93da1f36e87674a27026b0c2f013
AUX rp-pppoe-3.10-username-charset.patch 1950 RMD160 3131ca35dc17e890b03aaa5addab2973db0eade3 SHA1 72593a3fdaa67900e0226a751f8d7839576c3815 SHA256 1a6df9197e108e310e90ca52f1d8b14b59fb368f59184aed3dc30abb9ca77417
AUX rp-pppoe-3.8-autoheader.patch 1637 RMD160 9ae351b2a33f357ba1948e3bdd1da1eef7806638 SHA1 a5bcd4d746b1513ccde381cb201deba3dc56f974 SHA256 bdeb7c479af8c84bab1cdcf18b76d8cb141c3919ceedf120a5ece802395bd206
AUX rp-pppoe-3.8-configure.patch 2718 RMD160 fd30c474c49c27c8c6c1bc8d529165eabd7d5de7 SHA1 183d7fe2567f74c7fa8227f7d4a83fdfef966626 SHA256 746d3581e8c8a31d1848b76cc071ad82a4d4f81c31b79b5e285344eaa3065915
AUX rp-pppoe-3.8-gentoo-netscripts.patch 5218 RMD160 9ba899b3282ce0bae119e35c5d610c697f11565a SHA1 b04de3b2417b4f0bfba1cea22d27bbb0456d7bce SHA256 4b1018f1f9d1ed7fb8ef6f63fced3850128536954c82273c10ab660b2daf849c
AUX rp-pppoe-3.8-plugin-options.patch 1364 RMD160 8af5cccf80a2c1b26fa50e4ee0da749dacc44222 SHA1 38868f162dc64c69673f1a85dc22bfcbbe7183dc SHA256 508bedec65a24eb876b2eb2151adce84efd51689e8472383debb01b29b82be13
AUX rp-pppoe-3.8-session-offset.patch 828 RMD160 c09fa3ccaa03bd8e1f0b1bce436eec21cd3eb179 SHA1 6160d3345c9a108ca0933eaba548711a5f76d5be SHA256 2428f350d6a9d654401e87def8faa7fc12fb3c6d9a7a698590716391efef30c0
AUX rp-pppoe-3.8-username-charset.patch 1946 RMD160 9aa18182f5a611f54041162976b4f33740439443 SHA1 423b76327e679b48cfee6dca6d611012680b2830 SHA256 21209268903d2c359e5eb4547ab6417f0c63d41791fe413728d690ed879c93bd
DIST ppp-2.4.3.tar.gz 688092 RMD160 845821496bacb07d93bb7572a171854853ef722b SHA1 5e2789f4dedc81943fa9f94c840cccc2407056f7 SHA256 1e0fddb5f53613dd14ab10b25435e88092fed1eff09b4ac4448d5be01f3b0b11
DIST ppp-2.4.4.tar.gz 688763 RMD160 ed289a4506c3af41a72f88103d5e0be44dec3da7 SHA1 9b91b0117e0a8bfaf8c4e894af79e0960dd36259 SHA256 58af45fc07e5f326eea2408df770ea40e4626d1a15e7d564dd054d74880e91ea
DIST rp-pppoe-3.10.tar.gz 215288 RMD160 97a07e49a0bd62cc7ea92985da3b9409f5f86207 SHA1 183372b84c1bb8e22d1bd8be05a280d948ae41f9 SHA256 709ca7402594acc1d80b99c20219112b5c00e6ac48ae6049fc626fbaf4ce49f6
DIST rp-pppoe-3.8.tar.gz 212931 RMD160 039798154acae9e7a066172f23904d766ba68a9a SHA1 d9a4346701e580b4a6049a940557b38533f9e8f7 SHA256 d916e9cfe1e62395f63a5361936fa855f6d0f0a37dc7227b394cdb725f553479
EBUILD rp-pppoe-3.10.ebuild 2369 RMD160 0e2879a79bb17327314976b4fe32788fce7a9c14 SHA1 fbd4a69411391e3e820f7dcc3b30466179d24ab7 SHA256 a6f55ccfff361078c10e93ba82b07a51b218ec7bf8b7f662c30fd927e7e5effc
EBUILD rp-pppoe-3.8-r1.ebuild 2397 RMD160 5f140f9f37f425d56b1d7cbd2ae7fcaabffe4d70 SHA1 384790e3402470966fa7b3865608ecc03af2994d SHA256 1186eca50e80fa3e650dd5d77624b00f9f582a1d2c7d5e8227a29468ff9262cc
EBUILD rp-pppoe-3.8-r2.ebuild 2377 RMD160 fbecbcd287ca023e15473d24a244c653a889fe5a SHA1 a4d45ee239fb0a1fe28f92d409862a16e01e8e9e SHA256 fa5c49c062d606a766726fb154d68cbeaeaa4d5c749e8b22089bda826e6617fb
MISC ChangeLog 14721 RMD160 eb483d70b174c66e308f3ada9fb4758addf03b0b SHA1 d0572c97a0d4fbd99231d491b6899a1c0a70c3ae SHA256 d17e70f34a3ab0040681f40144d7d4528c203e2ff7c7f3c0b7719951f95229ad
MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhpUtkACgkQPrHvTlXvhtuSBgCdFHL6vVBCbOyfkshvJI9x1UbU
zkgAoJrLAQrp8XFHdre3XYD60LIzlHTA
=qtiZ
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.10.ebuild,v 1.1 2008/06/30 21:40:25 mrness Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils flag-o-matic autotools
DESCRIPTION="A user-mode PPPoE client and server suite for Linux"
HOMEPAGE="http://www.roaringpenguin.com/pppoe/"
SRC_URI="http://www.roaringpenguin.com/files/download/${P}.tar.gz
ftp://ftp.samba.org/pub/ppp/ppp-2.4.4.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="X"
DEPEND="
X? ( dev-lang/tk )"
src_unpack() {
unpack ${A} || die "failed to unpack"
# Patch to enable integration of pppoe-start and pppoe-stop with
# baselayout-1.11.x so that the pidfile can be found reliably per interface
epatch "${FILESDIR}/${P}-gentoo-netscripts.patch"
epatch "${FILESDIR}/${P}-username-charset.patch" # bug 82410
epatch "${FILESDIR}/${P}-plugin-options.patch"
epatch "${FILESDIR}/${P}-autotools.patch"
epatch "${FILESDIR}/${P}-session-offset.patch" # bug 204476
epatch "${FILESDIR}/${P}-linux-headers.patch"
cd "${S}"/src
eautoreconf
}
src_compile() {
addpredict /dev/ppp
cd "${S}/src"
econf --enable-plugin=../../ppp-2.4.4 || die "econf failed"
emake || die "emake failed"
if use X; then
make -C "${S}/gui" || die "gui make failed"
fi
}
src_install () {
cd "${S}/src"
emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install \
|| die "install failed"
#Don't use compiled rp-pppoe plugin - see pkg_preinst below
rm "${D}/etc/ppp/plugins/rp-pppoe.so"
prepalldocs
if use X; then
emake -C "${S}/gui" DESTDIR="${D}" datadir=/usr/share/doc/${PF}/ install \
|| die "gui install failed"
dosym /usr/share/doc/${PF}/tkpppoe /usr/share/tkpppoe
fi
}
pkg_preinst() {
# Use the rp-pppoe plugin that comes with net-dialup/pppd
local PPPD_VER=`best_version net-dialup/ppp`
PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
PPPD_VER=${PPPD_VER%%-*} #reduce it to ${PV}
if [ -n "${PPPD_VER}" ] && [ -f "${ROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then
dosym /usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so
fi
}
pkg_postinst() {
elog "Use pppoe-setup to configure your dialup connection."
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.8-r1.ebuild,v 1.2 2007/05/06 08:11:04 genone Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils flag-o-matic autotools
DESCRIPTION="A user-mode PPPoE client and server suite for Linux"
HOMEPAGE="http://www.roaringpenguin.com/pppoe/"
SRC_URI="http://www.roaringpenguin.com/penguin/pppoe/${P}.tar.gz
ftp://ftp.samba.org/pub/ppp/ppp-2.4.3.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa mips ppc ppc64 sh sparc x86"
IUSE="X"
DEPEND="net-dialup/ppp
X? ( dev-lang/tk )"
src_unpack() {
unpack ${A} || die "failed to unpack"
# Patch to enable integration of adsl-start and adsl-stop with
# baselayout-1.11.x so that the pidfile can be found reliably per interface
epatch "${FILESDIR}/${P}-gentoo-netscripts.patch"
epatch "${FILESDIR}/${P}-username-charset.patch" #82410
epatch "${FILESDIR}/${P}-plugin-options.patch"
epatch "${FILESDIR}/${P}-configure.patch"
cd "${S}"
#Avoid "setXid, dynamically linked and using lazy bindings" QA notice
sed -i -e 's:\(@CC@\) \(-o pppoe-wrapper wrapper.o\):\1 '$(bindnow-flags)' \2:' gui/Makefile.in
cd src
eautoconf
}
src_compile() {
addpredict /dev/ppp
cd "${S}/src"
econf --enable-plugin=../../ppp-2.4.3 || die "econf failed"
emake || die "emake failed"
if use X; then
make -C "${S}/gui" || die "gui make failed"
fi
}
src_install () {
cd "${S}/src"
make RPM_INSTALL_ROOT="${D}" docdir=/usr/share/doc/${PF} install \
|| die "install failed"
#Don't use compiled rp-pppoe plugin - see pkg_preinst below
rm "${D}/etc/ppp/plugins/rp-pppoe.so"
prepalldocs
if use X; then
make -C "${S}/gui" install RPM_INSTALL_ROOT="${D}" \
datadir=/usr/share/doc/${PF}/ || die "gui install failed"
dosym /usr/share/doc/${PF}/tkpppoe /usr/share/tkpppoe
fi
}
pkg_preinst() {
# Use the rp-pppoe plugin that comes with net-dialup/pppd
local PPPD_VER=`best_version net-dialup/ppp`
PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
PPPD_VER=${PPPD_VER%%-*} #reduce it to ${PV}
if [ -n "${PPPD_VER}" ] && [ -f "${ROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then
dosym /usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so
fi
}
pkg_postinst() {
elog "Use pppoe-setup to configure your dialup connection."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild,v 1.8 2008/06/30 21:40:25 mrness Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils flag-o-matic autotools
DESCRIPTION="A user-mode PPPoE client and server suite for Linux"
HOMEPAGE="http://www.roaringpenguin.com/pppoe/"
SRC_URI="http://www.roaringpenguin.com/penguin/pppoe/${P}.tar.gz
ftp://ftp.samba.org/pub/ppp/ppp-2.4.3.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ~arm hppa ~mips ~ppc ppc64 ~sh sparc x86"
IUSE="X"
DEPEND="
X? ( dev-lang/tk )"
src_unpack() {
unpack ${A} || die "failed to unpack"
# Patch to enable integration of pppoe-start and pppoe-stop with
# baselayout-1.11.x so that the pidfile can be found reliably per interface
epatch "${FILESDIR}/${P}-gentoo-netscripts.patch"
epatch "${FILESDIR}/${P}-username-charset.patch" # bug 82410
epatch "${FILESDIR}/${P}-plugin-options.patch"
epatch "${FILESDIR}/${P}-configure.patch"
epatch "${FILESDIR}/${P}-autoheader.patch"
epatch "${FILESDIR}/${P}-session-offset.patch" # bug 204476
cd "${S}"/src
eautoreconf
}
src_compile() {
addpredict /dev/ppp
cd "${S}/src"
econf --enable-plugin=../../ppp-2.4.3 || die "econf failed"
emake || die "emake failed"
if use X; then
make -C "${S}/gui" || die "gui make failed"
fi
}
src_install () {
cd "${S}/src"
make RPM_INSTALL_ROOT="${D}" docdir=/usr/share/doc/${PF} install \
|| die "install failed"
#Don't use compiled rp-pppoe plugin - see pkg_preinst below
rm "${D}/etc/ppp/plugins/rp-pppoe.so"
prepalldocs
if use X; then
make -C "${S}/gui" install RPM_INSTALL_ROOT="${D}" \
datadir=/usr/share/doc/${PF}/ || die "gui install failed"
dosym /usr/share/doc/${PF}/tkpppoe /usr/share/tkpppoe
fi
}
pkg_preinst() {
# Use the rp-pppoe plugin that comes with net-dialup/pppd
local PPPD_VER=`best_version net-dialup/ppp`
PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
PPPD_VER=${PPPD_VER%%-*} #reduce it to ${PV}
if [ -n "${PPPD_VER}" ] && [ -f "${ROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then
dosym /usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so
fi
}
pkg_postinst() {
elog "Use pppoe-setup to configure your dialup connection."
}