diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-07-13 10:20:12 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-07-13 10:20:12 +0000 |
commit | f7826124d824d6a693e44d9b55aa4d9642bab1d5 (patch) | |
tree | f8fa639aaffc309c871ee51518ac43b15fe75055 /net-wireless/hostapd | |
parent | Protect ppc64 multilib profile from version older than glibc-2.3.4.20041102-r2 (diff) | |
download | historical-f7826124d824d6a693e44d9b55aa4d9642bab1d5.tar.gz historical-f7826124d824d6a693e44d9b55aa4d9642bab1d5.tar.bz2 historical-f7826124d824d6a693e44d9b55aa4d9642bab1d5.zip |
Pruned old ebuilds.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-wireless/hostapd')
19 files changed, 9 insertions, 624 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog index ea283c04cc1f..7fc5006add93 100644 --- a/net-wireless/hostapd/ChangeLog +++ b/net-wireless/hostapd/ChangeLog @@ -1,6 +1,14 @@ # 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.35 2005/07/08 12:26:11 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.36 2005/07/13 10:16:29 brix Exp $ + + 13 Jul 2005; <brix@gentoo.org> -files/hostapd-0.4.0-conf.d, + -files/hostapd-0.4.0-init.d, -files/hostapd-0.4.1-conf.d, + -files/hostapd-0.4.1-init.d, -files/hostapd-0.4.2-conf.d, + -files/hostapd-0.4.2-init.d, -hostapd-0.2.5.ebuild, -hostapd-0.2.6.ebuild, + -hostapd-0.3.9.ebuild, -hostapd-0.4.0-r1.ebuild, -hostapd-0.4.1.ebuild, + -hostapd-0.4.2.ebuild: + Pruned old ebuilds. 08 Jul 2005; <brix@gentoo.org> hostapd-0.3.9.ebuild, hostapd-0.3.9-r1.ebuild, hostapd-0.4.0-r1.ebuild, hostapd-0.4.1.ebuild, diff --git a/net-wireless/hostapd/files/digest-hostapd-0.2.5 b/net-wireless/hostapd/files/digest-hostapd-0.2.5 deleted file mode 100644 index 0a3165540090..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.2.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 4714f9f405001be1e14c63c985eaa7e8 hostapd-0.2.5.tar.gz 139697 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.2.6 b/net-wireless/hostapd/files/digest-hostapd-0.2.6 deleted file mode 100644 index d7b659263cda..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.2.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 b09c430a2a3c8763601a1fbc4da20586 hostapd-0.2.6.tar.gz 140160 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.9 b/net-wireless/hostapd/files/digest-hostapd-0.3.9 deleted file mode 100644 index 344f6a5a7d9f..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.3.9 +++ /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.0-r1 b/net-wireless/hostapd/files/digest-hostapd-0.4.0-r1 deleted file mode 100644 index cbd70657b20a..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.4.0-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 e94731593b492bfad7a6b341c0514266 hostapd-0.4.0.tar.gz 257771 -MD5 efb9130cf1dcb829caa43af4e0bee2fb madwifi-cvs-snapshot-2005-04-20.tar.bz2 1968548 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.1 b/net-wireless/hostapd/files/digest-hostapd-0.4.1 deleted file mode 100644 index cbbb758c84fe..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.4.1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 8db8550f53fe925140f1e8dfb9d59ba4 hostapd-0.4.1.tar.gz 262224 -MD5 efb9130cf1dcb829caa43af4e0bee2fb madwifi-cvs-snapshot-2005-04-20.tar.bz2 1968548 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.2 b/net-wireless/hostapd/files/digest-hostapd-0.4.2 deleted file mode 100644 index 7096b0c5cc1f..000000000000 --- a/net-wireless/hostapd/files/digest-hostapd-0.4.2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 9ba734b0cf83d8694eb184b64804b496 hostapd-0.4.2.tar.gz 265961 -MD5 efb9130cf1dcb829caa43af4e0bee2fb madwifi-cvs-snapshot-2005-04-20.tar.bz2 1968548 diff --git a/net-wireless/hostapd/files/hostapd-0.4.0-conf.d b/net-wireless/hostapd/files/hostapd-0.4.0-conf.d deleted file mode 100644 index 5ffe62878b6b..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.0-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.0-conf.d,v 1.2 2005/04/29 21:27:37 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.0-init.d b/net-wireless/hostapd/files/hostapd-0.4.0-init.d deleted file mode 100644 index 40b1afd79e2d..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.0-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.0-init.d,v 1.1 2005/04/29 19:49:37 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.1-conf.d b/net-wireless/hostapd/files/hostapd-0.4.1-conf.d deleted file mode 100644 index 7ee716bf3933..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.1-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.1-conf.d,v 1.1 2005/05/23 11:47:42 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.1-init.d b/net-wireless/hostapd/files/hostapd-0.4.1-init.d deleted file mode 100644 index b469a555aa90..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.1-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.1-init.d,v 1.1 2005/05/23 11:47:42 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.2-conf.d b/net-wireless/hostapd/files/hostapd-0.4.2-conf.d deleted file mode 100644 index 9eaf67912443..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.2-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.2-conf.d,v 1.1 2005/06/13 14:43:25 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.2-init.d b/net-wireless/hostapd/files/hostapd-0.4.2-init.d deleted file mode 100644 index 540f859365b7..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.2-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.2-init.d,v 1.1 2005/06/13 14:43:25 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/hostapd-0.2.5.ebuild b/net-wireless/hostapd/hostapd-0.2.5.ebuild deleted file mode 100644 index fceba142854b..000000000000 --- a/net-wireless/hostapd/hostapd-0.2.5.ebuild +++ /dev/null @@ -1,43 +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.2.5.ebuild,v 1.6 2005/01/18 11:21:36 brix Exp $ - -inherit toolchain-funcs eutils - -DESCRIPTION="HostAP wireless daemon" -HOMEPAGE="http://hostap.epitest.fi" -SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz" -LICENSE="GPL-2" - -KEYWORDS="x86 ppc" -IUSE="" -SLOT="0" - -DEPEND="virtual/libc" - -src_unpack() { - unpack ${A} - - sed -i "s:^CC=gcc:CC=$(tc-getCC):" ${S}/Makefile -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - insinto /etc/hostapd - doins hostapd.conf hostapd.accept hostapd.deny - - dosed 's:\(accept_mac_file=\)/etc/hostapd.accept:\1/etc/hostapd/hostapd.accept:g' \ - /etc/hostapd/hostapd.conf - dosed 's:\(deny_mac_file=\)/etc/hostapd.deny:\1/etc/hostapd/hostapd.deny:g' \ - /etc/hostapd/hostapd.conf - - dosbin hostapd - - exeinto /etc/init.d - newexe ${FILESDIR}/hostapd.init.d hostapd - - dodoc ChangeLog developer.txt README -} diff --git a/net-wireless/hostapd/hostapd-0.2.6.ebuild b/net-wireless/hostapd/hostapd-0.2.6.ebuild deleted file mode 100644 index a42b7e7621f6..000000000000 --- a/net-wireless/hostapd/hostapd-0.2.6.ebuild +++ /dev/null @@ -1,43 +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.2.6.ebuild,v 1.4 2005/01/18 11:21:36 brix Exp $ - -inherit toolchain-funcs eutils - -DESCRIPTION="HostAP wireless daemon" -HOMEPAGE="http://hostap.epitest.fi" -SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz" -LICENSE="GPL-2" - -KEYWORDS="x86 ~ppc" -IUSE="" -SLOT="0" - -DEPEND="virtual/libc" - -src_unpack() { - unpack ${A} - - sed -i "s:^CC=gcc:CC=$(tc-getCC):" ${S}/Makefile -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - insinto /etc/hostapd - doins hostapd.conf hostapd.accept hostapd.deny - - dosed 's:\(accept_mac_file=\)/etc/hostapd.accept:\1/etc/hostapd/hostapd.accept:g' \ - /etc/hostapd/hostapd.conf - dosed 's:\(deny_mac_file=\)/etc/hostapd.deny:\1/etc/hostapd/hostapd.deny:g' \ - /etc/hostapd/hostapd.conf - - dosbin hostapd - - exeinto /etc/init.d - newexe ${FILESDIR}/hostapd.init.d hostapd - - dodoc ChangeLog developer.txt README -} diff --git a/net-wireless/hostapd/hostapd-0.3.9.ebuild b/net-wireless/hostapd/hostapd-0.3.9.ebuild deleted file mode 100644 index 4f4cfdaaf16c..000000000000 --- a/net-wireless/hostapd/hostapd-0.3.9.ebuild +++ /dev/null @@ -1,80 +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.3.9.ebuild,v 1.2 2005/07/08 12:26:11 brix Exp $ - -inherit toolchain-funcs - -MADWIFI_VERSION="2005-04-20" - -DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon" -HOMEPAGE="http://hostap.epitest.fi" -SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz - mirror://gentoo/madwifi-cvs-snapshot-${MADWIFI_VERSION}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="ssl" - -DEPEND="ssl? ( dev-libs/openssl )" -RDEPEND="${DEPEND}" - -src_unpack() { - local CONFIG=${S}/.config - - unpack ${A} - - # 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 - - # Linux specific drivers - echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG} - echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} - echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG} - - # Add include path for madwifi-driver headers - echo "CFLAGS += -I${WORKDIR}/madwifi" >> ${CONFIG} - echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - insinto /etc/hostapd - doins hostapd.conf hostapd.accept hostapd.deny - - dosed 's:\(accept_mac_file=\)/etc/hostapd.accept:\1/etc/hostapd/hostapd.accept:g' \ - /etc/hostapd/hostapd.conf - dosed 's:\(deny_mac_file=\)/etc/hostapd.deny:\1/etc/hostapd/hostapd.deny:g' \ - /etc/hostapd/hostapd.conf - - dosbin hostapd - - newinitd ${FILESDIR}/hostapd.init.d hostapd - - dodoc ChangeLog developer.txt README - - docinto examples - dodoc madwifi.conf wired.conf -} diff --git a/net-wireless/hostapd/hostapd-0.4.0-r1.ebuild b/net-wireless/hostapd/hostapd-0.4.0-r1.ebuild deleted file mode 100644 index 461c61893cce..000000000000 --- a/net-wireless/hostapd/hostapd-0.4.0-r1.ebuild +++ /dev/null @@ -1,87 +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.0-r1.ebuild,v 1.2 2005/07/08 12:26:11 brix Exp $ - -inherit toolchain-funcs - -MADWIFI_VERSION="2005-04-20" - -DESCRIPTION="HostAP wireless daemon" -HOMEPAGE="http://hostap.epitest.fi" -SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz - mirror://gentoo/madwifi-cvs-snapshot-${MADWIFI_VERSION}.tar.bz2" - -LICENSE="|| ( GPL-2 BSD )" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="ipv6 ssl" - -RDEPEND="ssl? ( dev-libs/openssl )" -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} - - # Add include path for madwifi-driver headers - echo "CFLAGS += -I${WORKDIR}/madwifi" >> ${CONFIG} - echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - insinto /etc/hostapd - doins hostapd.conf hostapd.accept hostapd.deny - - 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 -} diff --git a/net-wireless/hostapd/hostapd-0.4.1.ebuild b/net-wireless/hostapd/hostapd-0.4.1.ebuild deleted file mode 100644 index 35d4a10d6167..000000000000 --- a/net-wireless/hostapd/hostapd-0.4.1.ebuild +++ /dev/null @@ -1,87 +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.1.ebuild,v 1.2 2005/07/08 12:26:11 brix Exp $ - -inherit toolchain-funcs - -MADWIFI_VERSION="2005-04-20" - -DESCRIPTION="HostAP wireless daemon" -HOMEPAGE="http://hostap.epitest.fi" -SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz - mirror://gentoo/madwifi-cvs-snapshot-${MADWIFI_VERSION}.tar.bz2" - -LICENSE="|| ( GPL-2 BSD )" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="ipv6 ssl" - -RDEPEND="ssl? ( dev-libs/openssl )" -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} - - # Add include path for madwifi-driver headers - echo "CFLAGS += -I${WORKDIR}/madwifi" >> ${CONFIG} - echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - insinto /etc/hostapd - doins hostapd.conf hostapd.accept hostapd.deny - - 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 -} diff --git a/net-wireless/hostapd/hostapd-0.4.2.ebuild b/net-wireless/hostapd/hostapd-0.4.2.ebuild deleted file mode 100644 index 42c5b202f33d..000000000000 --- a/net-wireless/hostapd/hostapd-0.4.2.ebuild +++ /dev/null @@ -1,87 +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.2.ebuild,v 1.2 2005/07/08 12:26:11 brix Exp $ - -inherit toolchain-funcs - -MADWIFI_VERSION="2005-04-20" - -DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon" -HOMEPAGE="http://hostap.epitest.fi" -SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz - mirror://gentoo/madwifi-cvs-snapshot-${MADWIFI_VERSION}.tar.bz2" - -LICENSE="|| ( GPL-2 BSD )" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="ipv6 ssl" - -RDEPEND="ssl? ( dev-libs/openssl )" -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} - - # Add include path for madwifi-driver headers - echo "CFLAGS += -I${WORKDIR}/madwifi" >> ${CONFIG} - echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - insinto /etc/hostapd - doins hostapd.conf hostapd.accept hostapd.deny - - 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 -} |