Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4b7444d9617eb2eb8c4d874e880a3bd42781114d

commit 4b7444d9617eb2eb8c4d874e880a3bd42781114d
Author: James Buren <[email protected]>
Date:   Mon Sep 23 00:05:04 2013 -0500

rp-pppoe-3.11-2-x86_64
* make sure the pppd plugin is built

diff --git a/source/base/rp-pppoe/FrugalBuild b/source/base/rp-pppoe/FrugalBuild
index d1b4b76..3c4a856 100644
--- a/source/base/rp-pppoe/FrugalBuild
+++ b/source/base/rp-pppoe/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=rp-pppoe
pkgver=3.11
-pkgrel=1
+pkgrel=2
pkgdesc="Roaring Penguin PPPoE client"
url="http://www.roaringpenguin.com/products/pppoe";
groups=('base')
@@ -13,18 +13,17 @@ depends=('ppp>=2.4.4-5')
backup=(etc/ppp/{pppoe.conf,firewall-standalone,firewall-masq,pppoe-server-options})
up2date="lynx -dump $url |grep tar.gz|sed -n -e 's/.*rp-pppoe-\(.*\)\.tar\.gz 
.*/\1/' -e '1 p'"
source=(http://www.roaringpenguin.com/files/download/$pkgname-$pkgver.tar.gz \
-       resolv.conf-perms.patch)
+       resolv.conf-perms.patch kmode.patch)
sha1sums=('7b7b379c90b749cebd9fef99dff871e42d6972f9' \
-          'b035b80e0e78d6d3e6d22e1541ffdc59ad1a46c1')
+          'b035b80e0e78d6d3e6d22e1541ffdc59ad1a46c1' \
+          '9bb24872044223e6b0fac36d71c484b73096c964')

build()
{
Fpatchall
cd src || Fdie
-       Fmake
-       Fmakeinstall
-       cd ../gui || Fdie
-       Fmake
+       Fconf --enable-plugin
+       Fexec make all rp-pppoe.so || Fdie
Fmakeinstall
# rename sample config files
Fmv /etc/ppp/firewall-masq /etc/ppp/firewall-masq.dist
diff --git a/source/base/rp-pppoe/kmode.patch b/source/base/rp-pppoe/kmode.patch
new file mode 100644
index 0000000..37eef58
--- /dev/null
+++ b/source/base/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()
+ {
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to