From nobody@FreeBSD.org  Mon May 10 23:41:55 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id F1F6F106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 May 2010 23:41:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id E2CE48FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 May 2010 23:41:55 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4ANftbJ091039
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 May 2010 23:41:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4ANftE2091038;
	Mon, 10 May 2010 23:41:55 GMT
	(envelope-from nobody)
Message-Id: <201005102341.o4ANftE2091038@www.freebsd.org>
Date: Mon, 10 May 2010 23:41:55 GMT
From: Damian Gerow <dgerow@afflictions.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: net-p2p/mktorrent
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146479
>Category:       ports
>Synopsis:       New port: net-p2p/mktorrent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 10 23:50:01 UTC 2010
>Closed-Date:    Tue Jul 06 00:13:10 UTC 2010
>Last-Modified:  Tue Jul  6 00:20:01 UTC 2010
>Originator:     Damian Gerow
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD plebeian.afflictions.org 8.0-STABLE FreeBSD 8.0-STABLE #6 r207614: Tue May  4 13:49:19 EDT 2010     root@plebeian.afflictions.org:/usr/obj/usr/src/sys/PLEBEIAN  amd64
>Description:
Add new port net-p2p/mktorrent, a simple command-line utility to create BitTorrent metainfo files.
>How-To-Repeat:
n/a
>Fix:
See attached shar.

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:
#
#	mktorrent
#	mktorrent/distinfo
#	mktorrent/Makefile
#	mktorrent/pkg-descr
#
echo c - mktorrent
mkdir -p mktorrent > /dev/null 2>&1
echo x - mktorrent/distinfo
sed 's/^X//' >mktorrent/distinfo << '7ba4f2a7792be3c7aad2e78f84e6c881'
XMD5 (mktorrent-1.0.tar.gz) = 0da00209da96a0dc39efbb6eb5b4d8ff
XSHA256 (mktorrent-1.0.tar.gz) = 6f8e562af6366e0d9bde76e434f740b55722c6c3c555860dbe80083f9d1d119f
XSIZE (mktorrent-1.0.tar.gz) = 23089
7ba4f2a7792be3c7aad2e78f84e6c881
echo x - mktorrent/Makefile
sed 's/^X//' >mktorrent/Makefile << '6f469e1adf8acbc4a3cdd62a5fd646ff'
X# New ports collection makefile for:   mktorrent
X# Date created:        9 May 2010
X# Whom:                dgerow
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mktorrent
XPORTVERSION=	1.0
XCATEGORIES=	net-p2p
X#MASTER_SITES=   SF/${PORTNAME}/mktorrent/mktorrent-${PORTVERSION}
XMASTER_SITES=   SF
X
XMAINTAINER=	dgerow@afflictions.org
XCOMMENT=	A command-line utility for creating BitTorrent metainfo files
X
XMAKEFILE=	BSDmakefile
X
XPLIST_FILES=	bin/mktorrent
X
XOPTIONS=	THREADS		"Enable support for pthreads"		on \
X		OPENSSL		"Use OpenSSL for hashing"		on \
X		LONGOPTS	"Support the use of long options"	on \
X		LARGEFILE	"Support large files"			on \
X		HASHCHECK	"Verify file hashes" 		on
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_THREADS)
XMAKE_FLAGS+= USE_PTHREADS=1
X.endif
X
X.if defined(WITH_OPENSSL)
XMAKE_FLAGS+= USE_OPENSSL=1
XUSE_OPENSSL=	yes
X.endif
X
X.if defined(WITH_LONGOPTS)
XMAKE_FLAGS+= USE_LONG_OPTIONS=1
X.endif
X
X.if defined(WITH_LARGEFILE)
XMAKE_FLAGS+= USE_LARGE_FILES=1
X.endif
X
X.if defined(WITHOUT_HASHCHECK)
XMAKE_FLAGS+= NO_HASH_CHECK=1
X.endif
X
Xpost-patch:
X		@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/BSDmakefile
X
Xdo-install:
X		${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.include <bsd.port.mk>
6f469e1adf8acbc4a3cdd62a5fd646ff
echo x - mktorrent/pkg-descr
sed 's/^X//' >mktorrent/pkg-descr << '29a40b5b627f23e968b5ab9acc8cefd6'
Xmktorrent is a simple command-line utility to create BitTorrent
Xmetainfo files.  It supports multiple trackers, private trackers,
Xcustom comments, and is multi-threaded to support multiple CPUs.
X
XWWW: http://mktorrent.sourceforge.net/
29a40b5b627f23e968b5ab9acc8cefd6
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Thu May 13 14:50:58 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146479 
State-Changed-From-To: open->feedback 
State-Changed-By: amdmi3 
State-Changed-When: Thu May 13 15:25:10 UTC 2010 
State-Changed-Why:  
We prefer full name in Whom:, is it OK to just put `Damian Gerow' there? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146479 
State-Changed-From-To: feedback->closed 
State-Changed-By: amdmi3 
State-Changed-When: Tue Jul 6 00:13:09 UTC 2010 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146479 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146479: commit references a PR
Date: Tue,  6 Jul 2010 00:13:15 +0000 (UTC)

 amdmi3      2010-07-06 00:13:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-p2p              Makefile 
   Added files:
     net-p2p/mktorrent    Makefile distinfo pkg-descr 
   Log:
   mktorrent is a simple command-line utility to create BitTorrent
   metainfo files.  It supports multiple trackers, private trackers,
   custom comments, and is multi-threaded to support multiple CPUs.
   
   WWW: http://mktorrent.sourceforge.net/
   
   PR:             146479
   Submitted by:   Damian Gerow <dgerow@afflictions.org>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.85      +1 -0      ports/net-p2p/Makefile
   1.1       +46 -0     ports/net-p2p/mktorrent/Makefile (new)
   1.1       +3 -0      ports/net-p2p/mktorrent/distinfo (new)
   1.1       +5 -0      ports/net-p2p/mktorrent/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
