blob: 1832d8fae8ad7e86a35184803f5d97c9f1c9332c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $Id: PKGBUILD 206300 2014-02-23 17:13:12Z thomas $
# Maintainer (Arch): Daniel Isenmann <daniel@archlinux.org>
# Contributor (Arch): orelien <aurelien.foret@wanadoo.fr>
# Maintainer: André Silva <emulatorman@parabola.nu>
_pkgname=rp-pppoe
pkgname=rp-pppoe-libre
pkgver=3.11
pkgrel=5
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.6' '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')
|