summaryrefslogtreecommitdiff
path: root/package/open-iscsi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/open-iscsi/Makefile')
-rw-r--r--package/open-iscsi/Makefile30
1 files changed, 17 insertions, 13 deletions
diff --git a/package/open-iscsi/Makefile b/package/open-iscsi/Makefile
index 5afb377bc..f33b52f1f 100644
--- a/package/open-iscsi/Makefile
+++ b/package/open-iscsi/Makefile
@@ -4,30 +4,34 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= open-iscsi
-PKG_VERSION:= 2.0
-PKG_EXTRAVER:= 871
+PKG_VERSION:= 2.1.9
PKG_RELEASE:= 1
-PKG_HASH:= bcea8746ae82f2ada7bc05d2aa59bcda1ca0d5197f05f2e16744aae59f0a7dcb
+PKG_HASH:= 60e2a1e3058a8af7f702e86a5a0511b05b8754d29d3d2df4e0e301399b5cf70a
PKG_DESCR:= iscsi utilities
+PKG_DEPENDS:= libkmod libressl
+PKG_BUILDDEP:= cmake-host kmod libressl
PKG_SECTION:= sys/fs
-PKG_URL:= http://www.open-iscsi.org/
-PKG_SITES:= http://www.open-iscsi.org/bits/
+PKG_SITES:= https://github.com/open-iscsi/open-iscsi/archive/refs/tags/
-DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-$(PKG_EXTRAVER).tar.gz
-WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
+DISTFILES:= $(PKG_VERSION).tar.gz
+#WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
include $(ADK_TOPDIR)/mk/package.mk
-ALL_TARGET:= user
-INSTALL_TARGET:= install_user
-
$(eval $(call PKG_template,OPEN_ISCSI,open-iscsi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIG_STYLE:= manual
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+MESON_FLAGS+= -Dno_systemd=true \
+ -Disns=disabled
open-iscsi-install:
- $(INSTALL_DIR) $(IDIR_OPEN_ISCSI)/sbin $(IDIR_OPEN_ISCSI)/etc/iscsi
- $(INSTALL_BIN) $(WRKINST)/sbin/* $(IDIR_OPEN_ISCSI)/sbin
+ $(INSTALL_DIR) $(IDIR_OPEN_ISCSI)/usr/sbin $(IDIR_OPEN_ISCSI)/etc/iscsi
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/* $(IDIR_OPEN_ISCSI)/usr/sbin
$(CP) $(WRKINST)/etc/iscsi/* $(IDIR_OPEN_ISCSI)/etc/iscsi
include ${ADK_TOPDIR}/mk/pkg-bottom.mk