Commit Graph

95 Commits (40935a16aae0b254b359065c43bbf1f7edda4b6b)

Author SHA1 Message Date
Steven Barth 2ab44b72d3 busybox: remove validation message from bootup
A message:
uinteger - 9 = true
is displayed during boot. This is the result of the validate_data
command checking the cron log level. As the output is not
interesting, only the result, filter...

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:33 +00:00
Hauke Mehrtens d2075d357e package: nvram: enable on bcm53xx target
It uses mtd, so doesn't require any special adjustments for new target.
It has been succesfully tested (reading, writing and commiting).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:28:18 +00:00
John Crispin 9fefa35525 usbmode: update to latest git
this adds support for a new mode MBIM that auto detects the bConfigurationValue.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 08:39:55 +00:00
John Crispin e723b7928a package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
	fire_command

	return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:50 +00:00
John Crispin 90b2348344 busybox: Fix pam_start link errors when PAM support is enabled
Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by
CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include:
login.c:(.text.login_main+0x122): undefined reference to `pam_start'

Signed-off-by: Stephen Parry <sgparry@mainscreen.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:08 +00:00
Felix Fietkau e37a22922f robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 10:45:39 +00:00
John Crispin 875e5f14ce ugps: add a minimal gps daemon
* set the system time/data
* "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 09:37:49 +00:00
John Crispin 41f2d4e268 usbmode: update to latest git and also update the device database
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 16:57:09 +00:00
Luka Perkov 69103ffd85 busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 10:11:18 +00:00
Felix Fietkau e59dd23a46 build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
The idea is to gradually fix the packages

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 08:19:48 +00:00
Felix Fietkau 279c81079b px5g-standalone: disable long long to fix compiler errors on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 11:03:46 +00:00
John Crispin 2c46cfb66b busybox: use ntp enabled config option
Even if enabled option is missing from ntp configuration we are still keeping
default behavior.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-27 07:55:03 +00:00
Jo-Philipp Wich 0c9999e010 jsonfilter: implement custom separators and support limiting the results, fix handling of negative array indices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 15:30:59 +00:00
Jo-Philipp Wich f282f01cd8 jsonfilter: improve error reporting
The CLI now describes expression errors more precisely, e.g.:

  Syntax error: Invalid escape sequence
  In expression @["foo\x"]
  Near here ----------^

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 07:56:24 +00:00
Jo-Philipp Wich a586bc77e7 jsonpath: rename to jsonfilter and rewrite from flex/bison to lemon
This commit renames the jsonpath binary to jsonfilter to avoid clashing with a Python
extension of the same name.

The utility itself has been rewritten to use SQLite3's lemon parser generator instead
of a flex/bison combination which results in a much smaller binary.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:10:30 +00:00
Jo-Philipp Wich a20868ab23 ubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlib
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-15 19:34:51 +00:00
John Crispin 26551e5b90 ubi-utils: cleanup the package
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:30 +00:00
Felix Fietkau 3dfa8a386c ubi-utils: fix musl compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:47:52 +00:00
Felix Fietkau 1874a9e3de util-linux: use qsort instead of qsort_r to fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:47:48 +00:00
Felix Fietkau 4ebb5e2268 xfsprogs: fix compile errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:47:44 +00:00
John Crispin a0ebf58d0e ubi-utils: bump to version 1.5.1 for ubiblock support
ubiblock allows creating and removing read-only block devices
on top of ubi volumes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:47 +00:00
John Crispin 998e5ae688 util-linux: Disable sulogin in util-linux package
The sulogin tool doesn't compile because it cannot find shadow.h. As the
tool is not available in openwrt it is now not selected during the build
process.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:27 +00:00
Steven Barth 6d92875c3b busybox: remove redundant 6rd-patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 21:50:32 +00:00
Steven Barth 139153ff6c busybox: udhcpc source IP rebind patch
Patch sets the source IP address of DHCP request messages during rebind to the IP address
assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior
to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with
the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release
messages.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 10:35:34 +00:00
Felix Fietkau 5f19577863 busybox: add back missing crond config change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:45:22 +00:00
Felix Fietkau 361e70a485 busybox: update to 1.22.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:42:09 +00:00
Felix Fietkau eca9f275a1 busybox: remove obsolete httpd patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:42:02 +00:00
Felix Fietkau 1d656c8a5a busybox: remove obsolete insmod patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:41:59 +00:00
Felix Fietkau 2d9942681c busybox: drop a udhcpc patch that has been superseded by upstream changes a long time ago
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:41:55 +00:00
Felix Fietkau f3a3d92624 busybox: remove obsolete init patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:41:52 +00:00
Felix Fietkau fd7222d17b busybox: use a config option instead of a patch to select the cron directory
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:41:48 +00:00
Luka Perkov 82112353f8 [package] ubi-utils: fix typo
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-11 22:42:10 +00:00
John Crispin 68bca634cc ubi-utils: fix git tree path, a regex went mad
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:30 +00:00
John Crispin 937a78b306 ubi-utils: mini version of mtd-utils that only includes ubi tools
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:42 +00:00
John Crispin 89302dbe5d util-linux: add missing dependency
https://dev.openwrt.org/ticket/15417

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 13:00:50 +00:00
John Crispin 9e97b6117e busybox: backport dd conv=swab from 1.22
Some boards have the WLAN EEPROM stored in flash in big-endian format,
whereas the driver requires the EEPROM in little-endian format. The
conv=swab option in dd is particularly useful in this case. This patch
backports this feature from busybox-1.22 based on the following commits:

commit    b941316ae5313be523b64f0a9151ee4decb2b35b dd: support conv=swab
commit    8395bd3f52f8ed46fa3ffc316b2d113afa748bae dd: fix example in a
comment. No code changes.
commit    5b9910f0a4a1b7976c46e6f849aaa263180e5521 dd: fail if swab is
attempted on odd-sized block
commit    0ff0b320a2dbb5e0b5fa245ffd9b2648d7026843 dd: code shrink

v2: include the commit messages from upstream

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:47 +00:00
John Crispin 11ed704f1f util-linux: backport upstream fix for unshare utility
the unshare utility wasn't getting certain defines for mount
anymore.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:03 +00:00
Felix Fietkau 49a4be3c49 usbmode: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 16:08:06 +00:00
Felix Fietkau 63a5d59197 jsonpath: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 16:08:02 +00:00
Luka Perkov 134c14dc9d [package] util-linux: update to 2.24.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-24 00:19:44 +00:00
Felix Fietkau d0448ca8ac px5g: rename the old package to px5g-standalone, add a new one that links against polarssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:23 +00:00
Felix Fietkau 0f0271626b busybox: remove obsolete brctl linux 2.4 compat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:34 +00:00
Felix Fietkau 92872e226a busybox: remove obsolete awk include() patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:30 +00:00
Felix Fietkau f310b20ac2 busybox: fix existing "export -n" in ash
Minor fix to existing patch which did not correctly implement -n support for the export command in ash. The VEXPORT flag of a variable was set in the first call to setvareq() and then remained set in the subsequent call, because the variable already existed in the environment.

Although /lib/functions.sh by default does not export variables (NO_EXPORT=1), this issue was leading to dirty environments.

Without this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1, 2

With this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1,

Signed-off-by: Christophe Lermytte <openwrt@lermytte.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 14:14:30 +00:00
Felix Fietkau 4f6bfc347b busybox: fix processing of multiple NTP servers in the config (#15294)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-17 14:52:18 +00:00
Jo-Philipp Wich b9e03b404d usbreset: fix possible access to uninitialized variable (#15041)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 23:42:12 +00:00
Jo-Philipp Wich aa16406072 busybox: Add help documentation in menuconfig
Explaining why you shouldn't be here, and about version tainting.

Signed-off-by: Karl Palsson <karlp@remake.is>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 19:15:14 +00:00
Felix Fietkau deae5957c9 busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 13:50:16 +00:00
Jo-Philipp Wich 004cf6a87c busybox: fix dependency on librpc (#14636)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 12:28:29 +00:00
John Crispin 9743a51ce5 usbmode: update usb-modeswitch-data version to 20131113
https://dev.openwrt.org/ticket/14762

Signed-off-by: Alif M. Ahmad <ama_alif@yahoo.co.id>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 21:45:55 +00:00