Hi,

Here is an update to the latest restic.

Restic changes:
 - https://github.com/restic/restic/releases/tag/v0.9.3

Port changes:
- Add ALL_TARGET.
- Stop using their helper tool to build things.

OK?

diff --git a/sysutils/restic/Makefile b/sysutils/restic/Makefile
index b9dda3ca1ec..6d888a42560 100644
--- a/sysutils/restic/Makefile
+++ b/sysutils/restic/Makefile
@@ -2,7 +2,7 @@
 
 COMMENT =      fast, efficient and secure backup program
 
-V =            0.9.2
+V =            0.9.3
 DISTNAME =     restic-${V}
 
 CATEGORIES =   sysutils
@@ -23,8 +23,10 @@ MODGO_TYPE = bin
 
 NO_TEST =      Yes
 
+ALL_TARGET =   github.com/restic/restic
+
 do-build:
-       cd ${WRKSRC} && ${MODGO_CMD} run -x build.go
+       cd ${WRKSRC} && ${MODGO_CMD} build ./cmd/restic/...
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/restic ${PREFIX}/bin
diff --git a/sysutils/restic/distinfo b/sysutils/restic/distinfo
index e873533ade8..3b6a4de74b9 100644
--- a/sysutils/restic/distinfo
+++ b/sysutils/restic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (restic-0.9.2.tar.gz) = j47uPpZRufc4SjI7o8JqVmemOIqy745thp081puffJU=
-SIZE (restic-0.9.2.tar.gz) = 27344284
+SHA256 (restic-0.9.3.tar.gz) = uVolgJmu6aVuYgzOvOyrwkbuf4OQ45N8ztrdYJxtLdA=
+SIZE (restic-0.9.3.tar.gz) = 26183792

-- 
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE

Reply via email to