aboutsummaryrefslogtreecommitdiff
path: root/sysutils/acts
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/acts')
-rw-r--r--sysutils/acts/Makefile9
-rw-r--r--sysutils/acts/distinfo4
-rw-r--r--sysutils/acts/files/patch-acts15
-rw-r--r--sysutils/acts/files/patch-acts.conf.sample17
4 files changed, 22 insertions, 23 deletions
diff --git a/sysutils/acts/Makefile b/sysutils/acts/Makefile
index 754424b086b0..61e0701e5711 100644
--- a/sysutils/acts/Makefile
+++ b/sysutils/acts/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= acts
-PORTVERSION= 1.0
-PORTREVISION= 2
+PORTVERSION= 1.2
+PORTREVISION= 0
CATEGORIES= sysutils archivers
MAINTAINER= feld@FreeBSD.org
@@ -16,11 +16,8 @@ GH_ACCOUNT= alexjurkiewicz
NO_BUILD= yes
-post-patch:
- ${REINPLACE_CMD} 's|ionice -c3 tarsnap|${LOCALBASE}/bin/tarsnap|' ${WRKSRC}/acts.conf
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/acts ${STAGEDIR}/${PREFIX}/bin/acts
- ${INSTALL_DATA} ${WRKSRC}/acts.conf ${STAGEDIR}/${PREFIX}/etc/acts.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/acts.conf.sample ${STAGEDIR}/${PREFIX}/etc/acts.conf.sample
.include <bsd.port.mk>
diff --git a/sysutils/acts/distinfo b/sysutils/acts/distinfo
index 2bf7848734fd..21c4bc100df6 100644
--- a/sysutils/acts/distinfo
+++ b/sysutils/acts/distinfo
@@ -1,2 +1,2 @@
-SHA256 (alexjurkiewicz-acts-1.0_GH0.tar.gz) = 60541d245d9e1c11c2bd34784f45f7e89010d453c4132e6af62f83f1c115f59d
-SIZE (alexjurkiewicz-acts-1.0_GH0.tar.gz) = 3330
+SHA256 (alexjurkiewicz-acts-1.2_GH0.tar.gz) = fca976c24b6c3e66cc9a7f84c548d0689980acd5b740e78d002ef5de64d46b20
+SIZE (alexjurkiewicz-acts-1.2_GH0.tar.gz) = 4032
diff --git a/sysutils/acts/files/patch-acts b/sysutils/acts/files/patch-acts
deleted file mode 100644
index 3d695e56b303..000000000000
--- a/sysutils/acts/files/patch-acts
+++ /dev/null
@@ -1,15 +0,0 @@
---- acts.orig 2014-12-24 00:50:43 UTC
-+++ acts
-@@ -31,8 +31,11 @@ if [ -f acts.conf ] ; then
- elif [ -f /etc/acts.conf ] ; then
- . /etc/acts.conf
- log_debug "Loaded /etc/acts.conf"
-+elif [ -f /usr/local/etc/acts.conf ] ; then
-+ . /usr/local/etc/acts.conf
-+ log_debug "Loaded /usr/local/etc/acts.conf"
- else
-- log_message "No $(pwd)/acts.conf or /etc/acts.conf! Exiting."
-+ log_message "No $(pwd)/acts.conf, /etc/acts.conf or /usr/local/etc/acts.conf! Exiting."
- exit 1
- fi
- # Use default values if anything is not set
diff --git a/sysutils/acts/files/patch-acts.conf.sample b/sysutils/acts/files/patch-acts.conf.sample
new file mode 100644
index 000000000000..7b40ec0239a3
--- /dev/null
+++ b/sysutils/acts/files/patch-acts.conf.sample
@@ -0,0 +1,17 @@
+--- acts.conf.sample.orig 2015-10-30 19:25:27 UTC
++++ acts.conf.sample
+@@ -4,12 +4,12 @@
+ # 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"
+
+ # tarsnap
+ # What command to call for 'tarsnap'.
+ # Default: tarsnap
+-tarsnap="nice -n19 ionice -c3 tarsnap"
++tarsnap="nice -n19 tarsnap"
+
+ # tarsnapbackupoptions
+ # What options to use when backing up.