ports/114820: [newport] net-p2p/ctorrent-devel

Balwinder S Dheeman bdheeman at aim.com
Mon Jul 23 05:30:02 UTC 2007


>Number:         114820
>Category:       ports
>Synopsis:       [newport] net-p2p/ctorrent-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 23 05:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Balwinder S Dheeman
>Release:        7.0-CURRENT
>Organization:
Anu'z Linux at HOME
>Environment:
FreeBSD cto.homelinux.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jul 18 15:36:11 IST 2007     bsd at cto.homelinux.net:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
CTorrent is a BitTorrent (be know as BT usually) Client program written
in C for FreeBSD and Linux. Fast and small are CTorrent`s two strengths.

This however, is an Enhanced CTorrent fork maintained by Holmes; the
original is un-maintained since long.

WWW: http://www.rahul.net/dholmes/ctorrent/
WWW: http://ctorrent.sourceforge.net/

(The port net-p2p/ctorrent is at version 1.3.4-dnh2.2, whereas many a versions of this software/package have been released since then; hence this new port is for latest building and installing latest 3.1 version.)

>How-To-Repeat:
NA

>Fix:
Plz check and install the shar attached herewith:


Patch attached with submission follows:

# 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:
#
#	/usr/ports/net-p2p/ctorrent-devel
#	/usr/ports/net-p2p/ctorrent-devel/Makefile
#	/usr/ports/net-p2p/ctorrent-devel/distinfo
#	/usr/ports/net-p2p/ctorrent-devel/pkg-descr
#	/usr/ports/net-p2p/ctorrent-devel/files
#	/usr/ports/net-p2p/ctorrent-devel/files/patch-configure
#
echo c - /usr/ports/net-p2p/ctorrent-devel
mkdir -p /usr/ports/net-p2p/ctorrent-devel > /dev/null 2>&1
echo x - /usr/ports/net-p2p/ctorrent-devel/Makefile
sed 's/^X//' >/usr/ports/net-p2p/ctorrent-devel/Makefile << 'END-of-./usr/ports/net-p2p/ctorrent-devel/Makefile'
X# New ports collection makefile for:	ctorrent-devel
X# Date created:				Mon Jul 23 04:42:21 UTC 2007
X# Whom:					Balwinder S Dheeman <bdheeman at aim.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ctorrent
XPORTVERSION=	${PATCHLEVEL}
XPATCHLEVEL=	3.1
XCATEGORIES=	net-p2p
XMASTER_SITES=	http://www.rahul.net/dholmes/ctorrent/
XDISTFILES=	${PORTNAME}-dnh${PATCHLEVEL}.tar.gz
X
XMAINTAINER=	flz at FreeBSD.org
XCOMMENT=	BitTorrent Client written in C for FreeBSD and Linux
X
XGNU_CONFIGURE=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}-dnh${PATCHLEVEL}
X
XPLIST_FILES=	bin/ctorrent
XCONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
X
XPORTDOCS=	README-DNH.TXT UserGuide
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	${MKDIR} ${DOCSDIR}
X	for doc in ${PORTDOCS}; do \
X	    ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}/ ;\
X	done
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/net-p2p/ctorrent-devel/Makefile
echo x - /usr/ports/net-p2p/ctorrent-devel/distinfo
sed 's/^X//' >/usr/ports/net-p2p/ctorrent-devel/distinfo << 'END-of-./usr/ports/net-p2p/ctorrent-devel/distinfo'
XMD5 (ctorrent-dnh3.1.tar.gz) = de313da3a9acbd63bc50f093ed08097f
XSHA256 (ctorrent-dnh3.1.tar.gz) = 9dd33983ee0574ef4be822a38fdb8d3da04453ccbad3367ec74db0b606565b60
XSIZE (ctorrent-dnh3.1.tar.gz) = 203221
END-of-/usr/ports/net-p2p/ctorrent-devel/distinfo
echo x - /usr/ports/net-p2p/ctorrent-devel/pkg-descr
sed 's/^X//' >/usr/ports/net-p2p/ctorrent-devel/pkg-descr << 'END-of-./usr/ports/net-p2p/ctorrent-devel/pkg-descr'
XCTorrent is a BitTorrent (be know as BT usually) Client program written
Xin C for FreeBSD and Linux. Fast and small are CTorrent`s two strengths.
X
XThis however, is an Enhanced CTorrent fork maintained by Holmes; the 
Xoriginal is un-maintained since long.
X
XWWW: http://www.rahul.net/dholmes/ctorrent/
XWWW: http://ctorrent.sourceforge.net/
X
X- Florent Thoumie
Xflz at xbsd.org
END-of-/usr/ports/net-p2p/ctorrent-devel/pkg-descr
echo c - /usr/ports/net-p2p/ctorrent-devel/files
mkdir -p /usr/ports/net-p2p/ctorrent-devel/files > /dev/null 2>&1
echo x - /usr/ports/net-p2p/ctorrent-devel/files/patch-configure
sed 's/^X//' >/usr/ports/net-p2p/ctorrent-devel/files/patch-configure << 'END-of-./usr/ports/net-p2p/ctorrent-devel/files/patch-configure'
Xdiff -Naur configure.orig configure
X--- configure.orig	2007-06-05 04:53:50.000000000 +0000
X+++ configure	2007-07-22 22:32:24.000000000 +0000
X@@ -8388,11 +8388,11 @@
X #ifdef __cplusplus
X extern "C"
X #endif
X-char SHA1_Init ();
X+char XXXSHA1_Init ();
X int
X main ()
X {
X-return SHA1_Init ();
X+return XXXSHA1_Init ();
X   ;
X   return 0;
X }
X@@ -8478,11 +8478,11 @@
X #ifdef __cplusplus
X extern "C"
X #endif
X-char SHA1_Init ();
X+char XXXSHA1_Init ();
X int
X main ()
X {
X-return SHA1_Init ();
X+return XXXSHA1_Init ();
X   ;
X   return 0;
X }
END-of-/usr/ports/net-p2p/ctorrent-devel/files/patch-configure
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list