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
This commit is contained in:
bsiegert 2024-02-03 11:54:55 +00:00
parent 488f428129
commit 26a8f9edc5
3 changed files with 11 additions and 11 deletions

View File

@ -1,15 +1,14 @@
# $NetBSD: Makefile,v 1.35 2022/06/28 11:36:05 wiz Exp $
# $NetBSD: Makefile,v 1.36 2024/02/03 11:54:55 bsiegert Exp $
#
DISTNAME= stow-2.2.2
PKGREVISION= 5
CATEGORIES= textproc perl5
DISTNAME= stow-2.3.1
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_GNU:=stow/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/stow/stow.html
COMMENT= Maps several separate packages into a tree without merging them
LICENSE= gnu-gpl-v2
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pmdir=${PERL5_INSTALLVENDORLIB}

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.8 2017/01/19 10:37:21 markd Exp $
@comment $NetBSD: PLIST,v 1.9 2024/02/03 11:54:55 bsiegert Exp $
bin/chkstow
bin/stow
info/stow.info
@ -7,7 +7,8 @@ ${PERL5_SUB_INSTALLVENDORLIB}/Stow/Util.pm
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

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.11 2021/10/26 11:20:14 nia Exp $
$NetBSD: distinfo,v 1.12 2024/02/03 11:54:55 bsiegert 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