summaryrefslogtreecommitdiff
path: root/libre/rp-pppoe-libre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /libre/rp-pppoe-libre/PKGBUILD
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'libre/rp-pppoe-libre/PKGBUILD')
-rw-r--r--libre/rp-pppoe-libre/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/libre/rp-pppoe-libre/PKGBUILD b/libre/rp-pppoe-libre/PKGBUILD
new file mode 100644
index 000000000..f7adb5b80
--- /dev/null
+++ b/libre/rp-pppoe-libre/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 186154 2013-05-21 10:00:49Z tpowa $
+# Maintainer: Daniel Isenmann <daniel@archlinux.org>
+# Contributor: orelien <aurelien.foret@wanadoo.fr>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=rp-pppoe
+pkgname=rp-pppoe-libre
+pkgver=3.11
+pkgrel=4
+pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client, without nonfree ServPoET recommendation"
+arch=('i686' 'x86_64')
+url="http://www.roaringpenguin.com/pppoe/"
+license=('GPL')
+depends=('ppp>=2.4.5' 'sh' 'net-tools')
+backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq
+ etc/ppp/pppoe-server-options)
+options=('!makeflags')
+provides=("rp-pppoe=$pkgver")
+replaces=('rp-pppoe')
+conflicts=('rp-pppoe')
+install=rp-pppoe.install
+source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz{,.sig}
+ adsl.service
+ kmode.patch
+ $pkgname.patch)
+
+prepare() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ ## Adding patch to remove nonfree software recommendation (ServPoET)
+ patch -Np1 -i "$srcdir/rp-pppoe-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'
+ '45dc8fc3d0341a3930182a480859ad76'
+ 'd38a903a247d689ff0323d7b6caa1c6b'
+ '3c53d550ac408608abb0b6cd6b76b6c2')