From jhein@symmetricom.us  Sun Aug 12 23:08:59 2012
Return-Path: <jhein@symmetricom.us>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 461FA1065672
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Aug 2012 23:08:59 +0000 (UTC)
	(envelope-from jhein@symmetricom.us)
Received: from duck.timing.com (duck.symmetricom.us [206.168.13.214])
	by mx1.freebsd.org (Postfix) with ESMTP id F2BE88FC1B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Aug 2012 23:08:58 +0000 (UTC)
Received: from fbsd8-build.timing.com (fbsd8-build.symmetricom.us [206.168.13.187])
	by duck.timing.com (8.14.5/8.14.5) with ESMTP id q7CN8Fbc013896;
	Sun, 12 Aug 2012 17:08:15 -0600 (MDT)
	(envelope-from jhein@timing.com)
Received: from fbsd8-build.timing.com (localhost [127.0.0.1])
	by fbsd8-build.timing.com (8.14.5/8.14.4) with ESMTP id q7CN8oP1031018;
	Sun, 12 Aug 2012 17:08:50 -0600 (MDT)
	(envelope-from jhein@fbsd8-build.timing.com)
Received: (from jhein@localhost)
	by fbsd8-build.timing.com (8.14.5/8.14.5/Submit) id q7CN8oWh031017;
	Sun, 12 Aug 2012 17:08:50 -0600 (MDT)
	(envelope-from jhein)
Message-Id: <201208122308.q7CN8oWh031017@fbsd8-build.timing.com>
Date: Sun, 12 Aug 2012 17:08:50 -0600 (MDT)
From: John Hein <jhein@symmetricom.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [NEW PORT] net/bbcp: Secure and fast copy utility
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         170576
>Category:       ports
>Synopsis:       [NEW PORT] net/bbcp: Secure and fast copy utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jgh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 12 23:10:01 UTC 2012
>Closed-Date:    Tue Aug 21 22:14:52 UTC 2012
>Last-Modified:  Tue Aug 21 22:20:09 UTC 2012
>Originator:     John Hein
>Release:        FreeBSD 8.3-STABLE-20120810 amd64
>Organization:
>Environment:
System:
>Description:
Securely and quickly copy data from source to target.

WWW: http://www.slac.stanford.edu/~abh/bbcp/

tested on redports...

https://redports.org/buildarchive/20120812230514-55796/

Generated with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# 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:
#
#	clean
#	clean/Makefile
#	clean/pkg-descr
#	clean/distinfo
#
echo c - clean
mkdir -p clean > /dev/null 2>&1
echo x - clean/Makefile
sed 's/^X//' >clean/Makefile << '55df4b959c5157c298ac213647fb0204'
X# New ports collection makefile for:	bbcp
X# Date created:		2012-08-10
X# Whom:			John Hein <jhein@symmetricom.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bbcp
XPORTVERSION=	20120520
XCATEGORIES=	net
XMASTER_SITES=	https://bitbucket.org/jhein/bbcp/downloads/
X
XMAINTAINER=	jhein@symmetricom.com
XCOMMENT=	Secure and fast copy utility
X
XBUILD_WRKSRC=	${WRKSRC}/src
XFETCH_ARGS=	-Fpr
XPLIST_FILES=	bin/bbcp
XUSE_XZ=		yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/bbcp ${PREFIX}/bin
X
X.include <bsd.port.mk>
55df4b959c5157c298ac213647fb0204
echo x - clean/pkg-descr
sed 's/^X//' >clean/pkg-descr << '4f3c5ab4753ce40da79176475209b0c9'
XSecurely and quickly copy data from source to target.
X
XWWW: http://www.slac.stanford.edu/~abh/bbcp/
4f3c5ab4753ce40da79176475209b0c9
echo x - clean/distinfo
sed 's/^X//' >clean/distinfo << 'c72d62f8aa93c3e5daa0262cfd0da963'
XSHA256 (bbcp-20120520.tar.xz) = 9d4c59ca08b6a40b96b4240ee836c09ccae4407149c21eb259d6ecd0ddf599e2
XSIZE (bbcp-20120520.tar.xz) = 109104
c72d62f8aa93c3e5daa0262cfd0da963
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jgh 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Mon Aug 13 00:26:20 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

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

From: John Hein <jhein@symmetricom.com>
To: Jason Helfman <jgh@FreeBSD.org>, <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: ports/170576: [NEW PORT] net/bbcp: Secure and fast copy utility
Date: Mon, 13 Aug 2012 21:20:14 -0600

 --igj6TRROvy
 Content-Type: text/plain; charset=us-ascii
 Content-Description: message body text
 Content-Transfer-Encoding: 7bit
 
 John Hein wrote at 20:16 -0600 on Aug 13, 2012:
  > Jason Helfman wrote at 15:38 -0700 on Aug 13, 2012:
  >  > Would you please add an option to this port to install optional
  >  > documentation (the pdf at the WWW line), since there is no man page
  >  > installed with the software?
  >
  > Will do.
 
 There's got to be a better way to specify getting two distfiles from
 two different sites, but attached is an update that works (diff
 against original submission).
 
 
  >  > Might be nice to file a bug, or request upstream, about having a
  >  > man page available for the next release.
  >
  > bbcp -h is pretty decent - it's all I needed.  Maybe I'll man-ify that
  > some day.
  >
  >
  >  > Also, do you have an example of how to copy a file to a remote system?
  >
  > http://www.nics.tennessee.edu/computing-resources/data-transfer/bbcp
  > http://www.olcf.ornl.gov/?kb_articles=bbcp
  >
  >
  > sample rsync-like usage...
  >
  > bbcp -O -a -p -k -r srcdir user@host:destdir
  >
  > By default it opens four streams in parallel (modified with -s #).
  >
  >
  > I believe it scales pretty well with more processors, and I was going
  > to create 1, 2, 4, 8 16 & 32 cpu VMs, but I never did get around to
  > that experiment.  In one test it beat rsync of a fairly large (100 GB
  > over gigE, IIRC) directory (full, not incremental) by 2-to-1.  Hardly
  > conclusive, but enough to make me want a port around to give it more
  > workouts ;)
 
 
 --igj6TRROvy
 Content-Type: text/plain;
 	 name="d.txt"
 Content-Description: update to include bbcp.pdf if not NOPORTDOCS
 Content-Disposition: inline;
 	 filename="d.txt"
 Content-Transfer-Encoding: 7bit
 
 --- prev/Makefile	2012-08-10 19:38:02.000000000 -0600
 +++ new/Makefile	2012-08-13 21:02:14.000000000 -0600
 @@ -8,7 +8,12 @@
  PORTNAME=	bbcp
  PORTVERSION=	20120520
  CATEGORIES=	net
 -MASTER_SITES=	https://bitbucket.org/jhein/bbcp/downloads/
 +MASTER_SITES=	https://bitbucket.org/jhein/bbcp/downloads/ \
 +	http://www.slac.stanford.edu/~abh/bbcp/
 +.if !defined(NOPORTDOCS)
 +DISTFILES=	${DISTNAME}${EXTRACT_SUFX} bbcp.pdf
 +.endif
 +DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
  
  MAINTAINER=	jhein@symmetricom.com
  COMMENT=	Secure and fast copy utility
 @@ -16,9 +21,16 @@
  BUILD_WRKSRC=	${WRKSRC}/src
  FETCH_ARGS=	-Fpr
  PLIST_FILES=	bin/bbcp
 +.if !defined(NOPORTDOCS)
 +PORTDOCS+=	bbcp.pdf
 +.endif
  USE_XZ=		yes
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/bbcp ${PREFIX}/bin
 +.if !defined(NOPORTDOCS)
 +	@${MKDIR} ${DOCSDIR}
 +	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/bbcp.pdf ${DOCSDIR}
 +.endif
  
  .include <bsd.port.mk>
 --- prev/distinfo	2012-08-10 18:56:03.000000000 -0600
 +++ new/distinfo	2012-08-13 20:31:24.000000000 -0600
 @@ -1,2 +1,4 @@
 -SHA256 (bbcp-20120520.tar.xz) = 9d4c59ca08b6a40b96b4240ee836c09ccae4407149c21eb259d6ecd0ddf599e2
 -SIZE (bbcp-20120520.tar.xz) = 109104
 +SHA256 (bbcp/20120520/bbcp-20120520.tar.xz) = 9d4c59ca08b6a40b96b4240ee836c09ccae4407149c21eb259d6ecd0ddf599e2
 +SIZE (bbcp/20120520/bbcp-20120520.tar.xz) = 109104
 +SHA256 (bbcp/20120520/bbcp.pdf) = c5910d9a75eefea639f6d88282709d8882d68927137babd5ec851e1c17dcbeae
 +SIZE (bbcp/20120520/bbcp.pdf) = 889566
 
 --igj6TRROvy--
State-Changed-From-To: open->closed 
State-Changed-By: jgh 
State-Changed-When: Tue Aug 21 22:14:51 UTC 2012 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170576: commit references a PR
Date: Tue, 21 Aug 2012 22:14:42 +0000 (UTC)

 Author: jgh
 Date: Tue Aug 21 22:14:30 2012
 New Revision: 302907
 URL: http://svn.freebsd.org/changeset/ports/302907
 
 Log:
   - add new port: sysutils/bbcp
   
   Securely and quickly copy data from source to target.
   
   WWW: http://www.slac.stanford.edu/~abh/bbcp/
   
   PR:	170576
   Submitted by:	jhein@symmetricom.com
 
 Added:
   head/sysutils/bbcp/
   head/sysutils/bbcp/Makefile   (contents, props changed)
   head/sysutils/bbcp/distinfo   (contents, props changed)
   head/sysutils/bbcp/pkg-descr   (contents, props changed)
 Modified:
   head/sysutils/Makefile
 
 Modified: head/sysutils/Makefile
 ==============================================================================
 --- head/sysutils/Makefile	Tue Aug 21 21:29:22 2012	(r302906)
 +++ head/sysutils/Makefile	Tue Aug 21 22:14:30 2012	(r302907)
 @@ -65,6 +65,7 @@
      SUBDIR += battmond
      SUBDIR += battray
      SUBDIR += bbapm
 +    SUBDIR += bbcp
      SUBDIR += bchunk
      SUBDIR += be_agent
      SUBDIR += beadm
 
 Added: head/sysutils/bbcp/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/bbcp/Makefile	Tue Aug 21 22:14:30 2012	(r302907)
 @@ -0,0 +1,35 @@
 +# New ports collection makefile for:	bbcp
 +# Date created:		10 August 2012
 +# Whom:			John Hein <jhein@symmetricom.com>
 +#
 +# $FreeBSD$
 +#
 +
 +PORTNAME=	bbcp
 +PORTVERSION=	20120520
 +CATEGORIES=	sysutils net
 +MASTER_SITES=	https://bitbucket.org/jhein/bbcp/downloads/
 +DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-20100818.pdf
 +EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 +
 +MAINTAINER=	jhein@symmetricom.com
 +COMMENT=	Secure and fast copy utility
 +
 +LICENSE=	BSD
 +
 +BUILD_WRKSRC=	${WRKSRC}/src
 +FETCH_ARGS=	-Fpr
 +PLIST_FILES=	bin/bbcp
 +PORTDOCS=	${PORTNAME}.pdf
 +USE_XZ=		yes
 +
 +.include <bsd.port.options.mk>
 +
 +do-install:
 +	${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/bbcp ${PREFIX}/bin
 +.if ${PORT_OPTIONS:MDOCS}
 +	${MKDIR} ${DOCSDIR}
 +	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-20100818.pdf ${DOCSDIR}/${PORTNAME}.pdf
 +.endif
 +
 +.include <bsd.port.mk>
 
 Added: head/sysutils/bbcp/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/bbcp/distinfo	Tue Aug 21 22:14:30 2012	(r302907)
 @@ -0,0 +1,4 @@
 +SHA256 (bbcp-20120520.tar.xz) = 9d4c59ca08b6a40b96b4240ee836c09ccae4407149c21eb259d6ecd0ddf599e2
 +SIZE (bbcp-20120520.tar.xz) = 109104
 +SHA256 (bbcp-20100818.pdf) = c5910d9a75eefea639f6d88282709d8882d68927137babd5ec851e1c17dcbeae
 +SIZE (bbcp-20100818.pdf) = 889566
 
 Added: head/sysutils/bbcp/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/bbcp/pkg-descr	Tue Aug 21 22:14:30 2012	(r302907)
 @@ -0,0 +1,3 @@
 +Securely and quickly copy data from source to target.
 +
 +WWW: http://www.slac.stanford.edu/~abh/bbcp/
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
