Commit Graph

7200 Commits (f67a7a479ec33350bbb6d75303d5bb417269a9f1)

Author SHA1 Message Date
Jo-Philipp Wich ab6e2e6928 base-files: ipcalc.sh: fix broken calculations on 64bit systems
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.

SVN-Revision: 34875
12 years ago
Steven Barth 970adc9eb9 ipv6-support: Fix default RA settings for dnsmasq
SVN-Revision: 34873
12 years ago
Felix Fietkau a1e2b2ebe8 busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)
SVN-Revision: 34872
12 years ago
Felix Fietkau 9801f4687f opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
SVN-Revision: 34869
12 years ago
Felix Fietkau 7ed89e8542 dropbear: convert init script to procd
SVN-Revision: 34867
12 years ago
Felix Fietkau bbc6694d98 base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
SVN-Revision: 34866
12 years ago
Felix Fietkau 6061734323 procd: add initial implementation
procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.

SVN-Revision: 34865
12 years ago
Felix Fietkau b0c855253b libnl-tiny: add includedir to pkg-config cflags
SVN-Revision: 34864
12 years ago
Felix Fietkau 82bd58c793 dropbear: use network_get_device instead of scan_interfaces to get the device name
SVN-Revision: 34863
12 years ago
Steven Barth a4e656ef24 ipv6-support: Preliminary support for dnsmasq >=2.66
SVN-Revision: 34858
12 years ago
Steven Barth 2dbfffef68 6relayd: Fix detection of prefix changes
SVN-Revision: 34857
12 years ago
Steven Barth f36c3067c6 odhcp6c: Fix build on arch where char is unsigned
SVN-Revision: 34856
12 years ago
Steven Barth 970c5d97fe 6distributed: Improve prefix deprecation algorithm
SVN-Revision: 34855
12 years ago
Gabor Juhos fcf65bdee3 package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34844
12 years ago
John Crispin 6531546751 add OF binding
SVN-Revision: 34834
12 years ago
John Crispin bac5ef2a2f adsl firmware in wrong submenu
SVN-Revision: 34819
12 years ago
John Crispin 9a134fb7c0 minor cleanup for adsl firmware handling
SVN-Revision: 34818
12 years ago
John Crispin 346a8e5878 properly symlink the adsl firmware
SVN-Revision: 34817
12 years ago
Mirko Vogt 4cca5cd4fd hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade
Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

SVN-Revision: 34815
12 years ago
Luka Perkov 65efd09b78 base-files: we don't need /etc/functions.sh symlink anymore
SVN-Revision: 34802
12 years ago
Mirko Vogt 4d4b2d3ced merge /lib/functions/boot.sh and /lib/functions.sh
SVN-Revision: 34794
12 years ago
Mirko Vogt 439a869090 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792
12 years ago
Mirko Vogt ec9ce7e089 change prefix for util-linux binaries from / to /usr
The prefix / causes executables like mount, umount, etc. to be placed
in /bin /sbin which therewith replace the busybox symlinks.
mount and umount e.g. are linked again libmount.so.

This is e.g. fatal during a sysupgrade, where /bin/mount,
/bin/umount, etc. but not libmount.so get copied into a ramdisk
which will result in non working executables within the ramdisk.

SVN-Revision: 34791
12 years ago
Jo-Philipp Wich 50983767b3 block-mount: add a delay between sto pand start in fstab init restart action, fixes a lock race condition observed in VirtualBox
SVN-Revision: 34784
12 years ago
John Crispin 3b79fe662a ltq-hcd usb fix high speed hub mode
Simple update for USB api changes.

Signed-off-by: Conor O'Gorman <i@conorogorman.net>

SVN-Revision: 34770
12 years ago
Gabor Juhos 149b1c46c7 ipset: update to 6.16.1 to fix build with kernel 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34752
12 years ago
Gabor Juhos ae97cc7d0f kernel: fix module names for crypto modules in 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34751
12 years ago
Felix Fietkau b9d314aee9 libubox: fix a jshn array sequence counter bug, fixes some network.sh issues
SVN-Revision: 34746
12 years ago
Felix Fietkau bf34eeaea4 netifd: update to latest version, fixes interface error reporting for shell proto handlers
SVN-Revision: 34741
12 years ago
Felix Fietkau ba2286296e ncurses: fix build error in libncursesw
SVN-Revision: 34739
12 years ago
Felix Fietkau e1e00aed52 sierra-directip: delete, replaced by upstream drivers
SVN-Revision: 34738
12 years ago
Felix Fietkau 14281559e1 netifd: update to latest version, no longer needs the removed jshn_append() shell function
SVN-Revision: 34734
12 years ago
Jo-Philipp Wich 3339316fbe base-files: use json_is_a() in network.sh
SVN-Revision: 34733
12 years ago
Jo-Philipp Wich e0ad41ead8 libubox: update to latest git head, introduces jshn json_is_a() helper
SVN-Revision: 34732
12 years ago
Jo-Philipp Wich 17acf9bf27 base-files: rework cache handling in network.sh to keep the entire parsed ifstatus, use jshn namespaces to support using it concurrently with other jshn users
SVN-Revision: 34725
12 years ago
Felix Fietkau 1536f2be63 libubox: another jshn update, fixes array handling issues
SVN-Revision: 34723
12 years ago
Jo-Philipp Wich 1600ba99e4 base-files: various enhancements to network.sh
- support reading inactive gateways and DNS information in
	  network_get_gateway(), network_get_dnsserver() and network_get_dnssearch()
	  by passing "true" as optional last argument
	- internally cache fetched values to speed up subsequent accesses to the same
	  data, introduce network_flush_cache() to clear them
	- add some inline function documentation

SVN-Revision: 34722
12 years ago
Felix Fietkau 595b48be55 libubox: fix some jshn variable handling regressions
SVN-Revision: 34720
12 years ago
Felix Fietkau a7877699f7 libubox: update to latest version, adds jshn namespace support
SVN-Revision: 34718
12 years ago
Felix Fietkau 056d75049d wpa_supplicant.sh: always use parameters from the current section
Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 34716
12 years ago
John Crispin e9c0b95829 fixes uapi helper define
SVN-Revision: 34715
12 years ago
Felix Fietkau b9d1bdb374 kernel: add a module for ipv6 gre
SVN-Revision: 34709
12 years ago
Felix Fietkau fba5be2dc5 ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support
SVN-Revision: 34705
12 years ago
Felix Fietkau 860c2e8116 netifd: call /etc/udhcp.user from the netifd dhcp.script
This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 34704
12 years ago
John Crispin 66daf1ef61 allow to load only 1 usb port on AR9 / VR9
SVN-Revision: 34700
12 years ago
John Crispin baae9d16e9 move voice packages
SVN-Revision: 34695
12 years ago
John Crispin 06c9170a7c move ltq-adsl-tool
SVN-Revision: 34694
12 years ago
John Crispin 1d0a9d0c04 move ltq-adsl
SVN-Revision: 34693
12 years ago
John Crispin c2738a9559 move ltq-ifxos
SVN-Revision: 34692
12 years ago
John Crispin 9b429a123d add ltq-ptm
SVN-Revision: 34690
12 years ago