pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/autorestic



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Apr 19 07:43:01 UTC 2024

Modified Files:
        pkgsrc/sysutils/autorestic: Makefile PLIST distinfo go-modules.mk

Log Message:
sysutils/autorestic: Update to 1.8.2

v1.8.2:
* Bump katex from 0.16.8 to 0.16.10 in /docs by @dependabot in #364
* Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 by
  @dependabot in #363
* Allow REST backend with docker volumes by @mill1000 in #366

v1.8.1:
* fix(unlock cmd): ignore process if its the current id by @rwxd in #360

v1.8.0:
* Use options on exec command by @rdelaage in #253
* Bump golang from 1.21-alpine to 1.22-alpine by @dependabot in #355
* feat: add the ability to backup docker volumes from docker container by
  @Natanel-Shitrit in #339
* Fix upgrade command by @rdelaage in #259
* Add PreValidate hook by @hickinbottoms in #359
* fix relative path to options forget by @ple103 in #331
* fix: cli command to unlock the autorestic running value by @rwxd in #329

v1.7.11:
* Fix broken link in docs by @bkrl in #350
* update deps by @cupcakearmy in #353

v1.7.10:
* fix: documentation typos in cron.md by @vmikk in #316
* delete old docs by @cupcakearmy in #327
* Update installation.md to add AUR back by @skyethepinkcat in #348
* Add curl to docker image by @mpfl in #344
* Fix default value of XDG_CONFIG_HOME in config path resolution by
  @beatbrot in #347

Also the package now contains shell completion scripts for bash, fish, and
zsh.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/autorestic/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/autorestic/PLIST \
    pkgsrc/sysutils/autorestic/distinfo \
    pkgsrc/sysutils/autorestic/go-modules.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/autorestic/Makefile
diff -u pkgsrc/sysutils/autorestic/Makefile:1.8 pkgsrc/sysutils/autorestic/Makefile:1.9
--- pkgsrc/sysutils/autorestic/Makefile:1.8     Fri Apr  5 19:14:10 2024
+++ pkgsrc/sysutils/autorestic/Makefile Fri Apr 19 07:43:01 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2024/04/05 19:14:10 bsiegert Exp $
+# $NetBSD: Makefile,v 1.9 2024/04/19 07:43:01 pho Exp $
 
-DISTNAME=      autorestic-1.7.9
-PKGREVISION=   7
+DISTNAME=      autorestic-1.8.2
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=cupcakearmy/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -18,5 +17,33 @@ USE_LANGUAGES=       c
 post-install:
        ${RM} ${DESTDIR}${PREFIX}/bin/build
 
+# Generate shell completion scripts unless we are cross-compiling the
+# package. Not sure if Go supports cross-compilation though.
+PLIST_VARS+=   comp
+.include "../../lang/go/go-vars.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${USE_CROSS_COMPILE:U:tl} != "yes"
+COMP.shell-types=      bash fish zsh
+COMP.script.bash=      share/bash-completion/completions/autorestic
+COMP.script.fish=      share/fish/completions/autorestic
+COMP.script.zsh=       share/zsh/site-functions/_autorestic
+
+.  for sh in ${COMP.shell-types}
+INSTALLATION_DIRS+=    ${COMP.script.${sh}:H}
+PRINT_PLIST_AWK+=      /^${COMP.script.${sh}:S,/,\\/,g}/ \
+                               { $$0 = "$${PLIST.comp}" $$0 }
+.  endfor
+PLIST.comp=            YES
+
+post-install: install-completion-scripts
+.PHONY: install-completion-scripts
+install-completion-scripts:
+       @${STEP_MSG} "Generating shell completion scripts for ${PKGNAME}"
+.  for sh in ${COMP.shell-types}
+       ${DESTDIR}${PREFIX}/bin/autorestic completion ${sh} \
+               > ${DESTDIR}${PREFIX}/${COMP.script.${sh}}
+.  endfor
+.endif
+
 .include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/autorestic/PLIST
diff -u pkgsrc/sysutils/autorestic/PLIST:1.1 pkgsrc/sysutils/autorestic/PLIST:1.2
--- pkgsrc/sysutils/autorestic/PLIST:1.1        Fri Oct 13 15:50:29 2023
+++ pkgsrc/sysutils/autorestic/PLIST    Fri Apr 19 07:43:01 2024
@@ -1,2 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2023/10/13 15:50:29 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/04/19 07:43:01 pho Exp $
 bin/autorestic
+${PLIST.comp}share/bash-completion/completions/autorestic
+${PLIST.comp}share/fish/completions/autorestic
+${PLIST.comp}share/zsh/site-functions/_autorestic
Index: pkgsrc/sysutils/autorestic/distinfo
diff -u pkgsrc/sysutils/autorestic/distinfo:1.1 pkgsrc/sysutils/autorestic/distinfo:1.2
--- pkgsrc/sysutils/autorestic/distinfo:1.1     Fri Oct 13 15:50:29 2023
+++ pkgsrc/sysutils/autorestic/distinfo Fri Apr 19 07:43:01 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2023/10/13 15:50:29 wiz Exp $
+$NetBSD: distinfo,v 1.2 2024/04/19 07:43:01 pho Exp $
 
-BLAKE2s (autorestic-1.7.9.tar.gz) = 560a50e7378709e11f4b4dc2be750d18b49bd837b3746cf03cf5e5d1bea17cd8
-SHA512 (autorestic-1.7.9.tar.gz) = 6214fc1844625c24937232610f22bfe682b6d091a403bdd158c9ae552ee6dd7bf706d884f4ec83f1210306585d6d1517bdaf3e9b8e650390ea0155ba04b299e0
-Size (autorestic-1.7.9.tar.gz) = 173499 bytes
+BLAKE2s (autorestic-1.8.2.tar.gz) = 2edd01bc6cc3175475d69c8a8ea3165901d12686a6dc08e4aab24da4ad8f67ae
+SHA512 (autorestic-1.8.2.tar.gz) = 4413a553b7dec65ab185cce5b850b460664519975c585c337c30bf3ac7c8e5dc6bad8b852fb784ed7cbcb18c534930166c8f6d67793681c64872b6a35f2883f3
+Size (autorestic-1.8.2.tar.gz) = 117614 bytes
 BLAKE2s (cloud.google.com_go_@v_v0.26.0.mod) = 53d181aacbf96ec4f9cdd051466576dbb6959ca71a825bc6672046c7c53a2b43
 SHA512 (cloud.google.com_go_@v_v0.26.0.mod) = 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
 Size (cloud.google.com_go_@v_v0.26.0.mod) = 27 bytes
@@ -1452,12 +1452,12 @@ Size (gopkg.in_yaml.v2_@v_v2.4.0.zip) = 
 BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.0-20200313102051-9f266ea9e77c.mod) = 17da54ba1894b4653d4c1ab1ae6e9fe03928a96c69cdc8db6b6ea9e34d673991
 SHA512 (gopkg.in_yaml.v3_@v_v3.0.0-20200313102051-9f266ea9e77c.mod) = 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d
 Size (gopkg.in_yaml.v3_@v_v3.0.0-20200313102051-9f266ea9e77c.mod) = 95 bytes
-BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.0-20210107192922-496545a6307b.mod) = 17da54ba1894b4653d4c1ab1ae6e9fe03928a96c69cdc8db6b6ea9e34d673991
-SHA512 (gopkg.in_yaml.v3_@v_v3.0.0-20210107192922-496545a6307b.mod) = 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d
-Size (gopkg.in_yaml.v3_@v_v3.0.0-20210107192922-496545a6307b.mod) = 95 bytes
-BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.0-20210107192922-496545a6307b.zip) = 04d74632486e9040cbbd56b8326afb1971f28972ea65f9aa5be2a5f9692ad77f
-SHA512 (gopkg.in_yaml.v3_@v_v3.0.0-20210107192922-496545a6307b.zip) = f9c0400f1f5590d7185ae3fdac7adf1787a5f5198e52ebd02841b7df5113c5e34de6a66fa01b2f5735be4b21190dffb46e9d8b084ad5c00ebd99599a39ff73db
-Size (gopkg.in_yaml.v3_@v_v3.0.0-20210107192922-496545a6307b.zip) = 105245 bytes
+BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.0.mod) = 17da54ba1894b4653d4c1ab1ae6e9fe03928a96c69cdc8db6b6ea9e34d673991
+SHA512 (gopkg.in_yaml.v3_@v_v3.0.0.mod) = 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d
+Size (gopkg.in_yaml.v3_@v_v3.0.0.mod) = 95 bytes
+BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.0.zip) = 8769af465c37d23baea5ef22fb168d9a139fe7369a0a4b89bd7e9b0dfde09d06
+SHA512 (gopkg.in_yaml.v3_@v_v3.0.0.zip) = 28237ca1abc2a7712d05a4b684e2088a1354bf7b474c6fe36dd2286a0fa96ff78679269ad183901973bba7ba44c7db07aa4d6f32dfe80650e57499ea38efaedc
+Size (gopkg.in_yaml.v3_@v_v3.0.0.zip) = 104597 bytes
 BLAKE2s (honnef.co_go_tools_@v_v0.0.0-20190102054323-c2f93a96b099.mod) = 38e66bb2bbbbabd21beff5a5718735267b1611dbdf7da56c7fb6500d6cb784f1
 SHA512 (honnef.co_go_tools_@v_v0.0.0-20190102054323-c2f93a96b099.mod) = 
d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
 Size (honnef.co_go_tools_@v_v0.0.0-20190102054323-c2f93a96b099.mod) = 26 bytes
Index: pkgsrc/sysutils/autorestic/go-modules.mk
diff -u pkgsrc/sysutils/autorestic/go-modules.mk:1.1 pkgsrc/sysutils/autorestic/go-modules.mk:1.2
--- pkgsrc/sysutils/autorestic/go-modules.mk:1.1        Fri Oct 13 15:50:29 2023
+++ pkgsrc/sysutils/autorestic/go-modules.mk    Fri Apr 19 07:43:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: go-modules.mk,v 1.1 2023/10/13 15:50:29 wiz Exp $
+# $NetBSD: go-modules.mk,v 1.2 2024/04/19 07:43:01 pho Exp $
 
 GO_MODULE_FILES+=      cloud.google.com/go/@v/v0.26.0.mod
 GO_MODULE_FILES+=      cloud.google.com/go/@v/v0.34.0.mod
@@ -483,8 +483,8 @@ GO_MODULE_FILES+=   gopkg.in/yaml.v2/@v/v2
 GO_MODULE_FILES+=      gopkg.in/yaml.v2/@v/v2.4.0.mod
 GO_MODULE_FILES+=      gopkg.in/yaml.v2/@v/v2.4.0.zip
 GO_MODULE_FILES+=      gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.mod
-GO_MODULE_FILES+=      gopkg.in/yaml.v3/@v/v3.0.0-20210107192922-496545a6307b.mod
-GO_MODULE_FILES+=      gopkg.in/yaml.v3/@v/v3.0.0-20210107192922-496545a6307b.zip
+GO_MODULE_FILES+=      gopkg.in/yaml.v3/@v/v3.0.0.mod
+GO_MODULE_FILES+=      gopkg.in/yaml.v3/@v/v3.0.0.zip
 GO_MODULE_FILES+=      honnef.co/go/tools/@v/v0.0.0-20190102054323-c2f93a96b099.mod
 GO_MODULE_FILES+=      honnef.co/go/tools/@v/v0.0.0-20190106161140-3f1c8253044a.mod
 GO_MODULE_FILES+=      honnef.co/go/tools/@v/v0.0.0-20190418001031-e561f6794a2a.mod



Home | Main Index | Thread Index | Old Index