Commit graph

800 commits

Author SHA1 Message Date
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
Lubomir Rintel a8284b1d3b 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')
2022-04-21 09:57:48 +02:00
Thomas Haller 47a46344c7
release: bump version to 1.39.2 (development) 2022-04-20 17:48:34 +02:00
Thomas Haller 5da17c689b
dns/unbound: drop deprecated "unbound" DNS plugin
The "unbound" DNS plugin was very rudimentary and is deprecated since
commit 4a2fe09853 ('man: mark [main].dns=unbound as deprecated') (Jun
2021).

It is part of dnssec-trigger tool, but the dnssec-trigger tool doesn't
actually use it. Instead it installs a dispatcher script
"/usr/lib/NetworkManager/dispatcher.d/01-dnssec-trigger".

Especially, since the plugin requires "/usr/libexec/dnssec-trigger-script",
which is provided by "dnssec-trigger" package on Fedora. At the same
time, the package provides the dispatcher script. So I don't this works
or anybody is using this.

https://mail.gnome.org/archives/networkmanager-list/2022-April/msg00002.html
2022-04-15 09:04:30 +02:00
Thomas Haller c20e3a72e2
release: bump version to 1.39.1 (development) 2022-04-14 13:42:16 +02:00
Thomas Haller fb5a1fa05e
release: bump version to 1.37.91 (1.38-rc2) (development) 2022-04-14 12:20:36 +02:00
Thomas Haller 5b6311ea07
release: bump version to 1.39.0 (development) 2022-04-06 18:51:55 +02:00
Thomas Haller 35f27f4511
release: bump version to 1.37.90 (1.38-rc1) 2022-04-06 18:39:01 +02:00
Thomas Haller 12299ee91e
build: drop "check-python-black" check from autotools
Previously, autotools would detect whether we have "black"
in the path. And if so, it would check formatting during `make check`.

That's problematic. When I run `./contrib/fedora/rpm/build_clean.sh -w test`
in certain cases, it would pick up black, but then fail with

  Traceback (most recent call last):
    File "/usr/bin/black", line 5, in <module>
      from black import patched_main
    File "/usr/lib/python3.6/site-packages/black.py", line 42, in <module>
      from attr import dataclass, evolve, Factory
  ModuleNotFoundError: No module named 'attr'
  make[3]: *** [Makefile:21658: check-python-black] Error 1

That's an installation error of black, but still, during package build
there is no need to check the formatting. We could export
`NMTST_SKIP_PYTHON_BLACK=1` to prevent it, but it's still unnecessary.

We check proper formatting in gitlab-ci. That is enough, it doesn't
need to run during `make check`. In particular, because `black .`
takes 1.5 seconds on my machine.
2022-04-01 14:01:45 +02:00
Lubomir Rintel bdcc85de76 release: bump version to 1.37.3 (development) 2022-03-24 21:36:26 +01:00
Thomas Haller 1c76c11b42
doc: rename "README" to "README.md"
By having a ".md" extension, gitlab renders a nice page instead of
showing as plain text.

Currently our README is pretty bad. Partly, because it doesn't get
shown nicely.

Rename. The file effectively was already markdown. The old file is
gone.

For this we also need to change the automake flavor to "foreign"
(See [1]).

[1] https://autotools.info/automake/options.html#automake.options.flavors
2022-03-21 17:19:47 +01:00
Beniamino Galvani 2ccfc86939 release: bump version to 1.37.2 (development) 2022-03-09 17:07:24 +01:00
Beniamino Galvani 392daa5dab core: fall back to loading all known settings plugins
Currently it is possible to specify a list of default settings plugins
to be used when configuration doesn't contain the main.plugins key.

We want to add a mechanism that allows to automatically load any
plugin found in the plugins directory without needing
configuration. This mechanism is useful when plugins are shipped in a
different, optional subpackage, to automatically use them.

With such mechanism, the actual list of plugins will be determined
(in order of evaluation):

 1. via explicit user configuration in /etc, if any
 2. via distro configuration in /usr, if any
 3. using the build-time default, if any
 4. looking for known plugins in /usr/lib
2022-03-06 09:12:06 +01:00
Beniamino Galvani f018afcd53 build: remove unused variable from configure.ac 2022-03-06 09:12:06 +01:00
Thomas Haller df94cb2116
man: add NetworkManager-wait-online.service.8 manual
NetworkManager-wait-online is a constant source of confusion,
as it seems to delay the boot (when it's often just the messenger
or either a network problem, a NetworkManager misconfiguration
or a misconfiguration of other systemd services).

Try to clear that up with a manual page.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1130
2022-03-02 16:09:16 +01:00
Lubomir Rintel 2c9d3ef6c7 release: bump version to 1.37.1 (development) 2022-02-24 19:31:09 +01:00
Lubomir Rintel ccb20e23e3 release: bump version to 1.36.0 2022-02-24 16:43:00 +01:00
Christian Eggers b26c9723d9
libnm-crypto: add new option for no cryptography
For some embedded systems, no cryptography is required at all (e.g when
only using Ethernet).

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1108
2022-02-21 19:12:27 +01:00
Lubomir Rintel 9024ff49a1 release: bump version to 1.35.92 (1.36-rc3) (development) 2022-02-19 14:00:08 +01:00
Lubomir Rintel 3d34f1b6b6 configure: determine the systemd unit directory from pkg-config
Ask systemd instead of hardcoding the path. While this is a bit nicer,
it should have precisely zero effect as the discovered path should be
the same as we were hard-coding.

We default to placing the unit file under the same $prefix as the user is
installing into. This seems to be the correct thing to do if the user is
installing to /usr/local (according to systemd-path(1),
/usr/local/lib/systemd/system is all right), but can install the unit
file into wrong path if the user chooses to install into some obscure
location. I guess it's their responsibility in the end.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1101
2022-02-17 10:44:28 +01:00
Lubomir Rintel 259999d55e release: bump version to 1.35.91 (1.36-rc2) (development) 2022-02-10 14:13:22 +01:00
Lubomir Rintel 51a182581f release: bump version to 1.37.0 (development) 2022-02-04 18:24:18 +01:00
Lubomir Rintel 7d0faf5077 release: bump version to 1.35.90 (1.36-rc1) 2022-02-04 18:14:15 +01:00
Thomas Haller ead18781ad
release: bump version to 1.35.7 (development) 2022-01-28 15:06:13 +01:00
Thomas Haller 2cf198d978
release: bump version to 1.35.6 (development) 2022-01-26 17:19:25 +01:00
Beniamino Galvani 0047d36fa2 release: bump version to 1.35.5 (development) 2022-01-14 09:55:53 +01:00
Beniamino Galvani 9133a30c9d release: bump version to 1.34.0 2022-01-13 16:33:22 +01:00
Thomas Haller 0cfaa63120
release: bump version to 1.35.4 (development) 2022-01-12 17:35:10 +01:00