Commit e48b42a1 authored by Rashad Kanavath's avatar Rashad Kanavath

ENH: upgrade makeself script

the current version is makeself has some issue on running linux
particulary on Ubuntu 14.04. I suspect this is the issue on
test passed (but actually failed) only on linux.

Linux (passed with no output messages):
https://dash.orfeo-toolbox.org/testDetails.php?test=59547315&build=287532
OSX (passed with proper messages):
https://dash.orfeo-toolbox.org/testDetails.php?test=60023362&build=287444

lurking on makeself's bug tracker, it could be a umask issue
https://github.com/megastep/makeself/issues/58
https://github.com/megastep/makeself/commit/842dedfe1a1477237c5132dc3615fcf50dddcc65
https://github.com/megastep/makeself/commit/e75285d90df44fb7bd80a4f727442e784f6e73c5
I am not sure if this is the exact problem and upgrade will fix
issue for us. Because we are not able to reproduce this bug on same
machine executed under same constraints.
Only change is that one is running via crontab and other directly from
terminal.
parent b1605be0
HOW TO UPDATE MAKESELF
#If makEself version with your required bug fix is 2.3.1
# cd to otb/sources/Packaging/
wget https://github.com/megastep/makeself/archive/release-2.3.1.tar.gz
tar xzf release-2.3.1.tar.gz
mv makeself-release-2.3.1 makeself
rm -fr release-2.3.1.tar.gz
run git diff to check if everything is in place and git commit
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
......@@ -16,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
......@@ -56,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
......@@ -111,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
......@@ -169,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
......@@ -226,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
......@@ -256,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
......@@ -278,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
......@@ -292,7 +291,7 @@ convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -304,17 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
......@@ -337,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
This diff is collapsed.
This diff is collapsed.
......@@ -21,6 +21,12 @@ Prints out the makeself version number and exits.
.B -h, --help
Print out help information.
.TP
.B --tar-quietly
Suppress verbose output from the tar command
.TP
.B --quiet
Do not print any messages other than errors
.TP
.B --gzip
Compress using gzip (default if detected).
.TP
......@@ -33,6 +39,12 @@ Compress using pbzip2.
.B --xz
Compress using xz.
.TP
.B --lzo
Compress using lzop.
.TP
.B --lz4
Compress using lz4.
.TP
.B --compress
Compress using the UNIX 'compress' command.
.TP
......@@ -40,7 +52,7 @@ Compress using the UNIX 'compress' command.
Do not compress the data.
.TP
.B --complevel lvl
Specify the compression level for gzip,bzip2,pbzui2 or xz
Specify the compression level for gzip,bzip2,pbzui2,xz,lzo or lz4
.TP
.B --notemp
The archive will create archive_dir in the current directory and
......@@ -81,6 +93,8 @@ Do not create a CRC32 checksum for the archive.
.TP
.B --lsm file
LSM file describing the package.
.B --packaging-date date
Use provided string as the packaging date instead of the current date.
.PD
.SH "AUTHORS"
.LP
......
Begin3
Title: makeself.sh
Version: 2.2.0
Version: 2.3.0
Description: makeself.sh is a shell script that generates a self-extractable
tar.gz archive from a directory. The resulting file appears as a shell
script, and can be launched as is. The archive will then uncompress
......@@ -10,7 +10,7 @@ Description: makeself.sh is a shell script that generates a self-extractable
Keywords: Installation archive tar winzip
Author: Stephane Peter (megastep@megastep.org)
Maintained-by: Stephane Peter (megastep@megastep.org)
Original-site: http://github.com/megastep/makeself
Original-site: http://makeself.io/
Platform: Unix
Copying-policy: GPL
End
This diff is collapsed.
#!/bin/sh
# Grab the Makeself web page
echo The following was generated from http://www.megastep.org/makeself/ > README
echo ----------------------- >> README
echo >> README
lynx -dump http://www.megastep.org/makeself/ >> README
HOWTO UPDATE MAKESELF
#If makEself version with your required bug fix is 2.3.1
# cd to otb/sources/Packaging/
wget https://github.com/megastep/makeself/archive/release-2.3.1.tar.gz
tar xzf release-2.3.1.tar.gz
mv makeself-release-2.3.1 makeself
rm -fr release-2.3.1.tar.gz
run git diff to check if everything is in place and git commit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment