diff options
author | lioux <lioux@FreeBSD.org> | 2002-02-21 01:41:17 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-02-21 01:41:17 +0000 |
commit | 3da829ac18eb10d3e2427ac9674cdb10a50c988f (patch) | |
tree | 23cbfc679fd06ba46f3364a7ddc5c10525468fed /misc/edonkey-tool-recovermet | |
parent | 4e0215f5a819414ff94e5c1a66171d89dc236128 (diff) | |
download | FreeBSD-ports-3da829ac18eb10d3e2427ac9674cdb10a50c988f.zip FreeBSD-ports-3da829ac18eb10d3e2427ac9674cdb10a50c988f.tar.gz |
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/edonkey-tool-recovermet')
-rw-r--r-- | misc/edonkey-tool-recovermet/Makefile | 47 | ||||
-rw-r--r-- | misc/edonkey-tool-recovermet/distinfo | 1 | ||||
-rw-r--r-- | misc/edonkey-tool-recovermet/pkg-comment | 1 | ||||
-rw-r--r-- | misc/edonkey-tool-recovermet/pkg-descr | 21 | ||||
-rw-r--r-- | misc/edonkey-tool-recovermet/pkg-plist | 1 |
5 files changed, 71 insertions, 0 deletions
diff --git a/misc/edonkey-tool-recovermet/Makefile b/misc/edonkey-tool-recovermet/Makefile new file mode 100644 index 0000000..843a404 --- /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 0000000..1cdf6f5 --- /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 0000000..89f01ba --- /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 0000000..b8997aa --- /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 0000000..c525bb7 --- /dev/null +++ b/misc/edonkey-tool-recovermet/pkg-plist @@ -0,0 +1 @@ +bin/edonkey-tool-recovermet |