git: 27a9c770bfb9 - main - sysutils/autorestic: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 08 Dec 2023 07:25:46 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=27a9c770bfb9ad9da0666cfb41fd698b158b8a77

commit 27a9c770bfb9ad9da0666cfb41fd698b158b8a77
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-12-08 07:12:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-08 07:25:21 +0000

    sysutils/autorestic: New port
    
    Autorestic is a wrapper around the amazing restic. While being amazing
    the restic cli can be a bit overwhelming and difficult to manage if you
    have many different locations that you want to backup to multiple
    locations. This utility is aimed at making this easier.
    
    WWW: https://github.com/cupcakearmy/autorestic
    
    PR:             275548
    Approved by:    submitter is maintainer
---
 sysutils/Makefile             |  1 +
 sysutils/autorestic/Makefile  | 20 ++++++++++++++++++++
 sysutils/autorestic/distinfo  |  5 +++++
 sysutils/autorestic/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index b0547facf128..66ad9955f864 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -78,6 +78,7 @@
     SUBDIR += autojump
     SUBDIR += automount
     SUBDIR += automounter
+    SUBDIR += autorestic
     SUBDIR += avfs
     SUBDIR += azure-agent
     SUBDIR += b2sum
diff --git a/sysutils/autorestic/Makefile b/sysutils/autorestic/Makefile
new file mode 100644
index 000000000000..6296903158b7
--- /dev/null
+++ b/sysutils/autorestic/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	autorestic
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.7.9
+CATEGORIES=	sysutils
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Config driven, easy backup cli for restic
+WWW=		https://github.com/cupcakearmy/${PORTNAME}
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	restic:sysutils/restic
+
+USES=		go:modules
+GO_MODULE=	github.com/cupcakearmy/${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/sysutils/autorestic/distinfo b/sysutils/autorestic/distinfo
new file mode 100644
index 000000000000..31fd8190cf70
--- /dev/null
+++ b/sysutils/autorestic/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1701768829
+SHA256 (go/sysutils_autorestic/autorestic-v1.7.9/v1.7.9.mod) = 2383e5eea68c3c314762bdbba3d3173bbb5ff97fccc71d447de8439504336f69
+SIZE (go/sysutils_autorestic/autorestic-v1.7.9/v1.7.9.mod) = 1279
+SHA256 (go/sysutils_autorestic/autorestic-v1.7.9/v1.7.9.zip) = 5c7bb508b1cf60b41e243b32aee8bd945f2e2dc9f0e511a68b75d7995f8ab847
+SIZE (go/sysutils_autorestic/autorestic-v1.7.9/v1.7.9.zip) = 205278
diff --git a/sysutils/autorestic/pkg-descr b/sysutils/autorestic/pkg-descr
new file mode 100644
index 000000000000..3af36f8fcb7d
--- /dev/null
+++ b/sysutils/autorestic/pkg-descr
@@ -0,0 +1,4 @@
+Autorestic is a wrapper around the amazing restic. While being
+amazing the restic cli can be a bit overwhelming and difficult to
+manage if you have many different locations that you want to backup
+to multiple locations. This utility is aimed at making this easier.