[arch-commits] Commit in rp-pppoe/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Mon Jul 4 06:35:12 UTC 2011
Date: Monday, July 4, 2011 @ 02:35:11
Author: ibiru
Revision: 130200
rp-pppoe needs net-tools. FS#FS#24639
Modified:
rp-pppoe/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-07-03 22:29:36 UTC (rev 130199)
+++ PKGBUILD 2011-07-04 06:35:11 UTC (rev 130200)
@@ -4,12 +4,12 @@
pkgname=rp-pppoe
pkgver=3.10
-pkgrel=6
+pkgrel=7
pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client"
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://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz adsl)
@@ -20,13 +20,13 @@
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/
@@ -34,6 +34,6 @@
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
}
More information about the arch-commits
mailing list