Commit graph

827 commits

Author SHA1 Message Date
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
Thomas Haller e37a15acad
all: avoid "==" bashism in scripts 2023-05-18 09:16:41 +02:00
Thomas Haller e7aa33ebfd
build/autotools: avoid checking twice for libcurl
We check once conditionally for enable_concheck, and once for
with_nm_cloud_setup. Don't do it twice.
2023-05-18 09:16:41 +02:00
Thomas Haller 701171d99a
build: don't mark nm-cloud-setup as EXPERIMENTAL in build script 2023-05-18 09:16:31 +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 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
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 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 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 311c97a83e
release: bump version to 1.41.4 (development) 2022-11-02 18:13:08 +01:00
Beniamino Galvani 48dbd02d08 release: bump version to 1.41.3 (development) 2022-10-11 14:21:03 +02:00
Thomas Haller cfc36db2b7
release: bump version to 1.41.2 (development) 2022-09-08 10:31:30 +02:00
Thomas Haller 7a0c2f8be9
release: bump version to 1.41.1 (development) 2022-08-26 19:28:11 +02:00
Ana Cabral 5d4802f7d8 release: bump version to 1.40.0 2022-08-26 16:41:39 +02:00
Ana Cabral 711f69fb73 release: bump version to 1.41.0 (development) 2022-08-15 18:18:45 -03:00
Ana Cabral b2a6b9fcc7 release: bump version to 1.39.90 (1.40-rc1) 2022-08-15 18:13:18 -03:00
Thomas Haller 4ed6c647b9
build/autotools: fix detecting compiler warning for "-Wno-gnu-variable-sized-type-not-at-end" 2022-08-11 19:50:09 +02:00
Lubomir Rintel d7c82945b5 release: bump version to 1.39.12 (development) 2022-07-29 16:00:57 +02:00
Beniamino Galvani a5e81b4eed release: bump version to 1.39.11 (development) 2022-07-27 22:20:12 +02:00
Lubomir Rintel 34c1497ee4 release: bump version to 1.39.10 (development) 2022-07-13 15:39:16 +02:00
Lubomir Rintel 880bec0f4f release: bump version to 1.39.9 (development) 2022-07-07 14:53:15 +02:00
Lubomir Rintel 02685e990e release: bump version to 1.39.8 (development) 2022-06-30 16:18:01 +02:00
Martin Blanchard 19a6affd3a build: stop relying on intltool for i18n
Recent gettext version can extract and merge back strings from and to
various file formats, no need for intltool anymore.

https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/133

https://github.com/NetworkManager/NetworkManager/pull/303
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/96

Clarification about the use of AM_GNU_GETTEXT_REQUIRE_VERSION:

In configure.ac, specify the minimum gettext version we require, rather
than the exact one. This fixes a situation where the autoconf macros
used for gettext will be the latest available on the system (for
example, 0.20); but the copied-in Makefile.in.in will be for the exact
version specified in configure.ac (in this case, 0.19).

In that situation, the gettext build rules will error out at `make` time
with the message:
   *** error: gettext infrastructure mismatch: using a Makefile.in.in
   from gettext version 0.19 but the autoconf macros are from gettext
   version 0.20

Avoid that by specifying a minimum version dependency rather than an
exact one. This should not cause problems as we haven’t committed any
generated or external gettext files into git, so each developer will end
up regenerating the build system for their system’s version of gettext,
as expected.

See the subsection of
https://www.gnu.org/software/gettext/manual/html_node/Version-Control-Issues.html
for more information.

Note that autoreconf currently doesn’t recognise
AM_GNU_GETTEXT_REQUIRE_VERSION, so we must continue also using
AM_GNU_GETTEXT_VERSION. autopoint will ignore the latter if the former
is present. See
https://lists.gnu.org/archive/html/autoconf-patches/2015-10/msg00000.html.

[lkundrak@v3.sk: Fixed the meson build, adjusted autogen.sh:
droped "|| exit 1", dropped call to aclocal,
dropped --copy from gtkdocize.]
2022-06-27 13:40:09 +02:00
Lubomir Rintel c861a7e1d8 release: bump version to 1.39.7 (development) 2022-06-15 17:49:23 +02:00
Thomas Haller 68aafe4942
build: print python path for autotools 2022-06-02 14:04:12 +02:00
Beniamino Galvani 3d272d264c release: bump version to 1.39.6 (development) 2022-06-01 16:40:28 +02:00
Ana Cabral b5829c9ac1 release: bump version to 1.39.5 (development) 2022-05-19 11:17:27 +02:00
Thomas Haller e2476b1063
release: bump version to 1.39.4 (development) 2022-05-16 09:44:50 +02:00
Thomas Haller d4d001c771
build/meson: honor prefix for dbus_conf_dir
Otherwise, we will try to install "src/nm-dispatcher/nm-dispatcher.conf"
to "/usr/share/dbus-1/system.d", which is not correct, when we want a separate
prefix.
2022-05-13 15:46:55 +02:00
Thomas Haller 5704730a6c
release: bump version to 1.38.0 2022-05-13 11:13:34 +02:00
Thomas Haller 331a7c9943
build/autotools: cleanup udev-dir option in configure.ac
- also accept empty value to autodetect. This makes it similar
  to what is done with meson.
- log the chosen udev-dir.
- use ${prefix} instead of $(prefix). It's usually used at other
  places.
2022-05-11 15:20:38 +02:00
Thomas Haller 298784aa92
release: bump version to 1.39.3 (development) 2022-05-04 14:59:31 +02:00
Thomas Haller a845a3425f
release: bump version to 1.37.92 (1.38-rc3) (development) 2022-05-04 14:33:32 +02:00
Lubomir Rintel 3b06ee7c4e configure.ac: fix a syntax error
Fixes this error:

  checking whether more special flags are required for pthreads... no
  checking for PTHREAD_PRIO_INHERIT... yes
  ./configure: line 30294: ,as_fn_error: command not found
  checking for a Python interpreter with version >= 3... python
  checking for python... /usr/bin/python

Fixes: 3affccf29b ('tests: fix undefined references to pthread')
(cherry picked from commit a8284b1d3b)
2022-04-21 09:58:56 +02:00