git: fd5eb05f45df - main - sysutils/pies: update the port to version 1.7, hook the test suite
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jan 2022 02:37:56 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd5eb05f45df853991c04c906104a8382853f6eb commit fd5eb05f45df853991c04c906104a8382853f6eb Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-01-20 02:36:10 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-01-20 02:36:10 +0000 sysutils/pies: update the port to version 1.7, hook the test suite Pull one patch from the upstream and inhibit inclusion of `abend.at' in the m4 code to fix the tests. Reported on: https://www.opennet.ru/opennews/art.shtml?num=56457 --- sysutils/pies/Makefile | 6 +++++- sysutils/pies/distinfo | 6 +++--- sysutils/pies/files/patch-grecs_tests_epp.at | 13 +++++++++++++ sysutils/pies/pkg-plist | 1 - 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/sysutils/pies/Makefile b/sysutils/pies/Makefile index c7ae489d8224..44f417495163 100644 --- a/sysutils/pies/Makefile +++ b/sysutils/pies/Makefile @@ -1,7 +1,7 @@ # Created by: Alexey Dokuchaev <danfe@FreeBSD.org> PORTNAME= pies -PORTVERSION= 1.5 +PORTVERSION= 1.7 CATEGORIES= sysutils MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/ \ http://download.gnu.org.ua/pub/alpha/${PORTNAME}/ @@ -14,6 +14,7 @@ LICENSE= GPLv3+ USES= charsetfix gmake iconv tar:bz2 GNU_CONFIGURE= yes USE_RC_SUBR= ${PORTNAME} +TEST_TARGET= check INFO= ${PORTNAME} PORTDOCS= ChangeLog NEWS README @@ -28,6 +29,9 @@ NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls PAM_CONFIGURE_OFF= --disable-pam +post-patch: + @${REINPLACE_CMD} -e '/abend\.at/d' ${WRKSRC}/grecs/tests/testsuite.at + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} diff --git a/sysutils/pies/distinfo b/sysutils/pies/distinfo index 7fbe99f54958..9cd42465007c 100644 --- a/sysutils/pies/distinfo +++ b/sysutils/pies/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1607929167 -SHA256 (pies-1.5.tar.bz2) = 0e738105b4d4cd7881e3a00df64c844f852feab4e755de8a54366a4931324186 -SIZE (pies-1.5.tar.bz2) = 1241919 +TIMESTAMP = 1641117269 +SHA256 (pies-1.7.tar.bz2) = 600c2f306191b27a64f4ecaaa0ba583ed4eb20e8eceac900c3a558e305544c2a +SIZE (pies-1.7.tar.bz2) = 1250531 diff --git a/sysutils/pies/files/patch-grecs_tests_epp.at b/sysutils/pies/files/patch-grecs_tests_epp.at new file mode 100644 index 000000000000..e294cbe5fd54 --- /dev/null +++ b/sysutils/pies/files/patch-grecs_tests_epp.at @@ -0,0 +1,13 @@ +--- grecs/tests/epp.at.orig 2021-09-06 16:30:24 UTC ++++ grecs/tests/epp.at +@@ -15,7 +15,9 @@ + # along with Grecs. If not, see <http://www.gnu.org/licenses/>. + AT_SETUP([External preprocessor]) + +-AT_CHECK([m4 -s </dev/null 2>/dev/null || AT_SKIP_TEST]) ++AT_CHECK([m4 -s </dev/null 2>/dev/null || AT_SKIP_TEST],[0],[stdout]) ++# On FreeBSD, m4 outputs a single '#line 1 "stdin"' line ++AT_CHECK([s=`sed -e '/^#line/d' stdout`; test -z "$s" || AT_SKIP_TEST]) + + AT_CHECK([ + AT_DATA([input], diff --git a/sysutils/pies/pkg-plist b/sysutils/pies/pkg-plist index e489f88bbb50..254292bbd33a 100644 --- a/sysutils/pies/pkg-plist +++ b/sysutils/pies/pkg-plist @@ -8,5 +8,4 @@ sbin/pies %%NLS%%share/locale/pt_BR/LC_MESSAGES/pies.mo %%NLS%%share/locale/uk/LC_MESSAGES/pies.mo %%NLS%%share/locale/vi/LC_MESSAGES/pies.mo -%%DATADIR%%/1.5/include/pp-setup @dir /var/pies