Merge pull request #269662 from atorres1985-contrib/quick

remove jammerful
This commit is contained in:
Thiago Kenji Okada
2023-12-16 21:11:28 +00:00
committed by GitHub
7 changed files with 21 additions and 28 deletions
-6
View File
@@ -8184,12 +8184,6 @@
githubId = 1358764;
name = "Jamie Magee";
};
jammerful = {
email = "jammerful@gmail.com";
github = "jammerful";
githubId = 20176306;
name = "jammerful";
};
janik = {
name = "Janik";
email = "janik@aq0.de";
@@ -1,44 +1,43 @@
{pkgs, config, lib, ...}:
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.shibboleth-sp;
in {
options = {
services.shibboleth-sp = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = lib.mdDoc "Whether to enable the shibboleth service";
};
configFile = mkOption {
type = types.path;
example = literalExpression ''"''${pkgs.shibboleth-sp}/etc/shibboleth/shibboleth2.xml"'';
configFile = lib.mkOption {
type = lib.types.path;
example = lib.literalExpression ''"''${pkgs.shibboleth-sp}/etc/shibboleth/shibboleth2.xml"'';
description = lib.mdDoc "Path to shibboleth config file";
};
fastcgi.enable = mkOption {
type = types.bool;
fastcgi.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = lib.mdDoc "Whether to include the shibauthorizer and shibresponder FastCGI processes";
};
fastcgi.shibAuthorizerPort = mkOption {
type = types.int;
fastcgi.shibAuthorizerPort = lib.mkOption {
type = lib.types.int;
default = 9100;
description = lib.mdDoc "Port for shibauthorizer FastCGI process to bind to";
};
fastcgi.shibResponderPort = mkOption {
type = types.int;
fastcgi.shibResponderPort = lib.mkOption {
type = lib.types.int;
default = 9101;
description = lib.mdDoc "Port for shibauthorizer FastCGI process to bind to";
};
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.shibboleth-sp = {
description = "Provides SSO and federation for web applications";
after = lib.optionals cfg.fastcgi.enable [ "shibresponder.service" "shibauthorizer.service" ];
@@ -48,7 +47,7 @@ in {
};
};
systemd.services.shibresponder = mkIf cfg.fastcgi.enable {
systemd.services.shibresponder = lib.mkIf cfg.fastcgi.enable {
description = "Provides SSO through Shibboleth via FastCGI";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
@@ -59,7 +58,7 @@ in {
};
};
systemd.services.shibauthorizer = mkIf cfg.fastcgi.enable {
systemd.services.shibauthorizer = lib.mkIf cfg.fastcgi.enable {
description = "Provides SSO through Shibboleth via FastCGI";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
@@ -71,5 +70,5 @@ in {
};
};
meta.maintainers = with lib.maintainers; [ jammerful ];
meta.maintainers = with lib.maintainers; [ ];
}
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
license = licenses.asl20;
description = "A web based code review and repository management for the git version control system";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
maintainers = with maintainers; [ flokli jammerful zimbatm ];
maintainers = with maintainers; [ flokli zimbatm ];
platforms = platforms.unix;
};
}
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
meta = with lib; {
description = "A forked version of log4cpp that has been created for the Shibboleth project";
maintainers = [ maintainers.jammerful ];
maintainers = [ ];
license = licenses.lgpl21;
homepage = "http://log4cpp.sf.net";
};
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
description = "A low-level library written in C++ that provides support for producing and consuming SAML messages";
platforms = platforms.unix;
license = licenses.asl20;
maintainers = [ maintainers.jammerful ];
maintainers = [ ];
};
}
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
description = "Enables SSO and Federation web applications written with any programming language or framework";
platforms = platforms.unix;
license = licenses.asl20;
maintainers = [ maintainers.jammerful ];
maintainers = [ ];
};
}
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
description = "A low-level library that provides a high level interface to XML processing for OpenSAML 2";
platforms = platforms.unix;
license = licenses.asl20;
maintainers = [ maintainers.jammerful ];
maintainers = [ ];
};
}