Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/hostap
@ 2007-07-09  4:40 ulf at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: ulf at uclibc.org @ 2007-07-09  4:40 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-08 21:40:53 -0700 (Sun, 08 Jul 2007)
New Revision: 19050

Log:
Use hostap release version instead of snapshot

Modified:
   trunk/buildroot/package/hostap/hostap.mk


Changeset:
Modified: trunk/buildroot/package/hostap/hostap.mk
===================================================================
--- trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:29:35 UTC (rev 19049)
+++ trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:40:53 UTC (rev 19050)
@@ -3,12 +3,13 @@
 # hostap
 #
 #############################################################
-HOSTAP_SOURCE_URL=http://hostap.epitest.fi/cgi-bin/viewcvs.cgi/hostap/hostap.tar.gz?tarball=1
-HOSTAP_SOURCE=hostap.tar.gz
-HOSTAP_DIR=$(BUILD_DIR)/hostap-snapshot
+HOSTAP_VERSION=0.5.8
+HOSTAP_SOURCE=hostapd-$(HOSTAP_VERSION).tar.gz
+HOSTAP_SITE=http://hostap.epitest.fi/releases
+HOSTAP_DIR=$(BUILD_DIR)/hostapd-$(HOSTAP_VERSION)
 
 $(DL_DIR)/$(HOSTAP_SOURCE):
-	$(WGET) -P $(DL_DIR) $(HOSTAP_SOURCE_URL) -O $(DL_DIR)/$(HOSTAP_SOURCE)
+	$(WGET_NOSPIDERS) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
 
 hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE)
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/hostap
@ 2007-07-09  4:59 ulf at uclibc.org
  2007-07-09  8:18 ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 10+ messages in thread
From: ulf at uclibc.org @ 2007-07-09  4:59 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-08 21:59:45 -0700 (Sun, 08 Jul 2007)
New Revision: 19051

Log:
WGET_NOSPIDERS is not defined, use WGET for now

Modified:
   trunk/buildroot/package/hostap/hostap.mk


Changeset:
Modified: trunk/buildroot/package/hostap/hostap.mk
===================================================================
--- trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:40:53 UTC (rev 19050)
+++ trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:59:45 UTC (rev 19051)
@@ -9,7 +9,7 @@
 HOSTAP_DIR=$(BUILD_DIR)/hostapd-$(HOSTAP_VERSION)
 
 $(DL_DIR)/$(HOSTAP_SOURCE):
-	$(WGET_NOSPIDERS) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
+	$(WGET) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
 
 hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE)
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/hostap
  2007-07-09  4:59 [Buildroot] svn commit: trunk/buildroot/package/hostap ulf at uclibc.org
@ 2007-07-09  8:18 ` Cristian Ionescu-Idbohrn
  2007-07-09  9:13   ` Bernhard Fischer
  0 siblings, 1 reply; 10+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-07-09  8:18 UTC (permalink / raw)
  To: buildroot

On Sun, 8 Jul 2007, ulf at uclibc.org wrote:

> Author: ulf
> Date: 2007-07-08 21:59:45 -0700 (Sun, 08 Jul 2007)
> New Revision: 19051
>
> Log:
> WGET_NOSPIDERS is not defined, use WGET for now
>
> Modified:
>    trunk/buildroot/package/hostap/hostap.mk
>
>
> Changeset:
> Modified: trunk/buildroot/package/hostap/hostap.mk
> ===================================================================
> --- trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:40:53 UTC (rev 19050)
> +++ trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:59:45 UTC (rev 19051)
> @@ -9,7 +9,7 @@
>  HOSTAP_DIR=$(BUILD_DIR)/hostapd-$(HOSTAP_VERSION)
>
>  $(DL_DIR)/$(HOSTAP_SOURCE):
> -	$(WGET_NOSPIDERS) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
> +	$(WGET) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
>
>  hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE)

Alright.  The problem here is that the wget '--spider' option does just
what the man-page says:

  --spider
      When invoked with this option, Wget will behave as a Web spider,
      which means that it will not download the pages, just check that
      they are there.

and hostap.epitest.fi replies accordingly, saying the file is there and
shows its size too.

  # make hostap-source
  wget --passive-ftp -nd --spider -P /data/cii/buildroot/buildroot/dl
  http://hostap.epitest.fi/releases/hostapd-0.5.8.tar.gz
  --09:59:41--  http://hostap.epitest.fi/releases/hostapd-0.5.8.tar.gz
             => `/data/cii/buildroot/buildroot/dl/hostapd-0.5.8.tar.gz'
  Resolving hostap.epitest.fi... 204.152.186.63
  Connecting to hostap.epitest.fi|204.152.186.63|:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 459,253 (448K) [application/x-tar]
  200 OK

Nothing is downloaded.  Patch attached.


-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostap.mk.patch
Type: text/x-diff
Size: 563 bytes
Desc: 
Url : http://busybox.net/lists/buildroot/attachments/20070709/d1189220/attachment.bin 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/hostap
  2007-07-09  8:18 ` Cristian Ionescu-Idbohrn
@ 2007-07-09  9:13   ` Bernhard Fischer
  2007-07-09  9:32     ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 10+ messages in thread
From: Bernhard Fischer @ 2007-07-09  9:13 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 09, 2007 at 10:18:21AM +0200, Cristian Ionescu-Idbohrn wrote:
>On Sun, 8 Jul 2007, ulf at uclibc.org wrote:
>
>> Author: ulf
>> Date: 2007-07-08 21:59:45 -0700 (Sun, 08 Jul 2007)
>> New Revision: 19051
>>
>> Log:
>> WGET_NOSPIDERS is not defined, use WGET for now
>>
>> Modified:
>>    trunk/buildroot/package/hostap/hostap.mk
>>
>>
>> Changeset:
>> Modified: trunk/buildroot/package/hostap/hostap.mk
>> ===================================================================
>> --- trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:40:53 UTC (rev 19050)
>> +++ trunk/buildroot/package/hostap/hostap.mk	2007-07-09 04:59:45 UTC (rev 19051)
>> @@ -9,7 +9,7 @@
>>  HOSTAP_DIR=$(BUILD_DIR)/hostapd-$(HOSTAP_VERSION)
>>
>>  $(DL_DIR)/$(HOSTAP_SOURCE):
>> -	$(WGET_NOSPIDERS) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
>> +	$(WGET) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
>>
>>  hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE)
>
>Alright.  The problem here is that the wget '--spider' option does just
>what the man-page says:
>
>  --spider
>      When invoked with this option, Wget will behave as a Web spider,
>      which means that it will not download the pages, just check that
>      they are there.
>
>and hostap.epitest.fi replies accordingly, saying the file is there and
>shows its size too.
>
>  # make hostap-source
>  wget --passive-ftp -nd --spider -P /data/cii/buildroot/buildroot/dl
>  http://hostap.epitest.fi/releases/hostapd-0.5.8.tar.gz
>  --09:59:41--  http://hostap.epitest.fi/releases/hostapd-0.5.8.tar.gz
>             => `/data/cii/buildroot/buildroot/dl/hostapd-0.5.8.tar.gz'
>  Resolving hostap.epitest.fi... 204.152.186.63
>  Connecting to hostap.epitest.fi|204.152.186.63|:80... connected.
>  HTTP request sent, awaiting response... 200 OK
>  Length: 459,253 (448K) [application/x-tar]
>  200 OK
>
>Nothing is downloaded.  Patch attached.

No. Fix your BR2_WGET instead:
BR2_WGET="wget --passive-ftp"

PS: sounds a bit like you did a source-check and forgot to reinstate
your sane config afterwards.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/hostap
  2007-07-09  9:13   ` Bernhard Fischer
@ 2007-07-09  9:32     ` Cristian Ionescu-Idbohrn
  2007-07-09  9:40       ` Bernhard Fischer
  0 siblings, 1 reply; 10+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-07-09  9:32 UTC (permalink / raw)
  To: buildroot

On Mon, 9 Jul 2007, Bernhard Fischer wrote:


> No. Fix your BR2_WGET instead:
> BR2_WGET="wget --passive-ftp"
>
> PS: sounds a bit like you did a source-check and forgot to reinstate
> your sane config afterwards.

BR2_WGET in my .config is set to this:

BR2_WGET="wget --passive-ftp -nd"

and I did not do it myself (it was supplied as default) AFAIR.

The I might have understood this target in the main Makefile:

.config.check: dependencies
	$(SED) '/BR2_WGET/s/\"$$/ --spider\"/g' .config
	touch $@

and I might still failing to understand it, but it's one thing to
temporarilly change BR2_WGET to do the checks and another thing to
force edit .config behind my back.

Could you please explain?


-- 
Cristian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/hostap
  2007-07-09  9:32     ` Cristian Ionescu-Idbohrn
@ 2007-07-09  9:40       ` Bernhard Fischer
  2007-07-09 10:01         ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 10+ messages in thread
From: Bernhard Fischer @ 2007-07-09  9:40 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 09, 2007 at 11:32:07AM +0200, Cristian Ionescu-Idbohrn wrote:
>On Mon, 9 Jul 2007, Bernhard Fischer wrote:
>
>
>> No. Fix your BR2_WGET instead:
>> BR2_WGET="wget --passive-ftp"
>>
>> PS: sounds a bit like you did a source-check and forgot to reinstate
>> your sane config afterwards.
>
>BR2_WGET in my .config is set to this:
>
>BR2_WGET="wget --passive-ftp -nd"
>
>and I did not do it myself (it was supplied as default) AFAIR.
>
>The I might have understood this target in the main Makefile:
>
>.config.check: dependencies
>	$(SED) '/BR2_WGET/s/\"$$/ --spider\"/g' .config
>	touch $@
>
>and I might still failing to understand it, but it's one thing to
>temporarilly change BR2_WGET to do the checks and another thing to
>force edit .config behind my back.
>
>Could you please explain?

$ svn log -r18769  
------------------------------------------------------------------------
r18769 | aldot | 2007-06-07 14:57:03 +0200 (Thu, 07 Jun 2007) | 5 lines

- provide a "source-check" target that tries to download all packages
  with
  wget's spider-mode (i.e. just see if the server says the file is there without
  actually downloading the files.
  Convenient to check for unavailable source-packages.

------------------------------------------------------------------------

This is ment for developers who want to check for unavailable packages.
If you're uncomfortable with it, Don't Do That Then. And no, i don't
bother to save the config away. That's your duty (you most likely also
don't want to set all and every config option to yes for a real rootfs).

friendly,

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/hostap
  2007-07-09  9:40       ` Bernhard Fischer
@ 2007-07-09 10:01         ` Cristian Ionescu-Idbohrn
  2007-07-09 10:23           ` [Buildroot] make source-check Bernhard Fischer
  0 siblings, 1 reply; 10+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-07-09 10:01 UTC (permalink / raw)
  To: buildroot

On Mon, 9 Jul 2007, Bernhard Fischer wrote:

> $ svn log -r18769
> ------------------------------------------------------------------------
> r18769 | aldot | 2007-06-07 14:57:03 +0200 (Thu, 07 Jun 2007) | 5 lines
>
> - provide a "source-check" target that tries to download all packages with
>   wget's spider-mode (i.e. just see if the server says the file is there without
>   actually downloading the files.
>   Convenient to check for unavailable source-packages.
>
> ------------------------------------------------------------------------
>
> This is ment for developers who want to check for unavailable packages.
> If you're uncomfortable with it, Don't Do That Then. And no, i don't
> bother to save the config away. That's your duty (you most likely also
> don't want to set all and every config option to yes for a real rootfs).

Thanks for opening my eyes :)

But, wouldn't you agree that doing the same thing witout changing the
.config could be a much more elegant way to do it?


-- 
Cristian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] make source-check
  2007-07-09 10:01         ` Cristian Ionescu-Idbohrn
@ 2007-07-09 10:23           ` Bernhard Fischer
  2007-07-15 12:41             ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 10+ messages in thread
From: Bernhard Fischer @ 2007-07-09 10:23 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 09, 2007 at 12:01:08PM +0200, Cristian Ionescu-Idbohrn wrote:
>On Mon, 9 Jul 2007, Bernhard Fischer wrote:

>But, wouldn't you agree that doing the same thing witout changing the
>.config could be a much more elegant way to do it?

If you have a better impl than my quick-hack, i'm eager to see it, sure.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] make source-check
  2007-07-09 10:23           ` [Buildroot] make source-check Bernhard Fischer
@ 2007-07-15 12:41             ` Cristian Ionescu-Idbohrn
  0 siblings, 0 replies; 10+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-07-15 12:41 UTC (permalink / raw)
  To: buildroot

On Mon, 9 Jul 2007, Bernhard Fischer wrote:

> On Mon, Jul 09, 2007 at 12:01:08PM +0200, Cristian Ionescu-Idbohrn wrote:
> >On Mon, 9 Jul 2007, Bernhard Fischer wrote:
>
> >But, wouldn't you agree that doing the same thing witout changing the
> >.config could be a much more elegant way to do it?
>
> If you have a better impl than my quick-hack, i'm eager to see it, sure.

Looks like there might be another way: see info-node "6.10 Target-specific
Variable Values" in a recent manual.  What do you think of something like:

--- Makefile	(revision 19052)
+++ Makefile	(working copy)
@@ -222,11 +222,8 @@

 source: $(TARGETS_SOURCE) $(HOST_SOURCE)

-.config.check: dependencies
-	$(SED) '/BR2_WGET/s/\"$$/ --spider\"/g' .config
-	touch $@
-
-_source-check: .config.check
+_source-check: WGET += --spider
+_source-check:
 	$(MAKE) source

That is, the wget option '--spider' will be used _only_ by target
'_source-check' and the '.config' won't have to be edited behind one's
back.


-- 
Cristian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/hostap
@ 2007-08-28 21:09 ulf at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: ulf at uclibc.org @ 2007-08-28 21:09 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-28 14:09:23 -0700 (Tue, 28 Aug 2007)
New Revision: 19722

Log:
Use correct hostap source, deprecate package due to inclusion in linux kernel

Modified:
   trunk/buildroot/package/hostap/Config.in
   trunk/buildroot/package/hostap/hostap.mk


Changeset:
Modified: trunk/buildroot/package/hostap/Config.in
===================================================================
--- trunk/buildroot/package/hostap/Config.in	2007-08-28 21:07:32 UTC (rev 19721)
+++ trunk/buildroot/package/hostap/Config.in	2007-08-28 21:09:23 UTC (rev 19722)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_HOSTAP
 	bool "hostap"
 	default n
+	depends on BR2_DEPRECATED
 	select BR2_PACKAGE_PCMCIA
 	help
 	  Linux driver for wireless LAN cards based on Intersil's 

Modified: trunk/buildroot/package/hostap/hostap.mk
===================================================================
--- trunk/buildroot/package/hostap/hostap.mk	2007-08-28 21:07:32 UTC (rev 19721)
+++ trunk/buildroot/package/hostap/hostap.mk	2007-08-28 21:09:23 UTC (rev 19722)
@@ -1,10 +1,15 @@
 #############################################################
 #
 # hostap
+# 
+# Note! Host AP driver was added into the main kernel tree in Linux v2.6.14. 
+# The version in the kernel tree should be used instead of this external hostap-driver package. 
+# The external releases are only for older kernel versions and all
+# the future development will be in the main kernel tree.
 #
 #############################################################
-HOSTAP_VERSION=0.5.8
-HOSTAP_SOURCE=hostapd-$(HOSTAP_VERSION).tar.gz
+HOSTAP_VERSION=0.4.9
+HOSTAP_SOURCE=hostap-driver-$(HOSTAP_VERSION).tar.gz
 HOSTAP_SITE=http://hostap.epitest.fi/releases
 HOSTAP_DIR=$(BUILD_DIR)/hostapd-$(HOSTAP_VERSION)
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-08-28 21:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09  4:59 [Buildroot] svn commit: trunk/buildroot/package/hostap ulf at uclibc.org
2007-07-09  8:18 ` Cristian Ionescu-Idbohrn
2007-07-09  9:13   ` Bernhard Fischer
2007-07-09  9:32     ` Cristian Ionescu-Idbohrn
2007-07-09  9:40       ` Bernhard Fischer
2007-07-09 10:01         ` Cristian Ionescu-Idbohrn
2007-07-09 10:23           ` [Buildroot] make source-check Bernhard Fischer
2007-07-15 12:41             ` Cristian Ionescu-Idbohrn
  -- strict thread matches above, loose matches on Subject: below --
2007-08-28 21:09 [Buildroot] svn commit: trunk/buildroot/package/hostap ulf at uclibc.org
2007-07-09  4:40 ulf at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox