From 0f311a05e57e61dc88e57327f36c0d9fc001d958 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Wed, 20 Feb 2002 22:36:43 +0000 Subject: - edonkey-tool-hash version 0.0.1: Both calculates 'eDonkey hashes' and produces ed2k:// links for files --- misc/Makefile | 1 + misc/edonkey-tool-hash/Makefile | 27 +++++++++++++++++++++++++++ misc/edonkey-tool-hash/distinfo | 1 + misc/edonkey-tool-hash/pkg-comment | 1 + misc/edonkey-tool-hash/pkg-descr | 6 ++++++ misc/edonkey-tool-hash/pkg-plist | 1 + 6 files changed, 37 insertions(+) create mode 100644 misc/edonkey-tool-hash/Makefile create mode 100644 misc/edonkey-tool-hash/distinfo create mode 100644 misc/edonkey-tool-hash/pkg-comment create mode 100644 misc/edonkey-tool-hash/pkg-descr create mode 100644 misc/edonkey-tool-hash/pkg-plist (limited to 'misc') diff --git a/misc/Makefile b/misc/Makefile index 19ae0758f33e..ab1a746e7979 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -59,6 +59,7 @@ SUBDIR += dnetc SUBDIR += dog SUBDIR += dotfile + SUBDIR += edonkey-tool-hash SUBDIR += emma SUBDIR += estic SUBDIR += ewipe diff --git a/misc/edonkey-tool-hash/Makefile b/misc/edonkey-tool-hash/Makefile new file mode 100644 index 000000000000..4ecca6ab2dc0 --- /dev/null +++ b/misc/edonkey-tool-hash/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: edonkey hash tool +# Date created: Wed Feb 20 18:03:49 BRT 2002 +# Whom: Mario Sergio Fujikawa Ferreira +# +# $FreeBSD$ +# + +PORTNAME= edonkey +PORTVERSION= 0.0.1 +CATEGORIES= misc +MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/ +PKGNAMESUFFIX= -tool-hash +DISTNAME= ed2k_hash + +MAINTAINER= lioux@FreeBSD.org + +# I could have written a Makefile but I would rather +# not waste inodes +do-build: + @cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \ + ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \ + ${PREFIX}/bin + +.include diff --git a/misc/edonkey-tool-hash/distinfo b/misc/edonkey-tool-hash/distinfo new file mode 100644 index 000000000000..fcc84b1a7415 --- /dev/null +++ b/misc/edonkey-tool-hash/distinfo @@ -0,0 +1 @@ +MD5 (ed2k_hash.tar.gz) = f4645f0f44b9332a6e5672d8b8a0f0ab diff --git a/misc/edonkey-tool-hash/pkg-comment b/misc/edonkey-tool-hash/pkg-comment new file mode 100644 index 000000000000..8ba672f57cb8 --- /dev/null +++ b/misc/edonkey-tool-hash/pkg-comment @@ -0,0 +1 @@ +Both calculates 'eDonkey hashes' and produces ed2k:// links for files diff --git a/misc/edonkey-tool-hash/pkg-descr b/misc/edonkey-tool-hash/pkg-descr new file mode 100644 index 000000000000..f6fbcc985df5 --- /dev/null +++ b/misc/edonkey-tool-hash/pkg-descr @@ -0,0 +1,6 @@ +This tool takes a file and calculates the final 'eDonkey hash' for +it that you need if you want to create ed2k:// links to that file. +It also spits out the complete ed2k:// link in the end and appends +it to the file 'ed2k_links.txt' for easier copy-and-paste later on. + +WWW: http://users.aber.ac.uk/tpm01/ed2k_tools/ed2k_hash.html diff --git a/misc/edonkey-tool-hash/pkg-plist b/misc/edonkey-tool-hash/pkg-plist new file mode 100644 index 000000000000..5a5e8ae8d189 --- /dev/null +++ b/misc/edonkey-tool-hash/pkg-plist @@ -0,0 +1 @@ +bin/edonkey-tool-hash -- cgit v1.2.3