Commit Graph

6340 Commits

Author SHA1 Message Date
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