Merge pull request #111009 from markuskowa/upd-isns

open-isns: 0.99 -> 0.100
This commit is contained in:
markuskowa 2021-01-28 23:58:44 +01:00 committed by GitHub
commit e29bef4b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 11 deletions

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, gettext { lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, gettext
, util-linux, openisns, openssl, kmod, perl, systemd, pkgconf , util-linux, open-isns, openssl, kmod, perl, systemd, pkgconf
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "2.1.3"; version = "2.1.3";
nativeBuildInputs = [ autoconf automake gettext libtool perl pkgconf ]; nativeBuildInputs = [ autoconf automake gettext libtool perl pkgconf ];
buildInputs = [ kmod openisns.lib openssl systemd util-linux ]; buildInputs = [ kmod open-isns.lib openssl systemd util-linux ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "open-iscsi"; owner = "open-iscsi";

View File

@ -1,16 +1,29 @@
{ lib, stdenv, openssl, fetchFromGitHub }: { lib, stdenv, openssl, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "open-isns"; pname = "open-isns";
version = "0.99"; version = "0.100";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gonzoleeman"; owner = "open-iscsi";
repo = "open-isns"; repo = "open-isns";
rev = "v${version}"; rev = "v${version}";
sha256 = "0m294aiv80rkihacw5094093pc0kd5bkbxqgs6i32jsglxy33hvf"; sha256 = "0d0dz965azsisvfl5wpp1b7m0q0fmaz5r7x5dfybkry551sbcydr";
}; };
patches = [
(fetchpatch {
name = "deprecated-sighold-sigrelease";
url = "https://github.com/open-iscsi/open-isns/commit/e7dac76ce61039fefa58985c955afccb60dabe87.patch";
sha256 = "15v106xn3ns7z4nlpby7kkm55rm9qncsmy2iqc4ifli0h67g34id";
})
(fetchpatch {
name = "warn_unused_result";
url = "https://github.com/open-iscsi/open-isns/commit/4c39cb09735a494099fba0474d25ff26800de952.patch";
sha256 = "1jlydrh9rgkky698jv0mp2wbbizn90q5wjbay086l0h6iqp8ibc3";
})
];
propagatedBuildInputs = [ openssl ]; propagatedBuildInputs = [ openssl ];
outputs = [ "out" "lib" ]; outputs = [ "out" "lib" ];
outputInclude = "lib"; outputInclude = "lib";
@ -20,10 +33,11 @@ stdenv.mkDerivation rec {
installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ]; installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ];
installTargets = [ "install" "install_hdrs" "install_lib" ]; installTargets = [ "install" "install_hdrs" "install_lib" ];
meta = { meta = with lib; {
description = "iSNS server and client for Linux"; description = "iSNS server and client for Linux";
license = lib.licenses.lgpl21; license = licenses.lgpl21Only;
homepage = "https://github.com/gonzoleeman/open-isns"; homepage = "https://github.com/open-iscsi/open-isns";
platforms = lib.platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.markuskowa ];
}; };
} }

View File

@ -412,6 +412,7 @@ mapAliases ({
oblogout = throw "oblogout has been removed from nixpkgs, as it's archived upstream."; # added 2019-12-10 oblogout = throw "oblogout has been removed from nixpkgs, as it's archived upstream."; # added 2019-12-10
opencl-icd = ocl-icd; # added 2017-01-20 opencl-icd = ocl-icd; # added 2017-01-20
openexr_ctl = ctl; # added 2018-04-25 openexr_ctl = ctl; # added 2018-04-25
openisns = open-isns; # added 2020-01-28
openjpeg_1 = throw "openjpeg_1 has been removed, use openjpeg_2 instead"; # added 2021-01-24 openjpeg_1 = throw "openjpeg_1 has been removed, use openjpeg_2 instead"; # added 2021-01-24
openjpeg_2 = openjpeg; # added 2021-01-25 openjpeg_2 = openjpeg; # added 2021-01-25
opensans-ttf = open-sans; # added 2018-12-04 opensans-ttf = open-sans; # added 2018-12-04

View File

@ -18858,7 +18858,7 @@ in
openiscsi = callPackage ../os-specific/linux/open-iscsi { }; openiscsi = callPackage ../os-specific/linux/open-iscsi { };
openisns = callPackage ../os-specific/linux/open-isns { }; open-isns = callPackage ../os-specific/linux/open-isns { };
osx-cpu-temp = callPackage ../os-specific/darwin/osx-cpu-temp { osx-cpu-temp = callPackage ../os-specific/darwin/osx-cpu-temp {
inherit (pkgs.darwin.apple_sdk.frameworks) IOKit; inherit (pkgs.darwin.apple_sdk.frameworks) IOKit;