Unverified Commit f3e877c2 authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

gsignond: remove (#399421)

parents c138df6c 7cef973e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -161,6 +161,8 @@

- The `haka` package and module has been removed because the package was broken and unmaintained for 9 years.

- The `gsignond` package, plugins and module have been removed because they were unmaintained for 6 years.

- `strawberry` has been updated to 1.2, which drops support for the VLC backend and Qt 5. The `strawberry-qt5` package
  and `withGstreamer`/`withVlc` override options have been removed due to this.

+0 −1
Original line number Diff line number Diff line
@@ -554,7 +554,6 @@
  ./services/desktops/gnome/rygel.nix
  ./services/desktops/gnome/sushi.nix
  ./services/desktops/gnome/tinysparql.nix
  ./services/desktops/gsignond.nix
  ./services/desktops/gvfs.nix
  ./services/desktops/malcontent.nix
  ./services/desktops/neard.nix
+3 −0
Original line number Diff line number Diff line
@@ -299,6 +299,9 @@ in
      See https://www.isc.org/blogs/isc-dhcp-eol/ for details.
      Please switch to a different implementation like kea or dnsmasq.
    '')
    (mkRemovedOptionModule [ "services" "gsignond" ] ''
      The corresponding package was unmaintained, abandoned upstream, used outdated library and thus removed from nixpkgs.
    '')
    (mkRemovedOptionModule [ "services" "haka" ] ''
      The corresponding package was broken and removed from nixpkgs.
    '')
+0 −46
Original line number Diff line number Diff line
# Accounts-SSO gSignOn daemon
{
  config,
  lib,
  pkgs,
  ...
}:
let
  package = pkgs.gsignond.override { plugins = config.services.gsignond.plugins; };
in
{

  meta.maintainers = [ ];

  ###### interface

  options = {

    services.gsignond = {

      enable = lib.mkOption {
        type = lib.types.bool;
        default = false;
        description = ''
          Whether to enable gSignOn daemon, a DBus service
          which performs user authentication on behalf of its clients.
        '';
      };

      plugins = lib.mkOption {
        type = lib.types.listOf lib.types.package;
        default = [ ];
        description = ''
          What plugins to use with the gSignOn daemon.
        '';
      };
    };
  };

  ###### implementation
  config = lib.mkIf config.services.gsignond.enable {
    environment.etc."gsignond.conf".source = "${package}/etc/gsignond.conf";
    services.dbus.packages = [ package ];
  };

}
+0 −12
Original line number Diff line number Diff line
diff --git a/meson.build b/meson.build
index cb1e0df..d90c85c 100644
--- a/meson.build
+++ b/meson.build
@@ -95,6 +95,6 @@ endif
 configure_file(
     input: 'gsignond.conf.in',
     configuration: conf_data,
-    install_dir: sysconf_dir,
+    install_dir: 'etc/',
     output: 'gsignond.conf'
 )
Loading