aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/vhdtool/Makefile37
-rw-r--r--sysutils/vhdtool/distinfo2
-rw-r--r--sysutils/vhdtool/files/patch-Makefile23
-rw-r--r--sysutils/vhdtool/files/patch-vhdtool.c40
-rw-r--r--sysutils/vhdtool/pkg-descr3
6 files changed, 0 insertions, 106 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index dc18aad8fbf5..8979d591e8e3 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1044,7 +1044,6 @@
SUBDIR += vagrant
SUBDIR += vbetool
SUBDIR += vcp
- SUBDIR += vhdtool
SUBDIR += videogen
SUBDIR += vii
SUBDIR += vils
diff --git a/sysutils/vhdtool/Makefile b/sysutils/vhdtool/Makefile
deleted file mode 100644
index f6f004182eb4..000000000000
--- a/sysutils/vhdtool/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= vhdtool
-PORTVERSION= 0.1
-CATEGORIES= sysutils
-MASTER_SITES= http://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ \
- LOCAL/gjb/${PORTNAME}
-
-MAINTAINER= gjb@FreeBSD.org
-COMMENT= Convert raw disk images to VHD files
-
-LICENSE= GPLv2
-
-LIB_DEPENDS= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
-
-USE_LDCONFIG= yes
-
-CFLAGS+= -I${LOCALBASE}/include \
- -L${LOCALBASE}/lib \
- -I${LOCALBASE}/lib \
- -luuid
-
-DEPRECATED= Use mkimg(1) instead
-EXPIRATION_DATE=2015-07-31
-
-PLIST_FILES= bin/${PORTNAME}
-PORTDOCS= README
-
-pre-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.for D in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/${D} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/sysutils/vhdtool/distinfo b/sysutils/vhdtool/distinfo
deleted file mode 100644
index 0216058e4f1b..000000000000
--- a/sysutils/vhdtool/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (vhdtool-0.1.tar.gz) = cf33bb358904da73a81da1ffa7fa254b620bf0bbbdf4ea36dd2758b5806852f9
-SIZE (vhdtool-0.1.tar.gz) = 6104
diff --git a/sysutils/vhdtool/files/patch-Makefile b/sysutils/vhdtool/files/patch-Makefile
deleted file mode 100644
index 2a8d3e338b8a..000000000000
--- a/sysutils/vhdtool/files/patch-Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 78abe03..9cde1f0 100644
---- Makefile
-+++ Makefile
-@@ -1,14 +1,11 @@
--CC := gcc
--CFLAGS := -O2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -g2
--LDFLAGS := -luuid
-
- all: vhdtool
-
--vhdtool: vhdtool.o
-- $(CC) $^ $(LDFLAGS) -o $@
--
--vhdtool.o: vhdtool.c
-+vhdtool:
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o vhdtool vhdtool.c
-
- clean:
- rm -f vhdtool vhdtool.o
-
-+install:
-+ # Nope.
diff --git a/sysutils/vhdtool/files/patch-vhdtool.c b/sysutils/vhdtool/files/patch-vhdtool.c
deleted file mode 100644
index 33074a2772b1..000000000000
--- a/sysutils/vhdtool/files/patch-vhdtool.c
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/vhdtool.c b/vhdtool.c
-index af4d0eb..04c54c1 100644
---- vhdtool.c
-+++ vhdtool.c
-@@ -23,7 +23,7 @@
-
- #include <errno.h>
- #include <stdio.h>
--#include <endian.h>
-+#include <sys/endian.h>
- #include <inttypes.h>
- #include <string.h>
- #include <getopt.h>
-@@ -34,6 +34,8 @@
- #include <sys/stat.h>
- #include <fcntl.h>
-
-+#define off64_t __int64_t
-+
- #define COOKIE(x) (*(uint64_t *) x)
- #define COOKIE32(x) (*(uint32_t *) x)
- #define FOOTER_FEAT_RSVD (2)
-@@ -152,7 +154,7 @@ int vhd_read(struct vhd *vhd,
- void *buf,
- size_t size)
- {
-- if (lseek64(vhd->fd, vhd->offset, SEEK_SET) != vhd->offset) {
-+ if (lseek(vhd->fd, vhd->offset, SEEK_SET) != vhd->offset) {
- fprintf(stderr, "Error: couldn't seek '%s': %s\n",
- vhd->name, strerror(errno));
- return -1;
-@@ -172,7 +174,7 @@ int vhd_write(struct vhd *vhd,
- void *buf,
- size_t size)
- {
-- if (lseek64(vhd->fd, vhd->offset, SEEK_SET) != vhd->offset) {
-+ if (lseek(vhd->fd, vhd->offset, SEEK_SET) != vhd->offset) {
- fprintf(stderr, "Error: couldn't seek '%s': %s\n",
- vhd->name, strerror(errno));
- return -1;
diff --git a/sysutils/vhdtool/pkg-descr b/sysutils/vhdtool/pkg-descr
deleted file mode 100644
index a718b74b866a..000000000000
--- a/sysutils/vhdtool/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-vhdtool converts raw disk images to VHD images.
-
-WWW: https://github.com/andreiw/vhdtool