open-iscsi: update to 2.0.876.
This commit is contained in:
parent
95283870b6
commit
e24e7620f3
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'open-iscsi'
|
# Template file for 'open-iscsi'
|
||||||
pkgname=open-iscsi
|
pkgname=open-iscsi
|
||||||
version=2.0.875
|
version=2.0.876
|
||||||
revision=1
|
revision=1
|
||||||
conf_files="/etc/iscsi/iscsid.conf /etc/iscsi/initiatorname.iscsi"
|
conf_files="/etc/iscsi/iscsid.conf /etc/iscsi/initiatorname.iscsi"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.open-iscsi.com/"
|
homepage="http://www.open-iscsi.com/"
|
||||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=7b6459dcbd3fc5d6e1500eeeb8a680acc773ffcb5901f268db9d53d2979338bf
|
checksum=9f01327d5e100ed794dc5083fc18dc4a06a0c29c77b252e21abd1b8f56edd9a7
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) CFLAGS+="-D_LINUX_IF_ETHER_H";;
|
*-musl) CFLAGS+="-D_LINUX_IF_ETHER_H";;
|
||||||
|
@ -22,6 +22,7 @@ post_extract() {
|
||||||
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' utils/Makefile usr/Makefile
|
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' utils/Makefile usr/Makefile
|
||||||
sed -i 's,<linux/if_ether.h>,<netinet/if_ether.h>,g' usr/iscsi_net_util.c
|
sed -i 's,<linux/if_ether.h>,<netinet/if_ether.h>,g' usr/iscsi_net_util.c
|
||||||
sed -i '1i#include <netinet/if_ether.h>' iscsiuio/src/unix/libs/bnx2x.c
|
sed -i '1i#include <netinet/if_ether.h>' iscsiuio/src/unix/libs/bnx2x.c
|
||||||
|
sed -i 's/lib64/lib/g' libopeniscsiusr/Makefile
|
||||||
}
|
}
|
||||||
do_configure() {
|
do_configure() {
|
||||||
( cd iscsiuio && autoreconf -fi && ./configure ${configure_args} )
|
( cd iscsiuio && autoreconf -fi && ./configure ${configure_args} )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue