Commit graph

6564 commits

Author SHA1 Message Date
Felix Fietkau
2e8e109624 ath9k: update initvals for ar9330 to fix issues with high power designs
SVN-Revision: 31691
2012-05-12 17:40:59 +00:00
Felix Fietkau
373d489a2c ath9k: fix a rare use-after-free bug
SVN-Revision: 31690
2012-05-12 17:40:53 +00:00
Felix Fietkau
5cc362bd7a ath9k: stop rx before tx, should reduce the frequency of "Failed to stop Tx DMA" errors
SVN-Revision: 31689
2012-05-12 17:40:47 +00:00
Felix Fietkau
d7bb955e45 remove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a module anyway
SVN-Revision: 31678
2012-05-11 22:08:06 +00:00
Gabor Juhos
e976bf5600 package/kernel: add package for the ADT7473/7475/7476/7490 sensors
SVN-Revision: 31657
2012-05-09 10:48:36 +00:00
Gabor Juhos
0f8e0335a7 package/kernel: add package for the LM85 sensor
SVN-Revision: 31656
2012-05-09 10:48:34 +00:00
Gabor Juhos
c403828c57 package/kernel: move hwmon-vid into a separate package
SVN-Revision: 31655
2012-05-09 10:48:33 +00:00
Jo-Philipp Wich
0422ba4687 ppp: remove stray bracked in ppp-up script, thanks swalker
SVN-Revision: 31647
2012-05-07 22:41:41 +00:00
Jonas Gorski
80650c9475 base-files: wait for wifi modules to settle
On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.

This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.

SVN-Revision: 31639
2012-05-06 21:25:42 +00:00
Felix Fietkau
c3f0b757a3 pptp: fix installation path for netifd proto handler
SVN-Revision: 31636
2012-05-06 21:19:04 +00:00
Hauke Mehrtens
8ff6417c41 kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

SVN-Revision: 31634
2012-05-06 20:43:17 +00:00
Hauke Mehrtens
a42570bc3e kernel: remove kmod-usb-serial-airprime
This was removed from kernel 2.6.27

SVN-Revision: 31633
2012-05-06 20:40:54 +00:00
Hauke Mehrtens
2f93cd1fad kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

The last commit (r31631) has the wrong message, kmod-usb-phidget was removed in kernel 2.6.30.

SVN-Revision: 31632
2012-05-06 20:40:19 +00:00
Hauke Mehrtens
34c32d3a9d kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

SVN-Revision: 31631
2012-05-06 20:37:08 +00:00
Hauke Mehrtens
0fd86465d0 kernel: add video-videobuf2
This should fix #11349 and #11142

SVN-Revision: 31630
2012-05-06 20:35:54 +00:00
Hauke Mehrtens
655a320a6b kernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
This module is available on all supported kernel versions

SVN-Revision: 31629
2012-05-06 20:34:55 +00:00
Hauke Mehrtens
216853d6ba kernel: add kmod-video-gspca-konica and remove kmod-video-konica
kmod-video-konica was removed from kernel 2.6.38 and is now replaced by kmod-video-gspca-konica

SVN-Revision: 31628
2012-05-06 20:34:00 +00:00
Hauke Mehrtens
865ac15306 kernel: remove kmod-video-ov511 and kmod-video-ovcamchip
These two modules where removed from kernel with kernel version 2.6.36, use kmod-video-gspca-ov519 instead.

SVN-Revision: 31627
2012-05-06 20:33:17 +00:00
Felix Fietkau
ffa7a3ac35 ubus: update to latest version, add LUAPATH to cmake options - fixes #11398
SVN-Revision: 31622
2012-05-06 08:27:40 +00:00
Jo-Philipp Wich
7dc263ddaa ubus: update to current git, package up libubus-lua
SVN-Revision: 31619
2012-05-05 20:47:38 +00:00
Gabor Juhos
71dc2715a9 package/ar7-atm: allow to build on 3.3
SVN-Revision: 31613
2012-05-05 17:32:33 +00:00
Gabor Juhos
1e041ba72a package/ar7-atm: refresh patches
SVN-Revision: 31612
2012-05-05 17:32:29 +00:00
Felix Fietkau
73383c252e pptp: kill the call manager process on shutdown
SVN-Revision: 31606
2012-05-05 16:56:42 +00:00
Felix Fietkau
3225530e1e pptp: add netifd support
SVN-Revision: 31605
2012-05-05 16:56:28 +00:00
Felix Fietkau
b76a1b49aa pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
SVN-Revision: 31604
2012-05-05 16:56:24 +00:00
Felix Fietkau
50edcbde35 netifd: update to latest version, adds support for host route dependencies
SVN-Revision: 31603
2012-05-05 16:56:20 +00:00
Felix Fietkau
7591ffded8 pptp: compile with the openwrt cflags instead of -O0
SVN-Revision: 31600
2012-05-05 13:06:33 +00:00
Imre Kaloz
44631ef595 switch to the new linux-firmware git tree, use the new wl12xx firmware files
SVN-Revision: 31575
2012-05-03 21:50:41 +00:00
Jo-Philipp Wich
8e9d914343 uhttpd: display errors in init script, code formatting changes, bump package version
SVN-Revision: 31572
2012-05-03 17:19:22 +00:00
Jo-Philipp Wich
54b34ccbc5 uhttpd: added uhttpd.docroot
Passes the document-root to the Lua handler by placing it in uhttpd.docroot.

It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

SVN-Revision: 31571
2012-05-03 17:19:20 +00:00
Jo-Philipp Wich
bcd8d530d1 Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.
My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p

Here is the corrected patch.

-- David

From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.

* uh_urlencode() and uh_urldecode() now return an error condition for
  buffer-overflow and malformed-encoding rather than normal return with corrupt
  or truncated data.  As HTTP request processing is currently implemented, this
  causes a 404 HTTP status returned to the client, while 400 is more
  appropriate.

* Exposed urlencode() to Lua.

* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
  buffer-overflow and malformed-encoding rather than normal return with
  incorrect data.

SVN-Revision: 31570
2016-03-20 20:05:13 +01:00
Jo-Philipp Wich
2bfb1e012a uhttpd URL-codec bug fixes.
* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested
  input-buffer index against output-buffer length].  In reality, this would not
  typically cause an overflow on decode, where the output string would be
  expected to be shorter than the input string; and uh_urlencode() seems to have
  been unreferenced in the source.

* Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the
  input-string.  While this could manifest in C code, the result was most
  egregious when called from Lua, where it caused an extra null byte to be
  embedded at the end of the output string.

* uh_urlencode() cleanup: removed redundant bitwise-and.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

SVN-Revision: 31569
2012-05-03 17:19:16 +00:00
Gabor Juhos
6e5db7ed69 package/pptp: remove a stray bracket
SVN-Revision: 31568
2012-05-03 13:29:36 +00:00
Gabor Juhos
3349cf2691 Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos
60db046ef2 Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31565
2012-05-03 09:39:01 +00:00
Gabor Juhos
97697c332f Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31564
2012-05-03 09:38:58 +00:00
Florian Fainelli
e69d1b9940 openssl: update to 1.0.1b
SVN-Revision: 31551
2012-05-02 15:40:32 +00:00
Gabor Juhos
70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
2012-05-01 08:00:25 +00:00
Felix Fietkau
7a8d12bafa relayd: move the interface fixup to the right place
SVN-Revision: 31545
2012-04-30 18:27:12 +00:00
Felix Fietkau
ea1d49fc90 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
SVN-Revision: 31544
2012-04-30 18:24:00 +00:00
Felix Fietkau
4ea86b956c base-files-network: add a fixup_interface function like with the netifd compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces
SVN-Revision: 31543
2012-04-30 18:23:56 +00:00
Felix Fietkau
8a790d9730 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
SVN-Revision: 31542
2012-04-30 18:23:52 +00:00
Felix Fietkau
f8868fc87b ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
2012-04-30 08:20:34 +00:00
Felix Fietkau
897abd824f mac80211: fix station lookup issues
SVN-Revision: 31539
2012-04-30 07:57:09 +00:00
Felix Fietkau
a85af68ad0 mac80211: load lib80211 after cfg80211 (#11342)
SVN-Revision: 31537
2012-04-29 21:00:17 +00:00
Gabor Juhos
5528e0b008 package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31526
2012-04-29 15:08:23 +00:00
Gabor Juhos
8c60f7825b package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31524
2012-04-29 15:08:21 +00:00
Gabor Juhos
01a9103254 package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31522
2012-04-29 15:00:37 +00:00
Felix Fietkau
bfa2c971a0 mac80211: fix WDS AP authentication issues (#11261, #11318)
SVN-Revision: 31517
2012-04-29 13:47:37 +00:00
Felix Fietkau
f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
SVN-Revision: 31516
2012-04-29 12:20:10 +00:00
Felix Fietkau
d4d223edad hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
SVN-Revision: 31515
2012-04-29 11:14:53 +00:00
Felix Fietkau
873cdb190c pppd: fix parsing the ipv6-{up,down}-script option
SVN-Revision: 31514
2012-04-29 10:08:33 +00:00
Hauke Mehrtens
164dd71afe broadcom-diag: add missing break into switch case statement.
SVN-Revision: 31506
2012-04-28 23:30:05 +00:00
Mirko Vogt
232b7aa65b remove special treatment when using glibc - support got dropped
SVN-Revision: 31504
2012-04-28 22:24:16 +00:00
Mirko Vogt
334fd4199b purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

SVN-Revision: 31503
2012-04-28 22:24:12 +00:00
Mirko Vogt
90f58064be update/rename those packages
This patch makes several changes to the util-linux(-ng) package:
 * rename to util-linux (official name now, util-linux-ng got merged)
 * bump to last stable version 2.21.1 (was 2.13.0.1 before)
 * add several new packages
 * sort packages within Makefile
 * remove patches which got merged upstream

This patch makes some changes to the e2fsprogs package:
 * bump to last stable version 1.42.2
 * libraries moved from e2fsprogs to util-linux - take care of that

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31499
2012-04-28 19:54:54 +00:00
Florian Fainelli
129afe12b7 base-files: fix typo in 05_firstboot_skip script (#11359)
SVN-Revision: 31492
2012-04-27 16:49:16 +00:00
Florian Fainelli
1c29057519 fix kmod-pcmcia-serial for 3.3+ kernels
SVN-Revision: 31490
2012-04-27 16:44:44 +00:00
Jo-Philipp Wich
68a6a13517 kernel: fix packaging of 8250.ko with Linux 3.x This commit fixes build breakage in package/kernel leading to missing subsequent kmods like kmod-usb-serial, this should fix the missing packages in ar71xx builds.
SVN-Revision: 31477
2012-04-25 13:43:15 +00:00
Jonas Gorski
7ccf25f7da kernel: add some more missing kernel config symbols
SVN-Revision: 31458
2012-04-24 09:25:32 +00:00
Florian Fainelli
e43a6b684e remove old acx driver
SVN-Revision: 31456
2012-04-24 08:05:49 +00:00
Florian Fainelli
7314de1e5d acx-mac80211: update to 20122204
Upstream commit id: 15bbffea

SVN-Revision: 31455
2012-04-24 08:05:46 +00:00
Felix Fietkau
43962ee2af mac80211: update AP multicast fix to latest version submitted to linux-wireless@
SVN-Revision: 31453
2012-04-23 17:29:29 +00:00
Jo-Philipp Wich
5d0f47e4bb 6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range (#11323)
SVN-Revision: 31444
2012-04-23 10:12:00 +00:00
John Crispin
4a7d620950 scanning kernel packages for targets
Any modifications in target/linux/*/modules.mk would not come into effect for
subsequent "make menuconfig" unless we delete ./tmp.

Signed-off-by: kalyan <kalyanatejaswi@gmail.com>

SVN-Revision: 31442
2012-04-23 09:37:50 +00:00
Gabor Juhos
3a19900878 Revert "mac80211: add backport of the module_pci_driver macro"
Erm, Hauke was faster.

SVN-Revision: 31439
2012-04-22 11:39:49 +00:00
Gabor Juhos
563455044b mac80211: add backport of the module_pci_driver macro
That is required by various PCI drivers.

SVN-Revision: 31438
2012-04-22 11:37:22 +00:00
Hauke Mehrtens
c694ac6f7e mac80211: add module_pci_driver to compat
Without module_pci_driver being defined the pci drivers do not get registered.

Should fix #11332

SVN-Revision: 31437
2012-04-22 11:36:35 +00:00
Felix Fietkau
f37deb2b1b netifd: improve error handling in legacy script compatibility library, do not fill the log with error messages for interfaces that could not be found
SVN-Revision: 31432
2012-04-21 20:34:48 +00:00
Felix Fietkau
3678ba60ca base-files: rename internal variables in config_foreach to make namespace conflicts more unlikely
SVN-Revision: 31431
2012-04-21 20:34:45 +00:00
Felix Fietkau
bfa643c7ef netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
SVN-Revision: 31430
2012-04-21 20:34:41 +00:00
Felix Fietkau
c233a89ab4 mac80211: suppress 3-address multicast frames on WDS APs without non-WDS stations
SVN-Revision: 31429
2012-04-21 20:34:38 +00:00
Felix Fietkau
b510eebece ath9k: merge a tkip related stability fix
SVN-Revision: 31428
2012-04-21 20:34:33 +00:00
Mirko Vogt
075618c6e3 minor change: adjust formatting of firewall.config
- remove trailing whitespaces (s/\ $//g)
 - replace spaces with tabs between options and values

SVN-Revision: 31427
2012-04-21 19:42:28 +00:00
Jo-Philipp Wich
2d19ca6925 e2fsprogs: fix status reaping with fsck piped to logger, based on patch by Lukasz Golec-Biernat <mojedokumenty+openwrt@gmail.com>
SVN-Revision: 31377
2012-04-20 15:18:17 +00:00
Jo-Philipp Wich
3c4165a305 enable ntpd server for busybox
hi

Another version, in this one the enable_server option is in the timeserver ntp part of the "system" config file
You can patch trunk and bacfire (tested both)
You can put busybox ntpd in client mode (if you put server), in client & server (by putting enable_server to 1, ntpd listen to udp 123), and also in server mode only (if you didn't put any servers in the config and still put enable_server 1,  ntpd will answer with the time of the router)

I've replaced "config_foreach getpeers timeserver" with "config_get peers ntp server" because we want ntp timeserver, not random ones (to pre-answer if someone want to say that it's intrusive ...)

 Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

Le 27/03/2012 20:41, Etienne Champetier a écrit :
> I've now tested my trunk patch and it works fine
> But I still can't find were $PROG is defined (is this a mistake, or some sort of built in variable???)
> (I've made some grep and nothing)
>
> Le 23/03/2012 02:19, Philip Prindeville a écrit :
>> Maybe:
>>
>> [ -n "$PROG" -a -x "$PROG" ] || return 1
>>
>> instead?
>>
>>
>> On 3/22/12 4:34 PM, Etienne Champetier wrote:
>>> Hi
>>>
>>> The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server option, as busybox ntpd server is compiled by default.
>>> We only need 1 client/server daemon (olipro patch was launching 2 daemons)
>>> I've fully tested the bacfire patch, and as i don't have a running openwrt trunk i'm not sure for the trunk patch (i'm sure about my modifications, but i'm not sure about "[ -x $PROG ] || return 1", as "$PROG" isn't defined ?!)
>>>
>>> Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
>>>
>>>
>>> Le 16/01/2012 01:57, Philip Prindeville a écrit :
>>>> On 1/14/12 11:37 AM, Olipro wrote:
>>>>> On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote:
>>>>>> Don't we already have a 'disabled' option?  Now we're adding an
>>>>>> 'enable_server' option?
>>>>>>
>>>>>> That seems confusing for no useful reason.
>>>>>>
>>>>> have you bothered to read what I originally wrote? your response would make
>>>>> me inclined to believe that you didn't.
>>>>>
>>>>> currently the ntpd initscript only runs it as a CLIENT - this patch enables
>>>>> you to have one instance running as a client and another as a SERVER that
>>>>> other hosts can synchronise with.
>>>>>
>>>>> Or perhaps I'm misunderstanding, what would you propose for allowing the
>>>>> built-in busybox ntpd to be utilised as a server? a separate init script
>>>>> entirely perhaps?
>>>> Or separate config sections... instead of 'config ntp' have 'config ntp-server' and 'config ntp-client'.
>>>>
>>>> -Philip
>>>>
>>>>
>>>> _______________________________________________
>>>> openwrt-devel mailing list
>>>> openwrt-devel@lists.openwrt.org
>>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

SVN-Revision: 31374
2012-04-20 15:05:38 +00:00
Florian Fainelli
4acba49534 gpio-button-hotplug: don't build on 2.6.30
SVN-Revision: 31363
2012-04-20 13:25:20 +00:00
Florian Fainelli
bd50216764 button-hotplug: prevent build on 2.6.30
SVN-Revision: 31362
2012-04-20 13:25:17 +00:00
Florian Fainelli
d509a445cb xfsprogs: disable po files building
SVN-Revision: 31361
2012-04-20 13:25:08 +00:00
Felix Fietkau
1eb25cc5ad mac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx power fix
SVN-Revision: 31347
2012-04-19 18:32:39 +00:00
Jo-Philipp Wich
5a7ac3d044 openssl: update to v1.0.1a (CVE-2012-2110)
SVN-Revision: 31346
2012-04-19 14:05:53 +00:00
Felix Fietkau
43695701ec ppp: move ppp-{up,down} from the netifd package to pppd
SVN-Revision: 31340
2012-04-17 21:35:13 +00:00
Felix Fietkau
a41b36bd4c netifd: update to latest, fixes ppp reconnect issues
SVN-Revision: 31339
2012-04-17 21:35:09 +00:00
Felix Fietkau
d7fee0b596 ath9k/ath5k: fix driver load issues with mesh support compiled out
SVN-Revision: 31326
2012-04-17 00:05:41 +00:00
Felix Fietkau
b138bca290 iw: sync nl80211.h update with compat-wireless
SVN-Revision: 31323
2012-04-16 21:13:18 +00:00
Felix Fietkau
c0c371b581 mac80211: update to wireless-testing 2012-04-13
SVN-Revision: 31322
2012-04-16 21:08:41 +00:00
Jo-Philipp Wich
f638b544f3 iproute2: Add hotplug script to add slave devices to TEQL master
Resolves https://dev.openwrt.org/ticket/11192

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

SVN-Revision: 31311
2012-04-16 15:04:42 +00:00
Florian Fainelli
5683c53c0c sierra-directip: disable build with kernels older than 2.6.32 included
SVN-Revision: 31303
2012-04-16 11:38:38 +00:00
Travis Kemen
a0bbc34816 disable xfs on avr32
SVN-Revision: 31291
2012-04-15 16:22:59 +00:00
Jo-Philipp Wich
b4312a8ba1 base-files: reformat banner to better work with varying version string lengths, do not set image options if menu is disabled (#11280)
SVN-Revision: 31289
2012-04-15 15:21:55 +00:00
Hauke Mehrtens
6af575967c kernel: update bcma and ssb to version master-2012-04-12 from wireless-testing
SVN-Revision: 31278
2012-04-13 19:35:40 +00:00
Hauke Mehrtens
3f240440c7 mac80211: add missing dependency to mac80211 to brcmsmac
SVN-Revision: 31277
2012-04-13 18:37:46 +00:00
Jo-Philipp Wich
d8540259ca base-file: cleanup white space in Kconfig source
SVN-Revision: 31267
2012-04-12 23:01:39 +00:00
Felix Fietkau
a7db0ceda4 ath9k: fix sleep mode handling issues, should improve client mode reliability
SVN-Revision: 31265
2012-04-12 21:28:18 +00:00
Jo-Philipp Wich
a43ae30e1b include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner
The available placeholders are:
 %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
 %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
 %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
 %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
 %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
 %v .. Like %V, but all characters made lowercase and spaces substituted with "_"
 %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
 %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
 %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages"
 %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
 %T .. Replace with the current target (e.g. "ar71xx")
 %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")

SVN-Revision: 31262
2012-04-12 17:31:16 +00:00
Felix Fietkau
8b7533c496 netifd: update to 2012-04-12, fixes interface reconnect issues and improves interface status info
SVN-Revision: 31261
2012-04-12 13:58:07 +00:00
Jo-Philipp Wich
3c3941f109 base-files: remove network preconfig, it collides with ar71xx network firstboot uci-defaults To supply custom network settings, it is better to embed a complete network config file using the files/ overlay, the old image lan preconfig options are also very limited in scope and actually collide with sysupgrade and firstboot hardware detection on at least ar71xx and possibly other targets, therfore drop this facility.
SVN-Revision: 31258
2012-04-12 09:43:44 +00:00
John Crispin
aa1a33e466 fix bad variable name inside Makefile
We use PKG_NAME and not PKB_BASE_NAME inside OpenWrt Makefiles

SVN-Revision: 31244
2012-04-10 15:20:23 +00:00
Jonas Gorski
1a57b05f47 kernel: add some more additional missing config symbols for 3.2 and 3.3
SVN-Revision: 31221
2012-04-09 14:48:46 +00:00
Jo-Philipp Wich
fafad3f4f4 libpcap: explicitely disable libnl support to prevent different build results depending on the environment (#11239)
SVN-Revision: 31219
2012-04-08 15:11:12 +00:00
Jo-Philipp Wich
6940ba2a1a util-linux(-ng): revert r31183, r31178 - the update introduced several regressions which need to be worked out first
SVN-Revision: 31202
2012-04-05 12:00:20 +00:00
Jo-Philipp Wich
8d0abd27dc grub: fix build with automake v1.11.3 (#11228)
SVN-Revision: 31201
2012-04-04 18:10:15 +00:00
Jo-Philipp Wich
4cbbd9ab4b util-linux: prevent packaging libtool placeholder scripts (#11224)
SVN-Revision: 31183
2012-04-04 11:40:08 +00:00
Jo-Philipp Wich
e7807dd8ca dnsmasq: configure dnsmasq via flat config file and not command-line args
Sometimes it's useful to compare the generated config file from UCI config with a hand-edited dnsmasq config file, especially if you're migrating to an OpenWRT router from something else (such as Astlinux).

Putting the generated config makes it easier to capture and diff, etc.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31182
2012-04-02 22:31:21 +00:00
Florian Fainelli
a54b6055a8 iproute2: update to 3.2.0 and package 'ss'
This patch bumps iproute2 to the latest available version, fixes the
package URL to use kernel.org (as things have now been moved back there)
and also adds ss (socket statistics) to menuconfig.

Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

SVN-Revision: 31179
2012-04-02 16:25:51 +00:00
Florian Fainelli
5f332bf12c util-linux: move and update
This patch makes several changes with util-linux-ng package:

 * moves it to util-linux (upstream name)
 * bumps it to last stable version 2.20.1 (was 2.13.0.1)
 * adds new package getopt
 * sorts packages inside Makefile
 * removes patch, it has been applied upstream

I would also like to maintain this package.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31178
2012-04-02 16:25:48 +00:00
Florian Fainelli
dcd98a5d3a crda: update to 1.1.2
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31177
2012-04-02 16:25:40 +00:00
Jo-Philipp Wich
26577e330c libnl-tiny: port upstream bugfix 8ee16e6688657886f591f0841cb8e892743ecf2a from libnl, fixes error on hostapd interface initialization
SVN-Revision: 31155
2012-04-01 05:32:32 +00:00
Travis Kemen
569e56f1d2 revert bad change
SVN-Revision: 31154
2012-04-01 02:53:06 +00:00
Travis Kemen
40f8b19c57 Disable xfs on avr32, it has been failing the build for at least a month
SVN-Revision: 31153
2012-04-01 01:45:18 +00:00
Felix Fietkau
27d0271355 mac80211: kmod-ath should not depend on PCI or USB support for the atheros target
SVN-Revision: 31151
2012-03-30 10:12:53 +00:00
Florian Fainelli
186fb64fab xfsprogs: update download location
SVN-Revision: 31146
2012-03-29 17:09:50 +00:00
Felix Fietkau
34ccdb348d wpa_supplicant: make key_mgmt default to NONE
SVN-Revision: 31145
2012-03-29 16:30:13 +00:00
Felix Fietkau
9cb9ae68c5 hostapd: fix driver_madwifi compile issues
SVN-Revision: 31139
2012-03-29 12:52:32 +00:00
Felix Fietkau
04d8267cf0 madwifi: fix compile issues with linux 3.1/3.2
SVN-Revision: 31138
2012-03-29 12:52:16 +00:00
Jo-Philipp Wich
e83f30306c mac80211: allow NOHT for IBSS mode
SVN-Revision: 31137
2012-03-29 12:24:43 +00:00
John Crispin
433a8d39da soloscli: Add script to syslog ADSL line stats
I run this from cron. With remote syslog enabled, this means I have a
record of ADSL line quality variation — which is useful when diagnosing
and reporting faults.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

SVN-Revision: 31136
2012-03-29 09:01:33 +00:00
Jonas Gorski
9813679235 package: kernel: add missing config symbols for serial-8250
SVN-Revision: 31134
2012-03-28 21:55:15 +00:00
Felix Fietkau
f96ffe2c96 netifd: update to latest version, fixes a segfault with non-bridge interface hotplug
SVN-Revision: 31125
2012-03-28 16:58:39 +00:00
Felix Fietkau
c3bba7f8c6 add trelay, a trivial ethernet relay which allows pseudo-bridging ad-hoc or client mode devices over vlans to other hosts
SVN-Revision: 31122
2012-03-28 11:02:38 +00:00
Felix Fietkau
15757646c5 uci: update to latest version, fixes return code of the cli on various failures
SVN-Revision: 31121
2012-03-28 11:02:30 +00:00
Gabor Juhos
ab6086e3f9 package/kernel: create packages for the LED Timer/Default ON triggers
SVN-Revision: 31106
2012-03-27 19:37:58 +00:00
Gabor Juhos
ddc784694b package/kernel: allow to build RTC modules for 3.x
SVN-Revision: 31105
2012-03-27 19:37:57 +00:00
Felix Fietkau
877c407ade mac80211: add hostapd socket option to wpa_supplicant for IBSS RSN as well
SVN-Revision: 31088
2012-03-27 13:52:39 +00:00
Felix Fietkau
d5833ff3f3 wpa_supplicant: fix regressions introduced by the ibss-rsn changes
SVN-Revision: 31087
2012-03-27 13:38:08 +00:00
Felix Fietkau
d654ad2ae9 wpa_supplicant: add CONFIG_IBSS_RSN=y compilation option
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 31086
2012-03-27 13:29:51 +00:00
Felix Fietkau
1eaf4bf8fc wpa_supplicant: modify wpa_supplicant.sh in order to support IBSS-RSN/WPA-NONE
Based on patch by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 31085
2012-03-27 13:29:41 +00:00
Felix Fietkau
5f799a0e97 ath9k: make endian check optional
Turns out it triggers on some AR71xx devices where no swapping should be done.
Enable endian check for the lantiq target.

SVN-Revision: 31084
2012-03-27 13:21:53 +00:00
Felix Fietkau
2143633bd2 mac80211: modify mac80211.sh to in order to support IBSS-RSN
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 31083
2012-03-27 13:21:46 +00:00
Felix Fietkau
0c21e6a7b8 madwifi: modify madwifi.sh to support IBSS WPA-NONE
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 31082
2012-03-27 13:21:39 +00:00
Felix Fietkau
d8ac2c7c3f wpa_supplicant: use wext driver for hostap and madwifi
SVN-Revision: 31081
2012-03-27 10:44:26 +00:00
Felix Fietkau
4225e4b2d8 hostapd: update to 20120326
SVN-Revision: 31080
2012-03-27 10:42:47 +00:00
Felix Fietkau
35607da5b8 netifd: update to 2012-03-23, fixes route/address tracking issues and adds more status info
SVN-Revision: 31077
2012-03-26 14:30:19 +00:00
John Crispin
bf65d4aa77 fixes #31068, rename 999-ath9k.patch to 501-ath9k-eeprom_endianess.patch
SVN-Revision: 31071
2012-03-25 09:07:09 +00:00
John Crispin
fca4c80b35 Pulse dialing support into pjsip.
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

SVN-Revision: 31070
2012-03-25 08:51:16 +00:00
John Crispin
0dd64c552d adds ARV4519PW/ARV7519PW
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

SVN-Revision: 31069
2012-03-25 08:51:13 +00:00
John Crispin
2ad89262d0 adds eeprom endianess check to ath9k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 31068
2012-03-25 08:51:08 +00:00
John Crispin
9f0e5e0841 adds ath5k platfrom_device eep support
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

SVN-Revision: 31067
2012-03-25 08:50:56 +00:00
John Crispin
f3cb8728d4 unbreak dsl firmware loading
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

SVN-Revision: 31066
2012-03-25 08:50:45 +00:00
John Crispin
b85de8f385 fix for 3.2.9
SVN-Revision: 31065
2012-03-25 08:50:42 +00:00
Jo-Philipp Wich
265d0b379a dnsmasq: add missing config_get, localize variables, bump package revision
SVN-Revision: 31058
2012-03-23 11:26:47 +00:00
Jo-Philipp Wich
c443f3d875 dnsmasq: add mx record support
Adding the following syntax support:

config mxhost
	option domain mydomain.com
	option relay svr10.ironport.com
	option pref 50

and this will generate an MX record for mydomain.com pointing at the relay with a given preference.

Redux: default the preference to 0 if absent.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31057
2012-03-23 11:19:58 +00:00
Jo-Philipp Wich
3747850535 dnsmasq: add keywords for SRV RR class/weight
The SRV record also requires the class and weight fields... Currently you can overload the "port" keyword as:

	option port xxxx,class,weight

but this is counter-intuitive. Here we fix this.

Redux: make the port required.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31056
2012-03-23 11:19:56 +00:00
Jo-Philipp Wich
d1bd1b4e27 iwinfo: properly cast nl80211 mBm signal levels to reported dBm values (#11161)
SVN-Revision: 31053
2012-03-21 19:47:16 +00:00
Jo-Philipp Wich
2419c1370a block-mount: add missing chunk of previous commit
SVN-Revision: 31050
2012-03-21 02:29:47 +00:00
Jo-Philipp Wich
88866c9484 block-mount: invoke blkid without cache file, this seems to fix mounts by uuid or label
SVN-Revision: 31049
2012-03-21 02:29:26 +00:00
Felix Fietkau
6f46704743 base-files: split service related functions off to /lib/functions/service.sh
SVN-Revision: 31042
2012-03-20 14:29:50 +00:00
Felix Fietkau
a660a57d71 pppd: split files into netifd and non-netifd files, move the netifd ppp.sh file to the pppd package
SVN-Revision: 31041
2012-03-20 13:09:27 +00:00
Jo-Philipp Wich
f6ad186eec kernel: add kmod-acpi-button
SVN-Revision: 31037
2012-03-19 23:48:38 +00:00
Felix Fietkau
3454c35127 6in4: add netifd support
SVN-Revision: 31036
2012-03-19 21:10:04 +00:00
Felix Fietkau
1147799b85 netifd: update to latest version, fixes log buffer handling issues, dns issues and various sit tunnel related issues
SVN-Revision: 31035
2012-03-19 21:10:00 +00:00
Felix Fietkau
f33c1deb65 6to4: fix interface error handling
SVN-Revision: 31034
2012-03-19 21:09:57 +00:00
Felix Fietkau
6df99730c4 netifd: scan l3 devices on find_config()
SVN-Revision: 31033
2012-03-19 21:09:54 +00:00
Felix Fietkau
6a30a0d992 netifd: shut down all interfaces before restarting netifd
SVN-Revision: 31032
2012-03-19 21:09:51 +00:00
Jo-Philipp Wich
0099e0e79b kernel: add missing AddDepends calls for kmod-usb-serial-qualcomm and kmod-ata-sis
SVN-Revision: 31029
2012-03-19 20:28:49 +00:00
Felix Fietkau
57d0b185e5 madwifi: remove my maintainer line from the package
SVN-Revision: 31021
2012-03-19 11:29:01 +00:00
Jo-Philipp Wich
d74c6ce7c5 firewall: revert processing order of redirects and rules, ensures that rules can be used to filter before redirects are reached
SVN-Revision: 31014
2012-03-18 23:34:06 +00:00
Jo-Philipp Wich
2659bfe969 ps3-utils git repository fix
The PKG_SOURCE_URL should be

git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-utils.git

rather then

http://www.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-utils.git

or else you will get a fatal error "did you run git update-server-info
on the server?"

Signed-off-by: Nicola Squartini <tensor5@gmail.com>

SVN-Revision: 30993
2012-03-18 21:08:39 +00:00
Jo-Philipp Wich
60b39b7fc0 Add support for the 8250 UART module.
It has been added at the end of other.mk as i couldn't find a better place
for it.

Signed-off-by: Christian Gagneraud <chris@techworks.ie>

SVN-Revision: 30989
2012-03-18 19:49:22 +00:00
Jo-Philipp Wich
a0e9402b46 Fix the title and the description of the kmod for DS2433.
This kmod has been certainly added by copy/paste but the title and
description were not updated. Fix that.
The DS2433 is a 1 wire 4kb eeprom with CRC capability.

Signed-off-by: Christian Gagneraud <chris@techworks.ie>

SVN-Revision: 30988
2012-03-18 19:49:21 +00:00
Jo-Philipp Wich
782a6225c7 Adds a kmod for the DS2431
The DS2431 is a 1 wire 1kb eeprom.

Signed-off-by: Christian Gagneraud <chris@techworks.ie>

SVN-Revision: 30987
2012-03-18 19:49:19 +00:00
Jo-Philipp Wich
c31627a112 This patch adds a kmod in hwmon for the SHT21 sensor (I2C temperature and humidity sensor)
Signed-off-by: Christian Gagneraud <chris@techworks.ie>

SVN-Revision: 30986
2012-03-18 19:49:17 +00:00
Jo-Philipp Wich
0a18161da1 busybox 1.19.4 update patch
This patch updates busybox to 1.19.4 and refreshes all patches.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 30985
2012-03-18 19:46:52 +00:00
Jo-Philipp Wich
7aefa1da37 openssl 1.0.1 update patch
This patch updates openssl to 1.0.1 and refreshes all patches.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 30984
2012-03-18 19:46:01 +00:00
Jo-Philipp Wich
5fdd1f4bd7 Add munin to /etc/services
The muninlite postinst fails to add munin to /etc/services.

This patch removes this broken postinst and add an entry for munin in
/etc/services. This should have been done when the rest of the
/etc/services postinsts were being removed (changesets 26142-26149).

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 30982
2012-03-18 19:41:57 +00:00
Jo-Philipp Wich
3b87ad238c kernel: add kmod-usb-net-ipheth (#10157)
SVN-Revision: 30981
2012-03-18 19:02:28 +00:00
Jo-Philipp Wich
6954150e65 kernel: add kmod-usb-serial-qualcomm (#8283)
SVN-Revision: 30979
2012-03-18 18:49:38 +00:00
Jo-Philipp Wich
662551d3a4 kernel: add kmod-ata-sis (#8259)
SVN-Revision: 30978
2012-03-18 18:44:30 +00:00
Jo-Philipp Wich
bea4837dc1 kernel: small correction of menuconfig title for kmod-video-gspca-ov534-9
SVN-Revision: 30977
2012-03-18 18:37:08 +00:00
Jo-Philipp Wich
906d44975b kernel: add kmod-video-gspca-ov534-9
SVN-Revision: 30975
2012-03-18 18:14:10 +00:00
Felix Fietkau
411ccc13f5 mac80211: reduce cpu load by optimizing aggregation session timeout handling
SVN-Revision: 30968
2012-03-17 22:34:58 +00:00
Jens Muecke
217ea0b042 Update xfsprogs to 3.1.4 to 3.1.7
Changelog at http://xfs.org/index.php/XFS_Status_Updates

SVN-Revision: 30965
2012-03-17 21:30:31 +00:00
Felix Fietkau
94354fcb71 ath9k: remove the queue wake optimization, it may be unreliable in some cases
SVN-Revision: 30959
2012-03-16 22:22:34 +00:00
Felix Fietkau
fab655c2b1 6to4: set the tunnel remote endpoint to any, put the gateway in the route instead
SVN-Revision: 30950
2012-03-15 11:01:50 +00:00
Felix Fietkau
7dcb1402e5 6to4: add netifd support
SVN-Revision: 30949
2012-03-15 09:49:33 +00:00
Felix Fietkau
b60539115e netifd: fix ipv6 issues, add sit tunnel support
SVN-Revision: 30948
2012-03-15 09:49:29 +00:00
Felix Fietkau
adff0183ca netifd: implement find_config()
SVN-Revision: 30947
2012-03-15 09:49:26 +00:00
Jo-Philipp Wich
911666bff8 openssl 1.0.0h update patch
Hi

this patch updates openssl to 1.0.0h and refreshes all patches.
This fixes CVE-2012-0884.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 30939
2012-03-13 22:09:48 +00:00
Jo-Philipp Wich
dd6c299d2e firewall: fix fw__uci_state_del() procedure (#11132)
SVN-Revision: 30938
2012-03-13 21:22:13 +00:00
Jo-Philipp Wich
654f9c879f switch: the hardware must be up while configuring Since the removal of the interface coldplug hack the timing changed in such a way that eth0 is not up during switch setup, leading to an inaccesible device. Bring up the switch interface before configuring it to mitigate the problem.
SVN-Revision: 30937
2012-03-13 21:15:41 +00:00
Jo-Philipp Wich
80307216f2 uhttpd: reorder compiler flags to fix native build on Ubuntu 11.x
SVN-Revision: 30936
2012-03-13 20:41:31 +00:00
Jo-Philipp Wich
95edc71814 base-files-network: configure vlan interface name type immediately before the vconfig add calls, fixes race condition (#11127)
SVN-Revision: 30919
2012-03-13 12:25:28 +00:00
Felix Fietkau
dce6ee5830 ath9k: optimize waking tx queues, slightly improves performance under load
SVN-Revision: 30918
2012-03-13 11:19:19 +00:00
Felix Fietkau
5744d736f2 base-files: remove old coldplugging hacks that are no longer necessary since the new main hotplug2 instance calls udevtrigger as well
SVN-Revision: 30916
2012-03-13 09:18:30 +00:00
Felix Fietkau
57b4047a5d ath9k: remove stuck beacon detection optimization, it may be unreliable on some hardware
SVN-Revision: 30915
2012-03-13 07:56:01 +00:00
Jo-Philipp Wich
e6af9d374a fix ipt_ttl and ipt_TTL userspace library packaging
SVN-Revision: 30897
2012-03-12 02:07:22 +00:00
Felix Fietkau
0341ff9912 rt2x00: merge a fix for random tx stalls
SVN-Revision: 30871
2012-03-10 13:31:34 +00:00
Felix Fietkau
14d09d570f mac80211: limit TID buffering to prevent out-of-memory issues on low-memory systems
SVN-Revision: 30870
2012-03-10 13:31:31 +00:00
Felix Fietkau
f029ef0b81 ath9k: fix passing MAC time to mac80211
SVN-Revision: 30869
2012-03-10 13:31:27 +00:00
Felix Fietkau
3de99d0c4d ath9k: increase rx buffers for improved performance with 3x3 chipsets
SVN-Revision: 30868
2012-03-10 12:59:46 +00:00
Felix Fietkau
241601b938 ath9k: merge an ANI improvement patch, improves performance in some environments
SVN-Revision: 30867
2012-03-10 12:59:43 +00:00
Felix Fietkau
f728469200 mac80211/ath9k: some more performance improvements
SVN-Revision: 30866
2012-03-10 12:59:40 +00:00
Felix Fietkau
7dff84b670 mac80211: more patch reorganization, merge an upstream performance optimization patch
SVN-Revision: 30865
2012-03-10 12:59:36 +00:00
Felix Fietkau
1812fe63b2 ath9k: merge a fix for hardware full sleep
SVN-Revision: 30864
2012-03-10 12:59:28 +00:00
Felix Fietkau
414f23e49d mac80211: reorganize patches, fold in patches that were merged upstream
SVN-Revision: 30863
2012-03-10 12:59:24 +00:00
Felix Fietkau
30b1247a04 mac80211: add the real compat-wireless version + openwrt revision to the compat_version
SVN-Revision: 30862
2012-03-10 12:59:21 +00:00
Gabor Juhos
f39459d605 package/kernel: add package for the ath79 watchdog
SVN-Revision: 30851
2012-03-08 09:00:16 +00:00
Felix Fietkau
c996929e14 netifd: update to latest version
- preserve hotplug-added interfaces on reload, even if settings change
- implement fast config reload for bridge devices
- improve bridge device handling reliability
- fix bridge stp settings

SVN-Revision: 30829
2012-03-05 19:53:16 +00:00
Gabor Juhos
96e8c6f0fd package/kernel: don't allow to select NAND modules for kernels <3.0
SVN-Revision: 30828
2012-03-05 18:01:55 +00:00
Jo-Philipp Wich
f399616db8 iwinfo: fix integer overflow in assoclist rate reporting (#11073)
SVN-Revision: 30825
2012-03-05 17:52:46 +00:00