image_optim_pack 0.5.0-x86-openbsd

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.rubocop.yml +79 -0
  4. data/.travis.yml +35 -0
  5. data/CHANGELOG.markdown +210 -0
  6. data/Gemfile +7 -0
  7. data/LICENSE.txt +27 -0
  8. data/Makefile +393 -0
  9. data/README.markdown +93 -0
  10. data/Vagrantfile +60 -0
  11. data/acknowledgements/7z.txt +56 -0
  12. data/acknowledgements/advancecomp.txt +674 -0
  13. data/acknowledgements/bmp2png.txt +8 -0
  14. data/acknowledgements/cexcept.txt +8 -0
  15. data/acknowledgements/gifread.txt +14 -0
  16. data/acknowledgements/gifsicle.txt +343 -0
  17. data/acknowledgements/iqa.txt +30 -0
  18. data/acknowledgements/jhead.txt +12 -0
  19. data/acknowledgements/jpeg-archive.txt +20 -0
  20. data/acknowledgements/jpegoptim.txt +339 -0
  21. data/acknowledgements/libjpeg-turbo.txt +27 -0
  22. data/acknowledgements/libjpeg-x86-simd.txt +17 -0
  23. data/acknowledgements/libjpeg.txt +64 -0
  24. data/acknowledgements/libpng.txt +90 -0
  25. data/acknowledgements/mozjpeg.txt +7 -0
  26. data/acknowledgements/optipng-authors.txt +26 -0
  27. data/acknowledgements/optipng.txt +21 -0
  28. data/acknowledgements/pngcrush.txt +35 -0
  29. data/acknowledgements/pngquant.txt +56 -0
  30. data/acknowledgements/smallfry.txt +13 -0
  31. data/acknowledgements/zlib.txt +34 -0
  32. data/acknowledgements/zopfli-contributors.txt +6 -0
  33. data/acknowledgements/zopfli.txt +201 -0
  34. data/boxes/.gitignore +3 -0
  35. data/boxes/.rubocop.yml +13 -0
  36. data/boxes/Gemfile +11 -0
  37. data/boxes/Rakefile +144 -0
  38. data/boxes/definitions/freebsd-amd64/definition.rb +38 -0
  39. data/boxes/definitions/freebsd-amd64/install.sh +66 -0
  40. data/boxes/definitions/freebsd-i386/definition.rb +38 -0
  41. data/boxes/definitions/freebsd-i386/install.sh +66 -0
  42. data/boxes/definitions/freebsd-postinstall.sh +38 -0
  43. data/boxes/definitions/openbsd-amd64/definition.rb +71 -0
  44. data/boxes/definitions/openbsd-i386/definition.rb +71 -0
  45. data/boxes/definitions/openbsd-postinstall.sh +29 -0
  46. data/image_optim_pack-darwin-x86.gemspec +3 -0
  47. data/image_optim_pack-darwin-x86_64.gemspec +3 -0
  48. data/image_optim_pack-freebsd-amd64.gemspec +3 -0
  49. data/image_optim_pack-freebsd-x86.gemspec +3 -0
  50. data/image_optim_pack-linux-x86.gemspec +3 -0
  51. data/image_optim_pack-linux-x86_64.gemspec +3 -0
  52. data/image_optim_pack-openbsd-x86.gemspec +3 -0
  53. data/image_optim_pack-openbsd-x86_64.gemspec +3 -0
  54. data/image_optim_pack.gemspec +41 -0
  55. data/lib/image_optim/pack.rb +117 -0
  56. data/lib/image_optim_pack.rb +1 -0
  57. data/script/livecheck +116 -0
  58. data/script/run +71 -0
  59. data/script/update_versions +22 -0
  60. data/spec/image_optim/pack_spec.rb +114 -0
  61. data/spec/image_optim_spec.rb +39 -0
  62. data/spec/spec_helper.rb +8 -0
  63. data/vendor/openbsd-i386/advpng +0 -0
  64. data/vendor/openbsd-i386/gifsicle +0 -0
  65. data/vendor/openbsd-i386/jhead +0 -0
  66. data/vendor/openbsd-i386/jpeg-recompress +0 -0
  67. data/vendor/openbsd-i386/jpegoptim +0 -0
  68. data/vendor/openbsd-i386/jpegtran +0 -0
  69. data/vendor/openbsd-i386/libjpeg.so +0 -0
  70. data/vendor/openbsd-i386/libpng.so +0 -0
  71. data/vendor/openbsd-i386/libz.so +0 -0
  72. data/vendor/openbsd-i386/optipng +0 -0
  73. data/vendor/openbsd-i386/pngcrush +0 -0
  74. data/vendor/openbsd-i386/pngquant +0 -0
  75. metadata +182 -0
@@ -0,0 +1,27 @@
1
+ Most of libjpeg-turbo inherits the non-restrictive, BSD-style license used by
2
+ libjpeg (see README.) The TurboJPEG wrapper (both C and Java versions) and
3
+ associated test programs bear a similar license, which is reproduced below:
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ - Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+ - Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+ - Neither the name of the libjpeg-turbo Project nor the names of its
14
+ contributors may be used to endorse or promote products derived from this
15
+ software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
18
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
21
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
+ POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,17 @@
1
+ Copyright (C) 1999-2006, MIYASAKA Masaru.
2
+
3
+ This software is provided 'as-is', without any express or implied
4
+ warranty. In no event will the authors be held liable for any damages
5
+ arising from the use of this software.
6
+
7
+ Permission is granted to anyone to use this software for any purpose,
8
+ including commercial applications, and to alter it and redistribute it
9
+ freely, subject to the following restrictions:
10
+
11
+ 1. The origin of this software must not be misrepresented; you must not
12
+ claim that you wrote the original software. If you use this software
13
+ in a product, an acknowledgment in the product documentation would be
14
+ appreciated but is not required.
15
+ 2. Altered source versions must be plainly marked as such, and must not be
16
+ misrepresented as being the original software.
17
+ 3. This notice may not be removed or altered from any source distribution.
@@ -0,0 +1,64 @@
1
+ In plain English:
2
+
3
+ 1. We don't promise that this software works. (But if you find any bugs,
4
+ please let us know!)
5
+ 2. You can use this software for whatever you want. You don't have to pay us.
6
+ 3. You may not pretend that you wrote this software. If you use it in a
7
+ program, you must acknowledge somewhere in your documentation that
8
+ you've used the IJG code.
9
+
10
+ In legalese:
11
+
12
+ The authors make NO WARRANTY or representation, either express or implied,
13
+ with respect to this software, its quality, accuracy, merchantability, or
14
+ fitness for a particular purpose. This software is provided "AS IS", and you,
15
+ its user, assume the entire risk as to its quality and accuracy.
16
+
17
+ This software is copyright (C) 1991-2014, Thomas G. Lane, Guido Vollbeding.
18
+ All Rights Reserved except as specified below.
19
+
20
+ Permission is hereby granted to use, copy, modify, and distribute this
21
+ software (or portions thereof) for any purpose, without fee, subject to these
22
+ conditions:
23
+ (1) If any part of the source code for this software is distributed, then this
24
+ README file must be included, with this copyright and no-warranty notice
25
+ unaltered; and any additions, deletions, or changes to the original files
26
+ must be clearly indicated in accompanying documentation.
27
+ (2) If only executable code is distributed, then the accompanying
28
+ documentation must state that "this software is based in part on the work of
29
+ the Independent JPEG Group".
30
+ (3) Permission for use of this software is granted only if the user accepts
31
+ full responsibility for any undesirable consequences; the authors accept
32
+ NO LIABILITY for damages of any kind.
33
+
34
+ These conditions apply to any software derived from or based on the IJG code,
35
+ not just to the unmodified library. If you use our work, you ought to
36
+ acknowledge us.
37
+
38
+ Permission is NOT granted for the use of any IJG author's name or company name
39
+ in advertising or publicity relating to this software or products derived from
40
+ it. This software may be referred to only as "the Independent JPEG Group's
41
+ software".
42
+
43
+ We specifically permit and encourage the use of this software as the basis of
44
+ commercial products, provided that all warranty or liability claims are
45
+ assumed by the product vendor.
46
+
47
+
48
+ The Unix configuration script "configure" was produced with GNU Autoconf.
49
+ It is copyright by the Free Software Foundation but is freely distributable.
50
+ The same holds for its supporting scripts (config.guess, config.sub,
51
+ ltmain.sh). Another support script, install-sh, is copyright by X Consortium
52
+ but is also freely distributable.
53
+
54
+ The IJG distribution formerly included code to read and write GIF files.
55
+ To avoid entanglement with the Unisys LZW patent (now expired), GIF reading
56
+ support has been removed altogether, and the GIF writer has been simplified
57
+ to produce "uncompressed GIFs". This technique does not use the LZW
58
+ algorithm; the resulting GIF files are larger than usual, but are readable
59
+ by all standard GIF decoders.
60
+
61
+ We are required to state that
62
+ "The Graphics Interchange Format(c) is the Copyright property of
63
+ CompuServe Incorporated. GIF(sm) is a Service Mark property of
64
+ CompuServe Incorporated."
@@ -0,0 +1,90 @@
1
+ COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
2
+
3
+ If you modify libpng you may insert additional notices immediately following
4
+ this sentence.
5
+
6
+ This code is released under the libpng license.
7
+
8
+ libpng versions 1.2.6, August 15, 2004, through 1.6.13, August 21, 2014, are
9
+ Copyright (c) 2004, 2006-2014 Glenn Randers-Pehrson, and are
10
+ distributed according to the same disclaimer and license as libpng-1.2.5
11
+ with the following individual added to the list of Contributing Authors:
12
+
13
+ Cosmin Truta
14
+
15
+ libpng versions 1.0.7, July 1, 2000, through 1.2.5, October 3, 2002, are
16
+ Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are
17
+ distributed according to the same disclaimer and license as libpng-1.0.6
18
+ with the following individuals added to the list of Contributing Authors:
19
+
20
+ Simon-Pierre Cadieux
21
+ Eric S. Raymond
22
+ Gilles Vollant
23
+
24
+ and with the following additions to the disclaimer:
25
+
26
+ There is no warranty against interference with your enjoyment of the
27
+ library or against infringement. There is no warranty that our
28
+ efforts or the library will fulfill any of your particular purposes
29
+ or needs. This library is provided with all faults, and the entire
30
+ risk of satisfactory quality, performance, accuracy, and effort is with
31
+ the user.
32
+
33
+ libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
34
+ Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson, and are
35
+ distributed according to the same disclaimer and license as libpng-0.96,
36
+ with the following individuals added to the list of Contributing Authors:
37
+
38
+ Tom Lane
39
+ Glenn Randers-Pehrson
40
+ Willem van Schaik
41
+
42
+ libpng versions 0.89, June 1996, through 0.96, May 1997, are
43
+ Copyright (c) 1996, 1997 Andreas Dilger
44
+ Distributed according to the same disclaimer and license as libpng-0.88,
45
+ with the following individuals added to the list of Contributing Authors:
46
+
47
+ John Bowler
48
+ Kevin Bracey
49
+ Sam Bushell
50
+ Magnus Holmgren
51
+ Greg Roelofs
52
+ Tom Tanner
53
+
54
+ libpng versions 0.5, May 1995, through 0.88, January 1996, are
55
+ Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
56
+
57
+ For the purposes of this copyright and license, "Contributing Authors"
58
+ is defined as the following set of individuals:
59
+
60
+ Andreas Dilger
61
+ Dave Martindale
62
+ Guy Eric Schalnat
63
+ Paul Schmidt
64
+ Tim Wegner
65
+
66
+ The PNG Reference Library is supplied "AS IS". The Contributing Authors
67
+ and Group 42, Inc. disclaim all warranties, expressed or implied,
68
+ including, without limitation, the warranties of merchantability and of
69
+ fitness for any purpose. The Contributing Authors and Group 42, Inc.
70
+ assume no liability for direct, indirect, incidental, special, exemplary,
71
+ or consequential damages, which may result from the use of the PNG
72
+ Reference Library, even if advised of the possibility of such damage.
73
+
74
+ Permission is hereby granted to use, copy, modify, and distribute this
75
+ source code, or portions hereof, for any purpose, without fee, subject
76
+ to the following restrictions:
77
+
78
+ 1. The origin of this source code must not be misrepresented.
79
+
80
+ 2. Altered versions must be plainly marked as such and must not
81
+ be misrepresented as being the original source.
82
+
83
+ 3. This Copyright notice may not be removed or altered from
84
+ any source or altered source distribution.
85
+
86
+ The Contributing Authors and Group 42, Inc. specifically permit, without
87
+ fee, and encourage the use of this source code as a component to
88
+ supporting the PNG file format in commercial products. If you use this
89
+ source code in a product, acknowledgment is not required but would be
90
+ appreciated.
@@ -0,0 +1,7 @@
1
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
2
+
3
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
4
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
5
+ * Neither the name of the libmozjpeg Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
6
+
7
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS", AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,26 @@
1
+ # OptiPNG version 0.7.5
2
+ # Copyright (C) 2001-2014 Cosmin Truta and the Contributing Authors.
3
+ # See the accompanying LICENSE file for details.
4
+ #
5
+ # A Contributing Author is a person or company who contributed code that
6
+ # is now part of OptiPNG.
7
+ #
8
+ # For the purpose of copyright and licensing, this is the official list
9
+ # of Contributing Authors, in alphabetic order.
10
+
11
+ Adam Ciarcinski
12
+ Brian McQuade
13
+ Elias Pipping
14
+ Fabien Barbier
15
+ Maciej Pilichowski
16
+ Matthew Fearnley
17
+ Nelson A. de Oliveira
18
+ Niels de Koning
19
+ Oliver Schneider
20
+ Petr Gajdos
21
+ Piotr Bandurski
22
+ Ramona C. Truta
23
+ Sebastian Pipping
24
+ Stefan Brüns
25
+ Till Maas
26
+ Ville Skyttä
@@ -0,0 +1,21 @@
1
+ Copyright (C) 2001-2014 Cosmin Truta and the Contributing Authors.
2
+ For the purpose of copyright and licensing, the list of Contributing
3
+ Authors is available in the accompanying AUTHORS file.
4
+
5
+ This software is provided 'as-is', without any express or implied
6
+ warranty. In no event will the author(s) be held liable for any damages
7
+ arising from the use of this software.
8
+
9
+ Permission is granted to anyone to use this software for any purpose,
10
+ including commercial applications, and to alter it and redistribute it
11
+ freely, subject to the following restrictions:
12
+
13
+ 1. The origin of this software must not be misrepresented; you must not
14
+ claim that you wrote the original software. If you use this software
15
+ in a product, an acknowledgment in the product documentation would be
16
+ appreciated but is not required.
17
+
18
+ 2. Altered source versions must be plainly marked as such, and must not
19
+ be misrepresented as being the original software.
20
+
21
+ 3. This notice may not be removed or altered from any source distribution.
@@ -0,0 +1,35 @@
1
+ COPYRIGHT:
2
+
3
+ Copyright (C) 1998-2002, 2006-2014 Glenn Randers-Pehrson
4
+ (glennrp at users.sf.net)
5
+ Portions copyright (C) 2005 Greg Roelofs
6
+
7
+ DISCLAIMERS:
8
+
9
+ The pngcrush computer program is supplied "AS IS". The Author disclaims all
10
+ warranties, expressed or implied, including, without limitation, the
11
+ warranties of merchantability and of fitness for any purpose. The
12
+ Author assumes no liability for direct, indirect, incidental, special,
13
+ exemplary, or consequential damages, which may result from the use of
14
+ the computer program, even if advised of the possibility of such damage.
15
+ There is no warranty against interference with your enjoyment of the
16
+ computer program or against infringement. There is no warranty that my
17
+ efforts or the computer program will fulfill any of your particular purposes
18
+ or needs. This computer program is provided with all faults, and the entire
19
+ risk of satisfactory quality, performance, accuracy, and effort is with
20
+ the user.
21
+
22
+ LICENSE:
23
+
24
+ Permission is hereby irrevocably granted to everyone to use, copy, modify,
25
+ and distribute this source code, or portions hereof, or executable programs
26
+ compiled from it, for any purpose, without payment of any fee, subject to
27
+ the following restrictions:
28
+
29
+ 1. The origin of this source code must not be misrepresented.
30
+
31
+ 2. Altered versions must be plainly marked as such and must not be
32
+ misrepresented as being the original source.
33
+
34
+ 3. This Copyright notice, disclaimer, and license may not be removed
35
+ or altered from any source or altered source distribution.
@@ -0,0 +1,56 @@
1
+ The quantization and dithering code in pngquant is lifted from Jef Poskanzer's
2
+ 'ppmquant', part of his wonderful PBMPLUS tool suite.
3
+
4
+ Greg Roelofs hacked it into a (in his words) "slightly cheesy" 'pamquant' back
5
+ in 1997 (see http://pobox.com/~newt/greg_rgba.html) and finally he ripped out
6
+ the cheesy file-I/O parts and replaced them with nice PNG code in December
7
+ 2000. The PNG reading and writing code is a merged and slightly simplified
8
+ version of readpng, readpng2, and writepng from his book "PNG: The Definitive
9
+ Guide."
10
+ In 2014 Greg has relicensed the code under the simplified BSD license.
11
+
12
+ Note that both licenses are basically BSD-like; that is, use the code however
13
+ you like, as long as you acknowledge its origins.
14
+
15
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
16
+
17
+ pngquant.c:
18
+
19
+ © 1989, 1991 by Jef Poskanzer.
20
+
21
+ Permission to use, copy, modify, and distribute this software and its
22
+ documentation for any purpose and without fee is hereby granted, provided
23
+ that the above copyright notice appear in all copies and that both that
24
+ copyright notice and this permission notice appear in supporting
25
+ documentation. This software is provided "as is" without express or
26
+ implied warranty.
27
+
28
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
29
+
30
+ pngquant.c and rwpng.c/h:
31
+
32
+ © 1997-2002 by Greg Roelofs; based on an idea by Stefan Schneider.
33
+ © 2009-2014 by Kornel Lesiński.
34
+
35
+ All rights reserved.
36
+
37
+ Redistribution and use in source and binary forms, with or without modification,
38
+ are permitted provided that the following conditions are met:
39
+
40
+ 1. Redistributions of source code must retain the above copyright notice,
41
+ this list of conditions and the following disclaimer.
42
+
43
+ 2. Redistributions in binary form must reproduce the above copyright notice,
44
+ this list of conditions and the following disclaimer in the documentation
45
+ and/or other materials provided with the distribution.
46
+
47
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
48
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
49
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
50
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
51
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
52
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
53
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
54
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
55
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
56
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2014, Derek Buitenhuis
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,34 @@
1
+ Acknowledgments:
2
+
3
+ The deflate format used by zlib was defined by Phil Katz. The deflate and
4
+ zlib specifications were written by L. Peter Deutsch. Thanks to all the
5
+ people who reported problems and suggested various improvements in zlib; they
6
+ are too numerous to cite here.
7
+
8
+ Copyright notice:
9
+
10
+ (C) 1995-2013 Jean-loup Gailly and Mark Adler
11
+
12
+ This software is provided 'as-is', without any express or implied
13
+ warranty. In no event will the authors be held liable for any damages
14
+ arising from the use of this software.
15
+
16
+ Permission is granted to anyone to use this software for any purpose,
17
+ including commercial applications, and to alter it and redistribute it
18
+ freely, subject to the following restrictions:
19
+
20
+ 1. The origin of this software must not be misrepresented; you must not
21
+ claim that you wrote the original software. If you use this software
22
+ in a product, an acknowledgment in the product documentation would be
23
+ appreciated but is not required.
24
+ 2. Altered source versions must be plainly marked as such, and must not be
25
+ misrepresented as being the original software.
26
+ 3. This notice may not be removed or altered from any source distribution.
27
+
28
+ Jean-loup Gailly Mark Adler
29
+ jloup@gzip.org madler@alumni.caltech.edu
30
+
31
+ If you use the zlib library in a product, we would appreciate *not* receiving
32
+ lengthy legal documents to sign. The sources are provided for free but without
33
+ warranty of any kind. The library has been entirely written by Jean-loup
34
+ Gailly and Mark Adler; it does not include third-party code.
@@ -0,0 +1,6 @@
1
+ Mark Adler
2
+ Jyrki Alakuijala
3
+ Daniel Reed
4
+ Huzaifa Sidhpurwala
5
+ Péter Szabó
6
+ Lode Vandevenne
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2011 Google Inc.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.