Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2026 16:51:19 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 56b03471084b - main - misc/gwhich: update GNU which to the latest version 2.25
Message-ID:  <6a187287.3a334.3b9b6bb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=56b03471084b76254e882d76fc64908ede5c3a2c

commit 56b03471084b76254e882d76fc64908ede5c3a2c
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-05-28 16:49:34 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-05-28 16:49:34 +0000

    misc/gwhich: update GNU which to the latest version 2.25
    
    - Bug fix for an out of bounds stack read (by Daniel Anderson)
    - Scripts regenerated with automake 1.18.1 and autoconf 2.73
    - Install a bunch of documentation files and convert EXAMPLES
      option into DOCS (one file does not warrant this separation)
    - While here, provide a more sensible and useful COMMENT text
    
    Reported by:    portscout
---
 misc/gwhich/Makefile | 14 +++++++-------
 misc/gwhich/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/misc/gwhich/Makefile b/misc/gwhich/Makefile
index 996669c3ef27..e8e6992882c1 100644
--- a/misc/gwhich/Makefile
+++ b/misc/gwhich/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	gwhich
-PORTVERSION=	2.23
+PORTVERSION=	2.25
 CATEGORIES=	misc
 MASTER_SITES=	GNU/which
 DISTNAME=	which-${PORTVERSION}
 
 MAINTAINER=	danfe@FreeBSD.org
-COMMENT=	GNU Which - Everything you never wanted in a which
+COMMENT=	Identify executable, alias, or shell function
 WWW=		https://savannah.gnu.org/projects/which/
 
 LICENSE=	GPLv3+
@@ -14,13 +14,13 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-prefix=g
 
 INFO=		which
-PORTEXAMPLES=	EXAMPLES
 PLIST_FILES=	bin/gwhich share/man/man1/gwhich.1.gz
+PORTDOCS=	AUTHORS EXAMPLES NEWS README.*
 
-OPTIONS_DEFINE=	EXAMPLES
+OPTIONS_DEFINE=	DOCS
 
-post-install:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${EXAMPLESDIR}
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/misc/gwhich/distinfo b/misc/gwhich/distinfo
index 8fc94ff3ff2b..093bcd9943f9 100644
--- a/misc/gwhich/distinfo
+++ b/misc/gwhich/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738436283
-SHA256 (which-2.23.tar.gz) = a2c558226fc4d9e4ce331bd2fd3c3f17f955115d2c00e447618a4ef9978a2a73
-SIZE (which-2.23.tar.gz) = 201930
+TIMESTAMP = 1779379848
+SHA256 (which-2.25.tar.gz) = 1cb83e4f702e60b8211ab5ec4c2afbab1b1dec80209456a7d2faf7584ed225ea
+SIZE (which-2.25.tar.gz) = 203191


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a187287.3a334.3b9b6bb>