summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* enable ntpd server for busyboxjow2012-04-202-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [package] gpio-button-hotplug: don't build on 2.6.30florian2012-04-201-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] button-hotplug: prevent build on 2.6.30florian2012-04-201-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] xfsprogs: disable po files buildingflorian2012-04-201-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx ↵nbd2012-04-1920-543/+241
| | | | | | power fix git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] openssl: update to v1.0.1a (CVE-2012-2110)jow2012-04-192-2/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: move ppp-{up,down} from the netifd package to pppdnbd2012-04-173-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest, fixes ppp reconnect issuesnbd2012-04-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k/ath5k: fix driver load issues with mesh support compiled outnbd2012-04-175-26/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: sync nl80211.h update with compat-wirelessnbd2012-04-161-7/+214
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2012-04-13nbd2012-04-1674-2549/+1296
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: Add hotplug script to add slave devices to TEQL masterjow2012-04-162-1/+26
| | | | | | | | 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
* [package] sierra-directip: disable build with kernels older than 2.6.32 includedflorian2012-04-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable xfs on avr32thepeople2012-04-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: reformat banner to better work with varying version ↵jow2012-04-153-4/+6
| | | | | | string lengths, do not set image options if menu is disabled (#11280) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to version master-2012-04-12 from wireless-testinghauke2012-04-132-13/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing dependency to mac80211 to brcmsmachauke2012-04-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-file: cleanup white space in Kconfig sourcejow2012-04-121-88/+88
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix sleep mode handling issues, should improve client mode reliabilitynbd2012-04-125-10/+40
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] include, base-files, opkg: introduce version configuration to ↵jow2012-04-127-7/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | 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") git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to 2012-04-12, fixes interface reconnect issues and improves ↵nbd2012-04-121-2/+2
| | | | | | interface status info git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove network preconfig, it collides with ar71xx ↵jow2012-04-121-5/+0
| | | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ltq-dsl-app] fix bad variable name inside Makefileblogic2012-04-101-2/+2
| | | | | | We use PKG_NAME and not PKB_BASE_NAME inside OpenWrt Makefiles git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some more additional missing config symbols for 3.2 and 3.3jogo2012-04-093-3/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] libpcap: explicitely disable libnl support to prevent different ↵jow2012-04-081-2/+3
| | | | | | build results depending on the environment (#11239) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] util-linux(-ng): revert r31183, r31178 - the update introduced ↵jow2012-04-052-75/+64
| | | | | | several regressions which need to be worked out first git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] grub: fix build with automake v1.11.3 (#11228)jow2012-04-041-0/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] util-linux: prevent packaging libtool placeholder scripts (#11224)jow2012-04-041-4/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: configure dnsmasq via flat config file and not command-line argsjow2012-04-021-54/+79
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31182 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] iproute2: update to 3.2.0 and package 'ss'florian2012-04-021-7/+17
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] util-linux: move and updateflorian2012-04-022-63/+72
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] crda: update to 1.1.2florian2012-04-022-4/+4
| | | | | | Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] libnl-tiny: port upstream bugfix ↵jow2012-04-012-3/+3
| | | | | | 8ee16e6688657886f591f0841cb8e892743ecf2a from libnl, fixes error on hostapd interface initialization git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert bad changethepeople2012-04-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Disable xfs on avr32, it has been failing the build for at least a monththepeople2012-04-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: kmod-ath should not depend on PCI or USB support for the atheros ↵nbd2012-03-301-1/+1
| | | | | | target git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] xfsprogs: update download locationflorian2012-03-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: make key_mgmt default to NONEnbd2012-03-291-4/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix driver_madwifi compile issuesnbd2012-03-291-18/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* madwifi: fix compile issues with linux 3.1/3.2nbd2012-03-293-1/+67
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: allow NOHT for IBSS modejow2012-03-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] soloscli: Add script to syslog ADSL line statsblogic2012-03-292-1/+21
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: kernel: add missing config symbols for serial-8250jogo2012-03-281-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes a segfault with non-bridge interface ↵nbd2012-03-281-2/+2
| | | | | | hotplug git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add trelay, a trivial ethernet relay which allows pseudo-bridging ad-hoc or ↵nbd2012-03-286-0/+365
| | | | | | client mode devices over vlans to other hosts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: update to latest version, fixes return code of the cli on various failuresnbd2012-03-281-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: create packages for the LED Timer/Default ON triggersjuhosg2012-03-271-0/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: allow to build RTC modules for 3.xjuhosg2012-03-272-6/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add hostapd socket option to wpa_supplicant for IBSS RSN as wellnbd2012-03-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: fix regressions introduced by the ibss-rsn changesnbd2012-03-271-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31087 3c298f89-4303-0410-b956-a3cf2f4a3e73