svn commit: r506796 - in head: . sysutils/py-borgmatic
Vinícius Zavam
egypcio at FreeBSD.org
Wed Jul 17 10:37:01 UTC 2019
Author: egypcio
Date: Wed Jul 17 10:37:00 2019
New Revision: 506796
URL: https://svnweb.freebsd.org/changeset/ports/506796
Log:
sysutils/py-borgmatic: move borgmatic's default config dir to ${PREFIX}
PR: 239002
Modified:
head/UPDATING
head/sysutils/py-borgmatic/Makefile
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Wed Jul 17 10:28:22 2019 (r506795)
+++ head/UPDATING Wed Jul 17 10:37:00 2019 (r506796)
@@ -6,6 +6,14 @@ You should get into the habit of checking this file fo
you update your ports collection, before attempting any port upgrades.
+20190717:
+ AFFECTS: users of sysutils/py-borgmatic
+ AUTHOR: egypcio at FreeBSD.org
+
+ The default location for borgmatic's configurations changed. We moved it
+ from '/etc/borgmatic' to '/usr/local/etc/borgmatic' in order to follow
+ recommended standards used on FreeBSD.
+
20190710:
AFFECTS: users with DEFAULT_VERSIONS+=linux=c6 or c6_64 in /etc/make.conf
AUTHOR: tij at FreeBSD.org
Modified: head/sysutils/py-borgmatic/Makefile
==============================================================================
--- head/sysutils/py-borgmatic/Makefile Wed Jul 17 10:28:22 2019 (r506795)
+++ head/sysutils/py-borgmatic/Makefile Wed Jul 17 10:37:00 2019 (r506796)
@@ -2,6 +2,7 @@
PORTNAME= borgmatic
PORTVERSION= 1.3.12
+PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,5 +21,16 @@ USES= python:3.6
USE_PYTHON= autoplist distutils
NO_ARCH= yes
+
+post-patch:
+ @cd ${WRKSRC} && \
+ ${REINPLACE_CMD} -e 's|/etc/borgmatic|${PREFIX}/etc/borgmatic|g' \
+ borgmatic/commands/borgmatic.py \
+ borgmatic/commands/convert_config.py \
+ borgmatic/commands/generate_config.py \
+ borgmatic/config/collect.py \
+ borgmatic/config/convert.py \
+ borgmatic/config/schema.yaml \
+ tests/unit/config/test_collect.py
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list