[arch-commits] Commit in rp-pppoe/repos (10 files)
Jan Steffens
heftig at archlinux.org
Sat Aug 23 12:53:00 UTC 2014
Date: Saturday, August 23, 2014 @ 14:52:59
Author: heftig
Revision: 220600
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
rp-pppoe/repos/testing-i686/
rp-pppoe/repos/testing-i686/PKGBUILD
(from rev 220599, rp-pppoe/trunk/PKGBUILD)
rp-pppoe/repos/testing-i686/adsl.service
(from rev 220599, rp-pppoe/trunk/adsl.service)
rp-pppoe/repos/testing-i686/kmode.patch
(from rev 220599, rp-pppoe/trunk/kmode.patch)
rp-pppoe/repos/testing-i686/rp-pppoe.install
(from rev 220599, rp-pppoe/trunk/rp-pppoe.install)
rp-pppoe/repos/testing-x86_64/
rp-pppoe/repos/testing-x86_64/PKGBUILD
(from rev 220599, rp-pppoe/trunk/PKGBUILD)
rp-pppoe/repos/testing-x86_64/adsl.service
(from rev 220599, rp-pppoe/trunk/adsl.service)
rp-pppoe/repos/testing-x86_64/kmode.patch
(from rev 220599, rp-pppoe/trunk/kmode.patch)
rp-pppoe/repos/testing-x86_64/rp-pppoe.install
(from rev 220599, rp-pppoe/trunk/rp-pppoe.install)
---------------------------------+
testing-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++
testing-i686/adsl.service | 10 +++++++++
testing-i686/kmode.patch | 19 +++++++++++++++++
testing-i686/rp-pppoe.install | 12 ++++++++++
testing-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/adsl.service | 10 +++++++++
testing-x86_64/kmode.patch | 19 +++++++++++++++++
testing-x86_64/rp-pppoe.install | 12 ++++++++++
8 files changed, 166 insertions(+)
Copied: rp-pppoe/repos/testing-i686/PKGBUILD (from rev 220599, rp-pppoe/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-08-23 12:52:59 UTC (rev 220600)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: orelien <aurelien.foret at wanadoo.fr>
+
+pkgname=rp-pppoe
+pkgver=3.11
+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.6' '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)
+
+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=('13b5900c56bd602df6cc526e5e520722'
+ 'SKIP'
+ '926b00aa2a0c0d3a21970acde9695e47'
+ 'd38a903a247d689ff0323d7b6caa1c6b')
Copied: rp-pppoe/repos/testing-i686/adsl.service (from rev 220599, rp-pppoe/trunk/adsl.service)
===================================================================
--- testing-i686/adsl.service (rev 0)
+++ testing-i686/adsl.service 2014-08-23 12:52:59 UTC (rev 220600)
@@ -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 220599, rp-pppoe/trunk/kmode.patch)
===================================================================
--- testing-i686/kmode.patch (rev 0)
+++ testing-i686/kmode.patch 2014-08-23 12:52:59 UTC (rev 220600)
@@ -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 220599, rp-pppoe/trunk/rp-pppoe.install)
===================================================================
--- testing-i686/rp-pppoe.install (rev 0)
+++ testing-i686/rp-pppoe.install 2014-08-23 12:52:59 UTC (rev 220600)
@@ -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 220599, rp-pppoe/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-08-23 12:52:59 UTC (rev 220600)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: orelien <aurelien.foret at wanadoo.fr>
+
+pkgname=rp-pppoe
+pkgver=3.11
+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.6' '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)
+
+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=('13b5900c56bd602df6cc526e5e520722'
+ 'SKIP'
+ '926b00aa2a0c0d3a21970acde9695e47'
+ 'd38a903a247d689ff0323d7b6caa1c6b')
Copied: rp-pppoe/repos/testing-x86_64/adsl.service (from rev 220599, rp-pppoe/trunk/adsl.service)
===================================================================
--- testing-x86_64/adsl.service (rev 0)
+++ testing-x86_64/adsl.service 2014-08-23 12:52:59 UTC (rev 220600)
@@ -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 220599, rp-pppoe/trunk/kmode.patch)
===================================================================
--- testing-x86_64/kmode.patch (rev 0)
+++ testing-x86_64/kmode.patch 2014-08-23 12:52:59 UTC (rev 220600)
@@ -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 220599, rp-pppoe/trunk/rp-pppoe.install)
===================================================================
--- testing-x86_64/rp-pppoe.install (rev 0)
+++ testing-x86_64/rp-pppoe.install 2014-08-23 12:52:59 UTC (rev 220600)
@@ -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