Skip to content

Commit

Permalink
Update to 1.063
Browse files Browse the repository at this point in the history
Upstream changes:
1.063  2024-03-15

- Fixes #86 "-l somelib.dll doesn't work in recent PAR::Packer versions"

  par_setup_libpath() in myldr/mktmpdir.c used to set all known
  "search path for DLLs" environment variables (e.g. LD_LIBRARY_PATH
  on Linux). The search path is set up so that the first directory
  searched is a packed executable's cache directory (where the shared
  perl library will be extracted to, also all packed "external" DLLs).
  In 2017 (by 2ac7078) it was changed to only set the variable
  relevant for the OS where PAR::Packer was build on, given by
  $Config{ldlibpthname}. But some perl distributions
  (e.g. Strawberry on Windows) do not specify $Config{ldlibpthname}.

  Hardwire "PATH" for MSWin32 and otherwise complain if this Config
  variable is undefined.

  Add t/85-ldlibpthname.t: check that the value of the environment
  variable for searching for DLLs, usually $ENV{$Config{ldlibpthname}},
  starts with the cache directory, $ENV{PAR_TEMP}.

- Skip t/87-xs-cross.t if ExtUtils::Depends 0.8001 is installed.
  This version fails to build and install the "import lib"
  corresponding to XSQuux.xs.dll and hence fails to build XSBar.xs.dll.

  The test works on GitHub CI, because the "strawberry" perl distribution
  installed there comes with ExtUtils::Depends version 0.8000
  (ie. **not** current) pre-installed.

1.062  2024-03-05

- Fix #84: PAR::Packer packaged scripts lose the ability to parse UTF-8 arguments from the command line

  myldr/boot.c passes its arguments in argv (except argv[0]) down to the custom
  perl interpreter using _spawnvp(). But this argv has already been converted to the
  local code page, so the custom interpreter can't get it back using
  GetCommandLineW(). Convert myldr/boot.c to use GetCommandLineW() and
  CommandLineToArgvW() to get the "real" (UTF-16) command line and pass
  that down via _wspawnvp(). Convert shell_quote() (to escape embedded
  blanks, double quotes etc in the arguments) from using char to wchar_t.
  Thanks to @fengzyf for the report and most of the work.

- pod: explain how REGEX is applied in "--modfilter=FILTER=REGEX"

- require PAR >= 1.020

- add new test t/87-xs-cross.t to investigate rschupp/PAR#11

- move some test modules around and fix up tests accordingly

- bump version of actions/checkout
  • Loading branch information
wen committed Aug 18, 2024
1 parent 7cb4f89 commit 54ef9cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions devel/p5-PAR-Packer/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.5 2024/01/01 08:35:28 mef Exp $
# $NetBSD: Makefile,v 1.6 2024/08/18 08:23:26 wen Exp $

DISTNAME= PAR-Packer-1.061
DISTNAME= PAR-Packer-1.063
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PAR/}
Expand Down
8 changes: 4 additions & 4 deletions devel/p5-PAR-Packer/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2024/01/01 08:35:28 mef Exp $
$NetBSD: distinfo,v 1.4 2024/08/18 08:23:26 wen Exp $

BLAKE2s (PAR-Packer-1.061.tar.gz) = d3bc9af0bdbee59810805445eec4617b5d2f7b0e381c1c8c36f401379c39108e
SHA512 (PAR-Packer-1.061.tar.gz) = ba8cb6972c198b119434a215e43bdcfbba6828c1ebf1d7985a25ee519422f7106787092c651781adde7b2fa353484c14385b157b79a3004672b5ba17f317a616
Size (PAR-Packer-1.061.tar.gz) = 198987 bytes
BLAKE2s (PAR-Packer-1.063.tar.gz) = 90daa01be8af7c713e16a5b28a921b9f153d93b162c61932858998ec5e094f48
SHA512 (PAR-Packer-1.063.tar.gz) = 7d40c36c4530e43552ada6276e1175633c8698402a2c3c2ac5403e0902892cfb2a7790c3823fea268c2e418bded6583039a693f71b40e281e1e15686d3ecd807
Size (PAR-Packer-1.063.tar.gz) = 203845 bytes

0 comments on commit 54ef9cd

Please sign in to comment.