Commit graph

23410 commits

Author SHA1 Message Date
Rosen Penev
b75f250f3b
libpam: update to 1.5.1
Fix installed paths. After e52d0487e88c3c8c57e1310d1a02b18eae0d142e
upstream, this bug was exposed.

Instead of working around it, fix the patch.

After this, everything consistently gets installed to ipkg-install/usr.

Minor Makefile reorganization.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 17:00:05 -08:00
Nicholas Smith
e13d36fa8b modemmanager: bump to 1.14.8
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-11-30 10:35:42 +10:00
Rosen Penev
e728d3d735
Merge pull request #14078 from neheb/gpht
gphoto2: update to 2.5.26
2020-11-29 16:15:55 -08:00
Rosen Penev
f568979648
minidlna: update to 1.3.0
Fixes two CVEs relating to UPnP.

Removed libuuid dependency. It is not used.

Remove clock_gettime hack. It seems to have been fixed.

Removed upstream patches.

Refreshed the other ones.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 16:14:36 -08:00
Rosen Penev
7b2a2af297
gphoto2: update to 2.5.26
Remove several unneeded configure hacks.

Replace the POPT ones with more sensible ones.

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 15:38:17 -08:00
Rosen Penev
da62d7b7a0
hplip: move back to compiling with libusb
Some change in base broke compilation with libusb and this package.
From looking at it more carefully, it turns out that the libusb patch
needs to be updated so that host paths are not used.

libusb-compat also depends on libusb, which increases the overall
installed size.

Refreshed patches with make package/hplip/refresh .

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 14:43:43 -08:00
Michael Heimpold
110ea1b994 php7: remove obsolete patch for ICU 68.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-11-29 21:59:06 +01:00
Dirk Brenken
4fad6e2dc1
Merge pull request #14065 from dibdot/adblock
adblock: reporting fixes/tweaks
2020-11-29 13:45:27 +01:00
Rosen Penev
abd542d8ff
Merge pull request #14074 from neheb/gphot
libgphoto2: update to 2.5.26
2020-11-29 04:29:53 -08:00
Rosen Penev
6f2dc12f44
Merge pull request #14066 from brvphoenix/ariang
ariang: add title and shortcut icons
2020-11-29 04:29:29 -08:00
Rosen Penev
4ecdc13938
Merge pull request #14071 from neheb/xt
xtables-addons: fix package installation
2020-11-29 04:28:51 -08:00
Rosen Penev
5ba9315bd8
Merge pull request #14072 from neheb/hpl
hplip: use libusb-compat
2020-11-29 04:27:20 -08:00
Rosen Penev
fadf7190ea python3: fix compilation
Because of e52d0487e88c3c8c57e1310d1a02b18eae0d142e , these flags no
longer get passed. Add them back to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 13:58:13 +02:00
Rosen Penev
1ccc6bbe2c
libgphoto2: update to 2.5.26
Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 02:33:24 -08:00
Michael Heimpold
1023114977 php7: update to 7.4.13
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-11-29 11:03:40 +01:00
Rosen Penev
4402504cb7
Merge pull request #14067 from neheb/fdk
fdk-aac: fixup flags
2020-11-29 01:44:30 -08:00
Rosen Penev
a815ab1efc
hplip: use libusb-compat
Some change to base broke compilation. From looking at the CFLAGS,
hplip tries to use the host libusb.

libusb-compat seems to work properly. So use that.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 01:38:15 -08:00
Rosen Penev
75ddca2962
xtables-addons: fix package installation
Install directory is missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 01:37:00 -08:00
Rosen Penev
325c565040
pulseaudio: update to 14.0
Remove upstreamed OpenSSL patch.

Update MESON_ARGS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 01:33:59 -08:00
Rosen Penev
a2ff9874f6
fdk-aac: fixup flags
As implemented, these get duplicated. In particular, the ldflags get
recursive and with some recent OpenWrt change, it errors.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 01:31:41 -08:00
Van Waholtz
4916fbd125 ariang: add title and shortcut icons
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2020-11-29 00:31:14 -08:00
Dirk Brenken
6e90c8fa53
adblock: reporting fixes/tweaks
* prevents the creation of an invalid json structure
* add more space to the domain column on cli

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-11-29 08:46:28 +01:00
Rosen Penev
0607d26df0
Merge pull request #14051 from MirBSD/update-mksh-jupp
update utils/jupp and utils/mksh to their current versions
2020-11-28 16:44:04 -08:00
Thorsten Glaser
619eb1673c
jupp: update to current version
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2020-11-29 01:32:32 +01:00
Thorsten Glaser
a3dc217aca
mksh: update to current version
also
• update description
• drop “-c lto”, this option is gone from Build.sh
• add missing $(TARGET_CPPFLAGS)

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2020-11-29 01:31:44 +01:00
Peter Stadler
f62599d27e nginx-util: use UCI for server configuration
**tl;dr:** The functions `{add,del}_ssl` modify a server
section of the UCI config if there is no `.conf` file with
the same name in `/etc/nginx/conf.d/`.

Then `init_lan` creates `/var/lib/nginx/uci.conf` files by
copying the `/etc/nginx/uci.conf.template` and standard
options from the UCI config; additionally the special path
`logd` can be used in `{access,error}_log`.

The init does not change the configuration beside
re-creating self-signed certificates when needed. This is
also the only purpose of the new `check_ssl`, which is
installed as yearly cron job.

**Initialization:**

Invoking `nginx-util init_lan` parses the UCI configuration
for package `nginx`. It creates a server part in
`/var/lib/nginx/uci.conf` for each `section server '$name'`
by copying all UCI options but the following:

* `option uci_manage_ssl` is skipped. It is set to
'self-signed' by `nginx-util add_ssl $name`, removed by
`nginx-util del_ssl $name` and used by
`nginx-util check_ssl` (see below).

* `logd` as path in `error_log` or `access_log` writes them
to STDERR respective STDOUT, which are fowarded by Nginx's
init to the log daemon. Specifically:
`option error_log 'logd'` becomes `error_log stderr;` and
`option access_log 'logd openwrt'` becomes
`access_log /proc/self/fd/1 openwrt;`

Other `[option|list] key 'value'` entries just become
`key value;` directives.

The init.d calls internally also `check_ssl` for rebuilding
self-signed SSL certificates if needed (see below). And it
still sets up `/var/lib/nginx/lan{,_ssl}.listen` files as
it is doing in the current version (so they stay available).

**Defaults:**

The package installs the file `/etc/nginx/restrict_locally`
containing allow/deny directives for restricting the access
to LAN addresses by including it into a server part. The
default server '_lan' includes this file and listens on all
IPs (instead of only the local IPs as it did before; other
servers do not need to listen explicitly on the local IPs
anymore). The default server is contained together with a
server that redirects HTTP requests for inexistent URLs to
HTTPS in the UCI configuration file `/etc/config/nginx`.
Furthermore, the packages installs a
`/etc/nginx/uci.conf.template` containing the current setup
and a marker, which will be replaced by the created UCI
servers when calling `init_lan`.

**Other:**

If there is a file named `/etc/nginx/conf.d/$name.conf` the
functions `init_lan`, `add_ssl $name` and `del_ssl $name`
will use that file instead of a UCI server section (this is
similar to the current version).

Else it selects the UCI `section server $name`, or, when
there is no such section, it searches for the first one
having `option server_name '… $name …'`. For this section:

* `nginx-util add_ssl $name` will add to it:
`option uci_manage_ssl 'self-signed'`
`option ssl_certificate '/etc/nginx/conf.d/$name.crt'`
`option ssl_certificate_key '/etc/nginx/conf.d/$name.key'`
`option ssl_session_cache 'shared:SSL:32k'`
`option ssl_session_timeout '64m'`
If these options are already present, they will stay the
same; just the first option `uci_manage_ssl` will always be
changed to 'self-signed'. The command also changes all
`listen` list items to use port 443 and ssl instead of port
80 (without ssl). If they stated another port than 80
before, they are kept the same. Furthermore, it creates a
self-signed SSL certificate if necessary, i.e., if there is
no *valid* certificate and key at the locations given by
the options `ssl_certificate` and `ssl_certificate_key`.

* `nginx-util del_ssl $name` checks if `uci_manage_ssl` is
set 'self-signed' in the corresponding UCI section. Only
then it removes all of the above options regardless of the
value looking just at the key name. Then, it also changes
all `listen` list items to use port 80 (without ssl)
instead of port 443 with ssl. If stating another port than
443, they are kept the same. Furthermore, it removes the
SSL certificate and key that were indicated by
`ssl_certificate{,_key}`.

* `nginx-util check_ssl` looks through all server sections
of the UCI config for `uci_manage_ssl 'self-signed'`. On
every hit it checks if the SSL certificate-key-pair
indicated by the options `ssl_certificate{,_key}` is
expired. Then it re-creates a self-signed certificate.
If there exists at least one `section server` with
`uci_manage_ssl 'self-signed'`, it will try to install
itself as cron job. If there are no such sections, it
removes that cron job if possible.

For installing a ssl certificate and key managed by
another app, you can call:
`nginx-util add_ssl $name $manager $crtpath $keypath`
Hereby `$name` is as above, `$manager` is an arbitrary
string, and the the ssl certificate and its key are
indicated by their absolute path. If you want to remove
the directives again, then you can use:
`nginx-util del_ssl $name $manager`

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-11-28 18:34:39 +01:00
Rosen Penev
1fcb02973f
Merge pull request #14047 from neheb/lnq
libnetfilter-queue: import and update
2020-11-28 05:48:54 -08:00
Rosen Penev
9f9cf35a8d
Merge pull request #14048 from neheb/lnl
libnetfilter-log: import from baser
2020-11-28 05:48:02 -08:00
Rosen Penev
dc9f4bf26b
Merge pull request #14049 from neheb/lnctt
libnetfilter-cttimeout: import from base
2020-11-28 05:47:29 -08:00
Rosen Penev
755e27ce22
Merge pull request #14050 from neheb/lncth
libnetfilter-cthelper: import from base
2020-11-28 05:46:59 -08:00
Florian Eckert
733e6508f3 ddns-scripts: add gandi.net provider
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-28 11:07:14 +01:00
Rosen Penev
9ec405756b
libnetfilter-cthelper: import from base
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-27 23:16:46 -08:00
Rosen Penev
367662534d
libnetfilter-cttimeout: import from base
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-27 23:15:55 -08:00
Rosen Penev
e281311f24
libnetfilter-log: import from base
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-27 23:14:52 -08:00
Luiz Angelo Daros de Luca
56eb4078e5 gst1-plugins-base: fix build with no module
gst1-plugins-base might be required only for its libraries, not modules.
However, InstallDev tries to copy them unconditionally, failing when
no modules are selected/compiled.

Fixes #13973

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2020-11-28 09:08:30 +02:00
Robert Högberg
2fa91f4c9f graphicsmagick: Fix package description typo
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2020-11-28 09:07:20 +02:00
Rosen Penev
5f9faebec4
Merge pull request #14046 from neheb/libusb-c
libusb-compat: fix libusb-config
2020-11-27 22:48:54 -08:00
Rosen Penev
b60aa5ffdb
libnetfilter-queue: update to 1.0.5
Switch to normal tarballs for simplicity.

Removed upstream patch.

Fixed license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-27 22:28:18 -08:00
Rosen Penev
3be9bc06ba
libnetfilter-queue: import from base
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-27 22:28:17 -08:00
Rosen Penev
0095cb34e9
libusb-compat: fix libusb-config
Turns out, some packages like serdisplib actually use libusb-config.
Fix the paths in it so that they can work properly. Method taken from
libpng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-27 22:13:36 -08:00
Rosen Penev
38c0d7084a
Merge pull request #14041 from abajk/coremark-threads
coremark: allow to build with multithrading support
2020-11-27 18:38:44 -08:00
Rosen Penev
e315b72fb2
Merge pull request #14042 from oleg-derevenetz/bwping-2.2
bwping: update to version 2.2
2020-11-27 14:30:00 -08:00
Oleg Derevenetz
9cf0efc4f6 bwping: update to version 2.2
Signed-off-by: Oleg Derevenetz <oleg-derevenetz@yandex.ru>
2020-11-27 23:12:14 +03:00
Aleksander Jan Bajkowski
63b8c73cf1 coremark: allow to build with multithrading support
This patch allows to build coremark with multithreading support.

Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
2020-11-27 20:43:36 +01:00
Rosen Penev
e8d60c034a
Merge pull request #14019 from neheb/lsof
lsof: update to 4.94.0
2020-11-27 09:30:49 -08:00
Rosen Penev
4b4ac939cc
Merge pull request #14036 from neheb/libroxml
libroxml: import from base
2020-11-27 02:36:19 -08:00
Rosen Penev
1652382429
Merge pull request #14034 from nxhack/node_12200
node: update to v12.20.0
2020-11-27 00:28:12 -08:00
Rosen Penev
9dd1d919cb
Merge pull request #14035 from nxhack/hid_132
node-hid: update to 1.3.2
2020-11-27 00:27:40 -08:00
Rosen Penev
99b347905e
libroxml: switch to CMake
Added patch to fix compilation with gcc10.

Fixed license information.

Fix ABI_VERSION.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-26 23:55:08 -08:00
Rosen Penev
ca320864ec
libroxml: import from base
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-26 23:55:08 -08:00