aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
Commit message (Collapse)AuthorAgeFilesLines
* busybox: remove validation message from bootupSteven Barth2014-10-021-1/+1
| | | | | | | | | | | | 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
* package: nvram: enable on bcm53xx targetHauke Mehrtens2014-09-131-1/+1
| | | | | | | | | | 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
* usbmode: update to latest gitJohn Crispin2014-08-262-2/+5
| | | | | | | | 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
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | 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
* busybox: Fix pam_start link errors when PAM support is enabledJohn Crispin2014-08-181-2/+8
| | | | | | | | | | 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
* robocfg: add missing includeFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ugps: add a minimal gps daemonJohn Crispin2014-08-013-0/+65
| | | | | | | | | * 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
* usbmode: update to latest git and also update the device databaseJohn Crispin2014-07-191-4/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41761 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix validation in sysntpd init scriptLuka Perkov2014-06-301-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packagesFelix Fietkau2014-06-303-0/+3
| | | | | | | | 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
* px5g-standalone: disable long long to fix compiler errors on mips64Felix Fietkau2014-06-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: use ntp enabled config optionJohn Crispin2014-06-272-4/+6
| | | | | | | | | 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
* jsonfilter: implement custom separators and support limiting the results, ↵Jo-Philipp Wich2014-06-191-1/+1
| | | | | | | | 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
* jsonfilter: improve error reportingJo-Philipp Wich2014-06-191-2/+2
| | | | | | | | | | | | 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
* jsonpath: rename to jsonfilter and rewrite from flex/bison to lemonJo-Philipp Wich2014-06-181-8/+9
| | | | | | | | | | | | 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
* ubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlibJo-Philipp Wich2014-06-151-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: cleanup the packageJohn Crispin2014-06-111-40/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: fix musl compile errorsFelix Fietkau2014-06-091-0/+30
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41060 3c298f89-4303-0410-b956-a3cf2f4a3e73
* util-linux: use qsort instead of qsort_r to fix compile error with muslFelix Fietkau2014-06-091-0/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xfsprogs: fix compile errors with muslFelix Fietkau2014-06-093-10/+78
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: bump to version 1.5.1 for ubiblock supportJohn Crispin2014-06-062-7/+8
| | | | | | | | | 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
* util-linux: Disable sulogin in util-linux packageJohn Crispin2014-06-021-0/+1
| | | | | | | | | | 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
* busybox: remove redundant 6rd-patchSteven Barth2014-05-291-18/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: udhcpc source IP rebind patchSteven Barth2014-05-291-0/+53
| | | | | | | | | | | | 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
* busybox: add back missing crond config changeFelix Fietkau2014-05-251-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: update to 1.22.1Felix Fietkau2014-05-2561-3076/+1068
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove obsolete httpd patchesFelix Fietkau2014-05-254-157/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove obsolete insmod patchesFelix Fietkau2014-05-252-170/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: drop a udhcpc patch that has been superseded by upstream changes a ↵Felix Fietkau2014-05-251-99/+0
| | | | | | | | 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
* busybox: remove obsolete init patchFelix Fietkau2014-05-251-15/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: use a config option instead of a patch to select the cron directoryFelix Fietkau2014-05-252-23/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ubi-utils: fix typoLuka Perkov2014-05-111-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: fix git tree path, a regex went madJohn Crispin2014-04-051-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40382 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: mini version of mtd-utils that only includes ubi toolsJohn Crispin2014-04-033-0/+5141
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* util-linux: add missing dependencyJohn Crispin2014-03-301-1/+1
| | | | | | | | 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
* busybox: backport dd conv=swab from 1.22John Crispin2014-03-301-0/+97
| | | | | | | | | | | | | | | | | | | | 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
* util-linux: backport upstream fix for unshare utilityJohn Crispin2014-03-301-0/+44
| | | | | | | 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
* usbmode: switch to http:// instead of git://Felix Fietkau2014-03-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* jsonpath: switch to http:// instead of git://Felix Fietkau2014-03-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] util-linux: update to 2.24.1Luka Perkov2014-03-245-110/+113
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* px5g: rename the old package to px5g-standalone, add a new one that links ↵Felix Fietkau2014-03-2121-3/+317
| | | | | | | | 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
* busybox: remove obsolete brctl linux 2.4 compat patchFelix Fietkau2014-03-211-74/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove obsolete awk include() patchFelix Fietkau2014-03-211-217/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix existing "export -n" in ashFelix Fietkau2014-03-201-2/+2
| | | | | | | | | | | | | | | | | | 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
* busybox: fix processing of multiple NTP servers in the config (#15294)Felix Fietkau2014-03-171-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* usbreset: fix possible access to uninitialized variable (#15041)Jo-Philipp Wich2014-02-232-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: Add help documentation in menuconfigJo-Philipp Wich2014-01-311-0/+8
| | | | | | | | 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
* busybox: add a reworked implementation of menuconfig support, this time with ↵Felix Fietkau2014-01-3131-895/+10807
| | | | | | | | 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
* busybox: fix dependency on librpc (#14636)Jo-Philipp Wich2014-01-311-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* usbmode: update usb-modeswitch-data version to 20131113John Crispin2014-01-171-3/+3
| | | | | | | | | 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