mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #49631 from janikrabe/master
oidentd: 2.2.2 -> 2.3.1
This commit is contained in:
commit
7f84561cc3
@ -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 = {
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user