Commit Graph

8849 Commits (3257875e1b49e9f62c687bcb826f2b8f633c0441)

Author SHA1 Message Date
Felix Fietkau 4ba2f1496d libubox: update to 2012-05-26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 02:55:50 +00:00
Jo-Philipp Wich 672c216c63 [package] iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 00:52:26 +00:00
Jo-Philipp Wich 6e9f473afa [package] uhttpd:
- rewrite large parts of the server, use uloop event driven structure
	- support concurrent requests and make the upper limit configurable
	- implement initial version of HTTP-to-ubus JSON proxy and session.* namespace
	- add compile time support for debug information
	- code style changes
	- bump package revision

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 00:52:24 +00:00
Felix Fietkau aba80d0d04 kernel: remove more unnecessary kernel version checks/dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:22:13 +00:00
Felix Fietkau cb7839b1f6 kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 12:33:55 +00:00
Felix Fietkau 1c0a92e465 netifd: fix "Command failed: Not found" error with dhcp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 20:36:49 +00:00
Felix Fietkau 59d9fc66ff mac80211: backport a fix for single-queue drivers (fixes #11534)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 20:15:28 +00:00
Felix Fietkau e3f923fe15 ncurses: libncursesw should not depend on libncurses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 18:03:56 +00:00
Felix Fietkau ff8b246052 ppp: add back ip-{up,down}.d support for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 15:31:54 +00:00
Felix Fietkau 9b1ec4fc2f mac80211: get rid of duplicate iw reg set command (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 14:56:04 +00:00
Felix Fietkau 7a93d981a0 netifd: update to latest version, fixes an endian issue in broadcast address handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-25 07:59:29 +00:00
Felix Fietkau eec43d487e netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 18:45:01 +00:00
Felix Fietkau 4bf5594f9b netifd: bring up wifi at boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 16:24:55 +00:00
Jo-Philipp Wich 5de1b14ed2 [package] util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 09:17:27 +00:00
Felix Fietkau 010cd3161d base-files: kill ubusd and udhcpc on sysupgrade as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:54:12 +00:00
Felix Fietkau c136759736 base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:49:31 +00:00
Felix Fietkau 836884a70b netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:49:28 +00:00
Jo-Philipp Wich 75b8054bbb [package] netifd: port r27720 (#9763) to the netifd ifup variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:26:20 +00:00
Gabor Juhos 0e9d604ef7 package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:20 +00:00
Felix Fietkau e4a0f5e8e3 netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 20:38:45 +00:00
Felix Fietkau 192dbdd2f5 lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 21:58:03 +00:00
Felix Fietkau ab127b7e11 kernel: fix kmod-sched-core build for kernels without codel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 21:57:58 +00:00
Felix Fietkau a40c21d99a pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 14:02:05 +00:00
Felix Fietkau 4f25173ae3 netifd: update to latest version, fixes dns server issues (#11501)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 13:56:25 +00:00
Felix Fietkau 3a4dcd90bc netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 23:47:33 +00:00
Jo-Philipp Wich 2b42d9a454 [package] kernel: fix packaging of act_connmark.ko (#11492)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 23:33:47 +00:00
Jo-Philipp Wich f16b4efcf3 [package] openssl: update to v1.0.1c (CVE-2012-2333)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 21:00:14 +00:00
Jo-Philipp Wich 3ff6da1788 [package] dnsmasq: bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:57 +00:00
Jo-Philipp Wich 97178bb007 dnsmasq: allow forcing options
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.

This is useful for forcing options to be sent back to a client (even options it didn't ask for).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:56 +00:00
Jo-Philipp Wich 1d7469404c dnsmasq: add support for set: and tag: pairs
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.

For example:

config host
	option name 'client'
	option mac '00:01:02:03:04:05'
	option ip '192.168.1.20'
	option tag 'acme'

config tag acme
	option force '1'
	list dhcp_option 'option:router,192.168.1.253'
	list dhcp_option 'option:domain-name,acme.com'
	list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'

which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.

this causes the following config lines:

dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com

This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:54 +00:00
Jo-Philipp Wich 474b508fd6 [package] dnsmasq: fix parsing of mx record options (#11365)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:19 +00:00
Felix Fietkau 8712ef2867 netifd: update to latest version, fixes a crash on restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 21:59:23 +00:00
Felix Fietkau 6561a3c4ea ubus: update to latest version, fixes a socket race condition in the client library with uloop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:36:02 +00:00
Gabor Juhos a5c66329a0 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:33 +00:00
Gabor Juhos a06bfceffa package/ep80579-drivers: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:28 +00:00
Felix Fietkau 4c4ba94809 kernel: add et131x from packages/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 19:03:35 +00:00
Felix Fietkau 488d927554 kernel: split off act_connmark into a separate package to avoid cluttering kmod-sched with a netfilter dependency (fixes #11483)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 18:36:36 +00:00
Hauke Mehrtens 0a65c8f341 mac80211: add brcmfmac driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:43:04 +00:00
Felix Fietkau 95757184a0 kernel: remove obsolete dependencies and conditionals
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:17 +00:00
Felix Fietkau bf2796c599 kernel: remove the dummy kmod-rtc-core-* package, make all rtc drivers depend on @RTC_SUPPORT - prevent RTC support from leaking into kernels for targets that do not need this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:13 +00:00
Felix Fietkau 20c32c30e0 kernel: remove kmod-gpio-cs5535, it was only relevant for old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:06 +00:00
Felix Fietkau d25930c39b kernel: remove obsolete CompareKernelPatchVer calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:02 +00:00
Hauke Mehrtens 4a2b705ce7 mac80211: brcmsmac update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:24:47 +00:00
Hauke Mehrtens f9cfc0fd4a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:22:38 +00:00
Felix Fietkau 95f5d95c62 6to4: load the network config to fix radvd announce (#11467)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:42:05 +00:00
Felix Fietkau 90e78ad475 tc: depend on kmod-sched-core instead of kmod-sched (fixes #11465)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:36:00 +00:00
Felix Fietkau 5cc05317be 6in4: remove some obsolete functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:35:56 +00:00
Felix Fietkau aa8f34d86b libubox: fix jshn handling of variables with numbers (fixes #11468)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:35:52 +00:00
Felix Fietkau d71b07eaa7 qos-scripts: use kmod-sched-core instead of kmod-sched
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:23 +00:00
Felix Fietkau 24e5083747 kernel: split kmod-sched into kmod-sched-core and kmod-sched
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:19 +00:00
Felix Fietkau 8ad528bf27 qos-scripts: replace sfq/red with fq_codel - massively improves latency under load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:16 +00:00
Felix Fietkau 1c8e5d5942 iproute2: update to 3.3.0, drop a few useless old patches, add codel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:12 +00:00
Felix Fietkau eab3f3adaa kernel: add codel and fq_codel support to kmod-sched (patch by Dave Täht)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:08 +00:00
Jo-Philipp Wich 9d66c5c342 [package] firewall: rework interface address determination to skip ipv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 13:37:49 +00:00
Jo-Philipp Wich 8eb607235e [package] firewall: fix nat reflection after netifd switch (#11460)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 13:03:54 +00:00
Felix Fietkau da082ac8d1 libubox: update to latest version, fixes handling of numbers in jshn variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 08:45:24 +00:00
Felix Fietkau c3312ba02d netifd: bring up all interfaces on /etc/init.d/network restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:50:59 +00:00
Felix Fietkau 94b38ec0fd enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
Felix Fietkau 4c693d4929 netifd: use the new json_get_vars function in the dhcp helper script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:27 +00:00
Felix Fietkau 8788174df8 ppp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:24 +00:00
Felix Fietkau f7ce72379d pptp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:20 +00:00
Felix Fietkau 6b0f54f030 pptp: use resolveip, schedule restart if dns lookups fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:16 +00:00
Felix Fietkau 30b6d0f199 netifd: update to 2012-05-14, fixes a file descriptor leak, fixes a use-after-free on host dependencies, adds a command for scheduling proto-shell restarts and adds support for more address options (point to point, broadcast)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:13 +00:00
Felix Fietkau c4269df82a pptp: drop the dependency on ip if netifd is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:09 +00:00
Felix Fietkau 80d100f031 libubox: update to latest version, adds a new function in jshn.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:06 +00:00
Felix Fietkau 8f99bd9b98 relayd: fix return code check for resolving network->ifname mapping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 14:08:43 +00:00
Gabor Juhos ea83f75b32 package/e2fsprogs: disable building of internal lib{blkid,uuid}
Also remove an empty patch.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:20:17 +00:00
Gabor Juhos 81cac38a8e package/util-linux: install development files
Also remove trailing whitespaces from the Makefile.

Based on a patch by M. Braun.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:20:15 +00:00
Felix Fietkau 6c1cdabe51 ath9k: fix ar9330 internal regulator setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:41:05 +00:00
Felix Fietkau 2b8c75f0c1 ath9k: update initvals for ar9330 to fix issues with high power designs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:59 +00:00
Felix Fietkau a8d08175a9 ath9k: fix a rare use-after-free bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:53 +00:00
Felix Fietkau db771744d5 ath9k: stop rx before tx, should reduce the frequency of "Failed to stop Tx DMA" errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:47 +00:00
Felix Fietkau f70f922c56 remove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a module anyway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-11 22:08:06 +00:00
Gabor Juhos e8e568c7bf package/kernel: add package for the ADT7473/7475/7476/7490 sensors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:36 +00:00
Gabor Juhos 738d601117 package/kernel: add package for the LM85 sensor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:34 +00:00
Gabor Juhos 3ceade616b package/kernel: move hwmon-vid into a separate package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:33 +00:00
Jo-Philipp Wich ddfe3736b2 [package] ppp: remove stray bracked in ppp-up script, thanks swalker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 22:41:41 +00:00
Jonas Gorski 32e3956d54 base-files: wait for wifi modules to settle
On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.

This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:25:42 +00:00
Felix Fietkau c7667e1b88 pptp: fix installation path for netifd proto handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:19:04 +00:00
Hauke Mehrtens 9897c49803 kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:43:17 +00:00
Hauke Mehrtens 800e2f8345 kernel: remove kmod-usb-serial-airprime
This was removed from kernel 2.6.27


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:40:54 +00:00
Hauke Mehrtens a0a2ff9d7f kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

The last commit (r31631) has the wrong message, kmod-usb-phidget was removed in kernel 2.6.30.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:40:19 +00:00
Hauke Mehrtens d961b62b26 kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:37:08 +00:00
Hauke Mehrtens 6df2e61263 kernel: add video-videobuf2
This should fix #11349 and #11142


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:35:54 +00:00
Hauke Mehrtens 706068bb82 kernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
This module is available on all supported kernel versions


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:34:55 +00:00
Hauke Mehrtens 6ac2f0d119 kernel: add kmod-video-gspca-konica and remove kmod-video-konica
kmod-video-konica was removed from kernel 2.6.38 and is now replaced by kmod-video-gspca-konica


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:34:00 +00:00
Hauke Mehrtens 94ff11d318 kernel: remove kmod-video-ov511 and kmod-video-ovcamchip
These two modules where removed from kernel with kernel version 2.6.36, use kmod-video-gspca-ov519 instead.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:33:17 +00:00
Felix Fietkau 9dec26a0ec ubus: update to latest version, add LUAPATH to cmake options - fixes #11398
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 08:27:40 +00:00
Jo-Philipp Wich 0d28fe709f [package] ubus: update to current git, package up libubus-lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 20:47:38 +00:00
Gabor Juhos aafbc3e734 package/ar7-atm: allow to build on 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:33 +00:00
Gabor Juhos e61881d040 package/ar7-atm: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:29 +00:00
Felix Fietkau 9698031bec pptp: kill the call manager process on shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:42 +00:00
Felix Fietkau b8a49d3b90 pptp: add netifd support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:28 +00:00
Felix Fietkau 9f5b2e9447 pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:24 +00:00
Felix Fietkau 2ca268790c netifd: update to latest version, adds support for host route dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:20 +00:00
Felix Fietkau 3d253cd67e pptp: compile with the openwrt cflags instead of -O0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:06:33 +00:00
Imre Kaloz 6eb5a5d106 [mac80211]: switch to the new linux-firmware git tree, use the new wl12xx firmware files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 21:50:41 +00:00
Jo-Philipp Wich c84a22dde3 [package] uhttpd: display errors in init script, code formatting changes, bump package version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:22 +00:00
Jo-Philipp Wich adae4ff72c uhttpd: added uhttpd.docroot
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
2012-05-03 17:19:20 +00:00
Jo-Philipp Wich 5d7a3d6461 Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.
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
2012-05-03 17:19:18 +00:00
Jo-Philipp Wich 9151869423 uhttpd URL-codec bug fixes.
* 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
2012-05-03 17:19:16 +00:00
Gabor Juhos ccd44980d6 package/pptp: remove a stray bracket
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 13:29:36 +00:00
Gabor Juhos 7f4625bd8c Fix iptables abuse of kernel header files. Use exported headers instead.
[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
2012-05-03 09:43:10 +00:00
Gabor Juhos 59ba22536d Fix pptp handling of routes to server.
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
2012-05-03 09:39:01 +00:00
Gabor Juhos 5901da9cc8 Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:38:58 +00:00
Florian Fainelli 3b665de29a [package] openssl: update to 1.0.1b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 15:40:32 +00:00
Gabor Juhos 0be01c2456 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 08:00:25 +00:00
Felix Fietkau 280b7f6d6b relayd: move the interface fixup to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:27:12 +00:00
Felix Fietkau c6da372ed8 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:24:00 +00:00
Felix Fietkau 3744d1583a base-files-network: add a fixup_interface function like with the netifd 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
2012-04-30 18:23:56 +00:00
Felix Fietkau 3dfaa342eb relayd: use an init script instead of a legacy network proto handler (fixes #11276)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:23:52 +00:00
Felix Fietkau db5b2b03af ath9k: merge a ar93xx ht40 performance fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:20:34 +00:00
Felix Fietkau cf2a7761a9 mac80211: fix station lookup issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 07:57:09 +00:00
Felix Fietkau fba1fa5929 mac80211: load lib80211 after cfg80211 (#11342)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 21:00:17 +00:00
Gabor Juhos 7c56aea1c1 package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:23 +00:00
Gabor Juhos e0c81fe733 package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:21 +00:00
Gabor Juhos ec96b19306 package/kernel: add module for the Booke watchdog
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
2012-04-29 15:00:37 +00:00
Felix Fietkau 08132839a5 mac80211: fix WDS AP authentication issues (#11261, #11318)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 13:47:37 +00:00
Felix Fietkau db240e6428 netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 12:20:10 +00:00
Felix Fietkau 3a4ea627ce hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 11:14:53 +00:00
Felix Fietkau c634ed2aea pppd: fix parsing the ipv6-{up,down}-script option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 10:08:33 +00:00
Hauke Mehrtens 49c6fd7f27 broadcom-diag: add missing break into switch case statement.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 23:30:05 +00:00
Mirko Vogt 893dfb7551 [package/*] remove special treatment when using glibc - support got dropped
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:16 +00:00
Mirko Vogt 3b19d53edd [toolchain/glibc*] purge support for glibc - use eglibc instead!
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
2012-04-28 22:24:12 +00:00
Mirko Vogt d0d93794e9 [packages/{e2fsprogs,util-linux,util-linux-ng}] update/rename those packages
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
2012-04-28 19:54:54 +00:00
Florian Fainelli f5d51997d8 [package] base-files: fix typo in 05_firstboot_skip script (#11359)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 16:49:16 +00:00
Florian Fainelli 3e5fc26843 [package] fix kmod-pcmcia-serial for 3.3+ kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 16:44:44 +00:00
Jo-Philipp Wich 69822a8368 [package] kernel: fix packaging of 8250.ko with Linux 3.x
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
2012-04-25 13:43:15 +00:00
Jonas Gorski 4c00516bd2 kernel: add some more missing kernel config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:32 +00:00
Florian Fainelli 373c746ac6 [package] remove old acx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 08:05:49 +00:00
Florian Fainelli f5f6fa3b0b [package] acx-mac80211: update to 20122204
Upstream commit id: 15bbffea

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 08:05:46 +00:00
Felix Fietkau 8d1ee718be mac80211: update AP multicast fix to latest version submitted to linux-wireless@
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 17:29:29 +00:00
Jo-Philipp Wich 8a96a23596 [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
2012-04-23 10:12:00 +00:00
John Crispin 665becd550 [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
2012-04-23 09:37:50 +00:00
Gabor Juhos e4086f6388 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
2012-04-22 11:39:49 +00:00
Gabor Juhos 85461533fe 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
2012-04-22 11:37:22 +00:00
Hauke Mehrtens 4651cd3f93 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
2012-04-22 11:36:35 +00:00
Felix Fietkau f387b5deb8 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
2012-04-21 20:34:48 +00:00
Felix Fietkau d8d2b5d324 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
2012-04-21 20:34:45 +00:00
Felix Fietkau fe7e861b06 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
2012-04-21 20:34:41 +00:00
Felix Fietkau e95852bfa9 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
2012-04-21 20:34:38 +00:00
Felix Fietkau 1bc606c536 ath9k: merge a tkip related stability fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 20:34:33 +00:00
Mirko Vogt eb2128eaa6 [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
2012-04-21 19:42:28 +00:00
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
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
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
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
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 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
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
Travis Kemen 6c07afd38f disable xfs on avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-15 16:22:59 +00:00
Jo-Philipp Wich 2859566094 [package] base-files: reformat banner to better work with varying version 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
2012-04-15 15:21:55 +00:00
Hauke Mehrtens 5af062a0e0 kernel: update bcma and ssb to version master-2012-04-12 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 19:35:40 +00:00
Hauke Mehrtens 53e32542e1 mac80211: add missing dependency to mac80211 to brcmsmac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 18:37:46 +00:00
Jo-Philipp Wich ba61fdbb24 [package] base-file: cleanup white space in Kconfig source
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 23:01:39 +00:00
Felix Fietkau c40ba881d5 ath9k: fix sleep mode handling issues, should improve client mode reliability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 21:28:18 +00:00
Jo-Philipp Wich 5d7e7f9fe4 [buildroot] 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")


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 17:31:16 +00:00
Felix Fietkau d9eb068d97 netifd: update to 2012-04-12, fixes interface reconnect issues and improves interface status info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 13:58:07 +00:00
Jo-Philipp Wich b8a67c67b0 [package] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 09:43:44 +00:00
John Crispin 1e75d38943 [ltq-dsl-app] fix bad variable name inside Makefile
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
2012-04-10 15:20:23 +00:00
Jonas Gorski a0bbe7df3b kernel: add some more additional missing config symbols for 3.2 and 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:46 +00:00
Jo-Philipp Wich e54496d9a2 [package] libpcap: explicitely disable libnl support to prevent different build results depending on the environment (#11239)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-08 15:11:12 +00:00
Jo-Philipp Wich 72df1edd65 [package] util-linux(-ng): revert r31183, r31178 - the update introduced several regressions which need to be worked out first
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 12:00:20 +00:00
Jo-Philipp Wich b0aaa47be0 [package] grub: fix build with automake v1.11.3 (#11228)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 18:10:15 +00:00
Jo-Philipp Wich 3a3d331976 [package] util-linux: prevent packaging libtool placeholder scripts (#11224)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 11:40:08 +00:00
Jo-Philipp Wich 258ae14fcc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 22:31:21 +00:00
Florian Fainelli 7b2cc3d636 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:51 +00:00
Florian Fainelli 7f11e0b7b6 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:48 +00:00
Florian Fainelli b60c538b11 [package] crda: update to 1.1.2
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:40 +00:00
Jo-Philipp Wich 981370cdb4 [package] libnl-tiny: port upstream bugfix 8ee16e6688657886f591f0841cb8e892743ecf2a from libnl, fixes error on hostapd interface initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 05:32:32 +00:00
Travis Kemen 384eee1817 revert bad change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 02:53:06 +00:00
Travis Kemen 90da4784b8 Disable xfs on avr32, it has been failing the build for at least a month
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 01:45:18 +00:00
Felix Fietkau 259387bece mac80211: kmod-ath should not depend on PCI or USB support for the atheros target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-30 10:12:53 +00:00
Florian Fainelli 82da3153ec [package] xfsprogs: update download location
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 17:09:50 +00:00
Felix Fietkau 5b15d418b9 wpa_supplicant: make key_mgmt default to NONE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 16:30:13 +00:00
Felix Fietkau 159ee54e58 hostapd: fix driver_madwifi compile issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 12:52:32 +00:00
Felix Fietkau 1ec4507cb8 madwifi: fix compile issues with linux 3.1/3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 12:52:16 +00:00
Jo-Philipp Wich 7984ff9588 [package] mac80211: allow NOHT for IBSS mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 12:24:43 +00:00
John Crispin ad229c4b83 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 09:01:33 +00:00
Jonas Gorski dfd52d43ca package: kernel: add missing config symbols for serial-8250
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 21:55:15 +00:00
Felix Fietkau da626c9676 netifd: update to latest version, fixes a segfault with non-bridge interface hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 16:58:39 +00:00
Felix Fietkau 3152e42713 add trelay, a trivial ethernet relay which allows pseudo-bridging ad-hoc or client mode devices over vlans to other hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 11:02:38 +00:00
Felix Fietkau 9c33285967 uci: update to latest version, fixes return code of the cli on various failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 11:02:30 +00:00
Gabor Juhos d946336b61 package/kernel: create packages for the LED Timer/Default ON triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:58 +00:00
Gabor Juhos 475b212867 package/kernel: allow to build RTC modules for 3.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:57 +00:00
Felix Fietkau 1f172be279 mac80211: add hostapd socket option to wpa_supplicant for IBSS RSN as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:52:39 +00:00
Felix Fietkau 460e07bad9 wpa_supplicant: fix regressions introduced by the ibss-rsn changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:38:08 +00:00
Felix Fietkau a7d4b59608 wpa_supplicant: add CONFIG_IBSS_RSN=y compilation option
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:29:51 +00:00
Felix Fietkau 3405a9bc22 wpa_supplicant: modify wpa_supplicant.sh in order to support IBSS-RSN/WPA-NONE
Based on patch by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:29:41 +00:00
Felix Fietkau edba77a97d ath9k: make endian check optional
Turns out it triggers on some AR71xx devices where no swapping should be done.
Enable endian check for the lantiq target.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:21:53 +00:00
Felix Fietkau 732fb298d4 mac80211: modify mac80211.sh to in order to support IBSS-RSN
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:21:46 +00:00
Felix Fietkau 0954e0c07d madwifi: modify madwifi.sh to support IBSS WPA-NONE
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:21:39 +00:00
Felix Fietkau 699baacf38 wpa_supplicant: use wext driver for hostap and madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 10:44:26 +00:00
Felix Fietkau 3ad1877dd2 hostapd: update to 20120326
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 10:42:47 +00:00
Felix Fietkau 1ef62d9b86 netifd: update to 2012-03-23, fixes route/address tracking issues and adds more status info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-26 14:30:19 +00:00
John Crispin a5f3317b0b [mac80211] fixes #31068, rename 999-ath9k.patch to 501-ath9k-eeprom_endianess.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 09:07:09 +00:00
John Crispin 05505f206f [pjsip] Pulse dialing support into pjsip.
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:51:16 +00:00
John Crispin 5b7d34454e [uboot-lantiq] adds ARV4519PW/ARV7519PW
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:51:13 +00:00
John Crispin bd7b80f43c [mac80211] adds eeprom endianess check to ath9k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:51:08 +00:00
John Crispin 2ba198be62 [mac80211] adds ath5k platfrom_device eep support
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:56 +00:00
John Crispin e0e64cdd9b [ltq-dsl] unbreak dsl firmware loading
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:45 +00:00
John Crispin e1efd040ac [ltq-dsl] fix for 3.2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:42 +00:00
Jo-Philipp Wich b8c0d088cf [package] dnsmasq: add missing config_get, localize variables, bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-23 11:26:47 +00:00
Jo-Philipp Wich be9f571e9a dnsmasq: add mx record support
Adding the following syntax support:

config mxhost
	option domain mydomain.com
	option relay svr10.ironport.com
	option pref 50

and this will generate an MX record for mydomain.com pointing at the relay with a given preference.

Redux: default the preference to 0 if absent.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-23 11:19:58 +00:00
Jo-Philipp Wich 6a9ca25f30 dnsmasq: add keywords for SRV RR class/weight
The SRV record also requires the class and weight fields... Currently you can overload the "port" keyword as:

	option port xxxx,class,weight

but this is counter-intuitive. Here we fix this.

Redux: make the port required.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-23 11:19:56 +00:00
Jo-Philipp Wich e7de53b9bf [package] iwinfo: properly cast nl80211 mBm signal levels to reported dBm values (#11161)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-21 19:47:16 +00:00
Jo-Philipp Wich 5315ac4198 [package] block-mount: add missing chunk of previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-21 02:29:47 +00:00
Jo-Philipp Wich de9604fc41 [package] block-mount: invoke blkid without cache file, this seems to fix mounts by uuid or label
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-21 02:29:26 +00:00
Felix Fietkau b64a2fe1e9 base-files: split service related functions off to /lib/functions/service.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 14:29:50 +00:00
Felix Fietkau f33b5960c7 pppd: split files into netifd and non-netifd files, move the netifd ppp.sh file to the pppd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 13:09:27 +00:00
Jo-Philipp Wich d573506eb1 [package] kernel: add kmod-acpi-button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 23:48:38 +00:00
Felix Fietkau 8634e64038 6in4: add netifd support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:10:04 +00:00
Felix Fietkau b2bd2e8cd5 netifd: update to latest version, fixes log buffer handling issues, dns issues and various sit tunnel related issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:10:00 +00:00
Felix Fietkau db29e25b58 6to4: fix interface error handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:09:57 +00:00
Felix Fietkau 9b7e775c56 netifd: scan l3 devices on find_config()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:09:54 +00:00
Felix Fietkau c133369698 netifd: shut down all interfaces before restarting netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:09:51 +00:00
Jo-Philipp Wich cb448f44a6 [package] kernel: add missing AddDepends calls for kmod-usb-serial-qualcomm and kmod-ata-sis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 20:28:49 +00:00
Felix Fietkau 17f9a8bedf madwifi: remove my maintainer line from the package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:29:01 +00:00
Jo-Philipp Wich baa56db3f2 [package] firewall: revert processing order of redirects and rules, ensures that rules can be used to filter before redirects are reached
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 23:34:06 +00:00
Jo-Philipp Wich 8504f0a83c ps3-utils git repository fix
The PKG_SOURCE_URL should be

git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-utils.git

rather then

http://www.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-utils.git

or else you will get a fatal error "did you run git update-server-info
on the server?"

Signed-off-by: Nicola Squartini <tensor5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 21:08:39 +00:00
Jo-Philipp Wich 15206c5ae0 Add support for the 8250 UART module.
It has been added at the end of other.mk as i couldn't find a better place
for it.

Signed-off-by: Christian Gagneraud <chris@techworks.ie>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:49:22 +00:00
Jo-Philipp Wich 63d119db16 Fix the title and the description of the kmod for DS2433.
This kmod has been certainly added by copy/paste but the title and
description were not updated. Fix that.
The DS2433 is a 1 wire 4kb eeprom with CRC capability.

Signed-off-by: Christian Gagneraud <chris@techworks.ie>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:49:21 +00:00
Jo-Philipp Wich 8a9191f654 Adds a kmod for the DS2431
The DS2431 is a 1 wire 1kb eeprom.

Signed-off-by: Christian Gagneraud <chris@techworks.ie>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:49:19 +00:00
Jo-Philipp Wich a57ceb91f7 This patch adds a kmod in hwmon for the SHT21 sensor (I2C temperature and humidity sensor)
Signed-off-by: Christian Gagneraud <chris@techworks.ie>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:49:17 +00:00
Jo-Philipp Wich ffe645738e busybox 1.19.4 update patch
This patch updates busybox to 1.19.4 and refreshes all patches.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:46:52 +00:00
Jo-Philipp Wich ec4bcec062 openssl 1.0.1 update patch
This patch updates openssl to 1.0.1 and refreshes all patches.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:46:01 +00:00
Jo-Philipp Wich 13e24e7ed3 Add munin to /etc/services
The muninlite postinst fails to add munin to /etc/services.

This patch removes this broken postinst and add an entry for munin in
/etc/services. This should have been done when the rest of the
/etc/services postinsts were being removed (changesets 26142-26149).

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:41:57 +00:00
Jo-Philipp Wich f189539103 [package] kernel: add kmod-usb-net-ipheth (#10157)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 19:02:28 +00:00
Jo-Philipp Wich cf3ecd76e9 [package] kernel: add kmod-usb-serial-qualcomm (#8283)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 18:49:38 +00:00
Jo-Philipp Wich b95e2d04f1 [package] kernel: add kmod-ata-sis (#8259)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 18:44:30 +00:00
Jo-Philipp Wich 38a6243e7b [package] kernel: small correction of menuconfig title for kmod-video-gspca-ov534-9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 18:37:08 +00:00
Jo-Philipp Wich b4368439bb [package] kernel: add kmod-video-gspca-ov534-9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 18:14:10 +00:00
Felix Fietkau 32d68c35e1 mac80211: reduce cpu load by optimizing aggregation session timeout handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 22:34:58 +00:00
Jens Muecke e7f98abcc2 Update xfsprogs to 3.1.4 to 3.1.7
Changelog at http://xfs.org/index.php/XFS_Status_Updates



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 21:30:31 +00:00
Felix Fietkau 75a6d71c82 ath9k: remove the queue wake optimization, it may be unreliable in some cases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 22:22:34 +00:00
Felix Fietkau 0c3354cc2e 6to4: set the tunnel remote endpoint to any, put the gateway in the route instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 11:01:50 +00:00
Felix Fietkau 864d2b9aee 6to4: add netifd support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:49:33 +00:00
Felix Fietkau fe29d066d5 netifd: fix ipv6 issues, add sit tunnel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:49:29 +00:00
Felix Fietkau e6721f01b5 netifd: implement find_config()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:49:26 +00:00
Jo-Philipp Wich bcb7eb6b52 openssl 1.0.0h update patch
Hi

this patch updates openssl to 1.0.0h and refreshes all patches.
This fixes CVE-2012-0884.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 22:09:48 +00:00
Jo-Philipp Wich 8693b9821b [package] firewall: fix fw__uci_state_del() procedure (#11132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 21:22:13 +00:00
Jo-Philipp Wich 24f8f16390 [package] switch: the hardware must be up while configuring
Since the removal of the interface coldplug hack the timing changed in such a way that eth0 is not up during switch setup,
leading to an inaccesible device. Bring up the switch interface before configuring it to mitigate the problem.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 21:15:41 +00:00
Jo-Philipp Wich 5f4d8411d3 [package] uhttpd: reorder compiler flags to fix native build on Ubuntu 11.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 20:41:31 +00:00