First release of new stable branch.
authorHenrik Brix Andersen <brix@gentoo.org>
Mon, 21 Nov 2005 10:38:03 +0000 (10:38 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Mon, 21 Nov 2005 10:38:03 +0000 (10:38 +0000)
Package-Manager: portage-2.0.51.22-r3

16 files changed:
net-wireless/hostap-driver/ChangeLog
net-wireless/hostap-driver/Manifest
net-wireless/hostap-driver/files/digest-hostap-driver-0.4.7 [new file with mode: 0644]
net-wireless/hostap-driver/files/hostap-driver-0.4.7-firmware.patch [new file with mode: 0644]
net-wireless/hostap-driver/hostap-driver-0.4.7.ebuild [new file with mode: 0644]
net-wireless/hostap-utils/ChangeLog
net-wireless/hostap-utils/Manifest
net-wireless/hostap-utils/files/digest-hostap-utils-0.4.7 [new file with mode: 0644]
net-wireless/hostap-utils/hostap-utils-0.4.7.ebuild [new file with mode: 0644]
net-wireless/hostapd/ChangeLog
net-wireless/hostapd/Manifest
net-wireless/hostapd/files/digest-hostapd-0.4.7 [new file with mode: 0644]
net-wireless/hostapd/files/hostapd-0.4.7-conf.d [new file with mode: 0644]
net-wireless/hostapd/files/hostapd-0.4.7-init.d [new file with mode: 0644]
net-wireless/hostapd/hostapd-0.4.7.ebuild [new file with mode: 0644]
net-wireless/wpa_supplicant/Manifest

index 2bc73f2159d1da6dbaa8327a40b135807a41071f..76fadf69d7b2285fb012422e31c62e4cc839dd34 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostap-driver
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.48 2005/10/29 12:53:55 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.49 2005/11/21 10:34:31 brix Exp $
+
+*hostap-driver-0.4.7 (21 Nov 2005)
+
+  21 Nov 2005; Henrik Brix Andersen <brix@gentoo.org>
+  +files/hostap-driver-0.4.7-firmware.patch, +hostap-driver-0.4.7.ebuild:
+  First release of new stable branch.
 
   29 Oct 2005; Henrik Brix Andersen <brix@gentoo.org>
   hostap-driver-0.3.7.ebuild, hostap-driver-0.3.9.ebuild,
index 0d09bc55a1e95bd6224788d5a7dbf63624541871..5e76333b1a2280914e434b037ebe0f691a7c8a1e 100644 (file)
@@ -1,11 +1,14 @@
 MD5 9266805cc29763534c288adeffa52552 hostap-driver-0.3.7.ebuild 2827
 MD5 e7c4fa99cedd513a9e78eeff7ef9bbaa hostap-driver-0.4.5.ebuild 2697
 MD5 fa0cd400901b4e1e598f9ff47ebd2f02 hostap-driver-0.3.9.ebuild 2579
-MD5 1a4422da2140c76a680116784e807069 ChangeLog 8925
+MD5 addba8e10a0a7a6a0ca1eaa3c5eec53c hostap-driver-0.4.7.ebuild 2819
+MD5 d3203a8cfa51bb8ce8a85d63c2928934 ChangeLog 9128
 MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722
+MD5 3b2078eb6aa3c5754d282f6537ecd771 files/hostap-driver-0.4.7-firmware.patch 739
 MD5 8214baf7253070b31cf2d9f976229bec files/hostap-driver-0.3.9-firmware.patch 739
 MD5 c28ccef49868cb855e9832c66e146318 files/digest-hostap-driver-0.3.7 71
 MD5 d56a1f3da96fc43c6a4a13838b71d3f6 files/digest-hostap-driver-0.3.9 71
 MD5 82eda6411d5c161f573545f0edc56a74 files/digest-hostap-driver-0.4.5 71
+MD5 c5800b90593d3826c5cef81cca46526a files/digest-hostap-driver-0.4.7 71
 MD5 58a1e32c0e120c634d7c3fa813fcc7f9 files/hostap-driver-0.4.5-firmware.patch 739
 MD5 4e679442c5b3b53a929b470fdccef35e files/hostap-driver-0.3.7-firmware.patch 739
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.7 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.7
new file mode 100644 (file)
index 0000000..d62d533
--- /dev/null
@@ -0,0 +1 @@
+MD5 ee495686cf27011b4e401963c2c7f62a hostap-driver-0.4.7.tar.gz 202602
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.4.7-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.4.7-firmware.patch
new file mode 100644 (file)
index 0000000..c7d5741
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urp hostap-driver-0.4.7/driver/modules/hostap_config.h hostap-driver-0.4.7-firmware/driver/modules/hostap_config.h
+--- hostap-driver-0.4.7/driver/modules/hostap_config.h 2005-11-21 02:42:12.000000000 +0100
++++ hostap-driver-0.4.7-firmware/driver/modules/hostap_config.h        2005-11-21 10:27:54.000000000 +0100
+@@ -59,7 +59,7 @@
+  * In addition, please note that it is possible to kill your card with
+  * non-volatile download if you are using incorrect image. This feature has not
+  * been fully tested, so please be careful with it. */
+-/* #define PRISM2_NON_VOLATILE_DOWNLOAD */
++#define PRISM2_NON_VOLATILE_DOWNLOAD
+ #endif /* PRISM2_DOWNLOAD_SUPPORT */
+ 
+ /* Include wireless extensions sub-ioctl support even if wireless extensions
diff --git a/net-wireless/hostap-driver/hostap-driver-0.4.7.ebuild b/net-wireless/hostap-driver/hostap-driver-0.4.7.ebuild
new file mode 100644 (file)
index 0000000..a74cf2e
--- /dev/null
@@ -0,0 +1,108 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/hostap-driver-0.4.7.ebuild,v 1.1 2005/11/21 10:34:31 brix Exp $
+
+inherit toolchain-funcs eutils linux-mod
+
+DESCRIPTION="Driver for Intersil Prism2/2.5/3 based IEEE 802.11b wireless LAN products"
+HOMEPAGE="http://hostap.epitest.fi"
+SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="pcmcia"
+SLOT="0"
+
+RDEPEND=">=net-wireless/wireless-tools-25"
+
+BUILD_TARGETS="all"
+MODULESD_HOSTAP_DOCS="README"
+MODULESD_HOSTAP_CRYPT_WEP_ENABLED="no"
+MODULESD_HOSTAP_CRYPT_TKIP_ENABLED="no"
+MODULESD_HOSTAP_CRYPT_CCMP_ENABLED="no"
+
+CONFIG_CHECK="!HOSTAP NET_RADIO"
+ERROR_HOSTAP="${P} requires the in-kernel version of the hostap driver to be disabled (CONFIG_HOSTAP)"
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+
+pkg_setup() {
+       linux-mod_pkg_setup
+
+       if kernel_is ge 2 6 15; then
+               ewarn
+               ewarn "Linux kernel 2.6.15 and above contains a more recent version of this"
+               ewarn "module. Please consider using the in-kernel module when using"
+               ewarn "linux-2.6.15 or above."
+               ewarn
+       fi
+
+       MODULE_NAMES="hostap(net::${S}/driver/modules)
+                               hostap_pci(net::${S}/driver/modules)
+                               hostap_plx(net::${S}/driver/modules)
+                               hostap_crypt_wep(net::${S}/driver/modules)
+                               hostap_crypt_ccmp(net::${S}/driver/modules)
+                               hostap_crypt_tkip(net::${S}/driver/modules)"
+
+       if use pcmcia; then
+               MODULE_NAMES="${MODULE_NAMES} hostap_cs(net::${S}/driver/modules)"
+       fi
+
+       BUILD_PARAMS="KERNEL_PATH=${KV_DIR}"
+}
+
+src_unpack() {
+       unpack ${A}
+
+       cd ${S}
+       epatch ${FILESDIR}/${P}-firmware.patch
+
+       sed -i \
+               -e "s:gcc:$(tc-getCC):" \
+               -e "s:tail -1:tail -n 1:" \
+               ${S}/Makefile
+
+       if use pcmcia; then
+               # unpack the pcmcia-cs sources if needed
+               pcmcia_src_unpack
+
+               # set correct pcmcia path (PCMCIA_VERSION gets set from pcmcia_src_unpack)
+               if [ -n "${PCMCIA_VERSION}" ]; then
+                       sed -i "s:^\(PCMCIA_PATH\)=:\1=${PCMCIA_SOURCE_DIR}:" ${S}/Makefile
+               fi
+       fi
+
+       convert_to_m ${S}/Makefile
+}
+
+src_install() {
+       if use pcmcia; then
+               insinto /etc/pcmcia
+               doins driver/etc/hostap_cs.conf
+       fi
+
+       dodoc ChangeLog
+
+       linux-mod_src_install
+}
+
+pkg_postinst() {
+       if [ -e /etc/pcmcia/prism2.conf ]
+       then
+               einfo ""
+               einfo "You may need to edit or remove /etc/pcmcia/prism2.conf"
+               einfo "This is usually a result of conflicts with the"
+               einfo "net-wireless/linux-wlan-ng drivers."
+               einfo ""
+       fi
+
+       ewarn ""
+       ewarn "Please note that this installation of HostAP contains support"
+       ewarn "for downloading binary firmware images into the non-volatile"
+       ewarn "(permanent) flash memory of wireless LAN cards."
+       ewarn ""
+       ewarn "Albeit being a great feature, this can lead to A DEAD CARD"
+       ewarn "when inappropriately used (e.g. wrong firmware)."
+       ewarn ""
+
+       linux-mod_pkg_postinst
+}
index ba3af7eee31b999da2fbc0f8429918709e404d9b..eab7258e840f3ecc8db16f83b2ab95128ea7a153 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostap-utils
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.27 2005/09/17 09:58:21 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.28 2005/11/21 10:36:11 brix Exp $
+
+*hostap-utils-0.4.7 (21 Nov 2005)
+
+  21 Nov 2005; Henrik Brix Andersen <brix@gentoo.org>
+  +hostap-utils-0.4.7.ebuild:
+  First release of new stable branch.
 
   17 Sep 2005; Simon Stelling <blubb@gentoo.org> hostap-utils-0.4.0.ebuild:
   added ~amd64 keyword
index 001e71d3183624c019431c977cd5b24c847896b1..d58181070f01e9e2ab8bbf08d97a4290d873a441 100644 (file)
@@ -1,6 +1,8 @@
-MD5 a465617318692e08dce5b5d249385b90 ChangeLog 3934
 MD5 4f4b13d8b57878a737653135f3593e44 hostap-utils-0.3.7.ebuild 747
-MD5 0d08d740672bf3b41532938b6f9c0a19 metadata.xml 337
 MD5 7cd7ffe51584bb98db221f9e24bb8879 hostap-utils-0.4.0.ebuild 756
+MD5 01d32ae93a416297c1a9b39bc7bd4cee hostap-utils-0.4.7.ebuild 644
+MD5 108bb000943fd10a2056c753b5813e5e ChangeLog 4092
+MD5 0d08d740672bf3b41532938b6f9c0a19 metadata.xml 337
 MD5 eb77fca21ee97178487299633c12fdd8 files/digest-hostap-utils-0.3.7 69
 MD5 c493e7d880016cc1c366715792fa7041 files/digest-hostap-utils-0.4.0 69
+MD5 2e953db0223b1bed53ca392ef5883bf9 files/digest-hostap-utils-0.4.7 69
diff --git a/net-wireless/hostap-utils/files/digest-hostap-utils-0.4.7 b/net-wireless/hostap-utils/files/digest-hostap-utils-0.4.7
new file mode 100644 (file)
index 0000000..a8a13b5
--- /dev/null
@@ -0,0 +1 @@
+MD5 afe041581b8f01666e353bec20917c85 hostap-utils-0.4.7.tar.gz 60782
diff --git a/net-wireless/hostap-utils/hostap-utils-0.4.7.ebuild b/net-wireless/hostap-utils/hostap-utils-0.4.7.ebuild
new file mode 100644 (file)
index 0000000..832b68e
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/hostap-utils-0.4.7.ebuild,v 1.1 2005/11/21 10:36:11 brix Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Utilities for Intersil Prism2/2.5/3 based IEEE 802.11b wireless LAN products"
+
+HOMEPAGE="http://hostap.epitest.fi/"
+SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_compile() {
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+       dosbin hostap_{crypt_conf,diag,fw_load,io_debug,rid}
+       dosbin prism2_{param,srec}
+       dosbin split_combined_hex
+
+       dodoc README
+}
index d919683639e04d28b7b513e9e2d8f7a64a9dceb7..416c30ab0d862ad40a6234e732dcd512f3935b00 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for net-wireless/hostapd
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.44 2005/10/29 10:38:28 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.45 2005/11/21 10:38:03 brix Exp $
+
+*hostapd-0.4.7 (21 Nov 2005)
+
+  21 Nov 2005; Henrik Brix Andersen <brix@gentoo.org>
+  +files/hostapd-0.4.7-conf.d, +files/hostapd-0.4.7-init.d,
+  +hostapd-0.4.7.ebuild:
+  First release of new stable branch.
 
 *hostapd-0.4.6 (29 Oct 2005)
 
index c7f987548f003fd0039a359f677d37c0d9eeff09..5b813421b8d527cfd1cfdc6ca38ee786e54b8297 100644 (file)
@@ -2,17 +2,21 @@ MD5 5a79c617921133c3fb3028340573acef hostapd-0.4.6.ebuild 3066
 MD5 3d4f2d29f55f0ee2f8117fa90423bff9 hostapd-0.3.7.ebuild 2131
 MD5 6a5242726313ccf8ba14d591c8056f0f hostapd-0.4.5.ebuild 2954
 MD5 8f92a1ce62c0c91b1f31c63a7ecc8320 hostapd-0.3.9-r1.ebuild 2125
-MD5 c095b125896ea9b2d74d5cea7009de04 ChangeLog 7073
+MD5 0bb554ebcef4cf6d36ef2e7799cb79c8 hostapd-0.4.7.ebuild 2965
+MD5 8ee86f49eb7baa105ebda6567fad99f2 ChangeLog 7281
 MD5 52a4b928b36a98e530ae455b73f868f5 metadata.xml 462
 MD5 5867a1afc9ca33e76f030a3abf0460cc files/hostapd-0.4.6-conf.d 425
 MD5 af20f7c9a017ce03a0b66ca5c631dfc2 files/hostapd-0.4.5-prism54.patch 381
 MD5 3cb68569c34f2c059da88220513d9af4 files/digest-hostapd-0.3.7 150
 MD5 9de6de9d2454760956b6b8684f530ca5 files/digest-hostapd-0.4.5 65
 MD5 eed11bccc899301f270328d35d8cdc9f files/digest-hostapd-0.4.6 65
+MD5 b0b607a1e367c39a3b14a50fd66d89b1 files/digest-hostapd-0.4.7 65
 MD5 09e12f4e5e57ee1a8201a8748f30a920 files/hostapd-0.4.6-init.d 984
 MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858
 MD5 1a5ea229c1f23346e39a4af2abd08add files/digest-hostapd-0.3.9-r1 150
 MD5 8d58b5265d0db823769c16f29473ffa1 files/hostapd-0.4.5-conf.d 425
 MD5 076064e491084b2dbd82eed164cae453 files/hostapd-0.4.5-init.d 984
 MD5 e4b30b5fade1fe4a257be477129ae36d files/hostapd-0.3.9-conf.d 425
+MD5 9e6b7c9bb07f39226dc8b8968cc9293b files/hostapd-0.4.7-conf.d 318
 MD5 9f51596dd3a60ecf3aebee6f82f750f8 files/hostapd-0.3.9-init.d 982
+MD5 f7c0c593641102a7afbfe02072639a65 files/hostapd-0.4.7-init.d 877
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.7 b/net-wireless/hostapd/files/digest-hostapd-0.4.7
new file mode 100644 (file)
index 0000000..4680e1c
--- /dev/null
@@ -0,0 +1 @@
+MD5 b299211691fe8a6840e7adafda351d2b hostapd-0.4.7.tar.gz 288016
diff --git a/net-wireless/hostapd/files/hostapd-0.4.7-conf.d b/net-wireless/hostapd/files/hostapd-0.4.7-conf.d
new file mode 100644 (file)
index 0000000..30a0d69
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-0.4.7-conf.d,v 1.1 2005/11/21 10:38:03 brix Exp $
+
+# List of interfaces which needs to be started before hostapd
+INTERFACES="wlan0"
+
+# List of configuration files
+CONFIGS="/etc/hostapd/hostapd.conf"
+
+# Extra options to pass to hostapd
+OPTIONS="-B"
diff --git a/net-wireless/hostapd/files/hostapd-0.4.7-init.d b/net-wireless/hostapd/files/hostapd-0.4.7-init.d
new file mode 100644 (file)
index 0000000..92a0c68
--- /dev/null
@@ -0,0 +1,50 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-0.4.7-init.d,v 1.1 2005/11/21 10:38:03 brix Exp $
+
+opts="start stop reload"
+
+depend() {
+       local iface
+
+       for iface in ${INTERFACES}; do
+               need net.${iface}
+       done
+
+       use logger
+}
+
+checkconfig() {
+       local file
+
+       for file in ${CONFIGS}; do
+               if [[ ! -r ${file} ]]; then
+                       eerror "hostapd configuration file (${CONFIG}) not found"
+                       return 1
+               fi
+       done
+}
+
+start() {
+       checkconfig || return 1
+
+       ebegin "Starting hostapd"
+       start-stop-daemon --start --quiet --exec /usr/sbin/hostapd \
+               -- ${OPTIONS} ${CONFIGS}
+       eend ${?}
+}
+
+stop() {
+       ebegin "Stopping hostapd"
+       start-stop-daemon --stop --quiet --exec /usr/sbin/hostapd
+       eend ${?}
+}
+
+reload() {
+       checkconfig || return 1
+
+       ebegin "Reloading hostapd configuration"
+       start-stop-daemon --stop --quiet --exec /usr/sbin/hostapd --signal HUP
+       eend ${?}
+}
diff --git a/net-wireless/hostapd/hostapd-0.4.7.ebuild b/net-wireless/hostapd/hostapd-0.4.7.ebuild
new file mode 100644 (file)
index 0000000..09cfc0c
--- /dev/null
@@ -0,0 +1,117 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.4.7.ebuild,v 1.1 2005/11/21 10:38:03 brix Exp $
+
+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"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+               madwifi? ( >=net-wireless/madwifi-driver-0.1_pre20050420-r1 )"
+DEPEND="${RDEPEND}
+               sys-apps/sed"
+
+src_unpack() {
+       local CONFIG=${S}/.config
+
+       unpack ${A}
+
+       sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
+               ${S}/hostapd.conf
+
+       # toolchain setup
+       echo "CC = $(tc-getCC)" > ${CONFIG}
+
+       # authentication methods
+       echo "CONFIG_EAP=y"           >> ${CONFIG}
+       echo "CONFIG_EAP_MD5=y"       >> ${CONFIG}
+       echo "CONFIG_EAP_GTC=y"       >> ${CONFIG}
+       echo "CONFIG_IAPP=y"          >> ${CONFIG}
+       echo "CONFIG_PKCS12=y"        >> ${CONFIG}
+       echo "CONFIG_RADIUS_SERVER=y" >> ${CONFIG}
+       echo "CONFIG_RSN_PREAUTH=y"   >> ${CONFIG}
+       echo "CONFIG_EAP_SIM=y"       >> ${CONFIG}
+
+       if use ssl; then
+               # SSL authentication methods
+               echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG}
+               echo "CONFIG_EAP_PEAP=y"     >> ${CONFIG}
+               echo "CONFIG_EAP_TLS=y"      >> ${CONFIG}
+               echo "CONFIG_EAP_TTLS=y"     >> ${CONFIG}
+       fi
+
+       if use ipv6; then
+               echo "CONFIG_IPV6=y" >> ${CONFIG}
+       fi
+
+       # Linux specific drivers
+       echo "CONFIG_DRIVER_HOSTAP=y"  >> ${CONFIG}
+       echo "CONFIG_DRIVER_WIRED=y"   >> ${CONFIG}
+       echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG}
+
+       if use madwifi; then
+               # Add include path for madwifi-driver headers
+               echo "CFLAGS += -I/usr/include/madwifi" >> ${CONFIG}
+               echo "CONFIG_DRIVER_MADWIFI=y"          >> ${CONFIG}
+       fi
+}
+
+src_compile() {
+       emake || die "emake failed"
+}
+
+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
+
+       newinitd ${FILESDIR}/${P}-init.d hostapd
+       newconfd ${FILESDIR}/${P}-conf.d hostapd
+
+       doman hostapd.8 hostapd_cli.1
+
+       dodoc ChangeLog developer.txt README
+
+       docinto examples
+       dodoc madwifi.conf 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 or /etc/conf.d/wireless"
+       einfo "and then start /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 now compiles against the headers installed by"
+               einfo "net-wireless/madwifi-driver. You should remerge ${PN} after"
+               einfo "upgrading net-wireless/madwifi-driver."
+               einfo
+       fi
+}
index 5926ef18bfb735239fa25b7147cfc3fe9d34d3a5..4ba6ac8f22348d04813881349fa0396996362a3d 100644 (file)
@@ -1,12 +1,15 @@
+MD5 54adfe65ec4ca70c5461c68d729ca7e7 wpa_supplicant-0.4.7.ebuild 3195
 MD5 090212b7ed178b6a7e269f4eb57fdc25 wpa_supplicant-0.3.9-r1.ebuild 3236
 MD5 26d56b57978c89eba0f773c8ac29f609 wpa_supplicant-0.4.6.ebuild 3232
 MD5 c49fb2bfb9587a39da2533eea26fdbe8 wpa_supplicant-0.3.8-r1.ebuild 3172
-MD5 5385c8860e2ecce211e8641542888320 ChangeLog 10309
+MD5 bee179b958ca27d9be0501f026cee78f ChangeLog 10549
 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
 MD5 9bdb65a346416e1a2837456f0d1bc464 wpa_supplicant-0.4.5.ebuild 3707
+MD5 647ec6dd4aa43749b03eabb84072b161 files/wpa_supplicant-0.4.7-wpa_cli.action 1233
 MD5 c3e0a211ce07e200426b871069487403 files/wpa_supplicant-0.4.6-wpa_cli.action 1233
 MD5 6f35db046eea3cd08dd5d9c8f77f7050 files/digest-wpa_supplicant-0.4.5 72
 MD5 cb671abe083190c92d83ebc20fc9f094 files/digest-wpa_supplicant-0.4.6 72
+MD5 399c0ed3e8d999a49b9435a83705f96c files/digest-wpa_supplicant-0.4.7 72
 MD5 6b30dfb43745d57ea0280e9fb1467546 files/digest-wpa_supplicant-0.3.8-r1 157
 MD5 a5d385e515e9989ba56f4c89fd83091a files/digest-wpa_supplicant-0.3.9-r1 157
 MD5 8b721abd27f59880578d200b7e4b6c8b files/wpa_supplicant-0.3.8-r1-conf.d 397