Commit Graph

310 Commits (33a840a3ff4cc15b45cf3fb47c772b5a44ecfe5c)

Author SHA1 Message Date
Rafał Miłecki 92443f7041 oseama: small util for reading Seama image format info
It's similar to otrx, we need this tool for handling sysupgrade.

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

SVN-Revision: 48533
9 years ago
Felix Fietkau 5668dba5ea bzip2: install to STAGING_DIR/host instead of STAGING_DIR/host/usr
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48418
9 years ago
Felix Fietkau d917a59014 bzip2: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48408
9 years ago
Felix Fietkau 808803f6ae lua: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48405
9 years ago
Felix Fietkau e771a31b39 opkg: depend on uclient-fetch, disable busybox wget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48386
9 years ago
Felix Fietkau e0bfd25295 busybox: fix broken IPv6 address displaying in ifconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48306
9 years ago
Felix Fietkau fa8a94f845 bzip2: only build the static library for the host, fixes build errors on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48135
9 years ago
Felix Fietkau 9cd6162b63 packages: use OPENWRT_GIT to point at the main openwrt git repo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48118
9 years ago
Felix Fietkau 23953244a8 busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48078
9 years ago
Felix Fietkau 182dd0db16 busybox: fix handling of special characters in path when converting menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48077
9 years ago
John Crispin 47589bfbe8 util-linux: remove outdated configure options
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>

SVN-Revision: 47977
9 years ago
Felix Fietkau ea1cc733af Revert "bzip2: extend/fix the Host/Install rule to install libbz2.so files"
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>

SVN-Revision: 47950
9 years ago
Felix Fietkau 9ca1080e92 busybox: Update config for 1.24.1
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>

SVN-Revision: 47775
9 years ago
Hauke Mehrtens f6fe072836 px5g-standalone: activate format-security checks
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47583
9 years ago
Hauke Mehrtens dfd358be63 xfsprogs: activate format-security checks
This patch was taken from upstream.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47581
9 years ago
Felix Fietkau 091284ff0b e2fsprogs: add packages for "chattr" and "lsattr"
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 47425
9 years ago
Felix Fietkau 4205078a78 px5g: Use SHA-256 when generating self-signed certificates
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47391
9 years ago
Felix Fietkau a2a7aba257 busybox: enable ip rule support by default (required for dealing with route tables)
Adds about 1.2k gzip-compressed

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

SVN-Revision: 47387
9 years ago
Felix Fietkau a946367371 busybox: enable find mtime support by default
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>

SVN-Revision: 47362
9 years ago
Felix Fietkau 1cfa2a6747 busybox: fix non-portable invocation of mktemp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47289
9 years ago
Felix Fietkau e35d42e890 busybox: update to version 1.24.1
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>

SVN-Revision: 47288
9 years ago
Steven Barth 6ce1cc3b30 bzip2: extend/fix the Host/Install rule to install libbz2.so files
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>

SVN-Revision: 47245
9 years ago
Luka Perkov 75078acd93 cosmetic: remove trailing whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47197
9 years ago
Felix Fietkau 9893f5f00e px5g-standalone: use /dev/urandom instead of havege (fixes #20216)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47025
9 years ago
Felix Fietkau 9da3a62839 ugps: fix filename to eliminate build problems
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>

SVN-Revision: 46868
9 years ago
Felix Fietkau 9b3b58b380 util-linux: add prlimit command.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 46866
9 years ago
Felix Fietkau 3670f4128d busybox: lock: implement -n "Fail rather than wait"
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>

SVN-Revision: 46836
9 years ago
Steven Barth 1fb987e3b8 busybox: fix ip applet and netlink behavior
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46833
9 years ago
Steven Barth e07959cade package: replace ifconfig-usage with ip
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46832
9 years ago
Steven Barth 899a23227e busybox: improve applets & deprecate ifconfig, route
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>

SVN-Revision: 46829
9 years ago
Steven Barth d196b1fc2e Disable telnet in favor of passwordless SSH
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>

SVN-Revision: 46809
9 years ago
John Crispin cbc2613a5c ugps: update to latest git HEAD
fixes 2 bugs
* typo
* use %04d rather than %d when printing the position

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46666
9 years ago
Hauke Mehrtens 4ab1830682 ubi-utils: fix build with gcc5
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46610
9 years ago
John Crispin 6edf2f62c8 bzip2: add host build
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46470
9 years ago
Hauke Mehrtens 6c8c019b78 robocfg: remove robocfg
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
9 years ago
Hauke Mehrtens 750a62195c admswconfig: fix compile with musl
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
9 years ago
Rafał Miłecki 4497c35bd0 nvram: get rid of NVRAM_SPACE
Now we support NVRAM whatever its size is.

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

SVN-Revision: 46262
9 years ago
Rafał Miłecki d372167491 nvram: fix displayed info about NVRAM size
Use actual partition size and content offset to calculate it.

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

SVN-Revision: 46260
9 years ago
Rafał Miłecki 4014ba376c Revert "Revert "nvram: increase NVRAM size to 64 KiB""
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
9 years ago
Rafał Miłecki 9f15849910 nvram: fix "Segmentation fault" caused by setting memory out of buffer
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
9 years ago
Steven Barth a50df0aacf Revert "px5g-standalone: compatibility with fortify-headers"
This reverts commit 0c912eec6d95805d30133f34165a1c4e7cbb4bec.

SVN-Revision: 46121
9 years ago
Steven Barth f4767891c0 px5g-standalone: compatibility with fortify-headers
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46118
9 years ago
Rafał Miłecki e0a3d9d115 otrx: add extra compilation check before using __BYTE_ORDER
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46106
9 years ago
Rafał Miłecki 0e5c445df6 otrx: include endian.h to make __BYTE_ORDER work with musl
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
9 years ago
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
9 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
9 years ago
Steven Barth feeea1cd28 lua: honor LDFLAGS
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46036
9 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
9 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
9 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
9 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
9 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
9 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
9 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
9 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
9 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
9 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
9 years ago
Felix Fietkau 5199a23165 lua: link library with -Bsymbolic-functions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45509
9 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
9 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
9 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
9 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
9 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
9 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
9 years ago
Rafał Miłecki ab6462dd56 otrx: support for extracting partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45390
9 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
9 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
9 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
9 years ago
Felix Fietkau c31df6e995 busybox: update to version 1.23.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45272
9 years ago
Nicolas Thill 1fe3836fbc e2fsprogs: add conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45242
9 years ago
Nicolas Thill 275df67b6c ugps: add conffiles section, fix config file perms
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45240
9 years ago
John Crispin 04da950450 usbmode: update data files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45219
9 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
9 years ago
Felix Fietkau 4cca061066 fbtest: remove bogus #include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45106
9 years ago
Felix Fietkau 7c29c15073 e2fsprogs: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45101
9 years ago
Felix Fietkau 5441f56685 fuse: add missing include lines, fixes musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45076
9 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
9 years ago
John Crispin b1e19ee445 lua: fix eglibc reference
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45013
9 years ago
Nicolas Thill a96fe7d228 util-linux: replace spaces with tabs
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44938
9 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
9 years ago
Felix Fietkau 808c460250 toolchain: remove leftovers from old llvm-gcc experiments
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44783
9 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
9 years ago
John Crispin eff1859f8e busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>

SVN-Revision: 44700
9 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
9 years ago
Nicolas Thill 4b8ebb5d50 packages: remove uneeded PKG_BUILD_DIR overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44498
9 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
Felix Fietkau 7d6a749278 ubi-utils: add mirror md5sum
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43761
10 years ago
Felix Fietkau 0f51d48c0e nvram: remove libnvram.so, it is unused and incompatible to the broadcom API anyway
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43698
10 years ago
Jo-Philipp Wich 5472898c0c busybox: include config files relative to the main Config.in (#18522)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43653
10 years ago
John Crispin f76755da3f packages: fix typo in OpenWrt name
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 43542
10 years ago
John Crispin 951866a8eb e2fsprogs: add InstallDev section to Makefile
btrfs-progs is using libext2fs, so headers and libs need to be staged

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43537
10 years ago
John Crispin 70c3a60947 util-linux: fix more missing dependencies introduced by r43459
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43478
10 years ago
John Crispin afbbf3084d util-linux: fix missing dependency introduced by r43459
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43476
10 years ago
Luka Perkov 36063edf53 util-linux: package libsmartcols
Packages fdisk and lsblk were missing dependency for libsmartcols.so.1

Add package for libsmartcols and add dependency from fdisk and lsblk.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43459
10 years ago
Luka Perkov 3534e26463 util-linux: update to 2.25.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43443
10 years ago
Steven Barth 016d6acde5 ntp: add hotplug class for ntp-events
Based on a patch by Luiz Angelo Daros de Luca

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43421
10 years ago
Felix Fietkau a70800a7ed busybox: turn on BUSYBOX_DEFAULT_FEATURE_SH_NOFORK to slightly improve performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43348
10 years ago
Nicolas Thill f4417f7ad8 package/*: replace occurences of 'ln -sf' to '$(LN)'
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43205
10 years ago
Nicolas Thill 1fe7cd5ed9 busybox: add 2 upstream fixes
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43191
10 years ago
Jo-Philipp Wich 0ceece4c82 px5g: generate unique serial numbers
Generate a random serial from /dev/urandom when creating selfsigned certs.
Fixes "sec_error_reused_issuer_and_serial" with Firefox.

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

SVN-Revision: 43168
10 years ago
John Crispin 74a3a77bcd license info - revert r43155
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43167
10 years ago
John Crispin c10d97484a Add more license tags with SPDX identifiers
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43155
10 years ago
Steven Barth bec9d38fa4 Add a few SPDX tags
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43151
10 years ago
Jo-Philipp Wich 2ab0dae991 busybox: make high ASCII chars printable (#7993)
Currently busybox utils like "ls" fail to display filenames containing UTF-8
characters, replacing any special characters with "?".

Change libbb's printable_string() function to allow high ASCII characters so
that unicode filenames are displayed correctls.

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

SVN-Revision: 43084
10 years ago
Jo-Philipp Wich 9b1ad94f1c px5g-standalone: use /dev/urandom to initialize serial (#18232)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43080
10 years ago
John Crispin f967a49dd0 e2fsprogs: fix description, tune2fs is not part of the e2fsprogs package
https://dev.openwrt.org/ticket/18209

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43076
10 years ago
John Crispin f9a06347df util-linux-dmesg: Add missing install section
Package util-linux-dmesg is broken (at least) in Barrier Breaker git repo
as you can select it within menuconfig, it will compile (as a part of
util-linux) but it will not install as install section is missing from
package Makefile.

Signed-off-by: Tomasz Wasiak <tjwasiak@gmail.com>

SVN-Revision: 43069
10 years ago
Steven Barth 3cdeac4173 busybox: remove validation message from bootup
A message:
uinteger - 9 = true
is displayed during boot. This is the result of the validate_data
command checking the cron log level. As the output is not
interesting, only the result, filter...

Signed-off-by: Michel Stam <m.stam@fugro.nl>

SVN-Revision: 42751
10 years ago
Hauke Mehrtens 59735eecce package: nvram: enable on bcm53xx target
It uses mtd, so doesn't require any special adjustments for new target.
It has been succesfully tested (reading, writing and commiting).

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

SVN-Revision: 42521
10 years ago
John Crispin 41775e7486 usbmode: update to latest git
this adds support for a new mode MBIM that auto detects the bConfigurationValue.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42298
10 years ago
John Crispin 2ae05c57f8 package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
	fire_command

	return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42278
10 years ago
John Crispin 406d53c697 busybox: Fix pam_start link errors when PAM support is enabled
Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by
CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include:
login.c:(.text.login_main+0x122): undefined reference to `pam_start'

Signed-off-by: Stephen Parry <sgparry@mainscreen.com>

SVN-Revision: 42195
10 years ago
Felix Fietkau c02cfdb46d robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41959
10 years ago
John Crispin 08a03debd9 ugps: add a minimal gps daemon
* set the system time/data
* "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41929
10 years ago
John Crispin 79fa8dfa1d usbmode: update to latest git and also update the device database
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41761
10 years ago
Luka Perkov 9dd205b2ad busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41415
10 years ago
Felix Fietkau b3b55de395 build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
The idea is to gradually fix the packages

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 41411
10 years ago
Felix Fietkau 20de772cea px5g-standalone: disable long long to fix compiler errors on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41375
10 years ago
John Crispin a51588a5f9 busybox: use ntp enabled config option
Even if enabled option is missing from ntp configuration we are still keeping
default behavior.

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

SVN-Revision: 41355
10 years ago
Jo-Philipp Wich 1d94972925 jsonfilter: implement custom separators and support limiting the results, fix handling of negative array indices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41280
10 years ago
Jo-Philipp Wich 766643c79e jsonfilter: improve error reporting
The CLI now describes expression errors more precisely, e.g.:

  Syntax error: Invalid escape sequence
  In expression @["foo\x"]
  Near here ----------^

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

SVN-Revision: 41266
10 years ago
Jo-Philipp Wich a5ca7a3dd9 jsonpath: rename to jsonfilter and rewrite from flex/bison to lemon
This commit renames the jsonpath binary to jsonfilter to avoid clashing with a Python
extension of the same name.

The utility itself has been rewritten to use SQLite3's lemon parser generator instead
of a flex/bison combination which results in a much smaller binary.

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

SVN-Revision: 41258
10 years ago
Jo-Philipp Wich 1599e6f601 ubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlib
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41192
10 years ago
John Crispin 7d306dd9f0 ubi-utils: cleanup the package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41124
10 years ago
Felix Fietkau d73f553b0b ubi-utils: fix musl compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41060
10 years ago
Felix Fietkau 29dffbbab4 util-linux: use qsort instead of qsort_r to fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41059
10 years ago
Felix Fietkau 422ee45253 xfsprogs: fix compile errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41058
10 years ago
John Crispin b757deecad ubi-utils: bump to version 1.5.1 for ubiblock support
ubiblock allows creating and removing read-only block devices
on top of ubi volumes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41033
10 years ago
John Crispin e847b236bc util-linux: Disable sulogin in util-linux package
The sulogin tool doesn't compile because it cannot find shadow.h. As the
tool is not available in openwrt it is now not selected during the build
process.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>

SVN-Revision: 40930
10 years ago
Steven Barth 8f8dc0959c busybox: remove redundant 6rd-patch
SVN-Revision: 40882
10 years ago
Steven Barth 50b663de47 busybox: udhcpc source IP rebind patch
Patch sets the source IP address of DHCP request messages during rebind to the IP address
assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior
to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with
the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release
messages.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

SVN-Revision: 40878
10 years ago
Felix Fietkau 6c6faf5f37 busybox: add back missing crond config change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40853
10 years ago
Felix Fietkau f4f553efa7 busybox: update to 1.22.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40852
10 years ago
Felix Fietkau a54791f2ba busybox: remove obsolete httpd patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40851
10 years ago
Felix Fietkau 63f69d0bb9 busybox: remove obsolete insmod patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40850
10 years ago
Felix Fietkau 7a13084797 busybox: drop a udhcpc patch that has been superseded by upstream changes a long time ago
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40849
10 years ago
Felix Fietkau c1187357dc busybox: remove obsolete init patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40848
10 years ago
Felix Fietkau 5e341d0d0d busybox: use a config option instead of a patch to select the cron directory
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40847
10 years ago
Luka Perkov 4fc0484982 ubi-utils: fix typo
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40751
10 years ago
John Crispin b507549ba5 ubi-utils: fix git tree path, a regex went mad
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40382
10 years ago
John Crispin 08b4924401 ubi-utils: mini version of mtd-utils that only includes ubi tools
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40367
10 years ago
John Crispin 1fdf13a9e1 util-linux: add missing dependency
https://dev.openwrt.org/ticket/15417

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40331
10 years ago