Commit graph

351 commits

Author SHA1 Message Date
Stanislas FAYE 1730ceda70
release: bump version to 1.45.10 (development) 2024-01-15 16:02:07 +01:00
Ján Václav 9593651b50 release: bump version to 1.45.9 (development) 2023-12-14 11:49:45 +01:00
Thomas Haller b749c01091
build: bump dependency to glib-2.42
glib-2.42 brings G_PARAM_EXPLICIT_NOTIFY, which is interesting to use.

2.42.0 was released 2014-09-22, so it's very old. Bump from 2.40 to
2.42.0.
2023-12-11 12:43:31 +01:00
Beniamino Galvani 0f626a5ede release: bump version to 1.45.8 (development) 2023-11-29 14:27:20 +01:00
Íñigo Huguet 83a1ce39b0 release: bump version to 1.45.7 (development) 2023-11-16 11:37:32 +01:00
Michael Biebl 886cd58658 build: assume we have at least systemd v200
systemd v200 was released over 10 years ago.
It is thus reasonable to no longer support versions older than that and
simplify the build system a bit.
2023-11-03 07:19:08 +00:00
Beniamino Galvani d12a882845 release: bump version to 1.45.6 (development) 2023-11-01 18:24:55 +01:00
Íñigo Huguet 94ead251de release: bump version to 1.45.5 (development) 2023-10-18 11:06:37 +02:00
Beniamino Galvani 9b0b28acf7 release: bump version to 1.45.4 (development) 2023-10-04 14:54:57 +02:00
Beniamino Galvani 07b46b7873 release: bump version to 1.45.3 (development) 2023-09-22 13:58:50 +02:00
Beniamino Galvani 7a0d3f53fa release: bump version to 1.45.2 (development) 2023-09-06 14:53:48 +02:00
Beniamino Galvani 3f220e7dc5 release: bump version to 1.45.1 (development) 2023-08-09 18:05:00 +02:00
Beniamino Galvani d56e49a4ec release: bump version to 1.44.0 2023-08-09 17:52:19 +02:00
Beniamino Galvani 401ceb85bc release: bump version to 1.45.0 (development) 2023-07-26 16:54:34 +02:00
Beniamino Galvani 7b3a61c8e8 release: bump version to 1.43.90 (1.44-rc1) 2023-07-26 16:49:37 +02:00
Beniamino Galvani 52cca91dd2 build,core: add a "main.migrate-ifcfg-rh" configuration option
The option enables automatic migration of ifcfg-rh connection profiles
to keyfile. The default value can be configured at build time.
2023-07-25 15:39:06 +02:00
Beniamino Galvani a81de2fc8b release: bump version to 1.43.11 (development) 2023-07-12 16:56:31 +02:00
Jan Vaclav 9a5c7c7228 build: make modprobe path configurable
Extracts the hardcoded modprobe path used in `src/libnm-platform/nm-platform-utils.c` to the configurable MODPROBE_PATH macro
Merge request: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1689
Closes: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1257
2023-07-11 17:06:19 +02:00
Beniamino Galvani 9c90503ffe build: don't enable ifcfg-rh by default on RH distros
Now that the plugin is deprecated, it should be enabled only by
explicit user configuration.
2023-06-29 10:15:48 +02:00
Wen Liang a705975a9e systemd: merge branch systemd into main
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1666
2023-06-27 09:01:36 -04:00
Thomas Haller 85fc59d0e2
release: bump version to 1.43.10 (development) 2023-06-14 18:57:15 +02:00
Thomas Haller 3e66c0bde1
ppp: detect the ppp version in the configure script
Previously, the ppp version was only detected (and used) at one place,
in "nm-pppd-compat.c", after including the ppp headers. That was nice
and easy.

However, with that way, we could only detect it after including ppp
headers, and given the ugliness of ppp headers, we only want to include
them in "nm-pppd-compat.c" (and nowhere else).

In particular, 'nm-pppd-compat.c" uses symbols from the ppp daemon, it
thus can only be linked into a ppp plugin, not in NetworkManager core
itself. But at some places we will need to know the ppp version, outside
of the ppp plugin and "nm-pppd-compat.c".

Additionally, detect it at configure time and place it in "config.h".
There is a static assert that we are in agreement with the two ways of
detection.
2023-06-14 14:25:44 +02:00
Thomas Haller 5fa8d13d8d
release: bump version to 1.43.9 (development) 2023-05-31 16:51:13 +02:00
Beniamino Galvani b05cc4aa0a release: bump version to 1.43.8 (development) 2023-05-16 17:18:21 +02:00
Thomas Haller 2e3fabae50
release: bump version to 1.43.7 (development) 2023-05-03 16:20:35 +02:00
Beniamino Galvani 68c30bab16 release: bump version to 1.43.6 (development) 2023-04-19 13:51:50 +02:00
Thomas Haller afe80171b2
ppp: move ppp code to "nm-pppd-compat.c"
Using the ppp code is rather ugly.

Historically, the pppd headers don't follow a good naming convention,
and define things that cause conflicts with our headers:

  /usr/include/pppd/patchlevel.h:#define VERSION          "2.4.9"
  /usr/include/pppd/pppd.h:typedef unsigned char  bool;

Hence we had to include the pppd headers in certain order, and be
careful.

ppp 2.5 changes API and cleans that up. But since we need to support
also old versions, it does not immediately simplify anything.

Only include "pppd" headers in "nm-pppd-compat.c" and expose a wrapper
API from "nm-pppd-compat.h". The purpose is that "nm-pppd-compat.h"
exposes clean names, while all the handling of ppp is in the source
file.
2023-04-17 18:27:50 +02:00
Eivind Næss 8469c09a50
ppp, adding support for compiling against pppd-2.5.0
This change does the following
* Adding in nm-pppd-compat.h to mask details regarding different
  versions of pppd.
* Fix the nm-pppd-plugin.c regarding differences in API between
  2.4.9 (current) and latet pppd 2.5.0 in master branch
* Additional fixes to the configure.ac to appropriately set defines used
  for compilation
2023-04-16 21:05:07 +02:00
Eivind Næss 0324098afa
build: detect pppd version via pkg-config for PPPD_PLUGIN_DIR
Ppp 2.5 adds a pkg-config file, so we can detect the version.
Use it.

[thaller@redhat.com: split out patch]
2023-04-16 21:05:01 +02:00
Lubomir Rintel 23beb28771 release: bump version to 1.43.5 (development) 2023-04-05 13:45:17 +02:00
Thomas Haller d001bae6bd
release: bump version to 1.43.4 (development) 2023-03-22 19:01:14 +01:00
Lubomir Rintel 17935511a5 release: bump version to 1.43.3 (development) 2023-03-08 15:20:37 +01:00
Thomas Haller dd5e769f24
build: add test for checking consistency of "nm-autoptr.h" 2023-02-28 16:33:07 +01:00
Thomas Haller fdec6a97e8
vapi: add test for consistency of "vapi/NM-1.0.metadata" 2023-02-28 13:05:47 +01:00
Fabrice Fontaine 3a3ac89b53
meson.build: fix build failure with -Dmodem_manager=false
Fix the following build failure with -Dmodem_manager=false raised since
commit 03ba04d478 ('build: meson: add option to set the
mobile-broadband-provider-info database').

  ../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database".

http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Fixes: 03ba04d478 ('build: meson: add option to set the mobile-broadband-provider-info database')

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544
2023-02-21 14:56:15 +01:00
Heiko Thiery 03ba04d478
build: meson: add option to set the mobile-broadband-provider-info database
When building network-manager in cross-compile environment meson is not able
to detect the right location of the mobile-broadband-provider-info
database by using the pkg-config module.

By adding the option 'mobile_broadband_provider_info_database' to set the
correct path to the datafile this can be solved.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1519
2023-02-13 11:02:50 +01:00
Thomas Haller 72c0ae2efa
release: bump version to 1.43.2 (development) 2023-02-10 09:38:34 +01:00
Thomas Haller 119ed52038
release: bump version to 1.42.0 2023-02-10 09:14:28 +01:00
Thomas Haller 108885721e
meson: increase "default_test_timeout" to 3 minutes
Obviously, it would be nice if our unit tests are fast. However, with
valgrind and a busy machine, some of the tests can take a relatively
long time. In particular those, that are marked as "slow" (if you want
to skip them during development, do so via "NMTST_DEBUG=quick"
environment, or "CFLAGS=-DNMTST_TEST_QUICK=TRUE", see
"nm-test-utils.h").

Anyway. Our tests almost never hit the timeout, and if they do, the most
likely reason is that something was just slower then expected, and the
timeout is a bogus error.

Timeouts only act as last fail safe. It more important to avoid a false
(premature) timeout failure, than to minimize the wait time when the
test really hangs. Because a real hang is a bug anyway, that we will
discover and need to fix.

Increase the default test timeout for meson tests to 3 minutes.

Also, "test-route-linux" is known to take a long time. Increase that
timeout even further.

(cherry picked from commit 9ee42c0979)
2023-02-01 10:50:11 +01:00
Lubomir Rintel d976683417 release: bump version to 1.41.91 (1.42-rc2) (development) 2023-01-26 09:55:15 +01:00
Lubomir Rintel b36af7ce3f release: bump version to 1.43.1 (development) 2023-01-26 09:05:56 +01:00
Thomas Haller 9ee42c0979
meson: increase "default_test_timeout" to 3 minutes
Obviously, it would be nice if our unit tests are fast. However, with
valgrind and a busy machine, some of the tests can take a relatively
long time. In particular those, that are marked as "slow" (if you want
to skip them during development, do so via "NMTST_DEBUG=quick"
environment, or "CFLAGS=-DNMTST_TEST_QUICK=TRUE", see
"nm-test-utils.h").

Anyway. Our tests almost never hit the timeout, and if they do, the most
likely reason is that something was just slower then expected, and the
timeout is a bogus error.

Timeouts only act as last fail safe. It more important to avoid a false
(premature) timeout failure, than to minimize the wait time when the
test really hangs. Because a real hang is a bug anyway, that we will
discover and need to fix.

Increase the default test timeout for meson tests to 3 minutes.

Also, "test-route-linux" is known to take a long time. Increase that
timeout even further.
2023-01-20 13:22:38 +01:00
Thomas Haller 700cd20d4d
release: bump version to 1.43.0 (development) 2023-01-19 20:26:31 +01:00
Thomas Haller 093bbd0fcf
release: bump version to 1.41.90 (1.42-rc1) 2023-01-19 20:15:14 +01:00
Beniamino Galvani 58b7019b05 release: bump version to 1.41.8 (development) 2023-01-11 23:39:47 +01:00
Lubomir Rintel 9a67988f07 release: bump version to 1.41.7 (development) 2022-12-15 16:43:23 +01:00
Thomas Haller 68afa83c1c
build: enable "-Wcast-align" warning
It seems useful and might show something relevant.
2022-12-09 09:15:56 +01:00
Thomas Haller a14d65d06f
release: bump version to 1.41.6 (development) 2022-11-30 15:48:53 +01:00
Thomas Haller ac359371d7
release: bump version to 1.41.5 (development) 2022-11-18 07:48:32 +01:00
Thomas Haller abbacb1085
build: enable warnings "-Wint-conversion" and "-Wold-style-definition"
See https://lwn.net/Articles/913505/ .
2022-11-07 08:50:07 +01:00