|
1 | 1 | #!/bin/sh |
2 | 2 | # |
3 | | -# Makeself version 2.4.x |
| 3 | +# Makeself version 2.5.x |
4 | 4 | # by Stephane Peter <megastep@megastep.org> |
5 | 5 | # |
6 | 6 | # Utility to create self-extracting tar.gz archives. |
7 | 7 | # The resulting archive is a file holding the tar.gz archive with |
8 | 8 | # a small Shell script stub that uncompresses the archive to a temporary |
9 | 9 | # directory and then executes a given script from withing that directory. |
10 | 10 | # |
11 | | -# Makeself home page: https://makeself.io/ |
| 11 | +# Makeself home page: https://makeself.io/ - Version history available on GitHub |
12 | 12 | # |
13 | | -# Version 2.0 is a rewrite of version 1.0 to make the code easier to read and maintain. |
14 | | -# |
15 | | -# Version history : |
16 | | -# - 1.0 : Initial public release |
17 | | -# - 1.1 : The archive can be passed parameters that will be passed on to |
18 | | -# the embedded script, thanks to John C. Quillan |
19 | | -# - 1.2 : Package distribution, bzip2 compression, more command line options, |
20 | | -# support for non-temporary archives. Ideas thanks to Francois Petitjean |
21 | | -# - 1.3 : More patches from Bjarni R. Einarsson and Francois Petitjean: |
22 | | -# Support for no compression (--nocomp), script is no longer mandatory, |
23 | | -# automatic launch in an xterm, optional verbose output, and -target |
24 | | -# archive option to indicate where to extract the files. |
25 | | -# - 1.4 : Improved UNIX compatibility (Francois Petitjean) |
26 | | -# Automatic integrity checking, support of LSM files (Francois Petitjean) |
27 | | -# - 1.5 : Many bugfixes. Optionally disable xterm spawning. |
28 | | -# - 1.5.1 : More bugfixes, added archive options -list and -check. |
29 | | -# - 1.5.2 : Cosmetic changes to inform the user of what's going on with big |
30 | | -# archives (Quake III demo) |
31 | | -# - 1.5.3 : Check for validity of the DISPLAY variable before launching an xterm. |
32 | | -# More verbosity in xterms and check for embedded command's return value. |
33 | | -# Bugfix for Debian 2.0 systems that have a different "print" command. |
34 | | -# - 1.5.4 : Many bugfixes. Print out a message if the extraction failed. |
35 | | -# - 1.5.5 : More bugfixes. Added support for SETUP_NOCHECK environment variable to |
36 | | -# bypass checksum verification of archives. |
37 | | -# - 1.6.0 : Compute MD5 checksums with the md5sum command (patch from Ryan Gordon) |
38 | | -# - 2.0 : Brand new rewrite, cleaner architecture, separated header and UNIX ports. |
39 | | -# - 2.0.1 : Added --copy |
40 | | -# - 2.1.0 : Allow multiple tarballs to be stored in one archive, and incremental updates. |
41 | | -# Added --nochown for archives |
42 | | -# Stopped doing redundant checksums when not necesary |
43 | | -# - 2.1.1 : Work around insane behavior from certain Linux distros with no 'uncompress' command |
44 | | -# Cleaned up the code to handle error codes from compress. Simplified the extraction code. |
45 | | -# - 2.1.2 : Some bug fixes. Use head -n to avoid problems. |
46 | | -# - 2.1.3 : Bug fixes with command line when spawning terminals. |
47 | | -# Added --tar for archives, allowing to give arbitrary arguments to tar on the contents of the archive. |
48 | | -# Added --noexec to prevent execution of embedded scripts. |
49 | | -# Added --nomd5 and --nocrc to avoid creating checksums in archives. |
50 | | -# Added command used to create the archive in --info output. |
51 | | -# Run the embedded script through eval. |
52 | | -# - 2.1.4 : Fixed --info output. |
53 | | -# Generate random directory name when extracting files to . to avoid problems. (Jason Trent) |
54 | | -# Better handling of errors with wrong permissions for the directory containing the files. (Jason Trent) |
55 | | -# Avoid some race conditions (Ludwig Nussel) |
56 | | -# Unset the $CDPATH variable to avoid problems if it is set. (Debian) |
57 | | -# Better handling of dot files in the archive directory. |
58 | | -# - 2.1.5 : Made the md5sum detection consistent with the header code. |
59 | | -# Check for the presence of the archive directory |
60 | | -# Added --encrypt for symmetric encryption through gpg (Eric Windisch) |
61 | | -# Added support for the digest command on Solaris 10 for MD5 checksums |
62 | | -# Check for available disk space before extracting to the target directory (Andreas Schweitzer) |
63 | | -# Allow extraction to run asynchronously (patch by Peter Hatch) |
64 | | -# Use file descriptors internally to avoid error messages (patch by Kay Tiong Khoo) |
65 | | -# - 2.1.6 : Replaced one dot per file progress with a realtime progress percentage and a spining cursor (Guy Baconniere) |
66 | | -# Added --noprogress to prevent showing the progress during the decompression (Guy Baconniere) |
67 | | -# Added --target dir to allow extracting directly to a target directory (Guy Baconniere) |
68 | | -# - 2.2.0 : Many bugfixes, updates and contributions from users. Check out the project page on Github for the details. |
69 | | -# - 2.3.0 : Option to specify packaging date to enable byte-for-byte reproducibility. (Marc Pawlowsky) |
70 | | -# - 2.4.0 : Optional support for SHA256 checksums in archives. |
71 | | -# - 2.4.2 : Add support for threads for several compressors. (M. Limber) |
72 | | -# Added zstd support. |
73 | | -# - 2.4.3 : Make explicit POSIX tar archives for increased compatibility. |
74 | | -# - 2.4.5 : Added --tar-format to override ustar tar archive format |
75 | | -# |
76 | | -# (C) 1998-2021 by Stephane Peter <megastep@megastep.org> |
| 13 | +# (C) 1998-2023 by Stephane Peter <megastep@megastep.org> |
77 | 14 | # |
78 | 15 | # This software is released under the terms of the GNU GPL version 2 and above |
79 | 16 | # Please read the license at http://www.gnu.org/copyleft/gpl.html |
80 | 17 | # Self-extracting archives created with this script are explictly NOT released under the term of the GPL |
81 | 18 | # |
82 | 19 |
|
83 | | -MS_VERSION=2.4.5 |
| 20 | +MS_VERSION=2.5.0 |
84 | 21 | MS_COMMAND="$0" |
85 | 22 | unset CDPATH |
86 | 23 |
|
|
0 commit comments