From 67c9f0ff227b2ac6e2a939714dda6b8f810d28e9 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 29 Mar 2011 18:34:24 +0000 Subject: main/ppp: add support for ipv6 filter and CBCP in pppd --- main/ppp/APKBUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'main/ppp/APKBUILD') diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD index 97439d042..f13950f54 100644 --- a/main/ppp/APKBUILD +++ b/main/ppp/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=ppp pkgver=2.4.5 -pkgrel=4 +pkgrel=5 pkgdesc="A daemon which implements the PPP protocol for dial-up networking" url="http://www.samba.org/ppp/" arch="all" @@ -21,6 +21,14 @@ source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" + + # enable active filter + sed -i "s:^#FILTER=y:FILTER=y:" pppd/Makefile.linux + # enable ipv6 support + sed -i "s:^#HAVE_INET6=y:HAVE_INET6=y:" pppd/Makefile.linux + # Enable Microsoft proprietary Callback Control Protocol + sed -i "s:^#CBCP=y:CBCP=y:" pppd/Makefile.linux + ./configure --prefix=/usr make COPTS="$CFLAGS" || return 1 } -- cgit v1.2.3