Date: Wed, 17 Jul 2019 10:37:01 +0000 (UTC) From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506796 - in head: . sysutils/py-borgmatic Message-ID: <201907171037.x6HAb1Qh082030@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907171037.x6HAb1Qh082030>