git: 0207109c3a96 - main - archivers/zpaqfranz: Add new port

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Sun, 21 Aug 2022 19:20:46 UTC
The branch main has been updated by zirias:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0207109c3a96041960879532ef5e91d518781776

commit 0207109c3a96041960879532ef5e91d518781776
Author:     Franco Corbelli <franco@francocorbelli.com>
AuthorDate: 2022-08-21 13:18:00 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-08-21 19:19:01 +0000

    archivers/zpaqfranz: Add new port
    
    Archiver with deduplication and snapshot freezing (aka: N zfs' snapshots
    in one .zpaq file), just like 7z "merged" with Time Machine
    
    PR:                     265651
    Approved by:            tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D36278
---
 archivers/Makefile            |  1 +
 archivers/zpaqfranz/Makefile  | 23 +++++++++++++++++++++++
 archivers/zpaqfranz/distinfo  |  3 +++
 archivers/zpaqfranz/pkg-descr | 16 ++++++++++++++++
 4 files changed, 43 insertions(+)

diff --git a/archivers/Makefile b/archivers/Makefile
index d5d9a7c17e85..39ea16b19713 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -270,6 +270,7 @@
     SUBDIR += zlib-ng
     SUBDIR += zoo
     SUBDIR += zopfli
+    SUBDIR += zpaqfranz
     SUBDIR += zstd
     SUBDIR += zstr
     SUBDIR += zutils
diff --git a/archivers/zpaqfranz/Makefile b/archivers/zpaqfranz/Makefile
new file mode 100644
index 000000000000..94d1c17e34fb
--- /dev/null
+++ b/archivers/zpaqfranz/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	zpaqfranz
+DISTVERSION=	55.12
+CATEGORIES=	archivers
+MASTER_SITES=	http://www.francocorbelli.it/zpaqfranz/freebsd/
+
+MAINTAINER=	franco@francocorbelli.com
+COMMENT=	Swiss army knife for the serious backup manager
+
+LICENSE=	BSD2CLAUSE MIT
+LICENSE_COMB=	dual
+
+NO_WRKSUBDIR=	yes
+
+PLIST_FILES=	bin/dir \
+		bin/zpaqfranz
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "amd64"
+CFLAGS+=	-DNOJIT
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/archivers/zpaqfranz/distinfo b/archivers/zpaqfranz/distinfo
new file mode 100644
index 000000000000..03de410e438f
--- /dev/null
+++ b/archivers/zpaqfranz/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661098353
+SHA256 (zpaqfranz-55.12.tar.gz) = 0ef8a192cf539d46647d5122b99ce2c2ac49f7a778c510e6d1ddf74c5096ab5f
+SIZE (zpaqfranz-55.12.tar.gz) = 814992
diff --git a/archivers/zpaqfranz/pkg-descr b/archivers/zpaqfranz/pkg-descr
new file mode 100644
index 000000000000..9f147578be83
--- /dev/null
+++ b/archivers/zpaqfranz/pkg-descr
@@ -0,0 +1,16 @@
+Swiss army knife for backup and disaster recovery
+
+Features:
+
+* Like 7z or RAR on steroids, with deduplicated "snapshots" (versions).
+* Conceptually similar to Mac time machine, but much more efficient.
+* Keeps backup always-to-always, no need to ever prune (CryptoLocker).
+* Easily handles millions of files and TBs of data, non-latin support.
+* Cloud backups with full encryption, minimal data transfer / bandwith.
+* Data integrity check CRC32+XXHASH,SHA-1,SHA-2,SHA-3,MD5,XXH3,BLAKE3.
+* Thorough data verification, multithread support (real world 1GB+/s).
+* Specific zfs handling functions, full multiplatform interoperability.
+* Particularly suitable for minimal space storage of virtual machines.
+* Full backwards compatibility with ZPAQ [archivers/paq].
+
+WWW: https://github.com/fcorbelli/zpaqfranz