Rafał Miłecki
1e6643ff15
otrx: optimize memory usage by function checking TRX CRC
...
Allocating huge buffer for the whole TRX wasn't too optimal.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46078
10 years ago
Rafał Miłecki
c13dede6b1
otrx: make crc32 table global for further optimizations
...
So far we got only one generic function accessing this table, but
implementing optimizations will require calculating crc32 in other code
parts as well.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46077
10 years ago
Steven Barth
feeea1cd28
lua: honor LDFLAGS
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46036
10 years ago
Felix Fietkau
b7b855f9eb
bzip2: import package from packages.git
...
bzip2 is required by elfutils, itself required by perf. So we'll move
this package from packages.git and make it part of the core
distribution.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45968
10 years ago
Nicolas Thill
fa8cea1e33
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>
SVN-Revision: 45744
10 years ago
John Crispin
1cfe6b6847
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>
SVN-Revision: 45740
10 years ago
Rafał Miłecki
63bb07b28c
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>
SVN-Revision: 45579
10 years ago
Rafał Miłecki
97a0e165a6
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>
SVN-Revision: 45578
10 years ago
Rafał Miłecki
7e3272f422
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>
SVN-Revision: 45566
10 years ago
Rafał Miłecki
3931288caa
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>
SVN-Revision: 45565
10 years ago
Rafał Miłecki
d94fb398f6
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>
SVN-Revision: 45564
10 years ago
Rafał Miłecki
0c4c05f0e7
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>
SVN-Revision: 45563
10 years ago
Rafał Miłecki
615fef1ab8
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>
SVN-Revision: 45562
10 years ago
Felix Fietkau
5199a23165
lua: link library with -Bsymbolic-functions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45509
10 years ago
Felix Fietkau
0d031aecdf
busybox: fix an ash regression in handling local variables
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45471
10 years ago
Rafał Miłecki
8b1b857948
otrx: support for creating simple TRX files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45444
10 years ago
Rafał Miłecki
3cb8bf44e6
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>
SVN-Revision: 45443
10 years ago
Rafał Miłecki
0bd2710512
otrx: use %zd to fix printf format warnings
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45436
10 years ago
Rafał Miłecki
834e60c4f1
otrx: check TRX length read from header to avoid Segmentation fault
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45433
10 years ago
Rafał Miłecki
cd4fd05648
otrx: include byteswap.h to fix compilation with musl
...
Fixes #19470
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45430
10 years ago
Rafał Miłecki
ab6462dd56
otrx: support for extracting partitions
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45390
10 years ago
Felix Fietkau
2de97cbfea
busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45384
10 years ago
Felix Fietkau
c99d9afff3
busybox: fix regression in handling non-existant find path arguments ( #19439 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45321
10 years ago
Rafał Miłecki
71e6325ab8
otrx: new package with tiny app verifying TRX images
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45315
10 years ago
Felix Fietkau
c31df6e995
busybox: update to version 1.23.2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45272
10 years ago
Nicolas Thill
1fe3836fbc
e2fsprogs: add conffiles section
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45242
10 years ago
Nicolas Thill
275df67b6c
ugps: add conffiles section, fix config file perms
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45240
10 years ago
John Crispin
04da950450
usbmode: update data files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45219
10 years ago
Felix Fietkau
0b0315a1f2
px5g-standalone: change PKG_NAME to avoid directory conflict with px5g
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45126
10 years ago
Felix Fietkau
4cca061066
fbtest: remove bogus #include
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45106
10 years ago
Felix Fietkau
7c29c15073
e2fsprogs: enable parallel build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45101
10 years ago
Felix Fietkau
5441f56685
fuse: add missing include lines, fixes musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45076
10 years ago
Felix Fietkau
262ebee943
e2fsprogs: update to the latest version, fixes musl build failure
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45075
10 years ago
John Crispin
b1e19ee445
lua: fix eglibc reference
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45013
10 years ago
Nicolas Thill
a96fe7d228
util-linux: replace spaces with tabs
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44938
10 years ago
Nicolas Thill
81ff0511df
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>
SVN-Revision: 44843
10 years ago
Felix Fietkau
808c460250
toolchain: remove leftovers from old llvm-gcc experiments
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44783
10 years ago
John Crispin
45c34eec46
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>
SVN-Revision: 44746
10 years ago
John Crispin
eff1859f8e
busybox: Minor fix for glibc 2.21 compatibility
...
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
SVN-Revision: 44700
10 years ago
Nicolas Thill
ba887275ca
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>
SVN-Revision: 44627
10 years ago
Nicolas Thill
4b8ebb5d50
packages: remove uneeded PKG_BUILD_DIR overrides
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44498
10 years ago
Nicolas Thill
afccff9f33
util-linux: disable rpath
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44395
10 years ago
Jo-Philipp Wich
5f65074523
busybox: fix build on FreeBSD 10.1
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44284
10 years ago
Jo-Philipp Wich
119b90759b
util-linux: only enable curses support if required
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44236
10 years ago
Jo-Philipp Wich
542b6c30e5
fix subject in generated certificates
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44149
10 years ago
Nicolas Thill
a46965888a
fuse: update to 2.9.3
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43941
10 years ago
Felix Fietkau
ee41729e64
e2fsprogs: bump release
...
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43849
10 years ago
Felix Fietkau
a0489c884e
e2fsprogs: package dumpe2fs, e2freefrag, filefrag, debugfs
...
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43848
10 years ago
Felix Fietkau
c0611b45a9
e2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs
...
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43847
10 years ago
Steven Barth
84f49d3597
util-linux: fix packaging issues
...
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
SVN-Revision: 43828
10 years ago