[arch-commits] Commit in rp-pppoe/repos (12 files)

Tobias Powalowski tpowa at nymeria.archlinux.org
Tue Feb 26 16:33:08 UTC 2013


    Date: Tuesday, February 26, 2013 @ 17:33:07
  Author: tpowa
Revision: 178748

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  rp-pppoe/repos/testing-i686/
  rp-pppoe/repos/testing-i686/PKGBUILD
    (from rev 178747, rp-pppoe/trunk/PKGBUILD)
  rp-pppoe/repos/testing-i686/adsl
    (from rev 178747, rp-pppoe/trunk/adsl)
  rp-pppoe/repos/testing-i686/adsl.service
    (from rev 178747, rp-pppoe/trunk/adsl.service)
  rp-pppoe/repos/testing-i686/kmode.patch
    (from rev 178747, rp-pppoe/trunk/kmode.patch)
  rp-pppoe/repos/testing-i686/rp-pppoe.install
    (from rev 178747, rp-pppoe/trunk/rp-pppoe.install)
  rp-pppoe/repos/testing-x86_64/
  rp-pppoe/repos/testing-x86_64/PKGBUILD
    (from rev 178747, rp-pppoe/trunk/PKGBUILD)
  rp-pppoe/repos/testing-x86_64/adsl
    (from rev 178747, rp-pppoe/trunk/adsl)
  rp-pppoe/repos/testing-x86_64/adsl.service
    (from rev 178747, rp-pppoe/trunk/adsl.service)
  rp-pppoe/repos/testing-x86_64/kmode.patch
    (from rev 178747, rp-pppoe/trunk/kmode.patch)
  rp-pppoe/repos/testing-x86_64/rp-pppoe.install
    (from rev 178747, rp-pppoe/trunk/rp-pppoe.install)

---------------------------------+
 testing-i686/PKGBUILD           |   38 ++++++++++++++++++++++++++++++++++++++
 testing-i686/adsl               |   35 +++++++++++++++++++++++++++++++++++
 testing-i686/adsl.service       |   10 ++++++++++
 testing-i686/kmode.patch        |   19 +++++++++++++++++++
 testing-i686/rp-pppoe.install   |   12 ++++++++++++
 testing-x86_64/PKGBUILD         |   38 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/adsl             |   35 +++++++++++++++++++++++++++++++++++
 testing-x86_64/adsl.service     |   10 ++++++++++
 testing-x86_64/kmode.patch      |   19 +++++++++++++++++++
 testing-x86_64/rp-pppoe.install |   12 ++++++++++++
 10 files changed, 228 insertions(+)

Copied: rp-pppoe/repos/testing-i686/PKGBUILD (from rev 178747, rp-pppoe/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-02-26 16:33:07 UTC (rev 178748)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: orelien <aurelien.foret at wanadoo.fr>
+
+pkgname=rp-pppoe
+pkgver=3.11
+pkgrel=2
+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 kmode.patch)
+md5sums=('13b5900c56bd602df6cc526e5e520722'
+         '8fc724aa146dba52ef7b3fbe5b8784c6'
+         'adace1ad441aa88dcb3db52fb7f9c97f'
+         'af234125f956f3a356ab0d0fcaa9e8a2'
+         'd38a903a247d689ff0323d7b6caa1c6b')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver/src"
+  patch -Np2 -i ../../kmode.patch
+  ./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 178747, rp-pppoe/trunk/adsl)
===================================================================
--- testing-i686/adsl	                        (rev 0)
+++ testing-i686/adsl	2013-02-26 16:33:07 UTC (rev 178748)
@@ -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 178747, rp-pppoe/trunk/adsl.service)
===================================================================
--- testing-i686/adsl.service	                        (rev 0)
+++ testing-i686/adsl.service	2013-02-26 16:33:07 UTC (rev 178748)
@@ -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/kmode.patch (from rev 178747, rp-pppoe/trunk/kmode.patch)
===================================================================
--- testing-i686/kmode.patch	                        (rev 0)
+++ testing-i686/kmode.patch	2013-02-26 16:33:07 UTC (rev 178748)
@@ -0,0 +1,19 @@
+diff -up rp-pppoe-3.11/src/configure.orig rp-pppoe-3.11/src/configure
+--- rp-pppoe-3.11/src/configure.orig	2012-08-17 12:31:25.000000000 -0600
++++ rp-pppoe-3.11/src/configure	2013-02-11 14:23:05.000000000 -0700
+@@ -3679,6 +3679,7 @@ do :
+ #include<net/ethernet.h>
+ #include<linux/if.h>
+ #include<linux/in.h>
++#include<linux/in6.h>
+ 
+ "
+ if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
+@@ -4525,6 +4526,7 @@ else
+ #include <net/ethernet.h>
+ #include <linux/if.h>
+ #include <linux/in.h>
++#include <linux/in6.h>
+ #include <linux/if_pppox.h>
+ int main()
+ {

Copied: rp-pppoe/repos/testing-i686/rp-pppoe.install (from rev 178747, rp-pppoe/trunk/rp-pppoe.install)
===================================================================
--- testing-i686/rp-pppoe.install	                        (rev 0)
+++ testing-i686/rp-pppoe.install	2013-02-26 16:33:07 UTC (rev 178748)
@@ -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 178747, rp-pppoe/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-02-26 16:33:07 UTC (rev 178748)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: orelien <aurelien.foret at wanadoo.fr>
+
+pkgname=rp-pppoe
+pkgver=3.11
+pkgrel=2
+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 kmode.patch)
+md5sums=('13b5900c56bd602df6cc526e5e520722'
+         '8fc724aa146dba52ef7b3fbe5b8784c6'
+         'adace1ad441aa88dcb3db52fb7f9c97f'
+         'af234125f956f3a356ab0d0fcaa9e8a2'
+         'd38a903a247d689ff0323d7b6caa1c6b')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver/src"
+  patch -Np2 -i ../../kmode.patch
+  ./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 178747, rp-pppoe/trunk/adsl)
===================================================================
--- testing-x86_64/adsl	                        (rev 0)
+++ testing-x86_64/adsl	2013-02-26 16:33:07 UTC (rev 178748)
@@ -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 178747, rp-pppoe/trunk/adsl.service)
===================================================================
--- testing-x86_64/adsl.service	                        (rev 0)
+++ testing-x86_64/adsl.service	2013-02-26 16:33:07 UTC (rev 178748)
@@ -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/kmode.patch (from rev 178747, rp-pppoe/trunk/kmode.patch)
===================================================================
--- testing-x86_64/kmode.patch	                        (rev 0)
+++ testing-x86_64/kmode.patch	2013-02-26 16:33:07 UTC (rev 178748)
@@ -0,0 +1,19 @@
+diff -up rp-pppoe-3.11/src/configure.orig rp-pppoe-3.11/src/configure
+--- rp-pppoe-3.11/src/configure.orig	2012-08-17 12:31:25.000000000 -0600
++++ rp-pppoe-3.11/src/configure	2013-02-11 14:23:05.000000000 -0700
+@@ -3679,6 +3679,7 @@ do :
+ #include<net/ethernet.h>
+ #include<linux/if.h>
+ #include<linux/in.h>
++#include<linux/in6.h>
+ 
+ "
+ if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
+@@ -4525,6 +4526,7 @@ else
+ #include <net/ethernet.h>
+ #include <linux/if.h>
+ #include <linux/in.h>
++#include <linux/in6.h>
+ #include <linux/if_pppox.h>
+ int main()
+ {

Copied: rp-pppoe/repos/testing-x86_64/rp-pppoe.install (from rev 178747, rp-pppoe/trunk/rp-pppoe.install)
===================================================================
--- testing-x86_64/rp-pppoe.install	                        (rev 0)
+++ testing-x86_64/rp-pppoe.install	2013-02-26 16:33:07 UTC (rev 178748)
@@ -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
+}




More information about the arch-commits mailing list