[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-2.4-r4.ebuild

2015-07-14 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/07/14 19:42:57

  Modified: ChangeLog
  Added:wpa_supplicant-2.4-r4.ebuild
  Log:
  Adding security fixes wrt. bug #554860
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.245net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.245&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.245&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.244&r2=1.245

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -r1.244 -r1.245
--- ChangeLog   28 May 2015 08:10:04 -  1.244
+++ ChangeLog   14 Jul 2015 19:42:57 -  1.245
@@ -1,6 +1,14 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.244 2015/05/28 08:10:04 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.245 2015/07/14 19:42:57 gurligebis Exp $
+
+*wpa_supplicant-2.4-r4 (14 Jul 2015)
+
+  14 Jul 2015;  +wpa_supplicant-2.4-r4.ebuild,
+  +files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch,
+  +files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch
+  :
+  Adding security fixes wrt. bug #554860
 
   28 May 2015;  -wpa_supplicant-2.4-r1.ebuild,
   wpa_supplicant-2.4-r3.ebuild:



1.1  net-wireless/wpa_supplicant/wpa_supplicant-2.4-r4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r4.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r4.ebuild?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.4-r4.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r4.ebuild,v
 1.1 2015/07/14 19:42:57 gurligebis Exp $

EAPI=5

inherit eutils toolchain-funcs qt4-r2 systemd multilib

DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";
LICENSE="|| ( GPL-2 BSD )"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd"
IUSE="ap dbus gnutls eap-sim fasteap +hs2-0 p2p ps3 qt4 readline selinux 
smartcard ssl tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD"
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"

CDEPEND="dbus? ( sys-apps/dbus )
kernel_linux? (
eap-sim? ( sys-apps/pcsc-lite )
dev-libs/libnl:3
net-wireless/crda
)
!kernel_linux? ( net-libs/libpcap )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtsvg:4
)
readline? (
sys-libs/ncurses
sys-libs/readline:0
)
ssl? ( dev-libs/openssl:0 )
!ssl? ( gnutls? ( net-libs/gnutls ) )
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
"
DEPEND="${CDEPEND}
virtual/pkgconfig
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-networkmanager )
"

S="${WORKDIR}/${P}/${PN}"

Kconfig_style_config() {
#param 1 is CONFIG_* item
#param 2 is what to set it = to, defaulting in y
CONFIG_PARAM="${CONFIG_HEADER:-CONFIG_}$1"
setting="${2:-y}"

if [ ! $setting = n ]; then
#first remove any leading "# " if $2 is not n
sed -i "/^# *$CONFIG_PARAM=/s/^# *//" .config || echo 
"Kconfig_style_config error uncommenting $CONFIG_PARAM"
#set item = $setting (defaulting to y)
sed -i "/^$CONFIG_PARAM/s/=.*/=$setting/" .config || 
echo "Kconfig_style_config error setting $CONFIG_PARAM=$setting"
else
#ensure item commented out
sed -i "/^$CONFIG_PARAM/s/$CONFIG_PARAM/# 
$CONFIG_PARAM/" .config || echo "Kconfig_style_config error commenting 
$CONFIG_PARAM"
fi
}

pkg_setup() {
if use gnutls && use ssl ; then
elog "You have both 'gnutls' and 'ssl' USE flags enabled: 
defaulting to USE=\"ssl\""
fi
}

src_prepare() {
# net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD
   

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-5: 0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch 0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch

2015-07-14 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/07/14 19:42:57

  Added:   
0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch

0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch
  Log:
  Adding security fixes wrt. bug #554860
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch?rev=1.1&content-type=text/plain

Index: 0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch
===
>From fc880b11ed70ff9dcf8be48621f75d354cc5094d Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Tue, 7 Jul 2015 15:33:55 +0300
Subject: [PATCH] NFC: Avoid misaligned read of an NDEF field

The 32-bit version of payload length field may not be 32-bit aligned in
the message buffer, so use WPA_GET_BE32() to read it instead of ntohl().

Signed-off-by: Jouni Malinen 
---
 src/wps/ndef.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wps/ndef.c b/src/wps/ndef.c
index 8d1ce1e..5604b0a 100644
--- a/src/wps/ndef.c
+++ b/src/wps/ndef.c
@@ -47,7 +47,7 @@ static int ndef_parse_record(const u8 *data, u32 size,
} else {
if (size < 6)
return -1;
-   record->payload_length = ntohl(*(u32 *)pos);
+   record->payload_length = WPA_GET_BE32(pos);
pos += sizeof(u32);
}
 
-- 
1.7.9.5




1.1  
net-wireless/wpa_supplicant/files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch?rev=1.1&content-type=text/plain

Index: 0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch
===
>From df9079e72760ceb7ebe7fb11538200c516bdd886 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Tue, 7 Jul 2015 21:57:28 +0300
Subject: [PATCH] NFC: Fix payload length validation in NDEF record parser

It was possible for the 32-bit record->total_length value to end up
wrapping around due to integer overflow if the longer form of payload
length field is used and record->payload_length gets a value close to
2^32. This could result in ndef_parse_record() accepting a too large
payload length value and the record type filter reading up to about 20
bytes beyond the end of the buffer and potentially killing the process.
This could also result in an attempt to allocate close to 2^32 bytes of
heap memory and if that were to succeed, a buffer read overflow of the
same length which would most likely result in the process termination.
In case of record->total_length ending up getting the value 0, there
would be no buffer read overflow, but record parsing would result in an
infinite loop in ndef_parse_records().

Any of these error cases could potentially be used for denial of service
attacks over NFC by using a malformed NDEF record on an NFC Tag or
sending them during NFC connection handover if the application providing
the NDEF message to hostapd/wpa_supplicant did no validation of the
received records. While such validation is likely done in the NFC stack
that needs to parse the NFC messages before further processing,
hostapd/wpa_supplicant better be prepared for any data being included
here.

Fix this by validating record->payload_length value in a way that
detects integer overflow. (CID 122668)

Signed-off-by: Jouni Malinen 
---
 src/wps/ndef.c | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/wps/ndef.c b/src/wps/ndef.c
index 5604b0a..50d018f 100644
--- a/src/wps/ndef.c
+++ b/src/wps/ndef.c
@@ -48,6 +48,8 @@ static int ndef_parse_record(const u8 *data, u32 size,
if (size < 6)
return -1;
record->payload_length = WPA_GET_BE32(pos);
+   if (record->payload_length > size - 6)
+   return -1;
pos += sizeof(u32);
}
 
@@ -68,7 +70,8 @@ static int ndef_parse_record(const u8 *data, u32 size,
pos += record->payload_length;
 
record->total_length = pos - data;
-   if (record->total_length > size)
+   if (record->total_length > size ||
+   record->total_length < reco

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-5: - New directory

2015-07-14 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/07/14 19:39:53

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/2015-5 
added to the repository



[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-2.4-r3.ebuild ChangeLog

2015-07-14 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/07/14 19:36:35

  Modified: ChangeLog
  Added:hostapd-2.4-r3.ebuild
  Log:
  Adding security fixes wrt. bug #554862
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.161net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.161&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.161&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.160&r2=1.161

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -r1.160 -r1.161
--- ChangeLog   20 May 2015 11:07:18 -  1.160
+++ ChangeLog   14 Jul 2015 19:36:35 -  1.161
@@ -1,6 +1,14 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.160 
2015/05/20 11:07:18 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.161 
2015/07/14 19:36:35 gurligebis Exp $
+
+*hostapd-2.4-r3 (14 Jul 2015)
+
+  14 Jul 2015;  +hostapd-2.4-r3.ebuild,
+  +files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch,
+  +files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch
+  :
+  Adding security fixes wrt. bug #554862
 
   20 May 2015;  -hostapd-2.0-r1.ebuild,
   -files/hostapd-2.0-tls_length_fix.patch, metadata.xml:



1.1  net-wireless/hostapd/hostapd-2.4-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r3.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.4-r3.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r3.ebuild,v 
1.1 2015/07/14 19:36:35 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
IUSE="ipv6 logwatch netlink sqlite +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl[-bindist] )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"

RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
cd ..

# bug (548744)
epatch 
"${FILESDIR}/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch"
epatch 
"${FILESDIR}/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch"
epatch 
"${FILESDIR}/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch"
epatch 
"${FILESDIR}/2015-4/0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch"
epatch 
"${FILESDIR}/2015-4/0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch"
epatch 
"${FILESDIR}/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch"
epatch 
"${FILESDIR}/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch"

# bug (554862)
epatch 
"${FILESDIR}/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch"
epatch 
"${FILESDIR}/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch"

cd "${PN}"

epatch "${FILESDIR}/${PN}-hlr_auc_gw-openssl.patch"

sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_ERP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_FAST=y" >> ${CONFIG}
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
echo "CONFIG_TLSV11=y" >> ${CONFIG}
echo "CONFIG_TLSV12=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> $

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-5: 0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch 0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch

2015-07-14 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/07/14 19:36:35

  Added:   
0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch

0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch
  Log:
  Adding security fixes wrt. bug #554862
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/hostapd/files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-5/0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch?rev=1.1&content-type=text/plain

Index: 0001-NFC-Avoid-misaligned-read-of-an-NDEF-field.patch
===
>From fc880b11ed70ff9dcf8be48621f75d354cc5094d Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Tue, 7 Jul 2015 15:33:55 +0300
Subject: [PATCH] NFC: Avoid misaligned read of an NDEF field

The 32-bit version of payload length field may not be 32-bit aligned in
the message buffer, so use WPA_GET_BE32() to read it instead of ntohl().

Signed-off-by: Jouni Malinen 
---
 src/wps/ndef.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wps/ndef.c b/src/wps/ndef.c
index 8d1ce1e..5604b0a 100644
--- a/src/wps/ndef.c
+++ b/src/wps/ndef.c
@@ -47,7 +47,7 @@ static int ndef_parse_record(const u8 *data, u32 size,
} else {
if (size < 6)
return -1;
-   record->payload_length = ntohl(*(u32 *)pos);
+   record->payload_length = WPA_GET_BE32(pos);
pos += sizeof(u32);
}
 
-- 
1.7.9.5




1.1  
net-wireless/hostapd/files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-5/0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch?rev=1.1&content-type=text/plain

Index: 0002-NFC-Fix-payload-length-validation-in-NDEF-record-par.patch
===
>From df9079e72760ceb7ebe7fb11538200c516bdd886 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Tue, 7 Jul 2015 21:57:28 +0300
Subject: [PATCH] NFC: Fix payload length validation in NDEF record parser

It was possible for the 32-bit record->total_length value to end up
wrapping around due to integer overflow if the longer form of payload
length field is used and record->payload_length gets a value close to
2^32. This could result in ndef_parse_record() accepting a too large
payload length value and the record type filter reading up to about 20
bytes beyond the end of the buffer and potentially killing the process.
This could also result in an attempt to allocate close to 2^32 bytes of
heap memory and if that were to succeed, a buffer read overflow of the
same length which would most likely result in the process termination.
In case of record->total_length ending up getting the value 0, there
would be no buffer read overflow, but record parsing would result in an
infinite loop in ndef_parse_records().

Any of these error cases could potentially be used for denial of service
attacks over NFC by using a malformed NDEF record on an NFC Tag or
sending them during NFC connection handover if the application providing
the NDEF message to hostapd/wpa_supplicant did no validation of the
received records. While such validation is likely done in the NFC stack
that needs to parse the NFC messages before further processing,
hostapd/wpa_supplicant better be prepared for any data being included
here.

Fix this by validating record->payload_length value in a way that
detects integer overflow. (CID 122668)

Signed-off-by: Jouni Malinen 
---
 src/wps/ndef.c | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/wps/ndef.c b/src/wps/ndef.c
index 5604b0a..50d018f 100644
--- a/src/wps/ndef.c
+++ b/src/wps/ndef.c
@@ -48,6 +48,8 @@ static int ndef_parse_record(const u8 *data, u32 size,
if (size < 6)
return -1;
record->payload_length = WPA_GET_BE32(pos);
+   if (record->payload_length > size - 6)
+   return -1;
pos += sizeof(u32);
}
 
@@ -68,7 +70,8 @@ static int ndef_parse_record(const u8 *data, u32 size,
pos += record->payload_length;
 
record->total_length = pos - data;
-   if (record->total_length > size)
+   if (record->total_length > size ||
+   record->total_length < record->payload_length)
return

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-5: - New directory

2015-07-14 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/07/14 19:29:26

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/2015-5 added to 
the repository



[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-5.2.2.ebuild

2015-06-24 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/06/24 16:18:17

  Modified: ChangeLog
  Removed:  strongswan-5.2.2.ebuild
  Log:
  Cleaning up old version, wrt. bug #551564
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.160net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.160&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.160&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.159&r2=1.160

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- ChangeLog   24 Jun 2015 08:01:44 -  1.159
+++ ChangeLog   24 Jun 2015 16:18:17 -  1.160
@@ -1,6 +1,9 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.159 
2015/06/24 08:01:44 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.160 
2015/06/24 16:18:17 gurligebis Exp $
+
+  24 Jun 2015;  -strongswan-5.2.2.ebuild:
+  Cleaning up old version, wrt. bug #551564
 
   24 Jun 2015; Agostino Sarubbo  strongswan-5.3.2.ebuild:
   Stable for ppc, wrt bug #551564






[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: strongswan-5.3.2.ebuild ChangeLog strongswan-5.3.0.ebuild

2015-06-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/06/08 12:04:58

  Modified: ChangeLog
  Added:strongswan-5.3.2.ebuild
  Removed:  strongswan-5.3.0.ebuild
  Log:
  Bumping to 5.3.2
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.155net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.155&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.155&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.154&r2=1.155

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- ChangeLog   6 Jun 2015 16:11:32 -   1.154
+++ ChangeLog   8 Jun 2015 12:04:58 -   1.155
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.154 
2015/06/06 16:11:32 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.155 
2015/06/08 12:04:58 gurligebis Exp $
+
+*strongswan-5.3.2 (08 Jun 2015)
+
+  08 Jun 2015;  -strongswan-5.3.0.ebuild,
+  +strongswan-5.3.2.ebuild:
+  Bumping to 5.3.2
 
   06 Jun 2015;  -strongswan-5.1.3.ebuild:
   Removing old version, wrt. bug #536226



1.1  net-misc/strongswan/strongswan-5.3.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.3.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.3.2.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-5.3.2.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.3.2.ebuild,v 1.1 
2015/06/08 12:04:58 gurligebis Exp $

EAPI=5
inherit eutils linux-info systemd user

DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, 
supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/";
SRC_URI="http://download.strongswan.org/${P}.tar.bz2";

LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql 
networkmanager +non-root +openssl sqlite pam pkcs11"

STRONGSWAN_PLUGINS_STD="led lookip systime-fix unity vici"
STRONGSWAN_PLUGINS_OPT="blowfish ccm ctr gcm ha ipseckey ntru padlock rdrand 
unbound whitelist"
for mod in $STRONGSWAN_PLUGINS_STD; do
IUSE="${IUSE} +strongswan_plugins_${mod}"
done

for mod in $STRONGSWAN_PLUGINS_OPT; do
IUSE="${IUSE} strongswan_plugins_${mod}"
done

COMMON_DEPEND="!net-misc/openswan
gmp? ( >=dev-libs/gmp-4.1.5 )
gcrypt? ( dev-libs/libgcrypt:0 )
caps? ( sys-libs/libcap )
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
openssl? ( >=dev-libs/openssl-0.9.8[-bindist] )
mysql? ( virtual/mysql )
sqlite? ( >=dev-db/sqlite-3.3.1 )
networkmanager? ( net-misc/networkmanager )
pam? ( sys-libs/pam )
strongswan_plugins_unbound? ( net-dns/unbound )"
DEPEND="${COMMON_DEPEND}
virtual/linux-sources
sys-kernel/linux-headers"
RDEPEND="${COMMON_DEPEND}
virtual/logger
sys-apps/iproute2
!net-misc/libreswan"

UGID="ipsec"

pkg_setup() {
linux-info_pkg_setup
elog "Linux kernel version: ${KV_FULL}"

if ! kernel_is -ge 2 6 16; then
eerror
eerror "This ebuild currently only supports ${PN} with the"
eerror "native Linux 2.6 IPsec stack on kernels >= 2.6.16."
eerror
fi

if kernel_is -lt 2 6 34; then
ewarn
ewarn "IMPORTANT KERNEL NOTES: Please read carefully..."
ewarn

if kernel_is -lt 2 6 29; then
ewarn "[ < 2.6.29 ] Due to a missing kernel feature, 
you have to"
ewarn "include all required IPv6 modules even if you 
just intend"
ewarn "to run on IPv4 only."
ewarn
ewarn "This has been fixed with kernels >= 2.6.29."
ewarn
fi

if kernel_is -lt 2 6 33; then
ewarn "[ < 2.6.33 ] Kernels prior to 2.6.33 include a 
non-standards"
ewarn "compliant implementation for SHA-2 HMAC support 
in ESP and"
ewarn "miss SHA384 and SHA512 HMAC support altogether."

[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-5.1.3.ebuild

2015-06-06 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/06/06 16:11:32

  Modified: ChangeLog
  Removed:  strongswan-5.1.3.ebuild
  Log:
  Removing old version, wrt. bug #536226
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.154net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.154&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.154&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.153&r2=1.154

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- ChangeLog   1 Apr 2015 12:08:48 -   1.153
+++ ChangeLog   6 Jun 2015 16:11:32 -   1.154
@@ -1,6 +1,9 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.153 
2015/04/01 12:08:48 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.154 
2015/06/06 16:11:32 gurligebis Exp $
+
+  06 Jun 2015;  -strongswan-5.1.3.ebuild:
+  Removing old version, wrt. bug #536226
 
 *strongswan-5.3.0 (01 Apr 2015)
 






[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: wpa_supplicant-2.4-r3.ebuild ChangeLog wpa_supplicant-2.4-r1.ebuild

2015-05-28 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/28 08:10:04

  Modified: wpa_supplicant-2.4-r3.ebuild ChangeLog
  Removed:  wpa_supplicant-2.4-r1.ebuild
  Log:
  x86 stable wrt bug #548742, and removing old version
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.6  net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild?r1=1.5&r2=1.6

Index: wpa_supplicant-2.4-r3.ebuild
===
RCS file: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- wpa_supplicant-2.4-r3.ebuild27 May 2015 12:31:56 -  1.5
+++ wpa_supplicant-2.4-r3.ebuild28 May 2015 08:10:04 -  1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild,v
 1.5 2015/05/27 12:31:56 zlogene Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild,v
 1.6 2015/05/28 08:10:04 gurligebis Exp $
 
 EAPI=5
 
@@ -12,7 +12,7 @@
 LICENSE="|| ( GPL-2 BSD )"
 
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
 IUSE="ap dbus gnutls eap-sim fasteap +hs2-0 p2p ps3 qt4 readline selinux 
smartcard ssl tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD"
 REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"
 



1.244net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.244&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.244&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.243&r2=1.244

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -r1.243 -r1.244
--- ChangeLog   27 May 2015 12:31:56 -  1.243
+++ ChangeLog   28 May 2015 08:10:04 -  1.244
@@ -1,6 +1,10 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.243 2015/05/27 12:31:56 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.244 2015/05/28 08:10:04 gurligebis Exp $
+
+  28 May 2015;  -wpa_supplicant-2.4-r1.ebuild,
+  wpa_supplicant-2.4-r3.ebuild:
+  x86 stable wrt bug #548742, and removing old version
 
   27 May 2015; Mikle Kolyada  wpa_supplicant-2.4-r3.ebuild:
   arm stable wrt bug #548742






[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files: hostapd-2.0-tls_length_fix.patch

2015-05-20 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/20 11:07:18

  Removed:  hostapd-2.0-tls_length_fix.patch
  Log:
  Removing old version, wrt. bug #548744
  
  (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)



[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: metadata.xml ChangeLog hostapd-2.0-r1.ebuild

2015-05-20 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/20 11:07:18

  Modified: metadata.xml ChangeLog
  Removed:  hostapd-2.0-r1.ebuild
  Log:
  Removing old version, wrt. bug #548744
  
  (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.16 net-wireless/hostapd/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/metadata.xml?rev=1.16&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/metadata.xml?rev=1.16&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/metadata.xml?r1=1.15&r2=1.16

Index: metadata.xml
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/metadata.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- metadata.xml13 Sep 2014 15:04:53 -  1.15
+++ metadata.xml20 May 2015 11:07:18 -  1.16
@@ -14,7 +14,6 @@
Add CRDA support
Install support files for 
sys-app/logwatch
-   Add support for madwifi (Atheros 
chipset)
Adding support for using netlink to create 
VLANs
Adding sqlite support
Add support for Wi-Fi Protected Setup



1.160net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.160&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.160&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.159&r2=1.160

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- ChangeLog   19 May 2015 07:22:46 -  1.159
+++ ChangeLog   20 May 2015 11:07:18 -  1.160
@@ -1,6 +1,10 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.159 
2015/05/19 07:22:46 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.160 
2015/05/20 11:07:18 gurligebis Exp $
+
+  20 May 2015;  -hostapd-2.0-r1.ebuild,
+  -files/hostapd-2.0-tls_length_fix.patch, metadata.xml:
+  Removing old version, wrt. bug #548744
 
   19 May 2015; Agostino Sarubbo  hostapd-2.4-r2.ebuild:
   Stable for x86, wrt bug #548744






[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-1: 0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:53:41

  Added:   

0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch
  Log:
  Adding more security patches from bug #548742 and fixing patch from bug 
#544036
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/2015-1/0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-1/0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-1/0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch?rev=1.1&content-type=text/plain

Index: 0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch
===
>From 9ed4eee345f85e3025c33c6e20aa25696e341ccd Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Tue, 7 Apr 2015 11:32:11 +0300
Subject: [PATCH] P2P: Validate SSID element length before copying it
 (CVE-2015-1863)

This fixes a possible memcpy overflow for P2P dev->oper_ssid in
p2p_add_device(). The length provided by the peer device (0..255 bytes)
was used without proper bounds checking and that could have resulted in
arbitrary data of up to 223 bytes being written beyond the end of the
dev->oper_ssid[] array (of which about 150 bytes would be beyond the
heap allocation) when processing a corrupted management frame for P2P
peer discovery purposes.

This could result in corrupted state in heap, unexpected program
behavior due to corrupted P2P peer device information, denial of service
due to process crash, exposure of memory contents during GO Negotiation,
and potentially arbitrary code execution.

Thanks to Google security team for reporting this issue and smart
hardware research group of Alibaba security team for discovering it.

Signed-off-by: Jouni Malinen 
---
 src/p2p/p2p.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c
index f584fae..a45fe73 100644
--- a/src/p2p/p2p.c
+++ b/src/p2p/p2p.c
@@ -778,6 +778,7 @@ int p2p_add_device(struct p2p_data *p2p, const u8 *addr, 
int freq,
if (os_memcmp(addr, p2p_dev_addr, ETH_ALEN) != 0)
os_memcpy(dev->interface_addr, addr, ETH_ALEN);
if (msg.ssid &&
+   msg.ssid[1] <= sizeof(dev->oper_ssid) &&
(msg.ssid[1] != P2P_WILDCARD_SSID_LEN ||
 os_memcmp(msg.ssid + 2, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN)
 != 0)) {
-- 
1.9.1







[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files: wpa_supplicant-2.4-generate-libeap-peer.patch wpa_supplicant-2.4-cve-2015-1863.patch

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:53:41

  Modified: wpa_supplicant-2.4-generate-libeap-peer.patch
  Removed:  wpa_supplicant-2.4-cve-2015-1863.patch
  Log:
  Adding more security patches from bug #548742 and fixing patch from bug 
#544036
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.3  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch?r1=1.2&r2=1.3

Index: wpa_supplicant-2.4-generate-libeap-peer.patch
===
RCS file: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wpa_supplicant-2.4-generate-libeap-peer.patch   8 May 2015 17:58:51 
-   1.2
+++ wpa_supplicant-2.4-generate-libeap-peer.patch   11 May 2015 14:53:41 
-  1.3
@@ -1,6 +1,6 @@
-diff -ur a/wpa_supplicant-2.4/src/eap_peer/Makefile 
b/wpa_supplicant-2.4/src/eap_peer/Makefile
 a/wpa_supplicant-2.4/src/eap_peer/Makefile 2015-03-15 19:30:39.0 
-0200
-+++ b/wpa_supplicant-2.4/src/eap_peer/Makefile 2015-04-26 14:40:49.987453098 
-0200
+diff -Naurp a/src/eap_peer/Makefile b/src/eap_peer/Makefile
+--- a/src/eap_peer/Makefile2012-05-15 08:23:17.152386964 +
 b/src/eap_peer/Makefile2012-05-15 08:23:57.403389760 +
 @@ -1,11 +1,192 @@
 -all:
 -  @echo Nothing to be made.
@@ -202,9 +202,9 @@
 -  install -d $(DESTDIR)$(LIBDIR)/wpa_supplicant && \
 -  cp *.so $(DESTDIR)$(LIBDIR)/wpa_supplicant \
 -  ; fi
-diff -ur a/wpa_supplicant-2.4/src/eap_peer/eap_methods.c 
b/wpa_supplicant-2.4/src/eap_peer/eap_methods.c
 a/wpa_supplicant-2.4/src/eap_peer/eap_methods.c2015-03-15 
19:30:39.0 -0200
-+++ b/wpa_supplicant-2.4/src/eap_peer/eap_methods.c2015-04-26 
14:39:58.247099942 -0200
+diff -Naurp a/src/eap_peer/eap_methods.c b/src/eap_peer/eap_methods.c
+--- a/src/eap_peer/eap_methods.c   2012-05-15 08:23:17.151386999 +
 b/src/eap_peer/eap_methods.c   2012-05-15 08:23:57.403389760 +
 @@ -336,6 +336,120 @@
  
  
@@ -326,10 +326,9 @@
   * eap_peer_unregister_methods - Unregister EAP peer methods
   *
   * This function is called at program termination to unregister all EAP peer
-Only in b/wpa_supplicant-2.4/src/eap_peer: eap_methods.c.orig
-diff -ur a/wpa_supplicant-2.4/src/eap_peer/eap_methods.h 
b/wpa_supplicant-2.4/src/eap_peer/eap_methods.h
 a/wpa_supplicant-2.4/src/eap_peer/eap_methods.h2015-03-15 
19:30:39.0 -0200
-+++ b/wpa_supplicant-2.4/src/eap_peer/eap_methods.h2015-04-26 
14:39:58.248099929 -0200
+diff -Naurp a/src/eap_peer/eap_methods.h b/src/eap_peer/eap_methods.h
+--- a/src/eap_peer/eap_methods.h   2012-05-15 08:23:17.151386999 +
 b/src/eap_peer/eap_methods.h   2012-05-15 08:23:57.404389735 +
 @@ -26,6 +26,7 @@
  const char * eap_get_name(int vendor, EapType type);
  size_t eap_get_names(char *buf, size_t buflen);
@@ -338,5 +337,17 @@
  void eap_peer_unregister_methods(void);
  
  #else /* IEEE8021X_EAPOL */
-Only in b/wpa_supplicant-2.4/src/eap_peer: eap_methods.h.orig
-Only in b/wpa_supplicant-2.4/src/eap_peer: libeap0.pc
+diff -Naurp a/src/eap_peer/libeap0.pc b/src/eap_peer/libeap0.pc
+--- a/src/eap_peer/libeap0.pc  1970-01-01 00:00:00.0 +
 b/src/eap_peer/libeap0.pc  2012-05-15 08:23:57.404389735 +
+@@ -0,0 +1,10 @@
++prefix=/usr
++exec_prefix=/usr
++libdir=${exec_prefix}/lib
++includedir=${prefix}/include/eap_peer
++
++Name: libeap0
++Description: EAP Peer Library API
++Version: 0.7.2
++Libs: -L${libdir} -leap
++Cflags: -I${includedir}






[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: wpa_supplicant-2.4-r3.ebuild ChangeLog wpa_supplicant-2.4-r1.ebuild wpa_supplicant-2.4-r2.ebuild

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:53:41

  Modified: ChangeLog wpa_supplicant-2.4-r1.ebuild
  Added:wpa_supplicant-2.4-r3.ebuild
  Removed:  wpa_supplicant-2.4-r2.ebuild
  Log:
  Adding more security patches from bug #548742 and fixing patch from bug 
#544036
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.239net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.239&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.239&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.238&r2=1.239

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -r1.238 -r1.239
--- ChangeLog   8 May 2015 17:58:51 -   1.238
+++ ChangeLog   11 May 2015 14:53:41 -  1.239
@@ -1,6 +1,19 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.238 2015/05/08 17:58:51 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.239 2015/05/11 14:53:41 gurligebis Exp $
+
+*wpa_supplicant-2.4-r3 (11 May 2015)
+
+  11 May 2015;  wpa_supplicant-2.4-r1.ebuild,
+  -wpa_supplicant-2.4-r2.ebuild, +wpa_supplicant-2.4-r3.ebuild,
+  +files/2015-1/0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch
+  , -files/wpa_supplicant-2.4-cve-2015-1863.patch,
+  files/wpa_supplicant-2.4-generate-libeap-peer.patch,
+  +files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch,
+  +files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch
+  :
+  Adding more security patches from bug #548742 and fixing patch from bug
+  #544036
 
 *wpa_supplicant-2.4-r2 (08 May 2015)
 



1.3  net-wireless/wpa_supplicant/wpa_supplicant-2.4-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r1.ebuild?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r1.ebuild?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r1.ebuild?r1=1.2&r2=1.3

Index: wpa_supplicant-2.4-r1.ebuild
===
RCS file: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wpa_supplicant-2.4-r1.ebuild27 Apr 2015 18:29:34 -  1.2
+++ wpa_supplicant-2.4-r1.ebuild11 May 2015 14:53:41 -  1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r1.ebuild,v
 1.2 2015/04/27 18:29:34 zerochaos Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r1.ebuild,v
 1.3 2015/05/11 14:53:41 gurligebis Exp $
 
 EAPI=5
 
@@ -115,7 +115,7 @@
# bug (374089)
#epatch "${FILESDIR}/${P}-dbus-WPAIE-fix.patch"
 
-   epatch "${FILESDIR}"/wpa_supplicant-2.4-cve-2015-1863.patch
+   epatch 
"${FILESDIR}/2015-1/0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch"
 }
 
 src_configure() {



1.1  net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.4-r3.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r3.ebuild,v
 1.1 2015/05/11 14:53:41 gurligebis Exp $

EAPI=5

inherit eutils toolchain-funcs qt4-r2 systemd multilib

DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";
LICENSE="|| ( GPL-2 BSD )"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd"
IUSE="ap dbus gnutls eap-sim fasteap +hs2-0 p2p ps3 qt4 readline selinux 
smartcard ssl tdls uncommon-eap-types wimax wps kernel_linux k

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-2: 0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:53:41

  Added:   
0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch
  Log:
  Adding more security patches from bug #548742 and fixing patch from bug 
#544036
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch?rev=1.1&content-type=text/plain

Index: 0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch
===
>From 5acd23f4581da58683f3cf5e36cb71bbe4070bd7 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Tue, 28 Apr 2015 17:08:33 +0300
Subject: [PATCH] WPS: Fix HTTP chunked transfer encoding parser

strtoul() return value may end up overflowing the int h->chunk_size and
resulting in a negative value to be stored as the chunk_size. This could
result in the following memcpy operation using a very large length
argument which would result in a buffer overflow and segmentation fault.

This could have been used to cause a denial service by any device that
has been authorized for network access (either wireless or wired). This
would affect both the WPS UPnP functionality in a WPS AP (hostapd with
upnp_iface parameter set in the configuration) and WPS ER
(wpa_supplicant with WPS_ER_START control interface command used).

Validate the parsed chunk length value to avoid this. In addition to
rejecting negative values, we can also reject chunk size that would be
larger than the maximum configured body length.

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

Signed-off-by: Jouni Malinen 
---
 src/wps/httpread.c | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/src/wps/httpread.c b/src/wps/httpread.c
index 2f08f37..d2855e3 100644
--- a/src/wps/httpread.c
+++ b/src/wps/httpread.c
@@ -533,6 +533,13 @@ static void httpread_read_handler(int sd, void *eloop_ctx, 
void *sock_ctx)
if (!isxdigit(*cbp))
goto bad;
h->chunk_size = strtoul(cbp, NULL, 16);
+   if (h->chunk_size < 0 ||
+   h->chunk_size > h->max_bytes) {
+   wpa_printf(MSG_DEBUG,
+  "httpread: Invalid 
chunk size %d",
+  h->chunk_size);
+   goto bad;
+   }
/* throw away chunk header
 * so we have only real data
 */
-- 
1.9.1







[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-3: 0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:53:41

  Added:   

0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch
  Log:
  Adding more security patches from bug #548742 and fixing patch from bug 
#544036
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch?rev=1.1&content-type=text/plain

Index: 0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch
===
>From ef566a4d4f74022e1fdb0a2addfe81e6de9f4aae Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Wed, 29 Apr 2015 02:21:53 +0300
Subject: [PATCH] AP WMM: Fix integer underflow in WMM Action frame parser

The length of the WMM Action frame was not properly validated and the
length of the information elements (int left) could end up being
negative. This would result in reading significantly past the stack
buffer while parsing the IEs in ieee802_11_parse_elems() and while doing
so, resulting in segmentation fault.

This can result in an invalid frame being used for a denial of service
attack (hostapd process killed) against an AP with a driver that uses
hostapd for management frame processing (e.g., all mac80211-based
drivers).

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

Signed-off-by: Jouni Malinen 
---
 src/ap/wmm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/ap/wmm.c b/src/ap/wmm.c
index 6d4177c..314e244 100644
--- a/src/ap/wmm.c
+++ b/src/ap/wmm.c
@@ -274,6 +274,9 @@ void hostapd_wmm_action(struct hostapd_data *hapd,
return;
}
 
+   if (left < 0)
+   return; /* not a valid WMM Action frame */
+
/* extract the tspec info element */
if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
-- 
1.9.1







[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-1: - New directory

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:49:41

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/2015-1 
added to the repository



[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-3: - New directory

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:49:43

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/2015-3 
added to the repository



[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-2: - New directory

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:49:42

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/2015-2 
added to the repository



[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-3: 0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:47:56

  Added:   

0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch
  Log:
  Adding more security patches from bug #548744
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/hostapd/files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch?rev=1.1&content-type=text/plain

Index: 0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch
===
>From ef566a4d4f74022e1fdb0a2addfe81e6de9f4aae Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Wed, 29 Apr 2015 02:21:53 +0300
Subject: [PATCH] AP WMM: Fix integer underflow in WMM Action frame parser

The length of the WMM Action frame was not properly validated and the
length of the information elements (int left) could end up being
negative. This would result in reading significantly past the stack
buffer while parsing the IEs in ieee802_11_parse_elems() and while doing
so, resulting in segmentation fault.

This can result in an invalid frame being used for a denial of service
attack (hostapd process killed) against an AP with a driver that uses
hostapd for management frame processing (e.g., all mac80211-based
drivers).

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

Signed-off-by: Jouni Malinen 
---
 src/ap/wmm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/ap/wmm.c b/src/ap/wmm.c
index 6d4177c..314e244 100644
--- a/src/ap/wmm.c
+++ b/src/ap/wmm.c
@@ -274,6 +274,9 @@ void hostapd_wmm_action(struct hostapd_data *hapd,
return;
}
 
+   if (left < 0)
+   return; /* not a valid WMM Action frame */
+
/* extract the tspec info element */
if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
-- 
1.9.1







[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-2: 0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:47:56

  Added:   
0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch
  Log:
  Adding more security patches from bug #548744
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/hostapd/files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch?rev=1.1&content-type=text/plain

Index: 0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch
===
>From 5acd23f4581da58683f3cf5e36cb71bbe4070bd7 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Tue, 28 Apr 2015 17:08:33 +0300
Subject: [PATCH] WPS: Fix HTTP chunked transfer encoding parser

strtoul() return value may end up overflowing the int h->chunk_size and
resulting in a negative value to be stored as the chunk_size. This could
result in the following memcpy operation using a very large length
argument which would result in a buffer overflow and segmentation fault.

This could have been used to cause a denial service by any device that
has been authorized for network access (either wireless or wired). This
would affect both the WPS UPnP functionality in a WPS AP (hostapd with
upnp_iface parameter set in the configuration) and WPS ER
(wpa_supplicant with WPS_ER_START control interface command used).

Validate the parsed chunk length value to avoid this. In addition to
rejecting negative values, we can also reject chunk size that would be
larger than the maximum configured body length.

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

Signed-off-by: Jouni Malinen 
---
 src/wps/httpread.c | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/src/wps/httpread.c b/src/wps/httpread.c
index 2f08f37..d2855e3 100644
--- a/src/wps/httpread.c
+++ b/src/wps/httpread.c
@@ -533,6 +533,13 @@ static void httpread_read_handler(int sd, void *eloop_ctx, 
void *sock_ctx)
if (!isxdigit(*cbp))
goto bad;
h->chunk_size = strtoul(cbp, NULL, 16);
+   if (h->chunk_size < 0 ||
+   h->chunk_size > h->max_bytes) {
+   wpa_printf(MSG_DEBUG,
+  "httpread: Invalid 
chunk size %d",
+  h->chunk_size);
+   goto bad;
+   }
/* throw away chunk header
 * so we have only real data
 */
-- 
1.9.1







[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-2.4-r2.ebuild ChangeLog hostapd-2.4-r1.ebuild

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:47:56

  Modified: ChangeLog
  Added:hostapd-2.4-r2.ebuild
  Removed:  hostapd-2.4-r1.ebuild
  Log:
  Adding more security patches from bug #548744
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.156net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.156&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.156&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.155&r2=1.156

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -r1.155 -r1.156
--- ChangeLog   8 May 2015 18:14:59 -   1.155
+++ ChangeLog   11 May 2015 14:47:56 -  1.156
@@ -1,6 +1,15 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.155 
2015/05/08 18:14:59 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.156 
2015/05/11 14:47:56 gurligebis Exp $
+
+*hostapd-2.4-r2 (11 May 2015)
+
+  11 May 2015;  -hostapd-2.4-r1.ebuild,
+  +hostapd-2.4-r2.ebuild,
+  +files/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch,
+  +files/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch
+  :
+  Adding more security patches from bug #548744
 
 *hostapd-2.4-r1 (08 May 2015)
 



1.1  net-wireless/hostapd/hostapd-2.4-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r2.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.4-r2.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r2.ebuild,v 
1.1 2015/05/11 14:47:56 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
IUSE="ipv6 logwatch netlink sqlite +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl[-bindist] )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"

RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
cd ..

# bug (548744)
epatch 
"${FILESDIR}/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch"
epatch 
"${FILESDIR}/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch"
epatch 
"${FILESDIR}/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch"
epatch 
"${FILESDIR}/2015-4/0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch"
epatch 
"${FILESDIR}/2015-4/0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch"
epatch 
"${FILESDIR}/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch"
epatch 
"${FILESDIR}/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch"

cd "${PN}"

epatch "${FILESDIR}/${PN}-hlr_auc_gw-openssl.patch"

sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_ERP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_FAST=y" >> ${CONFIG}
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
echo "CONFIG_TLSV11=y" >> ${CONFIG}
echo "CONFIG_TLSV12=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> ${CONFIG}
echo "CONFIG_WPS2=y" >> ${CONFIG}
echo "CONFIG_WPS_UPNP=y" >> ${CONFIG}
echo "CONFIG_WPS_NFC=y" >> ${CONFIG}
einfo "Ena

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-3: - New directory

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:44:58

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/2015-3 added to 
the repository



[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-2: - New directory

2015-05-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/11 14:44:57

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/2015-2 added to 
the repository



[gentoo-commits] gentoo-x86 commit in net-libs/libupnp/files: libupnp-1.6.19-suse.patch

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 19:14:11

  Added:libupnp-1.6.19-suse.patch
  Log:
  Bumping to 1.6.19, fixing #545490
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  net-libs/libupnp/files/libupnp-1.6.19-suse.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libupnp/files/libupnp-1.6.19-suse.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libupnp/files/libupnp-1.6.19-suse.patch?rev=1.1&content-type=text/plain

Index: libupnp-1.6.19-suse.patch
===
--- configure.ac2013-01-29 16:39:56.0 +0100
+++ configure.ac2013-02-17 10:40:53.680021913 +0100
@@ -7,9 +7,9 @@
 # (C) Copyright 2005-2007 Rémi Turboult 
 #
 
-AC_PREREQ(2.60)
+AC_PREREQ([2.60])
 
-AC_INIT([libupnp], [1.6.19], [mrobe...@users.sourceforge.net])
+AC_INIT([libupnp],[1.6.19],[mrobe...@users.sourceforge.net])
 dnl 

 dnl # *Independently* of the above libupnp package version, the libtool version
 dnl # of the 3 libraries need to be updated whenever there is a change 
released:
@@ -366,7 +366,6 @@
 #installed libraries.
 #
 AC_CONFIG_HEADERS([autoconfig.h upnp/inc/upnpconfig.h])
-#AC_SYS_LARGEFILE_SENSITIVE
 
 AC_REVISION([$Revision: 1.1 $])
 
@@ -519,10 +519,12 @@
 #
 # Checks for programs
 #
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AM_PROG_CC_C_O
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-AC_PROG_LIBTOOL
+LT_INIT
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 AC_PROG_EGREP
@@ -532,9 +534,7 @@
#:
# Use -O0 in debug so that variables do not get optimized out
AX_CFLAGS_GCC_OPTION([-O0, -g])
-   else
-   # add optimise for size
-   AX_CFLAGS_GCC_OPTION([-Os])
+
fi
;;
 esac
@@ -548,8 +548,7 @@
 #
 AC_TYPE_SIZE_T
 AC_TYPE_OFF_T
-AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
-AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
+
 
 
 #
--- ixml/Makefile.am.orig
+++ ixml/Makefile.am
@@ -7,7 +7,7 @@
 
 SUBDIRS= doc
 
-AM_CPPFLAGS= -I$(srcdir)/inc -I$(srcdir)/src/inc
+AM_CPPFLAGS= -include $(top_builddir)/autoconfig.h -I$(srcdir)/inc 
-I$(srcdir)/src/inc
 AM_CFLAGS  = 
 
 LDADD  = libixml.la
--- threadutil/Makefile.am.orig
+++ threadutil/Makefile.am
@@ -4,7 +4,7 @@
 # (C) Copyright 2005 Remi Turboult 
 #
 
-AM_CPPFLAGS= -I$(srcdir)/inc -I$(srcdir)/src/inc
+AM_CPPFLAGS= -include $(top_builddir)/autoconfig.h -I$(srcdir)/inc 
-I$(srcdir)/src/inc
 
 if ENABLE_DEBUG
 AM_CPPFLAGS+= -DDEBUG -DSTATS
--- upnp/src/api/UpnpString.c.orig
+++ upnp/src/api/UpnpString.c
@@ -28,38 +28,6 @@
/* Other systems have strncasecmp */
 #endif
 
-#ifndef UPNP_USE_MSVCPP
-   /* VC has strnlen which is already included but with (potentially) 
different linkage */
-   /* strnlen() is a GNU extension. */
-   #if HAVE_STRNLEN
-   extern size_t strnlen(const char *s, size_t maxlen);
-   #else /* HAVE_STRNLEN */
-   static size_t strnlen(const char *s, size_t n)
-   {
-   const char *p = (const char *)memchr(s, 0, n);
-   return p ? p - s : n;
-   }
-   #endif /* HAVE_STRNLEN */
-#endif /* WIN32 */
-
-/* strndup() is a GNU extension. */
-#if HAVE_STRNDUP && !defined(WIN32)
-   extern char *strndup(__const char *__string, size_t __n);
-#else /* HAVE_STRNDUP && !defined(WIN32) */
-   static char *strndup(const char *__string, size_t __n)
-   {
-   size_t strsize = strnlen(__string, __n);
-   char *newstr = (char *)malloc(strsize + 1);
-   if (newstr == NULL)
-   return NULL;
-
-   strncpy(newstr, __string, strsize);
-   newstr[strsize] = 0;
-
-   return newstr;
-   }
-#endif /* HAVE_STRNDUP && !defined(WIN32) */
-
 /*!
  * \brief Internal implementation of the class UpnpString.
  *
--- upnp/Makefile.am.orig
+++ upnp/Makefile.am
@@ -6,7 +6,7 @@
 
 SUBDIRS = doc . sample
 
-AM_CPPFLAGS = \
+AM_CPPFLAGS = -include $(top_builddir)/autoconfig.h \
-I$(srcdir)/inc \
-I$(top_srcdir)/threadutil/inc \
-I$(top_srcdir)/ixml/inc






[gentoo-commits] gentoo-x86 commit in net-libs/libupnp: libupnp-1.6.19.ebuild ChangeLog

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 19:14:11

  Modified: ChangeLog
  Added:libupnp-1.6.19.ebuild
  Log:
  Bumping to 1.6.19, fixing #545490
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.59 net-libs/libupnp/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libupnp/ChangeLog?rev=1.59&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libupnp/ChangeLog?rev=1.59&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libupnp/ChangeLog?r1=1.58&r2=1.59

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-libs/libupnp/ChangeLog,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- ChangeLog   28 Apr 2015 09:46:43 -  1.58
+++ ChangeLog   8 May 2015 19:14:11 -   1.59
@@ -1,6 +1,12 @@
 # ChangeLog for net-libs/libupnp
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libupnp/ChangeLog,v 1.58 
2015/04/28 09:46:43 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libupnp/ChangeLog,v 1.59 
2015/05/08 19:14:11 gurligebis Exp $
+
+*libupnp-1.6.19 (08 May 2015)
+
+  08 May 2015;  +libupnp-1.6.19.ebuild,
+  +files/libupnp-1.6.19-suse.patch:
+  Bumping to 1.6.19, fixing #545490
 
   28 Apr 2015; Agostino Sarubbo  libupnp-1.6.18-r1.ebuild:
   Stable for sparc, wrt bug #545206



1.1  net-libs/libupnp/libupnp-1.6.19.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libupnp/libupnp-1.6.19.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libupnp/libupnp-1.6.19.ebuild?rev=1.1&content-type=text/plain

Index: libupnp-1.6.19.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libupnp/libupnp-1.6.19.ebuild,v 1.1 
2015/05/08 19:14:11 gurligebis Exp $

EAPI=5

inherit eutils flag-o-matic autotools

DESCRIPTION="An Portable Open Source UPnP Development Kit"
HOMEPAGE="http://pupnp.sourceforge.net/";
SRC_URI="mirror://sourceforge/pupnp/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd 
~x86-fbsd ~amd64-linux"
IUSE="debug doc ipv6 static-libs"

DOCS="NEWS README ChangeLog"

src_prepare() {
epatch "${FILESDIR}"/${P}-suse.patch

# fix tests
chmod +x ixml/test/test_document.sh || die

eautoreconf
}

src_configure() {
use x86-fbsd && append-flags -O1
# w/o docdir to avoid sandbox violations
econf \
$(use_enable debug) \
$(use_enable ipv6) \
$(use_enable static-libs static) \
$(use_with doc documentation "${EPREFIX}/usr/share/doc/${PF}")
}

src_install () {
default
dobin upnp/sample/.libs/tv_{combo,ctrlpt,device}
use static-libs || prune_libtool_files
}

pkg_postinst() {
ewarn "Please remember to run revdep-rebuild when upgrading"
ewarn "from libupnp 1.4.x to libupnp 1.6.x , so packages"
ewarn "gets linked with the new library."
echo ""
ewarn "The revdep-rebuild script is part of the"
ewarn "app-portage/gentoolkit package."
}






[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-2.4-r1.ebuild hostapd-2.4.ebuild

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 18:14:59

  Modified: ChangeLog
  Added:hostapd-2.4-r1.ebuild
  Removed:  hostapd-2.4.ebuild
  Log:
  Removing old version and fixing bug #548744
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.155net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.155&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.155&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.154&r2=1.155

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- ChangeLog   21 Mar 2015 13:19:27 -  1.154
+++ ChangeLog   8 May 2015 18:14:59 -   1.155
@@ -1,6 +1,21 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.154 
2015/03/21 13:19:27 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.155 
2015/05/08 18:14:59 gurligebis Exp $
+
+*hostapd-2.4-r1 (08 May 2015)
+
+  08 May 2015;  -hostapd-2.4.ebuild,
+  +hostapd-2.4-r1.ebuild,
+  +files/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch
+  ,
+  +files/2015-4/0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch
+  ,
+  +files/2015-4/0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch
+  ,
+  +files/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch
+  ,
+  +files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch:
+  Removing old version and fixing #548744
 
 *hostapd-2.4 (21 Mar 2015)
 



1.1  net-wireless/hostapd/hostapd-2.4-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.4-r1.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.4-r1.ebuild,v 
1.1 2015/05/08 18:14:59 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
IUSE="ipv6 logwatch netlink sqlite +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl[-bindist] )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"

RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
cd ..

# bug (548744)
epatch 
"${FILESDIR}/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch"
epatch 
"${FILESDIR}/2015-4/0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch"
epatch 
"${FILESDIR}/2015-4/0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch"
epatch 
"${FILESDIR}/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch"
epatch 
"${FILESDIR}/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch"

cd "${PN}"

epatch "${FILESDIR}/${PN}-hlr_auc_gw-openssl.patch"

sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_ERP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_FAST=y" >> ${CONFIG}
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
echo "CONFIG_TLSV11=y" >> ${CONFIG}
echo "CONFIG_TLSV12=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> ${CONFIG}
echo "CONFIG_WPS2=y" >> ${CONFIG}
echo "CONFIG_WPS_UPNP=y" >> ${CONFIG}
echo "CONFIG

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-4: 0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch 0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch 0

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 18:14:59

  Added:   

0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch

0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch

0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch

0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch

0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch
  Log:
  Removing old version and fixing bug #548744
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/hostapd/files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch?rev=1.1&content-type=text/plain

Index: 0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch
===
>From 28a069a545b06b99eb55ad53f63f2c99e65a98f6 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Sat, 2 May 2015 19:26:28 +0300
Subject: [PATCH 5/5] EAP-pwd peer: Fix asymmetric fragmentation behavior

The L (Length) and M (More) flags needs to be cleared before deciding
whether the locally generated response requires fragmentation. This
fixes an issue where these flags from the server could have been invalid
for the following message. In some cases, this could have resulted in
triggering the wpabuf security check that would terminate the process
due to invalid buffer allocation.

Signed-off-by: Jouni Malinen 
---
 src/eap_peer/eap_pwd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/eap_peer/eap_pwd.c b/src/eap_peer/eap_pwd.c
index 1d2079b..e58b13a 100644
--- a/src/eap_peer/eap_pwd.c
+++ b/src/eap_peer/eap_pwd.c
@@ -968,6 +968,7 @@ eap_pwd_process(struct eap_sm *sm, void *priv, struct 
eap_method_ret *ret,
/*
 * we have output! Do we need to fragment it?
 */
+   lm_exch = EAP_PWD_GET_EXCHANGE(lm_exch);
len = wpabuf_len(data->outbuf);
if ((len + EAP_PWD_HDR_SIZE) > data->mtu) {
resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PWD, data->mtu,
-- 
1.9.1




1.1  
net-wireless/hostapd/files/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch?rev=1.1&content-type=text/plain

Index: 0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch
===
>From dd2f043c9c43d156494e33d7ce22db96e6ef42c7 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Fri, 1 May 2015 16:37:45 +0300
Subject: [PATCH 1/5] EAP-pwd peer: Fix payload length validation for Commit
 and Confirm

The length of the received Commit and Confirm message payloads was not
checked before reading them. This could result in a buffer read
overflow when processing an invalid message.

Fix this by verifying that the payload is of expected length before
processing it. In addition, enforce correct state transition sequence to
make sure there is no unexpected behavior if receiving a Commit/Confirm
message before the previous exchanges have been completed.

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

Signed-off-by: Jouni Malinen 
---
 src/eap_peer/eap_pwd.c | 29 +
 1 file changed, 29 insertions(+)

diff --git a/src/eap_peer/eap_pwd.c b/src/eap_peer/eap_pwd.c
index f2b0926..a629437 100644
--- a/src/eap_peer/eap_pwd.c
+++ b/src/eap_peer/eap_pwd.c
@@ -355,6 +355,23 @@ eap_pwd_perform_commit_exchange(struct eap_sm *sm, struct 
eap_pwd_data *data,
BIGNUM *mask = NULL, *x = NULL, *y = NULL, *cofactor = NULL;
u16 offset;
u8 *ptr, *scalar = NULL, *element = NULL;
+   size_t prime_len, order_len;
+
+   if (data->state != PWD_Commit_Req) {
+   ret->ignore = TRUE;
+   goto fin;
+   }
+
+   prime_len = BN_num_bytes(data->grp->prime);
+   order_len = BN_num_bytes(data->grp->order);
+
+   if (payload_len != 2 * prime_len + order_len) {
+   wpa_printf(MSG_INFO,
+  "EAP-pwd: Unexpected Commit payload length %u 
(expected %u)",
+  (unsigned int) payload_len,
+  (unsigned int) (2 * prime_len + orde

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files/2015-4: - New directory

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 18:12:15

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/2015-4 added to 
the repository



[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: wpa_supplicant-2.4-r2.ebuild ChangeLog

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 17:58:51

  Modified: ChangeLog
  Added:wpa_supplicant-2.4-r2.ebuild
  Log:
  Removing old files, and fixing bugs #547588, #544036, #548268, #548742
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.238net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.238&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.238&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.237&r2=1.238

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -r1.237 -r1.238
--- ChangeLog   28 Apr 2015 08:06:27 -  1.237
+++ ChangeLog   8 May 2015 17:58:51 -   1.238
@@ -1,6 +1,30 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.237 2015/04/28 08:06:27 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.238 2015/05/08 17:58:51 gurligebis Exp $
+
+*wpa_supplicant-2.4-r2 (08 May 2015)
+
+  08 May 2015;  +wpa_supplicant-2.4-r2.ebuild,
+  -files/wpa_supplicant-2.0-dbus-path-fix.patch,
+  -files/wpa_supplicant-2.0-do-not-call-dbus-functions-with-NULL-path.patch,
+  -files/wpa_supplicant-2.0-fix-undefined-reference-to-random_get_bytes.patch,
+  -files/wpa_supplicant-2.0-generate-libeap-peer.patch,
+  -files/wpa_supplicant-2.2-dbus-path-fix.patch,
+  -files/wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch,
+  -files/wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch,
+  -files/wpa_supplicant-2.2-generate-libeap-peer.patch,
+  -files/wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch,
+  files/wpa_supplicant-2.4-generate-libeap-peer.patch,
+  +files/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch
+  ,
+  +files/2015-4/0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch
+  ,
+  +files/2015-4/0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch
+  ,
+  +files/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch
+  ,
+  +files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch:
+  Removing old files, and fixing bugs #547588, #544036, #548268, #548742
 
   28 Apr 2015; Mikle Kolyada  
-wpa_supplicant-2.0-r2.ebuild,
   -wpa_supplicant-2.2-r1.ebuild:



1.1  net-wireless/wpa_supplicant/wpa_supplicant-2.4-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r2.ebuild?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.4-r2.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4-r2.ebuild,v
 1.1 2015/05/08 17:58:51 gurligebis Exp $

EAPI=5

inherit eutils toolchain-funcs qt4-r2 systemd multilib

DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";
LICENSE="|| ( GPL-2 BSD )"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd"
IUSE="ap dbus gnutls eap-sim fasteap +hs2-0 p2p ps3 qt4 readline selinux 
smartcard ssl tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD"
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"

CDEPEND="dbus? ( sys-apps/dbus )
kernel_linux? (
eap-sim? ( sys-apps/pcsc-lite )
dev-libs/libnl:3
net-wireless/crda
)
!kernel_linux? ( net-libs/libpcap )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtsvg:4
)
readline? (
sys-libs/ncurses
sys-libs/readline:0
)
ssl? ( dev-libs/openssl:0 )
!ssl? ( gnutls? ( net-libs/gnutls ) )
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
"
DEPEND="${CDEPEND}
virtual/pkgconfig
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-networkmanager )
"

S="${WORKDIR}/${P}/${PN}"

Kconfig_style_config() {
#param 1 is CONFIG_* item
#param 2 is what to set it = to, defaulting in y
CONFIG_PARAM="${CONFIG_HEADER:-

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-4: 0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch 0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 17:58:51

  Added:   

0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch

0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch

0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch

0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch

0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch
  Log:
  Removing old files, and fixing bugs #547588, #544036, #548268, #548742
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch?rev=1.1&content-type=text/plain

Index: 0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch
===
>From 28a069a545b06b99eb55ad53f63f2c99e65a98f6 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Sat, 2 May 2015 19:26:28 +0300
Subject: [PATCH 5/5] EAP-pwd peer: Fix asymmetric fragmentation behavior

The L (Length) and M (More) flags needs to be cleared before deciding
whether the locally generated response requires fragmentation. This
fixes an issue where these flags from the server could have been invalid
for the following message. In some cases, this could have resulted in
triggering the wpabuf security check that would terminate the process
due to invalid buffer allocation.

Signed-off-by: Jouni Malinen 
---
 src/eap_peer/eap_pwd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/eap_peer/eap_pwd.c b/src/eap_peer/eap_pwd.c
index 1d2079b..e58b13a 100644
--- a/src/eap_peer/eap_pwd.c
+++ b/src/eap_peer/eap_pwd.c
@@ -968,6 +968,7 @@ eap_pwd_process(struct eap_sm *sm, void *priv, struct 
eap_method_ret *ret,
/*
 * we have output! Do we need to fragment it?
 */
+   lm_exch = EAP_PWD_GET_EXCHANGE(lm_exch);
len = wpabuf_len(data->outbuf);
if ((len + EAP_PWD_HDR_SIZE) > data->mtu) {
resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PWD, data->mtu,
-- 
1.9.1




1.1  
net-wireless/wpa_supplicant/files/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch?rev=1.1&content-type=text/plain

Index: 0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch
===
>From 3035cc2894e08319b905bd6561e8bddc8c2db9fa Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Sat, 2 May 2015 19:26:06 +0300
Subject: [PATCH 4/5] EAP-pwd server: Fix Total-Length parsing for fragment
 reassembly

The remaining number of bytes in the message could be smaller than the
Total-Length field size, so the length needs to be explicitly checked
prior to reading the field and decrementing the len variable. This could
have resulted in the remaining length becoming negative and interpreted
as a huge positive integer.

In addition, check that there is no already started fragment in progress
before allocating a new buffer for reassembling fragments. This avoid a
potential memory leak when processing invalid message.

Signed-off-by: Jouni Malinen 
---
 src/eap_server/eap_server_pwd.c | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/src/eap_server/eap_server_pwd.c b/src/eap_server/eap_server_pwd.c
index 3189105..2bfc3c2 100644
--- a/src/eap_server/eap_server_pwd.c
+++ b/src/eap_server/eap_server_pwd.c
@@ -942,11 +942,21 @@ static void eap_pwd_process(struct eap_sm *sm, void *priv,
 * the first fragment has a total length
 */
if (EAP_PWD_GET_LENGTH_BIT(lm_exch)) {
+   if (len < 2) {
+   wpa_printf(MSG_DEBUG,
+  "EAP-pwd: Frame too short to contain 
Total-Length field");
+   return;
+   }
tot_len = WPA_GET_BE16(pos);
wpa_printf(MSG_DEBUG, "EAP-pwd: Incoming fragments, total "
   "length = %d", tot_len);
if (tot_len > 15000)
return;
+   if (data->inbuf) {
+   wpa_printf(MSG_DEBUG,
+  

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files: wpa_supplicant-2.4-generate-libeap-peer.patch wpa_supplicant-2.2-generate-libeap-peer.patch wpa_supplicant-2.0-generate-libeap-

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 17:58:51

  Modified: wpa_supplicant-2.4-generate-libeap-peer.patch
  Removed:  wpa_supplicant-2.2-generate-libeap-peer.patch
wpa_supplicant-2.0-generate-libeap-peer.patch

wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch

wpa_supplicant-2.0-fix-undefined-reference-to-random_get_bytes.patch

wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch
wpa_supplicant-2.0-dbus-path-fix.patch

wpa_supplicant-2.0-do-not-call-dbus-functions-with-NULL-path.patch
wpa_supplicant-2.2-dbus-path-fix.patch

wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch
  Log:
  Removing old files, and fixing bugs #547588, #544036, #548268, #548742
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.2  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch?r1=1.1&r2=1.2

Index: wpa_supplicant-2.4-generate-libeap-peer.patch
===
RCS file: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-generate-libeap-peer.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wpa_supplicant-2.4-generate-libeap-peer.patch   21 Mar 2015 13:32:11 
-  1.1
+++ wpa_supplicant-2.4-generate-libeap-peer.patch   8 May 2015 17:58:51 
-   1.2
@@ -1,156 +1,7 @@
-diff -Naurp a/src/eap_peer/eap_methods.c b/src/eap_peer/eap_methods.c
 a/src/eap_peer/eap_methods.c   2012-05-15 08:23:17.151386999 +
-+++ b/src/eap_peer/eap_methods.c   2012-05-15 08:23:57.403389760 +
-@@ -342,6 +342,120 @@ int eap_peer_method_register(struct eap_
- 
- 
- /**
-+ * eap_peer_register_methods - Register all known EAP peer methods
-+ *
-+ * This function is called at program start to register all compiled
-+ * in EAP peer methods.
-+ */
-+int eap_peer_register_methods(void)
-+{
-+  int ret = 0;
-+
-+#ifdef EAP_MD5
-+  if (ret == 0)
-+  ret = eap_peer_md5_register();
-+#endif /* EAP_MD5 */
-+
-+#ifdef EAP_TLS
-+  if (ret == 0)
-+  ret = eap_peer_tls_register();
-+#endif /* EAP_TLS */
-+
-+#ifdef EAP_MSCHAPv2
-+  if (ret == 0)
-+  ret = eap_peer_mschapv2_register();
-+#endif /* EAP_MSCHAPv2 */
-+
-+#ifdef EAP_PEAP
-+  if (ret == 0)
-+  ret = eap_peer_peap_register();
-+#endif /* EAP_PEAP */
-+
-+#ifdef EAP_TTLS
-+  if (ret == 0)
-+  ret = eap_peer_ttls_register();
-+#endif /* EAP_TTLS */
-+
-+#ifdef EAP_GTC
-+  if (ret == 0)
-+  ret = eap_peer_gtc_register();
-+#endif /* EAP_GTC */
-+
-+#ifdef EAP_OTP
-+  if (ret == 0)
-+  ret = eap_peer_otp_register();
-+#endif /* EAP_OTP */
-+
-+#ifdef EAP_SIM
-+  if (ret == 0)
-+  ret = eap_peer_sim_register();
-+#endif /* EAP_SIM */
-+
-+#ifdef EAP_LEAP
-+  if (ret == 0)
-+  ret = eap_peer_leap_register();
-+#endif /* EAP_LEAP */
-+
-+#ifdef EAP_PSK
-+  if (ret == 0)
-+  ret = eap_peer_psk_register();
-+#endif /* EAP_PSK */
-+
-+#ifdef EAP_AKA
-+  if (ret == 0)
-+  ret = eap_peer_aka_register();
-+#endif /* EAP_AKA */
-+
-+#ifdef EAP_AKA_PRIME
-+  if (ret == 0)
-+  ret = eap_peer_aka_prime_register();
-+#endif /* EAP_AKA_PRIME */
-+
-+#ifdef EAP_FAST
-+  if (ret == 0)
-+  ret = eap_peer_fast_register();
-+#endif /* EAP_FAST */
-+
-+#ifdef EAP_PAX
-+  if (ret == 0)
-+  ret = eap_peer_pax_register();
-+#endif /* EAP_PAX */
-+
-+#ifdef EAP_SAKE
-+  if (ret == 0)
-+  ret = eap_peer_sake_register();
-+#endif /* EAP_SAKE */
-+
-+#ifdef EAP_GPSK
-+  if (ret == 0)
-+  ret = eap_peer_gpsk_register();
-+#endif /* EAP_GPSK */
-+
-+#ifdef EAP_WSC
-+  if (ret == 0)
-+  ret = eap_peer_wsc_register();
-+#endif /* EAP_WSC */
-+
-+#ifdef EAP_IKEV2
-+  if (ret == 0)
-+  ret = eap_peer_ikev2_register();
-+#endif /* EAP_IKEV2 */
-+
-+#ifdef EAP_VENDOR_TEST
-+  if (ret == 0)
-+  ret = eap_peer_vendor_test_register();
-+#endif /* EAP_VENDOR_TEST */
-+
-+#ifdef EAP_TNC
-+  if (ret == 0)
-+  ret = eap_peer_tnc_register();
-+#endif /* EAP_TNC */
-+
-+  return 

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files/2015-4: - New directory

2015-05-08 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/05/08 17:44:35

  Log:
  Directory /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/2015-4 
added to the repository



[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: strongswan-5.3.0.ebuild ChangeLog

2015-04-01 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/04/01 12:08:48

  Modified: ChangeLog
  Added:strongswan-5.3.0.ebuild
  Log:
  Bumping to 5.3.0
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.153net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.153&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.153&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.152&r2=1.153

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- ChangeLog   17 Jan 2015 20:02:35 -  1.152
+++ ChangeLog   1 Apr 2015 12:08:48 -   1.153
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.152 
2015/01/17 20:02:35 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.153 
2015/04/01 12:08:48 gurligebis Exp $
+
+*strongswan-5.3.0 (01 Apr 2015)
+
+  01 Apr 2015;  +strongswan-5.3.0.ebuild:
+  Bumping to 5.3.0
 
   17 Jan 2015; Markus Meier  strongswan-5.2.2.ebuild:
   arm stable, bug #536226



1.1  net-misc/strongswan/strongswan-5.3.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.3.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.3.0.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-5.3.0.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.3.0.ebuild,v 1.1 
2015/04/01 12:08:48 gurligebis Exp $

EAPI=5
inherit eutils linux-info systemd user

DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, 
supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/";
SRC_URI="http://download.strongswan.org/${P}.tar.bz2";

LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql 
networkmanager +non-root +openssl sqlite pam pkcs11"

STRONGSWAN_PLUGINS_STD="led lookip systime-fix unity vici"
STRONGSWAN_PLUGINS_OPT="blowfish ccm ctr gcm ha ipseckey ntru padlock rdrand 
unbound whitelist"
for mod in $STRONGSWAN_PLUGINS_STD; do
IUSE="${IUSE} +strongswan_plugins_${mod}"
done

for mod in $STRONGSWAN_PLUGINS_OPT; do
IUSE="${IUSE} strongswan_plugins_${mod}"
done

COMMON_DEPEND="!net-misc/openswan
gmp? ( >=dev-libs/gmp-4.1.5 )
gcrypt? ( dev-libs/libgcrypt:0 )
caps? ( sys-libs/libcap )
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
openssl? ( >=dev-libs/openssl-0.9.8[-bindist] )
mysql? ( virtual/mysql )
sqlite? ( >=dev-db/sqlite-3.3.1 )
networkmanager? ( net-misc/networkmanager )
pam? ( sys-libs/pam )
strongswan_plugins_unbound? ( net-dns/unbound )"
DEPEND="${COMMON_DEPEND}
virtual/linux-sources
sys-kernel/linux-headers"
RDEPEND="${COMMON_DEPEND}
virtual/logger
sys-apps/iproute2
!net-misc/libreswan"

UGID="ipsec"

pkg_setup() {
linux-info_pkg_setup
elog "Linux kernel version: ${KV_FULL}"

if ! kernel_is -ge 2 6 16; then
eerror
eerror "This ebuild currently only supports ${PN} with the"
eerror "native Linux 2.6 IPsec stack on kernels >= 2.6.16."
eerror
fi

if kernel_is -lt 2 6 34; then
ewarn
ewarn "IMPORTANT KERNEL NOTES: Please read carefully..."
ewarn

if kernel_is -lt 2 6 29; then
ewarn "[ < 2.6.29 ] Due to a missing kernel feature, 
you have to"
ewarn "include all required IPv6 modules even if you 
just intend"
ewarn "to run on IPv4 only."
ewarn
ewarn "This has been fixed with kernels >= 2.6.29."
ewarn
fi

if kernel_is -lt 2 6 33; then
ewarn "[ < 2.6.33 ] Kernels prior to 2.6.33 include a 
non-standards"
ewarn "compliant implementation for SHA-2 HMAC support 
in ESP and"
ewarn "miss SHA384 and SHA512 HMAC support altogether."
ewarn
ewarn "If you need any of those features, plea

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files: wpa_supplicant-2.4-dbus-path-fix.patch wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch wpa_supplicant-2.4-

2015-03-21 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/03/21 13:32:11

  Added:wpa_supplicant-2.4-dbus-path-fix.patch

wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch

wpa_supplicant-2.4-do-not-call-dbus-functions-with-NULL-path.patch
wpa_supplicant-2.4-generate-libeap-peer.patch
  Removed: 

wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch
wpa_supplicant-2.3-dbus-path-fix.patch

wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch
wpa_supplicant-2.3-generate-libeap-peer.patch
  Log:
  Bumping to 2.4 and removing old version
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-dbus-path-fix.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-dbus-path-fix.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-dbus-path-fix.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.4-dbus-path-fix.patch
===
diff -aurp a/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in 
b/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in
--- a/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in
2012-05-15 09:00:03.048545044 +
+++ b/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in
2012-05-15 09:01:19.759550509 +
@@ -1,5 +1,5 @@
 [D-BUS Service]
 Name=fi.epitest.hostap.WPASupplicant
-Exec=@BINDIR@/wpa_supplicant -u
+Exec=/usr/sbin/wpa_supplicant -u
 User=root
 SystemdService=wpa_supplicant.service
diff -aurp a/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in 
b/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in
--- a/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in  2012-05-15 
09:00:03.048545044 +
+++ b/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in  2012-05-15 
09:01:28.727551913 +
@@ -1,5 +1,5 @@
 [D-BUS Service]
 Name=fi.w1.wpa_supplicant1
-Exec=@BINDIR@/wpa_supplicant -u
+Exec=/usr/sbin/wpa_supplicant -u
 User=root
 SystemdService=wpa_supplicant.service



1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch
===
diff -Naur a/src/eap_peer/Makefile b/src/eap_peer/Makefile
--- a/src/eap_peer/Makefile 2013-05-17 09:51:55.0 +
+++ b/src/eap_peer/Makefile 2013-05-17 09:54:03.010830904 +
@@ -36,6 +36,7 @@
 OBJS_both += ../utils/wpa_debug.o
 OBJS_both += ../utils/base64.o
 OBJS_both += ../utils/wpabuf.o
+OBJS_both += ../utils/eloop.o
 OBJS_both += ../crypto/md5.o
 ifneq ($(CONFIG_TLS), openssl)
 OBJS_both += ../crypto/sha1.o
@@ -48,6 +49,7 @@
 OBJS_both += ../crypto/aes-omac1.o
 OBJS_both += ../crypto/ms_funcs.o
 OBJS_both += ../crypto/sha256.o
+OBJS_both += ../crypto/random.o
 
 
 OBJS_both += ../eap_common/eap_peap_common.o



1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-do-not-call-dbus-functions-with-NULL-path.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-do-not-call-dbus-functions-with-NULL-path.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.4-do-not-call-dbus-functions-with-NULL-path.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.4-do-not-call-dbus-functions-with-NULL-path.patch
===
diff -aurp a/wpa_supplicant/dbus/dbus_new_helpers.c 
b/wpa_supplicant/dbus/dbus_new_helpers.c
--- a/wpa_supplicant/dbus/dbus_new_helpers.c2012-05-15 07:28:37.616150164 
+
+++ b/wpa_supplicant/dbus/dbus_new_helpers.c2012-05-15 07:30:21.904157611 
+
@@ -882,7 +882,7 @@ void wpa_dbus_mark_property_changed(stru
const struct wpa_dbus_property_desc *dsc;
int i = 0;
 
-   if (iface == NULL)
+   if (iface == NULL || path == NULL)
return;
 
dbus_connection_get_object_path_data(iface->con, path,
diff -aurp a/wpa_supplicant/dbus/dbus_old.c b/wpa_supplicant/dbus/dbus_old.c
--- a/wpa_sup

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-2.4.ebuild wpa_supplicant-2.3-r2.ebuild wpa_supplicant-2.3.ebuild

2015-03-21 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/03/21 13:32:11

  Modified: ChangeLog
  Added:wpa_supplicant-2.4.ebuild
  Removed:  wpa_supplicant-2.3-r2.ebuild
wpa_supplicant-2.3.ebuild
  Log:
  Bumping to 2.4 and removing old version
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.229net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.229&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.229&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.228&r2=1.229

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -r1.228 -r1.229
--- ChangeLog   3 Mar 2015 09:45:18 -   1.228
+++ ChangeLog   21 Mar 2015 13:32:11 -  1.229
@@ -1,6 +1,20 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.228 2015/03/03 09:45:18 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.229 2015/03/21 13:32:11 gurligebis Exp $
+
+*wpa_supplicant-2.4 (21 Mar 2015)
+
+  21 Mar 2015;  -wpa_supplicant-2.3.ebuild,
+  -wpa_supplicant-2.3-r2.ebuild, +wpa_supplicant-2.4.ebuild,
+  -files/wpa_supplicant-2.3-dbus-path-fix.patch,
+  -files/wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch,
+  -files/wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch,
+  -files/wpa_supplicant-2.3-generate-libeap-peer.patch,
+  +files/wpa_supplicant-2.4-dbus-path-fix.patch,
+  +files/wpa_supplicant-2.4-do-not-call-dbus-functions-with-NULL-path.patch,
+  +files/wpa_supplicant-2.4-fix-undefined-reference-to-random_get_bytes.patch,
+  +files/wpa_supplicant-2.4-generate-libeap-peer.patch:
+  Bumping to 2.4 and removing old version
 
   03 Mar 2015; Yixun Lan  wpa_supplicant-2.3-r2.ebuild:
   add arm64 support, tested on A53 board



1.1  net-wireless/wpa_supplicant/wpa_supplicant-2.4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4.ebuild?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.4.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.4.ebuild,v 
1.1 2015/03/21 13:32:11 gurligebis Exp $

EAPI=5

inherit eutils toolchain-funcs qt4-r2 systemd multilib

DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";
LICENSE="|| ( GPL-2 BSD )"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd"
IUSE="ap dbus gnutls eap-sim fasteap +hs2-0 p2p ps3 qt4 readline selinux 
smartcard ssl tdls uncommon-eap-types wimax wps kernel_linux kernel_FreeBSD"
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"

CDEPEND="dbus? ( sys-apps/dbus )
kernel_linux? (
eap-sim? ( sys-apps/pcsc-lite )
dev-libs/libnl:3
net-wireless/crda
)
!kernel_linux? ( net-libs/libpcap )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtsvg:4
)
readline? (
sys-libs/ncurses
sys-libs/readline:0
)
ssl? ( dev-libs/openssl:0 )
!ssl? ( gnutls? ( net-libs/gnutls ) )
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
"
DEPEND="${CDEPEND}
virtual/pkgconfig
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-networkmanager )
"

S="${WORKDIR}/${P}/${PN}"

Kconfig_style_config() {
#param 1 is CONFIG_* item
#param 2 is what to set it = to, defaulting in y
CONFIG_PARAM="${CONFIG_HEADER:-CONFIG_}$1"
setting="${2:-y}"

if [ ! $setting = n ]; then
#first remove any leading "# " if $2 is not n
sed -i "/^# *$CONFIG_PARAM=/s/^# *//" .config || echo 
"Kconfig_style_config error uncommenting $CONFIG_PARAM"
#set item = $setting (defaulting to y)
sed -i "/^$CONFIG_PARAM/s/=.*/=$setting/" .config || 
echo "Kconfig_style_config error setting $CON

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-2.4.ebuild ChangeLog hostapd-2.3.ebuild

2015-03-21 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/03/21 13:19:27

  Modified: ChangeLog
  Added:hostapd-2.4.ebuild
  Removed:  hostapd-2.3.ebuild
  Log:
  Bumping to 2.4 and fixing bug #537166 and #543656
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.154net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.154&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.154&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.153&r2=1.154

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- ChangeLog   8 Jan 2015 09:41:10 -   1.153
+++ ChangeLog   21 Mar 2015 13:19:27 -  1.154
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.153 
2015/01/08 09:41:10 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.154 
2015/03/21 13:19:27 gurligebis Exp $
+
+*hostapd-2.4 (21 Mar 2015)
+
+  21 Mar 2015;  -hostapd-2.3.ebuild,
+  +hostapd-2.4.ebuild, +files/hostapd-hlr_auc_gw-openssl.patch:
+  Bumping to 2.4 and fixing bug #537166 and #543656
 
   08 Jan 2015; Alexis Ballier  hostapd-2.3.ebuild:
   keyword ~arm



1.1  net-wireless/hostapd/hostapd-2.4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.4.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.4.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.4.ebuild,v 
1.1 2015/03/21 13:19:27 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
IUSE="ipv6 logwatch netlink sqlite +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl[-bindist] )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"

RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
epatch "${FILESDIR}/${PN}-hlr_auc_gw-openssl.patch"

sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_ERP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_FAST=y" >> ${CONFIG}
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
echo "CONFIG_TLSV11=y" >> ${CONFIG}
echo "CONFIG_TLSV12=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> ${CONFIG}
echo "CONFIG_WPS2=y" >> ${CONFIG}
echo "CONFIG_WPS_UPNP=y" >> ${CONFIG}
echo "CONFIG_WPS_NFC=y" >> ${CONFIG}
einfo "Enabling Wi-Fi Protected Setup support"
fi

echo "CONFIG_EAP_IKEV2=y" >> ${CONFIG}
echo "CONFIG_EAP_TNC=y" >> ${CONFIG}
echo "CONFIG_EAP_GTC=y" >> ${CONFIG}
echo "CONFIG_EAP_SIM=y" >> ${CONFIG}
echo "CONFIG_EAP_AKA=y" >> ${CONFIG}
echo "CONFIG_EAP_AKA_PRIME=y" >> ${CONFIG}
echo "CONFIG_EAP_EKE=y" >> ${CONFIG}
echo "CONFIG_EAP_PAX=y" >> ${CONFIG}
echo "CONFIG_EAP_PSK=y" >> ${CONFIG}
echo "CONFIG_EAP_SAKE=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK_SHA256=y" >> ${CONFIG}
echo "CONFIG_EAP_PWD=y" >> ${CONFIG}

einfo "Enabling drivers: "

# drivers
echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG}
einfo "  HostAP driver enabled"
echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG}
einfo "  W

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files: hostapd-hlr_auc_gw-openssl.patch

2015-03-21 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/03/21 13:19:27

  Added:hostapd-hlr_auc_gw-openssl.patch
  Log:
  Bumping to 2.4 and fixing bug #537166 and #543656
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  net-wireless/hostapd/files/hostapd-hlr_auc_gw-openssl.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/hostapd-hlr_auc_gw-openssl.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/hostapd-hlr_auc_gw-openssl.patch?rev=1.1&content-type=text/plain

Index: hostapd-hlr_auc_gw-openssl.patch
===
>From 58e115b86928000475b734a4345862afe11d6352 Mon Sep 17 00:00:00 2001
From: Jouni Malinen 
Date: Fri, 20 Mar 2015 12:56:31 +
Subject: Fix hlr_auc_gw build with OpenSSL

Commit 983c6a606bc839248ea0c69090e60c095a655bc6 ('OpenSSL: Replace
internal HMAC-MD5 implementation') forgot to make inclusion of md5.o
conditional for hlr_auc_gw build.

Signed-off-by: Jouni Malinen 
---
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 5c69bd1..54b139c 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -795,8 +795,10 @@ OBJS += src/crypto/random.c
 HOBJS += src/crypto/random.c
 HOBJS += src/utils/eloop.c
 HOBJS += $(SHA1OBJS)
+ifneq ($(CONFIG_TLS), openssl)
 HOBJS += src/crypto/md5.c
 endif
+endif
 
 ifdef CONFIG_RADIUS_SERVER
 L_CFLAGS += -DRADIUS_SERVER
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 520ae89..d718c15 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -792,8 +792,10 @@ OBJS += ../src/crypto/random.o
 HOBJS += ../src/crypto/random.o
 HOBJS += ../src/utils/eloop.o
 HOBJS += $(SHA1OBJS)
+ifneq ($(CONFIG_TLS), openssl)
 HOBJS += ../src/crypto/md5.o
 endif
+endif
 
 ifdef CONFIG_RADIUS_SERVER
 CFLAGS += -DRADIUS_SERVER
--
cgit v0.9.2






[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: wpa_supplicant-2.3-r2.ebuild ChangeLog

2015-02-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/02/11 10:11:17

  Modified: wpa_supplicant-2.3-r2.ebuild ChangeLog
  Log:
  Fixing config generation with broken sed command, fixing bug #539598
  
  (Portage version: 2.2.16/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.3  net-wireless/wpa_supplicant/wpa_supplicant-2.3-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3-r2.ebuild?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3-r2.ebuild?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3-r2.ebuild?r1=1.2&r2=1.3

Index: wpa_supplicant-2.3-r2.ebuild
===
RCS file: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3-r2.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wpa_supplicant-2.3-r2.ebuild9 Feb 2015 16:10:13 -   1.2
+++ wpa_supplicant-2.3-r2.ebuild11 Feb 2015 10:11:17 -  1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3-r2.ebuild,v
 1.2 2015/02/09 16:10:13 zerochaos Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3-r2.ebuild,v
 1.3 2015/02/11 10:11:17 gurligebis Exp $
 
 EAPI=5
 
@@ -53,7 +53,7 @@
 
if [ ! $setting = n ]; then
#first remove any leading "# " if $2 is not n
-   sed -i "/^# *$CONFIG_PARAM/s/^# *//" .config || echo 
"Kconfig_style_config error uncommenting $CONFIG_PARAM"
+   sed -i "/^# *$CONFIG_PARAM=/s/^# *//" .config || echo 
"Kconfig_style_config error uncommenting $CONFIG_PARAM"
#set item = $setting (defaulting to y)
sed -i "/^$CONFIG_PARAM/s/=.*/=$setting/" .config || 
echo "Kconfig_style_config error setting $CONFIG_PARAM=$setting"
else



1.224net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.224&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.224&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.223&r2=1.224

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.223
retrieving revision 1.224
diff -u -r1.223 -r1.224
--- ChangeLog   9 Feb 2015 16:10:13 -   1.223
+++ ChangeLog   11 Feb 2015 10:11:17 -  1.224
@@ -1,6 +1,9 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.223 2015/02/09 16:10:13 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.224 2015/02/11 10:11:17 gurligebis Exp $
+
+  11 Feb 2015;  wpa_supplicant-2.3-r2.ebuild:
+  Fixing config generation with broken sed command, fixing bug #539598
 
   09 Feb 2015; Rick Farina  
-wpa_supplicant-2.3-r1.ebuild,
   wpa_supplicant-2.3-r2.ebuild:






[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-5.2.2.ebuild strongswan-5.2.1.ebuild

2015-01-11 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis15/01/11 09:02:58

  Modified: ChangeLog
  Added:strongswan-5.2.2.ebuild
  Removed:  strongswan-5.2.1.ebuild
  Log:
  Bumping to 5.2.2, containing fix for CVE-2014-9221.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.148net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.148&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.148&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.147&r2=1.148

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- ChangeLog   26 Oct 2014 13:13:00 -  1.147
+++ ChangeLog   11 Jan 2015 09:02:58 -  1.148
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/strongswan
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.147 
2014/10/26 13:13:00 gurligebis Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.148 
2015/01/11 09:02:58 gurligebis Exp $
+
+*strongswan-5.2.2 (11 Jan 2015)
+
+  11 Jan 2015;  -strongswan-5.2.1.ebuild,
+  +strongswan-5.2.2.ebuild:
+  Bumping to 5.2.2, containing fix for CVE-2014-9221.
 
 *strongswan-5.2.1 (26 Oct 2014)
 



1.1  net-misc/strongswan/strongswan-5.2.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.2.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-5.2.2.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.2.2.ebuild,v 1.1 
2015/01/11 09:02:58 gurligebis Exp $

EAPI=5
inherit eutils linux-info systemd user

DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, 
supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/";
SRC_URI="http://download.strongswan.org/${P}.tar.bz2";

LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql 
networkmanager +non-root +openssl sqlite pam pkcs11"

STRONGSWAN_PLUGINS_STD="led lookip systime-fix unity vici"
STRONGSWAN_PLUGINS_OPT="blowfish ccm ctr gcm ha ipseckey ntru padlock rdrand 
unbound whitelist"
for mod in $STRONGSWAN_PLUGINS_STD; do
IUSE="${IUSE} +strongswan_plugins_${mod}"
done

for mod in $STRONGSWAN_PLUGINS_OPT; do
IUSE="${IUSE} strongswan_plugins_${mod}"
done

COMMON_DEPEND="!net-misc/openswan
gmp? ( >=dev-libs/gmp-4.1.5 )
gcrypt? ( dev-libs/libgcrypt:0 )
caps? ( sys-libs/libcap )
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
openssl? ( >=dev-libs/openssl-0.9.8[-bindist] )
mysql? ( virtual/mysql )
sqlite? ( >=dev-db/sqlite-3.3.1 )
networkmanager? ( net-misc/networkmanager )
pam? ( sys-libs/pam )
strongswan_plugins_unbound? ( net-dns/unbound )"
DEPEND="${COMMON_DEPEND}
virtual/linux-sources
sys-kernel/linux-headers"
RDEPEND="${COMMON_DEPEND}
virtual/logger
sys-apps/iproute2
!net-misc/libreswan"

UGID="ipsec"

pkg_setup() {
linux-info_pkg_setup
elog "Linux kernel version: ${KV_FULL}"

if ! kernel_is -ge 2 6 16; then
eerror
eerror "This ebuild currently only supports ${PN} with the"
eerror "native Linux 2.6 IPsec stack on kernels >= 2.6.16."
eerror
fi

if kernel_is -lt 2 6 34; then
ewarn
ewarn "IMPORTANT KERNEL NOTES: Please read carefully..."
ewarn

if kernel_is -lt 2 6 29; then
ewarn "[ < 2.6.29 ] Due to a missing kernel feature, 
you have to"
ewarn "include all required IPv6 modules even if you 
just intend"
ewarn "to run on IPv4 only."
ewarn
ewarn "This has been fixed with kernels >= 2.6.29."
ewarn
fi

if kernel_is -lt 2 6 33; then
ewarn "[ < 2.6.33 ] Kernels prior to 2.6.33 include a 
non-standards"
ewarn "compliant implementation for SHA-2 HMAC support 
in ESP and"
 

[gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd: ChangeLog miniupnpd-1.10_pre20141209.ebuild miniupnpd-1.10_pre20141128.ebuild

2014-12-28 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/12/28 16:29:18

  Modified: ChangeLog
  Added:miniupnpd-1.10_pre20141209.ebuild
  Removed:  miniupnpd-1.10_pre20141128.ebuild
  Log:
  Bumping to 1.10_pre20141209, fixing several issues wrt. bug #533736
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.37 net-misc/miniupnpd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.37&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.37&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.36&r2=1.37

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- ChangeLog   29 Nov 2014 12:40:13 -  1.36
+++ ChangeLog   28 Dec 2014 16:29:18 -  1.37
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/miniupnpd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.36 
2014/11/29 12:40:13 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.37 
2014/12/28 16:29:18 gurligebis Exp $
+
+*miniupnpd-1.10_pre20141209 (28 Dec 2014)
+
+  28 Dec 2014;  -miniupnpd-1.10_pre20141128.ebuild,
+  +miniupnpd-1.10_pre20141209.ebuild:
+  Bumping to 1.10_pre20141209, fixing several issues wrt. bug #533736
 
 *miniupnpd-1.10_pre20141128 (29 Nov 2014)
 



1.1  net-misc/miniupnpd/miniupnpd-1.10_pre20141209.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.10_pre20141209.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.10_pre20141209.ebuild?rev=1.1&content-type=text/plain

Index: miniupnpd-1.10_pre20141209.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.10_pre20141209.ebuild,v 
1.1 2014/12/28 16:29:18 gurligebis Exp $

EAPI="5"

inherit eutils toolchain-funcs

MY_PV=1.9.20141209
MY_P="${PN}-${MY_PV}"

DESCRIPTION="MiniUPnP IGD Daemon"
HOMEPAGE="http://miniupnp.free.fr/";
SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz";

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

RDEPEND=">=net-firewall/iptables-1.4.6
net-libs/libnfnetlink"
DEPEND="${RDEPEND}
sys-apps/util-linux
sys-apps/lsb-release"

S="${WORKDIR}/${MY_P}"

src_prepare() {
epatch "${FILESDIR}"/${PN}-1.10-build.patch
mv Makefile.linux Makefile || die
}

src_configure() {
tc-export CC
export STRIP=true

emake config.h
sed -i -r \
-e '/#define ENABLE_LEASEFILE/s:(/[*]|[*]/)::g' \
config.h || die

sed -i -r \
-e '/#define 
ENABLE_MANUFACTURER_INFO_CONFIGURATION/s:(/[*]|[*]/)::g' \
 config.h || die
}

src_compile() {
# By default, it builds a bunch of unittests we don't run.
emake CC="$(tc-getCC)" miniupnpd
}

src_install() {
emake install PREFIX="${ED}"

newinitd "${FILESDIR}"/${PN}-init.d ${PN}
newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
}

pkg_postinst() {
elog "Please correct the external interface in the top of the two"
elog "scripts in /etc/miniupnpd and edit the config file in there too"
}






[gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd/files: miniupnpd-1.10-build.patch miniupnpd-1.9-build.patch

2014-11-29 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/11/29 12:40:13

  Added:miniupnpd-1.10-build.patch
  Removed:  miniupnpd-1.9-build.patch
  Log:
  Bumping to 1.10_pre2014112
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  net-misc/miniupnpd/files/miniupnpd-1.10-build.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch?rev=1.1&content-type=text/plain

Index: miniupnpd-1.10-build.patch
===
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -75,70 +75,10 @@ LDFLAGS += $(shell $(PKG_CONFIG) --libs-
 LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)
 else
 
-ifeq "$(wildcard /etc/gentoo-release )" ""
-LDLIBS ?= -liptc
-else # gentoo
-# the following is better, at least on gentoo with iptables 1.4.6
-# see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1618
-# and http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=2183
-LDLIBS ?= -lip4tc
-CPPFLAGS := -DIPTABLES_143 $(CPPFLAGS)
-endif
-
-ARCH ?= $(shell uname -m | grep -q "x86_64" && echo 64)
-ifdef IPTABLESPATH
-CPPFLAGS := $(CPPFLAGS) -I$(IPTABLESPATH)/include/
-LDFLAGS := $(LDFLAFGS) -L$(IPTABLESPATH)/libiptc/
-# get iptables version and set IPTABLES_143 macro if needed
-ifeq ($(TARGET_OPENWRT),)
-IPTABLESVERSION := $(shell grep "\#define VERSION" $(IPTABLESPATH)/config.h | 
tr -d \" |cut -d" " -f3 )
-IPTABLESVERSION1 := $(shell echo $(IPTABLESVERSION) | cut -d. -f1 )
-IPTABLESVERSION2 := $(shell echo $(IPTABLESVERSION) | cut -d. -f2 )
-IPTABLESVERSION3 := $(shell echo $(IPTABLESVERSION) | cut -d. -f3 )
-# test if iptables version >= 1.4.3
-TEST := $(shell [ \( \( $(IPTABLESVERSION1) -ge 1 \) -a \( $(IPTABLESVERSION2) 
-ge 4 \) \) -a \( $(IPTABLESVERSION3) -ge 3 \) ] && echo 1 )
-ifeq ($(TEST), 1)
-CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
-# the following sucks, but works
-LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libip4tc.o
-#LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libiptc.a
-else # ifeq ($(TEST), 1)
-LDLIBS = $(IPTABLESPATH)/libiptc/libiptc.a
-endif # ifeq ($(TEST), 1)
-else # ($(TARGET_OPENWRT),)
-# openWRT :
-# check for system-wide iptables files. Test if iptables version >= 1.4.3
-# the following test has to be verified :
-TEST := $(shell test -f /usr/include/iptables/internal.h && grep -q "\#define 
IPTABLES_VERSION" /usr/include/iptables/internal.h && echo 1)
-ifeq ($(TEST), 1)
-CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
-LDLIBS = -liptc
-endif  # ($(TEST), 1)
-TEST_LIB := $(shell test -f /usr/lib$(ARCH)/libiptc.a && echo 1)
-ifeq ($(TEST_LIB), 1)
-LDLIBS = -liptc /usr/lib$(ARCH)/libiptc.a
-endif # ($(TEST_LIB), 1)
-endif # ($(TARGET_OPENWRT),)
-else # ifdef IPTABLESPATH
-# IPTABLESPATH not defined
-# the following test has to be verified :
-TEST := $(shell test -f /usr/include/xtables.h && grep -q 
"XTABLES_VERSION_CODE" /usr/include/xtables.h && echo 1)
-ifeq ($(TEST), 1)
-CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
-LDLIBS = -liptc
-TESTIP4TC := $(shell test -f /lib/libip4tc.so && echo 1)
-ifeq ($(TESTIP4TC), 1)
-LDLIBS := $(LDLIBS) -lip4tc
-endif # ($(TESTIP4TC), 1)
-TESTIP6TC := $(shell test -f /lib/libip6tc.so && echo 1)
-ifeq ($(TESTIP6TC), 1)
-LDLIBS := $(LDLIBS) -lip6tc
-endif # ($(TESTIP6TC), 1)
-endif # ($(TEST), 1)
-endif # ifdef IPTABLESPATH
 endif # ifdef PCFILE_FOUND
 
-LDLIBS += -lnfnetlink
+LDLIBS += -lip4tc -lnfnetlink
+CPPFLAGS += -DIPTABLES_143
 
 TEST := $(shell $(PKG_CONFIG) --atleast-version=1.0.2 libnetfilter_conntrack 
&& $(PKG_CONFIG) --atleast-version=1.0.3 libmnl && echo 1)
 ifeq ($(TEST),1)
@@ -184,7 +124,6 @@ install:miniupnpd miniupnpd.8 miniupnpd
$(INSTALL) linux/miniupnpd.init.d.script 
$(DESTDIR)$(PREFIX)/etc/init.d/miniupnpd
$(INSTALL) -d $(DESTDIR)$(MANINSTALLDIR)
$(INSTALL) --mode=0644 miniupnpd.8 $(DESTDIR)$(MANINSTALLDIR)
-   gzip -f $(DESTDIR)$(MANINSTALLDIR)/miniupnpd.8
 
 # genuuid is using the uuidgen CLI tool which is part of libuuid
 # from the e2fsprogs






[gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd: miniupnpd-1.10_pre20141128.ebuild ChangeLog miniupnpd-1.9_pre20140523.ebuild

2014-11-29 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/11/29 12:40:13

  Modified: ChangeLog
  Added:miniupnpd-1.10_pre20141128.ebuild
  Removed:  miniupnpd-1.9_pre20140523.ebuild
  Log:
  Bumping to 1.10_pre2014112
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.36 net-misc/miniupnpd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.36&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.36&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.35&r2=1.36

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog   26 Jul 2014 09:03:37 -  1.35
+++ ChangeLog   29 Nov 2014 12:40:13 -  1.36
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/miniupnpd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.35 
2014/07/26 09:03:37 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.36 
2014/11/29 12:40:13 gurligebis Exp $
+
+*miniupnpd-1.10_pre20141128 (29 Nov 2014)
+
+  29 Nov 2014;  -miniupnpd-1.9_pre20140523.ebuild,
+  +miniupnpd-1.10_pre20141128.ebuild, -files/miniupnpd-1.9-build.patch,
+  +files/miniupnpd-1.10-build.patch:
+  Bumping to 1.10_pre20141128, fixing bug #531036
 
 *miniupnpd-1.9_pre20140523 (26 Jul 2014)
 



1.1  net-misc/miniupnpd/miniupnpd-1.10_pre20141128.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.10_pre20141128.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.10_pre20141128.ebuild?rev=1.1&content-type=text/plain

Index: miniupnpd-1.10_pre20141128.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.10_pre20141128.ebuild,v 
1.1 2014/11/29 12:40:13 gurligebis Exp $

EAPI="5"

inherit eutils toolchain-funcs

MY_PV=1.9.20141128
MY_P="${PN}-${MY_PV}"

DESCRIPTION="MiniUPnP IGD Daemon"
HOMEPAGE="http://miniupnp.free.fr/";
SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz";

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

RDEPEND=">=net-firewall/iptables-1.4.6
net-libs/libnfnetlink"
DEPEND="${RDEPEND}
sys-apps/util-linux
sys-apps/lsb-release"

S="${WORKDIR}/${MY_P}"

src_prepare() {
epatch "${FILESDIR}"/${PN}-1.10-build.patch
mv Makefile.linux Makefile || die
}

src_configure() {
tc-export CC
export STRIP=true

emake config.h
sed -i -r \
-e '/#define ENABLE_LEASEFILE/s:(/[*]|[*]/)::g' \
config.h || die

sed -i -r \
-e '/#define 
ENABLE_MANUFACTURER_INFO_CONFIGURATION/s:(/[*]|[*]/)::g' \
 config.h || die
}

src_compile() {
# By default, it builds a bunch of unittests we don't run.
emake CC="$(tc-getCC)" miniupnpd
}

src_install() {
emake install PREFIX="${ED}"

newinitd "${FILESDIR}"/${PN}-init.d ${PN}
newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
}

pkg_postinst() {
elog "Please correct the external interface in the top of the two"
elog "scripts in /etc/miniupnpd and edit the config file in there too"
}






[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: strongswan-5.2.1.ebuild ChangeLog strongswan-5.2.0-r1.ebuild

2014-10-26 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/10/26 13:13:00

  Modified: ChangeLog
  Added:strongswan-5.2.1.ebuild
  Removed:  strongswan-5.2.0-r1.ebuild
  Log:
  Bumping to 5.2.1
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.147net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.147&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.147&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.146&r2=1.147

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- ChangeLog   18 Oct 2014 05:59:01 -  1.146
+++ ChangeLog   26 Oct 2014 13:13:00 -  1.147
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.146 
2014/10/18 05:59:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.147 
2014/10/26 13:13:00 gurligebis Exp $
+
+*strongswan-5.2.1 (26 Oct 2014)
+
+  26 Oct 2014;  -strongswan-5.2.0-r1.ebuild,
+  +strongswan-5.2.1.ebuild:
+  Bumping to 5.2.1
 
   18 Oct 2014; Mike Frysinger  strongswan-5.2.0-r1.ebuild:
   Add USE=gmp to control the gmp plugin #504942 by Enrico Tagliavini.



1.1  net-misc/strongswan/strongswan-5.2.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.1.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-5.2.1.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.2.1.ebuild,v 1.1 
2014/10/26 13:13:00 gurligebis Exp $

EAPI=5
inherit eutils linux-info systemd user

DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, 
supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/";
SRC_URI="http://download.strongswan.org/${P}.tar.bz2";

LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql 
networkmanager +non-root +openssl sqlite pam pkcs11"

STRONGSWAN_PLUGINS_STD="led lookip systime-fix unity vici"
STRONGSWAN_PLUGINS_OPT="blowfish ccm ctr gcm ha ipseckey ntru padlock rdrand 
unbound whitelist"
for mod in $STRONGSWAN_PLUGINS_STD; do
IUSE="${IUSE} +strongswan_plugins_${mod}"
done

for mod in $STRONGSWAN_PLUGINS_OPT; do
IUSE="${IUSE} strongswan_plugins_${mod}"
done

COMMON_DEPEND="!net-misc/openswan
gmp? ( >=dev-libs/gmp-4.1.5 )
gcrypt? ( dev-libs/libgcrypt:0 )
caps? ( sys-libs/libcap )
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
openssl? ( >=dev-libs/openssl-0.9.8[-bindist] )
mysql? ( virtual/mysql )
sqlite? ( >=dev-db/sqlite-3.3.1 )
networkmanager? ( net-misc/networkmanager )
pam? ( sys-libs/pam )
strongswan_plugins_unbound? ( net-dns/unbound )"
DEPEND="${COMMON_DEPEND}
virtual/linux-sources
sys-kernel/linux-headers"
RDEPEND="${COMMON_DEPEND}
virtual/logger
sys-apps/iproute2
!net-misc/libreswan"

UGID="ipsec"

pkg_setup() {
linux-info_pkg_setup
elog "Linux kernel version: ${KV_FULL}"

if ! kernel_is -ge 2 6 16; then
eerror
eerror "This ebuild currently only supports ${PN} with the"
eerror "native Linux 2.6 IPsec stack on kernels >= 2.6.16."
eerror
fi

if kernel_is -lt 2 6 34; then
ewarn
ewarn "IMPORTANT KERNEL NOTES: Please read carefully..."
ewarn

if kernel_is -lt 2 6 29; then
ewarn "[ < 2.6.29 ] Due to a missing kernel feature, 
you have to"
ewarn "include all required IPv6 modules even if you 
just intend"
ewarn "to run on IPv4 only."
ewarn
ewarn "This has been fixed with kernels >= 2.6.29."
ewarn
fi

if kernel_is -lt 2 6 33; then
ewarn "[ < 2.6.33 ] Kernels prior to 2.6.33 include a 
non-standards"
ewarn "compliant implementation for SHA-2 HMAC support 
in ESP and"
ewarn "miss SHA384 and S

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-2.3.ebuild

2014-10-16 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/10/16 17:24:30

  Modified: ChangeLog wpa_supplicant-2.3.ebuild
  Log:
  Changing to using upstream supplied systemd files, fixing bug #525436
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key 15AE484C)

Revision  ChangesPath
1.219net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.219&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.219&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.218&r2=1.219

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -r1.218 -r1.219
--- ChangeLog   10 Oct 2014 18:55:49 -  1.218
+++ ChangeLog   16 Oct 2014 17:24:30 -  1.219
@@ -1,6 +1,9 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.218 2014/10/10 18:55:49 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.219 2014/10/16 17:24:30 gurligebis Exp $
+
+  16 Oct 2014;  wpa_supplicant-2.3.ebuild:
+  Changing to using upstream supplied systemd files, fixing bug #525436
 
 *wpa_supplicant-2.3 (10 Oct 2014)
 



1.2  net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild?r1=1.1&r2=1.2

Index: wpa_supplicant-2.3.ebuild
===
RCS file: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wpa_supplicant-2.3.ebuild   10 Oct 2014 18:55:49 -  1.1
+++ wpa_supplicant-2.3.ebuild   16 Oct 2014 17:24:30 -  1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild,v 
1.1 2014/10/10 18:55:49 gurligebis Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild,v 
1.2 2014/10/16 17:24:30 gurligebis Exp $
 
 EAPI=4
 
@@ -230,7 +230,7 @@
 
 src_compile() {
einfo "Building wpa_supplicant"
-   emake V=1
+   emake V=1 BINDIR=/usr/sbin
 
if use wimax; then
emake -C ../src/eap_peer clean
@@ -289,8 +289,7 @@
fi
 
# systemd stuff
-   systemd_dounit "${FILESDIR}"/wpa_supplicant.service
-   systemd_newunit "${FILESDIR}"/wpa_supplicant_at.service 
'wpa_supplicant@.service'
+   systemd_dounit systemd/*.service
 }
 
 pkg_postinst() {






[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files: wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-pa

2014-10-10 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/10/10 18:55:49

  Added:   

wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch

wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch
wpa_supplicant-2.3-generate-libeap-peer.patch
wpa_supplicant-2.3-dbus-path-fix.patch
  Log:
  Bumping to 2.3
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key 15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch
===
diff -Naur a/src/eap_peer/Makefile b/src/eap_peer/Makefile
--- a/src/eap_peer/Makefile 2013-05-17 09:51:55.0 +
+++ b/src/eap_peer/Makefile 2013-05-17 09:54:03.010830904 +
@@ -36,6 +36,7 @@
 OBJS_both += ../utils/wpa_debug.o
 OBJS_both += ../utils/base64.o
 OBJS_both += ../utils/wpabuf.o
+OBJS_both += ../utils/eloop.o
 OBJS_both += ../crypto/md5.o
 ifneq ($(CONFIG_TLS), openssl)
 OBJS_both += ../crypto/sha1.o
@@ -48,6 +49,7 @@
 OBJS_both += ../crypto/aes-omac1.o
 OBJS_both += ../crypto/ms_funcs.o
 OBJS_both += ../crypto/sha256.o
+OBJS_both += ../crypto/random.o
 
 
 OBJS_both += ../eap_common/eap_peap_common.o



1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch
===
diff -aurp a/wpa_supplicant/dbus/dbus_new_helpers.c 
b/wpa_supplicant/dbus/dbus_new_helpers.c
--- a/wpa_supplicant/dbus/dbus_new_helpers.c2012-05-15 07:28:37.616150164 
+
+++ b/wpa_supplicant/dbus/dbus_new_helpers.c2012-05-15 07:30:21.904157611 
+
@@ -882,7 +882,7 @@ void wpa_dbus_mark_property_changed(stru
const struct wpa_dbus_property_desc *dsc;
int i = 0;
 
-   if (iface == NULL)
+   if (iface == NULL || path == NULL)
return;
 
dbus_connection_get_object_path_data(iface->con, path,
diff -aurp a/wpa_supplicant/dbus/dbus_old.c b/wpa_supplicant/dbus/dbus_old.c
--- a/wpa_supplicant/dbus/dbus_old.c2012-05-15 07:28:29.502149373 +
+++ b/wpa_supplicant/dbus/dbus_old.c2012-05-15 07:30:48.859162441 +
@@ -379,7 +379,7 @@ void wpa_supplicant_dbus_notify_scan_res
DBusMessage *_signal;
 
/* Do nothing if the control interface is not turned on */
-   if (iface == NULL)
+   if (iface == NULL || wpa_s->dbus_path == NULL)
return;
 
_signal = dbus_message_new_signal(wpa_s->dbus_path,
@@ -419,7 +419,7 @@ void wpa_supplicant_dbus_notify_state_ch
if (wpa_s->global == NULL)
return;
iface = wpa_s->global->dbus;
-   if (iface == NULL)
+   if (iface == NULL || wpa_s->dbus_path == NULL)
return;
 
/* Only send signal if state really changed */
@@ -478,7 +478,7 @@ void wpa_supplicant_dbus_notify_scanning
dbus_bool_t scanning = wpa_s->scanning ? TRUE : FALSE;
 
/* Do nothing if the control interface is not turned on */
-   if (iface == NULL)
+   if (iface == NULL || wpa_s->dbus_path == NULL)
return;
 
_signal = dbus_message_new_signal(wpa_s->dbus_path,
@@ -513,7 +513,7 @@ void wpa_supplicant_dbus_notify_wps_cred
if (wpa_s->global == NULL)
return;
iface = wpa_s->global->dbus;
-   if (iface == NULL)
+   if (iface == NULL || wpa_s->dbus_path == NULL)
return;
 
_signal = dbus_message_new_signal(wpa_s->dbus_path,
@@ -564,7 +564,7 @@ void wpa_supplicant_dbus_notify_certific
if (wpa_s->global == NULL)
return;
iface = wpa_s->global->dbus;
-   if (iface == NULL)
+   if (iface == NULL || wpa_s->dbus_path == NULL)
return;
 
_signal = dbus_message_new_signal(wpa_s->dbus_path,



1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.3-generate-libeap-peer.patch

file : 
ht

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-2.3.ebuild

2014-10-10 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/10/10 18:55:49

  Modified: ChangeLog
  Added:wpa_supplicant-2.3.ebuild
  Log:
  Bumping to 2.3
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key 15AE484C)

Revision  ChangesPath
1.218net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.218&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.218&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.217&r2=1.218

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -r1.217 -r1.218
--- ChangeLog   5 Oct 2014 19:07:17 -   1.217
+++ ChangeLog   10 Oct 2014 18:55:49 -  1.218
@@ -1,6 +1,15 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.217 2014/10/05 19:07:17 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.218 2014/10/10 18:55:49 gurligebis Exp $
+
+*wpa_supplicant-2.3 (10 Oct 2014)
+
+  10 Oct 2014;  +wpa_supplicant-2.3.ebuild,
+  +files/wpa_supplicant-2.3-dbus-path-fix.patch,
+  +files/wpa_supplicant-2.3-do-not-call-dbus-functions-with-NULL-path.patch,
+  +files/wpa_supplicant-2.3-fix-undefined-reference-to-random_get_bytes.patch,
+  +files/wpa_supplicant-2.3-generate-libeap-peer.patch:
+  Bumping to 2.3
 
   05 Oct 2014; Rick Farina  wpa_supplicant-2.2-r1.ebuild:
   added missing dep on dev-qt/qtcore



1.1  net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.3.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.3.ebuild,v 
1.1 2014/10/10 18:55:49 gurligebis Exp $

EAPI=4

inherit eutils toolchain-funcs qt4-r2 systemd multilib

DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";
LICENSE="|| ( GPL-2 BSD )"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="ap dbus gnutls eap-sim fasteap p2p ps3 qt4 readline selinux smartcard ssl 
wimax wps kernel_linux kernel_FreeBSD"
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"

RDEPEND="dbus? ( sys-apps/dbus )
kernel_linux? (
eap-sim? ( sys-apps/pcsc-lite )
dev-libs/libnl:3
net-wireless/crda
)
!kernel_linux? ( net-libs/libpcap )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtsvg:4
)
readline? (
sys-libs/ncurses
sys-libs/readline
)
ssl? ( dev-libs/openssl )
!ssl? ( gnutls? ( net-libs/gnutls ) )
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
selinux? ( sec-policy/selinux-networkmanager )"
DEPEND="${RDEPEND}
virtual/pkgconfig"

S="${WORKDIR}/${P}/${PN}"

pkg_setup() {
if use gnutls && use ssl ; then
elog "You have both 'gnutls' and 'ssl' USE flags enabled: 
defaulting to USE=\"ssl\""
fi
}

src_prepare() {
# net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD
sed -i \
-e "s:\(#include \):#include \n\1:" \
../src/l2_packet/l2_packet_freebsd.c || die

# People seem to take the example configuration file too literally (bug 
#102361)
sed -i \
-e "s:^\(opensc_engine_path\):#\1:" \
-e "s:^\(pkcs11_engine_path\):#\1:" \
-e "s:^\(pkcs11_module_path\):#\1:" \
wpa_supplicant.conf || die

# Change configuration to match Gentoo locations (bug #143750)
sed -i \
-e "s:/usr/lib/opensc:/usr/$(get_libdir):" \
-e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \
wpa_supplicant.conf || die

if use dbus; then
epatch "${FILESDIR}/${P}-dbus-path-fix.patch"
fi

# systemd entries to D-Bus service files (bug #372877)
echo 'SystemdService=wpa_supplicant.service' \
| tee -a dbus/*.

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-2.3.ebuild hostapd-2.2-r2.ebuild

2014-10-10 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/10/10 18:49:52

  Modified: ChangeLog
  Added:hostapd-2.3.ebuild
  Removed:  hostapd-2.2-r2.ebuild
  Log:
  Bumping to 2.3
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key 15AE484C)

Revision  ChangesPath
1.152net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.152&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.152&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.151&r2=1.152

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -r1.151 -r1.152
--- ChangeLog   13 Sep 2014 15:04:53 -  1.151
+++ ChangeLog   10 Oct 2014 18:49:52 -  1.152
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.151 
2014/09/13 15:04:53 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.152 
2014/10/10 18:49:52 gurligebis Exp $
+
+*hostapd-2.3 (10 Oct 2014)
+
+  10 Oct 2014;  -hostapd-2.2-r2.ebuild,
+  +hostapd-2.3.ebuild:
+  Bumping to 2.3
 
 *hostapd-2.2-r2 (13 Sep 2014)
 



1.1  net-wireless/hostapd/hostapd-2.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.3.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.3.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.3.ebuild,v 
1.1 2014/10/10 18:49:52 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~x86"
IUSE="ipv6 logwatch netlink sqlite +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"

RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_FAST=y" >> ${CONFIG}
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
echo "CONFIG_TLSV11=y" >> ${CONFIG}
echo "CONFIG_TLSV12=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> ${CONFIG}
echo "CONFIG_WPS2=y" >> ${CONFIG}
echo "CONFIG_WPS_UPNP=y" >> ${CONFIG}
echo "CONFIG_WPS_NFC=y" >> ${CONFIG}
einfo "Enabling Wi-Fi Protected Setup support"
fi

echo "CONFIG_EAP_IKEV2=y" >> ${CONFIG}
echo "CONFIG_EAP_TNC=y" >> ${CONFIG}
echo "CONFIG_EAP_GTC=y" >> ${CONFIG}
echo "CONFIG_EAP_SIM=y" >> ${CONFIG}
echo "CONFIG_EAP_AKA=y" >> ${CONFIG}
echo "CONFIG_EAP_AKA_PRIME=y" >> ${CONFIG}
echo "CONFIG_EAP_EKE=y" >> ${CONFIG}
echo "CONFIG_EAP_PAX=y" >> ${CONFIG}
echo "CONFIG_EAP_PSK=y" >> ${CONFIG}
echo "CONFIG_EAP_SAKE=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK_SHA256=y" >> ${CONFIG}
echo "CONFIG_EAP_PWD=y" >> ${CONFIG}

einfo "Enabling drivers: "

# drivers
echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG}
einfo "  HostAP driver enabled"
echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG}
einfo "  Wired driver enabled"
echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG}
einfo "  Prism54 driver enabled"
echo "CONFIG_DRIVER_NONE=y" >> ${CONFIG}
einfo "  None driver enabled"

einfo "  nl80211 driver enabled"

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-2.2-r2.ebuild metadata.xml hostapd-2.2-r1.ebuild

2014-09-13 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/09/13 15:04:53

  Modified: ChangeLog metadata.xml
  Added:hostapd-2.2-r2.ebuild
  Removed:  hostapd-2.2-r1.ebuild
  Log:
  Removing old madwifi support, and enabling more features, fixing bug #522330
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.151net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.151&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.151&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.150&r2=1.151

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- ChangeLog   29 Aug 2014 19:28:44 -  1.150
+++ ChangeLog   13 Sep 2014 15:04:53 -  1.151
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.150 
2014/08/29 19:28:44 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.151 
2014/09/13 15:04:53 gurligebis Exp $
+
+*hostapd-2.2-r2 (13 Sep 2014)
+
+  13 Sep 2014;  -hostapd-2.2-r1.ebuild,
+  +hostapd-2.2-r2.ebuild, metadata.xml:
+  Removing old madwifi support, and enabling more features, fixing bug #522330
 
 *hostapd-2.2-r1 (29 Aug 2014)
 



1.15 net-wireless/hostapd/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/metadata.xml?rev=1.15&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/metadata.xml?rev=1.15&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/metadata.xml?r1=1.14&r2=1.15

Index: metadata.xml
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/metadata.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- metadata.xml15 May 2013 04:11:48 -  1.14
+++ metadata.xml13 Sep 2014 15:04:53 -  1.15
@@ -15,6 +15,8 @@
Install support files for 
sys-app/logwatch
Add support for madwifi (Atheros 
chipset)
+   Adding support for using netlink to create 
VLANs
+   Adding sqlite support
Add support for Wi-Fi Protected Setup

 



1.1  net-wireless/hostapd/hostapd-2.2-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.2-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.2-r2.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.2-r2.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.2-r2.ebuild,v 
1.1 2014/09/13 15:04:53 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~x86"
IUSE="ipv6 logwatch netlink sqlite +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"

RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_FAST=y" >> ${CONFIG}
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
echo "CONFIG_TLSV11=y" >> ${CONFIG}
echo "CONFIG_TLSV12=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> ${CONFIG}
echo "CONFIG_WPS2=y" >> ${CONFI

[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: strongswan-5.2.0-r1.ebuild metadata.xml ChangeLog strongswan-5.2.0.ebuild

2014-09-13 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/09/13 14:17:42

  Modified: metadata.xml ChangeLog
  Added:strongswan-5.2.0-r1.ebuild
  Removed:  strongswan-5.2.0.ebuild
  Log:
  Changing init script to "use logger" instead of "need logger" - fixing bug 
#476514 .
  Adding use flags for more plugins, fixing bugs #481740 and #504942 .
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.18 net-misc/strongswan/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/metadata.xml?rev=1.18&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/metadata.xml?rev=1.18&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/metadata.xml?r1=1.17&r2=1.18

Index: metadata.xml
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/metadata.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- metadata.xml18 Apr 2014 18:15:35 -  1.17
+++ metadata.xml13 Sep 2014 14:17:42 -  1.18
@@ -51,6 +51,57 @@
   22-24(4.4+)
   dev-libs/openssl has to be compiled with USE="-bindist".
 
+
+  Enable pkcs11 support.
+
+
+  Enable support for the led plugin.
+
+
+  Enable support for the lookip plugin.
+
+
+  Enable support for the systime-fix plugin.
+
+
+  Enable support for the unity plugin.
+
+
+  Enable support for the vici plugin.
+
+
+  Enable support for the blowfish plugin.
+
+
+  Enable support for the ccm plugin.
+
+
+  Enable support for the ctr plugin.
+
+
+  Enable support for the gcm plugin.
+
+
+  Enable support for the ha plugin.
+
+
+  Enable support for the ipseckey plugin.
+
+
+  Enable support for the ntru plugin.
+
+
+  Enable support for the padlock plugin.
+
+
+  Enable support for the rdrand plugin.
+
+
+  Enable support for the unbound plugin.
+
+
+  Enable support for the whitelist plugin.
+
   
   
 cpe:/a:strongswan:strongswan



1.145net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.145&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.145&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.144&r2=1.145

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- ChangeLog   10 Jul 2014 08:16:13 -  1.144
+++ ChangeLog   13 Sep 2014 14:17:42 -  1.145
@@ -1,6 +1,14 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.144 
2014/07/10 08:16:13 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.145 
2014/09/13 14:17:42 gurligebis Exp $
+
+*strongswan-5.2.0-r1 (13 Sep 2014)
+
+  13 Sep 2014;  -strongswan-5.2.0.ebuild,
+  +strongswan-5.2.0-r1.ebuild, files/ipsec, metadata.xml:
+  Changing init script to "use logger" instead of "need logger" - fixing bug
+  #476514 .
+  Adding use flags for more plugins, fixing bugs #481740 and #504942 .
 
 *strongswan-5.2.0 (10 Jul 2014)
 



1.1  net-misc/strongswan/strongswan-5.2.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-5.2.0-r1.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.2.0-r1.ebuild,v 1.1 
2014/09/13 14:17:42 gurligebis Exp $

EAPI=5
inherit eutils linux-info systemd user

DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, 
supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/";
SRC_URI="http://download.strongswan.org/${P}.tar.bz2";

LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+caps curl +constraints debug dhcp eap farp gcrypt ldap mysql 
networkmanager +non-root +openssl sqlite pam pkcs11"

STRONGSWAN_PLUGINS_STD="led lookip systime-fix unity vici"
STRONGSWAN_PLUGINS_OPT="blowfish ccm ctr gcm ha ipseckey ntru padlock rdrand 
unbound whitelist"
for mod 

[gentoo-commits] gentoo-x86 commit in net-misc/strongswan/files: ipsec

2014-09-13 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/09/13 14:17:42

  Modified: ipsec
  Log:
  Changing init script to "use logger" instead of "need logger" - fixing bug 
#476514 .
  Adding use flags for more plugins, fixing bugs #481740 and #504942 .
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.3  net-misc/strongswan/files/ipsec

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/files/ipsec?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/files/ipsec?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/files/ipsec?r1=1.2&r2=1.3

Index: ipsec
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/files/ipsec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ipsec   16 Dec 2007 14:32:50 -  1.2
+++ ipsec   13 Sep 2014 14:17:42 -  1.3
@@ -1,9 +1,10 @@
 #!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 depend() {
-   need logger net
+   need net
+   use logger
 }
 
 start() {






[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-2.0-r1.ebuild ChangeLog hostapd-2.2-r1.ebuild hostapd-2.2.ebuild

2014-08-29 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/08/29 19:28:44

  Modified: hostapd-2.0-r1.ebuild ChangeLog
  Added:hostapd-2.2-r1.ebuild
  Removed:  hostapd-2.2.ebuild
  Log:
  Adding 802.11ac support, removing references to madwifi-old, fixing bug 
#521130
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.6  net-wireless/hostapd/hostapd-2.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.0-r1.ebuild?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.0-r1.ebuild?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.0-r1.ebuild?r1=1.5&r2=1.6

Index: hostapd-2.0-r1.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.0-r1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- hostapd-2.0-r1.ebuild   1 May 2014 01:21:20 -   1.5
+++ hostapd-2.0-r1.ebuild   29 Aug 2014 19:28:44 -  1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.0-r1.ebuild,v 1.5 
2014/05/01 01:21:20 vapier Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.0-r1.ebuild,v 1.6 
2014/08/29 19:28:44 gurligebis Exp $
 
 EAPI="4"
 
@@ -21,8 +21,8 @@
crda? ( net-wireless/crda )
)
madwifi? ( ||
-   ( >net-wireless/madwifi-ng-tools-0.9.3
-   net-wireless/madwifi-old ) )"
+   ( >net-wireless/madwifi-ng-tools-0.9.3 ) )"
+
 RDEPEND="${DEPEND}"
 
 S="${S}/${PN}"



1.150net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.150&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.150&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.149&r2=1.150

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- ChangeLog   6 Jun 2014 16:23:18 -   1.149
+++ ChangeLog   29 Aug 2014 19:28:44 -  1.150
@@ -1,6 +1,13 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.149 
2014/06/06 16:23:18 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.150 
2014/08/29 19:28:44 gurligebis Exp $
+
+*hostapd-2.2-r1 (29 Aug 2014)
+
+  29 Aug 2014;  hostapd-2.0-r1.ebuild,
+  -hostapd-2.2.ebuild, +hostapd-2.2-r1.ebuild:
+  Adding 802.11ac support, removing references to madwifi-old, fixing bug
+  #521130
 
 *hostapd-2.2 (06 Jun 2014)
 



1.1  net-wireless/hostapd/hostapd-2.2-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.2-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.2-r1.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.2-r1.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.2-r1.ebuild,v 
1.1 2014/08/29 19:28:44 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~x86"
IUSE="ipv6 logwatch madwifi +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
madwifi? ( ||
( >net-wireless/madwifi-ng-tools-0.9.3 ) )"

RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_

[gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd/files: miniupnpd-1.9-cleanup.patch

2014-07-26 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/07/26 09:03:38

  Removed:  miniupnpd-1.9-cleanup.patch
  Log:
  Bumping to 1.9_pre20140523 and adding configure option to enable changing 
name in config file.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)



[gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd: miniupnpd-1.9_pre20140523.ebuild ChangeLog miniupnpd-1.9_pre20140422.ebuild

2014-07-26 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/07/26 09:03:37

  Modified: ChangeLog
  Added:miniupnpd-1.9_pre20140523.ebuild
  Removed:  miniupnpd-1.9_pre20140422.ebuild
  Log:
  Bumping to 1.9_pre20140523 and adding configure option to enable changing 
name in config file.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.35 net-misc/miniupnpd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.35&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.35&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.34&r2=1.35

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- ChangeLog   10 May 2014 09:25:26 -  1.34
+++ ChangeLog   26 Jul 2014 09:03:37 -  1.35
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/miniupnpd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.34 
2014/05/10 09:25:26 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.35 
2014/07/26 09:03:37 gurligebis Exp $
+
+*miniupnpd-1.9_pre20140523 (26 Jul 2014)
+
+  26 Jul 2014;  -miniupnpd-1.9_pre20140422.ebuild,
+  +miniupnpd-1.9_pre20140523.ebuild, -files/miniupnpd-1.9-cleanup.patch:
+  Bumping to 1.9_pre20140523 and adding configure option to enable changing
+  name in config file.
 
 *miniupnpd-1.9_pre20140422 (10 May 2014)
 



1.1  net-misc/miniupnpd/miniupnpd-1.9_pre20140523.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.9_pre20140523.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.9_pre20140523.ebuild?rev=1.1&content-type=text/plain

Index: miniupnpd-1.9_pre20140523.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.9_pre20140523.ebuild,v 
1.1 2014/07/26 09:03:37 gurligebis Exp $

EAPI="5"

inherit eutils toolchain-funcs

MY_PV=1.8.20140523
MY_P="${PN}-${MY_PV}"

DESCRIPTION="MiniUPnP IGD Daemon"
HOMEPAGE="http://miniupnp.free.fr/";
SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz";

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

RDEPEND=">=net-firewall/iptables-1.4.6
net-libs/libnfnetlink"
DEPEND="${RDEPEND}
sys-apps/util-linux
sys-apps/lsb-release"

S="${WORKDIR}/${MY_P}"

src_prepare() {
epatch "${FILESDIR}"/${PN}-1.9-build.patch
mv Makefile.linux Makefile || die
}

src_configure() {
tc-export CC
export STRIP=true

emake config.h
sed -i -r \
-e '/#define ENABLE_LEASEFILE/s:(/[*]|[*]/)::g' \
config.h || die

sed -i -r \
-e '/#define 
ENABLE_MANUFACTURER_INFO_CONFIGURATION/s:(/[*]|[*]/)::g' \
 config.h || die
}

src_compile() {
# By default, it builds a bunch of unittests we don't run.
emake CC="$(tc-getCC)" miniupnpd
}

src_install() {
emake install PREFIX="${ED}"

newinitd "${FILESDIR}"/${PN}-init.d ${PN}
newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
}

pkg_postinst() {
elog "Please correct the external interface in the top of the two"
elog "scripts in /etc/miniupnpd and edit the config file in there too"
}






[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-5.2.0.ebuild

2014-07-10 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/07/10 08:16:13

  Modified: ChangeLog
  Added:strongswan-5.2.0.ebuild
  Log:
  Bumping to 5.2.0
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.144net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.144&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.144&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.143&r2=1.144

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- ChangeLog   10 May 2014 15:22:51 -  1.143
+++ ChangeLog   10 Jul 2014 08:16:13 -  1.144
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.143 
2014/05/10 15:22:51 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.144 
2014/07/10 08:16:13 gurligebis Exp $
+
+*strongswan-5.2.0 (10 Jul 2014)
+
+  10 Jul 2014;  +strongswan-5.2.0.ebuild:
+  Bumping to 5.2.0
 
   10 May 2014;  -strongswan-5.1.1.ebuild:
   Removing old version, with known issues, fixing bug #507722 and #509832



1.1  net-misc/strongswan/strongswan-5.2.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.2.0.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-5.2.0.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.2.0.ebuild,v 1.1 
2014/07/10 08:16:13 gurligebis Exp $

EAPI=5
inherit eutils linux-info systemd user

DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, 
supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/";
SRC_URI="http://download.strongswan.org/${P}.tar.bz2";

LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+caps curl +constraints debug dhcp eap farp gcrypt ldap mysql 
networkmanager +non-root +openssl sqlite pam"

COMMON_DEPEND="!net-misc/openswan
>=dev-libs/gmp-4.1.5
gcrypt? ( dev-libs/libgcrypt:0 )
caps? ( sys-libs/libcap )
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
openssl? ( >=dev-libs/openssl-0.9.8[-bindist] )
mysql? ( virtual/mysql )
sqlite? ( >=dev-db/sqlite-3.3.1 )
networkmanager? ( net-misc/networkmanager )
pam? ( sys-libs/pam )"
DEPEND="${COMMON_DEPEND}
virtual/linux-sources
sys-kernel/linux-headers"
RDEPEND="${COMMON_DEPEND}
virtual/logger
sys-apps/iproute2
!net-misc/libreswan"

UGID="ipsec"

pkg_setup() {
linux-info_pkg_setup
elog "Linux kernel version: ${KV_FULL}"

if ! kernel_is -ge 2 6 16; then
eerror
eerror "This ebuild currently only supports ${PN} with the"
eerror "native Linux 2.6 IPsec stack on kernels >= 2.6.16."
eerror
fi

if kernel_is -lt 2 6 34; then
ewarn
ewarn "IMPORTANT KERNEL NOTES: Please read carefully..."
ewarn

if kernel_is -lt 2 6 29; then
ewarn "[ < 2.6.29 ] Due to a missing kernel feature, 
you have to"
ewarn "include all required IPv6 modules even if you 
just intend"
ewarn "to run on IPv4 only."
ewarn
ewarn "This has been fixed with kernels >= 2.6.29."
ewarn
fi

if kernel_is -lt 2 6 33; then
ewarn "[ < 2.6.33 ] Kernels prior to 2.6.33 include a 
non-standards"
ewarn "compliant implementation for SHA-2 HMAC support 
in ESP and"
ewarn "miss SHA384 and SHA512 HMAC support altogether."
ewarn
ewarn "If you need any of those features, please use 
kernel >= 2.6.33."
ewarn
fi

if kernel_is -lt 2 6 34; then
ewarn "[ < 2.6.34 ] Support for the AES-GMAC 
authentification-only"
ewarn "ESP cipher is only included in kernels >= 
2.6.34."
ewarn
ewarn "If you need it, please u

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-2.2-r1.ebuild wpa_supplicant-2.2.ebuild

2014-06-13 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/06/13 14:56:17

  Modified: ChangeLog
  Added:wpa_supplicant-2.2-r1.ebuild
  Removed:  wpa_supplicant-2.2.ebuild
  Log:
  Adding IBSS RSN support, fixing bug #512892
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.214net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.214&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.214&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.213&r2=1.214

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -r1.213 -r1.214
--- ChangeLog   6 Jun 2014 16:42:05 -   1.213
+++ ChangeLog   13 Jun 2014 14:56:17 -  1.214
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.213 2014/06/06 16:42:05 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.214 2014/06/13 14:56:17 gurligebis Exp $
+
+*wpa_supplicant-2.2-r1 (13 Jun 2014)
+
+  13 Jun 2014;  -wpa_supplicant-2.2.ebuild,
+  +wpa_supplicant-2.2-r1.ebuild:
+  Adding IBSS RSN support, fixing bug #512892
 
 *wpa_supplicant-2.2 (06 Jun 2014)
 



1.1  net-wireless/wpa_supplicant/wpa_supplicant-2.2-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.2-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.2-r1.ebuild?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.2-r1.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.2-r1.ebuild,v
 1.1 2014/06/13 14:56:17 gurligebis Exp $

EAPI=4

inherit eutils toolchain-funcs qt4-r2 systemd multilib

DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";
LICENSE="|| ( GPL-2 BSD )"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="ap dbus gnutls eap-sim fasteap p2p ps3 qt4 readline selinux smartcard ssl 
wimax wps kernel_linux kernel_FreeBSD"
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"

RDEPEND="dbus? ( sys-apps/dbus )
kernel_linux? (
eap-sim? ( sys-apps/pcsc-lite )
dev-libs/libnl:3
net-wireless/crda
)
!kernel_linux? ( net-libs/libpcap )
qt4? (
dev-qt/qtgui:4
dev-qt/qtsvg:4
)
readline? (
sys-libs/ncurses
sys-libs/readline
)
ssl? ( dev-libs/openssl )
!ssl? ( gnutls? ( net-libs/gnutls ) )
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
selinux? ( sec-policy/selinux-networkmanager )"
DEPEND="${RDEPEND}
virtual/pkgconfig"

S="${WORKDIR}/${P}/${PN}"

pkg_setup() {
if use gnutls && use ssl ; then
elog "You have both 'gnutls' and 'ssl' USE flags enabled: 
defaulting to USE=\"ssl\""
fi
}

src_prepare() {
# net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD
sed -i \
-e "s:\(#include \):#include \n\1:" \
../src/l2_packet/l2_packet_freebsd.c || die

# People seem to take the example configuration file too literally (bug 
#102361)
sed -i \
-e "s:^\(opensc_engine_path\):#\1:" \
-e "s:^\(pkcs11_engine_path\):#\1:" \
-e "s:^\(pkcs11_module_path\):#\1:" \
wpa_supplicant.conf || die

# Change configuration to match Gentoo locations (bug #143750)
sed -i \
-e "s:/usr/lib/opensc:/usr/$(get_libdir):" \
-e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \
wpa_supplicant.conf || die

if use dbus; then
epatch "${FILESDIR}/${P}-dbus-path-fix.patch"
fi

# systemd entries to D-Bus service files (bug #372877)
echo 'SystemdService=wpa_supplicant.service' \
| tee -a dbus/*.service >/dev/null || die

cd "${WORKDIR}/${P}"

if use wimax; then
# generate-libeap-peer.patch comes before
# fix-undefined-reference-to-random_get_b

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-2.2.ebuild wpa_supplicant-2.1-r1.ebuild

2014-06-06 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/06/06 16:42:06

  Modified: ChangeLog
  Added:wpa_supplicant-2.2.ebuild
  Removed:  wpa_supplicant-2.1-r1.ebuild
  Log:
  Bumping to 2.2, fixing #512574
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.213net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.213&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.213&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.212&r2=1.213

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -r1.212 -r1.213
--- ChangeLog   14 Apr 2014 07:05:47 -  1.212
+++ ChangeLog   6 Jun 2014 16:42:05 -   1.213
@@ -1,6 +1,21 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.212 2014/04/14 07:05:47 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.213 2014/06/06 16:42:05 gurligebis Exp $
+
+*wpa_supplicant-2.2 (06 Jun 2014)
+
+  06 Jun 2014;  -wpa_supplicant-2.1-r1.ebuild,
+  +wpa_supplicant-2.2.ebuild, -files/wpa_supplicant-2.1-NFC-fix.patch,
+  -files/wpa_supplicant-2.1-WPA-fix.patch,
+  -files/wpa_supplicant-2.1-dbus-path-fix.patch,
+  -files/wpa_supplicant-2.1-do-not-call-dbus-functions-with-NULL-path.patch,
+  -files/wpa_supplicant-2.1-fix-undefined-reference-to-random_get_bytes.patch,
+  -files/wpa_supplicant-2.1-generate-libeap-peer.patch,
+  +files/wpa_supplicant-2.2-dbus-path-fix.patch,
+  +files/wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch,
+  +files/wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch,
+  +files/wpa_supplicant-2.2-generate-libeap-peer.patch:
+  Bumping to 2.2, fixing #512574
 
   14 Apr 2014; Alexey Shvetsov  metadata.xml:
   Drop me from maintainers



1.1  net-wireless/wpa_supplicant/wpa_supplicant-2.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.2.ebuild?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.2.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.2.ebuild,v 
1.1 2014/06/06 16:42:05 gurligebis Exp $

EAPI=4

inherit eutils toolchain-funcs qt4-r2 systemd multilib

DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";
LICENSE="|| ( GPL-2 BSD )"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="ap dbus gnutls eap-sim fasteap p2p ps3 qt4 readline selinux smartcard ssl 
wimax wps kernel_linux kernel_FreeBSD"
REQUIRED_USE="fasteap? ( !gnutls !ssl ) smartcard? ( ssl )"

RDEPEND="dbus? ( sys-apps/dbus )
kernel_linux? (
eap-sim? ( sys-apps/pcsc-lite )
dev-libs/libnl:3
net-wireless/crda
)
!kernel_linux? ( net-libs/libpcap )
qt4? (
dev-qt/qtgui:4
dev-qt/qtsvg:4
)
readline? (
sys-libs/ncurses
sys-libs/readline
)
ssl? ( dev-libs/openssl )
!ssl? ( gnutls? ( net-libs/gnutls ) )
!ssl? ( !gnutls? ( dev-libs/libtommath ) )
selinux? ( sec-policy/selinux-networkmanager )"
DEPEND="${RDEPEND}
virtual/pkgconfig"

S="${WORKDIR}/${P}/${PN}"

pkg_setup() {
if use gnutls && use ssl ; then
elog "You have both 'gnutls' and 'ssl' USE flags enabled: 
defaulting to USE=\"ssl\""
fi
}

src_prepare() {
# net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD
sed -i \
-e "s:\(#include \):#include \n\1:" \
../src/l2_packet/l2_packet_freebsd.c || die

# People seem to take the example configuration file too literally (bug 
#102361)
sed -i \
-e "s:^\(opensc_engine_path\):#\1:" \
-e "s:^\(pkcs11_engine_path\):#\1:" \
-e "s:^\(pkcs11_module_path\):#\1:" \
wpa_supplicant.conf || die

# Change configuration to match Gentoo locations (bug #143750)
sed -i \
  

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant/files: wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch wpa_supplicant-2.2-dbus-path-fix.patch wpa_supplicant-2.2-

2014-06-06 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/06/06 16:42:05

  Added:   

wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch
wpa_supplicant-2.2-dbus-path-fix.patch

wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch
wpa_supplicant-2.2-generate-libeap-peer.patch
  Removed:  wpa_supplicant-2.1-WPA-fix.patch
wpa_supplicant-2.1-generate-libeap-peer.patch
wpa_supplicant-2.1-dbus-path-fix.patch

wpa_supplicant-2.1-fix-undefined-reference-to-random_get_bytes.patch
wpa_supplicant-2.1-NFC-fix.patch

wpa_supplicant-2.1-do-not-call-dbus-functions-with-NULL-path.patch
  Log:
  Bumping to 2.2, fixing #512574
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.2-fix-undefined-reference-to-random_get_bytes.patch
===
diff -Naur a/src/eap_peer/Makefile b/src/eap_peer/Makefile
--- a/src/eap_peer/Makefile 2013-05-17 09:51:55.0 +
+++ b/src/eap_peer/Makefile 2013-05-17 09:54:03.010830904 +
@@ -36,6 +36,7 @@
 OBJS_both += ../utils/wpa_debug.o
 OBJS_both += ../utils/base64.o
 OBJS_both += ../utils/wpabuf.o
+OBJS_both += ../utils/eloop.o
 OBJS_both += ../crypto/md5.o
 ifneq ($(CONFIG_TLS), openssl)
 OBJS_both += ../crypto/sha1.o
@@ -48,6 +49,7 @@
 OBJS_both += ../crypto/aes-omac1.o
 OBJS_both += ../crypto/ms_funcs.o
 OBJS_both += ../crypto/sha256.o
+OBJS_both += ../crypto/random.o
 
 
 OBJS_both += ../eap_common/eap_peap_common.o



1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-dbus-path-fix.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-dbus-path-fix.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-dbus-path-fix.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.2-dbus-path-fix.patch
===
diff -aurp a/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in 
b/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in
--- a/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in
2012-05-15 09:00:03.048545044 +
+++ b/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in
2012-05-15 09:01:19.759550509 +
@@ -1,5 +1,5 @@
 [D-BUS Service]
 Name=fi.epitest.hostap.WPASupplicant
-Exec=@BINDIR@/wpa_supplicant -u
+Exec=/usr/sbin/wpa_supplicant -u
 User=root
 SystemdService=wpa_supplicant.service
diff -aurp a/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in 
b/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in
--- a/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in  2012-05-15 
09:00:03.048545044 +
+++ b/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in  2012-05-15 
09:01:28.727551913 +
@@ -1,5 +1,5 @@
 [D-BUS Service]
 Name=fi.w1.wpa_supplicant1
-Exec=@BINDIR@/wpa_supplicant -u
+Exec=/usr/sbin/wpa_supplicant -u
 User=root
 SystemdService=wpa_supplicant.service



1.1  
net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch?rev=1.1&content-type=text/plain

Index: wpa_supplicant-2.2-do-not-call-dbus-functions-with-NULL-path.patch
===
diff -aurp a/wpa_supplicant/dbus/dbus_new_helpers.c 
b/wpa_supplicant/dbus/dbus_new_helpers.c
--- a/wpa_supplicant/dbus/dbus_new_helpers.c2012-05-15 07:28:37.616150164 
+
+++ b/wpa_supplicant/dbus/dbus_new_helpers.c2012-05-15 07:30:21.904157611 
+
@@ -882,7 +882,7 @@ void wpa_dbus_mark_property_changed(stru
const struct wpa_dbus_property_desc *dsc;
int i = 0;
 
-   if (iface == NULL)
+   if (iface == NULL || path == NULL)
return;
 
dbus_connection_get_object_path_data(iface

[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files: hostapd-2.1-Fix-nt_password_hash-build.patch

2014-06-06 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/06/06 16:23:18

  Removed:  hostapd-2.1-Fix-nt_password_hash-build.patch
  Log:
  Bumping to 2.2, fixing #512606
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)



[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-2.2.ebuild hostapd-2.1-r1.ebuild

2014-06-06 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/06/06 16:23:18

  Modified: ChangeLog
  Added:hostapd-2.2.ebuild
  Removed:  hostapd-2.1-r1.ebuild
  Log:
  Bumping to 2.2, fixing #512606
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.149net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.149&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.149&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.148&r2=1.149

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -r1.148 -r1.149
--- ChangeLog   1 May 2014 01:22:44 -   1.148
+++ ChangeLog   6 Jun 2014 16:23:18 -   1.149
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.148 
2014/05/01 01:22:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.149 
2014/06/06 16:23:18 gurligebis Exp $
+
+*hostapd-2.2 (06 Jun 2014)
+
+  06 Jun 2014;  -hostapd-2.1-r1.ebuild,
+  +hostapd-2.2.ebuild, -files/hostapd-2.1-Fix-nt_password_hash-build.patch:
+  Bumping to 2.2, fixing #512606
 
   01 May 2014; Mike Frysinger 
   +files/hostapd-2.1-Fix-nt_password_hash-build.patch, hostapd-2.1-r1.ebuild:



1.1  net-wireless/hostapd/hostapd-2.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.2.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.2.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.2.ebuild,v 
1.1 2014/06/06 16:23:18 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~x86"
IUSE="ipv6 logwatch madwifi +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
madwifi? ( ||
( >net-wireless/madwifi-ng-tools-0.9.3
net-wireless/madwifi-old ) )"
RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> ${CONFIG}
echo "CONFIG_WPS2=y" >> ${CONFIG}
echo "CONFIG_WPS_UPNP=y" >> ${CONFIG}
einfo "Enabling Wi-Fi Protected Setup support"
fi

echo "CONFIG_EAP_GTC=y" >> ${CONFIG}
echo "CONFIG_EAP_SIM=y" >> ${CONFIG}
echo "CONFIG_EAP_AKA=y" >> ${CONFIG}
echo "CONFIG_EAP_EKE=y" >> ${CONFIG}
echo "CONFIG_EAP_PAX=y" >> ${CONFIG}
echo "CONFIG_EAP_PSK=y" >> ${CONFIG}
echo "CONFIG_EAP_SAKE=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK_SHA256=y" >> ${CONFIG}
echo "CONFIG_EAP_PWD=y" >> ${CONFIG}

einfo "Enabling drivers: "

# drivers
echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG}
einfo "  HostAP driver enabled"
echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG}
einfo "  Wired driver enabled"
echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG}
einfo "  Prism54 driver enabled"
echo "CONFIG_DRIVER_NONE=y" >> ${CONFIG}
einfo "  None driver enabled"

if use madwifi; then
# Add include path for madwifi-driver headers
einfo "  Madwifi driver enabled"
echo "CFLAGS += -I/usr/include/madwifi" >> ${CONFIG}

[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-5.1.1.ebuild

2014-05-10 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/05/10 15:22:51

  Modified: ChangeLog
  Removed:  strongswan-5.1.1.ebuild
  Log:
  Removing old version, with known issues, fixing bug #507722 and #509832
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.143net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.143&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.143&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.142&r2=1.143

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -r1.142 -r1.143
--- ChangeLog   10 May 2014 14:00:53 -  1.142
+++ ChangeLog   10 May 2014 15:22:51 -  1.143
@@ -1,6 +1,9 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.142 
2014/05/10 14:00:53 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.143 
2014/05/10 15:22:51 gurligebis Exp $
+
+  10 May 2014;  -strongswan-5.1.1.ebuild:
+  Removing old version, with known issues, fixing bug #507722 and #509832
 
   10 May 2014; Agostino Sarubbo  strongswan-5.1.3.ebuild:
   Stable for ppc, wrt bug #507722






[gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd/files: miniupnpd-1.9-build.patch miniupnpd-1.9-cleanup.patch miniupnpd-1.8-build.patch

2014-05-10 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/05/10 09:25:27

  Added:miniupnpd-1.9-build.patch
miniupnpd-1.9-cleanup.patch
  Removed:  miniupnpd-1.8-build.patch
  Log:
  Bumping to 1.9_pre20140422 and seperating patch into upstream and 
non-upstream part.
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.1  net-misc/miniupnpd/files/miniupnpd-1.9-build.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-1.9-build.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-1.9-build.patch?rev=1.1&content-type=text/plain

Index: miniupnpd-1.9-build.patch
===
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -75,70 +75,10 @@ LDFLAGS += $(shell $(PKG_CONFIG) --libs-
 LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)
 else
 
-ifeq "$(wildcard /etc/gentoo-release )" ""
-LDLIBS ?= -liptc
-else # gentoo
-# the following is better, at least on gentoo with iptables 1.4.6
-# see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1618
-# and http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=2183
-LDLIBS ?= -lip4tc
-CPPFLAGS := -DIPTABLES_143 $(CPPFLAGS)
-endif
-
-ARCH ?= $(shell uname -m | grep -q "x86_64" && echo 64)
-ifdef IPTABLESPATH
-CPPFLAGS := $(CPPFLAGS) -I$(IPTABLESPATH)/include/
-LDFLAGS := $(LDFLAFGS) -L$(IPTABLESPATH)/libiptc/
-# get iptables version and set IPTABLES_143 macro if needed
-ifeq ($(TARGET_OPENWRT),)
-IPTABLESVERSION := $(shell grep "\#define VERSION" $(IPTABLESPATH)/config.h | 
tr -d \" |cut -d" " -f3 )
-IPTABLESVERSION1 := $(shell echo $(IPTABLESVERSION) | cut -d. -f1 )
-IPTABLESVERSION2 := $(shell echo $(IPTABLESVERSION) | cut -d. -f2 )
-IPTABLESVERSION3 := $(shell echo $(IPTABLESVERSION) | cut -d. -f3 )
-# test if iptables version >= 1.4.3
-TEST := $(shell [ \( \( $(IPTABLESVERSION1) -ge 1 \) -a \( $(IPTABLESVERSION2) 
-ge 4 \) \) -a \( $(IPTABLESVERSION3) -ge 3 \) ] && echo 1 )
-ifeq ($(TEST), 1)
-CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
-# the following sucks, but works
-LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libip4tc.o
-#LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libiptc.a
-else # ifeq ($(TEST), 1)
-LDLIBS = $(IPTABLESPATH)/libiptc/libiptc.a
-endif # ifeq ($(TEST), 1)
-else # ($(TARGET_OPENWRT),)
-# openWRT :
-# check for system-wide iptables files. Test if iptables version >= 1.4.3
-# the following test has to be verified :
-TEST := $(shell test -f /usr/include/iptables/internal.h && grep -q "\#define 
IPTABLES_VERSION" /usr/include/iptables/internal.h && echo 1)
-ifeq ($(TEST), 1)
-CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
-LDLIBS = -liptc
-endif  # ($(TEST), 1)
-TEST_LIB := $(shell test -f /usr/lib$(ARCH)/libiptc.a && echo 1)
-ifeq ($(TEST_LIB), 1)
-LDLIBS = -liptc /usr/lib$(ARCH)/libiptc.a
-endif # ($(TEST_LIB), 1)
-endif # ($(TARGET_OPENWRT),)
-else # ifdef IPTABLESPATH
-# IPTABLESPATH not defined
-# the following test has to be verified :
-TEST := $(shell test -f /usr/include/xtables.h && grep -q 
"XTABLES_VERSION_CODE" /usr/include/xtables.h && echo 1)
-ifeq ($(TEST), 1)
-CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
-LDLIBS = -liptc
-TESTIP4TC := $(shell test -f /lib/libip4tc.so && echo 1)
-ifeq ($(TESTIP4TC), 1)
-LDLIBS := $(LDLIBS) -lip4tc
-endif # ($(TESTIP4TC), 1)
-TESTIP6TC := $(shell test -f /lib/libip6tc.so && echo 1)
-ifeq ($(TESTIP6TC), 1)
-LDLIBS := $(LDLIBS) -lip6tc
-endif # ($(TESTIP6TC), 1)
-endif # ($(TEST), 1)
-endif # ifdef IPTABLESPATH
 endif # ifdef PCFILE_FOUND
 
-LDLIBS += -lnfnetlink
+LDLIBS += -lip4tc -lnfnetlink
+CPPFLAGS += -DIPTABLES_143
 
 TEST := $(shell $(PKG_CONFIG) --atleast-version=1.0.2 libnetfilter_conntrack 
&& $(PKG_CONFIG) --atleast-version=1.0.3 libmnl && echo 1)
 ifeq ($(TEST),1)
@@ -184,7 +124,6 @@ install:miniupnpd miniupnpd.8 miniupnpd
$(INSTALL) linux/miniupnpd.init.d.script 
$(DESTDIR)$(PREFIX)/etc/init.d/miniupnpd
$(INSTALL) -d $(DESTDIR)$(MANINSTALLDIR)
$(INSTALL) --mode=0644 miniupnpd.8 $(DESTDIR)$(MANINSTALLDIR)
-   gzip $(DESTDIR)$(MANINSTALLDIR)/miniupnpd.8
 
 # genuuid is using the uuidgen CLI tool which is part of libuuid
 # from the e2fsprogs



1.1  net-misc/miniupnpd/files/miniupnpd-1.9-cleanup.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-1.9-cleanup.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-1.9-cleanup.patch?rev=1.1&content-type=text/plain

Index: miniupnpd-1.9-cleanup.patch
===
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -25,7 +25,7 @@
 CFLAGS ?= -Os
 CFLAGS += -fno-strict-aliasing
 CFLAGS += -fno-common
-CFLAGS += -D_GNU_SOURCE
+CPPFLAGS += -D_GNU_SOURCE
 CFLAGS += -Wall
 CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-af

[gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd: miniupnpd-1.9_pre20140422.ebuild ChangeLog miniupnpd-1.8-r1.ebuild miniupnpd-1.8.ebuild

2014-05-10 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/05/10 09:25:26

  Modified: ChangeLog
  Added:miniupnpd-1.9_pre20140422.ebuild
  Removed:  miniupnpd-1.8-r1.ebuild miniupnpd-1.8.ebuild
  Log:
  Bumping to 1.9_pre20140422 and seperating patch into upstream and 
non-upstream part.
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.34 net-misc/miniupnpd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.34&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.34&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.33&r2=1.34

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ChangeLog   29 Apr 2014 20:58:42 -  1.33
+++ ChangeLog   10 May 2014 09:25:26 -  1.34
@@ -1,6 +1,15 @@
 # ChangeLog for net-misc/miniupnpd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.33 
2014/04/29 20:58:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.34 
2014/05/10 09:25:26 gurligebis Exp $
+
+*miniupnpd-1.9_pre20140422 (10 May 2014)
+
+  10 May 2014;  -miniupnpd-1.8.ebuild,
+  -miniupnpd-1.8-r1.ebuild, +miniupnpd-1.9_pre20140422.ebuild,
+  -files/miniupnpd-1.8-build.patch, +files/miniupnpd-1.9-build.patch,
+  +files/miniupnpd-1.9-cleanup.patch:
+  Bumping to 1.9_pre20140422 and seperating patch into upstream and
+  non-upstream part.
 
 *miniupnpd-1.8-r1 (29 Apr 2014)
 



1.1  net-misc/miniupnpd/miniupnpd-1.9_pre20140422.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.9_pre20140422.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.9_pre20140422.ebuild?rev=1.1&content-type=text/plain

Index: miniupnpd-1.9_pre20140422.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.9_pre20140422.ebuild,v 
1.1 2014/05/10 09:25:26 gurligebis Exp $

EAPI="5"

inherit eutils toolchain-funcs

MY_PV=1.8.20140422
MY_P="${PN}-${MY_PV}"

DESCRIPTION="MiniUPnP IGD Daemon"
HOMEPAGE="http://miniupnp.free.fr/";
SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz";

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

RDEPEND=">=net-firewall/iptables-1.4.6
net-libs/libnfnetlink"
DEPEND="${RDEPEND}
sys-apps/util-linux
sys-apps/lsb-release"

S="${WORKDIR}/${MY_P}"

src_prepare() {
epatch "${FILESDIR}"/${PN}-1.9-cleanup.patch
epatch "${FILESDIR}"/${PN}-1.9-build.patch
mv Makefile.linux Makefile || die
}

src_configure() {
tc-export CC
export STRIP=true

emake config.h
sed -i -r \
-e '/#define ENABLE_LEASEFILE/s:(/[*]|[*]/)::g' \
config.h || die
}

src_compile() {
# By default, it builds a bunch of unittests we don't run.
emake CC="$(tc-getCC)" miniupnpd
}

src_install() {
emake install PREFIX="${ED}"

newinitd "${FILESDIR}"/${PN}-init.d ${PN}
newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
}

pkg_postinst() {
elog "Please correct the external interface in the top of the two"
elog "scripts in /etc/miniupnpd and edit the config file in there too"
}






[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-2.1-r1.ebuild hostapd-2.1.ebuild

2014-04-16 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/04/16 09:10:54

  Modified: ChangeLog
  Added:hostapd-2.1-r1.ebuild
  Removed:  hostapd-2.1.ebuild
  Log:
  Adding EAP-PWD support
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.146net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.146&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.146&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.145&r2=1.146

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- ChangeLog   21 Mar 2014 19:47:14 -  1.145
+++ ChangeLog   16 Apr 2014 09:10:54 -  1.146
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.145 
2014/03/21 19:47:14 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.146 
2014/04/16 09:10:54 gurligebis Exp $
+
+*hostapd-2.1-r1 (16 Apr 2014)
+
+  16 Apr 2014;  -hostapd-2.1.ebuild,
+  +hostapd-2.1-r1.ebuild:
+  Adding EAP-PWD support
 
   21 Mar 2014;  files/hostapd-init.d:
   Improving init.d script and moved from /var/run to /run, fixing bug #505166



1.1  net-wireless/hostapd/hostapd-2.1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.1-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/hostapd-2.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: hostapd-2.1-r1.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-2.1-r1.ebuild,v 
1.1 2014/04/16 09:10:54 gurligebis Exp $

EAPI="4"

inherit toolchain-funcs eutils systemd

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="http://hostap.epitest.fi";
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz";

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~x86"
IUSE="ipv6 logwatch madwifi +ssl +wps +crda"

DEPEND="ssl? ( dev-libs/openssl )
kernel_linux? (
dev-libs/libnl:3
crda? ( net-wireless/crda )
)
madwifi? ( ||
( >net-wireless/madwifi-ng-tools-0.9.3
net-wireless/madwifi-old ) )"
RDEPEND="${DEPEND}"

S="${S}/${PN}"

src_prepare() {
sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die
}

src_configure() {
local CONFIG="${S}/.config"

# toolchain setup
echo "CC = $(tc-getCC)" > ${CONFIG}

# EAP authentication methods
echo "CONFIG_EAP=y" >> ${CONFIG}
echo "CONFIG_EAP_MD5=y" >> ${CONFIG}

if use ssl; then
# SSL authentication methods
echo "CONFIG_EAP_TLS=y" >> ${CONFIG}
echo "CONFIG_EAP_TTLS=y" >> ${CONFIG}
echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
echo "CONFIG_EAP_PEAP=y" >> ${CONFIG}
fi

if use wps; then
# Enable Wi-Fi Protected Setup
echo "CONFIG_WPS=y" >> ${CONFIG}
echo "CONFIG_WPS2=y" >> ${CONFIG}
echo "CONFIG_WPS_UPNP=y" >> ${CONFIG}
einfo "Enabling Wi-Fi Protected Setup support"
fi

echo "CONFIG_EAP_GTC=y" >> ${CONFIG}
echo "CONFIG_EAP_SIM=y" >> ${CONFIG}
echo "CONFIG_EAP_AKA=y" >> ${CONFIG}
echo "CONFIG_EAP_EKE=y" >> ${CONFIG}
echo "CONFIG_EAP_PAX=y" >> ${CONFIG}
echo "CONFIG_EAP_PSK=y" >> ${CONFIG}
echo "CONFIG_EAP_SAKE=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK=y" >> ${CONFIG}
echo "CONFIG_EAP_GPSK_SHA256=y" >> ${CONFIG}
echo "CONFIG_EAP_PWD=y" >> ${CONFIG}

einfo "Enabling drivers: "

# drivers
echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG}
einfo "  HostAP driver enabled"
echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG}
einfo "  Wired driver enabled"
echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG}
einfo "  Prism54 driver enabled"
echo "CONFIG_DRIVER_NONE=y" >> ${CONFIG}
einfo "  None driver enabled"

if use madwifi; then
# Add include path for madwifi-driver headers
einfo "  Madwifi driver enabled"
echo "CFLAGS += -I/usr/include/madwifi" >> ${CONFIG}
echo "CONFIG_DRIVER_MADWIFI=y" >

[gentoo-commits] gentoo-x86 commit in net-misc/strongswan: strongswan-5.1.3.ebuild ChangeLog strongswan-5.1.2.ebuild

2014-04-16 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/04/16 09:06:32

  Modified: ChangeLog
  Added:strongswan-5.1.3.ebuild
  Removed:  strongswan-5.1.2.ebuild
  Log:
  Bumping to 5.1.3
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.136net-misc/strongswan/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.136&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.136&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.135&r2=1.136

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- ChangeLog   3 Mar 2014 17:30:13 -   1.135
+++ ChangeLog   16 Apr 2014 09:06:32 -  1.136
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.135 
2014/03/03 17:30:13 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.136 
2014/04/16 09:06:32 gurligebis Exp $
+
+*strongswan-5.1.3 (16 Apr 2014)
+
+  16 Apr 2014;  -strongswan-5.1.2.ebuild,
+  +strongswan-5.1.3.ebuild:
+  Bumping to 5.1.3
 
 *strongswan-5.1.2 (03 Mar 2014)
 



1.1  net-misc/strongswan/strongswan-5.1.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.1.3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/strongswan/strongswan-5.1.3.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-5.1.3.ebuild
===
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.1.3.ebuild,v 1.1 
2014/04/16 09:06:32 gurligebis Exp $

EAPI=5
inherit eutils linux-info systemd user

DESCRIPTION="IPsec-based VPN solution focused on security and ease of use, 
supporting IKEv1/IKEv2 and MOBIKE"
HOMEPAGE="http://www.strongswan.org/";
SRC_URI="http://download.strongswan.org/${P}.tar.bz2";

LICENSE="GPL-2 RSA DES"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+caps curl debug dhcp eap farp gcrypt ldap mysql networkmanager +non-root 
+openssl sqlite pam"

COMMON_DEPEND="!net-misc/openswan
>=dev-libs/gmp-4.1.5
gcrypt? ( dev-libs/libgcrypt:0 )
caps? ( sys-libs/libcap )
curl? ( net-misc/curl )
ldap? ( net-nds/openldap )
openssl? ( >=dev-libs/openssl-0.9.8[-bindist] )
mysql? ( virtual/mysql )
sqlite? ( >=dev-db/sqlite-3.3.1 )
networkmanager? ( net-misc/networkmanager )
pam? ( sys-libs/pam )"
DEPEND="${COMMON_DEPEND}
virtual/linux-sources
sys-kernel/linux-headers"
RDEPEND="${COMMON_DEPEND}
virtual/logger
sys-apps/iproute2
!net-misc/libreswan"

UGID="ipsec"

pkg_setup() {
linux-info_pkg_setup
elog "Linux kernel version: ${KV_FULL}"

if ! kernel_is -ge 2 6 16; then
eerror
eerror "This ebuild currently only supports ${PN} with the"
eerror "native Linux 2.6 IPsec stack on kernels >= 2.6.16."
eerror
fi

if kernel_is -lt 2 6 34; then
ewarn
ewarn "IMPORTANT KERNEL NOTES: Please read carefully..."
ewarn

if kernel_is -lt 2 6 29; then
ewarn "[ < 2.6.29 ] Due to a missing kernel feature, 
you have to"
ewarn "include all required IPv6 modules even if you 
just intend"
ewarn "to run on IPv4 only."
ewarn
ewarn "This has been fixed with kernels >= 2.6.29."
ewarn
fi

if kernel_is -lt 2 6 33; then
ewarn "[ < 2.6.33 ] Kernels prior to 2.6.33 include a 
non-standards"
ewarn "compliant implementation for SHA-2 HMAC support 
in ESP and"
ewarn "miss SHA384 and SHA512 HMAC support altogether."
ewarn
ewarn "If you need any of those features, please use 
kernel >= 2.6.33."
ewarn
fi

if kernel_is -lt 2 6 34; then
ewarn "[ < 2.6.34 ] Support for the AES-GMAC 
authentification-only"
ewarn "ESP cipher is only included in kernels >= 
2.6.34."
ewarn
ewarn "If you need it, please use kernel >= 2.6.34

[gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-2.1-r1.ebuild

2014-03-21 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/03/21 19:56:13

  Modified: ChangeLog wpa_supplicant-2.1-r1.ebuild
  Log:
  Removing keepdir of /var/run/wpa_supplicant, fixing bug #387895
  
  (Portage version: 2.2.8-r1/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.211net-wireless/wpa_supplicant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.211&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.211&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.210&r2=1.211

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -r1.210 -r1.211
--- ChangeLog   25 Feb 2014 07:53:52 -  1.210
+++ ChangeLog   21 Mar 2014 19:56:13 -  1.211
@@ -1,6 +1,9 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.210 2014/02/25 07:53:52 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 
1.211 2014/03/21 19:56:13 gurligebis Exp $
+
+  21 Mar 2014;  wpa_supplicant-2.1-r1.ebuild:
+  Removing keepdir of /var/run/wpa_supplicant, fixing bug #387895
 
 *wpa_supplicant-2.1-r1 (25 Feb 2014)
 



1.2  net-wireless/wpa_supplicant/wpa_supplicant-2.1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.1-r1.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.1-r1.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.1-r1.ebuild?r1=1.1&r2=1.2

Index: wpa_supplicant-2.1-r1.ebuild
===
RCS file: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.1-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wpa_supplicant-2.1-r1.ebuild25 Feb 2014 07:53:52 -  1.1
+++ wpa_supplicant-2.1-r1.ebuild21 Mar 2014 19:56:13 -  1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.1-r1.ebuild,v
 1.1 2014/02/25 07:53:52 gurligebis Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-2.1-r1.ebuild,v
 1.2 2014/03/21 19:56:13 gurligebis Exp $
 
 EAPI=4
 
@@ -291,7 +291,6 @@
newins dbus-wpa_supplicant.conf wpa_supplicant.conf
insinto /usr/share/dbus-1/system-services
doins fi.epitest.hostap.WPASupplicant.service 
fi.w1.wpa_supplicant1.service
-   keepdir /var/run/wpa_supplicant
popd > /dev/null
fi
 






[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog

2014-03-21 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/03/21 19:47:14

  Modified: ChangeLog
  Log:
  Improving init.d script and moved from /var/run to /run, fixing bug #505166
  
  (Portage version: 2.2.8-r1/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.145net-wireless/hostapd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.145&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.145&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.144&r2=1.145

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- ChangeLog   12 Feb 2014 10:30:27 -  1.144
+++ ChangeLog   21 Mar 2014 19:47:14 -  1.145
@@ -1,6 +1,9 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.144 
2014/02/12 10:30:27 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.145 
2014/03/21 19:47:14 gurligebis Exp $
+
+  21 Mar 2014;  files/hostapd-init.d:
+  Improving init.d script and moved from /var/run to /run, fixing bug #505166
 
 *hostapd-2.1 (12 Feb 2014)
 






[gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files: hostapd-init.d

2014-03-21 Thread Bjarke Istrup Pedersen (gurligebis)
gurligebis14/03/21 19:47:14

  Modified: hostapd-init.d
  Log:
  Improving init.d script and moved from /var/run to /run, fixing bug #505166
  
  (Portage version: 2.2.8-r1/cvs/Linux i686, signed Manifest commit with key 
15AE484C)

Revision  ChangesPath
1.4  net-wireless/hostapd/files/hostapd-init.d

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d?r1=1.3&r2=1.4

Index: hostapd-init.d
===
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hostapd-init.d  25 Sep 2011 14:03:46 -  1.3
+++ hostapd-init.d  21 Mar 2014 19:47:14 -  1.4
@@ -1,7 +1,11 @@
 #!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d,v 
1.3 2011/09/25 14:03:46 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d,v 
1.4 2014/03/21 19:47:14 gurligebis Exp $
+
+pidfile="/run/${SVCNAME}.pid"
+command="/usr/sbin/hostapd"
+command_args="-P ${pidfile} -B ${OPTIONS} ${CONFIGS}"
 
 extra_started_commands="reload"
 
@@ -15,7 +19,7 @@
use logger
 }
 
-checkconfig() {
+start_pre() {
local file
 
for file in ${CONFIGS}; do
@@ -26,25 +30,10 @@
done
 }
 
-start() {
-   checkconfig || return 1
-
-   ebegin "Starting ${SVCNAME}"
-   start-stop-daemon --start --exec /usr/sbin/hostapd \
-   -- -B ${OPTIONS} ${CONFIGS}
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping ${SVCNAME}"
-   start-stop-daemon --stop --exec /usr/sbin/hostapd
-   eend $?
-}
-
 reload() {
-   checkconfig || return 1
+   start_pre || return 1
 
ebegin "Reloading ${SVCNAME} configuration"
-   kill -HUP $(pidof /usr/sbin/hostapd) > /dev/null 2>&1
+   kill -HUP $(cat ${pidfile}) > /dev/null 2>&1
eend $?
 }