Date: Sat, 8 Nov 2014 15:34:06 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372323 - in head/sysutils: . zbackup zbackup/files Message-ID: <201411081534.sA8FY6a3077034@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Sat Nov 8 15:34:05 2014 New Revision: 372323 URL: https://svnweb.freebsd.org/changeset/ports/372323 QAT: https://qat.redports.org/buildarchive/r372323/ Log: Initial import of zbackup 1.3. Zbackup is a globally-deduplicating backup tool, based on the ideas found in rsync. Added: head/sysutils/zbackup/ head/sysutils/zbackup/Makefile (contents, props changed) head/sysutils/zbackup/distinfo (contents, props changed) head/sysutils/zbackup/files/ head/sysutils/zbackup/files/patch-endian.hh (contents, props changed) head/sysutils/zbackup/files/patch-unbuffered_file.cc (contents, props changed) head/sysutils/zbackup/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sat Nov 8 15:05:40 2014 (r372322) +++ head/sysutils/Makefile Sat Nov 8 15:34:05 2014 (r372323) @@ -1059,6 +1059,7 @@ SUBDIR += xsysstats SUBDIR += xvidcap SUBDIR += yum + SUBDIR += zbackup SUBDIR += zeitgeist SUBDIR += zeroer SUBDIR += zetaback Added: head/sysutils/zbackup/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/zbackup/Makefile Sat Nov 8 15:34:05 2014 (r372323) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= zbackup +PORTVERSION= 1.3 +CATEGORIES= sysutils +MASTER_SITES= https://github.com/zbackup/zbackup/archive/ +DISTFILES= ${PORTVERSION}${EXTRACT_SUFX} + +MAINTAINER= kevlo@FreeBSD.org +COMMENT= Versatile deduplicating backup tool + +LICENSE= GPLv2 + +LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf + +USES= cmake + +OPTIONS_DEFINE= DOCS + +PLIST_FILES= bin/zbackup +PORTDOCS= README.md + +do-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/zbackup ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> Added: head/sysutils/zbackup/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/zbackup/distinfo Sat Nov 8 15:34:05 2014 (r372323) @@ -0,0 +1,2 @@ +SHA256 (1.3.tar.gz) = 0c85232918295984fccb35804dbaeaa38df13c923814640524a8d9de2c6db1ee +SIZE (1.3.tar.gz) = 72268 Added: head/sysutils/zbackup/files/patch-endian.hh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/zbackup/files/patch-endian.hh Sat Nov 8 15:34:05 2014 (r372323) @@ -0,0 +1,11 @@ +--- endian.hh.orig 2014-11-08 22:55:49.000000000 +0800 ++++ endian.hh 2014-11-08 22:56:01.000000000 +0800 +@@ -6,7 +6,7 @@ + + #include <stdint.h> + #include <arpa/inet.h> +-#ifdef __APPLE__ ++#if defined(__APPLE_) || defined(__FreeBSD__) + #include <machine/endian.h> + #else + #include <endian.h> Added: head/sysutils/zbackup/files/patch-unbuffered_file.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/zbackup/files/patch-unbuffered_file.cc Sat Nov 8 15:34:05 2014 (r372323) @@ -0,0 +1,20 @@ +--- unbuffered_file.cc.orig 2014-11-08 22:56:14.000000000 +0800 ++++ unbuffered_file.cc 2014-11-08 22:56:25.000000000 +0800 +@@ -13,7 +13,7 @@ + #include "unbuffered_file.hh" + + +-#ifdef __APPLE__ ++#if defined(__APPLE_) || defined(__FreeBSD__) + #define lseek64 lseek + #endif + +@@ -24,7 +24,7 @@ + + int flags = ( mode == WriteOnly ? ( O_WRONLY | O_CREAT | O_TRUNC ) : + O_RDONLY ); +-#ifndef __APPLE__ ++#if !defined(__APPLE__) && !defined(__FreeBSD__) + flags |= O_LARGEFILE; + #endif + fd = open( fileName, flags, 0666 ); Added: head/sysutils/zbackup/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/zbackup/pkg-descr Sat Nov 8 15:34:05 2014 (r372323) @@ -0,0 +1,6 @@ +zbackup is a globally-deduplicating backup tool, based on the ideas found +in rsync. Any of the backup files stored previously can be read back in full +at any time. The program is format-agnostic, so you can feed virtually any +files to it. + +WWW: http://zbackup.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411081534.sA8FY6a3077034>