Commit Graph

63 Commits (5ecc844892e9deef9540c778296574179ed27aa0)

Author SHA1 Message Date
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
Florian Fainelli 99fea7511f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:24:09 +00:00
Jo-Philipp Wich 6ea3026400 jsonpath: make output in non-export mode more shell friendly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-08 22:01:55 +00:00
Jo-Philipp Wich 3494713f4d Add jsonpath - a command line utility to extract values from JSON data using XPath-like expressions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-02 11:55:16 +00:00
Felix Fietkau 691e7028cf busybox: add back support for top-level menuconfig based config overrides (can be used by custom packages to alter the config)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 20:37:27 +00:00
Jo-Philipp Wich 58a22446f4 busybox: restore init scripts
Since the removal of the busybox menuconfig entries, the init scripts
for cron, telnet and ntp are not packaged anymore. Unconditionally
ship them from now on.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 17:17:00 +00:00
Felix Fietkau 7683592c57 busybox: disable module utils, kmodloader provides them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 15:59:25 +00:00
Felix Fietkau ff7ac2a2ce busybox: fix typo in Config.in (#14628)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 07:17:00 +00:00
Felix Fietkau 993a9de79a busybox: add support for config overrides via env/busybox-config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 19:27:35 +00:00
Felix Fietkau 39bb49bcf4 busybox: remove busybox menuconfig from top level menuconfig
This will help with avoiding bogus bug reports caused by stale configs
and bad cases of user tinkering :)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 19:09:57 +00:00
Felix Fietkau 6a75a79a66 usbmode: add an init script to switch devices that show up too early for the hotplug script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 16:43:15 +00:00
Jo-Philipp Wich 2a53dc4422 busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 11:28:40 +00:00
John Crispin 3b4cd0a50e base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:55 +00:00
Hauke Mehrtens 62686e2dcc xfsprogs: move to submenu Filesystem
move xfsprogs to the right submenu
e2fsprogs, btrfs-progs and other stuff is there already

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 16:14:58 +00:00
John Crispin fdb2563eb3 procd: fixup 2 wrong option types
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 11:07:24 +00:00
John Crispin a79f9a758e procd: convert services to the new validation api
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 10:49:41 +00:00
John Crispin 66600c3f59 util-linux: cleanup description for swap-utils
swapon/swapoff are no longer provided by swap-utils, so remove them from
the description as well.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:46:04 +00:00
John Crispin fe9e93481a busybox: don't enable swapon/swapoff by default
'swapon/swapoff' are now provided by 'block-mount'; enabling them by default in busybox is no longer required and adds unnecessary bloat.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:46:00 +00:00
Luka Perkov cebf051302 [package] fix various init scripts
Changes include:

* removing unused variables
* replacing spaces with tabs where appropriate
* more consistency with variable declarations

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 21:58:36 +00:00
John Crispin d330d9fac4 procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:30 +00:00
Jo-Philipp Wich 2099ed326c usbreset: rewrite to not rely on /proc/bus/usb anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-03 15:46:39 +00:00
Felix Fietkau 47e191b943 usbmode: update to latest version, includes fix from #14062
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-20 18:25:20 +00:00
Jo-Philipp Wich d8fdc29691 Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
This reverts commit f6b0be49ba0d8eee29e098cc057ced57e7a26dd4.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-16 09:29:31 +00:00
Jo-Philipp Wich 580caa7a53 busybox: rename ntp init script back to sysntpd (#13920)
Renaming the init script to ntp broke LuCI time sync functionality and collides with other ntp packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 12:40:24 +00:00
Luka Perkov e43af87f94 [package] e2fsprogs: update to 1.42.8 and add e4defrag
Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28 23:27:29 +00:00
Luka Perkov 3fdbe277fa [package] base-files/busybox: move ntpd init script from base-files to busybox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-17 22:24:45 +00:00
Felix Fietkau 7ed2d05b94 busybox: disable features marked as broken (#13782)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14 11:00:59 +00:00
John Crispin 55bf8ea96a busybox: convert crond init script to procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:30 +00:00
John Crispin 449861c4af busybox: convert telnet init script to procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11 17:00:26 +00:00
Felix Fietkau e7e1252ca2 xfsprogs: disable blkid support to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-06 14:49:04 +00:00
John Crispin 7b811a589c px5g: creates certificates that expire in the past
the attached patch fixes a bug of px5g when instructed to build
certificates that expire after 2038-01-19, caused a multiplication that
may overflow the "to" variable of type time_t

Attached patch checks if "to" precedes "from": if so sets "to" to its
maximum value. Pretty rude, but works well even if certificate is set to
expire in a century

Signed-off-by: Federico Fissore <federico@fissore.org>
Patchork: http://patchwork.openwrt.org/patch/3749/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:31:32 +00:00
Luka Perkov cc110bac9f [package] usbutils: upgrade to version 007
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-03 01:12:07 +00:00
Felix Fietkau bc59643080 busybox: disable the watchdog utility by default (procd handles watchdog devices)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 16:01:45 +00:00