Hi,

this is a simple update for archivers/makeself.

Port changes:

- version bump, revision removed
- patch adapted

Software changes:

2.4.5
  This release mostly addresses possible incompatibilities with the
  default ustar TAR format, by introducing a new --tar-format option
  when creating the format. This allows the user to create an archive
  using a TAR format more suitable to their use case, such as posix, v7
  or anything else supported by their tar command.

2.4.4
  This release fixes a few issues with the compatibility of the
  archives, most notably reversing the previous generation of strictly
  POSIX tar archives.

2.4.3
  This includes a number of bug fixes.
  POSIX tar archive format is now explicitly set to increase
  compatibility between GNU and BSD variants of the command.

2.4.2
  New --cleanup and --cleanup-args arguments for cleanup scripts;
  Added threading support for supported compressors Now supports zstd
  compression.

I haven't tested it deeply, but the straight forward case seems to work:

$ makeself.sh  hello  myhello "My Hello Application" ./start.sh
Header is 713 lines long

About to compress 16 KB of data...
Adding files to archive named "myhello"...
./start.sh
CRC: 1137897188
MD5: fee2c588e42e06931ba7767649dfc2d7

Self-extractable archive "myhello" successfully created.
$ ./myhello
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing My Hello Application  100%
Hello World!

Best regards,
Stefan

Index: archivers/makeself/Makefile
===================================================================
RCS file: /cvs/ports/archivers/makeself/Makefile,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 Makefile
--- archivers/makeself/Makefile 14 Feb 2020 11:11:32 -0000      1.20
+++ archivers/makeself/Makefile 10 Sep 2021 13:54:42 -0000
@@ -4,8 +4,7 @@ COMMENT=                script generating a self-extra
 
 GH_ACCOUNT=            megastep
 GH_PROJECT=            makeself
-GH_TAGNAME=            release-2.4.0
-REVISION=              0
+GH_TAGNAME=            release-2.4.5
 
 CATEGORIES=            archivers misc
 
Index: archivers/makeself/distinfo
===================================================================
RCS file: /cvs/ports/archivers/makeself/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- archivers/makeself/distinfo 10 Sep 2018 01:15:31 -0000      1.8
+++ archivers/makeself/distinfo 10 Sep 2021 13:54:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (makeself-2.4.0.tar.gz) = dqjD8/rRtVw5uikEoZ50liFR+Ugd8DCR1OVJOL3RP1A=
-SIZE (makeself-2.4.0.tar.gz) = 26735
+SHA256 (makeself-2.4.5.tar.gz) = kd6v2/3fEwq+Z9dUbwxQvmr2cRuxw1G3aAQ71Se9bkU=
+SIZE (makeself-2.4.5.tar.gz) = 39012
Index: archivers/makeself/patches/patch-makeself_sh
===================================================================
RCS file: /cvs/ports/archivers/makeself/patches/patch-makeself_sh,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-makeself_sh
--- archivers/makeself/patches/patch-makeself_sh        10 Sep 2018 01:15:32 
-0000      1.1
+++ archivers/makeself/patches/patch-makeself_sh        10 Sep 2021 13:54:42 
-0000
@@ -1,16 +1,14 @@
-$OpenBSD: patch-makeself_sh,v 1.1 2018/09/10 01:15:32 bcallah Exp $
-
-Our utility is called sha256.
+$OpenBSD$
 
 Index: makeself.sh
 --- makeself.sh.orig
 +++ makeself.sh
-@@ -598,7 +598,7 @@ if test "$SHA256" = y; then
+@@ -724,7 +724,7 @@ if test "$SHA256" = y; then
        if test -x "$SHA_PATH"; then
-               shasum=`cat "$tmpfile" | eval "$SHA_PATH -a 256" | cut -b-64`
+               shasum=`eval "$SHA_PATH -a 256" < "$tmpfile" | cut -b-64`
        else
 -              SHA_PATH=`exec <&- 2>&-; which sha256sum || command -v 
sha256sum || type sha256sum`
 +              SHA_PATH=`exec <&- 2>&-; which sha256 || command -v sha256 || 
type sha256`
-               shasum=`cat "$tmpfile" | eval "$SHA_PATH" | cut -b-64`
+               shasum=`eval "$SHA_PATH" < "$tmpfile" | cut -b-64`
        fi
        if test "$QUIET" = "n"; then

Reply via email to