Commit Graph

23166 Commits (db5b2b03af4e19b7adcebc60834bce5d5e45487e)

Author SHA1 Message Date
Jo-Philipp Wich f8d838af0e [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
2012-04-20 15:18:17 +00:00
Jo-Philipp Wich e0f45e43ae 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
2012-04-20 15:05:38 +00:00
Claudio Mignanti faea581f6b [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
2012-04-20 13:33:04 +00:00
Claudio Mignanti 29dc558583 [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
2012-04-20 13:33:01 +00:00
Claudio Mignanti 50d492059a [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
2012-04-20 13:32:55 +00:00
Claudio Mignanti 6b6d6826b8 [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
2012-04-20 13:27:16 +00:00
Florian Fainelli 29681c7326 [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
2012-04-20 13:25:26 +00:00
Florian Fainelli 7d2e8e5419 [ps3] add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 13:25:23 +00:00
Florian Fainelli 6cc3e5cd98 [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
2012-04-20 13:25:20 +00:00
Florian Fainelli 14f43eca27 [package] button-hotplug: prevent build on 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 13:25:17 +00:00
Florian Fainelli 7958c069d9 [package] xfsprogs: disable po files building
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 13:25:08 +00:00
Gabor Juhos d83124454a ar71xx: nuke 3.2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:32:05 +00:00
Gabor Juhos f41d93b307 ar71xx: switch to 3.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:58 +00:00
Gabor Juhos 8f4fdc7ddd ar71xx: sync 3.3 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:53 +00:00
Gabor Juhos 8771edc108 ar71xx: merge/reorganize 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:50 +00:00
Gabor Juhos fb5930b034 ar71xx: use ap91_pci_init for RB751{,G}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:48 +00:00
Gabor Juhos 00d3105923 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
2012-04-19 21:31:43 +00:00
Gabor Juhos 83531b059e ar71xx: add ap9x_pci_get_wmac_data helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:42 +00:00
Gabor Juhos 7ad3da40d6 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
2012-04-19 21:31:40 +00:00
Gabor Juhos 4af9045195 avr32: remove old kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:23:07 +00:00
Gabor Juhos 36fc8bed41 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
2012-04-19 21:23:02 +00:00
Gabor Juhos 962a7aa169 avr32: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:22:50 +00:00
Gabor Juhos ea2bab28c3 avr32: fix atomic64_t related kernel build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:22:48 +00:00
Felix Fietkau a26e06cb15 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
2012-04-19 18:32:39 +00:00
Jo-Philipp Wich 1fc922bec9 [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
2012-04-19 14:05:53 +00:00
Florian Fainelli bf87c8d517 [cobalt] switch to 3.2.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-18 15:36:33 +00:00
Florian Fainelli 9b0b00129d [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
2012-04-18 15:36:30 +00:00
Jonas Gorski f357674b30 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
2012-04-18 15:14:05 +00:00
Mirko Vogt 132aa096ad [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
2012-04-18 01:10:37 +00:00
Mirko Vogt aee919a22a [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
2012-04-18 01:10:20 +00:00
Felix Fietkau 6959928314 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
2012-04-17 21:35:13 +00:00
Felix Fietkau e4f13cc280 netifd: update to latest, fixes ppp reconnect issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 21:35:09 +00:00
Jonas Gorski fe3da331e9 kernel: x86: also update subtarget kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 21:01:43 +00:00
Jonas Gorski 7865291832 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
2012-04-17 13:12:14 +00:00
Jonas Gorski afbf3d994e kernel: update linux 3.3 to 3.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:51:02 +00:00
Jonas Gorski 23578461a9 kernel: update linux 3.2 to 3.2.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:50:54 +00:00
Jo-Philipp Wich d52ae4d7d3 [imagebuilder] don't overwrite version.mk, substitute REVISION instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 09:31:16 +00:00
Felix Fietkau 8f9824ccf4 ath9k/ath5k: fix driver load issues with mesh support compiled out
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 00:05:41 +00:00
Felix Fietkau 6d6cf8ec3b iw: sync nl80211.h update with compat-wireless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 21:13:18 +00:00
Felix Fietkau e4f208ebf3 mac80211: update to wireless-testing 2012-04-13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 21:08:41 +00:00
Jo-Philipp Wich c47c2671d4 [tools] mklibs: revert r31315
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:35:45 +00:00
Jo-Philipp Wich 1452c74daf tools/mklibs: add missing <unistd.h> in readelf/elf.cpp
Fixes compile on my Arch Linux system, as unistd.h is needed for ::close().

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:11:32 +00:00
Jo-Philipp Wich adcde9f983 [geos] bump to Linux v3.3.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:04:47 +00:00
Jo-Philipp Wich d68e222240 Fix bufferbloat in PPPoATM TX queue
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:04:45 +00:00
Jo-Philipp Wich d6f68cb7ab Update ppp TX restart patch to avoid race condition
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:04:44 +00:00
Jo-Philipp Wich a3ce874ed1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:04:42 +00:00
John Crispin b9f03a5a14 [lantiq] adds 3.3 patches and files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 12:31:48 +00:00
Florian Fainelli b9a5bae5fb [kernel/2.6.32] backport missing platform data members for gpio-keys
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 12:09:15 +00:00
Florian Fainelli 28c078fca1 [kernel/2.6.32] backport a missing eeprom 93cx6 define for building rt2x00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 12:09:13 +00:00
Florian Fainelli d71a26b0b1 [package] sierra-directip: disable build with kernels older than 2.6.32 included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 11:38:38 +00:00