Skip to content

Commit

Permalink
databases/pgbarman: update to 3.10.0
Browse files Browse the repository at this point in the history
Upstream are no longer providing the PDF of the barman manual, so
delete the DOCS option.

Changes:	https://github.com/EnterpriseDB/barman/releases/tag/release%2F3.10.0
Reported by:	portscout
  • Loading branch information
infracaninophile committed Jan 27, 2024
1 parent 4f21bc2 commit ac41c99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
18 changes: 1 addition & 17 deletions databases/pgbarman/Makefile
@@ -1,7 +1,6 @@
PORTNAME= barman
DISTVERSIONPREFIX= release/
DISTVERSION= 3.9.0
PORTREVISION= 1
DISTVERSION= 3.10.0
CATEGORIES= databases
PKGNAMEPREFIX= pg
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
Expand Down Expand Up @@ -29,21 +28,10 @@ NO_ARCH= yes
USERS= barman
GROUPS= barman

OPTIONS_DEFINE= DOCS

DOCS_DESC= Install PDF manual
DOCS_VARS= PORTDOCS=barman-${DISTVERSION}-manual.pdf \
MASTER_SITES+=https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/release%2F${DISTVERSION}/:docs \
DISTFILES+=barman-${DISTVERSION}-manual.pdf:docs \
EXTRACT_ONLY=${DISTNAME}${EXTRACT_SUFX}

.include <bsd.port.pre.mk>

PGUSER= pgsql

post-extract-DOCS-on:
${CP} ${DISTDIR}/${PORTDOCS} ${WRKDIR}/

post-patch:
${SED} -i -e "s@%%PREFIX%%@${PREFIX}@" ${WRKSRC}/barman/config.py
${SED} -i -e "s@%%PREFIX%%@${PREFIX}@" ${WRKSRC}/doc/barman.conf
Expand All @@ -54,8 +42,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/barman.conf \
${STAGEDIR}${ETCDIR}/barman.conf.sample

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.post.mk>
8 changes: 3 additions & 5 deletions databases/pgbarman/distinfo
@@ -1,5 +1,3 @@
TIMESTAMP = 1696403434
SHA256 (barman-3.9.0-manual.pdf) = 2a1a35296f2d7abdbdf5a93c36a1a1c9214adbbd6949a42f46e5ac79b87e91f1
SIZE (barman-3.9.0-manual.pdf) = 1194499
SHA256 (EnterpriseDB-barman-release-3.9.0_GH0.tar.gz) = 0b6ee7b89e22d4d4361557c7be8f26828b3d31f90676fc4e35b35ead989215ea
SIZE (EnterpriseDB-barman-release-3.9.0_GH0.tar.gz) = 1819096
TIMESTAMP = 1706294722
SHA256 (EnterpriseDB-barman-release-3.10.0_GH0.tar.gz) = 171c61f24d0ffa0c96427043d91c218afff893a34bfd4ca1cd0c10b768943c8e
SIZE (EnterpriseDB-barman-release-3.10.0_GH0.tar.gz) = 1851778

0 comments on commit ac41c99

Please sign in to comment.