From nobody Wed Sep 14 09:49:02 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MSFsV49bJz4crPZ; Wed, 14 Sep 2022 09:49:02 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MSFsV3T8rz3bJ8; Wed, 14 Sep 2022 09:49:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663148942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6VSbr4A7UqUYcmUNyRXUsCmPsLzKINkCykPNk3PnSDs=; b=eawM1D8kB6QnI0X/1FF5MSG8Zw8/WcnAjJ9ebAsGLIEYxX9d2ho2a/4S27nzTiBV3djSMP f0iwYj7DoBit2RQAB674sg+oriEG0stVlQDkEOYh+uDrY5V1QVwi42s9dpDBiS3j2buqKW BAysXCo0ScIXsEjYmkw2LkO28Q8yoxJL/tpenH7rBUx/MK1kcgER9xM7raIPrh5X8HRqgV vkn0U5KMLn8DSz9l/MZusp+Jlj3f3Ohozs1PcrTWcODh8Va+tU+28s+aOKmmxUGHmwo8YN iA0TV9Hov4t1cU0ZPm4jG+4FEqvyKa/m8D4oGl2aBLYLOZIc76KG16l0N5vr9g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MSFsV2HRgzdbG; Wed, 14 Sep 2022 09:49:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28E9n2xJ053961; Wed, 14 Sep 2022 09:49:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28E9n2tZ053960; Wed, 14 Sep 2022 09:49:02 GMT (envelope-from git) Date: Wed, 14 Sep 2022 09:49:02 GMT Message-Id: <202209140949.28E9n2tZ053960@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: be916aaa8655 - main - textproc/gnugrep: update GNU grep to version 3.8 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: be916aaa865593853fa8dcf1c7fe4e632963acc2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663148942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6VSbr4A7UqUYcmUNyRXUsCmPsLzKINkCykPNk3PnSDs=; b=ljD/VTWDuAeRt9NhYZ+wOeRzyyJJoL/Sh3/U6ubGahUMS5mleWalm4gn7T+HQ0riY5bDCB O/YwE+hvYh4gbyB7UeGP2lEi4dvgMiODFle5sw3+OlUHbRSv5SkZP9Zn/YlJMRgqiEkRoA 9R5ag2fUx1jw1pQS2tLuwQ2AvlLsViJqKrS7WQNkUJvNGpiSpHtQ63Xhlp/bTPiLl4S2Ly IGyXEaePqO+cnk7dPz/a9IGGlT1M2CO/iHt4zJX4giRph78AwRLa9UHbi2uOmRtCNH9dcR /Qquj0DzOoly+6sp1S5eI92hyGm8rmUFoKmeKIvxJSsTq5zn4XisCNuGfDZ3TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663148942; a=rsa-sha256; cv=none; b=IjgdkICqUOVlZTxKLieStXT0uIKS0rXmDxIxolCVOPFdXjL+0IDsohxcvdv8O4tHN3AWs1 6GPQqA5oa7jcqD2nczE7tunVQZ3GrTkIheWJn4JRufJtHPZmr0Z0JBiLOfKEUh03wa9ncf VzJXn0vogZCz0qMtv3HEMkyLMq0dTmp0yIVKmICViGiemHUdDXrfys/9FJx8kYdtIZAtM9 RXFVmXPNsruOqyl90SvIpJk0uOm028wvVQkOeIYSnzK9XLtKM+R3mQv8V0Kk30X77lbMvA ukvSXSBmoAc9rPNBz/FsfzwytyHSXydRolgVwinum1eU8sVdWoE49DEmkltlTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=be916aaa865593853fa8dcf1c7fe4e632963acc2 commit be916aaa865593853fa8dcf1c7fe4e632963acc2 Author: Alexey Dokuchaev AuthorDate: 2022-09-14 09:47:30 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-09-14 09:47:30 +0000 textproc/gnugrep: update GNU grep to version 3.8 - PCRE option is now backed by `devel/pcre2' port - Remove seemingly useless macro from the manpage in order to drop dependency on `textproc/groff' as suggested by Dan Allen Reported by: portscout --- textproc/gnugrep/Makefile | 10 +++++----- textproc/gnugrep/distinfo | 6 +++--- textproc/gnugrep/files/patch-configure | 9 --------- textproc/gnugrep/pkg-plist | 4 ++-- 4 files changed, 10 insertions(+), 19 deletions(-) diff --git a/textproc/gnugrep/Makefile b/textproc/gnugrep/Makefile index bd183cd24146..2a4bfddf0088 100644 --- a/textproc/gnugrep/Makefile +++ b/textproc/gnugrep/Makefile @@ -1,6 +1,5 @@ PORTNAME= grep -PORTVERSION= 3.7 -PORTREVISION= 1 +PORTVERSION= 3.8 CATEGORIES= textproc MASTER_SITES= GNU PKGNAMEPREFIX= gnu @@ -13,8 +12,6 @@ LICENSE= GPLv3+ CONFLICTS= bsd-grep -RUN_DEPENDS= groff:textproc/groff - USES= charsetfix cpe tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g @@ -38,7 +35,7 @@ NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_WITH= libintl-prefix=${LOCALBASE} -PCRE_LIB_DEPENDS= libpcre.so:devel/pcre +PCRE_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PCRE_USES= pkgconfig PCRE_CONFIGURE_ENABLE= perl-regexp @@ -46,6 +43,9 @@ post-patch: @${REINPLACE_CMD} 's:@grep@:${PREFIX}/bin/&:' ${WRKSRC}/src/egrep.sh @${REINPLACE_CMD} 's|mkinstalldirs = .*|mkinstalldirs = ${MKDIR}|g' \ ${WRKSRC}/po/Makefile.in.in +# Remove useless(?) macro to avoid run-time dependency on `textproc/groff' + @${REINPLACE_CMD} '/Map mono-width fonts to standard fonts/,+6d' \ + ${WRKSRC}/doc/grep.in.1 post-patch-NLS-off: @${REINPLACE_CMD} '/install-exec-local:/s/install-exec-localcharset//' \ diff --git a/textproc/gnugrep/distinfo b/textproc/gnugrep/distinfo index 7933d95b9929..0fbaa75b3323 100644 --- a/textproc/gnugrep/distinfo +++ b/textproc/gnugrep/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1628970999 -SHA256 (grep-3.7.tar.xz) = 5c10da312460aec721984d5d83246d24520ec438dd48d7ab5a05dbc0d6d6823c -SIZE (grep-3.7.tar.xz) = 1641196 +TIMESTAMP = 1662189808 +SHA256 (grep-3.8.tar.xz) = 498d7cc1b4fb081904d87343febb73475cf771e424fb7e6141aff66013abc382 +SIZE (grep-3.8.tar.xz) = 1709536 diff --git a/textproc/gnugrep/files/patch-configure b/textproc/gnugrep/files/patch-configure index 03c89bad1907..3c6ea52a8372 100644 --- a/textproc/gnugrep/files/patch-configure +++ b/textproc/gnugrep/files/patch-configure @@ -9,12 +9,3 @@ i860 | \ ia64 | \ m32r | \ -@@ -35714,7 +35714,7 @@ find_stack_direction (int *addr, int depth) - return dir + dummy; - } - int --main (int argc, char *argv) -+main (int argc, char *argv[]) - { - printf ("%d\n", find_stack_direction (NULL, argc + 20)); - return 0; diff --git a/textproc/gnugrep/pkg-plist b/textproc/gnugrep/pkg-plist index 499828b03cb5..a52a7740695d 100644 --- a/textproc/gnugrep/pkg-plist +++ b/textproc/gnugrep/pkg-plist @@ -4,8 +4,6 @@ bin/gegrep bin/gfgrep bin/ggrep bin/grep -man/man1/gegrep.1.gz -man/man1/gfgrep.1.gz man/man1/ggrep.1.gz %%NLS%%share/locale/af/LC_MESSAGES/grep.mo %%NLS%%share/locale/be/LC_MESSAGES/grep.mo @@ -29,6 +27,7 @@ man/man1/ggrep.1.gz %%NLS%%share/locale/id/LC_MESSAGES/grep.mo %%NLS%%share/locale/it/LC_MESSAGES/grep.mo %%NLS%%share/locale/ja/LC_MESSAGES/grep.mo +%%NLS%%share/locale/ka/LC_MESSAGES/grep.mo %%NLS%%share/locale/ko/LC_MESSAGES/grep.mo %%NLS%%share/locale/ky/LC_MESSAGES/grep.mo %%NLS%%share/locale/lt/LC_MESSAGES/grep.mo @@ -44,6 +43,7 @@ man/man1/ggrep.1.gz %%NLS%%share/locale/sl/LC_MESSAGES/grep.mo %%NLS%%share/locale/sr/LC_MESSAGES/grep.mo %%NLS%%share/locale/sv/LC_MESSAGES/grep.mo +%%NLS%%share/locale/ta/LC_MESSAGES/grep.mo %%NLS%%share/locale/th/LC_MESSAGES/grep.mo %%NLS%%share/locale/tr/LC_MESSAGES/grep.mo %%NLS%%share/locale/uk/LC_MESSAGES/grep.mo