diff options
author | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2011-09-09 22:56:50 +0000 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2011-09-09 22:56:50 +0000 |
commit | 4d50cbce579fe20a075cf0c37ec4a4461b35564e (patch) | |
tree | 56e1fdad531acc219822fbbec09b7b81a5eb2b8a /net-wireless | |
parent | *portage-2.2.0_alpha55 (09 Sep 2011) (diff) | |
download | gentoo-2-4d50cbce579fe20a075cf0c37ec4a4461b35564e.tar.gz gentoo-2-4d50cbce579fe20a075cf0c37ec4a4461b35564e.tar.bz2 gentoo-2-4d50cbce579fe20a075cf0c37ec4a4461b35564e.zip |
Adding support for >=libnl-2.0
(Portage version: 2.2.0_alpha54/cvs/Linux i686)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/hostapd/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-init.d | 6 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.7.3.ebuild | 8 |
3 files changed, 15 insertions, 6 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog index 270a8a999aa2..f6278d86dc6f 100644 --- a/net-wireless/hostapd/ChangeLog +++ b/net-wireless/hostapd/ChangeLog @@ -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.112 2011/07/13 12:19:09 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.113 2011/09/09 22:56:50 gurligebis Exp $ + + 09 Sep 2011; <gurligebis@gentoo.org> hostapd-0.7.3.ebuild, + files/hostapd-init.d: + Adding support for >=libnl-2.0 and adding support for newer openrc + versions without making noise. 13 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> hostapd-0.7.3.ebuild: ppc stable wrt #360997 diff --git a/net-wireless/hostapd/files/hostapd-init.d b/net-wireless/hostapd/files/hostapd-init.d index c6372cc52401..631cb48504b2 100644 --- a/net-wireless/hostapd/files/hostapd-init.d +++ b/net-wireless/hostapd/files/hostapd-init.d @@ -1,9 +1,9 @@ #!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d,v 1.1 2010/01/14 14:36:18 gurligebis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d,v 1.2 2011/09/09 22:56:50 gurligebis Exp $ -opts="start stop reload" +extra_commands="reload" depend() { local myneeds= diff --git a/net-wireless/hostapd/hostapd-0.7.3.ebuild b/net-wireless/hostapd/hostapd-0.7.3.ebuild index 535baf29fe54..73b095223e04 100644 --- a/net-wireless/hostapd/hostapd-0.7.3.ebuild +++ b/net-wireless/hostapd/hostapd-0.7.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.7.3.ebuild,v 1.5 2011/07/13 12:19:09 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.7.3.ebuild,v 1.6 2011/09/09 22:56:50 gurligebis Exp $ EAPI="2" @@ -86,7 +86,6 @@ src_configure() { einfo " nl80211 driver enabled" echo "CONFIG_DRIVER_NL80211=y" >> ${CONFIG} - echo "CFLAGS += -I/usr/include/netlink" >> ${CONFIG} echo "LIBS += -L/usr/lib" >> ${CONFIG} # misc @@ -108,6 +107,11 @@ src_configure() { echo "CONFIG_NO_STDOUT_DEBUG=y" >> ${CONFIG} fi + # If we are using libnl 2.0 and above, enable support for it + if has_version ">=dev-libs/libnl-2.0"; then + echo "CONFIG_LIBNL20=y" >> .config + fi + # TODO: Add support for BSD drivers default_src_configure |