summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/hostapd/ChangeLog10
-rw-r--r--net-wireless/hostapd/Manifest20
-rw-r--r--net-wireless/hostapd/hostapd-0.6.10.ebuild187
-rw-r--r--net-wireless/hostapd/hostapd-0.6.8.ebuild196
-rw-r--r--net-wireless/hostapd/hostapd-0.7.3.ebuild (renamed from net-wireless/hostapd/hostapd-0.7.2.ebuild)2
5 files changed, 23 insertions, 392 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog
index 5259db167e31..981c6a9f8c71 100644
--- a/net-wireless/hostapd/ChangeLog
+++ b/net-wireless/hostapd/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-wireless/hostapd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.107 2010/05/23 15:01:04 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.108 2010/09/08 15:23:00 gurligebis Exp $
+
+*hostapd-0.7.3 (08 Sep 2010)
+
+ 08 Sep 2010; Bjarke Istrup Pedersen <gurligebis@gentoo.org>
+ -hostapd-0.6.8.ebuild, -hostapd-0.6.10.ebuild, -hostapd-0.7.2.ebuild,
+ +hostapd-0.7.3.ebuild:
+ Bumping to 0.7.3 and removing old versions.
+ This version is the first in the 0.7 stable series from upstream.
*hostapd-0.7.2 (23 May 2010)
diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest
index 73437ab1471e..150b53d7f6a8 100644
--- a/net-wireless/hostapd/Manifest
+++ b/net-wireless/hostapd/Manifest
@@ -1,12 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX hostapd-conf.d 245 RMD160 88b816218cb37d32fd940db17ece84d612c87f14 SHA1 0d88865c313bf1ffbc168029a13c76f288280a3d SHA256 916f4b14095ee4ec8a510391c883e9f01868e18d79a3d5cbeb13a104a793d45d
AUX hostapd-init.d 1015 RMD160 9c5908b38de714f6c79aad61ee2c248bf9d06c0a SHA1 6238deb6c618169ab5a8147850a1a0e594d69ba3 SHA256 d2c0f0d97a8c7d25e723c55c4377c1f7344762375998cc8498788f3a340fdf95
-DIST hostapd-0.6.10.tar.gz 1100734 RMD160 2da84cf89be263fe08f0b7a90a0e2cdd7409c36f SHA1 2cacf994abd3cebad36679d32f64c9e9906ccff8 SHA256 53cb165d5fec821f186b811beb2fcb212964b1a8ea84cc8cfcf229227989581b
-DIST hostapd-0.6.8.tar.gz 1078338 RMD160 eae5adfabe734c7586473ef9cdbde4d86b622536 SHA1 0f03a3d4dcce3560b5bb516628570c4eff88b58f SHA256 90e735947f84492c10ccfb6801971f4b0789e4639a37a379987db49c9291cab6
DIST hostapd-0.6.9.tar.gz 1089548 RMD160 1faf1728984756b54ee353af4ed6d173259a953d SHA1 80d1d3922fc0daf2aab2d41a2e37172d5371cf4f SHA256 4430fe2c7a2176c6890ac3a726a8b3d234a77beb3ca987b4349c467331343e67
-DIST hostapd-0.7.2.tar.gz 1134568 RMD160 c93d98031206bf63d362db48770e14f8978033ee SHA1 07bf81cc858aaad4f785fd111c52890eac0fad33 SHA256 647b5e8f4160c6d9959eb2ae77ce7739ec356a1bc74486ae73ea054cf4448d74
-EBUILD hostapd-0.6.10.ebuild 4957 RMD160 74e9a7888d732603f6a9f5abb0bb74cf878e2113 SHA1 df3b2ed436fe8912f11d07ea2e0d522faedcde7b SHA256 21d9fc4dfe6cb88aa3abee61a3abe9f2eade4560449012a732472105a3ca3942
-EBUILD hostapd-0.6.8.ebuild 5340 RMD160 2d4fc98e901f60b0b2f745a454b66e27a7cd837a SHA1 1bf794377abfff4ff5b653fc63b4f6c4b18b8b4f SHA256 8aa339e1735369ed64bfe00b97e92d39b869664cbe43d66d2aae6faf4aad2e96
+DIST hostapd-0.7.3.tar.gz 1138869 RMD160 3d901166172cf634ecab4bd8426a33695b1e1070 SHA1 7a8853fe41ee5a2b9f03f608cf7a61c7ccea4f4c SHA256 31eb2781f37e1a4c27969d1594f8019c0ca87779349c099ab812833289961567
EBUILD hostapd-0.6.9.ebuild 4953 RMD160 dcd2a03675d34ce9a1854c3ef788eb6218ee9193 SHA1 fc713e42361c63c7a5c3b222dd643b54aa5b4f30 SHA256 bd870808e074117ee66b41c62ff3358fea8fe17d54bb72d1c9dae67e5e907a04
-EBUILD hostapd-0.7.2.ebuild 5116 RMD160 add4bca863853687fbe8c7c50b39bf2b748be9eb SHA1 19a01e4aa7b10defc28d4d875a3bceacdbc9189c SHA256 35ab78d80aee83228aac42766363c964bd30df5949bfb08e6bfeffeb87d0e12d
-MISC ChangeLog 19806 RMD160 559b237714b399a2782aa12eaeae52dc4b463c1d SHA1 f406045abddfcc0a3b28398ba1f724842f65da6a SHA256 752f457066e6a950e7fa2b835450a45c59f0efceb5d58cf7821126943e3a7aa9
+EBUILD hostapd-0.7.3.ebuild 5116 RMD160 cbf3dbc77569420d61ea382656ca959028c714e7 SHA1 9fc3be86633eac3fe01ce1011db71e389b4d0281 SHA256 06ad7ee23c26d088b570c667612b587e9af3257fb2eb235eda8266fa09f19b97
+MISC ChangeLog 20110 RMD160 d84c9489a08ff219d12464652b4412844a2de5c8 SHA1 0b29eea036c0d5c96736afd9a6e48894ff82aa12 SHA256 734eef81cb247c9cd4d27d10faa611bef36796bca8a481a8c7aa992f35637622
MISC metadata.xml 752 RMD160 f895add3fe282efb5fd3fba223d16b28fabe2e9e SHA1 1c4e58ae3628f9c433d939e5d973e1c795aa58f6 SHA256 78c8bab11c00f4988d677b1f4bf5a66c3221c0f9a3c46cfaf333a8857f250662
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkyHql8ACgkQsR7PQhRXYEn4kwCghOXN8yR3U5faErwYFNJbc45i
+35AAnio5agSMtTHi4QOcywb3uUWuhcxO
+=p3dT
+-----END PGP SIGNATURE-----
diff --git a/net-wireless/hostapd/hostapd-0.6.10.ebuild b/net-wireless/hostapd/hostapd-0.6.10.ebuild
deleted file mode 100644
index 8a7455729f1b..000000000000
--- a/net-wireless/hostapd/hostapd-0.6.10.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.6.10.ebuild,v 1.1 2010/01/14 14:36:18 gurligebis Exp $
-
-EAPI="2"
-
-inherit toolchain-funcs
-
-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="${DEPEND}"
-
-S="${S}/hostapd"
-
-src_prepare() {
- sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
- "${S}/hostapd.conf"
-}
-
-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_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_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
-
- einfo " nl80211 driver enabled"
- echo "CONFIG_DRIVER_NL80211=y" >> ${CONFIG}
- echo "CFLAGS += -I/usr/include/netlink" >> ${CONFIG}
- echo "LIBS += -L/usr/lib" >> ${CONFIG}
-
- # 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_IEEE80211N=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
-
- default_src_configure
-}
-
-src_compile() {
- default_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}"/${PN}-init.d hostapd
- newconfd "${FILESDIR}"/${PN}-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
- einfo "Since you are using the madwifi-ng driver, you should disable or"
- einfo "comment out wme_enabled from hostapd.conf, since it will"
- einfo "cause problems otherwise (see bug #260377"
- 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
-}
diff --git a/net-wireless/hostapd/hostapd-0.6.8.ebuild b/net-wireless/hostapd/hostapd-0.6.8.ebuild
deleted file mode 100644
index 6c403113cecb..000000000000
--- a/net-wireless/hostapd/hostapd-0.6.8.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2010 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.7 2010/01/14 14:36:18 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="${DEPEND}"
-
-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}
- 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_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_IEEE80211N=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}"/${PN}-init.d hostapd
- newconfd "${FILESDIR}"/${PN}-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
- einfo "Since you are using the madwifi-ng driver, you should disable or"
- einfo "comment out wme_enabled from hostapd.conf, since it will"
- einfo "cause problems otherwise (see bug #260377"
- 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
-}
diff --git a/net-wireless/hostapd/hostapd-0.7.2.ebuild b/net-wireless/hostapd/hostapd-0.7.3.ebuild
index a013f0586e35..eb210dfd50d8 100644
--- a/net-wireless/hostapd/hostapd-0.7.2.ebuild
+++ b/net-wireless/hostapd/hostapd-0.7.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.7.2.ebuild,v 1.1 2010/05/23 15:01:04 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.7.3.ebuild,v 1.1 2010/09/08 15:23:00 gurligebis Exp $
EAPI="2"