Commit graph

276 commits

Author SHA1 Message Date
Jan Tojnar
5d715e8396
networkmanager-openconnect: fix build
Something stopped propagating libxml2 recently, breaking the build, breaking GNOME tests.
2019-11-10 02:13:58 +01:00
Jan Tojnar
33f664ceee
networkmanager-openconnect: format with nixpkgs-fmt 2019-11-10 02:09:37 +01:00
Jan Tojnar
f849554226
Merge branch 'staging-next' into staging 2019-10-20 16:49:29 +02:00
Frederik Rietdijk
ad8bd84fc9 Merge master into staging-next 2019-10-20 16:22:45 +02:00
worldofpeace
1cb8e5d16e
Merge pull request #71163 from worldofpeace/nm-polkit-agent
networkmanager: enable polkit_agent
2019-10-18 23:59:10 +00:00
Symphorien Gibol
a37b9636f7 networkmanager-fortisslvpn: create the local state directory
Otherwise connecting simply fails:
VPN connection: failed to connect: 'La création du fichier « /tmp/lib/NetworkManager-fortisslvpn/0507e3ef-f0e0-4153-af64-b3d9a025877c.config.XSB19Z » a échoué : No such file or directory'
2019-10-18 19:49:56 -04:00
Frederik Rietdijk
c51c2f79b2 Merge master into staging-next 2019-10-18 12:26:11 +02:00
worldofpeace
ec8d2a3113 networkmanagerapplet: 1.8.22 -> 1.8.24 2019-10-15 16:32:38 -04: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
Jan Tojnar
b3fcd9375d
Merge branch 'master' into staging-next 2019-10-03 01:47:08 +02:00
Tor Hedin Brønner
ecc32f8df4 networkmanager_strongswan: fix build with glib-2.62 2019-09-30 19:39:50 +02:00
Tor Hedin Brønner
e732933aa7 networkmanager-iodine: fix build with glib-2.62 2019-09-30 19:39:48 +02:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
worldofpeace
61221dfdd5 networkmanager-iodine: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:46 -04:00
worldofpeace
233c878aa9 networkmanager-fortisslvpn: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:46 -04:00
worldofpeace
8d7adf0476 networkmanager-vpnc: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:46 -04:00
worldofpeace
43e14dbdd2 networkmanager-openconnect: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:46 -04:00
worldofpeace
d2680d9fc7 networkmanager-openvpn: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:09 -04:00
Vladimír Čunát
268872d996
Merge branch 'staging-next' into staging 2019-09-16 19:25:54 +02:00
Vladimír Čunát
b6c6e1f9e8
Merge branch 'master' into staging-next 2019-09-15 13:18:54 +02: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
Will Dietz
6654b52c8b
networkmanager-openconnect: 1.2.4 -> 1.2.6 2019-09-13 23:11:26 -05:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk
5061fe0c2c Merge staging-next into staging 2019-08-28 08:26:42 +02:00
worldofpeace
7bb8f05f12 treewide: use glib.{getSchemaPath, makeSchemaPath} 2019-08-26 21:28:17 -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
Frederik Rietdijk
8fa3fb092e
Merge pull request #65624 from worldofpeace/bump-networkmanager
networkmanager: 1.18.1 -> 1.18.2
2019-08-03 08:02:35 +02: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
worldofpeace
f4b9195e36
Merge pull request #62919 from dtzWill/update/networkmanager_strongswan-1.4.5
networkmanager_strongswan: 1.4.4 -> 1.4.5
2019-07-31 02:38:51 -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
e69a999095
networkmanager_strongswan: 1.4.4 -> 1.4.5 2019-06-09 21:54:55 -05:00
Will Dietz
b5f80fdd4c
networkmanagerapplet: 1.8.20 -> 1.8.22 2019-06-04 15:10:49 -05: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
worldofpeace
cc97412a26
Merge pull request #59339 from worldofpeace/elementary-updates-etcs
pantheon updates, etc.
2019-04-18 12:01:18 -04:00