ports/136483: [misc/ctorrent] [patch] option to install ctcs

Dereckson dereckson at gmail.com
Thu Jul 9 00:30:04 UTC 2009


>Number:         136483
>Category:       ports
>Synopsis:       [misc/ctorrent] [patch] option to install ctcs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 09 00:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dereckson
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD scherzo.dereckson.be 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Enhanced CTorrent have a CTorrent Control Server  (CTCS) I maintain under net-p2p/ctcs port.

It would be more convenient if at ctorrent install, we've an option to also install ctcs.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-08-21 06:18:04.000000000 +0000
+++ Makefile	2009-07-09 00:15:13.000000000 +0000
@@ -7,13 +7,21 @@
 
 PORTNAME=	ctorrent
 PORTVERSION=	3.3.2
+PORTREVISION=	1
 CATEGORIES=	net-p2p
-MASTER_SITES=	http://www.rahul.net/dholmes/ctorrent/
+MASTER_SITES=	SF/dtorrent http://www.rahul.net/dholmes/ctorrent/
 DISTNAME=	${PORTNAME}-dnh${PORTVERSION}
 
 MAINTAINER=	flz at FreeBSD.org
 COMMENT=	BitTorrent Client written in C for FreeBSD and Linux
 
+OPTIONS=	CTCS	"CTorrent Control Server (CTCS)" Off
+.include <bsd.port.options.mk>
+
+.if defined(WITH_CTCS)
+RUN_DEPENDS=	${LOCALBASE}/bin/ctcs:${PORTSDIR}/net-p2p/ctcs
+.endif
+
 GNU_CONFIGURE=	yes
 #WRKSRC=		${WRKDIR}/${PORTNAME}-dnh${PATCHLEVEL}
 


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



More information about the freebsd-ports-bugs mailing list