Date: Thu, 27 Dec 2001 10:20:39 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33222: new port: net/linux-edonkey2000-server Message-ID: <20011227022039.10FF6C3B02@utopia.leeym.com>
next in thread | raw e-mail | index | archive | help
>Number: 33222 >Category: ports >Synopsis: new port: net/linux-edonkey2000-server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 26 18:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 4.4-STABLE FreeBSD 4.4-STABLE #81: Thu Dec 20 05:34:09 CST 2001 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: A decentralized peer-to-peer file-sharing server WWW: http://www.edonkey2000.com/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # linux-edonkey2000-server # linux-edonkey2000-server/Makefile # linux-edonkey2000-server/pkg-comment # linux-edonkey2000-server/pkg-descr # linux-edonkey2000-server/pkg-plist # linux-edonkey2000-server/distinfo # linux-edonkey2000-server/files # linux-edonkey2000-server/files/donkey.ini # linux-edonkey2000-server/files/edonkey2000-server.sh.sample # echo c - linux-edonkey2000-server mkdir -p linux-edonkey2000-server > /dev/null 2>&1 echo x - linux-edonkey2000-server/Makefile sed 's/^X//' >linux-edonkey2000-server/Makefile << 'END-of-linux-edonkey2000-server/Makefile' X# New ports collection makefile for: linux-edonkey2000-server X# Date created: 18 December 2001 X# Whom: Yen-Ming Lee <leeym@leeym.com> X# X# $FreeBSD$ X# X XPORTNAME= edonkey2000 XPORTVERSION= v16.38 XCATEGORIES= net linux XMASTER_SITES= http://www.edonkey2000.com/files/ XPKGNAMEPREFIX= linux- XPKGNAMESUFFIX= -server XDISTNAME= dserver XEXTRACT_SUFX= .gz X XMAINTAINER= leeym@leeym.com X X# To run dserver in console mode, please install screen first XRUN_DEPENDS= screen:${PORTSDIR}/misc/screen X XUSE_LINUX= yes XNO_WRKSUBDIR= yes XNO_BUILD= yes XEXTRACT_AFTER_ARGS= > ${DISTNAME} XSTRIP= X Xpost-extract: X @brandelf -t Linux ${WRKDIR}/${DISTNAME} X @${CHMOD} ${BINMODE} ${WRKDIR}/${DISTNAME} X Xdo-install: X @${MKDIR} ${PREFIX}/libexec/edonkey2000 X @${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME} ${PREFIX}/libexec/edonkey2000 X @${INSTALL_DATA} ${FILESDIR}/donkey.ini ${PREFIX}/libexec/edonkey2000 X @${INSTALL_SCRIPT} ${FILESDIR}/edonkey2000-server.sh.sample ${PREFIX}/etc/rc.d X X.include <bsd.port.mk> END-of-linux-edonkey2000-server/Makefile echo x - linux-edonkey2000-server/pkg-comment sed 's/^X//' >linux-edonkey2000-server/pkg-comment << 'END-of-linux-edonkey2000-server/pkg-comment' XA decentralized peer-to-peer file-sharing server END-of-linux-edonkey2000-server/pkg-comment echo x - linux-edonkey2000-server/pkg-descr sed 's/^X//' >linux-edonkey2000-server/pkg-descr << 'END-of-linux-edonkey2000-server/pkg-descr' XeDonkey2000 doesn't rely on one central server yet searches are quick and Xyour client doesn't get bogged down with endless search requests. You have Xthe ability to search all the files being shared anywhere on the eDonkey2000 Xnetwork. X XIt allows you to transfer any type of file. It automatically resumes Xinterrupted transfers from alternate sources. It even introduces ways to Xshare a whole collection of files together so you can be sure to get all Xthe songs in an album or all pieces of a movie. Users will be able to Xdownload a file from multiple sources at the same time thus insuring that Xtransfers will be as fast as possible. X XFiles can be uploaded while being downloaded. This insures that a rare file Xthat is wanted by many people will be distributed as quickly as possible. X XThe server and client are both distributed for free. There are Linux and XWindows versions available with Mac versions coming soon. X XWWW: http://www.edonkey2000.com/ END-of-linux-edonkey2000-server/pkg-descr echo x - linux-edonkey2000-server/pkg-plist sed 's/^X//' >linux-edonkey2000-server/pkg-plist << 'END-of-linux-edonkey2000-server/pkg-plist' Xetc/rc.d/edonkey2000-server.sh.sample Xlibexec/edonkey2000/dserver Xlibexec/edonkey2000/donkey.ini X@unexec rmdir %D/libexec/edonkey2000 2>/dev/null || true END-of-linux-edonkey2000-server/pkg-plist echo x - linux-edonkey2000-server/distinfo sed 's/^X//' >linux-edonkey2000-server/distinfo << 'END-of-linux-edonkey2000-server/distinfo' XMD5 (dserver.gz) = 9fc668b8c223da3c7fa6619ae208ae7d END-of-linux-edonkey2000-server/distinfo echo c - linux-edonkey2000-server/files mkdir -p linux-edonkey2000-server/files > /dev/null 2>&1 echo x - linux-edonkey2000-server/files/donkey.ini sed 's/^X//' >linux-edonkey2000-server/files/donkey.ini << 'END-of-linux-edonkey2000-server/files/donkey.ini' X[server] Xname= Xdesc= XmaxClients=6000 Xpublic=false Xconsole=false XlogFile= Xverbose=false Xwelcome[0]=This is my server built from FreeBSD ports collection. Xwelcome[1]=Check www.edonkey2000.com for updates. Xthreads=5 XthisIP= Xport=4661 XseedIP= XseedPort=4661 Xtype=key XtableSize=2333 XmaxVersion=1000 XminVersion=39 END-of-linux-edonkey2000-server/files/donkey.ini echo x - linux-edonkey2000-server/files/edonkey2000-server.sh.sample sed 's/^X//' >linux-edonkey2000-server/files/edonkey2000-server.sh.sample << 'END-of-linux-edonkey2000-server/files/edonkey2000-server.sh.sample' X#!/bin/sh XWRKDIR=/usr/local/libexec/edonkey2000 XPATH=/bin:/usr/bin:/usr/local/bin:$WRKDIR X XCONSOLE=`grep ^console= $WRKDIR/donkey.ini | grep -i true | wc -l` X Xif [ $CONSOLE -gt 0 -a ! -x /usr/local/bin/screen ]; then X echo "Please install screen first to enable edonkey2000-server console" >&2 X exit Xfi X Xcase "$1" in Xstart) X if [ -x $WRKDIR/dserver ]; then X cd $WRKDIR X if [ $CONSOLE -gt 0 ]; then X screen -dmS dserver dserver & X else X dserver > /dev/null 2>&1 & X fi X echo -n ' edonkey2000-server' X fi X ;; Xstop) X killall -1 dserver > /dev/null 2>&1 X echo -n ' edonkey2000-server' X ;; Xconsole) X if [ $CONSOLE -gt 0 ]; then X screen -d -r dserver X else X echo "Please set console=true in $WRKDIR/donkey.ini, install screen, then restart dserver" X fi X ;; X*) X echo "Usage: `basename $0` {start|stop|console}" >&2 X ;; Xesac END-of-linux-edonkey2000-server/files/edonkey2000-server.sh.sample exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011227022039.10FF6C3B02>