forked from mirrors/nixpkgs
Merge pull request #177804 from trofi/update-openiscsi
openiscsi: 2.1.4 -> 2.1.7
This commit is contained in:
commit
d1b0daca5f
|
@ -4,7 +4,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "open-iscsi";
|
||||
version = "2.1.4";
|
||||
version = "2.1.7";
|
||||
|
||||
nativeBuildInputs = [ autoconf automake gettext libtool perl pkgconf ];
|
||||
buildInputs = [ kmod open-isns.lib openssl systemd util-linux ];
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "open-iscsi";
|
||||
repo = "open-iscsi";
|
||||
rev = version;
|
||||
sha256 = "sha256-HnvLLwxOnu7Oiige6A6zk9NmAI2ImcILp9eCfbdGiyI=";
|
||||
sha256 = "sha256-R1ttHHxVSQ5TGtWVy4I9BAmEJfcRhKRD5jThoeddjUw=";
|
||||
};
|
||||
|
||||
DESTDIR = "$(out)";
|
||||
|
@ -23,8 +23,17 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preConfigure = ''
|
||||
sed -i 's|/usr|/|' Makefile
|
||||
|
||||
# Remove blanket -Werror. Fails for minor error on gcc-11.
|
||||
substituteInPlace usr/Makefile --replace ' -Werror ' ' '
|
||||
'';
|
||||
|
||||
# avoid /usr/bin/install
|
||||
makeFlags = [
|
||||
"INSTALL=install"
|
||||
"SED=sed"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"install"
|
||||
"install_systemd"
|
||||
|
|
Loading…
Reference in a new issue