open-iscsi: update to 2.0.873.
Upstream moved. Fix PIE.
This commit is contained in:
parent
b43edd5ab3
commit
ff182ebed5
1 changed files with 6 additions and 6 deletions
|
@ -1,21 +1,21 @@
|
|||
# Template file for 'open-iscsi'
|
||||
pkgname=open-iscsi
|
||||
version=2.0r873
|
||||
revision=3
|
||||
wrksrc="${pkgname}-${version/r/-}"
|
||||
version=2.0.873
|
||||
revision=4
|
||||
conf_files="/etc/iscsi/iscsid.conf /etc/iscsi/initiatorname.iscsi"
|
||||
short_desc="Open-iSCSI userland tools"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://www.open-iscsi.org/"
|
||||
distfiles="http://www.open-iscsi.org/bits/${wrksrc}.tar.gz"
|
||||
checksum=7dd9f2f97da417560349a8da44ea4fcfe98bfd5ef284240a2cc4ff8e88ac7cd9
|
||||
homepage="http://www.open-iscsi.com/"
|
||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
||||
checksum=c51f6fad45afb7c059f10776de721c6d5fd0336ff927daacea6a7e0a3ad02f18
|
||||
nocross=yes
|
||||
|
||||
post_extract() {
|
||||
sed -i '1i#include <sys/time.h>' utils/open-isns/isns.h
|
||||
sed -i '1i#include <fcntl.h>' usr/idbm.c
|
||||
sed -i 's/(__compar_fn_t)//' utils/fwparam_ibft/fwparam_ppc.c
|
||||
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' utils/Makefile usr/Makefile
|
||||
}
|
||||
do_build() {
|
||||
make ${makejobs} CC="$CC" OPTFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
||||
|
|
Loading…
Add table
Reference in a new issue