Commit graph

93 commits

Author SHA1 Message Date
John Crispin
41775e7486 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>

SVN-Revision: 42298
2014-08-26 08:39:55 +00:00
John Crispin
2ae05c57f8 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>

SVN-Revision: 42278
2014-08-25 06:35:50 +00:00
John Crispin
406d53c697 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>

SVN-Revision: 42195
2014-08-18 13:10:08 +00:00
Felix Fietkau
c02cfdb46d robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41959
2014-08-03 10:45:39 +00:00
John Crispin
08a03debd9 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>

SVN-Revision: 41929
2014-08-01 09:37:49 +00:00
John Crispin
79fa8dfa1d usbmode: update to latest git and also update the device database
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41761
2014-07-19 16:57:09 +00:00
Luka Perkov
9dd205b2ad busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41415
2014-06-30 10:11:18 +00:00
Felix Fietkau
b3b55de395 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>

SVN-Revision: 41411
2014-06-30 08:19:48 +00:00
Felix Fietkau
20de772cea px5g-standalone: disable long long to fix compiler errors on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41375
2014-06-29 11:03:46 +00:00
John Crispin
a51588a5f9 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>

SVN-Revision: 41355
2014-06-27 07:55:03 +00:00
Jo-Philipp Wich
1d94972925 jsonfilter: implement custom separators and support limiting the results, fix handling of negative array indices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41280
2014-06-19 15:30:59 +00:00
Jo-Philipp Wich
766643c79e 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>

SVN-Revision: 41266
2014-06-19 07:56:24 +00:00
Jo-Philipp Wich
a5ca7a3dd9 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>

SVN-Revision: 41258
2014-06-18 10:10:30 +00:00
Jo-Philipp Wich
1599e6f601 ubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlib
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41192
2014-06-15 19:34:51 +00:00
John Crispin
7d306dd9f0 ubi-utils: cleanup the package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41124
2014-06-11 12:59:30 +00:00
Felix Fietkau
d73f553b0b ubi-utils: fix musl compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41060
2014-06-09 13:47:52 +00:00
Felix Fietkau
29dffbbab4 util-linux: use qsort instead of qsort_r to fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41059
2014-06-09 13:47:48 +00:00
Felix Fietkau
422ee45253 xfsprogs: fix compile errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41058
2014-06-09 13:47:44 +00:00
John Crispin
b757deecad 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>

SVN-Revision: 41033
2014-06-06 09:34:47 +00:00
John Crispin
e847b236bc 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>

SVN-Revision: 40930
2014-06-02 12:44:27 +00:00
Steven Barth
8f8dc0959c busybox: remove redundant 6rd-patch
SVN-Revision: 40882
2014-05-29 21:50:32 +00:00
Steven Barth
50b663de47 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>

SVN-Revision: 40878
2014-05-29 10:35:34 +00:00
Felix Fietkau
6c6faf5f37 busybox: add back missing crond config change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40853
2014-05-25 17:45:22 +00:00
Felix Fietkau
f4f553efa7 busybox: update to 1.22.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40852
2014-05-25 17:42:09 +00:00
Felix Fietkau
a54791f2ba busybox: remove obsolete httpd patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40851
2014-05-25 17:42:02 +00:00
Felix Fietkau
63f69d0bb9 busybox: remove obsolete insmod patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40850
2014-05-25 17:41:59 +00:00
Felix Fietkau
7a13084797 busybox: drop a udhcpc patch that has been superseded by upstream changes a long time ago
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40849
2014-05-25 17:41:55 +00:00
Felix Fietkau
c1187357dc busybox: remove obsolete init patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40848
2014-05-25 17:41:52 +00:00
Felix Fietkau
5e341d0d0d busybox: use a config option instead of a patch to select the cron directory
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40847
2014-05-25 17:41:48 +00:00
Luka Perkov
4fc0484982 ubi-utils: fix typo
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40751
2014-05-11 22:42:10 +00:00
John Crispin
b507549ba5 ubi-utils: fix git tree path, a regex went mad
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40382
2014-04-05 16:34:30 +00:00
John Crispin
08b4924401 ubi-utils: mini version of mtd-utils that only includes ubi tools
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40367
2014-04-03 14:26:42 +00:00
John Crispin
1fdf13a9e1 util-linux: add missing dependency
https://dev.openwrt.org/ticket/15417

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

SVN-Revision: 40331
2014-03-30 13:00:50 +00:00
John Crispin
1966d4942c 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>

SVN-Revision: 40327
2014-03-30 09:16:47 +00:00
John Crispin
89ecc2fdad util-linux: backport upstream fix for unshare utility
the unshare utility wasn't getting certain defines for mount
anymore.

SVN-Revision: 40302
2014-03-30 09:15:03 +00:00
Felix Fietkau
d99f9ac093 usbmode: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40027
2014-03-26 16:08:06 +00:00
Felix Fietkau
f7d087c4aa jsonpath: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40026
2014-03-26 16:08:02 +00:00
Luka Perkov
bf98d81259 util-linux: update to 2.24.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40010
2014-03-24 00:19:44 +00:00
Felix Fietkau
eb225996ee px5g: rename the old package to px5g-standalone, add a new one that links against polarssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40000
2014-03-21 15:55:23 +00:00
Felix Fietkau
dc7ecef0be busybox: remove obsolete brctl linux 2.4 compat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39987
2014-03-21 15:54:34 +00:00
Felix Fietkau
a66d9b7907 busybox: remove obsolete awk include() patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39986
2014-03-21 15:54:30 +00:00
Felix Fietkau
33ae9569a4 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>

SVN-Revision: 39968
2014-03-20 14:14:30 +00:00
Felix Fietkau
f960a1fdb0 busybox: fix processing of multiple NTP servers in the config (#15294)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39935
2014-03-17 14:52:18 +00:00
Jo-Philipp Wich
97c59cea1f usbreset: fix possible access to uninitialized variable (#15041)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 39738
2014-02-23 23:42:12 +00:00
Jo-Philipp Wich
520a42f3c5 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>

SVN-Revision: 39440
2014-01-31 19:15:14 +00:00
Felix Fietkau
cc7b3e2465 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>

SVN-Revision: 39435
2014-01-31 13:50:16 +00:00
Jo-Philipp Wich
c85705ce8d busybox: fix dependency on librpc (#14636)
SVN-Revision: 39434
2014-01-31 12:28:29 +00:00
John Crispin
63a4342568 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>

SVN-Revision: 39317
2014-01-17 21:45:55 +00:00
Florian Fainelli
c104e863d3 busybox: enable the devmem applet
The devmem applet allows poking at HW registers and as such is a
valuable tool to have to avoid recompiling kernels or resorting to
external HW adapters to modify HW behavior.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39285
2014-01-14 05:24:09 +00:00
Jo-Philipp Wich
6dcf878864 jsonpath: make output in non-export mode more shell friendly
SVN-Revision: 39211
2014-01-08 22:01:55 +00:00