8023 Commits

Author SHA1 Message Date
Felix Fietkau
d624e7ea5d comgt: port 3g.sh to netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:29:00 +00:00
Felix Fietkau
4540abfbad ubus: update to latest version, fixes recursion issues in libubus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:46 +00:00
Felix Fietkau
774a74722d netifd: update, prefix proto handler callbacks with 'proto_'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:42 +00:00
Felix Fietkau
0095a6a47c netifd: remove obsolete _init callbacks, set available=1 for ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:37 +00:00
Felix Fietkau
52cd85e16f netifd: allow ppp based proto handlers to override the connect/disconnect script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:33 +00:00
Felix Fietkau
6e801ecad8 netifd: update to latest, adds support for protocol notifiers to signal interface availability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:28 +00:00
Jo-Philipp Wich
281468d9cd [package] firewall: do not produce 0.0.0.0/0 if a symbolic masq_src or masq_dest is given but does not resolve to an ip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 18:14:55 +00:00
Jo-Philipp Wich
1b7836ca8c [package] base-files: sysupgrade: kill all but essential processes before starting the update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 16:52:31 +00:00
Jo-Philipp Wich
356538e943 Add QoS firewall stop script generation
To prevent code duplication for clearing QoS firewall rules, support
"firewall stop" arguments to generate.sh to generate the necessary
script commands.  Make use of this from qos-stop.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 12:39:19 +00:00
Jo-Philipp Wich
3226c8fe51 Add qos_* iptables chain namespace for QoS
Prefix the names of the iptables chains used for QoS with "qos_" to
allow for identification of QoS chains for removal across configuration
changes.  When clearing QoS iptables chains, only remove chains with the
namespace prefix in order to preserve user and/or other package chains
in the mangle table.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 12:39:16 +00:00
Felix Fietkau
a2debb92b8 libubox: update to latest version, fixes issues with using the library from C++ code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 08:21:00 +00:00
Gabor Juhos
8c813ee59d base-files/sysupgrade: add more busybox applet symlinks to ramdisk
Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk.
Also make code more readable by escaping that overly long line.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 07:54:49 +00:00
Jo-Philipp Wich
eecefb6e0c [package] busybox: disable rdate, enable ntpd by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 00:23:16 +00:00
Jo-Philipp Wich
d7c90211df [package] base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system
The rdate applet proved to be too unreliable to obtain the current time on boot:
	- public time servers are rare and often unreachable or overloaded
	- rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions
	- the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations
	- the time protocol as specified in RFC 868 is considered obsolete
This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly.
The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or
by clearing the timeserver list in /etc/config/system.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 00:21:53 +00:00
Felix Fietkau
794228a96c netifd: if core dump support is enabled, use it. also add some delay after start to avoid race conditions with other init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 18:30:55 +00:00
Felix Fietkau
f43b8fa09d netifd: update to the latest version, contains small fixes for interface reloading and adds support for dependency handling of stacked devices like dsa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 18:30:49 +00:00
Jonas Gorski
e6d94ff464 package: mac80211: remove uses of $(LINUX_KMOD_SUFFIX)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:01:15 +00:00
Jonas Gorski
654e2c5945 package: kernel: remove last use of $(LINUX_KMOD_SUFFIX)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:01:11 +00:00
Nicolas Thill
547d1e7086 package/kernel: remove remaining uses of $(LINUX_KMOD_SUFFIX)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 11:33:59 +00:00
Nicolas Thill
a2f8409245 package/zlib: include zlib.pc (pkconfig)
Compiling zlib produces zlib.pc (pkgconfig), but it is not currently
installed in staging_dir/usr/lib/pkgconfig. If it was included other
packages depending on zlib could easier be compiled.

Signed-off-by: Espen Jürgensen <espenjurgensen@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 21:10:37 +00:00
Felix Fietkau
e28adb381c busybox: fix a compile error on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 13:03:18 +00:00
Jo-Philipp Wich
62fe878cfc [package] mac80211: allow building ath9k_htc without PCI support, based on patch by Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 11:25:51 +00:00
Gabor Juhos
215ab49ae2 package/u-boot-envtools: update to version 2011.06.
This updates uboot-envtools to the version which comes with U-Boot 2011.06.
The important novelity is that fw_setenv now supports batch processing, which
greatly improves sysupgrade of the ALL0258N as otherwise we would have to
overwrite uboot-env up to 8x in a single firmware upgrade.
Unfortunately, no newer version of the sources is available from Debian, so we
got to take it from the u-boot source which is kinda ugly...

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:24 +00:00
Nicolas Thill
1024de3331 package/ipset: move out to packages/net/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:35:02 +00:00
Nicolas Thill
22449062bd package/perf: move out to packages/devel/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:33:35 +00:00
Felix Fietkau
24ef6bdd7f netifd: update to latest version, fixes a crash on dhcp renew
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 18:52:24 +00:00
Jo-Philipp Wich
89640f5073 [package] relayd: update to git head 4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 17:05:00 +00:00
Nicolas Thill
2c9dc13a72 package/busybox: make PAM support depend on DEVEL (closes: #8002 & #8743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 08:18:33 +00:00
Nicolas Thill
9be2e59eae package/busybox: revert config defaults inadvertently changed in [28513] (thanks to Liu Yu Fei, Eric), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 07:39:53 +00:00
Felix Fietkau
3b0ad33ac2 netifd: update to latest version, fixes interface hotplugging issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:19 +00:00
Felix Fietkau
7b7b3c5a18 netifd: add two simple scripts for querying interface/device status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:14 +00:00
Felix Fietkau
952c79097e netifd: reload the network config on ifup -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:01 +00:00
Jo-Philipp Wich
3dfbfb9eeb [package] firewall: prevent ip6tables -t nat rules (#10265)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 12:25:57 +00:00
Jo-Philipp Wich
d9ac523b00 [package] firewall: fix another instance of unquoted "*"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 21:38:10 +00:00
Jo-Philipp Wich
091d0e2e9d [package] firewall: fix possible expansion of "*" when rules with "option src *" are processed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 20:11:25 +00:00
Jo-Philipp Wich
6ee2c2b79c [package] firewall: do not check for module availability, let iptables fail if a feature is not present (#7610)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 19:50:35 +00:00
Nicolas Thill
f70bce7ed9 [package] wrt55agv2-spidevs: fix build with recent kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 10:40:45 +00:00
Nicolas Thill
64873ac4e6 [package] kernel: add dependency on kmod-crypto-authenc to kmod-ipsec (closes: #7431)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 10:19:27 +00:00
Felix Fietkau
ed22194a3f netifd: add a dependency on jshn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 01:51:55 +00:00
Nicolas Thill
3af110207d [package] busybox: update to 1.19.2 (thanks to Peter Wagner)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 23:08:45 +00:00
Felix Fietkau
a2797eb1a8 uci: fix segfault on import of anonymous sections (#10204)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 20:50:23 +00:00
Felix Fietkau
ed497ae24f uci: update to latest version (includes several bugfixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 13:20:48 +00:00
Felix Fietkau
7f32515c4d netifd: add missing dependencies on libuci and libnl-tiny
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 12:42:57 +00:00
Felix Fietkau
9117bb10f7 add an initial (experimental) version of netifd, disabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 01:47:49 +00:00
Felix Fietkau
a1172f3c5d pppd: fix the exit code in case of authentication failure or other errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 01:34:12 +00:00
Felix Fietkau
4e958797f6 pppd: add a patch for overriding the path to /etc/ppp/ipv6-{up,down}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20 21:42:07 +00:00
Felix Fietkau
4bac6eb444 ubusd: add an init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20 15:01:12 +00:00
Felix Fietkau
7b8a53966a base-files: move network related scripts to a separate package to make the transition to netifd easier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20 15:01:06 +00:00
Travis Kemen
c0b0967f03 add cname section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20 12:12:26 +00:00
Jo-Philipp Wich
ddfa0c2dad [package] 6in4: sync with HE.net endpoint update changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-17 12:45:07 +00:00