From 6dab8b2f1802a885b5cd97b9f1f35339d0117335 Mon Sep 17 00:00:00 2001 From: Xavier Beaudouin Date: Mon, 16 Jun 2025 11:36:42 +0200 Subject: [PATCH] PR 863 --- textproc/augeas/Makefile | 45 ++++++++++++++++++++++++++++++++++++++++ textproc/augeas/distinfo | 7 +++++++ 2 files changed, 52 insertions(+) create mode 100644 textproc/augeas/Makefile create mode 100644 textproc/augeas/distinfo diff --git a/textproc/augeas/Makefile b/textproc/augeas/Makefile new file mode 100644 index 0000000..e2f1525 --- /dev/null +++ b/textproc/augeas/Makefile @@ -0,0 +1,45 @@ +PORTNAME= augeas +DISTVERSION= 1.14.0 +PORTREVISION= 3 +CATEGORIES= textproc +MASTER_SITES= https://github.com/hercules-team/augeas/releases/download/release-${DISTVERSION}/ + +PATCH_SITES= https://github.com/hercules-team/augeas/commit/ +PATCHFILES+= 7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch:-p1 # https://github.com/hercules-team/augeas/pull/792 +PATCHFILES+= 78a9c2add3dd37d023df67e9089de277bd98f914.patch:-p1 # https://github.com/hercules-team/augeas/pull/863 + +MAINTAINER= puppet@FreeBSD.org +COMMENT= Configuration editing tool +WWW= https://augeas.net/ + +LICENSE= LGPL21 + +TEST_DEPENDS= bash:shells/bash \ + gsed:textproc/gsed + +USES= autoreconf cpe gmake gnome libtool pathfix pkgconfig readline +USE_GNOME= libxml2 +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share + +INSTALL_TARGET= install-strip + +LENSESDIR= ${PREFIX}/share/augeas/lenses + +.include + +.if ${OPSYS} == FreeBSD +CFLAGS+=-Wno-error=int-conversion +.endif + +post-patch: + @${REINPLACE_CMD} -e 's:/bin/bash:/usr/bin/env bash:' ${WRKSRC}/tests/*.sh + @${REINPLACE_CMD} -e 's:sed:gsed:' ${WRKSRC}/tests/test-augtool.sh + @${REINPLACE_CMD} -e 's:/usr/local:${LOCALBASE}:' \ + ${WRKSRC}/lenses/puppet.aug \ + ${WRKSRC}/lenses/puppet_auth.aug \ + ${WRKSRC}/lenses/puppetfileserver.aug + +.include diff --git a/textproc/augeas/distinfo b/textproc/augeas/distinfo new file mode 100644 index 0000000..b4a1872 --- /dev/null +++ b/textproc/augeas/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1750064706 +SHA256 (augeas-1.14.0.tar.gz) = 8c101759ca3d504bd1d805e70e2f615fa686af189dd7cf0529f71d855c087df1 +SIZE (augeas-1.14.0.tar.gz) = 2651463 +SHA256 (7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch) = 08b0dbf7f303cd7cb341e2dff13f9b5df7042c2171dcfc89ed00d1d8f4886983 +SIZE (7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch) = 1239 +SHA256 (78a9c2add3dd37d023df67e9089de277bd98f914.patch) = 2ff5c7f11eaacf9cf4f4c69962d3934f109942a47c70e0aa769aec10d46fb465 +SIZE (78a9c2add3dd37d023df67e9089de277bd98f914.patch) = 8442