summaryrefslogtreecommitdiffstats
path: root/net/iscsi-target
diff options
context:
space:
mode:
Diffstat (limited to 'net/iscsi-target')
-rw-r--r--net/iscsi-target/Makefile53
-rw-r--r--net/iscsi-target/distinfo2
-rw-r--r--net/iscsi-target/files/iscsi_target.in22
-rw-r--r--net/iscsi-target/files/patch-iscsiutil23
-rw-r--r--net/iscsi-target/files/patch-src-Makefile.in11
-rw-r--r--net/iscsi-target/pkg-descr4
-rw-r--r--net/iscsi-target/pkg-message3
-rw-r--r--net/iscsi-target/pkg-plist17
8 files changed, 0 insertions, 135 deletions
diff --git a/net/iscsi-target/Makefile b/net/iscsi-target/Makefile
deleted file mode 100644
index 7d67d39..0000000
--- a/net/iscsi-target/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# Created by: Frederic Senault <fred@lacave.net>
-# $FreeBSD$
-
-PORTNAME= iscsi
-PORTVERSION= 20080207
-PORTREVISION= 2
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/ \
- http://www.magnesium.net/~mdf/distfiles/
-PKGNAMESUFFIX= -target
-DISTNAME= netbsd-iscsi-${PORTVERSION}
-
-MAINTAINER= mark@foster.cc
-COMMENT= Implementation of userland ISCSI target (from NetBSD)
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-DEPRECATED= Use net/istgt or base systems ctld(8) on 10.x instead
-GNU_CONFIGURE= yes
-
-MAN5= targets.5
-MAN8= iscsi-target.8
-
-USE_RC_SUBR= iscsi_target
-
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|_LDFLAGS= -pthread|_LDFLAGS= ${PTHREAD_CFLAGS}|' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|_FLAGS= -pthread|_FLAGS= ${PTHREAD_CFLAGS}|' ${WRKSRC}/Makefile.in
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/iscsi-target ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/etc/iscsi
-.for i in targets passwd auths
- ${INSTALL_DATA} ${WRKSRC}/etc/$i ${PREFIX}/etc/iscsi/$i.sample
-.endfor
- ${INSTALL_MAN} ${WRKSRC}/targets.5 ${PREFIX}/man/man5
- ${INSTALL_MAN} ${WRKSRC}/iscsi-target.8 ${PREFIX}/man/man8
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in FAQ README README_OSD PERFORMANCE license
- ${INSTALL_MAN} ${WRKSRC}/../doc/$i ${DOCSDIR}
-.endfor
-.endif
-.for i in targets passwd auths
- if [ ! -f ${PREFIX}/etc/iscsi/$i ]; then \
- ${CP} -p ${PREFIX}/etc/iscsi/$i.sample ${PREFIX}/etc/iscsi/$i ; \
- fi
-.endfor
-
-.include <bsd.port.mk>
diff --git a/net/iscsi-target/distinfo b/net/iscsi-target/distinfo
deleted file mode 100644
index 3fe4162..0000000
--- a/net/iscsi-target/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (netbsd-iscsi-20080207.tar.gz) = 9c6e7372c94b5ccbc33e299030d19fd8c24ccea24ffbffaa94d42551a76ae284
-SIZE (netbsd-iscsi-20080207.tar.gz) = 249607
diff --git a/net/iscsi-target/files/iscsi_target.in b/net/iscsi-target/files/iscsi_target.in
deleted file mode 100644
index fa7a64b..0000000
--- a/net/iscsi-target/files/iscsi_target.in
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: iscsi_target
-# REQUIRE: NETWORKING mountall quota
-
-. /etc/rc.subr
-
-name="iscsi_target"
-rcvar=iscsi_target_enable
-
-command="%%PREFIX%%/bin/iscsi-target"
-required_files="%%PREFIX%%/etc/iscsi/targets"
-pidfile="/var/run/iscsi-target.pid"
-
-load_rc_config $name
-
-: ${iscsi_target_enable="NO"}
-: ${iscsi_target_config="%%PREFIX%%/etc/iscsi/targets"}
-
-command_args="-f $iscsi_target_config"
-
-run_rc_command "$1"
diff --git a/net/iscsi-target/files/patch-iscsiutil b/net/iscsi-target/files/patch-iscsiutil
deleted file mode 100644
index 05cc0e9..0000000
--- a/net/iscsi-target/files/patch-iscsiutil
+++ /dev/null
@@ -1,23 +0,0 @@
---- ../include/iscsiutil.h 2007-11-12 15:25:40.000000000 -0800
-+++ ../include/iscsiutil.h 2008-04-18 21:31:18.000000000 -0700
-@@ -77,16 +77,20 @@
- #define ISCSI_HTONLL6(x) (uint64_t) \
- ( ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ff0000000000uLL) >> 40)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000ff00000000uLL) >> 24)) \
-+ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0xffffffffffff0000uLL) >> 16)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000ff000000uLL) >> 8)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000000000ff0000uLL) << 8)) \
-+ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ffffffffffffuLL) << 16)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000000000ff00uLL) << 24)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000000000ffuLL) << 40)))
-
- #define ISCSI_NTOHLL6(x) (uint64_t) \
- ( ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ff0000000000uLL) >> 40)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000ff00000000uLL) >> 24)) \
-+ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0xffffffffffff0000uLL) >> 16)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000ff000000uLL) >> 8)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000000000ff0000uLL) << 8)) \
-+ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ffffffffffffuLL) << 16)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000000000ff00uLL) << 24)) \
- | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000000000ffuLL) << 40)))
-
diff --git a/net/iscsi-target/files/patch-src-Makefile.in b/net/iscsi-target/files/patch-src-Makefile.in
deleted file mode 100644
index d3af6e1..0000000
--- a/net/iscsi-target/files/patch-src-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2008-02-07 17:25:13.000000000 +0800
-+++ Makefile.in 2008-03-16 17:16:12.000000000 +0800
-@@ -20,7 +20,7 @@
- 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 += -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DSYSCONFDIR=\"${SYSCONFDIR}\"
- COMMON_CFLAGS += -DHAVE_CONFIG_H
- COMMON_CFLAGS += -I${INCDIR}
- CFLAGS= @CFLAGS@ ${GCC_CFLAGS} ${COMMON_CFLAGS} -I${INCLUDE} ${PTHREAD_FLAGS}
diff --git a/net/iscsi-target/pkg-descr b/net/iscsi-target/pkg-descr
deleted file mode 100644
index ad620b4..0000000
--- a/net/iscsi-target/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-This is an implementation of iSCSI target, the server-side of ISCSI protocol,
-used to service remote iSCSI requests.
-
-WWW: http://www.netbsd.org/
diff --git a/net/iscsi-target/pkg-message b/net/iscsi-target/pkg-message
deleted file mode 100644
index 688a300..0000000
--- a/net/iscsi-target/pkg-message
+++ /dev/null
@@ -1,3 +0,0 @@
-To run iscsi-target server from startup, add iscsi_target_enable="YES"
-to /etc/rc.conf. Extra options can be found in startup script.
-
diff --git a/net/iscsi-target/pkg-plist b/net/iscsi-target/pkg-plist
deleted file mode 100644
index ba51483..0000000
--- a/net/iscsi-target/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-bin/iscsi-target
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/PERFORMANCE
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README_OSD
-%%PORTDOCS%%%%DOCSDIR%%/license
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@unexec if cmp -s %D/etc/iscsi/targets.sample %D/etc/iscsi/targets; then rm -f %D/etc/iscsi/targets; fi
-etc/iscsi/targets.sample
-@exec if [ ! -f %D/etc/iscsi/targets ] ; then cp -p %D/%F %B/targets; fi
-@unexec if cmp -s %D/etc/iscsi/auths.sample %D/etc/iscsi/auths; then rm -f %D/etc/iscsi/auths; fi
-etc/iscsi/auths.sample
-@exec if [ ! -f %D/etc/iscsi/auths ] ; then cp -p %D/%F %B/auths; fi
-@unexec if cmp -s %D/etc/iscsi/passwd.sample %D/etc/iscsi/passwd; then rm -f %D/etc/iscsi/passwd; fi
-etc/iscsi/passwd.sample
-@exec if [ ! -f %D/etc/iscsi/passwd ] ; then cp -p %D/%F %B/passwd; fi
-@dirrm etc/iscsi
OpenPOWER on IntegriCloud