Date: Thursday, September 20, 2012 @ 19:57:27 Author: eric Revision: 166894
archrelease: copy trunk to testing-i686, testing-x86_64 Added: rp-pppoe/repos/testing-i686/ rp-pppoe/repos/testing-i686/PKGBUILD (from rev 166893, rp-pppoe/trunk/PKGBUILD) rp-pppoe/repos/testing-i686/adsl (from rev 166893, rp-pppoe/trunk/adsl) rp-pppoe/repos/testing-i686/adsl.service (from rev 166893, rp-pppoe/trunk/adsl.service) rp-pppoe/repos/testing-i686/rp-pppoe.install (from rev 166893, rp-pppoe/trunk/rp-pppoe.install) rp-pppoe/repos/testing-x86_64/ rp-pppoe/repos/testing-x86_64/PKGBUILD (from rev 166893, rp-pppoe/trunk/PKGBUILD) rp-pppoe/repos/testing-x86_64/adsl (from rev 166893, rp-pppoe/trunk/adsl) rp-pppoe/repos/testing-x86_64/adsl.service (from rev 166893, rp-pppoe/trunk/adsl.service) rp-pppoe/repos/testing-x86_64/rp-pppoe.install (from rev 166893, rp-pppoe/trunk/rp-pppoe.install) ---------------------------------+ testing-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ testing-i686/adsl | 35 +++++++++++++++++++++++++++++++++++ testing-i686/adsl.service | 10 ++++++++++ testing-i686/rp-pppoe.install | 12 ++++++++++++ testing-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ testing-x86_64/adsl | 35 +++++++++++++++++++++++++++++++++++ testing-x86_64/adsl.service | 10 ++++++++++ testing-x86_64/rp-pppoe.install | 12 ++++++++++++ 8 files changed, 186 insertions(+) Copied: rp-pppoe/repos/testing-i686/PKGBUILD (from rev 166893, rp-pppoe/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Daniel Isenmann <dan...@archlinux.org> +# Contributor: orelien <aurelien.fo...@wanadoo.fr> + +pkgname=rp-pppoe +pkgver=3.11 +pkgrel=1 +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' 'net-tools') +backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq + etc/ppp/pppoe-server-options) +options=('!makeflags') +install=rp-pppoe.install +source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz{,.sig} + adsl adsl.service) +md5sums=('13b5900c56bd602df6cc526e5e520722' + '8fc724aa146dba52ef7b3fbe5b8784c6' + 'adace1ad441aa88dcb3db52fb7f9c97f' + 'af234125f956f3a356ab0d0fcaa9e8a2') + +build() { + cd "$srcdir/$pkgname-$pkgver/src" + ./configure --prefix=/usr --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 -Dm755 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service" +} Copied: rp-pppoe/repos/testing-i686/adsl (from rev 166893, rp-pppoe/trunk/adsl) =================================================================== --- testing-i686/adsl (rev 0) +++ testing-i686/adsl 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,35 @@ +#!/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 Copied: rp-pppoe/repos/testing-i686/adsl.service (from rev 166893, rp-pppoe/trunk/adsl.service) =================================================================== --- testing-i686/adsl.service (rev 0) +++ testing-i686/adsl.service 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,10 @@ +[Unit] +Description=ADSL Deamon + +[Service] +Type=forking +ExecStart=/usr/sbin/pppoe-start +ExecStop=/usr/sbin/pppoe-stop + +[Install] +WantedBy=multi-user.target Copied: rp-pppoe/repos/testing-i686/rp-pppoe.install (from rev 166893, rp-pppoe/trunk/rp-pppoe.install) =================================================================== --- testing-i686/rp-pppoe.install (rev 0) +++ testing-i686/rp-pppoe.install 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,12 @@ +#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 +} Copied: rp-pppoe/repos/testing-x86_64/PKGBUILD (from rev 166893, rp-pppoe/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Daniel Isenmann <dan...@archlinux.org> +# Contributor: orelien <aurelien.fo...@wanadoo.fr> + +pkgname=rp-pppoe +pkgver=3.11 +pkgrel=1 +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' 'net-tools') +backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq + etc/ppp/pppoe-server-options) +options=('!makeflags') +install=rp-pppoe.install +source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz{,.sig} + adsl adsl.service) +md5sums=('13b5900c56bd602df6cc526e5e520722' + '8fc724aa146dba52ef7b3fbe5b8784c6' + 'adace1ad441aa88dcb3db52fb7f9c97f' + 'af234125f956f3a356ab0d0fcaa9e8a2') + +build() { + cd "$srcdir/$pkgname-$pkgver/src" + ./configure --prefix=/usr --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 -Dm755 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service" +} Copied: rp-pppoe/repos/testing-x86_64/adsl (from rev 166893, rp-pppoe/trunk/adsl) =================================================================== --- testing-x86_64/adsl (rev 0) +++ testing-x86_64/adsl 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,35 @@ +#!/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 Copied: rp-pppoe/repos/testing-x86_64/adsl.service (from rev 166893, rp-pppoe/trunk/adsl.service) =================================================================== --- testing-x86_64/adsl.service (rev 0) +++ testing-x86_64/adsl.service 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,10 @@ +[Unit] +Description=ADSL Deamon + +[Service] +Type=forking +ExecStart=/usr/sbin/pppoe-start +ExecStop=/usr/sbin/pppoe-stop + +[Install] +WantedBy=multi-user.target Copied: rp-pppoe/repos/testing-x86_64/rp-pppoe.install (from rev 166893, rp-pppoe/trunk/rp-pppoe.install) =================================================================== --- testing-x86_64/rp-pppoe.install (rev 0) +++ testing-x86_64/rp-pppoe.install 2012-09-20 23:57:27 UTC (rev 166894) @@ -0,0 +1,12 @@ +#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 +}