diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-03 10:17:26 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-03 10:17:26 +0000 |
commit | 62ba35496b1a7e56bfa177af0094c5dc86ffd8ba (patch) | |
tree | 874b8435d3b986de0cc4e9d6605b367b3b16701c /net-wireless | |
parent | Pruned old ebuilds. (diff) | |
download | gentoo-2-62ba35496b1a7e56bfa177af0094c5dc86ffd8ba.tar.gz gentoo-2-62ba35496b1a7e56bfa177af0094c5dc86ffd8ba.tar.bz2 gentoo-2-62ba35496b1a7e56bfa177af0094c5dc86ffd8ba.zip |
Pruned old ebuilds.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/hostapd/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.3.7 | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.3.9-r1 | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.4.5 | 1 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.4.6 | 1 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.4.7 | 1 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.3.9-conf.d | 12 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.3.9-init.d | 50 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.4.5-conf.d | 12 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.4.5-init.d | 50 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.4.5-prism54.patch | 11 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.4.6-conf.d | 12 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.4.6-init.d | 50 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd.init.d | 44 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.4.5.ebuild | 112 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.4.6.ebuild | 117 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.4.7.ebuild | 117 |
17 files changed, 9 insertions, 595 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog index bf4af2ed31f3..91ec56e31542 100644 --- a/net-wireless/hostapd/ChangeLog +++ b/net-wireless/hostapd/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-wireless/hostapd # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.52 2006/01/30 22:28:39 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.53 2006/02/03 10:17:26 brix Exp $ + + 03 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/hostapd-0.3.9-conf.d, -files/hostapd-0.3.9-init.d, + -files/hostapd-0.4.5-conf.d, -files/hostapd-0.4.5-init.d, + -files/hostapd-0.4.5-prism54.patch, -files/hostapd-0.4.6-conf.d, + -files/hostapd-0.4.6-init.d, -files/hostapd.init.d, -hostapd-0.4.5.ebuild, + -hostapd-0.4.6.ebuild, -hostapd-0.4.7.ebuild: + Pruned old ebuilds. *hostapd-0.5.1 (30 Jan 2006) diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.7 b/net-wireless/hostapd/files/digest-hostapd-0.3.7 deleted file mode 100644 index d8563e7c2ee9..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.3.7 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 12ad3a43bf4a774f347b129c973bbe57 hostapd-0.3.7.tar.gz 246195 -MD5 8237d57be31464ddd7a710704e6755f0 madwifi-cvs-snapshot-2005-01-07.tar.bz2 1586914 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.9-r1 b/net-wireless/hostapd/files/digest-hostapd-0.3.9-r1 deleted file mode 100644 index 344f6a5a7d9f..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.3.9-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c9cab38387594090a36062008b3de59e hostapd-0.3.9.tar.gz 246919 -MD5 efb9130cf1dcb829caa43af4e0bee2fb madwifi-cvs-snapshot-2005-04-20.tar.bz2 1968548 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.5 b/net-wireless/hostapd/files/digest-hostapd-0.4.5 deleted file mode 100644 index 5be01f4a16f9..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.4.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 3d775a19f8071d6f8a363ef0dad58655 hostapd-0.4.5.tar.gz 280724 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.6 b/net-wireless/hostapd/files/digest-hostapd-0.4.6 deleted file mode 100644 index b6e9bea9dab1..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.4.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 1b71e9f734d13a3b47744c24577c4d43 hostapd-0.4.6.tar.gz 305942 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.7 b/net-wireless/hostapd/files/digest-hostapd-0.4.7 deleted file mode 100644 index 4680e1c2c50f..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.4.7 +++ /dev/null @@ -1 +0,0 @@ -MD5 b299211691fe8a6840e7adafda351d2b hostapd-0.4.7.tar.gz 288016 diff --git a/net-wireless/hostapd/files/hostapd-0.3.9-conf.d b/net-wireless/hostapd/files/hostapd-0.3.9-conf.d deleted file mode 100644 index e94687cf100d..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.3.9-conf.d +++ /dev/null @@ -1,12 +0,0 @@ -# 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.3.9-conf.d,v 1.1 2005/06/13 14:48:47 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.3.9-init.d b/net-wireless/hostapd/files/hostapd-0.3.9-init.d deleted file mode 100644 index 467a19019bab..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.3.9-init.d +++ /dev/null @@ -1,50 +0,0 @@ -#!/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.3.9-init.d,v 1.1 2005/06/13 14:48:47 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 --signal 1 --quiet --exec /usr/sbin/hostapd - eend ${?} -} diff --git a/net-wireless/hostapd/files/hostapd-0.4.5-conf.d b/net-wireless/hostapd/files/hostapd-0.4.5-conf.d deleted file mode 100644 index 7a39b543fab3..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.5-conf.d +++ /dev/null @@ -1,12 +0,0 @@ -# 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.5-conf.d,v 1.1 2005/10/17 10:17:11 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.5-init.d b/net-wireless/hostapd/files/hostapd-0.4.5-init.d deleted file mode 100644 index b72efd619032..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.5-init.d +++ /dev/null @@ -1,50 +0,0 @@ -#!/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.5-init.d,v 1.1 2005/10/17 10:17:11 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/files/hostapd-0.4.5-prism54.patch b/net-wireless/hostapd/files/hostapd-0.4.5-prism54.patch deleted file mode 100644 index b4edca7e670b..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.5-prism54.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -urp hostapd-0.4.5/driver_prism54.c hostapd-0.4.5-prism54/driver_prism54.c ---- hostapd-0.4.5/driver_prism54.c 2005-06-27 04:30:59.000000000 +0200 -+++ hostapd-0.4.5-prism54/driver_prism54.c 2005-10-17 11:31:21.000000000 +0200 -@@ -52,6 +52,7 @@ - #include "radius.h" - #include "sta_info.h" - #include "accounting.h" -+#include "hostap_common.h" - - const int PIM_BUF_SIZE = 4096; - diff --git a/net-wireless/hostapd/files/hostapd-0.4.6-conf.d b/net-wireless/hostapd/files/hostapd-0.4.6-conf.d deleted file mode 100644 index d06fb67b2b85..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.6-conf.d +++ /dev/null @@ -1,12 +0,0 @@ -# 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.6-conf.d,v 1.1 2005/10/29 10:38:28 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.6-init.d b/net-wireless/hostapd/files/hostapd-0.4.6-init.d deleted file mode 100644 index 009d015e307d..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.6-init.d +++ /dev/null @@ -1,50 +0,0 @@ -#!/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.6-init.d,v 1.1 2005/10/29 10:38:28 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/files/hostapd.init.d b/net-wireless/hostapd/files/hostapd.init.d deleted file mode 100644 index 994942ee3e8a..000000000000 --- a/net-wireless/hostapd/files/hostapd.init.d +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/runscript - -svc_name="HostAPD" - -hostapd="/usr/sbin/hostapd" -hostapd_cfg="/etc/hostapd/hostapd.conf" - -opts="${opts} reload" - -depend() { - ## if necessary change net.wlan0 to your wlan device - need net.wlan0 logger -} - -checkconfig() { - if [ ! -x "${hostapd}" ]; then - eerror "HostAPD binary [${hostapd}] missing" - fi - if [ ! -r "${hostapd_cfg}" ] ; then - eerror "HostAPD config [${hostapd_cfg}] missing" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting ${svc_name}" - start-stop-daemon --start --quiet --exec "${hostapd}" -- -B "${hostapd_cfg}" - eend $? -} - -stop() { - checkconfig || return 1 - ebegin "Stopping ${svc_name}" - start-stop-daemon --stop --quiet --exec "${hostapd}" - eend $? -} - -reload() { - checkconfig || return 1 - ebegin "Reloading ${svc_name}" - start-stop-daemon --stop --signal 1 --quiet --exec "${hostapd}" - eend $? -} diff --git a/net-wireless/hostapd/hostapd-0.4.5.ebuild b/net-wireless/hostapd/hostapd-0.4.5.ebuild deleted file mode 100644 index 7dd5362e654f..000000000000 --- a/net-wireless/hostapd/hostapd-0.4.5.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# 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.5.ebuild,v 1.1 2005/10/17 10:17:11 brix Exp $ - -inherit eutils 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 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} - - cd ${S} - epatch ${FILESDIR}/${P}-prism54.patch - - 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 -} - -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 -} diff --git a/net-wireless/hostapd/hostapd-0.4.6.ebuild b/net-wireless/hostapd/hostapd-0.4.6.ebuild deleted file mode 100644 index 4414c716daf9..000000000000 --- a/net-wireless/hostapd/hostapd-0.4.6.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# 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.6.ebuild,v 1.1 2005/10/29 10:38:28 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 -} diff --git a/net-wireless/hostapd/hostapd-0.4.7.ebuild b/net-wireless/hostapd/hostapd-0.4.7.ebuild deleted file mode 100644 index 09cfc0c9bf77..000000000000 --- a/net-wireless/hostapd/hostapd-0.4.7.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# 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 -} |