aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
Commit message (Collapse)AuthorAgeFilesLines
* util-linux: remove outdated configure optionsJohn Crispin2015-12-231-1/+0
| | | | | | | | | | | | | removed upstream in commit: - convert mount/ to module, rename to mount-deprecated/ - build-sys: remove deprecated-mount/ fixes log warning: compile.txt:configure: WARNING: unrecognized options: --enable-new-mount Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "bzip2: extend/fix the Host/Install rule to install libbz2.so files"Felix Fietkau2015-12-191-3/+1
| | | | | | | | | | | | | | | | This reverts r47245. Linking to shared libraries under $STAGING_DIR_HOST{,/usr}/lib is harmful, as these directories aren't added to LD_LIBRARY_PATH (see r47103 for an explanation why LD_LIBRARY_PATH is not used). Revert to static linking; in particular, this fixes the build of the python bz2 module on OpenSUSE and Fedora (which in turn broke the build of nodejs). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: Update config for 1.24.1Felix Fietkau2015-12-057-235/+412
| | | | | | | | | | | | | | | | r47288 updated to Busybox 1.24.1 but did not update the configuration. The configuration is updated by running cd config ../convert_menuconfig.pl .../build_dir/target-*/busybox-1.24.1 cd .. ./convert_defaults.pl < .../build_dir/target-*/busybox-1.24.1/.config > \ Config-defaults.in Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* px5g-standalone: activate format-security checksHauke Mehrtens2015-11-222-3/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xfsprogs: activate format-security checksHauke Mehrtens2015-11-228-25/+38
| | | | | | | | | This patch was taken from upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* e2fsprogs: add packages for "chattr" and "lsattr"Felix Fietkau2015-11-081-0/+24
| | | | | | Signed-off-by: Richard Kunze <richard.kunze@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* px5g: Use SHA-256 when generating self-signed certificatesFelix Fietkau2015-11-061-1/+1
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: enable ip rule support by default (required for dealing with route ↵Felix Fietkau2015-11-041-1/+1
| | | | | | | | | | tables) Adds about 1.2k gzip-compressed Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: enable find mtime support by defaultFelix Fietkau2015-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | busybox binary in openwrt neither supports stat nor find mtime. This patch adds find mtime support by default. I've compared ipk size for three different targets (ar71xx, brcm2708, x86): 209908 Okt 16 13:48 busybox_1.23.2-3_ar71xx.ipk-0before 210031 Okt 16 16:47 busybox_1.23.2-3_ar71xx.ipk-1after difference: +123 Byte 223519 Okt 16 13:06 busybox_1.23.2-3_brcm2708.ipk-0before 223720 Okt 16 13:53 busybox_1.23.2-3_brcm2708.ipk-1after difference: +201 Byte 221477 Okt 16 13:47 busybox_1.23.2-3_x86_64.ipk-0before 221622 Okt 16 13:52 busybox_1.23.2-3_x86_64.ipk-1after difference: +145 Byte Signed-off-by: Dirk Brenken <dirk@brenken.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix non-portable invocation of mktempFelix Fietkau2015-10-301-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: update to version 1.24.1Felix Fietkau2015-10-3012-198/+19
| | | | | | | | | | | | | Patches applied upstream and dropped: 280-fix_find_regression.patch 300-ip-addr-improvements.patch Fixed upstream: 290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html) Signed-off-by: Magnus Kroken <mkroken@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bzip2: extend/fix the Host/Install rule to install libbz2.so filesSteven Barth2015-10-221-2/+3
| | | | | | | | | | | | It looks like the bzip2 package does not install any shared libs and has no build rules to install any shared libs. So, for the host build we're installing the libbz2 shared libs manually so that other modules can link against them. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cosmetic: remove trailing whitespacesLuka Perkov2015-10-155-5/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* px5g-standalone: use /dev/urandom instead of havege (fixes #20216)Felix Fietkau2015-09-223-358/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ugps: fix filename to eliminate build problemsFelix Fietkau2015-09-111-1/+1
| | | | | | | | | | | | due to ordering PKG_SOURCE_VERSION is not defined leading to a filename "ugps-.tar.bz2" This errors out when an older version is in the dl/ dir (or LOCALMIRROR) fix order and use uhttpd file naming scheme to visibly include date Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* util-linux: add prlimit command.Felix Fietkau2015-09-111-0/+17
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: lock: implement -n "Fail rather than wait"Felix Fietkau2015-09-091-2/+11
| | | | | | | | | | | | | | | | | | lock -n is similiar to flock -n. If the lock was already taken, fail with exit code = 1 and write error message to stderr. example: if ! lock -n /tmp/foo ; then echo lock exits. else echo lock was free. But is locked now. fi > lock was free. But is locked now. > lock exists. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix ip applet and netlink behaviorSteven Barth2015-09-094-2/+86
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: replace ifconfig-usage with ipSteven Barth2015-09-081-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: improve applets & deprecate ifconfig, routeSteven Barth2015-09-082-10/+10
| | | | | | | | | | added: ip addr, ip route, ip link, traceroute6 removed: hostid, devmem, vconfig, arping deprecated (to be removed): ifconfig, route Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Disable telnet in favor of passwordless SSHSteven Barth2015-09-073-43/+4
| | | | | | | | | | This enables passworldless login for root via SSH whenever no root password is set (e.g. after reset, flashing without keeping config or in failsafe) and removes telnet support alltogether. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ugps: update to latest git HEADJohn Crispin2015-08-171-2/+2
| | | | | | | | | | fixes 2 bugs * typo * use %04d rather than %d when printing the position Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: fix build with gcc5Hauke Mehrtens2015-08-163-2/+43
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bzip2: add host buildJohn Crispin2015-07-241-0/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46373 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "px5g-standalone: compatibility with fortify-headers"Steven Barth2015-06-241-1/+1
| | | | | | This reverts commit 0c912eec6d95805d30133f34165a1c4e7cbb4bec. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* px5g-standalone: compatibility with fortify-headersSteven Barth2015-06-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: add extra compilation check before using __BYTE_ORDERRafał Miłecki2015-06-221-0/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lua: honor LDFLAGSSteven Barth2015-06-181-0/+11
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lua: link library with -Bsymbolic-functionsFelix Fietkau2015-04-191-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix an ash regression in handling local variablesFelix Fietkau2015-04-171-0/+75
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: support for creating simple TRX filesRafał Miłecki2015-04-141-0/+185
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45444 3c298f89-4303-0410-b956-a3cf2f4a3e73