diff options
Diffstat (limited to 'net/vblade')
-rw-r--r-- | net/vblade/Makefile | 27 | ||||
-rw-r--r-- | net/vblade/distinfo | 2 | ||||
-rw-r--r-- | net/vblade/files/patch-freebsd.c | 29 | ||||
-rw-r--r-- | net/vblade/files/patch-makefile | 29 | ||||
-rw-r--r-- | net/vblade/pkg-descr | 11 |
5 files changed, 0 insertions, 98 deletions
diff --git a/net/vblade/Makefile b/net/vblade/Makefile deleted file mode 100644 index 9580dcdf49d3..000000000000 --- a/net/vblade/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# Created by: Max Khon <fjoe@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= vblade -PORTVERSION= 21 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= SF/aoetools/${PORTNAME}/${PORTVERSION} - -MAINTAINER= fjoe@FreeBSD.org -COMMENT= Virtual EtherDrive(R) blade AoE target - -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 - -MAKE_ARGS= PLATFORM=freebsd\ - INSTALL_PROGRAM="${INSTALL_PROGRAM}"\ - INSTALL_SCRIPT="${INSTALL_SCRIPT}"\ - INSTALL_MAN="${INSTALL_MAN}" -MAKEFILE= makefile -ALL_TARGET= -USES= tar:tgz - -PLIST_FILES= sbin/vblade sbin/vbladed man/man8/vblade.8.gz - -.include <bsd.port.mk> diff --git a/net/vblade/distinfo b/net/vblade/distinfo deleted file mode 100644 index 05c1980c211b..000000000000 --- a/net/vblade/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (vblade-21.tgz) = b5740bb7d57141769ba77baa3c690f134dd62069f1df310debc2520d416a1b92 -SIZE (vblade-21.tgz) = 26434 diff --git a/net/vblade/files/patch-freebsd.c b/net/vblade/files/patch-freebsd.c deleted file mode 100644 index 4bc6d4b5319c..000000000000 --- a/net/vblade/files/patch-freebsd.c +++ /dev/null @@ -1,29 +0,0 @@ ---- freebsd.c.orig 2015-01-28 07:26:22.000000000 +0600 -+++ freebsd.c 2015-01-28 07:29:23.000000000 +0600 -@@ -25,7 +25,7 @@ - #include <sys/types.h> - #include <net/if.h> - #include <sys/stat.h> --#include <sys/disklabel.h> -+#include <sys/disk.h> - #include <sys/select.h> - #include <sys/sysctl.h> - -@@ -267,14 +267,14 @@ - vlong - getsize(int fd) - { -+ off_t media_size; - vlong size; - struct stat s; - int n; -- struct disklabel lab; - - // Try getting disklabel from block dev -- if ((n = ioctl(fd, DIOCGDINFO, lab)) != -1) { -- size = lab.d_secsize * lab.d_secperunit; -+ if ((n = ioctl(fd, DIOCGMEDIASIZE, &media_size)) != -1) { -+ size = media_size; - } else { - // must not be a block special dev - if (fstat(fd, &s) == -1) { diff --git a/net/vblade/files/patch-makefile b/net/vblade/files/patch-makefile deleted file mode 100644 index e02e101b136c..000000000000 --- a/net/vblade/files/patch-makefile +++ /dev/null @@ -1,29 +0,0 @@ ---- makefile.orig 2008-10-09 05:07:40.000000000 +0800 -+++ makefile 2014-06-24 15:09:56.936151781 +0800 -@@ -3,14 +3,12 @@ - # see README for others - PLATFORM=linux - --prefix = /usr -+prefix = ${PREFIX} - sbindir = ${prefix}/sbin --sharedir = ${prefix}/share --mandir = ${sharedir}/man -+mandir = ${prefix}/man - - O=aoe.o bpf.o ${PLATFORM}.o ata.o - CFLAGS += -Wall -g -O2 --CC = gcc - - vblade: $O - ${CC} -o vblade $O -@@ -38,6 +36,6 @@ clean : - rm -f $O vblade - - install : vblade vbladed -- install vblade ${sbindir}/ -- install vbladed ${sbindir}/ -- install vblade.8 ${mandir}/man8/ -+ ${INSTALL_PROGRAM} vblade $(DESTDIR)${sbindir}/ -+ ${INSTALL_SCRIPT} vbladed $(DESTDIR)${sbindir}/ -+ ${INSTALL_MAN} vblade.8 $(DESTDIR)${mandir}/man8/ diff --git a/net/vblade/pkg-descr b/net/vblade/pkg-descr deleted file mode 100644 index f0abd7962e0f..000000000000 --- a/net/vblade/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -The vblade is the virtual EtherDrive (R) blade, a program that makes a -seekable file available over an ethernet local area network (LAN) via -the ATA over Ethernet (AoE) protocol. - -The seekable file is typically a block device like /dev/md0 but even -regular files will work. Sparse files can be especially convenient. -When vblade exports the block storage over AoE it becomes a storage -target. Another host on the same LAN can access the storage if it has -a compatible aoe kernel driver. - -WWW: http://aoetools.sourceforge.net/ |