diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-30 21:36:28 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-30 21:36:28 +0000 |
commit | fbab09fee302574e578e4f0d1b6082cdae4defb4 (patch) | |
tree | 2e89197b88b8a883c56aef7a5d0d89dc5d374850 /net/mldonkey/files | |
parent | Upgrade to 1.63.0. (diff) |
Populate newly create net-p2p category with these ports:
ftp/jigdo
net/amule1
net/amule2
net/apollon
net/azureus
net/bnbt
net/btpeer
net/btqueue
net/cdonkey
net/ctorrent
net/dcd
net/dclib
net/dctc
net/dctc-gui
net/dctc-gui-qt
net/edonkey-gui-gtk
net/edonkey-gui-gtk-urlslave
net/fcptools
net/fidelio
net/freenet
net/frost
net/giftcurs
net/giftoxic
net/giftui
net/gift
net/gift-fasttrack
net/gift-gnutella
net/gift-openft
net/gkrellm-gift
net/gnewtellium
net/gnome-btdownload
net/gnunet
net/gtkhx
net/gtk-gnutella
net/gtorrentviewer
net/hagelslag
net/hx
net/i2p
net/javadc
net/kmldonkey
net/ktorrent
net/libbt
net/liberator
net/libfreenet
net/libpdtp
net/libtorrent
net/limewire
net/linux-agsatellite
net/linux-edonkey-core
net/linux-edonkey-server
net/linux-jigdo
net/linux-overnet-core
net/minder
net/mldonkey
net/mldonkey-core
net/mldonkey-core-devel
net/mldonkey-devel
net/mldonkey-gui
net/mldonkey-gui-devel
net/mldonkey-perlreactor
net/mldonkey-sancho
net/mldonkey-serverspy
net/mldonkey-urlslave
net/mutella
net/mute-net
net/mute-net-gui
net/mute-net-text
net/napshare
net/nicotine
net/opendchub
net/peercast
net/phex
net/pyslsk
net/py-bittornado
net/py-bittornado-core
net/py-bittorrent
net/py-bittorrent-core
net/py-bittorrent-core-devel
net/py-bittorrent-devel
net/py-fngrab
net/py-kenosis
net/py-kenosis-bittorrent
net/py-py2play
net/p5-pdonkey
net/qtella
net/qtorrent
net/rtorrent
net/squall
net/torrentflux
net/torrentsniff
net/trackerbt
net/transmission
net/valknut
net/verlihub
net/verlihub-plugins
net/xmule
net/xnap
misc/ed2k
misc/edonkey-tool-hash
misc/linux-edonkey-tool-recovermet
Repocopies by: marcus
Notes
Notes:
svn path=/head/; revision=154851
Diffstat (limited to 'net/mldonkey/files')
-rw-r--r-- | net/mldonkey/files/kill_mldonkey | 54 | ||||
-rw-r--r-- | net/mldonkey/files/mlnet.sh | 60 | ||||
-rw-r--r-- | net/mldonkey/files/patch-Makefile | 40 | ||||
-rw-r--r-- | net/mldonkey/files/patch-hashes | 154 | ||||
-rw-r--r-- | net/mldonkey/files/wrapper.sh | 18 |
5 files changed, 0 insertions, 326 deletions
diff --git a/net/mldonkey/files/kill_mldonkey b/net/mldonkey/files/kill_mldonkey deleted file mode 100644 index 71c40bc1ac83..000000000000 --- a/net/mldonkey/files/kill_mldonkey +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -# Copyright (c) 2003 -# Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> -# Holger Lamm <holger@e-gitt.net> -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# - -# -# Add Username and password here -# like this: -# -#MLNETUSER="admin" -#MLNETPASS="" -#MLNETHOST="127.0.0.1" -#MLNETPORT="4080" - -# internal configuration -HTTP_COMMAND="/usr/bin/fetch" -HTTP_COMMAND_ARGS="-1 -q -s -o /dev/null" - -if [ -n "${MLNETPASS}" ]; then - export HTTP_AUTH=basic:*:${MLNETUSER:-admin}:${MLNETPASS} -fi - -exec > /dev/null 2>&1 - -${HTTP_COMMAND} ${HTTP_COMMAND_ARGS} \ - "http://${MLNETHOST:-127.0.0.1}:${MLNETPORT:-4080}/submit?q=kill" \ - 2>&1 > /dev/null - diff --git a/net/mldonkey/files/mlnet.sh b/net/mldonkey/files/mlnet.sh deleted file mode 100644 index 6860d810a5e5..000000000000 --- a/net/mldonkey/files/mlnet.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -# PROVIDE: mlnet -# REQUIRE: LOGIN -# KEYWORD: FreeBSD shutdown - -mlnet_enable=${mlnet_enable:-"NO"} -mlnet_http_port=${mlnet_http_port:-"4080"} -mlnet_logfile=${mlnet_logfile:-"/var/log/mlnet"} - -. %%RC_SUBR%% - -name=mlnet -rcvar=`set_rcvar` -command="%%PREFIX%%/bin/${name}" -start_cmd="${name}_start" -stop_cmd="${name}_stop" - -mlnet_conf="%%PREFIX%%/etc/mlnet.conf" -required_files="${mlnet_conf}" -mlnet_user=${mlnet_user:-"mlnet"} - -if [ -r ${mlnet_conf} ] ; then - . ${mlnet_conf} -fi - -mlnet_url="http://" -if [ -n "${mlnet_http_user}" -a -n "${mlnet_http_password}" ] ; then - mlnet_url="${mlnet_url}${mlnet_http_user}:${mlnet_http_password}@" -fi -mlnet_url="${mlnet_url}localhost:${mlnet_http_port}" - -mlnet_start() { - if checkyesno mlnet_enable ; then - echo -n " mlnet" - su ${mlnet_user} -c "${command} \ - ${mlnet_flags} \ - -http_port ${mlnet_http_port}" \ - >>${mlnet_logfile} 2>&1 & - fi -} - -mlnet_stop() { - if checkyesno mlnet_enable ; then - echo -n " mlnet" - %%LOCALBASE%%/bin/wget --spider -q \ - "${mlnet_url}/submit?q=close_fds" \ - >>${mlnet_logfile} 2>&1 - %%LOCALBASE%%/bin/wget --spider -q \ - "${mlnet_url}/submit?q=save" \ - >>${mlnet_logfile} 2>&1 - %%LOCALBASE%%/bin/wget --spider -q \ - "${mlnet_url}/submit?q=kill" \ - >>${mlnet_logfile} 2>&1 - fi -} - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net/mldonkey/files/patch-Makefile b/net/mldonkey/files/patch-Makefile deleted file mode 100644 index 452e3963a19d..000000000000 --- a/net/mldonkey/files/patch-Makefile +++ /dev/null @@ -1,40 +0,0 @@ ---- config/Makefile.in.orig Tue Sep 6 21:51:36 2005 -+++ config/Makefile.in Tue Sep 6 22:00:47 2005 -@@ -144,6 +144,11 @@ - CDK_SRCS += $(CDK)/zlib.ml $(CDK)/zlibstubs.c - endif - -+ifneq ("$(OPENSSLBASE)", "/usr") -+ LIBS_flags += -ccopt -I$(OPENSSLINC) -cclib -L$(OPENSSLLIB) -+endif -+LIBS_flags += -cclib -lcrypto -+ - ifeq ("$(GD)", "yes") - LIBS_flags += -cclib -lgd -cclib -lfreetype -cclib -lm - LIBS_flags += -ccopt -W -ccopt -Wall -ccopt -Wno-unused -@@ -219,8 +224,7 @@ - $(LIB)/misc.ml $(LIB)/unix32.ml $(LIB)/md4.ml \ - $(LIB)/avifile.ml $(LIB)/http_lexer.mll $(LIB)/url.ml \ - $(LIB)/date.ml $(LIB)/fst_hash.c \ -- $(LIB)/md4_comp.c $(LIB)/md4_c.c \ -- $(LIB)/gettext.ml4 $(LIB)/md5_c.c $(LIB)/$(SHA1_VERSION)_c.c \ -+ $(LIB)/md4_c.c $(LIB)/gettext.ml4 \ - $(LIB)/tiger.c \ - $(LIB)/stubs_c.c $(LIB)/queues.ml \ - $(LIB)/charsetstubs.c $(LIB)/charset.ml -@@ -291,7 +295,7 @@ - all: Makefile config/Makefile.config $(TARGET_TYPE) - - config/configure: config/configure.in -- cd config; autoconf -+ cd config; %%AUTOCONF%% - - ifeq ("$(CONFIGURE_RUN)" , "yes") - -@@ -2059,5 +2063,4 @@ - src/utils/lib/sha1new_c.o: src/utils/lib/sha1new_c.h \ - src/utils/lib/sha1_c.h src/utils/lib/os_stubs.h - --src/daemon/common/commonHasher_c.o: src/utils/lib/sha1_c.h --src/utils/lib/stubs_c.o: src/utils/lib/sha1_c.h -+src/daemon/common/commonHasher_c.o: diff --git a/net/mldonkey/files/patch-hashes b/net/mldonkey/files/patch-hashes deleted file mode 100644 index fc1f71eb47f9..000000000000 --- a/net/mldonkey/files/patch-hashes +++ /dev/null @@ -1,154 +0,0 @@ ---- src/utils/lib/stubs_c.c.orig Tue Sep 6 22:03:39 2005 -+++ src/utils/lib/stubs_c.c Tue Sep 6 22:11:04 2005 -@@ -515,11 +515,11 @@ - nread = os_read (fd, hash_buffer, max_nread); \ - \ - if(nread < 0) { \ -- unix_error(errno, "md4_safe_fd: Read", Nothing); \ -+ unix_error(errno, "HASH_NAME##un_safe_fd: Read", Nothing); \ - } \ - \ - if(nread == 0){ \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - \ - return Val_unit; \ - } \ -@@ -527,7 +527,7 @@ - HASH_APPEND (&context, hash_buffer, nread); \ - len -= nread; \ - } \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - \ - return Val_unit; \ - } \ -@@ -541,7 +541,7 @@ - \ - HASH_INIT (&context); \ - HASH_APPEND (&context, string, len); \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - \ - return Val_unit; \ - } \ -@@ -561,7 +561,7 @@ - HASH_INIT (&context); \ - while ((len = fread (hash_buffer, 1, HASH_BUFFER_LEN, file)) >0) \ - HASH_APPEND (&context, hash_buffer, len); \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - \ - fclose (file); \ - } \ -@@ -569,13 +569,13 @@ - } \ - - --#include "md4.h" --#include "md5.h" --#include "sha1_c.h" -+#include <openssl/md4.h> -+#include <openssl/md5.h> -+#include <openssl/sha.h> - --ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) --ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) --ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) -+ML_HASH(sha1,SHA_CTX,SHA1_Init,SHA1_Update, SHA1_Final) -+ML_HASH(md5, MD5_CTX, MD5_Init, MD5_Update, MD5_Final) -+ML_HASH(md4, MD4_CTX, MD4_Init, MD4_Update, MD4_Final) - - /******************************************************************* - ---- src/daemon/common/commonHasher_c.c.orig Tue Sep 6 22:14:27 2005 -+++ src/daemon/common/commonHasher_c.c Tue Sep 6 22:19:35 2005 -@@ -37,9 +37,9 @@ - #define JOB_HANDLER 5 - #define JOB_ERROR 6 - --#include "../../utils/lib/md4.h" --#include "../../utils/lib/md5.h" --#include "../../utils/lib/sha1_c.h" -+#include <openssl/md4.h> -+#include <openssl/md5.h> -+#include <openssl/sha.h> - #include "../../utils/lib/tiger.h" - - -@@ -68,7 +68,7 @@ - unix_error(errno, "HASH_NAME##unsafe64_fd_direct: Read", Nothing); \ - } \ - if(nread == 0){ \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - \ - return; \ - } \ -@@ -76,12 +76,12 @@ - HASH_APPEND (&context, local_hash_buffer, nread); \ - len -= nread; \ - } \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - } - --COMPLETE_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) --COMPLETE_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) --COMPLETE_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) -+COMPLETE_HASH(sha1,SHA_CTX,SHA1_Init,SHA1_Update, SHA1_Final) -+COMPLETE_HASH(md5, MD5_CTX, MD5_Init, MD5_Update, MD5_Final) -+COMPLETE_HASH(md4, MD4_CTX, MD4_Init, MD4_Update, MD4_Final) - - static void tiger_tree_fd(OS_FD fd, long len, off_t pos, - int block_size, char *digest) -@@ -160,7 +160,7 @@ - \ - if(nread == 0){ \ - unsigned char *digest = String_val(Field(job_v, JOB_RESULT)); \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - job_finished = 1; \ - timer = 10; \ - return Val_true; \ -@@ -173,7 +173,7 @@ - \ - if(job_len <= 0){ \ - unsigned char *digest = String_val(Field(job_v, JOB_RESULT)); \ -- HASH_FINISH (&context, digest); \ -+ HASH_FINISH (digest, &context); \ - job_finished = 1; \ - timer = 10; \ - return Val_true; \ ---- src/networks/fasttrack/fst_crypt.c.orig Tue Sep 6 22:23:50 2005 -+++ src/networks/fasttrack/fst_crypt.c Tue Sep 6 22:26:34 2005 -@@ -15,7 +15,8 @@ - * General Public License for more details. - */ - --#include "../../utils/lib/md5.h" -+#include <string.h> -+#include <openssl/md5.h> - #include "fst_crypt.h" - - /*****************************************************************************/ -@@ -106,14 +106,14 @@ - - if (enc_type & 0x08) - { -- MD5Context ctx; -- unsigned char md5[MD5_HASH_LEN]; -+ MD5_CTX ctx; -+ unsigned char md5[MD5_DIGEST_LENGTH]; - - FST_HEAVY_DBG ("init_cipher: enc_type & 0x08"); - -- MD5Init (&ctx); -- MD5Update (&ctx, cipher->pad, sizeof(cipher->pad)); -- MD5Final (md5, &ctx); -+ MD5_Init (&ctx); -+ MD5_Update (&ctx, cipher->pad, sizeof(cipher->pad)); -+ MD5_Final (md5, &ctx); - - /* correct md5 byte order on big-endian since it's converted to (unsigned int*) below */ - reverse_bytes ( (unsigned int*)&md5, 4); diff --git a/net/mldonkey/files/wrapper.sh b/net/mldonkey/files/wrapper.sh deleted file mode 100644 index c25fd62bc133..000000000000 --- a/net/mldonkey/files/wrapper.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -PREFIX="%%PREFIX%%/bin" -PROGRAM="${0}" -DIRNAME=${HOME}/.mldonkey - -if [ ! -d ${DIRNAME} ] -then - mkdir -p ${DIRNAME} -fi - -echo " ${*} " | grep " \-createdironly " || -{ - cd ${DIRNAME} && - echo Running under ${DIRNAME} && - exec ${PREFIX}/${PROGRAM##*/}-real "${@}" || - echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again -} |