Commit graph

126 commits

Author SHA1 Message Date
Bernardo Meurer
d5ba79c467
network-manager: 1.20.4 -> 1.20.6 2019-11-17 19:40:53 -08:00
worldofpeace
d1d380729b networkmanager: add worldofpeace to maintainers 2019-11-03 10:50:04 -05:00
worldofpeace
e88fb2dca2 networkmanager: fix PPPD_PATH
Fixes #72330

Upstream MR: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/323
2019-11-03 10:50:04 -05:00
worldofpeace
15b0cff112 networkmanager: enable polkit_agent
Not sure why we had this disabled.
This is for the nmcli/nmtui `agent` subcommand [0]
which allows it to act as a polkit agent.

> nmcli agent { secret | polkit | all }
> Run nmcli as a NetworkManager secret agent, or polkit agent.

For example, this is useful if you want to use nmcli/nmtui to authenti-
cate with polkit on a headless server.

[0]: https://developer.gnome.org/NetworkManager/stable/nmcli.html
2019-10-14 23:45:23 -04:00
worldofpeace
ea7918fd0d networkmanager: 1.20.2 -> 1.20.4
* fix-paths.patch
We had to add a diff to revert [0] as it makes it use the python
from meson which won't be the specific pythonForDocs that
has pygobject (breaking the build). Unfortunate that upstream
made assumptions like "Of course, who needs a way to invoke
the interpreter that works accross different distributions!"

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/1.20.4/NEWS

[0]: c162dc00e5
2019-10-14 15:15:18 -04:00
worldofpeace
1ff3a0c498 networkmanager: 1.18.2 -> 1.20.2
* libnm-glib is gone 👋️
* correct dbus_conf_dir
* remove legacy service symlink
* upstream defaults to 'internal' for dhcp
  NixOS module reflects this.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/1.20.2/NEWS
2019-09-14 09:01:46 -04:00
Will Dietz
447d625edc networkmanager,modemmanager: fix service symlinks for systemd v243
Fixes problems such as:

systemd[1]: Failed to put bus name to hashmap: File exists
systemd[1]: dbus-org.freedesktop.nm-dispatcher.service: Two services allocated for the same bus name org.freedesktop.nm_dispatcher, refusing operation.

Problem is that systemd treats symlinks to files outside the service
path differently, causing our old workaround to look like two separate services.

These symlinks are intended to be a means for manually emulating
the behavior of the `Alias=` directive in these services.
Unfortunately even making these symlinks relative isn't enough,
since they don't make it to where it matters--
that only makes the links in /etc/static/systemd/system/*
relative, with systemd still being shown non-relative links
in /etc/systemd/system/*.

To fix this, drop all of this at the package level
and instead simply specify the aliases in the NixOS modules.

Also handle the same for modemmanager,
since the networkmanager NixOS module also handles that.
2019-09-14 08:05:27 -04:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Paul TREHIOU
1e2ad9e6bc networkmanager: hardcode parts of the source URL (#67100)
Broke the build as the pname variable was used to create the URL
Introduced by 46420bbaa3
2019-08-20 17:05:19 -04:00
Rickard Nilsson
225e412edb Remove myself as maintainer of some packages. 2019-08-20 15:24:01 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Will Dietz
de3bbbf46c networkmanager: libaudit yes but disabled by default 2019-07-31 02:55:25 -04:00
Will Dietz
ee409c1cc1 networkmanager: disable dhcpcanon instead of assuming in /usr/* 2019-07-31 02:55:15 -04:00
worldofpeace
3c77163d46 networkmanager: 1.18.1 -> 1.18.2
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/1.18.2/NEWS
2019-07-31 02:54:59 -04:00
R. RyanTM
6daac686c5 networkmanager: 1.18.0 -> 1.18.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/network-manager/versions
2019-06-18 11:16:20 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
666bcbeb5a
Merge pull request #60903 from dtzWill/fix/networkmanager-sed-path
networkmanager: sed from gnused, not coreutils! fix bad path
2019-05-07 22:50:58 -05:00
Jan Tojnar
e99ff9b98d
networkmanager: Stop using libredirect for building introspection (#60909)
networkmanager: Stop using libredirect for building introspection
2019-05-05 16:10:38 +02:00
Jan Tojnar
6f7e06bd5a
networkmanager: Stop using libredirect for building docs
Our gobject-introspection patches make the shared library paths absolute
in the GIR files. When building docs, the library is not yet installed,
though, so we need to replace the absolute path with a local one during build.

Previously we used LD_PRELOAD to load libredirect and rewrite the installed paths
to ones in the build directory. That was unnecessary complicated and many people
spent whole night trying to figure out why it breaks some programs.

Using a symlink from the installed location to the build directory fixes
the issue as well, while having much less moving parts, thus being easier to grasp.
The symlink will be overridden during installation.
2019-05-04 05:47:04 +02:00
Will Dietz
5ce6bfea53 networkmanager: sed from gnused, not coreutils! fix bad path 2019-05-03 19:58:00 -05:00
Jan Tojnar
47bf62c0c9
networkmanager: no need for parallel building flag, drop
Per reviewer feedback, thanks!

Co-Authored-By: dtzWill <github@wdtz.org>
2019-04-26 14:56:27 -05:00
Will Dietz
b0537770d9 networkmanager: 1.16.0 -> 1.18.0
* build w/iwd support since it's free (no dep required!)
* move to iputils for minor utilities, instead of inetutils
* parallel building :)

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/raw/1.18.0/NEWS
2019-04-22 22:12:53 -05:00
Jan Tojnar
a961a289a9
networkmanager: port to Meson
All hail Meson!

One serious issue is that building docs does not work.

We patch gobject-introspection to use absolute paths for shared libraries
in GIR files. Building the NetworkManager docs relies on the produced
introspection data but since the library is not yet installed
at the time the docs are generated, the build will fail.

It works in Autotools for some reason; they probably use
the pregenerated GIRs from the tarball.

Disabling the docs completely is not possible at the moment either,
since nmc [depends on them][1].

I have decided to fix this by pointing the installed location to the one
in the build directory using libredirect. Unfortunately, we cannot just set
the environment variables directly, since the build system runs
the documentation generator in a clean environment.

I have also added man, doc and devdoc outputs so the generated files have
somewhere to go.

Secondly, since Nix store is immutable, we also cannot use the package prefix
for configuration and mutable state data. At the same time, we cannot write
to the appropriate global directories during build. Autotools allowed to change
this in installFlags but Meson lacks similar mechanism so we need to patch
the build files.

Finally, I also removed the at_console patch since the permission has been
removed in 0.9.10.

[1]: https://bugzilla.gnome.org/show_bug.cgi?id=796755
2019-04-22 12:10:10 +02:00
Bob van der Linden
15d239fa2c
network-manager: /var/run -> /run 2019-04-11 20:05:34 +02:00
Tor Hedin Brønner
99d4472db2
networkmanager: 1.14.4 -> 1.16.0
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/1.16.0/NEWS
2019-04-05 12:13:28 +02:00
Florian Klink
69cd72b3e1 network-manager: add legacy service name as fallback
This prevents NetworkManager from not starting back up while switching
configurations.

This can be removed once 19.10 is released.
2019-03-20 00:36:33 +01:00
Jörg Thalheim
b488c60cdb network-manager: rename systemd service back to match upstream
Compatibility with other distributions/software and expectation
of users coming from other systems should have higher priority over consistency.
In particular this fixes #51375, where the NetworkManager-wait-online.service
broke as a result of this.
2019-03-19 23:48:08 +01:00
Will Dietz
c39fb495dd
networkmanager: 1.14.4 -> 1.14.6 (#56253)
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/1.14.6/NEWS
2019-02-23 23:21:36 -06:00
worldofpeace
36c5f30d24 networkmanager: cleanup using more placeholder 2019-01-02 02:07:27 -05:00
Jan Tojnar
f748cc85bd network-manager: fix paths 2019-01-02 02:07:27 -05:00
Will Dietz
be14e9fa29 networkmanager: 1.12.2 -> 1.14.4 2019-01-02 02:07:27 -05:00
Jan Tojnar
a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
Will Fancher
0e0577e2e2 networkmanager: Fix patches with fetchpatch and updated hashes 2018-10-11 16:29:28 -04:00
Florian Klink
24726a35d9 networkmanager: fix compile error due to NM_AVAILABLE_IN_1_12_2 macro 2018-08-04 01:32:45 +02:00
Florian Klink
88b2b6c71c network-manager: 1.12.0 -> 1.12.2
fix VPN activation through nm-applet (#43806),
upstream bug https://gitlab.gnome.org/GNOME/network-manager-applet/issues/12
2018-08-04 01:08:25 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jan Tojnar
f6e83edf36
networkmanager: 1.10.6 → 1.12.0 2018-07-05 23:43:35 +02:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Jan Tojnar
0973618e4e
gnome3: automated update 2018-03-22 07:46:42 +01:00
Jan Tojnar
4695569260
Revert "networkmanager: 1.10.2 → 1.10.4"
This reverts commit d5d7fa4c03.
2018-03-16 03:09:06 +01:00
Jan Tojnar
d5d7fa4c03
networkmanager: 1.10.2 → 1.10.4 2018-03-15 02:23:46 +01:00
Jan Tojnar
7222006157
networkmanager: add updateScript 2018-03-15 02:23:43 +01:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
adisbladis
405e53ab71
networkmanager: 1.10.0 -> 1.10.2 2018-01-28 06:59:46 +08:00
adisbladis
0e812b717a
networkmanager: 1.8.2 -> 1.10.0 2017-11-11 13:11:44 +08:00
Bastian Köcher
adec41e573 network-manager: 1.6.2 -> 1.8.2 2017-09-15 08:49:38 +02:00
montag451
21ef8d5c89 network-manager: fix hard-coded path for modprobe 2017-07-07 18:12:46 +02:00
Masayuki Takeda
69153f12e4 networkmanager: fix arping path 2017-06-24 14:46:16 +02:00
timor
1d56c2fa43 NetworkManager: fix openconnect for console tools
This patch allows `nmcli` and `nmtui to work correctly with
openconnect.  This is dony by hard-coding the openconnect binary location.

see #25915
2017-05-29 17:24:22 +01:00
Tuomas Tynkkynen
0537320062 networkmanager: Temporarily disable -Wformat-security until next release
Reportedly this is due to GLib 2.52 which added a G_GNUC_PRINTF attribute to
g_dbus_message_new_method_error().
2017-04-24 20:01:22 +03:00