482 Commits

Author SHA1 Message Date
Stephane Peter 31017ca89b Updated git blame ignore revs 2026-04-20 22:56:23 +02:00
mattviasat 9d3a0a86b3 update blame ignore 2026-04-19 12:41:24 +02:00
mattviasat ba6e14e9d8 Fix sed command 2026-04-19 12:41:24 +02:00
mattviasat d0d02830ec Don't show whitespace change in git blame 2026-04-19 12:41:24 +02:00
mattviasat 18141f674f Use spaces instead of tabs and spaces 2026-04-19 12:41:24 +02:00
Stephane Peter 7a3ff64210 Switch to Intel builds for NetBSD 2026-04-19 12:22:37 +02:00
Stephane Peter 36c1e72ee4 Update GitHub Actions to use latest versions 2026-04-19 03:36:45 +02:00
Andrus Suvalau ba88ffb197 Initialize the iflag variable with an empty string 2026-01-13 02:44:08 -08:00
Andrus Suvalau 33c28e8e26 Add check for iflag=fullblock 2026-01-13 02:44:08 -08:00
Andrus Suvalau bd86bf68e0 Add iflag=fullblock to dd
rust-coreutils’ dd implementation tends to perform partial writes, which
leads to partial reads and data loss as a result. Strictly speaking,
without the fullblock option there is no guarantee that full blocks will
be read. Even with GNU dd, partial reads and writes can occur, although
they hardly ever happen.
2026-01-13 02:44:08 -08:00
Stephane Peter 6ae1785292 Revert "fix: only skip offset"
This reverts commit 51e729920a.
2026-01-13 01:24:20 -08:00
Stephane Peter 6eca970e63 Fix test/infotest to use "Encoding" instead of "Encryption" for base64 encoding. 2025-12-11 03:29:25 -08:00
Stephane Peter 8101dd0bc7 Report encoding in info output for base64 2025-12-11 02:49:39 -08:00
Stephane Peter 0124d05c5f Update version file so tests can run 2025-12-11 02:37:29 -08:00
Stephane Peter 7865c088dc Adjust output messages for compression and encryption so that base64 is not misinterpreted as encryption. 2025-12-11 01:36:47 -08:00
Stephane Peter f3b9d646e4 Updated inline documentation in makeself.sh to reflect the new changes in 2.7 2025-12-10 03:25:55 -08:00
Stephane Peter 3815292f73 Handle base64 encoding after compression. Updated documentation. Prepare for release 2.7.1. release-2.7.1 2025-12-10 02:03:33 -08:00
Stephane Peter ce19ea1d2a Updated documentation and version number for 2.7.0 release-2.7.0 2025-12-09 16:42:27 -08:00
Stephane Peter b4b277e9e5 zstd and openssl are already installed on macOS 2025-12-09 16:31:22 -08:00
Stephane Peter 04c04cb16e Install openssl and zstd in the build workflow, and handle gracefully when they are not available. 2025-12-09 16:28:27 -08:00
Stephane Peter 1a0e92625d Support both encryption and compression modes at the same time. 2025-12-09 16:21:30 -08:00
Stephane Peter 620884701a Use ARM64 for NetBSD 2025-12-09 15:30:25 -08:00
Stephane Peter 1276e5a2d8 Can't use ARM for Alpine yet 2025-12-09 14:00:18 -08:00
Stephane Peter ea335ab322 Run one of the CI jobs on an ARM64 machine 2025-12-09 13:58:18 -08:00
Stephane Peter 38c132ef2f Strip signing password from the output of --info 2025-12-09 13:53:36 -08:00
Vladislav Ermolaev a9d64f31b9 Fix #349: pre-extraction script execution in combination with --notemp
- MS_Preextract uses basename of pre-extraction script to run it
- New test case to verify the fix in test/preextracttest
2025-10-16 20:38:14 -07:00
Alex Boutin 6a29bfb15a feat(variable): Access archive name from script
Adjusted tests

Signed-off-by: Alex Boutin <alex.boutin@proton.me>
2025-09-30 17:10:35 -07:00
Alex Boutin a5fbefce47 feat(variable): Access archive name from script
Export `ARCHIVE_NAME` to give start script access to the name of the archive

Signed-off-by: Alex Boutin <alex.boutin@proton.me>
2025-09-30 17:10:35 -07:00
Stephane Peter 6abf2d818b Fix version number in makeself.1 and makeself.sh 2025-09-29 19:07:32 -07:00
Stephane Peter 55d96ab79d Forgot to update the version file release-2.6.0 2025-09-26 21:10:26 -07:00
Stephane Peter 52569d1619 Update workflows in Actions 2025-09-26 21:00:14 -07:00
Joakim Fors 51e729920a fix: only skip offset
The dd option skip seeks the input stream. An additional count reads the
specified bytes from the input and outputs it. This causes the last bytes
read to be incorrect.
2025-09-26 13:12:03 -07:00
emirbuljubasic a20c7bd68f Output creating directory message to stdout instead of stderr
Signed-off-by: emirbuljubasic <emirbuljubasic329@gmail.com>
2025-06-24 03:19:32 -07:00
Stephane Peter 361995126c Switch back to Rocky Linux 9 2025-04-25 12:48:53 -07:00
Stephane Peter 20a80281b1 Switch to latest rockylinux 2025-04-24 20:58:13 -07:00
Stephane Peter 791aa947a1 Update workflow to use ubicloud-standard-2 2025-04-24 20:36:01 -07:00
Mark Landis cc0164254a Remove negative test
The negative test was written assuming gzip implementations would return
an error code when invalid command line options were used. This is not
always the case: BSD variants of gzip (e.g., FreeBSD, Apple) return
success even when an invalid option is specified.

Since this is out of the control of makeself, and behaviors will differ
widely among the various supported compressors and platforms, it doesn't
make sense to maintain this test. The same behavior is theoretically
possible with 'tar' implementations and the --tar-extra flag.
2025-04-24 15:12:35 -07:00
Mark Landis 84c63eda88 Feature: Allow extra options to compressor
This feature adds a new command line parameter, --comp-extra, which
functions similarly to --tar-extra, in that it allows a user to add
extra parameters to whichever compressor they have chosen to use.

The basis for this feature was to allow passing --no-name to gzip,
as part of a quest to make fully reproducible makeself archives.
2025-04-24 15:12:35 -07:00
Jan Vermaete bccc0e4430 Changed output from stderr to stdout if the checksum is ok.
If something if fine, it should not (IMHO) be on stderr.
This could cause false alarms to users where makeself is embedded into another installer.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
2024-08-22 15:45:39 -07:00
Stephane Peter 3abcd7ae74 Fix correct line for zstd 2024-08-22 15:32:16 -07:00
Stephane Peter fc90e58fe3 zstd is now pre-installed on MacOS actions 2024-08-22 15:28:01 -07:00
Stephane Peter 949b599a5e More compatible base64 handling 2024-08-22 15:25:52 -07:00
OMRON SENTECH affe5e337e Added error handling for environments where the more command does not support the -e option.
In environments where the more command version is 2.35 or lower, the -e option is treated as an error, so if an error occurs, try again without the option.
2024-04-18 03:20:10 -07:00
Mykyta Poberezhniy 271b54a905 bug fix: fix mktemp on macos and escaping backslashes on alpine 2024-03-24 15:49:33 -07:00
Mykyta Poberezhniy c9365dfd0c update readme 2024-03-24 15:49:33 -07:00
mpoberezhniy 958a9e1f5a Add a pre-extract script (#1) 2024-03-24 15:49:33 -07:00
Stephane Peter c101321abf Switch to Ubicloud runners for Alpine and Rocky Linux tests 2024-03-24 14:00:42 -07:00
zero-pytagoras 1e94247c6f adding RockyLinux to build.yml 2024-02-21 02:49:26 -08:00
zero-pytagoras 6b5ff56431 Update makeself.sh
adding `-pbkdf2` to ENCRYPT_CMD and DECRYPT_CMD in order fix the error of `deprecated key derivation used`
2024-02-21 02:49:26 -08:00
Stephane Peter 1f4baba44c Upgraded more actions for Node 20 2024-02-21 02:34:39 -08:00