mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +03:00
openiscsi: 2.1.4 -> 2.1.7
changelog: https://github.com/open-iscsi/open-iscsi/blob/master/Changelog
This commit is contained in:
parent
328b83653f
commit
a6037ef47d
@ -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 New Issue
Block a user