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

Antonio Rojas arojas at archlinux.org
Sat Jan 9 09:49:33 UTC 2016


    Date: Saturday, January 9, 2016 @ 10:49:32
  Author: arojas
Revision: 257682

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

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

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

Copied: rp-pppoe/repos/testing-i686/PKGBUILD (from rev 257681, rp-pppoe/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-01-09 09:49:32 UTC (rev 257682)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: orelien <aurelien.foret at wanadoo.fr>
+
+pkgname=rp-pppoe
+pkgver=3.12
+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.7' '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.service 
+       kmode.patch)
+validpgpkeys=('FC2E9B645468698FD7B21655C1842E2A126F42E0') # Dianne Skoll
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver/src"
+  patch -Np2 -i ../../kmode.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver/src"
+  ./configure --prefix=/usr --sbindir=/usr/bin --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 -Dm644 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service"
+}
+md5sums=('216eb52b69062b92a64ee37fd71f4b66'
+         'SKIP'
+         '926b00aa2a0c0d3a21970acde9695e47'
+         '8df35e67558b6b4567d1ab24c9202898')

Copied: rp-pppoe/repos/testing-i686/adsl.service (from rev 257681, rp-pppoe/trunk/adsl.service)
===================================================================
--- testing-i686/adsl.service	                        (rev 0)
+++ testing-i686/adsl.service	2016-01-09 09:49:32 UTC (rev 257682)
@@ -0,0 +1,10 @@
+[Unit]
+Description=ADSL Daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pppoe-start
+ExecStop=/usr/bin/pppoe-stop
+
+[Install]
+WantedBy=multi-user.target

Copied: rp-pppoe/repos/testing-i686/kmode.patch (from rev 257681, rp-pppoe/trunk/kmode.patch)
===================================================================
--- testing-i686/kmode.patch	                        (rev 0)
+++ testing-i686/kmode.patch	2016-01-09 09:49:32 UTC (rev 257682)
@@ -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
+@@ -3709,6 +3709,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 :
+@@ -4559,6 +4559,7 @@ else
+ #include <net/ethernet.h>
+ #include <linux/if.h>
+ #include <netinet/in.h>
++#include <linux/in6.h>
+ #include <linux/if_pppox.h>
+ int main()
+ {

Copied: rp-pppoe/repos/testing-i686/rp-pppoe.install (from rev 257681, rp-pppoe/trunk/rp-pppoe.install)
===================================================================
--- testing-i686/rp-pppoe.install	                        (rev 0)
+++ testing-i686/rp-pppoe.install	2016-01-09 09:49:32 UTC (rev 257682)
@@ -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 257681, rp-pppoe/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-01-09 09:49:32 UTC (rev 257682)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: orelien <aurelien.foret at wanadoo.fr>
+
+pkgname=rp-pppoe
+pkgver=3.12
+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.7' '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.service 
+       kmode.patch)
+validpgpkeys=('FC2E9B645468698FD7B21655C1842E2A126F42E0') # Dianne Skoll
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver/src"
+  patch -Np2 -i ../../kmode.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver/src"
+  ./configure --prefix=/usr --sbindir=/usr/bin --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 -Dm644 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service"
+}
+md5sums=('216eb52b69062b92a64ee37fd71f4b66'
+         'SKIP'
+         '926b00aa2a0c0d3a21970acde9695e47'
+         '8df35e67558b6b4567d1ab24c9202898')

Copied: rp-pppoe/repos/testing-x86_64/adsl.service (from rev 257681, rp-pppoe/trunk/adsl.service)
===================================================================
--- testing-x86_64/adsl.service	                        (rev 0)
+++ testing-x86_64/adsl.service	2016-01-09 09:49:32 UTC (rev 257682)
@@ -0,0 +1,10 @@
+[Unit]
+Description=ADSL Daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pppoe-start
+ExecStop=/usr/bin/pppoe-stop
+
+[Install]
+WantedBy=multi-user.target

Copied: rp-pppoe/repos/testing-x86_64/kmode.patch (from rev 257681, rp-pppoe/trunk/kmode.patch)
===================================================================
--- testing-x86_64/kmode.patch	                        (rev 0)
+++ testing-x86_64/kmode.patch	2016-01-09 09:49:32 UTC (rev 257682)
@@ -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
+@@ -3709,6 +3709,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 :
+@@ -4559,6 +4559,7 @@ else
+ #include <net/ethernet.h>
+ #include <linux/if.h>
+ #include <netinet/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 257681, rp-pppoe/trunk/rp-pppoe.install)
===================================================================
--- testing-x86_64/rp-pppoe.install	                        (rev 0)
+++ testing-x86_64/rp-pppoe.install	2016-01-09 09:49:32 UTC (rev 257682)
@@ -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