summaryrefslogtreecommitdiff
path: root/libre/rp-pppoe-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-22 11:33:30 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-22 11:33:30 -0300
commit9b61d50becbeeba6c36f069d832c1cc9b64d883c (patch)
treefd5cb3b6f7cfec20a1c5123abf24e14eb9f6b691 /libre/rp-pppoe-libre
parent5103d9c43eb3fc4bde4a84840cc97557d824ca3a (diff)
rp-pppoe-libre-3.11-3: updating revision
* fix https://bugs.archlinux.org/task/34736 => install systemd service not 755
Diffstat (limited to 'libre/rp-pppoe-libre')
-rw-r--r--libre/rp-pppoe-libre/PKGBUILD36
1 files changed, 19 insertions, 17 deletions
diff --git a/libre/rp-pppoe-libre/PKGBUILD b/libre/rp-pppoe-libre/PKGBUILD
index 2158c2892..2a45f0310 100644
--- a/libre/rp-pppoe-libre/PKGBUILD
+++ b/libre/rp-pppoe-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 178747 2013-02-26 16:32:57Z tpowa $
+# $Id: PKGBUILD 182649 2013-04-12 07:08:42Z tpowa $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: orelien <aurelien.foret@wanadoo.fr>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -6,8 +6,8 @@
_pkgname=rp-pppoe
pkgname=rp-pppoe-libre
pkgver=3.11
-pkgrel=2
-pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client (without nonfree ServPoET recommendation)"
+pkgrel=3
+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')
@@ -19,26 +19,23 @@ 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 adsl.service kmode.patch $pkgname.patch)
-md5sums=('13b5900c56bd602df6cc526e5e520722'
- '8fc724aa146dba52ef7b3fbe5b8784c6'
- 'adace1ad441aa88dcb3db52fb7f9c97f'
- 'af234125f956f3a356ab0d0fcaa9e8a2'
- 'd38a903a247d689ff0323d7b6caa1c6b'
- '3c53d550ac408608abb0b6cd6b76b6c2')
+source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz{,.sig}
+ adsl.service
+ kmode.patch
+ $pkgname.patch)
-build() {
+prepare() {
cd "$srcdir/$_pkgname-$pkgver"
## Adding patch to remove unfree software recommendation (ServPoET)
patch -Np1 -i "$srcdir/rp-pppoe-libre.patch"
- cd ./src
-
- ## Adding support kernel mode
+ cd "$srcdir/$_pkgname-$pkgver/src"
patch -Np2 -i ../../kmode.patch
+}
+build() {
+ cd "$srcdir/$pkgname-$pkgver/src"
./configure --prefix=/usr --enable-plugin
make PLUGIN_DIR="/usr/lib/rp-pppoe" all rp-pppoe.so
}
@@ -47,6 +44,11 @@ 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 -Dm755 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service"
+ #install -Dm755 "$srcdir/adsl" "$pkgdir/etc/rc.d/adsl"
+ install -Dm644 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service"
}
+md5sums=('13b5900c56bd602df6cc526e5e520722'
+ 'SKIP'
+ 'af234125f956f3a356ab0d0fcaa9e8a2'
+ 'd38a903a247d689ff0323d7b6caa1c6b'
+ '3c53d550ac408608abb0b6cd6b76b6c2')