pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/netbsd-iscsi-initiator Import the NetBSD iSCSI i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/170a173f4b4d
branches:  trunk
changeset: 535347:170a173f4b4d
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Nov 14 20:33:47 2007 +0000

description:
Import the NetBSD iSCSI initiator, version 20071114, into the Packages
Collection.

This initiator is based on FUSE/ReFUSE.

        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.

        The NetBSD iSCSI initiator is based on FUSE/ReFUSE, and provides a
        portable initiator for any operating system with a FUSE-like
        interface.

diffstat:

 devel/netbsd-iscsi-initiator/DESCR            |   8 ++++++++
 devel/netbsd-iscsi-initiator/Makefile         |  27 +++++++++++++++++++++++++++
 devel/netbsd-iscsi-initiator/PLIST            |   3 +++
 devel/netbsd-iscsi-initiator/distinfo         |   6 ++++++
 devel/netbsd-iscsi-initiator/patches/patch-aa |  17 +++++++++++++++++
 5 files changed, 61 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r b60283889077 -r 170a173f4b4d devel/netbsd-iscsi-initiator/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-initiator/DESCR        Wed Nov 14 20:33:47 2007 +0000
@@ -0,0 +1,8 @@
+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.
+
+The NetBSD iSCSI initiator is based on FUSE/ReFUSE, and provides a
+portable initiator for any operating system with a FUSE-like
+interface.
diff -r b60283889077 -r 170a173f4b4d devel/netbsd-iscsi-initiator/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-initiator/Makefile     Wed Nov 14 20:33:47 2007 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/14 20:33:47 agc Exp $
+
+DISTNAME=      netbsd-iscsi-20071114
+PKGNAME=       ${DISTNAME:C/-iscsi/-iscsi-initiator/}
+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 initiator (per iSCSI RFC 3720)
+
+GNU_CONFIGURE= yes
+CONFIGURE_DIRS=        src
+BUILD_TARGET=  all-initiator
+
+INSTALLATION_DIRS_FROM_PLIST=  yes
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/iscsifs ${DESTDIR}${PREFIX}/sbin/iscsifs
+       ${INSTALL_MAN} ${WRKSRC}/src/iscsifs.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/iscsifs.8
+
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r b60283889077 -r 170a173f4b4d devel/netbsd-iscsi-initiator/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-initiator/PLIST        Wed Nov 14 20:33:47 2007 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/14 20:33:47 agc Exp $
+man/man8/iscsifs.8
+sbin/iscsifs
diff -r b60283889077 -r 170a173f4b4d devel/netbsd-iscsi-initiator/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-initiator/distinfo     Wed Nov 14 20:33:47 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/14 20:33:47 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 b60283889077 -r 170a173f4b4d devel/netbsd-iscsi-initiator/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/netbsd-iscsi-initiator/patches/patch-aa     Wed Nov 14 20:33:47 2007 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/11/14 20:33:47 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