Bug 175945 - New port: sysutils/clone -- A file tree cloning tool
Summary: New port: sysutils/clone -- A file tree cloning tool
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: 2013-02-08 00:30 UTC by cyclaero
Modified: 2013-02-08 05:50 UTC (History)
0 users

See Also:


Attachments
file.shar (2.25 KB, text/plain)
2013-02-08 00:30 UTC, cyclaero
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description cyclaero 2013-02-08 00:30:00 UTC
clone is a file tree cloning tool which runs 3 threads - a scheduler (main), a reader,
and a writer thread. Reading and writing occurs in parallel. While this is most beneficial
for copying data from one physical disk to another, clone is also very well suited for
cloning a file tree to any place on the same disk.

Cloning includes the whole directory hierarchy, i.e. sub-directories, files, hard links,
symbolic links, attributes (modes, flags, times), extended attributes and access control lists.

clone is useful for cloning (thus backing-up) live file systems, and it can also be used in
incremental and synchronization mode.

clone works on FreeBSD and Mac OS X.

clone is very fast, for example, cloning a whole UFS2 file hierarchy on FreeBSD 9.1 of in total
2.3 TBytes of data from one hard disk to another took 7.5 h, so the average transfer rate
for all kind of files (very small up to very big ones) was about 89 MByte/s.

https://code.google.com/p/clone/

Fix: The  WEB-based problem reporter does not accept .shar files for upload. Please remove the .txt extension

Many Tanks

Patch attached with submission follows:
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2013-02-08 05:08:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-08 05:43:17 UTC
Author: jgh
Date: Fri Feb  8 05:43:07 2013
New Revision: 311906
URL: http://svnweb.freebsd.org/changeset/ports/311906

Log:
  add new port: sysutils/clone
  
  clone is a file tree cloning tool which runs 3 threads - a scheduler (main), a
  reader, and a writer thread. Reading and writing occurs in parallel. While this
  is most beneficial for copying data from one physical disk to another, clone is
  also very well suited for cloning a file tree to any place on the same disk.
  
  Cloning includes the whole directory hierarchy, i.e. sub-directories, files,
  hard links, symbolic links, attributes (modes, flags, times), extended
  attributes and access control lists.
  
  clone is useful for cloning (thus backing-up) live file systems, and it can
  also be used in incremental and synchronization mode.
  
  clone works on FreeBSD and Mac OS X.
  
  clone is very fast, for example, cloning a whole UFS2 file hierarchy on
  FreeBSD 9.1 of in total 2.3 TBytes of data from one hard disk to another
  took 7.5 h, so the average transfer rate for all kind of files (very small
  up to very big ones) was about 89 MByte/s.
  
  WWW: https://code.google.com/p/clone/
  
  PR:		175945
  Submitted by:	cyclaero@gmail.com

Added:
  head/sysutils/clone/
  head/sysutils/clone/Makefile   (contents, props changed)
  head/sysutils/clone/distinfo   (contents, props changed)
  head/sysutils/clone/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri Feb  8 02:40:11 2013	(r311905)
+++ head/sysutils/Makefile	Fri Feb  8 05:43:07 2013	(r311906)
@@ -119,6 +119,7 @@
     SUBDIR += clean
     SUBDIR += clockspeed
     SUBDIR += clockspeed-conf
+    SUBDIR += clone
     SUBDIR += clonehdd
     SUBDIR += cloop-utils
     SUBDIR += cmdwatch

Added: head/sysutils/clone/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/clone/Makefile	Fri Feb  8 05:43:07 2013	(r311906)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	clone
+PORTVERSION=	r18
+CATEGORIES=	sysutils
+MASTER_SITES=	GOOGLE_CODE
+
+MAINTAINER=	cyclaero@gmail.com
+COMMENT=	File tree cloning tool
+
+LICENSE=	BSD
+
+PLIST_FILES=	bin/clone
+
+MAN1=	clone.1
+
+post-patch-script:
+	@${REINPLACE_CMD} 's|^CC      = gcc|CC      ?= gcc|' \
+		${WRKSRC}/Makefile
+
+.include <bsd.port.mk>

Added: head/sysutils/clone/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/clone/distinfo	Fri Feb  8 05:43:07 2013	(r311906)
@@ -0,0 +1,2 @@
+SHA256 (clone-r18.tar.gz) = 0f859fc43332b94c6a8595d2af8a24f7842e3cb2ca5f9f085b393296a4e8a16d
+SIZE (clone-r18.tar.gz) = 20977

Added: head/sysutils/clone/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/clone/pkg-descr	Fri Feb  8 05:43:07 2013	(r311906)
@@ -0,0 +1,20 @@
+clone is a file tree cloning tool which runs 3 threads - a scheduler (main), a
+reader, and a writer thread. Reading and writing occurs in parallel. While this
+is most beneficial for copying data from one physical disk to another, clone is
+also very well suited for cloning a file tree to any place on the same disk.
+
+Cloning includes the whole directory hierarchy, i.e. sub-directories, files,
+hard links, symbolic links, attributes (modes, flags, times), extended
+attributes and access control lists.
+
+clone is useful for cloning (thus backing-up) live file systems, and it can
+also be used in incremental and synchronization mode.
+
+clone works on FreeBSD and Mac OS X.
+
+clone is very fast, for example, cloning a whole UFS2 file hierarchy on
+FreeBSD 9.1 of in total 2.3 TBytes of data from one hard disk to another
+took 7.5 h, so the average transfer rate for all kind of files (very small
+up to very big ones) was about 89 MByte/s.
+
+WWW: https://code.google.com/p/clone/
_______________________________________________
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 3 dfilter service freebsd_committer freebsd_triage 2013-02-08 05:47:06 UTC
Author: jgh (ports committer)
Date: Fri Feb  8 05:46:49 2013
New Revision: 40912
URL: http://svnweb.freebsd.org/changeset/doc/40912

Log:
  - add cyclaero@gmail.com for sysutils/clone
  
  PR:		175945

Modified:
  head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml

Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml
==============================================================================
--- head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml	Fri Feb  8 00:22:49 2013	(r40911)
+++ head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml	Fri Feb  8 05:46:49 2013	(r40912)
@@ -8797,6 +8797,11 @@
     </listitem>
 
     <listitem>
+      <para>Dr. Rolf Jansen
+	<email>cyclaero@gmail.com</email></para>
+    </listitem>
+
+    <listitem>
       <para>Roman Neuhauser
 	<email>neuhauser@chello.cz</email></para>
     </listitem>
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
Comment 4 Jason Helfman freebsd_committer freebsd_triage 2013-02-08 05:47:08 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!