From eaa7dd3c7b19ec07ca6ace686561cf024c293ead Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 4 Sep 2014 20:56:26 -0300 Subject: rp-pppoe: remove libre suffix and add complex pkgrel --- libre/rp-pppoe/PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 libre/rp-pppoe/PKGBUILD (limited to 'libre/rp-pppoe/PKGBUILD') diff --git a/libre/rp-pppoe/PKGBUILD b/libre/rp-pppoe/PKGBUILD new file mode 100644 index 000000000..218591511 --- /dev/null +++ b/libre/rp-pppoe/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 220603 2014-08-23 13:00:49Z heftig $ +# Maintainer (Arch): Daniel Isenmann +# Contributor (Arch): orelien +# Maintainer: André Silva + +pkgname=rp-pppoe +pkgver=3.11 +pkgrel=7.parabola1 +pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client, without nonfree ServPoET recommendation" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.roaringpenguin.com/pppoe/" +license=('GPL') +depends=('ppp=2.4.7' 'sh' 'net-tools') +backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq + etc/ppp/pppoe-server-options) +options=('!makeflags') +replaces=('rp-pppoe-libre') +conflicts=('rp-pppoe-libre') +install=rp-pppoe.install +source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz{,.sig} + adsl.service + kmode.patch + libre.patch) + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + ## Adding patch to remove nonfree software recommendation (ServPoET) + patch -Np1 -i "$srcdir/libre.patch" + + cd "$srcdir/$pkgname-$pkgver/src" + patch -Np2 -i ../../kmode.patch +} + +build() { + cd "$srcdir/$pkgname-$pkgver/src" + ./configure --prefix=/usr --sbindir=/usr/bin --enable-plugin + make PLUGIN_DIR="/usr/lib/rp-pppoe" all rp-pppoe.so +} + +package() { + cd "$srcdir/$pkgname-$pkgver/src" + make PLUGIN_DIR="/usr/lib/rp-pppoe" DESTDIR="$pkgdir" install + + #install -Dm755 "$srcdir/adsl" "$pkgdir/etc/rc.d/adsl" + install -Dm644 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service" +} +md5sums=('13b5900c56bd602df6cc526e5e520722' + 'SKIP' + '926b00aa2a0c0d3a21970acde9695e47' + 'd38a903a247d689ff0323d7b6caa1c6b' + '3c53d550ac408608abb0b6cd6b76b6c2') -- cgit v1.2.3