pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/netbsd-iscsi-target Re-import the devel/netbsd-i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b60283889077
branches: trunk
changeset: 535346:b60283889077
user: agc <agc%pkgsrc.org@localhost>
date: Wed Nov 14 20:29:20 2007 +0000
description:
Re-import the devel/netbsd-iscsi package as devel/netbsd-iscsi-target.
This is to take advantage of the NetBSD iscsi target, whic his in a
separate, related package, which will be devel/netbsd-iscsi-initiator.
Bump version to 20071114 to denote the new initiator functionality.
diffstat:
devel/netbsd-iscsi-target/DESCR | 9 +++++++++
devel/netbsd-iscsi-target/Makefile | 29 +++++++++++++++++++++++++++++
devel/netbsd-iscsi-target/PLIST | 6 ++++++
devel/netbsd-iscsi-target/distinfo | 6 ++++++
devel/netbsd-iscsi-target/patches/patch-aa | 17 +++++++++++++++++
5 files changed, 67 insertions(+), 0 deletions(-)
diffs (87 lines):
diff -r e0bf2463a695 -r b60283889077 devel/netbsd-iscsi-target/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-target/DESCR Wed Nov 14 20:29:20 2007 +0000
@@ -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 -r e0bf2463a695 -r b60283889077 devel/netbsd-iscsi-target/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-target/Makefile Wed Nov 14 20:29:20 2007 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/14 20:29:20 agc Exp $
+
+DISTNAME= netbsd-iscsi-20071114
+PKGNAME= ${DISTNAME:C/-iscsi/-iscsi-target/}
+CATEGORIES= devel
+MASTER_SITES= http://www.alistaircrooks.co.uk/src/
+
+MAINTAINER= agc%NetBSD.org@localhost
+HOMEPAGE= http://www.alistaircrooks.co.uk/software.html
+COMMENT= NetBSD's iSCSI target (per iSCSI RFC 3720)
+
+CONFLICTS+= netbsd-iscsi>0
+
+GNU_CONFIGURE= yes
+CONFIGURE_DIRS= src
+
+INSTALLATION_DIRS_FROM_PLIST=yes
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/iscsi-target ${DESTDIR}${PREFIX}/sbin/iscsi-target
+ ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DESTDIR}${PREFIX}/share/doc/iscsi/FAQ
+ ${INSTALL_MAN} ${WRKSRC}/src/iscsi-target.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/iscsi-target.8
+ ${INSTALL_MAN} ${WRKSRC}/src/targets.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/targets.5
+
+.include "../../mk/pthread.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r e0bf2463a695 -r b60283889077 devel/netbsd-iscsi-target/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-target/PLIST Wed Nov 14 20:29:20 2007 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/14 20:29:20 agc Exp $
+man/man5/targets.5
+man/man8/iscsi-target.8
+sbin/iscsi-target
+share/doc/iscsi/FAQ
+@dirrm share/doc/iscsi
diff -r e0bf2463a695 -r b60283889077 devel/netbsd-iscsi-target/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-target/distinfo Wed Nov 14 20:29:20 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/14 20:29:20 agc Exp $
+
+SHA1 (netbsd-iscsi-20071114.tar.gz) = 4fc412b35e46d6d978dd905a97b8f572b10eeaea
+RMD160 (netbsd-iscsi-20071114.tar.gz) = e6e0d0487721423b01f75a2cd8de2436c9f168f1
+Size (netbsd-iscsi-20071114.tar.gz) = 256656 bytes
+SHA1 (patch-aa) = e86b7400cc472a31a5cf2457924af3d7d5c4b0c3
diff -r e0bf2463a695 -r b60283889077 devel/netbsd-iscsi-target/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-target/patches/patch-aa Wed Nov 14 20:29:20 2007 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/11/14 20:29:20 agc Exp $
+
+--- src/Makefile.in.orig 2006-06-03 00:39:22.000000000 +0000
++++ src/Makefile.in
+@@ -16,9 +16,9 @@ MANDIR=$(prefix)/man
+ SYSCONFDIR=@sysconfdir@
+
+ CC= @CC@
+-PTHREAD_FLAGS= -pthread
+-PTHREAD_LDFLAGS= -pthread
+-PTHREAD_LIBS= -lpthread
++PTHREAD_FLAGS?= -pthread
++PTHREAD_LDFLAGS?= -pthread
++PTHREAD_LIBS?= -lpthread
+ GCC_CFLAGS= -Wall -Wstrict-prototypes -fno-strict-aliasing -fno-common -Wno-trigraphs
+ COMMON_CFLAGS += -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+ CFLAGS= @CFLAGS@ ${GCC_CFLAGS} ${COMMON_CFLAGS} -I${INCLUDE} ${PTHREAD_FLAGS}
Home |
Main Index |
Thread Index |
Old Index