Commit graph

2165 commits

Author SHA1 Message Date
Rosen Penev
efe8842b51 crconf: Pass CFLAGS properly
CFLAGS were not being passed, breaking ASLR builds.

Switched to using PKG_SOURCE_DATE for the version.

Added PKG_BUILD_PARALLEL for faster compilation.

Added license information.

Small Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 35a258a55c)
2019-09-23 11:58:27 -07:00
Karel Kočí
4aa305c99d
bigclown-firmware-tool: update to version 1.4.1
This release updates: bcf create --from

There are no dependencies changes introduced by upstream and changes are
of limited character.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry-picked from commit 7741e5db4b)
2019-09-17 08:43:21 +02:00
Karel Kočí
c23b682767
bigclown-firmware-tool: add new package
This is tool to flash/manage firmware in Bigclown modules.

Signed-off-by: Karel Kočí <cynerd@email.cz>
(cherry-picked from commit 7950442dff)
2019-09-17 08:43:09 +02:00
Karel Kočí
b5a451cfe4
bigclown-mqtt2influxdb: update to version 1.2.0
This version introduces new option -d that makes service not to exit on
error. This is brutal solution but is required to protect against
service failure when remote resource is down.

bigclown-mqtt2influxdb is service moving data from MQTT to InfluxDB and
both of those services can and potentially are remote. The original
implementation where it failed when service goes down is not ideal
because network outage or target server outage can later require this
service restart.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry-picked from commti 508e2b865a)
2019-09-17 08:42:09 +02:00
Josef Schlehofer
5be09b19ab
btrfs-progs: Update to version 5.2.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit c42b279)
2019-09-12 11:08:24 +02:00
Hannu Nyman
4fcdefd5c7 haveged: update to 1.9.6
Update haveged to 1.9.6

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit c933ac5dcb)
2019-09-02 20:59:59 +03:00
Hannu Nyman
8893b467cc nano: update to 4.4
Update nano editor to 4.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit d9347059a8)
2019-08-25 20:40:46 +03:00
Eneas U de Queiroz
0c8ad0cc12
squashfs-tools: need to include sys/sysmacros.h
The inclusion of <sys/sysmacros.h> by <sys/types.h> was deprecated and
removed.  This is causing major, minor, and makedev to be undefined.

The patch is an upstream commit fixing it.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-18 20:22:42 -07:00
Etienne Champetier
f07e5b5b2c prometheus-node-exporter-lua: add target & system to OpenWrt collector
Before:
node_openwrt_info{revision="r10756+1-7546be6007",model="GL.iNet GL-AR150",id="OpenWrt",board_name="glinet,gl-ar150",release="SNAPSHOT"} 1

After:
node_openwrt_info{revision="r10756+1-7546be6007",target="ath79/generic",board_name="glinet,gl-ar150",id="OpenWrt",model="GL.iNet GL-AR150",release="SNAPSHOT",system="Atheros AR9330 rev 1"} 1

Fixes #9730, replace #9735

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit a14bed1bc9)
2019-08-15 20:22:08 -07:00
Rosen Penev
18a8d8b64e
gddrescue: Add uClibc-ng support
It turns out, this breaks only when compiling with both uClibc-ng and
uClibc++. If the libc or libc++ gets swapped out, it compiles fine.

libstdcpp is fine because it already undefs these macros. The actual
bug is probably in uClibc-ng but this is a fine workaround.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d6af6a4d75)
2019-08-08 10:27:05 -07:00
Karel Kočí
3cc81898b0
btrfs-progs: scan devices in preinit instead of init script
There is no gain to do device scan in init. Commonly we want to always
scan BTRFS devices to ensure that after boot raids are correctly linked.
It should be done before any init script tries to mount any raid FS.

Comparing init scripts and preinit scripts there are I think two primary
considerations. First is if user is expected to restart/reload/stop
given service on will. I think that there is no such reason for this as
user can easily enough just call btrfs utility it self. Second
consideration is if it makes sense to have it optional. This means if we
want to have ability to enable and disable given service. I think that
there is no such need in this case. It is pretty much doing nothing if
you don't have BTRFS FS connected and when you have you probably want to
scan it.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:59:45 +02:00
Karel Kočí
e8da8c8016
btrfs-progs: use box version of btrfs tool (busybox like)
This instead of building every tool separately builds one btrfs binary
and additional tools are links to this binary. This is same approach as
busybox is using.

This splits list of tools to two. boxprogs are tools that are boxed to
code btrfs binary and progs are tools that are not.
This also overload default all make target of Build/Compile and instead
builds (unified) btrfs.progs and separate progs.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:59:39 +02:00
Josef Schlehofer
af369bfc47
btrfs-progs: Update to version 5.2.1
- Move Depends under URL
- Fix PKG_LICENSE to use correct SPDX License Identifier instead of
deprecated one

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-06 09:59:31 +02:00
Rosen Penev
6c04684b51
mt-st: Add missing header
New version of musl no longer includes this header internally.

Removed several unnecessary variables in Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 4cda68c72b)
2019-08-05 12:02:35 -07:00
Rosen Penev
212710c929
xz: Remove bash dependency
Bash is not needed here. These scripts are POSIX compliant.

This was originally added as the configure script looks for /bin/bash
locally. Passing gl_cv_posix_shell overrides this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d0e3aa7493)
2019-08-05 12:02:15 -07:00
Rosen Penev
52634db76f
findutils: Add missing header
New version of musl no longer internally includes this header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 8ca5cf042d)
2019-08-04 15:35:09 -07:00
Rosen Penev
c205177702
findutils: Fixed up LICENSE information.
Also cleaned some whitespace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fca20e2b2f)
2019-08-04 15:34:44 -07:00
Rosen Penev
c997675a65
Merge pull request #9627 from jefferyto/slide-switch-0.9.5-openwrt-19.07
[openwrt-19.07] slide-switch: Update to 0.9.5
2019-08-04 06:47:51 -07:00
Jeffery To
b69270f14b slide-switch: Update to 0.9.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-08-02 15:53:59 +08:00
Sebastian Kemper
771bc141c4 mariadb: security bump to 10.2.26
mariadb: security bump to 10.2.26

New upstream release. Addresses:

  CVE-2019-2805
  CVE-2019-2740
  CVE-2019-2739
  CVE-2019-2737
  CVE-2019-2758

Package updates:

  - includes "THIRDPARTY" in PKG_LICENSE_FILES
  - drops client_ed25519 as a dynamic plugin and install it with the lib
    as per upstream decision
  - refreshes patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-08-01 21:57:42 +02:00
Jeffery To
43a9da0136 prometheus: Fix build for mips64/mips64el
Prometheus uses an older version of fsnotify, which uses a system call
(unix.InotifyInit) that is not implemented for mips64/mips64el.

This patches Prometheus to use a newer version of fsnotify that uses a
different system call (unix.InotifyInit1) that should be available on
all Linux systems.

Fixes #9494.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-07-23 04:30:39 +08:00
Rosen Penev
bce47d604a
dosfsutils: Properly fix iconv linking
Necessary when using libiconv.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fbfe49d7ff)
2019-07-19 20:04:59 -07:00
Rosen Penev
f586d5e79e
gddrescue: Do not build with uClibc-ng
From the developer:

It seems that uClibc-ng is defining fgetc, fputc, feof, and ferror as
macros and not including them in std.

IMO this is a bug in uClibc-ng (maybe caused by lack of clarity in the
C++ standard), because even the C functions that are alowed to be
defined as macros (putc, getc) should be included in std for
consistency. Just imagine the chaos if std::getc were defined or
undefined depending on how it is implemented.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(9172e2828f)
2019-07-19 20:00:00 -07:00
Rosen Penev
3422ff8d97
flashrom: Add ARC support
Mainly endian definitions are needed.

Removed sys/io.h patch. It's a GNU header unsupported by uClibc-ng.

Cleaned up Makefile slightly.

Added HTTPS everywhere.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 12378cd4d3)
2019-07-19 20:00:00 -07:00
Rosen Penev
ae6b12a6be
open2300: Switch to GitHub fork
It applies the single patch here as well as adding some fixes.

The upstream project is dead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d2af82a6f5)
2019-07-19 19:50:20 -07:00
Yousong Zhou
f49b61c2e7 coreutils: add alternatives support
Fixes openwrt/packages#9290

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from commit 9282044851)
2019-07-13 11:07:06 +00:00
Vladimir Ulrich
fa0c3b7baa zoneinfo: Updated to the latest release.
Signed-off-by: Vladimir Ulrich <admin@evl.su>
(cherry picked from commit 5df6ff15be)
2019-07-06 22:31:09 +03:00
Dirk Brenken
9e487fc79e
mc: update to 4.8.23
* bump to release 4.8.23, see
https://midnight-commander.org/wiki/NEWS-4.8.23
* (re-)enable VFS support by default

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 81eccbf480)
2019-07-01 16:05:06 +02:00
Hannu Nyman
aa2bbd6286 collectd: update to 5.9.0
Update collectd to version 5.9.0

* remove backported upstream patches (sensors, modbus)
* remove lua patch that has been been implemented upstream
  (See collectd PR 3144)
* refresh patches and accommodate into upstream path changes
* place the 'stations' datatype for iwinfo in alpbetically
  correct place in types.db
* add libmnl dependency to 'processes' plugin required for the
  new Linux process Delay Accounting capability.
  (Alternatively the capability & requirement might be patched away
   in Makefile.am, HAVE_LIBTASKSTATS from collectd_4ea7a572)

* new plugins (disabled): ampq1, gpu_nvidia, pcie_errors,
                          write_stackdriver, write_syslog

compile-tested: ar71xx/WNDR3700 (all plugins)
run-tested: ar71xx/WNDR3700 (selected plugins)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 08d759f14a)
2019-06-24 20:30:42 +03:00
Yousong Zhou
8acaac7479 treewide: avoid deref symlinks when installing .so
This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2:
deduplicate files in libnghttp2")

The packages in this commit are identified with the following command

	grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*'

Some of them do not have symlinks and are not affected, but the change
is still applied for consideration of best practices just in case

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from 9ac5ac81ab)
2019-06-21 02:05:08 +00:00
Hannu Nyman
7a0f588661 nano: update to 4.3
Update nano to 4.3

Release notes at https://nano-editor.org/news.php

2019.06.18 - GNU nano 4.3
* The ability to read from and write to a FIFO has been regained.
* Startup time is reduced by fully parsing a syntax only when needed.
* Asking for help (^G) when using --operatingdir does not crash.
* The reading of a huge or slow file can be stopped with ^C.
* Cut, zap, and copy operations are undone separately when intermixed.
* M-D reports the correct number of lines (zero for an empty buffer).

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 2bdd3856fd)
2019-06-20 14:52:10 +03:00
Deng Qingfang
47117ce9a4 lm-sensors: install libsensors using CP instead of INSTALL_DATA
INSTALL_DATA turns all of the symlinks to files, increasing size.

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-06-16 17:27:31 -07:00
Rosen Penev
38dcd42b87
Merge pull request #9151 from neheb/po
powertop: Do not use fstack-protector on ARC
2019-06-09 09:58:40 -07:00
Marko Ratkaj
d84d95896b utils: sysstat: bump to 12.0.5
Version bump from 12.0.2 to 12.0.5

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2019-06-09 17:22:13 +02:00
Rosen Penev
c005595e09 pciutils: Install libpci using CP instead of INSTALL_BIN
INSTALL_BIN turns all of the symlinks to files, increasing size.

Updated PCI IDs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-07 17:49:06 -07:00
Rosen Penev
885c8c8e75
Merge pull request #9168 from ja-pa/vim-security-patch
vim: patch security issue
2019-06-06 18:14:20 -07:00
Rosen Penev
cf03afc1f4
Merge pull request #9163 from neheb/nn
zstd: Use CP instead of INSTALL_BIN
2019-06-06 08:35:21 -07:00
Jan Pavlinec
f2417d7198
vim: patch security issue
Fixes CVE-2019-12735

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-06-06 15:54:55 +02:00
Jo-Philipp Wich
d9f29124b7
Merge pull request #9064 from cotequeiroz/lm-sensors-noperl
lm-sensors: add conditionals to perl dependencies
2019-06-06 11:20:47 +02:00
Rosen Penev
fe3e12d8f8
Merge pull request #9166 from nxhack/mg_6_5
mg: update to 6.5
2019-06-05 22:52:23 -07:00
Hirokazu MORIKAWA
07c344f1a7 mg: update to 6.5
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-06-06 11:06:38 +09:00
Rosen Penev
9229c04303 zstd: Use CP instead of INSTALL_BIN
INSTALL_BIN turns symlinks into actual files, which increases the total
size for no reason.

Small Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-05 18:08:36 -07:00
Rosen Penev
f4402d4770
Merge pull request #9145 from neheb/fio
fio: Update to 3.14
2019-06-05 10:02:15 -07:00
Amol Bhave
a73b3b2d75 domoticz: disable searching for boost-cmake
Summary:
This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.

Test Plan:
`make package/domoticz/compile`
Also compiled all other packages that have a boost dependency, they seem
to be working fine.
tested on nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
[split unrelated change, change commit subject, alphabetical order]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-06-05 10:59:12 +03:00
Stijn Tintel
b93d39ac74 domoticz: enable BUILD_SHARED_LIBS
Without this, no suitable boost_thread variant can be identified when
compiling against Boost 1.70.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-06-05 10:55:39 +03:00
Rosen Penev
02a4ac87c0 powertop: Do not use fstack-protector on ARC
Not compatible. Instead of setting PKG_SSP, I had to do this as the
powertop Makefile defines it.

Use $(FPIC) instead of -fPIC to fix potential issues.

Removed musl patch. Not needed anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-04 11:51:26 -07:00
Rosen Penev
0b9f6181c7 fio: Update to 3.14
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-04 01:04:51 -07:00
Rosen Penev
7df4cc1a43 vim: Remove bogus libelf dependency
Unused and Unneeded.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-02 16:21:37 -07:00
Rosen Penev
72dc6f669a
Merge pull request #8965 from neheb/pow
powertop: Switch to uClibc++
2019-06-02 09:48:25 -07:00
Hannu Nyman
982c389732 irqbalance: add support for uci config
Add support for uci config file.

Only a global 'enabled" switch has been implemented so far.

* Default config disables irqbalance initially, so that there is
  no change with the previous behaviour (and the possibly existing
  separate launch scripts in people's builds).

Config file and init script can be later extended for irqbalance
options like the oneshot mode or the evaluation interval

(Also change the init file to use tabs)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-02 12:43:08 +03:00