aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-02-21 09:41:17 +0800
committerlioux <lioux@FreeBSD.org>2002-02-21 09:41:17 +0800
commit3da829ac18eb10d3e2427ac9674cdb10a50c988f (patch)
tree23cbfc679fd06ba46f3364a7ddc5c10525468fed /misc
parent4e0215f5a819414ff94e5c1a66171d89dc236128 (diff)
downloadfreebsd-ports-gnome-3da829ac18eb10d3e2427ac9674cdb10a50c988f.tar.gz
freebsd-ports-gnome-3da829ac18eb10d3e2427ac9674cdb10a50c988f.tar.zst
freebsd-ports-gnome-3da829ac18eb10d3e2427ac9674cdb10a50c988f.zip
New port edonkey-tool-recovermet version 0.0.2: Tool that tries to
re-create x.part.met files compromised due to crash
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/edonkey-tool-recovermet/Makefile47
-rw-r--r--misc/edonkey-tool-recovermet/distinfo1
-rw-r--r--misc/edonkey-tool-recovermet/pkg-comment1
-rw-r--r--misc/edonkey-tool-recovermet/pkg-descr21
-rw-r--r--misc/edonkey-tool-recovermet/pkg-plist1
-rw-r--r--misc/linux-edonkey-tool-recovermet/Makefile47
-rw-r--r--misc/linux-edonkey-tool-recovermet/distinfo1
-rw-r--r--misc/linux-edonkey-tool-recovermet/pkg-comment1
-rw-r--r--misc/linux-edonkey-tool-recovermet/pkg-descr21
-rw-r--r--misc/linux-edonkey-tool-recovermet/pkg-plist1
11 files changed, 143 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 362718b70d19..4b7c32f98306 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -61,6 +61,7 @@
SUBDIR += dotfile
SUBDIR += edonkey-tool-hash
SUBDIR += edonkey-tool-list
+ SUBDIR += edonkey-tool-recovermet
SUBDIR += edonkey-tool-slist
SUBDIR += emma
SUBDIR += estic
diff --git a/misc/edonkey-tool-recovermet/Makefile b/misc/edonkey-tool-recovermet/Makefile
new file mode 100644
index 000000000000..843a4049df82
--- /dev/null
+++ b/misc/edonkey-tool-recovermet/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: edonkey recovermet tool
+# Date created: Wed Feb 20 18:03:49 BRT 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= edonkey
+PORTVERSION= 0.0.2
+CATEGORIES= misc
+MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
+PKGNAMESUFFIX= -tool-recovermet
+DISTNAME= ed2k_recovermet
+EXTRACT_SUFX= .gz
+EXTRACT_ONLY=
+
+MAINTAINER= lioux@FreeBSD.org
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+STRIP=
+
+STRIP_CMD= ${LINUXBASE}/usr/bin/strip
+
+.if exists(/usr/bin/brandelf)
+BRANDELF?= /usr/bin/brandelf
+.else
+BRANDELF?= brandelf
+.endif
+
+BINARY_NAME= ${PORTNAME}${PKGNAMESUFFIX}
+
+post-extract:
+ @${GZCAT} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKSRC}/${BINARY_NAME}
+
+pre-install:
+.if exists(${STRIP_CMD})
+ @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
+.endif
+ @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/misc/edonkey-tool-recovermet/distinfo b/misc/edonkey-tool-recovermet/distinfo
new file mode 100644
index 000000000000..1cdf6f57dc55
--- /dev/null
+++ b/misc/edonkey-tool-recovermet/distinfo
@@ -0,0 +1 @@
+MD5 (ed2k_recovermet.gz) = bc25fae29e31582e47d32e027d1ab2fd
diff --git a/misc/edonkey-tool-recovermet/pkg-comment b/misc/edonkey-tool-recovermet/pkg-comment
new file mode 100644
index 000000000000..89f01ba3646f
--- /dev/null
+++ b/misc/edonkey-tool-recovermet/pkg-comment
@@ -0,0 +1 @@
+Tool that tries to re-create x.part.met files compromised due to crash
diff --git a/misc/edonkey-tool-recovermet/pkg-descr b/misc/edonkey-tool-recovermet/pkg-descr
new file mode 100644
index 000000000000..b8997aacd1be
--- /dev/null
+++ b/misc/edonkey-tool-recovermet/pkg-descr
@@ -0,0 +1,21 @@
+This is a tool for eDonkey2000 that re-creates x.part.met files
+that have been lost or set zero size after a crash.
+
+Obviously, this only works if the x.part file in your temp folder
+survives. Only those 9MB blocks will be saved which have been fully
+downloaded, but you'll be able to continue your download.
+
+The tool tries to find the best match from information stored in
+the known.met file and all the x.part.met files in the temp folder.
+
+Therefore, you can increase the chance of recovery by searching for
+the file you are trying to restore and put as many possible candidates
+as you can find in the download list (which you can cancel again
+after using this tool).
+
+N.B. Obviously these candidates should have the same size as your
+download was/is supposed to have! Therefore, if your download was
+supposed to be 699MB when finished, files with 720MB or 750MB are
+NOT likely candidates, even if the name is the same.
+
+WWW: http://users.aber.ac.uk/tpm01/ed2k_tools/
diff --git a/misc/edonkey-tool-recovermet/pkg-plist b/misc/edonkey-tool-recovermet/pkg-plist
new file mode 100644
index 000000000000..c525bb7cc121
--- /dev/null
+++ b/misc/edonkey-tool-recovermet/pkg-plist
@@ -0,0 +1 @@
+bin/edonkey-tool-recovermet
diff --git a/misc/linux-edonkey-tool-recovermet/Makefile b/misc/linux-edonkey-tool-recovermet/Makefile
new file mode 100644
index 000000000000..843a4049df82
--- /dev/null
+++ b/misc/linux-edonkey-tool-recovermet/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: edonkey recovermet tool
+# Date created: Wed Feb 20 18:03:49 BRT 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= edonkey
+PORTVERSION= 0.0.2
+CATEGORIES= misc
+MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
+PKGNAMESUFFIX= -tool-recovermet
+DISTNAME= ed2k_recovermet
+EXTRACT_SUFX= .gz
+EXTRACT_ONLY=
+
+MAINTAINER= lioux@FreeBSD.org
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+STRIP=
+
+STRIP_CMD= ${LINUXBASE}/usr/bin/strip
+
+.if exists(/usr/bin/brandelf)
+BRANDELF?= /usr/bin/brandelf
+.else
+BRANDELF?= brandelf
+.endif
+
+BINARY_NAME= ${PORTNAME}${PKGNAMESUFFIX}
+
+post-extract:
+ @${GZCAT} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKSRC}/${BINARY_NAME}
+
+pre-install:
+.if exists(${STRIP_CMD})
+ @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
+.endif
+ @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/misc/linux-edonkey-tool-recovermet/distinfo b/misc/linux-edonkey-tool-recovermet/distinfo
new file mode 100644
index 000000000000..1cdf6f57dc55
--- /dev/null
+++ b/misc/linux-edonkey-tool-recovermet/distinfo
@@ -0,0 +1 @@
+MD5 (ed2k_recovermet.gz) = bc25fae29e31582e47d32e027d1ab2fd
diff --git a/misc/linux-edonkey-tool-recovermet/pkg-comment b/misc/linux-edonkey-tool-recovermet/pkg-comment
new file mode 100644
index 000000000000..89f01ba3646f
--- /dev/null
+++ b/misc/linux-edonkey-tool-recovermet/pkg-comment
@@ -0,0 +1 @@
+Tool that tries to re-create x.part.met files compromised due to crash
diff --git a/misc/linux-edonkey-tool-recovermet/pkg-descr b/misc/linux-edonkey-tool-recovermet/pkg-descr
new file mode 100644
index 000000000000..b8997aacd1be
--- /dev/null
+++ b/misc/linux-edonkey-tool-recovermet/pkg-descr
@@ -0,0 +1,21 @@
+This is a tool for eDonkey2000 that re-creates x.part.met files
+that have been lost or set zero size after a crash.
+
+Obviously, this only works if the x.part file in your temp folder
+survives. Only those 9MB blocks will be saved which have been fully
+downloaded, but you'll be able to continue your download.
+
+The tool tries to find the best match from information stored in
+the known.met file and all the x.part.met files in the temp folder.
+
+Therefore, you can increase the chance of recovery by searching for
+the file you are trying to restore and put as many possible candidates
+as you can find in the download list (which you can cancel again
+after using this tool).
+
+N.B. Obviously these candidates should have the same size as your
+download was/is supposed to have! Therefore, if your download was
+supposed to be 699MB when finished, files with 720MB or 750MB are
+NOT likely candidates, even if the name is the same.
+
+WWW: http://users.aber.ac.uk/tpm01/ed2k_tools/
diff --git a/misc/linux-edonkey-tool-recovermet/pkg-plist b/misc/linux-edonkey-tool-recovermet/pkg-plist
new file mode 100644
index 000000000000..c525bb7cc121
--- /dev/null
+++ b/misc/linux-edonkey-tool-recovermet/pkg-plist
@@ -0,0 +1 @@
+bin/edonkey-tool-recovermet