summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Mehnert <hannes@gentoo.org>2003-02-06 01:22:51 +0000
committerHannes Mehnert <hannes@gentoo.org>2003-02-06 01:22:51 +0000
commit5977d2842e2dd279704d5e91a7e19610578d455a (patch)
treed07d1d943254950c83588797b7ee6e1a65b7d9d1 /net-dialup
parentchanged to ~ppc (diff)
downloadgentoo-2-5977d2842e2dd279704d5e91a7e19610578d455a.tar.gz
gentoo-2-5977d2842e2dd279704d5e91a7e19610578d455a.tar.bz2
gentoo-2-5977d2842e2dd279704d5e91a7e19610578d455a.zip
added support for activefilter.
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ppp/ChangeLog6
-rw-r--r--net-dialup/ppp/ppp-2.4.1-r12.ebuild14
2 files changed, 16 insertions, 4 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog
index a50bb1c82ddf..3dd01c96745d 100644
--- a/net-dialup/ppp/ChangeLog
+++ b/net-dialup/ppp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/ppp
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.15 2002/12/15 17:22:11 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.16 2003/02/06 01:22:51 hannes Exp $
+
+ 05 Feb 2003; Hannes Mehnert <hannes@gentoo.org> ppp-2.4.1-r12.ebuild:
+ added local activefilter useflag, thanks to Alexander Holler
+ <holler@ahsoftware.de> for his patch
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/net-dialup/ppp/ppp-2.4.1-r12.ebuild b/net-dialup/ppp/ppp-2.4.1-r12.ebuild
index 9de8ff9b67ae..6b7c0d41f856 100644
--- a/net-dialup/ppp/ppp-2.4.1-r12.ebuild
+++ b/net-dialup/ppp/ppp-2.4.1-r12.ebuild
@@ -1,14 +1,16 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.1-r12.ebuild,v 1.1 2002/12/15 17:22:11 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.1-r12.ebuild,v 1.2 2003/02/06 01:22:51 hannes Exp $
-IUSE="crypt ipv6"
+IUSE="crypt ipv6 activefilter"
S=${WORKDIR}/${P}.pppoe4
DESCRIPTION="Point-to-point protocol - patched for pppoe"
SRC_URI="mirror://gentoo/${P}-pppoe4.tgz"
HOMEPAGE="http://www.samba.org/ppp"
-DEPEND="virtual/glibc"
+DEPEND="virtual/glibc
+ activefilter? ( net-libs/libpcap )"
+
PROVIDE="virtual/pppd"
SLOT="0"
@@ -24,6 +26,12 @@ src_compile() {
patch -p0 < ${FILESDIR}/${P}-r10.patch
+ use activefilter && {
+ # enable option active-filter
+ mv pppd/Makefile.linux pppd/Makefile.linux.orig
+ sed -e 's/^#FILTER=y/FILTER=y/' <pppd/Makefile.linux.orig >pppd/Makefile.linux
+ }
+
./configure --prefix=/usr || die
#fix Makefiles to compile optimized