15.05/openwrt.git
12 years ago[uml] add 3.3 support
Florian Fainelli [Mon, 23 Apr 2012 12:33:19 +0000 (12:33 +0000)]
[uml] add 3.3 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31445 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] 6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range (#11323)
Jo-Philipp Wich [Mon, 23 Apr 2012 10:12:00 +0000 (10:12 +0000)]
[package] 6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range (#11323)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31444 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[lantiq] Adding wifi eeprom extract for ARV752DPW - Easybox 802
John Crispin [Mon, 23 Apr 2012 09:40:37 +0000 (09:40 +0000)]
[lantiq] Adding wifi eeprom extract for ARV752DPW - Easybox 802

Signed-off-by: Christian Rustmeier <rustmeier a.t. gmail dotty com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31443 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[kernel] scanning kernel packages for targets
John Crispin [Mon, 23 Apr 2012 09:37:50 +0000 (09:37 +0000)]
[kernel] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31442 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
Felix Fietkau [Sun, 22 Apr 2012 19:19:49 +0000 (19:19 +0000)]
ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31441 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[at91] flexibity: Cleanup the subtarget config
Claudio Mignanti [Sun, 22 Apr 2012 16:56:10 +0000 (16:56 +0000)]
[at91] flexibity: Cleanup the subtarget config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31440 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoRevert "mac80211: add backport of the module_pci_driver macro"
Gabor Juhos [Sun, 22 Apr 2012 11:39:49 +0000 (11:39 +0000)]
Revert "mac80211: add backport of the module_pci_driver macro"

Erm, Hauke was faster.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31439 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: add backport of the module_pci_driver macro
Gabor Juhos [Sun, 22 Apr 2012 11:37:22 +0000 (11:37 +0000)]
mac80211: add backport of the module_pci_driver macro

That is required by various PCI drivers.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31438 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: add module_pci_driver to compat
Hauke Mehrtens [Sun, 22 Apr 2012 11:36:35 +0000 (11:36 +0000)]
mac80211: add module_pci_driver to compat

Without module_pci_driver being defined the pci drivers do not get registered.

Should fix #11332

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31437 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[at91] tqma9263: update board definition for 3.x series and fix config choose
Claudio Mignanti [Sun, 22 Apr 2012 09:09:53 +0000 (09:09 +0000)]
[at91] tqma9263: update board definition for 3.x series and fix config choose

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31436 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[at91] Remove old netus board definition
Claudio Mignanti [Sun, 22 Apr 2012 09:09:50 +0000 (09:09 +0000)]
[at91] Remove old netus board definition

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31435 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoep93xx: remove 2.6.39 support
Gabor Juhos [Sun, 22 Apr 2012 07:20:55 +0000 (07:20 +0000)]
ep93xx: remove 2.6.39 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31434 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoamazon: remove 2.6.3{0,2} support
Gabor Juhos [Sun, 22 Apr 2012 07:20:53 +0000 (07:20 +0000)]
amazon: remove 2.6.3{0,2} support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31433 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agonetifd: improve error handling in legacy script compatibility library, do not fill...
Felix Fietkau [Sat, 21 Apr 2012 20:34:48 +0000 (20:34 +0000)]
netifd: improve error handling in legacy script compatibility library, do not fill the log with error messages for interfaces that could not be found

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31432 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobase-files: rename internal variables in config_foreach to make namespace conflicts...
Felix Fietkau [Sat, 21 Apr 2012 20:34:45 +0000 (20:34 +0000)]
base-files: rename internal variables in config_foreach to make namespace conflicts more unlikely

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31431 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agonetifd: make type a local variable in /lib/network/config.sh to avoid clashes with...
Felix Fietkau [Sat, 21 Apr 2012 20:34:41 +0000 (20:34 +0000)]
netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: suppress 3-address multicast frames on WDS APs without non-WDS stations
Felix Fietkau [Sat, 21 Apr 2012 20:34:38 +0000 (20:34 +0000)]
mac80211: suppress 3-address multicast frames on WDS APs without non-WDS stations

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31429 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoath9k: merge a tkip related stability fix
Felix Fietkau [Sat, 21 Apr 2012 20:34:33 +0000 (20:34 +0000)]
ath9k: merge a tkip related stability fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31428 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package/firewall] minor change: adjust formatting of firewall.config
Mirko Vogt [Sat, 21 Apr 2012 19:42:28 +0000 (19:42 +0000)]
[package/firewall] minor change: adjust formatting of firewall.config

 - remove trailing whitespaces (s/\ $//g)
 - replace spaces with tabs between options and values

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31427 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoomap24xx: remove 2.6.38 support
Gabor Juhos [Sat, 21 Apr 2012 17:16:40 +0000 (17:16 +0000)]
omap24xx: remove 2.6.38 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31426 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agordc: remove empty patch dir
Gabor Juhos [Sat, 21 Apr 2012 17:10:47 +0000 (17:10 +0000)]
rdc: remove empty patch dir

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31425 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agouml: remove empty patch dirs
Gabor Juhos [Sat, 21 Apr 2012 17:09:33 +0000 (17:09 +0000)]
uml: remove empty patch dirs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31424 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux: remove the empty versatile target
Gabor Juhos [Sat, 21 Apr 2012 17:05:30 +0000 (17:05 +0000)]
linux: remove the empty versatile target

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31423 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoxburst: remove 2.6.36 support
Gabor Juhos [Sat, 21 Apr 2012 17:03:10 +0000 (17:03 +0000)]
xburst: remove 2.6.36 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31422 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomalta: remove 2.6.39 and 3.0 support
Gabor Juhos [Sat, 21 Apr 2012 16:56:15 +0000 (16:56 +0000)]
malta: remove 2.6.39 and 3.0 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31421 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc83xx: remove 2.6.32 support
Gabor Juhos [Sat, 21 Apr 2012 16:51:59 +0000 (16:51 +0000)]
mpc83xx: remove 2.6.32 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31420 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoocteon: remove 2.6.30 support
Gabor Juhos [Sat, 21 Apr 2012 16:45:32 +0000 (16:45 +0000)]
octeon: remove 2.6.30 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31419 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agocns3xxx: remove 2.6.31 support
Gabor Juhos [Sat, 21 Apr 2012 16:42:05 +0000 (16:42 +0000)]
cns3xxx: remove 2.6.31 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31418 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoau1000: remove empty dir
Gabor Juhos [Sat, 21 Apr 2012 16:36:51 +0000 (16:36 +0000)]
au1000: remove empty dir

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31417 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoau1000: remove 2.6.39 support
Gabor Juhos [Sat, 21 Apr 2012 16:30:40 +0000 (16:30 +0000)]
au1000: remove 2.6.39 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31416 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agox86: remove 2.6.32 support
Gabor Juhos [Sat, 21 Apr 2012 16:17:48 +0000 (16:17 +0000)]
x86: remove 2.6.32 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31415 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoixp4xx: remove 2.6.3{2,8} and 3.0 support
Gabor Juhos [Sat, 21 Apr 2012 16:17:46 +0000 (16:17 +0000)]
ixp4xx: remove 2.6.3{2,8} and 3.0 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31414 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agotools: add xz dependency to automake
Gabor Juhos [Sat, 21 Apr 2012 16:09:04 +0000 (16:09 +0000)]
tools: add xz dependency to automake

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31413 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/2.6.31: R.I.P.
Gabor Juhos [Sat, 21 Apr 2012 15:18:58 +0000 (15:18 +0000)]
linux/2.6.31: R.I.P.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31412 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/2.6.30: R.I.P.
Gabor Juhos [Sat, 21 Apr 2012 15:18:55 +0000 (15:18 +0000)]
linux/2.6.30: R.I.P.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31411 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux: add broken flag to targets which are using 2.6.30
Gabor Juhos [Sat, 21 Apr 2012 15:18:54 +0000 (15:18 +0000)]
linux: add broken flag to targets which are using 2.6.30

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31410 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: nuke the gpio_buttons patch
Gabor Juhos [Sat, 21 Apr 2012 14:26:35 +0000 (14:26 +0000)]
linux/3.3: nuke the gpio_buttons patch

It is superseded by the in-kernel gpio-keys-polled driver.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31409 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc52xx: nuke 3.2 config
Gabor Juhos [Sat, 21 Apr 2012 12:36:47 +0000 (12:36 +0000)]
mpc52xx: nuke 3.2 config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31408 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc52xx: switch to 3.3.2
Gabor Juhos [Sat, 21 Apr 2012 12:36:45 +0000 (12:36 +0000)]
mpc52xx: switch to 3.3.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31407 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agompc52xx: add kernel config for 3.3
Gabor Juhos [Sat, 21 Apr 2012 12:36:44 +0000 (12:36 +0000)]
mpc52xx: add kernel config for 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31406 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: nuke 3.2 suport
Gabor Juhos [Sat, 21 Apr 2012 12:30:53 +0000 (12:30 +0000)]
ramips: nuke 3.2 suport

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31405 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: switch to 3.3.2
Gabor Juhos [Sat, 21 Apr 2012 12:30:51 +0000 (12:30 +0000)]
ramips: switch to 3.3.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31404 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: add support for 3.3
Gabor Juhos [Sat, 21 Apr 2012 12:30:50 +0000 (12:30 +0000)]
ramips: add support for 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31403 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: rt305x: add OHCI/EHCI registration code for RT3352
Gabor Juhos [Sat, 21 Apr 2012 12:30:48 +0000 (12:30 +0000)]
ramips: rt305x: add OHCI/EHCI registration code for RT3352

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31402 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: rt305x: fix CPU clock detection on RT3352
Gabor Juhos [Sat, 21 Apr 2012 12:30:47 +0000 (12:30 +0000)]
ramips: rt305x: fix CPU clock detection on RT3352

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31401 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: rt305x: use different memory size setup for RT3352
Gabor Juhos [Sat, 21 Apr 2012 12:30:45 +0000 (12:30 +0000)]
ramips: rt305x: use different memory size setup for RT3352

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31400 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: rt3883: add profile and build sysupgrade image for the RT-N56U
Gabor Juhos [Sat, 21 Apr 2012 12:30:44 +0000 (12:30 +0000)]
ramips: rt3883: add profile and build sysupgrade image for the RT-N56U

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31399 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: add swconfig to the default package list
Gabor Juhos [Sat, 21 Apr 2012 12:30:43 +0000 (12:30 +0000)]
ramips: add swconfig to the default package list

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31398 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: build initramfs image for the Fonera 2.0N
Gabor Juhos [Sat, 21 Apr 2012 12:30:42 +0000 (12:30 +0000)]
ramips: build initramfs image for the Fonera 2.0N

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31397 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: rt305x: add initial support for Tenda W306R V2.0
Gabor Juhos [Sat, 21 Apr 2012 12:30:40 +0000 (12:30 +0000)]
ramips: rt305x: add initial support for Tenda W306R V2.0

More device info at: http://wiki.openwrt.org/toh/tenda/w306r

Signed-off-by: David Pearce <David_18051985@hotmail.com.au>
[juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages
from the profile, change broken GPIO number]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31396 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: remove hardcoded console parameter from kernel configs
Gabor Juhos [Sat, 21 Apr 2012 12:30:30 +0000 (12:30 +0000)]
ramips: remove hardcoded console parameter from kernel configs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31395 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: fix crypto4xx build failure
Gabor Juhos [Sat, 21 Apr 2012 10:47:04 +0000 (10:47 +0000)]
linux/3.3: fix crypto4xx build failure

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31394 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/gcc] remove screwed up patch for gcc 4.7-linaro which got committed by...
Mirko Vogt [Sat, 21 Apr 2012 10:23:49 +0000 (10:23 +0000)]
[toolchain/gcc] remove screwed up patch for gcc 4.7-linaro which got committed by accident

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31393 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/gcc] add support for GCC 4.7-linaro (based on GCC 4.7.1)
Mirko Vogt [Sat, 21 Apr 2012 09:58:31 +0000 (09:58 +0000)]
[toolchain/gcc] add support for GCC 4.7-linaro (based on GCC 4.7.1)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31392 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[target/linux/lantiq] change /etc/config/network according to actual VLAN config...
Mirko Vogt [Sat, 21 Apr 2012 08:07:21 +0000 (08:07 +0000)]
[target/linux/lantiq] change /etc/config/network according to actual VLAN config to enable LAN port 4 on the ARV4520PW board

The VLAN mapping on the ARV4520PW board is the following:

port on Router: | VLAN in software:
LAN 1           | 3
LAN 2           | 2
LAN 3           | 1
LAN 4           | 0
DSL             | 4

So LAN4 is not VLAN4 but VLAN0 (VLAN4 is DSL port) -> set "3 2 1 0 5t" as default switch config.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31391 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain] gcc: add patch to make the getenv() spec function nonfatal if requested...
Jo-Philipp Wich [Sat, 21 Apr 2012 03:02:39 +0000 (03:02 +0000)]
[toolchain] gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31390 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoppc40x: nuke 3.2 support
Gabor Juhos [Fri, 20 Apr 2012 21:03:15 +0000 (21:03 +0000)]
ppc40x: nuke 3.2 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31387 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoppc40x: switch to 3.3.2
Gabor Juhos [Fri, 20 Apr 2012 21:03:14 +0000 (21:03 +0000)]
ppc40x: switch to 3.3.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31386 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoppc40x: sync 3.3 config
Gabor Juhos [Fri, 20 Apr 2012 21:03:12 +0000 (21:03 +0000)]
ppc40x: sync 3.3 config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31385 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: remove duplicated AP121 Kconfig entry
Gabor Juhos [Fri, 20 Apr 2012 16:50:16 +0000 (16:50 +0000)]
ar71xx: remove duplicated AP121 Kconfig entry

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31382 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agocns21xx: remove 3.2 support
Gabor Juhos [Fri, 20 Apr 2012 15:25:00 +0000 (15:25 +0000)]
cns21xx: remove 3.2 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31381 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agocns21xx: switch to 3.3.2
Gabor Juhos [Fri, 20 Apr 2012 15:24:59 +0000 (15:24 +0000)]
cns21xx: switch to 3.3.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31380 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agocns21xx: add support for 3.3
Gabor Juhos [Fri, 20 Apr 2012 15:24:57 +0000 (15:24 +0000)]
cns21xx: add support for 3.3

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31379 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agolinux/3.3: update ARM mach-types
Gabor Juhos [Fri, 20 Apr 2012 15:24:54 +0000 (15:24 +0000)]
linux/3.3: update ARM mach-types

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31378 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] e2fsprogs: fix status reaping with fsck piped to logger, based on patch...
Jo-Philipp Wich [Fri, 20 Apr 2012 15:18:17 +0000 (15:18 +0000)]
[package] e2fsprogs: fix status reaping with fsck piped to logger, based on patch by Lukasz Golec-Biernat <mojedokumenty+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31377 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoenable ntpd server for busybox
Jo-Philipp Wich [Fri, 20 Apr 2012 15:05:38 +0000 (15:05 +0000)]
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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31374 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[generic] Add a missing symbol for config-3.3
Claudio Mignanti [Fri, 20 Apr 2012 13:33:04 +0000 (13:33 +0000)]
[generic] Add a missing symbol for config-3.3

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31373 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[at91] Reorganize the subtargets, group subtargets per cpu family
Claudio Mignanti [Fri, 20 Apr 2012 13:33:01 +0000 (13:33 +0000)]
[at91] Reorganize the subtargets, group subtargets per cpu family

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31372 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[at91] Update the kernel to 3.3.x series, remove patches that doesn't apply anymore
Claudio Mignanti [Fri, 20 Apr 2012 13:32:55 +0000 (13:32 +0000)]
[at91] Update the kernel to 3.3.x series, remove patches that doesn't apply anymore

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31371 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[at91] Ensure that the bin directory exists before copy the files
Claudio Mignanti [Fri, 20 Apr 2012 13:27:16 +0000 (13:27 +0000)]
[at91] Ensure that the bin directory exists before copy the files

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31370 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[kernel/2.6.30] remove some annoying warnings and fix snd modules build
Florian Fainelli [Fri, 20 Apr 2012 13:25:26 +0000 (13:25 +0000)]
[kernel/2.6.30] remove some annoying warnings and fix snd modules build

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31365 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[ps3] add missing config symbol
Florian Fainelli [Fri, 20 Apr 2012 13:25:23 +0000 (13:25 +0000)]
[ps3] add missing config symbol

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31364 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] gpio-button-hotplug: don't build on 2.6.30
Florian Fainelli [Fri, 20 Apr 2012 13:25:20 +0000 (13:25 +0000)]
[package] gpio-button-hotplug: don't build on 2.6.30

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31363 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] button-hotplug: prevent build on 2.6.30
Florian Fainelli [Fri, 20 Apr 2012 13:25:17 +0000 (13:25 +0000)]
[package] button-hotplug: prevent build on 2.6.30

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31362 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] xfsprogs: disable po files building
Florian Fainelli [Fri, 20 Apr 2012 13:25:08 +0000 (13:25 +0000)]
[package] xfsprogs: disable po files building

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31361 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: nuke 3.2 support
Gabor Juhos [Thu, 19 Apr 2012 21:32:05 +0000 (21:32 +0000)]
ar71xx: nuke 3.2 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31360 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: switch to 3.3.2
Gabor Juhos [Thu, 19 Apr 2012 21:31:58 +0000 (21:31 +0000)]
ar71xx: switch to 3.3.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31359 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: sync 3.3 config
Gabor Juhos [Thu, 19 Apr 2012 21:31:53 +0000 (21:31 +0000)]
ar71xx: sync 3.3 config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31358 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: merge/reorganize 3.3 patches
Gabor Juhos [Thu, 19 Apr 2012 21:31:50 +0000 (21:31 +0000)]
ar71xx: merge/reorganize 3.3 patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31357 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: use ap91_pci_init for RB751{,G}
Gabor Juhos [Thu, 19 Apr 2012 21:31:48 +0000 (21:31 +0000)]
ar71xx: use ap91_pci_init for RB751{,G}

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: move USB device registration directly into rb751{,g}_setup
Gabor Juhos [Thu, 19 Apr 2012 21:31:43 +0000 (21:31 +0000)]
ar71xx: move USB device registration directly into rb751{,g}_setup

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31355 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: add ap9x_pci_get_wmac_data helper
Gabor Juhos [Thu, 19 Apr 2012 21:31:42 +0000 (21:31 +0000)]
ar71xx: add ap9x_pci_get_wmac_data helper

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: add sanity checks to decode_rle
Gabor Juhos [Thu, 19 Apr 2012 21:31:40 +0000 (21:31 +0000)]
ar71xx: add sanity checks to decode_rle

Also use -EINVAL instead of -1.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31353 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoavr32: remove old kernel support
Gabor Juhos [Thu, 19 Apr 2012 21:23:07 +0000 (21:23 +0000)]
avr32: remove old kernel support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31352 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoavr32: switch to 3.3.2
Gabor Juhos [Thu, 19 Apr 2012 21:23:02 +0000 (21:23 +0000)]
avr32: switch to 3.3.2

uClibc-0.9.33 causes segfaults at least in iptables.
The segfaults are present with 2.6.39 as well, so it
makes no sense to stick to that version.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31351 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoavr32: sync kernel config
Gabor Juhos [Thu, 19 Apr 2012 21:22:50 +0000 (21:22 +0000)]
avr32: sync kernel config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31350 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoavr32: fix atomic64_t related kernel build errors
Gabor Juhos [Thu, 19 Apr 2012 21:22:48 +0000 (21:22 +0000)]
avr32: fix atomic64_t related kernel build errors

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31349 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx power fix
Felix Fietkau [Thu, 19 Apr 2012 18:32:39 +0000 (18:32 +0000)]
mac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx power fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31347 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] openssl: update to v1.0.1a (CVE-2012-2110)
Jo-Philipp Wich [Thu, 19 Apr 2012 14:05:53 +0000 (14:05 +0000)]
[package] openssl: update to v1.0.1a (CVE-2012-2110)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31346 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[cobalt] switch to 3.2.15
Florian Fainelli [Wed, 18 Apr 2012 15:36:33 +0000 (15:36 +0000)]
[cobalt] switch to 3.2.15

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31345 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[generic] fix 335-mips-kexec patch for all 3+ kernels
Florian Fainelli [Wed, 18 Apr 2012 15:36:30 +0000 (15:36 +0000)]
[generic] fix 335-mips-kexec patch for all 3+ kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31344 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomake xz ramdisk images also available for 2.6.39+
Jonas Gorski [Wed, 18 Apr 2012 15:14:05 +0000 (15:14 +0000)]
make xz ramdisk images also available for 2.6.39+

2.6.38 isn't the only kernel supporting it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31343 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/eglibc] when choosing eglibc select eglibc version 2.13 by default
Mirko Vogt [Wed, 18 Apr 2012 01:10:37 +0000 (01:10 +0000)]
[toolchain/eglibc] when choosing eglibc select eglibc version 2.13 by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31342 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[toolchain/eglibc] remove patch '100-do-not-use-implicit-rules.patch' for eglibc...
Mirko Vogt [Wed, 18 Apr 2012 01:10:20 +0000 (01:10 +0000)]
[toolchain/eglibc] remove patch '100-do-not-use-implicit-rules.patch' for eglibc 2.12

Mentioned patch got obsoleted by commit 31300, since it went upstream meanwhile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31341 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoppp: move ppp-{up,down} from the netifd package to pppd
Felix Fietkau [Tue, 17 Apr 2012 21:35:13 +0000 (21:35 +0000)]
ppp: move ppp-{up,down} from the netifd package to pppd

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agonetifd: update to latest, fixes ppp reconnect issues
Felix Fietkau [Tue, 17 Apr 2012 21:35:09 +0000 (21:35 +0000)]
netifd: update to latest, fixes ppp reconnect issues

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31339 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agokernel: x86: also update subtarget kernel versions
Jonas Gorski [Tue, 17 Apr 2012 21:01:43 +0000 (21:01 +0000)]
kernel: x86: also update subtarget kernel versions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31338 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agokernel: also update the targets to use 3.2.15
Jonas Gorski [Tue, 17 Apr 2012 13:12:14 +0000 (13:12 +0000)]
kernel: also update the targets to use 3.2.15

Thanks Gabor for spotting it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31337 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agokernel: update linux 3.3 to 3.3.2
Jonas Gorski [Tue, 17 Apr 2012 12:51:02 +0000 (12:51 +0000)]
kernel: update linux 3.3 to 3.3.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agokernel: update linux 3.2 to 3.2.15
Jonas Gorski [Tue, 17 Apr 2012 12:50:54 +0000 (12:50 +0000)]
kernel: update linux 3.2 to 3.2.15

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31335 3c298f89-4303-0410-b956-a3cf2f4a3e73