git: 25dacf141c9c - main - sysutils/kopia: New port: Fast and secure open-source backup/restore tool

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 26 Jul 2022 11:42:53 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25dacf141c9c1ac057d904ecdd294e0131948ffb

commit 25dacf141c9c1ac057d904ecdd294e0131948ffb
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-07-26 11:39:18 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-07-26 11:42:25 +0000

    sysutils/kopia: New port: Fast and secure open-source backup/restore tool
    
    Kopia is a fast and secure open-source backup/restore tool that allows
    you to create encrypted snapshots of your data and save the snapshots
    to remote or cloud storage of your choice, to network-attached storage
    or server, or locally on your machine. Kopia does not 'image' your
    whole machine. Rather, Kopia allows you to backup/restore any and all
    files/directories that you deem are important or critical.
    
    WWW: https://kopia.io/
---
 sysutils/Makefile        |  1 +
 sysutils/kopia/Makefile  | 16 ++++++++++++++++
 sysutils/kopia/distinfo  |  5 +++++
 sysutils/kopia/pkg-descr |  8 ++++++++
 4 files changed, 30 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 4abdb1e96544..a769acda9b1e 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -606,6 +606,7 @@
     SUBDIR += kio-fuse
     SUBDIR += kldfind
     SUBDIR += kldpatch
+    SUBDIR += kopia
     SUBDIR += kops
     SUBDIR += kpmcore
     SUBDIR += krename
diff --git a/sysutils/kopia/Makefile b/sysutils/kopia/Makefile
new file mode 100644
index 000000000000..cc10571e5899
--- /dev/null
+++ b/sysutils/kopia/Makefile
@@ -0,0 +1,16 @@
+PORTNAME=	kopia
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.11.3
+CATEGORIES=	sysutils
+
+MAINTAINER=	eduardo@FreeBSD.org
+COMMENT=	Fast and secure open-source backup/restore tool
+
+LICENSE=	APACHE20
+
+USES=		go:modules
+GO_MODULE=	github.com/kopia/kopia
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/sysutils/kopia/distinfo b/sysutils/kopia/distinfo
new file mode 100644
index 000000000000..8fe57e330949
--- /dev/null
+++ b/sysutils/kopia/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1658831981
+SHA256 (go/sysutils_kopia/kopia-v0.11.3/v0.11.3.mod) = c60bcc47f15dbebb72fb97dfd9e025f376c6dcdc6cd335931efb48c60ed5bcb5
+SIZE (go/sysutils_kopia/kopia-v0.11.3/v0.11.3.mod) = 5722
+SHA256 (go/sysutils_kopia/kopia-v0.11.3/v0.11.3.zip) = 90b791e2f65174671d43d515806cfe8f5362851aa3c791dfbe3f76b1da022bce
+SIZE (go/sysutils_kopia/kopia-v0.11.3/v0.11.3.zip) = 4127176
diff --git a/sysutils/kopia/pkg-descr b/sysutils/kopia/pkg-descr
new file mode 100644
index 000000000000..5c93522c2360
--- /dev/null
+++ b/sysutils/kopia/pkg-descr
@@ -0,0 +1,8 @@
+Kopia is a fast and secure open-source backup/restore tool that allows
+you to create encrypted snapshots of your data and save the snapshots
+to remote or cloud storage of your choice, to network-attached storage
+or server, or locally on your machine. Kopia does not 'image' your
+whole machine. Rather, Kopia allows you to backup/restore any and all
+files/directories that you deem are important or critical.
+
+WWW: https://kopia.io/