aboutsummaryrefslogtreecommitdiffstats
path: root/main/rp-pppoe
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-12-10 09:48:22 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-12-10 09:48:28 +0000
commit44097354e701bd8b13885f37f39ff68379ce2a82 (patch)
tree531d8e7c8bf775af1c9e718743ef934830c97a36 /main/rp-pppoe
parent5a5374b812b4f8afb19554e2fd3d76cab287c41b (diff)
downloadaports-44097354e701bd8b13885f37f39ff68379ce2a82.tar.bz2
aports-44097354e701bd8b13885f37f39ff68379ce2a82.tar.xz
main/rp-pppoe: Fixes Feature #3525
Diffstat (limited to 'main/rp-pppoe')
-rw-r--r--main/rp-pppoe/APKBUILD12
-rw-r--r--main/rp-pppoe/kmode.patch19
2 files changed, 27 insertions, 4 deletions
diff --git a/main/rp-pppoe/APKBUILD b/main/rp-pppoe/APKBUILD
index 581fd1ea33..055faf186a 100644
--- a/main/rp-pppoe/APKBUILD
+++ b/main/rp-pppoe/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=rp-pppoe
pkgver=3.11
-pkgrel=1
+pkgrel=2
pkgdesc="Roaring Penguin\'s Point-to-Point Protocol over Ethernet client"
url="http://www.roaringpenguin.com/pppoe/"
arch="all"
@@ -14,6 +14,7 @@ subpackages="$pkgname-doc"
source="http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz
musl-fix.patch
rp-pppoe.initd
+ kmode.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -48,10 +49,13 @@ package() {
md5sums="13b5900c56bd602df6cc526e5e520722 rp-pppoe-3.11.tar.gz
0fd2db3b31e05b7968ddcbee4551e851 musl-fix.patch
-f558de3e8cbb74e38218f8232c2da271 rp-pppoe.initd"
+f558de3e8cbb74e38218f8232c2da271 rp-pppoe.initd
+d38a903a247d689ff0323d7b6caa1c6b kmode.patch"
sha256sums="86a1a4d92fcea74fa6dd45516c5975933fa978b36fafe71f76ea70b4b4747720 rp-pppoe-3.11.tar.gz
1ac61bb7591771c251f723ef7c119d3b4369220e68b0b655c9ff52359a972902 musl-fix.patch
-e5a2006c5e1eb98aa8adf3ef474eba45a129dc3987d5665144ba1186297f64dc rp-pppoe.initd"
+e5a2006c5e1eb98aa8adf3ef474eba45a129dc3987d5665144ba1186297f64dc rp-pppoe.initd
+662ce43e690eef129c7c8e9f5ef08da6455a20428ad8f4a912cd41a7f39b30de kmode.patch"
sha512sums="cb9579ad94f6b6cfd709e8061aacac0a007f1f58ffd50bd0603f5a2b612c0cf4831febdbfeee290b97932fd30f8ae7f707d532a291124c4aeae2333131d53905 rp-pppoe-3.11.tar.gz
5f7e9d50be7c4b007bc2f86cee42b8e5dc4ead6a8def618441c0db0ecb083a6631bd90d6292279c2188986820f7b8f488b41ff6cb186bb541e3e705858a21034 musl-fix.patch
-1fa7de5af80926bf5dca27998f01058008327c3795da385d8c9e2323d43eebafd97610f622680fdbf9cab14500de0339b9f689cfe6c929d43f4fbeb92bd53cd8 rp-pppoe.initd"
+1fa7de5af80926bf5dca27998f01058008327c3795da385d8c9e2323d43eebafd97610f622680fdbf9cab14500de0339b9f689cfe6c929d43f4fbeb92bd53cd8 rp-pppoe.initd
+998933b99f9a72b463d8ac31020f6457e802bae47917a03d59488e3ea9e2b52e1621e46e6784740be2cd2c4d7bc17ad2f93c5f530c4fb2a000c1ca0ed523dbea kmode.patch"
diff --git a/main/rp-pppoe/kmode.patch b/main/rp-pppoe/kmode.patch
new file mode 100644
index 0000000000..37eef58f75
--- /dev/null
+++ b/main/rp-pppoe/kmode.patch
@@ -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()
+ {