From owner-svn-ports-head@freebsd.org Wed Jul 17 10:37:01 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C55B0A8E25; Wed, 17 Jul 2019 10:37:01 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9EA5D727FD; Wed, 17 Jul 2019 10:37:01 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 753DE1D2C4; Wed, 17 Jul 2019 10:37:01 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6HAb1fB082034; Wed, 17 Jul 2019 10:37:01 GMT (envelope-from egypcio@FreeBSD.org) Received: (from egypcio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6HAb1Qh082030; Wed, 17 Jul 2019 10:37:01 GMT (envelope-from egypcio@FreeBSD.org) Message-Id: <201907171037.x6HAb1Qh082030@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: egypcio set sender to egypcio@FreeBSD.org using -f From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= Date: Wed, 17 Jul 2019 10:37:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506796 - in head: . sysutils/py-borgmatic X-SVN-Group: ports-head X-SVN-Commit-Author: egypcio X-SVN-Commit-Paths: in head: . sysutils/py-borgmatic X-SVN-Commit-Revision: 506796 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9EA5D727FD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.93)[-0.931,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2019 10:37:01 -0000 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