diff options
author | sborrill <sborrill> | 2010-06-04 16:07:27 +0000 |
---|---|---|
committer | sborrill <sborrill> | 2010-06-04 16:07:27 +0000 |
commit | acede81b5be33741580a2b0e8ed014f8ecb04fec (patch) | |
tree | b5406c9c058968f24fccc5461c1d2091d49142ef /net | |
parent | b2fd0ba3572aae7ff47176ce5f04685fcc106805 (diff) | |
download | pkgsrc-acede81b5be33741580a2b0e8ed014f8ecb04fec.tar.gz |
Move from devel to net
Diffstat (limited to 'net')
-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 | ||||
-rw-r--r-- | net/netbsd-iscsi-target/DESCR | 9 | ||||
-rw-r--r-- | net/netbsd-iscsi-target/Makefile | 29 | ||||
-rw-r--r-- | net/netbsd-iscsi-target/PLIST | 5 | ||||
-rw-r--r-- | net/netbsd-iscsi-target/distinfo | 6 | ||||
-rw-r--r-- | net/netbsd-iscsi-target/patches/patch-aa | 17 |
10 files changed, 127 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 diff --git a/net/netbsd-iscsi-target/DESCR b/net/netbsd-iscsi-target/DESCR new file mode 100644 index 00000000000..0cfbbe49ccb --- /dev/null +++ b/net/netbsd-iscsi-target/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/net/netbsd-iscsi-target/Makefile b/net/netbsd-iscsi-target/Makefile new file mode 100644 index 00000000000..c35919003c6 --- /dev/null +++ b/net/netbsd-iscsi-target/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/06/04 16:07:27 sborrill Exp $ + +DISTNAME= netbsd-iscsi-20080207 +PKGNAME= ${DISTNAME:C/-iscsi/-iscsi-target/} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_BACKUP} + +MAINTAINER= agc@NetBSD.org +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 + +AUTO_MKDIRS= 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 --git a/net/netbsd-iscsi-target/PLIST b/net/netbsd-iscsi-target/PLIST new file mode 100644 index 00000000000..37d70933202 --- /dev/null +++ b/net/netbsd-iscsi-target/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/06/04 16:07:27 sborrill Exp $ +man/man5/targets.5 +man/man8/iscsi-target.8 +sbin/iscsi-target +share/doc/iscsi/FAQ diff --git a/net/netbsd-iscsi-target/distinfo b/net/netbsd-iscsi-target/distinfo new file mode 100644 index 00000000000..235eddec1e7 --- /dev/null +++ b/net/netbsd-iscsi-target/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/06/04 16:07:27 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-target/patches/patch-aa b/net/netbsd-iscsi-target/patches/patch-aa new file mode 100644 index 00000000000..b13c6127138 --- /dev/null +++ b/net/netbsd-iscsi-target/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/06/04 16:07:27 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 |