summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/pppoed')
-rw-r--r--net-dialup/pppoed/ChangeLog10
-rw-r--r--net-dialup/pppoed/Manifest15
-rw-r--r--net-dialup/pppoed/files/digest-pppoed-0.491
-rw-r--r--net-dialup/pppoed/files/pppoed-0.49-gcc-3.3.patch22
-rw-r--r--net-dialup/pppoed/pppoed-0.49.ebuild50
5 files changed, 95 insertions, 3 deletions
diff --git a/net-dialup/pppoed/ChangeLog b/net-dialup/pppoed/ChangeLog
index 4344711a4c1b..7812f5f17cc7 100644
--- a/net-dialup/pppoed/ChangeLog
+++ b/net-dialup/pppoed/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/pppoed
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/ChangeLog,v 1.8 2004/07/01 22:09:19 eradicator Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/ChangeLog,v 1.9 2005/04/16 16:20:34 mrness Exp $
+
+*pppoed-0.49 (16 Apr 2005)
+
+ 16 Apr 2005; Alin Nastac <mrness@gentoo.org>
+ +files/pppoed-0.49-gcc-3.3.patch, +pppoed-0.49.ebuild:
+ Version bump
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
pppoed-0.48_beta1-r1.ebuild:
diff --git a/net-dialup/pppoed/Manifest b/net-dialup/pppoed/Manifest
index e4d0184d9a55..8b6172a01c77 100644
--- a/net-dialup/pppoed/Manifest
+++ b/net-dialup/pppoed/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 4f05643ee9eae2c7916be06892680f18 pppoed-0.48_beta1-r1.ebuild 822
-MD5 39a0effb5e5f8aef4ffd5f4f1c755e6f ChangeLog 1224
+MD5 f3fef757fb564d638a13649820bc815e pppoed-0.49.ebuild 1087
+MD5 7c9c5faae8ef745b95cceafd69b155e9 ChangeLog 1368
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
+MD5 21fa57e8741b20eece9fcddbe09e6179 files/digest-pppoed-0.49 63
MD5 a943a082b47d10b696fc4ae6fffd66a0 files/pppoed-0.48_beta1-gcc-3.3.patch 1073
MD5 5e19973ce403b09666cafc987176d7e9 files/digest-pppoed-0.48_beta1-r1 62
+MD5 e6638bf000c200f77ee828929b2e1dbd files/pppoed-0.49-gcc-3.3.patch 1014
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCYTtqjiC39V7gKu0RAmIqAKCu0BbuDNHF0PvoukDmxAre0jfkawCgvgdp
+3JDHjL1F8CcUEKOX4Tt5qzo=
+=fB+w
+-----END PGP SIGNATURE-----
diff --git a/net-dialup/pppoed/files/digest-pppoed-0.49 b/net-dialup/pppoed/files/digest-pppoed-0.49
new file mode 100644
index 000000000000..1cf6dc3627c8
--- /dev/null
+++ b/net-dialup/pppoed/files/digest-pppoed-0.49
@@ -0,0 +1 @@
+MD5 101681655d8f750899b846538cfc3669 pppoed-0.49.tar.bz2 95196
diff --git a/net-dialup/pppoed/files/pppoed-0.49-gcc-3.3.patch b/net-dialup/pppoed/files/pppoed-0.49-gcc-3.3.patch
new file mode 100644
index 000000000000..ff6df66efaca
--- /dev/null
+++ b/net-dialup/pppoed/files/pppoed-0.49-gcc-3.3.patch
@@ -0,0 +1,22 @@
+diff -Nru pppoed-0.49.orig/pppoed/lib.c pppoed-0.49/pppoed/lib.c
+--- pppoed-0.49.orig/pppoed/lib.c 2005-04-16 19:10:50.000000000 +0300
++++ pppoed-0.49/pppoed/lib.c 2005-04-16 19:12:50.368792912 +0300
+@@ -167,16 +167,14 @@
+ struct pppoe_tag *ac_htag;
+ ac_htag = find_tag(ses, ses->tags_len, ses->tags, TAG_HOST_UNIQ);
+ if (NULL == ac_htag) {
+- poe_error(ses, "Buggy AC: Contact your ISP please,
+- we sent a host uniq tag but got none back: %m");
++ poe_error(ses, "Buggy AC: Contact your ISP please, we sent a host uniq tag but got none back: %m");
+ } else {
+ struct host_tag *tgs, *tgr;
+ tgs = (struct host_tag *) ses->filt->htag;
+ tgr = (struct host_tag *) ac_htag;
+ /* compare if it looks like ours */
+ if (tgr->id != tgs->id) {
+- poe_error(ses, "Buggy AC: Contact your ISP please,
+- we sent a host-uniqid %d and received %d", tgs->id, tgr->id);
++ poe_error(ses, "Buggy AC: Contact your ISP please, we sent a host-uniqid %d and received %d", tgs->id, tgr->id);
+
+ }
+
diff --git a/net-dialup/pppoed/pppoed-0.49.ebuild b/net-dialup/pppoed/pppoed-0.49.ebuild
new file mode 100644
index 000000000000..22b762651d49
--- /dev/null
+++ b/net-dialup/pppoed/pppoed-0.49.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/pppoed-0.49.ebuild,v 1.1 2005/04/16 16:20:34 mrness Exp $
+
+inherit linux-info eutils
+
+DESCRIPTION="User space implementation of PPP over Ethernet"
+HOMEPAGE="http://www.furryterror.org/~afong/pppoe/"
+SRC_URI="http://www.furryterror.org/~afong/pppoe/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+S="${WORKDIR}/${P}/pppoed"
+
+pkg_setup() {
+ if kernel_is gt 2 4 ; then
+ einfo "This is a user space implementation of PPPoE!"
+ einfo
+ ewarn "For 2.4 and 2.6 kernels you don't need this!"
+ ewarn "The kernel already supports PPPoE, just enable it."
+ epause 5
+ fi
+}
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gcc-3.3.patch
+}
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/ppp/pppoed || die
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS ChangeLog COPYING NEWS README*
+
+ cd ..
+ docinto docs
+ dodoc docs/*
+ docinto contrib
+ dodoc contribs/*
+}