summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-02-13 08:43:51 +0000
committerAlin Năstac <mrness@gentoo.org>2005-02-13 08:43:51 +0000
commita1aa707b8ea0a8b15d1bed456d53cb3bac3fa2ab (patch)
tree62584403462d947c0be28b48261a54d699e9d051 /net-dialup
parentadded net-analyzer/nagios-2 due do masked dependancy on net-analyzer/nagios-c... (diff)
downloadgentoo-2-a1aa707b8ea0a8b15d1bed456d53cb3bac3fa2ab.tar.gz
gentoo-2-a1aa707b8ea0a8b15d1bed456d53cb3bac3fa2ab.tar.bz2
gentoo-2-a1aa707b8ea0a8b15d1bed456d53cb3bac3fa2ab.zip
use rp-pppoe.so from current version of pppd (#81746)
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/rp-pppoe/ChangeLog8
-rw-r--r--net-dialup/rp-pppoe/Manifest14
-rw-r--r--net-dialup/rp-pppoe/files/digest-rp-pppoe-3.5-r72
-rw-r--r--net-dialup/rp-pppoe/rp-pppoe-3.5-r7.ebuild80
4 files changed, 97 insertions, 7 deletions
diff --git a/net-dialup/rp-pppoe/ChangeLog b/net-dialup/rp-pppoe/ChangeLog
index 8436e0388e34..5f21216dbb36 100644
--- a/net-dialup/rp-pppoe/ChangeLog
+++ b/net-dialup/rp-pppoe/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/rp-pppoe
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.43 2005/02/12 09:54:33 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.44 2005/02/13 08:43:51 mrness Exp $
+
+*rp-pppoe-3.5-r7 (13 Feb 2005)
+
+ 13 Feb 2005; Alin Nastac <mrness@gentoo.org> +rp-pppoe-3.5-r7.ebuild:
+ Fix problem with version of pppd plugin - use rp-pppoe.so from current
+ version of pppd (#81746).
12 Feb 2005; Alin Nastac <mrness@gentoo.org>
-files/rp-pppoe-3.5-netscripts.patch, -rp-pppoe-3.5-r5.ebuild,
diff --git a/net-dialup/rp-pppoe/Manifest b/net-dialup/rp-pppoe/Manifest
index 5bb8fdf9d12e..940da0a4fe6b 100644
--- a/net-dialup/rp-pppoe/Manifest
+++ b/net-dialup/rp-pppoe/Manifest
@@ -1,10 +1,12 @@
+MD5 68e95facb66351868565fa129608bfef rp-pppoe-3.5-r7.ebuild 2422
+MD5 bf86ea53ec6ae8d64f72ca032801d729 rp-pppoe-3.5-r2.ebuild 1641
+MD5 92f40c4c4dd4682e0232816405135e17 rp-pppoe-3.5-r6.ebuild 2000
MD5 d3cc5d04eee2ad1e853f395d1a00bfea ChangeLog 6275
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
-MD5 92f40c4c4dd4682e0232816405135e17 rp-pppoe-3.5-r6.ebuild 2000
-MD5 bf86ea53ec6ae8d64f72ca032801d729 rp-pppoe-3.5-r2.ebuild 1641
-MD5 966f79051cec3049cc3abb79ca6d3ab1 files/rp-pppoe.rc 498
-MD5 d455684124113e2349a9c674b55b493e files/digest-rp-pppoe-3.5-r6 125
-MD5 d90e4422c967ed2ba160c12b22f977b4 files/rp-pppoe-3.5-pidfile.patch 3266
-MD5 4d75ec30cff5b02997155a83a3c3ed9f files/digest-rp-pppoe-3.5-r2 64
MD5 3ec97394e888b357e2c6020b3ab0155c files/rp-pppoe-3.5-dsa-557.patch 5581
MD5 4e9fa8d65d286e5e37e953e7c822c70e files/rp-pppoe-3.5-gentoo-netscripts.patch 5180
+MD5 4d75ec30cff5b02997155a83a3c3ed9f files/digest-rp-pppoe-3.5-r2 64
+MD5 d455684124113e2349a9c674b55b493e files/digest-rp-pppoe-3.5-r6 125
+MD5 d455684124113e2349a9c674b55b493e files/digest-rp-pppoe-3.5-r7 125
+MD5 966f79051cec3049cc3abb79ca6d3ab1 files/rp-pppoe.rc 498
+MD5 d90e4422c967ed2ba160c12b22f977b4 files/rp-pppoe-3.5-pidfile.patch 3266
diff --git a/net-dialup/rp-pppoe/files/digest-rp-pppoe-3.5-r7 b/net-dialup/rp-pppoe/files/digest-rp-pppoe-3.5-r7
new file mode 100644
index 000000000000..e67ec4d3fe8f
--- /dev/null
+++ b/net-dialup/rp-pppoe/files/digest-rp-pppoe-3.5-r7
@@ -0,0 +1,2 @@
+MD5 97972f8f8f6a3ab9b7070333a6a29c4b rp-pppoe-3.5.tar.gz 189321
+MD5 848f6c3cafeb6074ffeb293c3af79b7c ppp-2.4.3.tar.gz 688092
diff --git a/net-dialup/rp-pppoe/rp-pppoe-3.5-r7.ebuild b/net-dialup/rp-pppoe/rp-pppoe-3.5-r7.ebuild
new file mode 100644
index 000000000000..2dbb17fec872
--- /dev/null
+++ b/net-dialup/rp-pppoe/rp-pppoe-3.5-r7.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2005 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.5-r7.ebuild,v 1.1 2005/02/13 08:43:51 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="A user-mode PPPoE client and server suite for Linux"
+HOMEPAGE="http://www.roaringpenguin.com/"
+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 ~sparc x86"
+IUSE="X tcltk"
+
+DEPEND="net-dialup/ppp
+ X? ( tcltk? (
+ virtual/x11
+ dev-lang/tcl
+ dev-lang/tk ) )"
+
+src_unpack() {
+ unpack ${A} || die "failed to unpack"
+ cd ${S} || die "${S} not found"
+
+ # 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
+ #These 2 patches should be merged some day
+ epatch ${FILESDIR}/rp-pppoe-3.5-gentoo-netscripts.patch
+
+ epatch ${FILESDIR}/rp-pppoe-3.5-dsa-557.patch #66296
+
+ #Avoid "setXid, dynamically linked and using lazy bindings" QA notice
+ sed -i -e 's:\(@CC@\) \(-o pppoe-wrapper wrapper.o\):\1 -Wl,-z,now \2:' gui/Makefile.in
+
+ # sanbdox violation workaround
+ sed -i -e 's/modprobe/#modprobe/' src/configure || die "sed failed"
+}
+
+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 && use tcltk; 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; use it from the current version of pppd
+ rm ${D}/etc/ppp/plugins/rp-pppoe.so
+ local PPPD_VER=`best_version net-dialup/ppp`
+ PPPD_VER=${PPPD_VER:15} #reduce it to ${PV}-${PR}
+ PPPD_VER=${PPPD_VER/-*/} #reduce it to ${PV}
+ if [ -n "${PPPD_VER}" ] && [ -f /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
+
+ prepalldocs
+
+ if use X && use tcltk; 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
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/rp-pppoe.rc rp-pppoe
+}
+
+pkg_postinst() {
+ einfo "Use adsl-setup to configure your dialup connection"
+}