summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2006-02-09 16:49:07 +0000
committeragc <agc>2006-02-09 16:49:07 +0000
commit289a0a99d1af041c901d3d468bdd6de8133f080a (patch)
tree3a3c17858233b62d58fe4bae34d5307677f2b428
parentb8eeae5749be978054d2d06f70a0c3ed9dc8f2b6 (diff)
downloadpkgsrc-289a0a99d1af041c901d3d468bdd6de8133f080a.tar.gz
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.
-rw-r--r--devel/netbsd-iscsi/DESCR9
-rw-r--r--devel/netbsd-iscsi/Makefile25
-rw-r--r--devel/netbsd-iscsi/PLIST7
-rw-r--r--devel/netbsd-iscsi/distinfo5
4 files changed, 46 insertions, 0 deletions
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