From 289a0a99d1af041c901d3d468bdd6de8133f080a Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 9 Feb 2006 16:49:07 +0000 Subject: Initial import of the NetBSD iSCSI target and test harness, version 20060209. This is taken from the NetBSD src/dist/iscsi tree. iSCSI is an IETF standard (RFC 3720) for remote access to block-level storage. It can be thought of as similar to NFS, except that an NFS server exports files; the iSCSI target exports blocks to the iSCSI initiators, which are the clients. To set up the target, you need to edit the /etc/iscsi/targets file. It has a certain layout, to provide a means of (a) mirroring and (b) combining multiple areas to present one large contiguous area of storage. This can be multiply-layered. This package will replace the earlier intel-iscsi package, on which it is based. --- devel/netbsd-iscsi/DESCR | 9 +++++++++ devel/netbsd-iscsi/Makefile | 25 +++++++++++++++++++++++++ devel/netbsd-iscsi/PLIST | 7 +++++++ devel/netbsd-iscsi/distinfo | 5 +++++ 4 files changed, 46 insertions(+) create mode 100644 devel/netbsd-iscsi/DESCR create mode 100644 devel/netbsd-iscsi/Makefile create mode 100644 devel/netbsd-iscsi/PLIST create mode 100644 devel/netbsd-iscsi/distinfo diff --git a/devel/netbsd-iscsi/DESCR b/devel/netbsd-iscsi/DESCR new file mode 100644 index 00000000000..0cfbbe49ccb --- /dev/null +++ b/devel/netbsd-iscsi/DESCR @@ -0,0 +1,9 @@ +iSCSI is an IETF standard (RFC 3720) for remote access to block-level +storage. It can be thought of as similar to NFS, except that an NFS +server exports files; the iSCSI target exports blocks to the iSCSI +initiators, which are the clients. + +To set up the target, you need to edit the /etc/iscsi/targets file. +It has a certain layout, to provide a means of (a) mirroring and (b) +combining multiple areas to present one large contiguous area of +storage. This can be multiply-layered. diff --git a/devel/netbsd-iscsi/Makefile b/devel/netbsd-iscsi/Makefile new file mode 100644 index 00000000000..b510871bd42 --- /dev/null +++ b/devel/netbsd-iscsi/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/02/09 16:49:07 agc Exp $ + +DISTNAME= netbsd-iscsi-20060209 +CATEGORIES= devel +MASTER_SITES= http://www.alistaircrooks.co.uk/src/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.alistaircrooks.co.uk/software.html +COMMENT= iSCSI target (per iSCSI RFC 3720) + +WRKSRC= ${WRKDIR}/iscsi/src + +GNU_CONFIGURE= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/../bin/iscsi-target ${PREFIX}/sbin/iscsi-target + ${INSTALL_PROGRAM} ${WRKSRC}/../bin/iscsi-harness ${PREFIX}/sbin/iscsi-harness + ${INSTALL_DATA_DIR} ${PREFIX}/share/iscsi + ${INSTALL_DATA} ${WRKSRC}/../doc/FAQ ${PREFIX}/share/iscsi/FAQ + ${INSTALL_MAN} ${WRKSRC}/iscsi-target.8 ${PREFIX}/man/man8/iscsi-target.8 + ${INSTALL_MAN} ${WRKSRC}/targets.5 ${PREFIX}/man/man5/targets.5 + +.include "../../mk/pthread.buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/netbsd-iscsi/PLIST b/devel/netbsd-iscsi/PLIST new file mode 100644 index 00000000000..5b8403e0af6 --- /dev/null +++ b/devel/netbsd-iscsi/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/09 16:49:07 agc Exp $ +man/man8/iscsi-target.8 +man/man5/targets.5 +sbin/iscsi-harness +sbin/iscsi-target +share/iscsi/FAQ +@dirrm share/iscsi diff --git a/devel/netbsd-iscsi/distinfo b/devel/netbsd-iscsi/distinfo new file mode 100644 index 00000000000..2e01aee43e1 --- /dev/null +++ b/devel/netbsd-iscsi/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/02/09 16:49:07 agc Exp $ + +SHA1 (netbsd-iscsi-20060209.tar.gz) = b36afb1dc537ebae7e0818d126dae8cf19a68e3c +RMD160 (netbsd-iscsi-20060209.tar.gz) = 662e996da5c7d548e85c6c4209a900a5cf899fe4 +Size (netbsd-iscsi-20060209.tar.gz) = 176628 bytes -- cgit v1.2.3