diff options
author | sborrill <sborrill> | 2010-06-04 16:07:27 +0000 |
---|---|---|
committer | sborrill <sborrill> | 2010-06-04 16:07:27 +0000 |
commit | 1fa350c8fcf0aeb55aecad1ce3e121f2c66c0b40 (patch) | |
tree | b5406c9c058968f24fccc5461c1d2091d49142ef /net/netbsd-iscsi-initiator | |
parent | 6766d0096d9337154890de4504ed73e67946de7f (diff) | |
download | pkgsrc-1fa350c8fcf0aeb55aecad1ce3e121f2c66c0b40.tar.gz |
Move from devel to net
Diffstat (limited to 'net/netbsd-iscsi-initiator')
-rw-r--r-- | net/netbsd-iscsi-initiator/DESCR | 8 | ||||
-rw-r--r-- | net/netbsd-iscsi-initiator/Makefile | 27 | ||||
-rw-r--r-- | net/netbsd-iscsi-initiator/PLIST | 3 | ||||
-rw-r--r-- | net/netbsd-iscsi-initiator/distinfo | 6 | ||||
-rw-r--r-- | net/netbsd-iscsi-initiator/patches/patch-aa | 17 |
5 files changed, 61 insertions, 0 deletions
diff --git a/net/netbsd-iscsi-initiator/DESCR b/net/netbsd-iscsi-initiator/DESCR new file mode 100644 index 00000000000..6f034fd6419 --- /dev/null +++ b/net/netbsd-iscsi-initiator/DESCR @@ -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 --git a/net/netbsd-iscsi-initiator/Makefile b/net/netbsd-iscsi-initiator/Makefile new file mode 100644 index 00000000000..e6ad626ab26 --- /dev/null +++ b/net/netbsd-iscsi-initiator/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/06/04 16:07:51 sborrill Exp $ + +DISTNAME= netbsd-iscsi-20080207 +PKGNAME= ${DISTNAME:C/-iscsi/-iscsi-initiator/} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_BACKUP} + +MAINTAINER= agc@NetBSD.org +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 + +AUTO_MKDIRS= 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 --git a/net/netbsd-iscsi-initiator/PLIST b/net/netbsd-iscsi-initiator/PLIST new file mode 100644 index 00000000000..a4faac9781b --- /dev/null +++ b/net/netbsd-iscsi-initiator/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/06/04 16:07:51 sborrill Exp $ +man/man8/iscsifs.8 +sbin/iscsifs diff --git a/net/netbsd-iscsi-initiator/distinfo b/net/netbsd-iscsi-initiator/distinfo new file mode 100644 index 00000000000..0fe990619d4 --- /dev/null +++ b/net/netbsd-iscsi-initiator/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/06/04 16:07:51 sborrill Exp $ + +SHA1 (netbsd-iscsi-20080207.tar.gz) = afe6ca2fdf46ce6dfed341dfd05aeb597584ae0f +RMD160 (netbsd-iscsi-20080207.tar.gz) = 62417a6c7bebf95257054f96990a7009f515c064 +Size (netbsd-iscsi-20080207.tar.gz) = 249607 bytes +SHA1 (patch-aa) = c97a1b97456cf2d11415ab22175c564baa9aae14 diff --git a/net/netbsd-iscsi-initiator/patches/patch-aa b/net/netbsd-iscsi-initiator/patches/patch-aa new file mode 100644 index 00000000000..68735eaa7a5 --- /dev/null +++ b/net/netbsd-iscsi-initiator/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/06/04 16:07:51 sborrill Exp $ + +--- src/Makefile.in.orig 2006-06-03 00:39:22.000000000 +0000 ++++ src/Makefile.in +@@ -16,9 +16,9 @@ + 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 + COMMON_CFLAGS += -DHAVE_CONFIG_H |