If a configured 'plmn' is deleted from the configuration between a connection
setup, it will continue to be used because the modem remembers it.
Therefore, the 'plmn' stored in the modem must be deleted when a new
connection is established if it is no longer in the configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit fa6198e36b)
In the current implementation of the modemmanager 'proto', if a 'plmn' and a
'technology' is configured, the 'plmn' is set first and then second the
'technology' on a 'proto' setup.
However, this is problematic if a 'technology' has already been set in an
earlier run. It is possible, that this previously set 'technology' is not
available at the current location, as the modem remembers the setting.
To fix this, first set the technology and then the plmn.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 3a5aa8a387)
To improve the code, the setting of the 'plmn' is moved to separate function.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 8682084e34)
This settings are needed before any other mmcli command is executed.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9f35173639)
If the ModemManager is started with debug, all outputs are written to the
system log. To simplify debugging, a logging file is now created under
'/var/log/mm.log' in this case. This simplifies error analysis.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit b6664ae938)
Modify EXTRA_DEPENDS in package section to meet APK packaging
requirements.
Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
[ fix dependency also for nginx-full ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit ea5536c14c)
Update configuration in Makefile to fix#25168.
Add "/etc/openwisp/" to conf files.
Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
(cherry picked from commit 67d4fa3b05)
Adjust versioning to be compatible with apk.
As we fetch source via git commit hash, simply change - to .
in version string.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit bc14a5428b)
Having both double quotes and parentheses in package
description may lead into troublewith apk, if parentheses
are located so that they get passed "outside" the quoted
parameter, and get interpreted as a token for shell.
Example:
ash: -c: line 1: syntax error near unexpected token `('
bash: -c: line 1: `/OpenWrt/e8450/staging_dir/host/bin/fakeroot
/OpenWrt/e8450/staging_dir/host/bin/apk mkpkg --info "name:ddns
-scripts-pdns" --info "version:2.8.2-r51" --info "description:D
ynamic DNS Client scripts extension for "PowerDNS" via API. It
requires: "option param_opt(Optional Parameter)" to be a valid
Avoid that by using single quotes in the detailed descriptions.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit b74ca8feb2)
Bump fwupd to 2.0.1 and make libdrm support configurable.
Set libdrm support disabled by default.
This is needed to fix a problem with buildbot where libdrm dependency is
silently included as buildbot compile every package and library is found
in the system.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit fe5649f379)
Move uci-defaults file to run level 51, so it is executed immediately
after the attendedsysupgrade-common package's uci-defaults script.
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
(cherry picked from commit 712e403703)
If nls.mk is not included and BUILD_NLS is set compilation will fail with:
aarch64-openwrt-linux-musl-gcc atop.o version.o various.o deviate.o procdbase.o acctproc.o photoproc.o photosyst.o cgroups.o rawlog.o ifprop.o parseable.o showgeneric.o drawbar.o showlinux.o showsys.o showprocs.o atopsar.o netatopif.o netatopbpfif.o gpucom.o json.o utsnames.o -o atop -lncursesw -lz -lm -lrt -Lstaging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/usr/lib -Lstaging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lstaging_dir/target-aarch64_cortex-a53_musl/usr/lib -lglib-2.0 -lintl
staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/13.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld.bfd: cannot find -lintl: No such file or directory
collect2: error: ld returned 1 exit status
So make sure to include nls.mk.
Fixes: #25231
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 1f3fa379d3)
In dropping the dummy-package, also the extra dependency for
nginx-ssl-util needed to be dropped.
Fixes: #25250
Fixes: b75050d59e ("nginx-util: drop nginx-util dummy packages")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit f2e7f81307)
Nginx hardcode the libxml2 include path to /usr/include/libxml2. This
works in a local build as pretty much everyone have the libxml2 library
installed but doesn't on buildbot container as the library doesn't
exist.
This effectively makes the host library leak intro library detection but
doesn't actually link to it as linking is still done with the correct
library in staging dir.
To fix this add a patch to define custom libxml2 include directory
instead of hardcoding it to host library.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit c919fddfc1)
Enough transition period has passed for nginx-util dummy package. Finally
drop it for good and drop the extra dependency.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit b75050d59e)
Drop extra dependency <2 for nginx-util. The reason is not clear and
cause problems with APK package creation.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 9c563d536c)
Enough transition period has passed for nginx dummy package. Finally
drop it for good and add Provides for nginx default.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit ad14af942c)
Mute warning on procd init.d script enable as nginx_util is tried to be
called from /usr/bin host system. Limit it to be called only if
nginx-util is present.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 329d7e4f78)
Starting v4.0.0, netatalk brings back AppleTalk features lost in v3.
Updated description.
Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
(cherry picked from commit 09a2427c2a)
Updated title.
Updated description.
Reordered to match most common layout
Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
(cherry picked from commit 049a055b76)
Maintainer: Antonio Pastor / @APCCV
Compile tested: ipq806x (23.05.3, snapshot)
Run tested: ipq806x - C2600: start server, connect from MacOS, read/write files to home share, create/update TimeMachine backups
Description:
No changes to package other than using latest available upstream code base. Starting Netatalk 4.x build uses meson instead of autotools.
Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
(cherry picked from commit d0abe3d52d)
I don't think anyone uses this package, which currently does not build.
In addition, the cryptocurrency hype died off a long time ago.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* bump compat version to accommodate new strings
* improve the output() function (thanks @bigsmile74)
* implement support for user-configurable per-instance dnsmasq confdirs
for dnsmasq.conf|dnsmasq.ipset|dnsmasq.nftset options
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Update Makefile to include dependencies: conntrack and libmosquitto.
Conntrack: Added to resolve a bug in Apfree-Wifidog that caused long-lived user connections to persist after logout.
Libmosquitto: Integrated as a preparatory measure for future support of the MQTT protocol; implementation is still in progress.
For detailed information, please refer to the release notes:
https://github.com/liudf0716/apfree-wifidog/releases/tag/7.10.2082.
Additionally, a new /etc/wifidogx directory has been created to store the local authentication portal page for users uploading their own portal pages.
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
- Refactored wifidogx.init to improve code structure and readability.
- Added local authentication support, allowing authentication without a server.
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
* bump compat version to accommodate new strings
* update dnsmasq-related code to better support separate confdirs
for separate instances
* remove procd_lan_interface as it didn't reflect that it's a list of devices
* introduce procd_lan_device list
* improve the output() function (thanks @bigsmile74)
* remove duplicate uci_get_device
* improve ipv6 detection and interface setup
* improve dhcp force detection for interfaces name differently from lan
* fix array/element parameters for some json operations
* remove unneeded null redirects for `try` calls
* remove (iptables-only) capitalized chain names form validation
* working pbr-netifd flavor
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Move the init script to '50-attendedsysupgrade', so it is run in the
middle of the init sequence, rather than after all the explicitly
ordered ones. This allows later scripts, specifically the 99-level
ones, to modify the contents of the attendedsysupgrade configuration.
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>