summaryrefslogtreecommitdiff
path: root/libre/rp-pppoe-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/rp-pppoe-libre')
-rw-r--r--libre/rp-pppoe-libre/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/rp-pppoe-libre/PKGBUILD b/libre/rp-pppoe-libre/PKGBUILD
index 9607756d8..a360e113e 100644
--- a/libre/rp-pppoe-libre/PKGBUILD
+++ b/libre/rp-pppoe-libre/PKGBUILD
@@ -4,12 +4,12 @@
pkgname=rp-pppoe-libre
pkgver=3.10
-pkgrel=6
+pkgrel=7
pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client. Unfree software recommendation removed."
arch=('i686' 'x86_64')
url="http://www.roaringpenguin.com/pppoe/"
license=('GPL')
-depends=('ppp>=2.4.5' 'sh')
+depends=('ppp>=2.4.5' 'sh' 'net-tools')
options=('!makeflags')
backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq etc/ppp/pppoe-server-options)
source=(http://repo.parabolagnulinux.org/other/$pkgname-$pkgver.tar.gz adsl
@@ -37,13 +37,13 @@ mksource() {
build() {
cd $srcdir/$pkgname-$pkgver/src
./configure --prefix=/usr --enable-plugin
- make PLUGIN_DIR="/usr/lib/rp-pppoe" || return 1
+ make PLUGIN_DIR="/usr/lib/rp-pppoe"
}
package() {
cd $srcdir/$pkgname-$pkgver/src
make DESTDIR=$pkgdir install
-
+
#moving .so files to /usr/lib according to FS#13876
mkdir -p ${pkgdir}/usr/lib/rp-pppoe
mv ${pkgdir}/etc/ppp/plugins/rp-pppoe.so ${pkgdir}/usr/lib/rp-pppoe/
@@ -51,7 +51,7 @@ package() {
rm -rf ${pkgdir}/etc/ppp/plugins
#changing config to the new path
#sed -i 's/LINUX_PLUGIN=/LINUX_PLUGIN=\/usr\/lib\/rp-pppoe\/rp-pppoe.so/g' ${pkgdir}/etc/ppp/pppoe.conf
-
+
install -Dm755 $srcdir/adsl $pkgdir/etc/rc.d/adsl
}
md5sums=('2c4a678fa684269ff4579bb639674198'