# Compiling Time: 0.07 SBU # Maintainer: James Buren # Contributor: Miklos Vajna pkgname=rp-pppoe pkgver=3.12 pkgrel=2 pkgdesc="Roaring Penguin PPPoE client" url="http://www.roaringpenguin.com/products/pppoe" groups=('base') archs=('i686' 'x86_64' 'arm') depends=('ppp=2.4.7') backup=(etc/ppp/{pppoe.conf,firewall-standalone,firewall-masq,pppoe-server-options}) #up2date="lynx -dump $url |grep tar.gz|sed -n -e 's/.*rp-pppoe-\(.*\)\.tar\.gz .*/\1/' -e '1 p'" up2date="$pkgver" ## http://lists.roaringpenguin.com/pipermail/rp-pppoe/ , check there for updates untill they fix the website source=(http://www.roaringpenguin.com/files/download/$pkgname-$pkgver.tar.gz \ resolv.conf-perms.patch kmode.patch) sha1sums=('90eb1e7298e83f2a5859f7bc31480010171834d7' \ 'b035b80e0e78d6d3e6d22e1541ffdc59ad1a46c1' \ 'f904e0a5dee907b13903f12c58d22b9145b2c85e') build() { Fpatchall cd src || Fdie ## this kind stuff is just broken right ? ## we want /usr/lib/pppd/$ppp_ver -> /usr/lib/pppd/plugins sysmlink ## in ppp package.. -- crazy -- Fsed "/etc/ppp/plugins" "/usr/lib/pppd/2.4.7" Makefile.in autoconf -v || Fdie Fconf --enable-plugin Fexec make all rp-pppoe.so || Fdie Fmakeinstall Frm /usr/lib/pppd/*/README # rename sample config files Fmv /etc/ppp/firewall-masq /etc/ppp/firewall-masq.dist Fmv /etc/ppp/firewall-standalone /etc/ppp/firewall-standalone.dist Fmv /etc/ppp/pppoe-server-options /etc/ppp/pppoe-server-options.dist Fmv /etc/ppp/pppoe.conf /etc/ppp/pppoe.conf.dist } # optimization OK