diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-02-21 01:41:17 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-02-21 01:41:17 +0000 |
commit | 22df464dd3d375e8ab3698e1317e88e2c12c1884 (patch) | |
tree | 0dfb048d49bba4c7f11d2dcf2e81c1149bf5c28e /net-p2p/linux-edonkey-tool-recovermet | |
parent | 51a889d9a1693aea695da0476d5fc7f52c71f7c2 (diff) | |
download | ports-22df464dd3d375e8ab3698e1317e88e2c12c1884.tar.gz ports-22df464dd3d375e8ab3698e1317e88e2c12c1884.zip |
Notes
Diffstat (limited to 'net-p2p/linux-edonkey-tool-recovermet')
-rw-r--r-- | net-p2p/linux-edonkey-tool-recovermet/Makefile | 47 | ||||
-rw-r--r-- | net-p2p/linux-edonkey-tool-recovermet/distinfo | 1 | ||||
-rw-r--r-- | net-p2p/linux-edonkey-tool-recovermet/pkg-comment | 1 | ||||
-rw-r--r-- | net-p2p/linux-edonkey-tool-recovermet/pkg-descr | 21 | ||||
-rw-r--r-- | net-p2p/linux-edonkey-tool-recovermet/pkg-plist | 1 |
5 files changed, 71 insertions, 0 deletions
diff --git a/net-p2p/linux-edonkey-tool-recovermet/Makefile b/net-p2p/linux-edonkey-tool-recovermet/Makefile new file mode 100644 index 000000000000..843a4049df82 --- /dev/null +++ b/net-p2p/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/net-p2p/linux-edonkey-tool-recovermet/distinfo b/net-p2p/linux-edonkey-tool-recovermet/distinfo new file mode 100644 index 000000000000..1cdf6f57dc55 --- /dev/null +++ b/net-p2p/linux-edonkey-tool-recovermet/distinfo @@ -0,0 +1 @@ +MD5 (ed2k_recovermet.gz) = bc25fae29e31582e47d32e027d1ab2fd diff --git a/net-p2p/linux-edonkey-tool-recovermet/pkg-comment b/net-p2p/linux-edonkey-tool-recovermet/pkg-comment new file mode 100644 index 000000000000..89f01ba3646f --- /dev/null +++ b/net-p2p/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/net-p2p/linux-edonkey-tool-recovermet/pkg-descr b/net-p2p/linux-edonkey-tool-recovermet/pkg-descr new file mode 100644 index 000000000000..b8997aacd1be --- /dev/null +++ b/net-p2p/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/net-p2p/linux-edonkey-tool-recovermet/pkg-plist b/net-p2p/linux-edonkey-tool-recovermet/pkg-plist new file mode 100644 index 000000000000..c525bb7cc121 --- /dev/null +++ b/net-p2p/linux-edonkey-tool-recovermet/pkg-plist @@ -0,0 +1 @@ +bin/edonkey-tool-recovermet |