Currently, rrdtool1 produces the following build error
for various C files while building with GCC 15:
In file included from rrd_tool.h:93,
from rrd_cgi.c:11:
getopt.h:108:12: error: conflicting types for 'getopt'; have 'int(void)'
108 | extern int getopt ();
| ^~~~~~
In file included from include/fortify/unistd.h:22,
from rrd_tool.h:56:
include/unistd.h:127:5: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)'
127 | int getopt(int, char * const [], const char *);
| ^~~~~~
This adds -std=gnu17 to TARGET_CFLAGS to fix the compilation error.
Signed-off-by: Til Kaiser <mail@tk154.de>
Description:
1. Avoid error on nil value by skipping over it
2. Adds a newline to error messages
Signed-off-by: Amos Shapira <amos.shapira@gmail.com>
[bump version]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
The provided Config.in was never sourced from the Makefile, making it
impossible to toggle TLS support.
This commit adds the necessary Makefile glue to fix this.
Also default to TLS disabled, as was the de-facto case since Config.in
was never sourced (and thus the default 'y' never enabled).
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
This package intercepts/blocks traffic from 'interface' and
redirects http requests to a splash page that you can personalize,
stored in '/etc/simple-captive-portal/'.
After clicking on 'connect' the MAC of the client is allowed,
for 'timeout' seconds (24h), allowing both IPv4 and IPv6.
If your guest interface defaults to input drop or reject (recommended),
make sure to allow tcp 8888-8889 on input (and also dns and dhcp).
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Use CONFIGURE_ARGS instead of defining a custom Build/Configure target.
Set --disable-asm on armeb to fix build error:
CC apiwrapper.lo
In file included from state.h:56,
from apiwrapper.h:24,
from apiwrapper.c:21:
arm/armint.h:24:5: error: #error "Big-endian configurations are not supported by the ARM asm. " "Reconfigure with --disable-asm or undefine OC_ARM_ASM."
24 | # error "Big-endian configurations are not supported by the ARM asm. " \
| ^~~~~
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
If users are building icu we need to depend on the corresponding
shared objects to avoid missing library dependencies, for example:
libicui18n.so.77
libicuuc.so.77
Signed-off-by: John Audia <therealgraysky@proton.me>
Use git format-patch to be able to use git am later, to fixopenwrt/openwrt#10272 .
Remove patch to skip tests as not needed anymore.
Then apply refresh.
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
This is no longer required after commit openwrt/procd@2e206dbe77
("service: add support for triggers on service/instance data changes").
Also remove unused 'name' field.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Building sox_ng under certain environments inadvertantly tries to include Speex code.
This patch forces sox_ng to build without Speex codec references.
Signed-off-by: Ted Hess <thess@kitschensync.net>
https://www.samba.org/samba/history/samba-4.22.2.html
Removed upstreamed:
101-do-not-check-xsltproc-manpages.patch
105-perl-json-pp.patch
Removed due to build failure:
104-samba-4.12-unbundle-icu.patch
Added:
104-fix-build-on-aarch64-and-risc.patch[1]
Makefile:
Removed section on --accel-aes due to upstream dropping support
Added line to correct fcntl check in cross-answers.txt
1. For aarch64 and risc64, the discard_const macro is used to remove
const qualifiers from string literals, but casting a string literal’s
address to uintptr_t and then to void * is not a constant expression in
some compilers or environments e.g. the musl libc and aarch64/risc64
combination seems to enforce stricter rules for constant initializers
or pointer/integer size handling compared to glibc-based systems.
Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64
Signed-off-by: John Audia <therealgraysky@proton.me>
OpenVPN does work without the kernel module, it just won't be able to use DCO.
To make life easier for OpenVPN users on very space-constrained devices make it
an optional dependency.
Signed-off-by: Dennis Camera <dennis.camera+openwrt@riiengineering.ch>
Enable the DCO option by default in the openvpn package to allow for
better performance and have a use case for kmod-ovpn-dco-v2 :-)
Signed-off-by: Dennis Camera <dennis.camera+openwrt@riiengineering.ch>
Upstream continued developement for SoX (abandoned project v14.4.x)
Added support for opus audio format and wavpack in new builds
Signed-off-by: Ted Hess <thess@kitschensync.net>
Libmcrypt has not seen any updates for years. Distributions have started
patching libmcrypt to comply with C99 and recent versions of GCC,
but none of the OpenWrt packages require it anymore. The last OpenWrt
package to require libmcrypt was php8-pecl-mcrypt. OpenWrt dropped that
package with commit 1a0c8b72.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Update nano editor to version 8.5.
Upstream has fixed the gnulib related cross-compilation problem,
so remove the config hack that was added at the 8.4 update.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This patch was upstreamed [1], so it can be removed in the future.
For now, I added patch header, so it can be applied with `git am`
and also, we know who commited such changes.
[1] 951b6940f4
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
As a replacement for this project despite it was resurrected,
it is not maintained.
We added stress-ng [1], which is regularly updated and
gets new features and there is no reason to have two packages
in this repository.
[1] fba6bb9489 ("stress-ng: add")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This changes a number of PKG_SOURCE_URLs that were using the http protocol to use https if available.
HTTPS was verified as functioning for the updated hosts.
Signed-off-by: Daniel Cousens <github@dcousens.com>
If nls.mk is not included and BUILD_NLS is set compilation
will fail with various undefined references to the libiconv
library. So this commit includes the missing nls.mk.
Signed-off-by: Til Kaiser <mail@tk154.de>
Maintainer: me
Compile tested: mips, ath79, OpenWrt SNAPSHOT
Description:
Development container configuration.
The container can run locally or in cloud (Codespaces).
Sample usage: easily open full-featured VS Code IDE in browser,
pre-configured for OpenWrt packages development.
When run in the Codespaces, the packages repo is found in /workspaces/packages.
To add it to the feeds, run inside the container:
$ sed -i '1s;^;src-link workspaces /workspaces/packages\n;' ~/feeds.conf.default
Signed-off-by: Andrey Butirsky <butirsky@gmail.com>
* fixed the restore rc handling
* skip allowlist entries during map creation
* disable the map button by default (only enabled if map & NFT counter are selected)
* disable the content filter checkbox for elements with hits by default (only enabled if NFT counter are selected)
* readme update
Signed-off-by: Dirk Brenken <dev@brenken.org>
Files in `/etc/profile.d/` are marked as user configs and won't be
replaced to new version when update the package, so add a migration
script for this.
Fixes: #26709
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This patch was introduced by me in commit
62513dc576 ("mc: fix mouse handling")
and that commit backported patch from master branch and it that time,
there was not any release, which included it.
Since 4.8.2.5 update, we are still rebasing it, no need to do that.
Fixes: eb0c3b534a ("mc: update to 4.8.25")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>