Merge pull request #49631 from janikrabe/master

oidentd: 2.2.2 -> 2.3.1
This commit is contained in:
Renaud 2018-11-19 00:31:02 +01:00 committed by GitHub
commit 7f84561cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 12 deletions

View File

@ -28,8 +28,7 @@ with lib;
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "forking"; serviceConfig.Type = "forking";
script = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup" + script = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup";
optionalString config.networking.enableIPv6 " -a ::";
}; };
users.users.oidentd = { users.users.oidentd = {

View File

@ -1,19 +1,19 @@
{ stdenv, fetchurl }: { stdenv, fetchurl, bison, flex }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "oidentd-${version}"; name = "oidentd-${version}";
version = "2.2.2"; version = "2.3.1";
nativeBuildInputs = [ bison flex ];
CFLAGS = [ "--std=gnu89" ];
src = fetchurl { src = fetchurl {
url = "https://ftp.janikrabe.com/pub/oidentd/releases/${version}/${name}.tar.gz"; url = "https://files.janikrabe.com/pub/oidentd/releases/${version}/${name}.tar.gz";
sha256 = "1svj7ymljp4s17d7jlx6602n9081714qsj5yymmv1s9wagzjqyn9"; sha256 = "1sljid4jyz9gjyx8wy3xd6bq4624dxs422nqd3mcxnsvgxr6d6zd";
}; };
meta = { meta = with stdenv.lib; {
homepage = http://ojnk.sourceforge.net/; description = "Configurable Ident protocol server";
description = "An implementation of the IDENT protocol"; homepage = https://oidentd.janikrabe.com/;
platforms = stdenv.lib.platforms.linux; license = licenses.gpl2;
platforms = platforms.linux;
}; };
} }