net/libiscsi: import libiscsi-1.19.0

Libiscsi is a client-side library to implement the iSCSI protocol that can
be used to access the resources of an iSCSI target.

The library is fully asynchronous with regards to iSCSI commands and SCSI
tasks, but a synchronous layer is also provided for ease of use for simpler
applications.
This commit is contained in:
tnn 2020-03-13 13:21:39 +00:00
parent dd1feeb9d6
commit 8a499e478d
5 changed files with 60 additions and 0 deletions

6
net/libiscsi/DESCR Normal file
View file

@ -0,0 +1,6 @@
Libiscsi is a client-side library to implement the iSCSI protocol that can
be used to access the resources of an iSCSI target.
The library is fully asynchronous with regards to iSCSI commands and SCSI
tasks, but a synchronous layer is also provided for ease of use for simpler
applications.

22
net/libiscsi/Makefile Normal file
View file

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2020/03/13 13:21:39 tnn Exp $
DISTNAME= libiscsi-1.19.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=sahlberg/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/sahlberg/libiscsi
COMMENT= iscsi client library and utilities
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= aclocal autoconf automake autoreconf gmake pkg-config
PKGCONFIG_OVERRIDE+= libiscsi.pc.in
BUILDLINK_TRANSFORM+= rm:-Werror
pre-configure:
cd ${WRKSRC} && autoreconf -if
.include "../../mk/bsd.pkg.mk"

14
net/libiscsi/PLIST Normal file
View file

@ -0,0 +1,14 @@
@comment $NetBSD: PLIST,v 1.1 2020/03/13 13:21:39 tnn Exp $
bin/iscsi-inq
bin/iscsi-ls
bin/iscsi-perf
bin/iscsi-readcapacity16
bin/iscsi-swp
include/iscsi/iscsi.h
include/iscsi/scsi-lowlevel.h
lib/libiscsi.la
lib/pkgconfig/libiscsi.pc
man/man1/iscsi-inq.1
man/man1/iscsi-ls.1
man/man1/iscsi-swp.1
man/man1/iscsi-test-cu.1

View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2020/03/13 13:21:39 tnn Exp $
BUILDLINK_TREE+= libiscsi
.if !defined(LIBISCSI_BUILDLINK3_MK)
LIBISCSI_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libiscsi+= libiscsi>=1.19.0
BUILDLINK_PKGSRCDIR.libiscsi?= ../../net/libiscsi
.endif # LIBISCSI_BUILDLINK3_MK
BUILDLINK_TREE+= -libiscsi

6
net/libiscsi/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/03/13 13:21:39 tnn Exp $
SHA1 (libiscsi-1.19.0.tar.gz) = 0c1aca9a473a915e6d221de4593b404f7078b22f
RMD160 (libiscsi-1.19.0.tar.gz) = 2512d310dc23adb6e6edf46f29598e053ebd0e24
SHA512 (libiscsi-1.19.0.tar.gz) = 2c0e70b7ecf66204524e57edf557a014b5141a8819e5d663b6e50cb2e756fd634ae1db0b1ca6915444d80a9babd54a82619bdd98726d16d4eeaf7b3c89cf3d53
Size (libiscsi-1.19.0.tar.gz) = 284969 bytes