From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RtJS9-0008Vj-7j for garchives@archives.gentoo.org; Fri, 03 Feb 2012 13:45:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0ED9AE063F; Fri, 3 Feb 2012 13:45:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BBC3AE063F for ; Fri, 3 Feb 2012 13:45:16 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFEFB1B400B for ; Fri, 3 Feb 2012 13:45:15 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 976) id 14B742004B; Fri, 3 Feb 2012 13:45:14 +0000 (UTC) From: "Bjarke Istrup Pedersen (gurligebis)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, gurligebis@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: hostapd-1.0_rc2.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: hostapd-1.0_rc2.ebuild ChangeLog X-VCS-Directories: net-wireless/hostapd X-VCS-Committer: gurligebis X-VCS-Committer-Name: Bjarke Istrup Pedersen Content-Type: text/plain; charset=utf8 Message-Id: <20120203134514.14B742004B@flycatcher.gentoo.org> Date: Fri, 3 Feb 2012 13:45:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e36f11cb-6846-4e5a-b9f7-235a0d5d0745 X-Archives-Hash: 966ec7bf9269ca0f8069ea924760bd6c gurligebis 12/02/03 13:45:14 Modified: ChangeLog Added: hostapd-1.0_rc2.ebuild Log: Adding 1.0_rc2 to allow people help testing, hardmasked for now. =20 (Portage version: 2.2.0_alpha84/cvs/Linux i686) Revision Changes Path 1.117 net-wireless/hostapd/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hosta= pd/ChangeLog?rev=3D1.117&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hosta= pd/ChangeLog?rev=3D1.117&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hosta= pd/ChangeLog?r1=3D1.116&r2=3D1.117 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v retrieving revision 1.116 retrieving revision 1.117 diff -u -r1.116 -r1.117 --- ChangeLog 7 Nov 2011 19:50:23 -0000 1.116 +++ ChangeLog 3 Feb 2012 13:45:13 -0000 1.117 @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/hostapd -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.11= 6 2011/11/07 19:50:23 gurligebis Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.11= 7 2012/02/03 13:45:13 gurligebis Exp $ + +*hostapd-1.0_rc2 (03 Feb 2012) + + 03 Feb 2012; +hostapd-1.0_rc2.ebuild: + Adding 1.0_rc2 to allow people help testing, hardmasked for now. =20 07 Nov 2011; hostapd-0.7.3.ebuild: Fixing compiling with both libnl-1.1 and libnl-3 installed. 1.1 net-wireless/hostapd/hostapd-1.0_rc2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hosta= pd/hostapd-1.0_rc2.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hosta= pd/hostapd-1.0_rc2.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: hostapd-1.0_rc2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-1.0_rc2.e= build,v 1.1 2012/02/03 13:45:13 gurligebis Exp $ EAPI=3D"2" inherit toolchain-funcs eutils DESCRIPTION=3D"IEEE 802.11 wireless LAN Host AP daemon" HOMEPAGE=3D"http://hostap.epitest.fi" #SRC_URI=3D"http://hostap.epitest.fi/releases/${P}.tar.gz" SRC_URI=3D"http://dev.gentoo.org/~gurligebis/files/hostapd/hostapd-1.0_rc= 2.tar.gz" LICENSE=3D"|| ( GPL-2 BSD )" SLOT=3D"0" KEYWORDS=3D"-*" IUSE=3D"debug ipv6 logwatch madwifi +ssl +wps" DEPEND=3D"ssl? ( dev-libs/openssl ) dev-libs/libnl:1.1 madwifi? ( || ( >net-wireless/madwifi-ng-tools-0.9.3 net-wireless/madwifi-ng ) )" RDEPEND=3D"${DEPEND}" S=3D"${S}/hostapd" src_prepare() { sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \ "${S}/hostapd.conf" } src_configure() { local CONFIG=3D"${S}/.config" # toolchain setup echo "CC =3D $(tc-getCC)" > ${CONFIG} # EAP authentication methods echo "CONFIG_EAP=3Dy" >> ${CONFIG} echo "CONFIG_EAP_MD5=3Dy" >> ${CONFIG} if use ssl; then # SSL authentication methods echo "CONFIG_EAP_TLS=3Dy" >> ${CONFIG} echo "CONFIG_EAP_TTLS=3Dy" >> ${CONFIG} echo "CONFIG_EAP_MSCHAPV2=3Dy" >> ${CONFIG} echo "CONFIG_EAP_PEAP=3Dy" >> ${CONFIG} fi if use wps; then # Enable Wi-Fi Protected Setup echo "CONFIG_WPS=3Dy" >> ${CONFIG} echo "CONFIG_WPS2=3Dy" >> ${CONFIG} echo "CONFIG_WPS_UPNP=3Dy" >> ${CONFIG} einfo "Enabling Wi-Fi Protected Setup support" fi echo "CONFIG_EAP_GTC=3Dy" >> ${CONFIG} echo "CONFIG_EAP_SIM=3Dy" >> ${CONFIG} echo "CONFIG_EAP_AKA=3Dy" >> ${CONFIG} echo "CONFIG_EAP_PAX=3Dy" >> ${CONFIG} echo "CONFIG_EAP_PSK=3Dy" >> ${CONFIG} echo "CONFIG_EAP_SAKE=3Dy" >> ${CONFIG} echo "CONFIG_EAP_GPSK=3Dy" >> ${CONFIG} echo "CONFIG_EAP_GPSK_SHA256=3Dy" >> ${CONFIG} einfo "Enabling drivers: " # drivers echo "CONFIG_DRIVER_HOSTAP=3Dy" >> ${CONFIG} einfo " HostAP driver enabled" echo "CONFIG_DRIVER_WIRED=3Dy" >> ${CONFIG} einfo " Wired driver enabled" echo "CONFIG_DRIVER_PRISM54=3Dy" >> ${CONFIG} einfo " Prism54 driver enabled" echo "CONFIG_DRIVER_NONE=3Dy" >> ${CONFIG} einfo " None driver enabled" if use madwifi; then # Add include path for madwifi-driver headers einfo " Madwifi driver enabled" echo "CFLAGS +=3D -I/usr/include/madwifi" >> ${CONFIG} echo "CONFIG_DRIVER_MADWIFI=3Dy" >> ${CONFIG} else einfo " Madwifi driver disabled" fi einfo " nl80211 driver enabled" echo "CONFIG_DRIVER_NL80211=3Dy" >> ${CONFIG} echo "LIBS +=3D -L/usr/lib" >> ${CONFIG} # misc echo "CONFIG_PKCS12=3Dy" >> ${CONFIG} echo "CONFIG_RADIUS_SERVER=3Dy" >> ${CONFIG} echo "CONFIG_IAPP=3Dy" >> ${CONFIG} echo "CONFIG_IEEE80211R=3Dy" >> ${CONFIG} echo "CONFIG_IEEE80211W=3Dy" >> ${CONFIG} echo "CONFIG_IEEE80211N=3Dy" >> ${CONFIG} echo "CONFIG_PEERKEY=3Dy" >> ${CONFIG} echo "CONFIG_RSN_PREAUTH=3Dy" >> ${CONFIG} if use ipv6; then # IPv6 support echo "CONFIG_IPV6=3Dy" >> ${CONFIG} fi if ! use debug; then echo "CONFIG_NO_STDOUT_DEBUG=3Dy" >> ${CONFIG} fi # If we are using libnl 2.0 and above, enable support for it # Removed for now, since the 3.2 version is broken, and we don't # support it. #if has_version ">=3Ddev-libs/libnl-2.0"; then # echo "CONFIG_LIBNL20=3Dy" >> .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=3D( \"192.168.1.1/24\" )" einfo "channel_wlan0=3D\"6\"" einfo "essid_wlan0=3D\"test\"" einfo "mode_wlan0=3D\"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 }