Bug 170576 - [NEW PORT] net/bbcp: Secure and fast copy utility
Summary: [NEW PORT] net/bbcp: Secure and fast copy utility
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 00:10 UTC by John Hein
Modified: 2012-08-21 23:20 UTC (History)
0 users

See Also:


Attachments
.shar (1.47 KB, text/plain)
2012-08-13 00:10 UTC, John Hein
no flags Details
d.txt (1.45 KB, text/plain)
2012-08-14 04:20 UTC, John Hein
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2012-08-13 00:10:01 UTC
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)
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2012-08-13 01:26:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 John Hein 2012-08-14 04:20:14 UTC
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 ;)
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-08-21 23:14:42 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"
Comment 4 Jason Helfman freebsd_committer freebsd_triage 2012-08-21 23:14:51 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!