summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* [package] uhttpd: display errors in init script, code formatting changes, ↵jow2012-05-037-496/+535
| | | | | | bump package version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: added uhttpd.docrootjow2012-05-034-5/+13
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.jow2012-05-033-21/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd URL-codec bug fixes.jow2012-05-031-5/+11
| | | | | | | | | | | | | | | | | | | * 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/pptp: remove a stray bracketjuhosg2012-05-031-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix iptables abuse of kernel header files. Use exported headers instead.juhosg2012-05-031-4/+4
| | | | | | | | [juhosg: export xt_layer7.h for all kernel versions] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix pptp handling of routes to server.juhosg2012-05-032-14/+12
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add ppp-mod-pppol2tp subpackage to pppjuhosg2012-05-034-3/+36
| | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] openssl: update to 1.0.1bflorian2012-05-022-14/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configsjuhosg2012-05-011-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: move the interface fixup to the right placenbd2012-04-301-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: use config_load+fixup_interface instead of scan_interfaces to speed ↵nbd2012-04-301-1/+3
| | | | | | up startup time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files-network: add a fixup_interface function like with the netifd ↵nbd2012-04-301-19/+25
| | | | | | compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: use an init script instead of a legacy network proto handler (fixes ↵nbd2012-04-304-137/+100
| | | | | | #11276) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge a ar93xx ht40 performance fixnbd2012-04-301-0/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix station lookup issuesnbd2012-04-301-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: load lib80211 after cfg80211 (#11342)nbd2012-04-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: add module for the Pericom PT7C4338 RTC chipjuhosg2012-04-291-0/+14
| | | | | | Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: add i2c module support for Freescale MPC processorsjuhosg2012-04-291-1/+17
| | | | | | Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31524 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: add module for the Booke watchdogjuhosg2012-04-291-0/+18
| | | | | | Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix WDS AP authentication issues (#11261, #11318)nbd2012-04-292-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes address/route list handling issues ↵nbd2012-04-292-2/+3
| | | | | | and fixes dual-stack ppp route handling git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: update to 20120428, fixes some radius issues and wds ap mac address ↵nbd2012-04-2919-83/+94
| | | | | | issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: fix parsing the ipv6-{up,down}-script optionnbd2012-04-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: add missing break into switch case statement.hauke2012-04-281-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/*] remove special treatment when using glibc - support got droppedmirko2012-04-282-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/glibc*] purge support for glibc - use eglibc instead!mirko2012-04-282-6/+2
| | | | | | for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages/{e2fsprogs,util-linux,util-linux-ng}] update/rename those packagesmirko2012-04-287-326/+616
| | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix typo in 05_firstboot_skip script (#11359)florian2012-04-272-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix kmod-pcmcia-serial for 3.3+ kernelsflorian2012-04-271-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] kernel: fix packaging of 8250.ko with Linux 3.xjow2012-04-251-0/+8
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some more missing kernel config symbolsjogo2012-04-241-3/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] remove old acx driverflorian2012-04-248-531/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] acx-mac80211: update to 20122204florian2012-04-243-12/+16
| | | | | | Upstream commit id: 15bbffea git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update AP multicast fix to latest version submitted to linux-wireless@nbd2012-04-233-10/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] 6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range ↵jow2012-04-233-3/+11
| | | | | | (#11323) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] scanning kernel packages for targetsblogic2012-04-231-1/+1
| | | | | | | | | 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
* Revert "mac80211: add backport of the module_pci_driver macro"juhosg2012-04-221-21/+0
| | | | | | Erm, Hauke was faster. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add backport of the module_pci_driver macrojuhosg2012-04-221-0/+21
| | | | | | That is required by various PCI drivers. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add module_pci_driver to compathauke2012-04-221-0/+22
| | | | | | | | | 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
* netifd: improve error handling in legacy script compatibility library, do ↵nbd2012-04-211-3/+3
| | | | | | 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
* base-files: rename internal variables in config_foreach to make namespace ↵nbd2012-04-211-4/+4
| | | | | | conflicts more unlikely git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: make type a local variable in /lib/network/config.sh to avoid ↵nbd2012-04-211-1/+1
| | | | | | clashes with an internal config_foreach variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: suppress 3-address multicast frames on WDS APs without non-WDS ↵nbd2012-04-213-2/+76
| | | | | | stations git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge a tkip related stability fixnbd2012-04-212-3/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/firewall] minor change: adjust formatting of firewall.configmirko2012-04-211-13/+13
| | | | | | | - 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
* [package] e2fsprogs: fix status reaping with fsck piped to logger, based on ↵jow2012-04-202-1/+4
| | | | | | patch by Lukasz Golec-Biernat <mojedokumenty+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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