Index: head/sysutils/acts/Makefile =================================================================== --- head/sysutils/acts/Makefile (revision 509812) +++ head/sysutils/acts/Makefile (revision 509813) @@ -1,27 +1,33 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= acts -PORTVERSION= 1.4.0 +PORTVERSION= 1.4.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= sysutils archivers MAINTAINER= adamw@FreeBSD.org COMMENT= Another Calendar-based Tarsnap Script -LICENSE= PD +LICENSE= UNLICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= tarsnap>=0:sysutils/tarsnap USE_GITHUB= yes GH_ACCOUNT= alexjurkiewicz +OPTIONS_DEFINE= DOCS + NO_BUILD= yes NO_ARCH= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/acts ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/acts.conf.sample ${STAGEDIR}${PREFIX}/etc + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include Index: head/sysutils/acts/distinfo =================================================================== --- head/sysutils/acts/distinfo (revision 509812) +++ head/sysutils/acts/distinfo (revision 509813) @@ -1,3 +1,3 @@ -TIMESTAMP = 1561298303 -SHA256 (alexjurkiewicz-acts-v1.4.0_GH0.tar.gz) = 3cebb784fd9dd532feb607e49cc8a99272bd54682f43078e5f5d592f63338aa6 -SIZE (alexjurkiewicz-acts-v1.4.0_GH0.tar.gz) = 7292 +TIMESTAMP = 1566756076 +SHA256 (alexjurkiewicz-acts-v1.4.1_GH0.tar.gz) = 0c557a84ce2adecee96e3888f037ee2279a9546ee7f41bb87924c42f0ad8133c +SIZE (alexjurkiewicz-acts-v1.4.1_GH0.tar.gz) = 8291 Index: head/sysutils/acts/files/patch-acts =================================================================== --- head/sysutils/acts/files/patch-acts (revision 509812) +++ head/sysutils/acts/files/patch-acts (nonexistent) @@ -1,33 +0,0 @@ -From 8230c749dd92ce6d5fd7b742525e8c9701f4bacb Mon Sep 17 00:00:00 2001 -From: Adam Weinberger -Date: Tue, 16 Jul 2019 06:16:27 -0600 -Subject: [PATCH] Wrap the archive deletion tarsnap call - -With it unwrapped, if you call tarsnap with --print-stats, or if that -is in your tarsnap.conf, you'll get the stats printed after every -archive deletion. - -While the information is great to have, if you have many targets, -you get 5n lines of output, with nothing indicating which target it's -referring to. It might be worth exploring a better way to show how -much data got added and/or removed for each target, given that tarsnap -can automatically give that info right back to acts. ---- - acts | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/acts b/acts -index 4dc1803..63f35cb 100755 ---- acts.orig -+++ acts -@@ -238,7 +238,9 @@ prune_backups() { - log_verbose "message=\"Deleting backup prefix $archiveprefixtodel*\"" - echo "$archives" | grep -E "^$archiveprefixtodel" | while read -r archivetodel; do - log_debug "message=\"Deleting backup $archivetodel\"" -- $tarsnap -d -f "$archivetodel" -+ if ! output="$($tarsnap -d -f "$archivetodel" 2>&1)"; then -+ log_message "delete-error type=$backuplevel output=\"$(echo $output | tr '\n' " ")\"" -+ fi - done - done - else Property changes on: head/sysutils/acts/files/patch-acts ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/acts/files/patch-acts.conf.sample =================================================================== --- head/sysutils/acts/files/patch-acts.conf.sample (revision 509812) +++ head/sysutils/acts/files/patch-acts.conf.sample (revision 509813) @@ -1,11 +1,11 @@ --- acts.conf.sample.orig 2019-06-23 13:59:22 UTC +++ acts.conf.sample @@ -5,7 +5,7 @@ # backuptargets # Space-separated list of directories to backup, relative to /. This is a required option. # Default: unset -#backuptargets="var etc home root" -+#backuptargets="var etc home root usr/home" ++#backuptargets="var etc root usr/home" # tarsnap # What command to call for 'tarsnap'. Index: head/sysutils/acts/pkg-plist =================================================================== --- head/sysutils/acts/pkg-plist (revision 509812) +++ head/sysutils/acts/pkg-plist (revision 509813) @@ -1,2 +1,3 @@ bin/acts @sample etc/acts.conf.sample +%%PORTDOCS%%%%DOCSDIR%%/README.md