public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-0.6.8.ebuild ChangeLog
@ 2009-02-16 21:58 Bjarke Istrup Pedersen (gurligebis)
  0 siblings, 0 replies; 3+ messages in thread
From: Bjarke Istrup Pedersen (gurligebis) @ 2009-02-16 21:58 UTC (permalink / raw
  To: gentoo-commits

gurligebis    09/02/16 21:58:11

  Modified:             ChangeLog
  Added:                hostapd-0.6.8.ebuild
  Log:
  Bumping to 0.6.8
  (Portage version: 2.2_rc23/cvs/Linux i686)

Revision  Changes    Path
1.91                 net-wireless/hostapd/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.91&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.91&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.90&r2=1.91

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- ChangeLog	6 Jan 2009 19:43:22 -0000	1.90
+++ ChangeLog	16 Feb 2009 21:58:11 -0000	1.91
@@ -1,6 +1,13 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.90 2009/01/06 19:43:22 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.91 2009/02/16 21:58:11 gurligebis Exp $
+
+*hostapd-0.6.8 (16 Feb 2009)
+
+  16 Feb 2009; Bjarke Istrup Pedersen <gurligebis@gentoo.org>
+  +files/hostapd-0.6.8-conf.d, +files/hostapd-0.6.8-init.d,
+  +hostapd-0.6.8.ebuild:
+  Bumping to 0.6.8
 
 *hostapd-0.6.7 (06 Jan 2009)
 



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

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

Index: hostapd-0.6.8.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild,v 1.1 2009/02/16 21:58:11 gurligebis Exp $

inherit toolchain-funcs linux-info

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 ~ppc ~x86"
IUSE="ipv6 logwatch madwifi ssl wps"

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

S="${S}/hostapd"

generate_config() {
	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}
		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_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}

	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"

	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" >> ${CONFIG}
	else
		einfo "  Madwifi driver disabled"
	fi

	if [[ ${KV_MAJOR} -ge 2 && ${KV_MINOR} -ge 6 && ${KV_PATCH} -ge 26 ]] ; then
		# Test if header version is new enough (2.6.26+)
		if [ "$(grep NL80211_MNTR_FLAG_COOK_FRAMES /usr/include/linux/nl80211.h)" ]; then
			einfo "  nl80211 driver enabled"
			echo "CONFIG_DRIVER_NL80211=y" >> ${CONFIG}
			echo "CFLAGS += -I/usr/include/netlink" >> ${CONFIG}
			echo "LIBS += -L/usr/lib" >> ${CONFIG}
		else
			einfo "  nl80211 driver disabled (due to header version below 2.6.26)"
		fi
	else
		einfo "  nl80211 driver disabled (due to kernel version below 2.6.26)"
	fi

	# misc
	echo "CONFIG_PKCS12=y" >> ${CONFIG}
	echo "CONFIG_RADIUS_SERVER=y" >> ${CONFIG}
	echo "CONFIG_IAPP=y" >> ${CONFIG}
	echo "CONFIG_IEEE80211R=y" >> ${CONFIG}
	echo "CONFIG_IEEE80211W=y" >> ${CONFIG}
	echo "CONFIG_PEERKEY=y" >> ${CONFIG}
	echo "CONFIG_RSN_PREAUTH=y" >> ${CONFIG}

	if use ipv6; then
		# IPv6 support
		echo "CONFIG_IPV6=y" >> ${CONFIG}
	fi

	# TODO: Add support for BSD drivers
}

src_unpack() {
	unpack ${A}

	cd "${S}"

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

	generate_config
}

src_compile() {
	emake || die "emake failed"

	if use ssl; then
		emake nt_password_hash || die "emake nt_password_hash failed"
		emake hlr_auc_gw || die "emake hlr_auc_gw failed"
	fi
}

src_install() {
	insinto /etc/hostapd
	doins hostapd.conf hostapd.accept hostapd.deny \
		hostapd.eap_user hostapd.radius_clients hostapd.sim_db hostapd.wpa_psk

	dosbin hostapd
	dobin hostapd_cli

	use ssl && dobin nt_password_hash
	use ssl && dobin hlr_auc_gw

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

	doman hostapd.8 hostapd_cli.1

	dodoc ChangeLog README
	if use wps; then
		dodoc README-WPS
	fi

	docinto examples
	dodoc wired.conf

	if use logwatch; then
		insinto /etc/log.d/conf/services/
		doins logwatch/hostapd.conf

		exeinto /etc/log.d/scripts/services/
		doexe logwatch/hostapd
	fi
}

pkg_postinst() {
	einfo
	einfo "In order to use ${PN} you need to set up your wireless card"
	einfo "for master mode in /etc/conf.d/net and then start"
	einfo "/etc/init.d/hostapd."
	einfo
	einfo "Example configuration:"
	einfo
	einfo "config_wlan0=( \"192.168.1.1/24\" )"
	einfo "channel_wlan0=\"6\""
	einfo "essid_wlan0=\"test\""
	einfo "mode_wlan0=\"master\""
	einfo
	if use madwifi; then
		einfo "This package compiles against the headers installed by"
		einfo "madwifi-old, madwifi-ng or madwifi-ng-tools."
		einfo "You should remerge ${PN} after upgrading these packages."
		einfo
	fi
	#if [ -e "${KV_DIR}"/net/mac80211 ]; then
	#	einfo "This package now compiles against the headers installed by"
	#	einfo "the kernel source for the mac80211 driver. You should "
	#	einfo "re-emerge ${PN} after upgrading your kernel source."
	#fi

	if use wps; then
		einfo "You have enabled Wi-Fi Protected Setup support, please"
		einfo "read the README-WPS file in /usr/share/doc/${P}"
		einfo "for info on how to use WPS"
	fi
}






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-0.6.8.ebuild ChangeLog
@ 2009-03-24 23:50 Joseph Jezak (josejx)
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Jezak (josejx) @ 2009-03-24 23:50 UTC (permalink / raw
  To: gentoo-commits

josejx      09/03/24 23:50:42

  Modified:             hostapd-0.6.8.ebuild ChangeLog
  Log:
  Marked ppc stable for bug #263673.
  (Portage version: 2.1.6.7/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  net-wireless/hostapd/hostapd-0.6.8.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild?r1=1.3&r2=1.4

Index: hostapd-0.6.8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hostapd-0.6.8.ebuild	26 Feb 2009 22:11:56 -0000	1.3
+++ hostapd-0.6.8.ebuild	24 Mar 2009 23:50:42 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild,v 1.3 2009/02/26 22:11:56 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild,v 1.4 2009/03/24 23:50:42 josejx Exp $
 
 inherit toolchain-funcs linux-info
 
@@ -10,7 +10,7 @@
 
 LICENSE="|| ( GPL-2 BSD )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ppc ~x86"
 IUSE="ipv6 logwatch madwifi ssl wps"
 
 DEPEND="ssl? ( dev-libs/openssl )



1.96                 net-wireless/hostapd/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.96&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.96&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.95&r2=1.96

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- ChangeLog	24 Mar 2009 23:23:30 -0000	1.95
+++ ChangeLog	24 Mar 2009 23:50:42 -0000	1.96
@@ -1,6 +1,9 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.95 2009/03/24 23:23:30 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.96 2009/03/24 23:50:42 josejx Exp $
+
+  24 Mar 2009; Joseph Jezak <josejx@gentoo.org> hostapd-0.6.8.ebuild:
+  Marked ppc stable for bug #263673.
 
 *hostapd-0.6.9 (25 Mar 2009)
 






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-0.6.8.ebuild ChangeLog
@ 2009-04-04 19:18 Markus Meier (maekke)
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Meier (maekke) @ 2009-04-04 19:18 UTC (permalink / raw
  To: gentoo-commits

maekke      09/04/04 19:18:12

  Modified:             hostapd-0.6.8.ebuild ChangeLog
  Log:
  amd64/x86 stable, bug #263673
  (Portage version: 2.1.6.11/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  net-wireless/hostapd/hostapd-0.6.8.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild?r1=1.4&r2=1.5

Index: hostapd-0.6.8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- hostapd-0.6.8.ebuild	24 Mar 2009 23:50:42 -0000	1.4
+++ hostapd-0.6.8.ebuild	4 Apr 2009 19:18:12 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild,v 1.4 2009/03/24 23:50:42 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.8.ebuild,v 1.5 2009/04/04 19:18:12 maekke Exp $
 
 inherit toolchain-funcs linux-info
 
@@ -10,7 +10,7 @@
 
 LICENSE="|| ( GPL-2 BSD )"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="ipv6 logwatch madwifi ssl wps"
 
 DEPEND="ssl? ( dev-libs/openssl )



1.97                 net-wireless/hostapd/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.97&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?rev=1.97&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/hostapd/ChangeLog?r1=1.96&r2=1.97

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- ChangeLog	24 Mar 2009 23:50:42 -0000	1.96
+++ ChangeLog	4 Apr 2009 19:18:12 -0000	1.97
@@ -1,6 +1,9 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.96 2009/03/24 23:50:42 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.97 2009/04/04 19:18:12 maekke Exp $
+
+  04 Apr 2009; Markus Meier <maekke@gentoo.org> hostapd-0.6.8.ebuild:
+  amd64/x86 stable, bug #263673
 
   24 Mar 2009; Joseph Jezak <josejx@gentoo.org> hostapd-0.6.8.ebuild:
   Marked ppc stable for bug #263673.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-04 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-04 19:18 [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-0.6.8.ebuild ChangeLog Markus Meier (maekke)
  -- strict thread matches above, loose matches on Subject: below --
2009-03-24 23:50 Joseph Jezak (josejx)
2009-02-16 21:58 Bjarke Istrup Pedersen (gurligebis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox