NetBSD Problem Report #57899

From www@netbsd.org  Fri Feb  2 18:05:10 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2DAA61A9238
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  2 Feb 2024 18:05:10 +0000 (UTC)
Message-Id: <20240202180508.D33F01A9239@mollari.NetBSD.org>
Date: Fri,  2 Feb 2024 18:05:08 +0000 (UTC)
From: ci4ic4@gmail.com
Reply-To: ci4ic4@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Minor upgrade to sysutils/stow
X-Send-Pr-Version: www-1.0

>Number:         57899
>Category:       pkg
>Synopsis:       Minor upgrade to sysutils/stow
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 02 18:10:00 +0000 2024
>Closed-Date:    Sat Feb 03 11:56:10 +0000 2024
>Last-Modified:  Sat Feb 03 11:56:10 +0000 2024
>Originator:     Chavdar Ivanov
>Release:        -current as of mid January 2024
>Organization:
CI4 Consulting Ltd
>Environment:
NetBSD ymir.lorien.lan 10.99.10 NetBSD 10.99.10 (GENERIC) #27: Thu Feb  1 01:05:38 GMT 2024  sysbuild@ymir.lorien.lan:/dumps/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/com
pile/GENERIC amd64
>Description:
GNU stow has been updated to 2.3.1; the current version in pkgsrc is 2.2.2. Patch attached, tested on NetBSD-current amd64 and aarch64, as well as Ubuntu aarch64.
>How-To-Repeat:
n/a
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/stow/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- Makefile	28 Jun 2022 11:36:05 -0000	1.35
+++ Makefile	2 Feb 2024 17:21:07 -0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2022/06/28 11:36:05 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2024/02/02 17:29:05 ci4ic4 Exp $
 #

-DISTNAME=	stow-2.2.2
-PKGREVISION=	5
+DISTNAME=	stow-2.3.1
 CATEGORIES=	textproc perl5
 MASTER_SITES=	${MASTER_SITE_GNU:=stow/}

Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/stow/PLIST,v
retrieving revision 1.8
diff -u -r1.8 PLIST
--- PLIST	19 Jan 2017 10:37:21 -0000	1.8
+++ PLIST	2 Feb 2024 17:21:07 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2017/01/19 10:37:21 markd Exp $
+@comment $NetBSD$
 bin/chkstow
 bin/stow
 info/stow.info
@@ -7,7 +7,8 @@
 man/man8/stow.8
 share/doc/stow/ChangeLog
 share/doc/stow/ChangeLog.OLD
-share/doc/stow/README
+share/doc/stow/INSTALL.md
+share/doc/stow/README.md
 share/doc/stow/manual-single.html
 share/doc/stow/manual-split/Bootstrapping.html
 share/doc/stow/manual-split/Compile_002dtime-vs-Install_002dtime.html
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/stow/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- distinfo	26 Oct 2021 11:20:14 -0000	1.11
+++ distinfo	2 Feb 2024 17:21:07 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.11 2021/10/26 11:20:14 nia Exp $

-BLAKE2s (stow-2.2.2.tar.gz) = 70ae69f46d50db906247d8fa726e30e3be16583cf720da5bd441830c46ccb57f
-SHA512 (stow-2.2.2.tar.gz) = 8a3e5da6b5cb4c1ee1b512bae5a9859f83659d5de05f7a9af1dd09df2a32f6b8c6d43b79736db91232c43621d542041d4ef92eb088925796adad0676f200a9b5
-Size (stow-2.2.2.tar.gz) = 579324 bytes
+BLAKE2s (stow-2.3.1.tar.gz) = 67f89dd2223807a08bfbe6b6ecda1d82215b5454704b1144e169db2dde6e496b
+SHA512 (stow-2.3.1.tar.gz) = e9a7de1a6f10eaf7cdbe6737e0a8be1498e2eac46b6c57e65b83759b061efd1c0db45f7cba123e35428307e3aebe5baef9ea8bd4b5eb6ec5e1b159117a760441
+Size (stow-2.3.1.tar.gz) = 654191 bytes

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 03 Feb 2024 09:44:50 +0000
Responsible-Changed-Why:
take


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57899 CVS commit: pkgsrc/sysutils/stow
Date: Sat, 3 Feb 2024 11:54:55 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Feb  3 11:54:55 UTC 2024

 Modified Files:
 	pkgsrc/sysutils/stow: Makefile PLIST distinfo

 Log Message:
 stow: update to 2.3.1.

 From Chavdar Ivanov in PR pkg/57899.

 * Changes in version 2.3.1

 *** Remove dependencies on Hash::Merge and Clone::Choose

     stow 2.3.0 added external runtime dependencies on Hash::Merge and
     Clone::Choose. Historically stow hasn't had runtime dependencies
     other than Perl itself, which is a useful property if you're
     managing the installation of Perl using stow; the bootstrapping
     instructions in stow's manual would need updating to describe how
     to install these two modules (and any dependencies they have now
     or in the future) as well.

     However, Hash::Merge is much more general than stow actually
     needs, so replace the merge() call with a few lines of equivalent
     code -- this avoids the external dependencies, and is clearer than
     the merge() call.

     Many thanks to Adam Sampson for this patch!

     https://lists.gnu.org/archive/html/bug-stow/2019-06/msg00001.html

 *** Fix an issue with the test suite

     t/cli.t was not testing with the right Perl executable, as
     reported here:

         https://rt.cpan.org/Ticket/Display.html?id=129944

     Thanks to Slaven Rezic for spotting this and reporting it!

 *** Various maintainer tweaks

     Improved the release process and its documentation in various
     minor ways.

 * Changes in version 2.3.0

 *** New features / changes in behaviour

 ***** New --dotfiles option

       Enable special handling for "dotfiles" (files or folders whose name
       begins with a period) in the package directory. If this option is
       enabled, Stow will add a preprocessing step for each file or folder
       whose name begins with "dot-", and replace the "dot-" prefix in the
       name by a period (".").  This is useful when Stow is used to manage
       collections of dotfiles, to avoid having a package directory full
       of hidden files.

       For example, suppose we have a package containing two files,
       stow/dot-bashrc and stow/dot-emacs.d/init.el.  With this option,
       Stow will create symlinks from .bashrc to stow/dot-bashrc and from
       .emacs.d/init.el to stow/dot-emacs.d/init.el.  Any other files,
       whose name does not begin with "dot-", will be processed as usual.

       Thanks to Joris Vankerschaver for this feature!

 ***** Shell-like expansion in .stowrc files

       For options within .stowrc files which describe file paths, "~" can
       be included to expand to the current value of $HOME, and
       environment variables can be referenced e.g. via "$FOO" or
       "${FOO}".  To prevent expansion, escape with a backslash.

       Thanks a lot to Charles LeDoux for his diligent work on this
       feature!

 ***** chkstow now honours the $STOW_DIR environment variable

       The stow script already honoured the $STOW_DIR environment
       variable.  Now chkstow does too, for consistency.

 ***** Stow now has a non-zero exit code if option parsing failed

       Thanks to Brice Waegeneire for reporting this.

 *** License upgraded from GPL version 2 to version 3

     Copyright and license notices were also added to the headers of
     various files in accordance with GNU guidelines.

 *** Documentation fixes and enhancements


 To generate a diff of this commit:
 cvs rdiff -u -r1.35 -r1.36 pkgsrc/sysutils/stow/Makefile
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/stow/PLIST
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/stow/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 03 Feb 2024 11:56:10 +0000
State-Changed-Why:
Committed, thanks!

I also changed the license to GPLv3, as per changelog.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.