Commit 67c9f0ff authored by Carlo Landmeter's avatar Carlo Landmeter

main/ppp: add support for ipv6 filter and CBCP in pppd

parent d90ae88d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ppp pkgname=ppp
pkgver=2.4.5 pkgver=2.4.5
pkgrel=4 pkgrel=5
pkgdesc="A daemon which implements the PPP protocol for dial-up networking" pkgdesc="A daemon which implements the PPP protocol for dial-up networking"
url="http://www.samba.org/ppp/" url="http://www.samba.org/ppp/"
arch="all" arch="all"
...@@ -21,6 +21,14 @@ source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz ...@@ -21,6 +21,14 @@ source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
_builddir="$srcdir"/$pkgname-$pkgver _builddir="$srcdir"/$pkgname-$pkgver
build () { build () {
cd "$_builddir" 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 ./configure --prefix=/usr
make COPTS="$CFLAGS" || return 1 make COPTS="$CFLAGS" || return 1
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment