summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc>2007-01-10 20:39:35 +0000
committeragc <agc>2007-01-10 20:39:35 +0000
commitf465192aa15072408e75ecbbbc76a9cd9f76482a (patch)
tree22c4f303f295e35b7d77d164a1c408658f36856b /net
parentd109543c3900716e84f4c967206af34cdabcf4a4 (diff)
downloadpkgsrc-f465192aa15072408e75ecbbbc76a9cd9f76482a.tar.gz
Initial import of aoe-vblade, an ATA over Ethernet server, or target,
into the Packages Collection. With thanks to the anonymous person at EuroBSDcon 2006 in Milano who asked if I was aware of it (I wasn't). ATA over Ethernet (AoE) delivers a simple, high performance, low cost alternative to iSCSI and FibreChannel for networked block storage by eliminating the processing overhead of TCP/IP. + ATA-over-Ethernet (AoE) is a thin protocol layer directly on top of Ethernet. + ATA disk commands (ie. read disk sector x, write disk sector y) are put directly into standard Ethernet frames using the AoE protocol. AoE is a block storage protocol. + AoE is a non-routed protocol, therefore does not require IP or TCP protocol layers. This eliminates unnecessary processing and makes network connection to disks simple. It also limits AoE to the local network segment. The AoE protocol specification can be found at: http://www.coraid.com/documents/AoEr8.txt
Diffstat (limited to 'net')
-rw-r--r--net/aoe-vblade/DESCR19
-rw-r--r--net/aoe-vblade/Makefile21
-rw-r--r--net/aoe-vblade/PLIST4
-rw-r--r--net/aoe-vblade/distinfo6
-rw-r--r--net/aoe-vblade/patches/patch-aa17
5 files changed, 67 insertions, 0 deletions
diff --git a/net/aoe-vblade/DESCR b/net/aoe-vblade/DESCR
new file mode 100644
index 00000000000..29729de8697
--- /dev/null
+++ b/net/aoe-vblade/DESCR
@@ -0,0 +1,19 @@
+ATA over Ethernet (AoE) delivers a simple, high performance, low cost
+alternative to iSCSI and FibreChannel for networked block storage by
+eliminating the processing overhead of TCP/IP.
+
++ ATA-over-Ethernet (AoE) is a thin protocol layer directly on top of
+Ethernet.
+
++ ATA disk commands (ie. read disk sector x, write disk sector y) are
+put directly into standard Ethernet frames using the AoE protocol.
+AoE is a block storage protocol.
+
++ AoE is a non-routed protocol, therefore does not require IP or TCP
+protocol layers. This eliminates unnecessary processing and makes
+network connection to disks simple. It also limits AoE to the local
+network segment.
+
+The AoE protocol specification can be found at:
+
+ http://www.coraid.com/documents/AoEr8.txt
diff --git a/net/aoe-vblade/Makefile b/net/aoe-vblade/Makefile
new file mode 100644
index 00000000000..deee5df9995
--- /dev/null
+++ b/net/aoe-vblade/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/10 20:39:35 agc Exp $
+
+DISTNAME= vblade-14
+PKGNAME= aoe-vblade-14
+CATEGORIES= net sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aoetools/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://aoetools.sourceforge.net/
+COMMENT= ATA over Ethernet (AoE) server - thin, LAN-based storage protocol
+
+do-build:
+ cd ${WRKSRC} && ${CP} freebsd.c bsd.c && ${MAKE} PLATFORM=bsd
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/vblade ${PREFIX}/sbin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/vbladed ${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/vblade.8 ${PREFIX}/${PKGMANDIR}/man8/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/aoe-vblade/PLIST b/net/aoe-vblade/PLIST
new file mode 100644
index 00000000000..0f249ba3693
--- /dev/null
+++ b/net/aoe-vblade/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/10 20:39:35 agc Exp $
+sbin/vblade
+sbin/vbladed
+man/man8/vblade.8
diff --git a/net/aoe-vblade/distinfo b/net/aoe-vblade/distinfo
new file mode 100644
index 00000000000..b71ec038b62
--- /dev/null
+++ b/net/aoe-vblade/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/10 20:39:35 agc Exp $
+
+SHA1 (vblade-14.tgz) = 57bea505f3acb88f03f761954eea0759a0241e3f
+RMD160 (vblade-14.tgz) = ad0fe6f0c4ab40fa31daa68c7b14143ad87f443c
+Size (vblade-14.tgz) = 20317 bytes
+SHA1 (patch-aa) = f7cd8f4cef5fbd0fb33c87d2d45cd055e6e97b60
diff --git a/net/aoe-vblade/patches/patch-aa b/net/aoe-vblade/patches/patch-aa
new file mode 100644
index 00000000000..3fa2f6003dd
--- /dev/null
+++ b/net/aoe-vblade/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/01/10 20:39:35 agc Exp $
+
+--- freebsd.c 2007/01/10 07:10:03 1.1
++++ freebsd.c 2007/01/10 07:10:42
+@@ -14,7 +14,12 @@
+ #include <sys/time.h>
+
+ #include <netinet/in.h>
++#ifdef __NetBSD__
++#include <net/if.h>
++#include <net/if_ether.h>
++#else
+ #include <net/ethernet.h>
++#endif
+ #include <net/bpf.h>
+ #include <net/if.h>
+ #include <net/if_arp.h>