| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Don't compile ovs support when the RPM is built --without=ovs, to fix
the following error:
error: Installed (but unpackaged) file(s) found:
/usr/lib/systemd/system/NetworkManager.service.d/NetworkManager-ovs.conf
/usr/lib64/NetworkManager/libnm-device-plugin-ovs.so
/usr/share/man/man7/nm-openvswitch.7.gz
Fixes: 830a5a14cb29ca00b73a9623c1ea7c5cd92f4d00
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This script comes handy to build from git tree without having to
install build dependencies on the system, the actual build happens
inside mock environment.
https://github.com/NetworkManager/NetworkManager/pull/34
|
|
|
|
| |
https://github.com/NetworkManager/NetworkManager/pull/31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add dhclient and iptables packages to build dependencies to satisfy
rpmbuild complaints:
```
error: Failed build dependencies:
dhclient is needed by NetworkManager-1:1.9.2-18653.43dba57439.fc28.x86_64
iptables is needed by NetworkManager-1:1.9.2-18653.43dba57439.fc28.x86_64
ERROR: rpmbuild FAILED
```
https://github.com/NetworkManager/NetworkManager/pull/33
|
|
|
|
| |
It will also be autodetected, but be explicit about it.
|
|
|
|
|
|
|
|
| |
Older logfiles contain
platform: route: adding or updating IPv4 route: 10.1.0
Hightlight that too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit d61eaf2545c819cab17c29c4c13a3a3bd94b38a6 ("service: don't
install dependency for "NetworkManager-wait-online.service" to
"network-online.target.wants") we no longer install NM-w-o.service
in "network-online.target.wants" directory.
Obviously, for previous RPM versions NM-w-o.service was always enabled.
For current versions, it depends now on the preset. Most importantly,
this allows the user to disable the service, without masking it.
Previously NM-w-o.service was always implicitly enabled.
But presets are not applied during package upgrade, so it means that
after upgrade the service will be disabled. Hack around that via an RPM
scriptlet.
https://bugzilla.redhat.com/show_bug.cgi?id=1455704
|
|
|
|
| |
Fixes: 9344013977bee9d17413a4ab18ad13a4b2244ac3
|
| |
|
|
|
|
|
|
|
|
| |
This isn't useful for contrib/fedora/rpm itself because here
the __SOURCE__ gets set by the build scripts.
But this spec file is copied to Fedora downstream where the
SOURCE URL is used.
|
|
|
|
|
|
|
|
|
| |
A newer compiler version might emit some warnings and break the build
of the RPM. Of course, such warnings must be fixed. But it is still very
inconvenient to break the build of an old RPM version without easy workaround.
When building without "test" (which is on by default), don't use fatal warnings
for compilation.
|
|
|
|
|
| |
When sourcing the file, using exec inside NM-show-journal is a bad idea,
because it replaces the calling shell.
|
|
|
|
|
| |
I find it annoying when ^C exits less and it prompts me to often
do `NM-log | less -R` instead.
|
|
|
|
|
| |
Must not colorize the trailing space, otherwise the following
" device" will no longer match.
|
|
|
|
|
|
|
|
| |
- remove "\r\n" line endings
- colorize <warn> and <error> in red
- extend matching the info levels to include the timestamp. This
(intentionally) will no longer highlight messages from ModemManager,
which don't include a timestamp.
|
|
|
|
|
|
|
|
|
|
| |
- use "grep -a" so that grep doesn't refuse to work in binary input.
- make the script source-able to only define the NM-colorize and
NM-show-journal
- In case the script is sourced, it also defines a NM-log function,
which does the same as the script itself.
- rename internal functions so that they have names starting with "NM"
in case of sourcing.
|
|
|
|
| |
To pretty print and colorize NetworkManager logfiles.
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the --quick option only mattered when creating
the source tarball, to run `make dist` instead of the slower
`make distcheck`.
Extend its meaning to also skip unit tests while building the RPM.
You still can enable them with
$ ./contrib/fedora/rpm/build_clean.sh -Q -w test
|
|
|
|
|
|
| |
The package no longer exists.
Fixes: 03586743f09c8c70b43025bce47d5b064bf8999f
|
|
|
|
|
|
|
| |
NetworkManager-wifi and NetworkManager-glib-devel should require
NetworkManager, not provide it.
https://bugzilla.redhat.com/show_bug.cgi?id=1454505
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to "network-online.target.wants"
If we install "NetworkManager-wait-online.service" in the
"network-online.target.wants" directory, network-online.target always
pulls in NetworkManager-wait-online.service. As it was, it could only
be disabled by masking the service.
Instead, we should enable NetworkManager-wait-online.sevice via
systemd's preset. That is already done for Fedora 26 and newer.
Note that NetworkManager-wait-online.sevice already has Install.WantedBy.
This way, the dependency is created automatically when enabling the service.
https://bugzilla.redhat.com/show_bug.cgi?id=1455704
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit 1afbf948a0825300ce395adc5706e1ffdca94d24,
"build: use different defaults for snapshot builds",
configure would enable debugging options if the version
number is odd.
Hence, on the master branch it was no longer possible to
build an RPM without debugging enabled. Especially,
./contrib/fedora/rpm/build_clean.sh -g -W debug
would not work as one would expect.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We already get a library dependency on
libnl-3.so.200()(64bit)
libnl-3.so.200(libnl_3)(64bit)
Drop the explicit package dependency, leaving only the
BuildRequires.
Also, all recent versions of libnl3 implement library versioning.
|
| |
|
|
|
|
| |
Fixes: faad17f9e8e804e89ffd5a779ed22871a77755e0
|
| |
|
|
|
|
| |
Fixes: b3e2808c322c7fcccf16e81baf258febe688c29e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"build_clean.sh" is used to generate a distribution tarball. The tarball
contains pregenerated man pages with default values for paths, which in
turn depend on the configure options when creating the tarball.
Previously, the man page would have paths like "usr/local/etc/NetworkManager/...",
which doesn't seem the best choice for a default man page.
Explicitly set the installation paths.
Also, --disable-dependency-tracking in this mode. It may speed up the
build.
|
| |
|
|
|
|
|
|
| |
libgudev is just a wrapper around libudev. We can
use libudev directly and drop the dependency for
libgudev.
|
|
|
|
|
|
|
| |
[lkundrak@v3.sk: removed libsoup altogether, implemented TODOs and fixed
the poll condition handling]
Co-authored-by: Lubomir Rintel <lkundrak@v3.sk>
|
|
|
|
|
| |
...instead of via libsoup. This makes it possible to do gTLD suffix checking
even if we're building without libsoup support.
|
| |
|
|
|
|
| |
They are unused since commit d2fd1b9fb7ef73f3bdeb5c68f1e382c1244a5012.
|
|
|
|
|
|
|
|
| |
We configurably use --enable-gtk-doc/--disable-gtk-doc, but
we always require --enable-introspection (due to --enable-vala).
Add the missing build requirement to the "xsltproc" binary, which is in
libxslt package.
|
|
|
|
|
| |
These are history and noone should be using them; special casing them is
essentially line noise.
|
|
|
|
|
| |
This is in fact the correct location, but dbus in RHEL 7 is still too
old to be able to use that.
|
|
|
|
|
| |
Instead of first creating it as "$TEMP/NetworkManager-${VERSION}.tar.xz"
and then copy it to "$TEMP/SOURCES".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"build_clean.sh"
When we create a source tarball, documentation and other generated files
are disted. Those files depend on the configure options when creating
the tarball. For example, the generated man pages contain the compile time
configurable default values.
For that reason, it is generally better to regenerate the documentation when
building NetworkManager. However, let's set explict configure options to
have a more reproducible way to generate the tarball.
When doing a release, you should not just call `make dist`. Instead, the
proper way of creating an official source tarball is:
$ ./contrib/fedora/rpm/build_clean.sh --srpm
|
|
|
|
| |
packages
|
| |
|
|
|
|
| |
The plugins should own it instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
version conflict
Since commit "c920909 contrib/rpm: put translations in
NetworkManager-libnm and NetworkManager-glib packages", both
subpackages install the same translation files without a direct
dependency between the two packages. Thus, if a user tries
to update only one of the two subpackages, it will fail
during the installation due to conflicting files.
Fix that by having the subpackages conflict (per version).
This way, the conflict is detected before starting the
installation.
https://bugzilla.redhat.com/show_bug.cgi?id=1406454
(cherry picked from commit b85b8ed6fa6c664fc3cf0472234a5fe9384011e0)
|
| |
|
| |
|
|
|
|
|
|
|
| |
The ppp package split was introduced during 1.5.3 development. Thus,
we obsolete packages < 1:1.5.3.
Also, add conditionals around ppp-devel build-requirement.
|