open-iscsi: update to 2.1.6.
This commit is contained in:
parent
e63a0a9ee6
commit
4d30f19095
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'open-iscsi'
|
||||
pkgname=open-iscsi
|
||||
version=2.1.5
|
||||
version=2.1.6
|
||||
revision=1
|
||||
conf_files="/etc/iscsi/iscsid.conf /etc/iscsi/initiatorname.iscsi"
|
||||
build_style=gnu-configure
|
||||
|
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="GPL-2.0-or-later"
|
||||
homepage="http://www.open-iscsi.com/"
|
||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
||||
checksum=d8a06c1ea86d2a312d598f52c151b210a34d82445a6f522f7c2bd6581b3a99af
|
||||
checksum=b67350d106696779c6bee421c60a64ade2a9dabe247dc4bd44f59c751e22d7f7
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) CFLAGS+=" -D_LINUX_IF_ETHER_H -Wno-error=format -Wno-error=cpp";;
|
||||
|
@ -21,7 +21,6 @@ post_extract() {
|
|||
vsed -i -e 's/lib64/lib/g' libopeniscsiusr/Makefile
|
||||
vsed -i -e 's,<linux/if_ether.h>,<netinet/if_ether.h>,g' usr/iscsi_net_util.c
|
||||
vsed -i -e '1i#include <netinet/if_ether.h>' iscsiuio/src/unix/libs/bnx2x.c libopeniscsiusr/misc.c
|
||||
vsed -i -e 's:ISCSI_MAX_IFACE_LEN):ISCSI_MAX_IFACE_LEN-1):' libopeniscsiusr/idbm.c
|
||||
}
|
||||
do_configure() {
|
||||
( cd iscsiuio && autoreconf -fi && ./configure ${configure_args} CFLAGS="-DNO_SYSTEMD" )
|
||||
|
|
Loading…
Reference in a new issue