Commit Graph

162 Commits (b810acd44b7b458ae62a3cbf4cf418a7db78e1e7)

Author SHA1 Message Date
Nicolas Thill 40a946028d fuse: fix exec environment for mount and umount
* add upstream patch (CVE-2015-3202)
 * refresh patches
 * bump release number

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-24 17:56:26 +00:00
John Crispin 30f5079389 fuse: fix build on arm64
error:
../include/fuse_kernel.h:93:15: error: conflicting types for 'int64_t'
../include/fuse_kernel.h:92:15: error: conflicting types for 'uint64_t'

reported by buildbot

fix by adopting upstream patch:
http://git.baserock.org/cgi-bin/cgit.cgi/delta/fuse.git/commit/include/fuse_kernel.h?id=914871b20a901e3e1e981c92bc42b1c93b7ab81b

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:29:31 +00:00
Rafał Miłecki 659029f434 Revert "nvram: increase NVRAM size to 64 KiB"
This reverts commit ff84c27a281bc19df19bc62ee8688cca5586f6e3.
This tool has really broken size handling (many values hardcoded), it
crashes right now in case of NVRAM not filling whole MTD partition.

Conflicts:
	package/utils/nvram/src/nvram.h

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-24 15:38:38 +00:00
Rafał Miłecki 388ae4d9d1 nvram: fix regression in finding NVRAM beginning
The loop was giving up too early as it never expected NVRAM smaller
than 0x10000.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-24 14:28:57 +00:00
Rafał Miłecki d025f9b0e3 nvram: increase NVRAM size to 64 KiB
For years Broadcom devices use 64 KiB NVRAM partition size and some of
them indeed have it filled in more than 50%. This change allows handling
whole NVRAM e.g. on Netgear WNDR4500 and Netgear R8000.

The same fix was applied to kernel in upstream commit 6ab7c29.

Reported-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-22 19:07:24 +00:00
Rafał Miłecki 41b471d235 nvram: refuse to open NVRAM for writing if it's too big to be handled
Otherwise writing anything will result in loosing data.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-22 19:07:19 +00:00
Rafał Miłecki 41ba634460 nvram: drop check for WGT634U using /proc/diag/model
We don't have broadcom-diag for months or years now and the correct
solution is to simply don't have "nvram" partition on WGT634U anyway.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-22 19:07:12 +00:00
Rafał Miłecki 0ad2cd008c nvram: use correct variable name for MTD partition size
Sytax of /proc/mtd is following:
dev:    size   erasesize  name
which means that sscanf "mtd%d: %08x" reads size, not erasesize.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-22 19:07:06 +00:00
Rafał Miłecki f73ca80b8c nvram: drop support for ancient /dev/mtdblock/%d
Path /dev/mtdblock%d is used for years now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-22 19:06:58 +00:00
Felix Fietkau 48b6e80b66 lua: link library with -Bsymbolic-functions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-19 18:33:13 +00:00
Felix Fietkau c1bf2d22df busybox: fix an ash regression in handling local variables
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-17 00:01:29 +00:00
Rafał Miłecki 9f3b827af2 otrx: support for creating simple TRX files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 20:50:53 +00:00
Rafał Miłecki 0d8a721eb1 otrx: change command line API to start with a mode
This will allow adding more modes without options conflict.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 20:50:46 +00:00
Rafał Miłecki e470997e7c otrx: use %zd to fix printf format warnings
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 16:16:11 +00:00
Rafał Miłecki e87605ee99 otrx: check TRX length read from header to avoid Segmentation fault
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 12:18:57 +00:00
Rafał Miłecki 023d3337d8 otrx: include byteswap.h to fix compilation with musl
Fixes #19470

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 11:10:14 +00:00
Rafał Miłecki 99ad5c9c91 otrx: support for extracting partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 11:46:11 +00:00
Felix Fietkau 41e98ffca4 busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 19:34:45 +00:00
Felix Fietkau 1a8f907d2d busybox: fix regression in handling non-existant find path arguments (#19439)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 08:02:33 +00:00
Rafał Miłecki 9b112b4e00 otrx: new package with tiny app verifying TRX images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 05:21:55 +00:00
Felix Fietkau 71f35a88e4 busybox: update to version 1.23.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-04 17:52:02 +00:00
Nicolas Thill 0992961460 e2fsprogs: add conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:12 +00:00
Nicolas Thill fe74dfa5fd ugps: add conffiles section, fix config file perms
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:00 +00:00
John Crispin 7880d249b0 usbmode: update data files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:36:58 +00:00
Felix Fietkau d71861b48e px5g-standalone: change PKG_NAME to avoid directory conflict with px5g
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 06:03:02 +00:00
Felix Fietkau 3a2f9d51aa fbtest: remove bogus #include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:28:29 +00:00
Felix Fietkau 9a0c50fc90 e2fsprogs: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 02:16:21 +00:00
Felix Fietkau c5456d0cca fuse: add missing include lines, fixes musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 10:19:18 +00:00
Felix Fietkau 38fb760f42 e2fsprogs: update to the latest version, fixes musl build failure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 10:19:10 +00:00
John Crispin 4ac1d379b6 lua: fix eglibc reference
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 10:58:52 +00:00
Nicolas Thill e1836b6578 [cosmetic] util-linux: replace spaces with tabs
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 12:37:33 +00:00
Nicolas Thill d951b2beb1 packages: more (e)glibc fixes after r44701
_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 12:32:22 +00:00
Felix Fietkau 9c49dc02eb toolchain: remove leftovers from old llvm-gcc experiments
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 12:03:01 +00:00
John Crispin c5c4f4131b BusyBox: Netcat 1.10 compatibility require server option
Netcat 1.10 compatibility require server options

1.10 compatibility without server option
produce error "NO OPT l!" and completely not function

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:56 +00:00
John Crispin a00f7e5cb5 busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:23 +00:00
Nicolas Thill e71534f3c5 util-linux: fix pkgconfig files
Upstream choose to not rely on configure.ac and recursively expand paths in pkgconfig files at make time,
leading to absolute /usr/include & /usr/lib in there... And we don't want that when cross-compiling...

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-09 02:02:50 +00:00
Nicolas Thill 8d60a52b88 packages: remove uneeded PKG_BUILD_DIR overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 01:31:21 +00:00
Nicolas Thill df38033647 util-linux: disable rpath
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:01 +00:00
Jo-Philipp Wich bfe1d210b6 busybox: fix build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:32:17 +00:00
Jo-Philipp Wich 61a9131702 util-linux: only enable curses support if required
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-01 13:11:17 +00:00
Jo-Philipp Wich a5fe570c02 fix subject in generated certificates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:33:49 +00:00
Nicolas Thill f420d6a5fa fuse: update to 2.9.3
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 22:15:03 +00:00
Felix Fietkau daa9422c5d e2fsprogs: bump release
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:33 +00:00
Felix Fietkau 9657c45d0f e2fsprogs: package dumpe2fs, e2freefrag, filefrag, debugfs
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:26 +00:00
Felix Fietkau a18cd1f1cf e2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:20 +00:00
Steven Barth 2aff2f335b util-linux: fix packaging issues
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 10:11:28 +00:00
Felix Fietkau 0a6a5169d8 ubi-utils: add mirror md5sum
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-22 14:32:41 +00:00
Felix Fietkau 82493810d6 nvram: remove libnvram.so, it is unused and incompatible to the broadcom API anyway
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 23:58:35 +00:00
Jo-Philipp Wich 9e70c445b6 busybox: include config files relative to the main Config.in (#18522)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 12:33:34 +00:00
John Crispin c53e189dfb packages: fix typo in OpenWrt name
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 16:53:30 +00:00