diff options
author | Mario Preksavec <mario@slackware.hr> | 2021-12-06 01:30:12 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-10 08:37:44 +0700 |
commit | 3d25e1af3425383360f7e5d4d0101f89be874094 (patch) | |
tree | 33b2c77f27ac1626a16f6d9fb3fd14ebdc532437 /network/open-iscsi/open-iscsi.SlackBuild | |
parent | 1c4914831953d6bd9bb3018cf54902e82ae6ae95 (diff) |
network/open-iscsi: Updated for version 2.1.5.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/open-iscsi/open-iscsi.SlackBuild')
-rw-r--r-- | network/open-iscsi/open-iscsi.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/network/open-iscsi/open-iscsi.SlackBuild b/network/open-iscsi/open-iscsi.SlackBuild index 5c6baf2ad9314..aa81b2ff0a6e9 100644 --- a/network/open-iscsi/open-iscsi.SlackBuild +++ b/network/open-iscsi/open-iscsi.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for open-iscsi # Copyright 2019 Wayne Cuddy USA +# Copyright 2021 Mario Preksavec, Zagreb, Croatia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,8 +30,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=open-iscsi -VERSION=${VERSION:-2.0.875} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2.1.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,6 +81,8 @@ cd $PRGNAM-$VERSION # Allow this SB to work on "current", benign on 14.2. patch -p1 <$CWD/include_sysmacros.patch +patch -p1 <$CWD/remove_werror.patch + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,7 +90,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make +make OPTFLAGS="-DNO_SYSTEMD" NO_SYSTEMD=1 make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |