diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-06-10 17:30:25 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-06-10 17:30:25 +0000 |
commit | dd5222c4ae447eb7a6bda08ec5a3c2339852dc16 (patch) | |
tree | f868384a6a3676025bac736d7a688aefae8acddd /core/rp-pppoe | |
parent | 622de23541903f9b6f85fe0a96d61de08372d23b (diff) |
Fri Jun 10 17:30:25 UTC 2011
Diffstat (limited to 'core/rp-pppoe')
-rw-r--r-- | core/rp-pppoe/PKGBUILD | 39 | ||||
-rwxr-xr-x | core/rp-pppoe/adsl | 35 | ||||
-rw-r--r-- | core/rp-pppoe/rp-pppoe.install | 12 |
3 files changed, 0 insertions, 86 deletions
diff --git a/core/rp-pppoe/PKGBUILD b/core/rp-pppoe/PKGBUILD deleted file mode 100644 index 3a23870da..000000000 --- a/core/rp-pppoe/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# $Id: PKGBUILD 119995 2011-04-18 07:09:47Z daniel $ -# Maintainer: Daniel Isenmann <daniel@archlinux.org> -# Contributor: orelien <aurelien.foret@wanadoo.fr> - -pkgname=rp-pppoe -pkgver=3.10 -pkgrel=6 -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') -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) -install=rp-pppoe.install -md5sums=('d58a13cc4185bca6121a606ff456dec0' - 'adace1ad441aa88dcb3db52fb7f9c97f') - -build() { - cd $srcdir/$pkgname-$pkgver/src - ./configure --prefix=/usr --enable-plugin - make PLUGIN_DIR="/usr/lib/rp-pppoe" || return 1 -} - -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/ - #not necessary after moving the plugin - 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 -} diff --git a/core/rp-pppoe/adsl b/core/rp-pppoe/adsl deleted file mode 100755 index 33bd91839..000000000 --- a/core/rp-pppoe/adsl +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting ADSL Connection" - /usr/sbin/pppoe-start &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon adsl - stat_done - fi - ;; - stop) - stat_busy "Stopping ADSL Connection" - /usr/sbin/pppoe-stop &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon adsl - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/core/rp-pppoe/rp-pppoe.install b/core/rp-pppoe/rp-pppoe.install deleted file mode 100644 index 1d4bccce2..000000000 --- a/core/rp-pppoe/rp-pppoe.install +++ /dev/null @@ -1,12 +0,0 @@ -#arg 1: the new package version -post_install() { -echo ">>> The kernel-mode plugin has a new place." -echo ">>> It's now located under /usr/lib/rp-pppoe/rp-pppoe.so" -echo ">>> Change LINUX_PLUGIN to the new path in your /etc/ppp/pppoe.conf" -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install $1 -} |