Commit Graph

473 Commits

Author SHA1 Message Date
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
Stephane Peter 5f79d74a91 Updated test actions versions 2024-02-21 02:27:32 -08:00
Stephane Peter c418cad997 Fix for NetBSD tests, revert Solaris VM to using macOS 2023-11-22 02:24:58 -08:00
Stephane Peter bb4e871ccb Fix OpenBSD package install 2023-11-22 02:15:39 -08:00
Stephane Peter 87f1c8232f Updated Github actions 2023-11-22 02:06:10 -08:00
Stephane Peter 096ca3e54f Upgrade FreeBSD VM actions for CI 2023-11-06 13:56:27 -08:00
the-real-neil 9414c66538 fix #318: document and test SETUP_NOCHECK (#319) 2023-11-06 13:53:04 -08:00
OMRON SENTECH 98b312a332 Add -e to PAGER options. (#317)
Added option -e to exit automatically after displaying licenses in more.
2023-11-05 20:21:00 -08:00
Peter Whittaker 7ed7219157 Move "--target dir" to after the "--tar-extra" example (#313) 2023-08-29 13:30:11 -07:00
Stas Fomin 263bd2ef7d add description of makeself option «target» (#307)
* add description of option target, see https://github.com/megastep/makeself/issues/306#issuecomment-1547649366

* https://github.com/megastep/makeself/pull/307#issuecomment-1548630300
2023-05-16 00:55:44 -07:00