aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
Commit message (Collapse)AuthorAgeFilesLines
* robocfg: remove robocfgHauke Mehrtens2015-07-144-1251/+0
| | | | | | | | | | This controls the old Broadcom switch driver which was removed over a year ago, since then this is useless. Use swconfig instead it works with more (Broadcom) switches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46373
* admswconfig: fix compile with muslHauke Mehrtens2015-07-141-0/+11
| | | | | | | | | caddr_t is not defined everywhere any more, cast it the the real pointer type of ifr_data. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46371
* nvram: get rid of NVRAM_SPACERafał Miłecki2015-07-082-3/+2
| | | | | | | | Now we support NVRAM whatever its size is. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46262
* nvram: fix displayed info about NVRAM sizeRafał Miłecki2015-07-081-2/+2
| | | | | | | | Use actual partition size and content offset to calculate it. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46260
* Revert "Revert "nvram: increase NVRAM size to 64 KiB""Rafał Miłecki2015-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit r45579. With the latest change r46251 ("nvram: fix "Segmentation fault" caused by setting memory out of buffer") nvram utility shouldn't crash anymore. It was tested on 3 brcm47xx devices: 1) Unknown with 0x10000 NVRAM size (0x8000 offset) 2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset) 3) Linksys WRT300N V1 with 0x10000 (0x8000 offset) And 3 bcm53xx devices: 1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size 2) Buffalo WZR-1750DHP with 0x10000 NVRAM size 3) Netgear R6250 V1 with 0x180000 NVRAM size (all using 0 offset) This is an important change as it allows reading whole NVRAM. This may critical when reading some basic configuration (e.g. switch ports). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46253
* nvram: fix "Segmentation fault" caused by setting memory out of bufferRafał Miłecki2015-07-071-2/+2
| | | | | | | | | | | | | Some MTD partitions with NVRAM have content starting in the middle. In such case offset is set and nvram_header returns pointer to the middle. It means we have to respect offset when calculating remaining space. By the way use real MTD partition size (nvram_part_size variable) as we may want to bump NVRAM_SPACE in the (very near) future. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46251
* Revert "px5g-standalone: compatibility with fortify-headers"Steven Barth2015-06-241-1/+1
| | | | | | This reverts commit 0c912eec6d95805d30133f34165a1c4e7cbb4bec. SVN-Revision: 46121
* px5g-standalone: compatibility with fortify-headersSteven Barth2015-06-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46118
* otrx: add extra compilation check before using __BYTE_ORDERRafał Miłecki2015-06-221-0/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46106
* otrx: include endian.h to make __BYTE_ORDER work with muslRafał Miłecki2015-06-221-0/+1
| | | | | | | | | | | | Without this the condition if __BYTE_ORDER == __BIG_ENDIAN was always true. Thanks Szabolcs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46105
* otrx: optimize memory usage by function checking TRX CRCRafał Miłecki2015-06-201-16/+18
| | | | | | | | Allocating huge buffer for the whole TRX wasn't too optimal. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46078
* otrx: make crc32 table global for further optimizationsRafał Miłecki2015-06-201-67/+68
| | | | | | | | | | 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
* lua: honor LDFLAGSSteven Barth2015-06-181-0/+11
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46036
* bzip2: import package from packages.gitFelix Fietkau2015-06-141-0/+87
| | | | | | | | | | 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
* fuse: fix exec environment for mount and umountNicolas Thill2015-05-243-7/+62
| | | | | | | | | | * add upstream patch (CVE-2015-3202) * refresh patches * bump release number Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45744
* fuse: fix build on arm64John Crispin2015-05-231-0/+34
| | | | | | | | | | | | | | | 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
* Revert "nvram: increase NVRAM size to 64 KiB"Rafał Miłecki2015-04-241-1/+1
| | | | | | | | | | | | | 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
* nvram: fix regression in finding NVRAM beginningRafał Miłecki2015-04-242-1/+7
| | | | | | | | | 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
* nvram: increase NVRAM size to 64 KiBRafał Miłecki2015-04-221-1/+1
| | | | | | | | | | | | | 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
* nvram: refuse to open NVRAM for writing if it's too big to be handledRafał Miłecki2015-04-221-2/+2
| | | | | | | | Otherwise writing anything will result in loosing data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45565
* nvram: drop check for WGT634U using /proc/diag/modelRafał Miłecki2015-04-221-11/+1
| | | | | | | | | 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
* nvram: use correct variable name for MTD partition sizeRafał Miłecki2015-04-221-13/+14
| | | | | | | | | | 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
* nvram: drop support for ancient /dev/mtdblock/%dRafał Miłecki2015-04-221-13/+1
| | | | | | | | Path /dev/mtdblock%d is used for years now. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45562
* lua: link library with -Bsymbolic-functionsFelix Fietkau2015-04-191-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45509
* busybox: fix an ash regression in handling local variablesFelix Fietkau2015-04-171-0/+75
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45471
* otrx: support for creating simple TRX filesRafał Miłecki2015-04-141-0/+185
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45444
* otrx: change command line API to start with a modeRafał Miłecki2015-04-142-56/+70
| | | | | | | | This will allow adding more modes without options conflict. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45443
* otrx: use %zd to fix printf format warningsRafał Miłecki2015-04-141-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45436
* otrx: check TRX length read from header to avoid Segmentation faultRafał Miłecki2015-04-141-0/+6
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45433
* otrx: include byteswap.h to fix compilation with muslRafał Miłecki2015-04-141-0/+1
| | | | | | | | Fixes #19470 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45430
* otrx: support for extracting partitionsRafał Miłecki2015-04-121-1/+127
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45390
* busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq ↵Felix Fietkau2015-04-111-1/+1
| | | | | | | | relies on it Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45384
* busybox: fix regression in handling non-existant find path arguments (#19439)Felix Fietkau2015-04-091-0/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45321
* otrx: new package with tiny app verifying TRX imagesRafał Miłecki2015-04-093-0/+287
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45315
* busybox: update to version 1.23.2Felix Fietkau2015-04-0428-342/+307
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45272
* e2fsprogs: add conffiles sectionNicolas Thill2015-04-021-0/+4
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45242
* ugps: add conffiles section, fix config file permsNicolas Thill2015-04-021-1/+5
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45240
* usbmode: update data filesJohn Crispin2015-04-011-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45219
* px5g-standalone: change PKG_NAME to avoid directory conflict with px5gFelix Fietkau2015-03-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45126
* fbtest: remove bogus #includeFelix Fietkau2015-03-291-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45106
* e2fsprogs: enable parallel buildFelix Fietkau2015-03-291-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45101
* fuse: add missing include lines, fixes musl buildFelix Fietkau2015-03-281-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45076
* e2fsprogs: update to the latest version, fixes musl build failureFelix Fietkau2015-03-284-51/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45075
* lua: fix eglibc referenceJohn Crispin2015-03-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45013
* util-linux: replace spaces with tabsNicolas Thill2015-03-221-4/+4
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44938
* packages: more (e)glibc fixes after r44701Nicolas Thill2015-03-161-0/+4
| | | | | | | | _GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44843
* toolchain: remove leftovers from old llvm-gcc experimentsFelix Fietkau2015-03-151-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44783
* BusyBox: Netcat 1.10 compatibility require server optionJohn Crispin2015-03-132-3/+4
| | | | | | | | | | | 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
* busybox: Minor fix for glibc 2.21 compatibilityJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: Jeff Waugh <jdub@bethesignal.org> SVN-Revision: 44700
* util-linux: fix pkgconfig filesNicolas Thill2015-03-091-0/+62
| | | | | | | | | 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