debian/0000755000000000000000000000000012250665205007171 5ustar debian/libgif-dev.docs0000644000000000000000000000003012250657264012052 0ustar AUTHORS NEWS ONEWS TODO debian/giflib-dbg.docs0000644000000000000000000000003012250657264012030 0ustar AUTHORS NEWS ONEWS TODO debian/rules0000755000000000000000000000117312250657264010261 0ustar #!/usr/bin/make -f %: dh ${@} --with autoreconf override_dh_auto_install: dh_auto_install # Installing additional documentation mkdir -p debian/giflib-tools/usr/share/doc/giflib-tools/html cp -a doc/*.txt debian/giflib-tools/usr/share/doc/giflib-tools/ cp -a doc/*.html debian/giflib-tools/usr/share/doc/giflib-tools/html # Creating manpages "on the fly" for i in `ls debian/tmp/usr/bin`; do \ if [ ! -e debian/$$i.1 ]; then \ sed -f debian/htmltoman.sed doc/$$i.html > debian/$$i.1 && \ echo debian/$$i.1 >> debian/giflib-tools.manpages; \ fi \ done override_dh_strip: dh_strip --dbg-package=giflib-dbg debian/source/0000755000000000000000000000000012250657264010477 5ustar debian/source/format0000644000000000000000000000001412250657264011705 0ustar 3.0 (quilt) debian/control0000644000000000000000000000330712250657264010605 0ustar Source: giflib Section: libs Priority: optional Maintainer: Thibaut Gridel Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf Standards-Version: 3.9.4 Homepage: http://giflib.sourceforge.net/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/giflib.git;a=shortlog;h=refs/heads/debian Vcs-Git: git://anonscm.debian.org/collab-maint/giflib.git -b debian Package: giflib-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, giflib-tools (= ${binary:Version}), libgif4 (= ${binary:Version}), libgif-dev (= ${binary:Version}) Description: library for GIF images (debug) GIFLIB is a package of portable tools and library routines for working with GIF images. . This package contains the debugging symbols. Package: giflib-tools Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libperl4-corelibs-perl | perl (<< 5.12.3-7) Provides: libungif-bin Description: library for GIF images (utilities) GIFLIB is a package of portable tools and library routines for working with GIF images. . This package contains additional utilities. Package: libgif4 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: library for GIF images (library) GIFLIB is a package of portable tools and library routines for working with GIF images. . This package contains the library. Package: libgif-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libgif4 (= ${binary:Version}) Description: library for GIF images (development) GIFLIB is a package of portable tools and library routines for working with GIF images. . This package contains the development files. debian/libgif-dev.links0000644000000000000000000000017612250657264012255 0ustar /usr/lib/libgif.a /usr/lib/libungif.a /usr/lib/libgif.la /usr/lib/libungif.la /usr/lib/libgif.so.4.1.6 /usr/lib/libungif.so debian/libgif-dev.install0000644000000000000000000000005612250657264012600 0ustar /usr/include/* /usr/lib/*/*.a /usr/lib/*/*.so debian/libgif4.install0000644000000000000000000000002212250657264012101 0ustar /usr/lib/*/*.so.* debian/libgif4.docs0000644000000000000000000000003012250657264011362 0ustar AUTHORS NEWS ONEWS TODO debian/gifinfo.10000644000000000000000000000111112250657264010674 0ustar .\" Process this file with .\" groff -man -Tascii foo.1 .\" .TH gifinfo 1 "giflib\-tools" .SH NAME gifinfo \- Program to display information (size and comments) in GIF file .SH USAGE .B gifinfo [\-f Format] [\-h] GifFile .SH OPTIONS .IP "[\-f format]" Format of the output string. Fields are \\h \(hy height, \\w \(hy width, \\c \(hy comment, \\f \(hy file name. Example: \-f 'Image \\f:\\n Size: \\wx\\h\\n Comment: \\c\\n' .IP [\-h] Print one line of command line help, similar to Usage above. .SH AUTHOR Martin Edlman Man page created by T. Gridel debian/giflib-tools.manpages0000644000000000000000000000002112250657264013277 0ustar debian/gifinfo.1 debian/libgif4.symbols0000644000000000000000000000311312250657264012127 0ustar libgif.so.4 libgif4 #MINVER# AddExtensionBlock@Base 4.1.4 ApplyTranslation@Base 4.1.4 AsciiTable@Base 4.1.4 BitSize@Base 4.1.4 DGifCloseFile@Base 4.1.4 DGifGetCode@Base 4.1.4 DGifGetCodeNext@Base 4.1.4 DGifGetExtension@Base 4.1.4 DGifGetExtensionNext@Base 4.1.4 DGifGetImageDesc@Base 4.1.4 DGifGetLZCodes@Base 4.1.4 DGifGetLine@Base 4.1.4 DGifGetPixel@Base 4.1.4 DGifGetRecordType@Base 4.1.4 DGifGetScreenDesc@Base 4.1.4 DGifOpen@Base 4.1.4 DGifOpenFileHandle@Base 4.1.4 DGifOpenFileName@Base 4.1.4 DGifSlurp@Base 4.1.4 DrawBox@Base 4.1.4 DrawBoxedText@Base 4.1.4 DrawRectangle@Base 4.1.4 DrawText@Base 4.1.4 DumpScreen2Gif@Base 4.1.4 EGifCloseFile@Base 4.1.4 EGifOpen@Base 4.1.4 EGifOpenFileHandle@Base 4.1.4 EGifOpenFileName@Base 4.1.4 EGifPutCode@Base 4.1.4 EGifPutCodeNext@Base 4.1.4 EGifPutComment@Base 4.1.4 EGifPutExtension@Base 4.1.4 EGifPutExtensionFirst@Base 4.1.4 EGifPutExtensionLast@Base 4.1.4 EGifPutExtensionNext@Base 4.1.4 EGifPutImageDesc@Base 4.1.4 EGifPutLine@Base 4.1.4 EGifPutPixel@Base 4.1.4 EGifPutScreenDesc@Base 4.1.4 EGifSetGifVersion@Base 4.1.4 EGifSpew@Base 4.1.4 FreeExtension@Base 4.1.4 FreeLastSavedImage@Base 4.1.4 FreeMapObject@Base 4.1.4 FreeSavedImages@Base 4.1.4 GifLastError@Base 4.1.4 GifQprintf@Base 4.1.4 GifQuietPrint@Base 4.1.4 MakeExtension@Base 4.1.4 MakeMapObject@Base 4.1.4 MakeSavedImage@Base 4.1.4 PrintGifError@Base 4.1.4 QuantizeBuffer@Base 4.1.4 UnionColorMap@Base 4.1.4 _ClearHashTable@Base 4.1.4 _ExistsHashTable@Base 4.1.4 _GifError@Base 4.1.4 _InitHashTable@Base 4.1.4 _InsertHashTable@Base 4.1.4 debian/libgif4.shlibs0000644000000000000000000000003412250657264011722 0ustar libgif 4 libgif4 (>= 4.1.6) debian/htmltoman.sed0000644000000000000000000000165212250657264011703 0ustar /doctype/ { N N s/.*/.\\" Process this file with\ .\\" groff -man -Tascii foo.1\ .\\"/ } s/\(.*\)/.TH \1 1 "giflib-tools"/g /link/d /<BODY>/ { N N d } /<CENTER><H1>/ { N s/\n/ - / } s/<CENTER><H1>/.SH NAME\ / /<OL>/d /<LI>/ { N s/<LI>\n\(.*\)/ - \1/g } s/<H1>/.SH /g s/Usage:/USAGE/g s/Memory required:/MEMORY REQUIRED/g s/Options:/OPTIONS/ s/Interactive mode:/INTERACTIVE MODE/g s/Notes:/NOTES/g s/Bugs:/BUGS/g s/Author:/AUTHOR/g s/<CENTER><H2>/.SH /g /<pre>/ { N s/<pre>\n\(.*\)/.B \1/g } /<DL>/d s/<DT> *\([^ ]*\)$/.IP \1/g s/<DT> *\(.*\)$/.IP "\1/g s/<DD>/\ /g s/ +/ /g s/^[ ]*//g s/<ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com>/Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com>/g s/<\/.*>//g s/<CODE>//g s/<P>//g s/<p>//g s/<em>//g s/<UL>//g s/<HR>//g s/-/\\-/g s/</</g s/>/>/g s/"/""/g ��������������������������������������������������������������������������������������debian/watch����������������������������������������������������������������������������������������0000644�0000000�0000000�00000000330�12250657264�010224� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������version=3 opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ http://sf.net/giflib/giflib-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/changelog������������������������������������������������������������������������������������0000644�0000000�0000000�00000020415�12250657264�011053� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������giflib (4.1.6-11) unstable; urgency=low * Remove Provides: libungif4g. * Enable Multiarch (Closes: #647497). * depend on dh-autoreconf. * Update to debhelper 9 and bump Standards to 3.9.4. * Honor the LAFileRemoval goal. * Update git links. -- Thibaut Gridel <tgridel@free.fr> Sat, 07 Dec 2013 18:40:27 +0100 giflib (4.1.6-10) unstable; urgency=low * Fixing fprintf issues by YunQiang Su. * Hardening build flags (Closes: #673660). * Updating Standards (no change). -- Thibaut Gridel <tgridel@free.fr> Fri, 19 Oct 2012 23:03:46 +0200 giflib (4.1.6-9.1) unstable; urgency=low * Non-maintainer upload. * Depend on libperl4-corelibs-perl (Closes: #659421) -- Dominic Hargreaves <dom@earth.li> Sat, 28 Apr 2012 17:29:52 +0100 giflib (4.1.6-9) unstable; urgency=low * New Maintainer (Closes: #543841) * Adding watch file (Closes: #453530) * Converting to source package "3.0 (quilt)". * Correcting debhelper version dependency. * Adding Vcs fields. * Adding manpages. * Removing duplicate Section field. * Correctly hyphenate man pages. * Fixing spelling typos. * Adding symbols file. * Autoreconfiguring to fix rpath. * Cleaning what autoreconf did. * Registering html documentation. -- Thibaut GRIDEL <tgridel@free.fr> Wed, 13 Jan 2010 21:22:00 +0100 giflib (4.1.6-8) unstable; urgency=low * Updating package to standards version 3.8.3. * Removing vcs fields. * Orphaning package. -- Daniel Baumann <daniel@debian.org> Thu, 27 Aug 2009 07:25:21 +0200 giflib (4.1.6-7) unstable; urgency=low * Replacing obsolete dh_clean -k with dh_prep. * Updating section of the debug package. * Using quilt rather than dpatch. * Using correct rfc-2822 date formats in changelog. * Updating package to standards version 3.8.2. * Removing old transitional packages. * Adding misc depends to debug and development package. * Updating year in copyright file. * Minimizing rules file. -- Daniel Baumann <daniel@debian.org> Mon, 27 Jul 2009 13:12:16 +0200 giflib (4.1.6-6) unstable; urgency=low * Updating vcs fields in control file. * Using patch-stamp rather than patch in rules file. * Removing config.guess and config.sub in clean target of rules. * Passing '--disable-x11' to configure call to ensure that giflib is not linked against X11 libs by accident (Closes: #503836). -- Daniel Baumann <daniel@debian.org> Tue, 28 Oct 2008 21:57:00 +0100 giflib (4.1.6-5) unstable; urgency=low * Correcting mistake of having libungif4-dev transitional package arch dependent. * Also adding libgif.so.4.1 symlink. * Using links debhelper to create symlinks. * Reordering rules file (Closes: #488586). * Rewriting copyright file in machine-interpretable format. * Adding vcs fields in control file. * Upgrading package to standards .8.0. * Upgrading package to debhelper 7. * Reverting config.guess and config.sub to upstream. -- Daniel Baumann <daniel@debian.org> Wed, 16 Jul 2008 12:06:00 +0200 giflib (4.1.6-4) unstable; urgency=high * Adding patch from libungif to fix CVE-2005-2974 and CVE-2005-3350. * Updating upstream homepage (Closes: #469561). -- Daniel Baumann <daniel@debian.org> Fri, 07 Mar 2008 14:40:00 +0100 giflib (4.1.6-3) unstable; urgency=high * Adding transitional packages to kick libungif out of the archive by force. * Removing watch file (Closes: #453592). -- Daniel Baumann <daniel@debian.org> Wed, 06 Feb 2008 23:22:00 +0100 giflib (4.1.6-2) unstable; urgency=low * Adding legacy links for libungif4g/libungif4-dev. -- Daniel Baumann <daniel@debian.org> Thu, 17 Jan 2008 20:02:00 +0100 giflib (4.1.6-1) unstable; urgency=low * New upstream release. * Bumped package to new policy. * Using new homepage field in control. * Don't hide make errors in clean target of rules. * Added --fail-missing to dh_install call. * Updated conficts/replaces/provides to initiate libungif4 to libgif4 transition. -- Daniel Baumann <daniel@debian.org> Thu, 17 Jan 2008 18:34:00 +0100 giflib (4.1.4-2) unstable; urgency=low * Minor cleanups. -- Daniel Baumann <daniel@debian.org> Fri, 19 Jan 2007 14:14:00 +0100 giflib (4.1.4-1) unstable; urgency=low * Took over package from Pawel. * New upstream release (Closes: #395388): - This is giflib 4.x, replacing giflib 3.x. No package in the archive has to be transitioned. After etch, giflib will replace libungif (all alleged patents are expired all over the world). - doesn't contain gif2x11 (Closes: #328665) - isn't affected by CVE-2005-2974 and CVE-2005-3350 (Closes: #395382). * Redone debian directory based on current debhelper templates, additionally: - added watch file. - added debug package. -- Daniel Baumann <daniel@debian.org> Thu, 02 Nov 2006 20:39:00 +0100 giflib (3.0-12) unstable; urgency=low * Applied patch from Dann Frazier <dannf@hp.com> to fix problems on 64-bit archs (closes: #325034) * Updated standards-version (no changes required) -- Pawel Wiecek <coven@debian.org> Thu, 22 Sep 2005 21:15:00 +0200 giflib (3.0-11) unstable; urgency=low * Updated copyright file by removing warning saying it cannot by put on CDs, removed patent-related notes from long descriptions in control as well (should have done that in -10, but forgot). -- Pawel Wiecek <coven@debian.org> Thu, 19 Aug 2004 00:43:34 +0200 giflib (3.0-10) unstable; urgency=low * Moved to main because of LZW's patent expiration (at long last!) (closes: #258465) * Fixed build-dependencies (closes: #262405) -- Pawel Wiecek <coven@debian.org> Tue, 17 Aug 2004 22:09:18 +0200 giflib (3.0-9) unstable; urgency=low * Renamed getarg.h to gagetarg.h, to avoid name clashes (closes: #83331) * Updated standards version (no changes) -- Pawel Wiecek <coven@debian.org> Mon, 19 Jan 2004 22:47:34 +0100 giflib (3.0-8) unstable; urgency=low * Applied patch from John Lightsey <john@nixnuts.net> to fix transparency problems (closes: #20716) * Documented the fact, that giflib cannot be put on CD-ROMs (closes: #24580) * Applied patch from John Lightsey <john@nixnuts.net> to fix gifinto's behavior when no arguments are supplied (closes: #49431) * giflib3g-dev now conflicts with heimdal-dev (closes: #83331, #180265) * Updated standards version * Updated sections (giflib3g-dev goes to non-free/libdevel, giflib3g-bin goes to non-free/utils) -- Pawel Wiecek <coven@debian.org> Wed, 18 Jun 2003 13:54:09 +0200 giflib (3.0-7) unstable; urgency=low * New maintainer (closes: #139387) * Upgraded to current standards version (closes: #133331) -- Pawel Wiecek <coven@debian.org> Tue, 09 Apr 2002 14:22:35 +0200 giflib (3.0-6) unstable; urgency=low * Move docs and man pages to /usr/share (Closes: #91165, #91479, #91480, #91482) -- Larry Daffner <vizzie@airmail.net> Tue, 27 Mar 2001 21:33:02 -0600 giflib (3.0-5.2) unstable; urgency=low * Redid debian/rules to use debhelper. * Added symlinks so giflib can be used with packages compiled with libungif. * Added shlibs control file so that packages compiled with giflib can also be used with libungif. -- Jim Pick <jim@jimpick.com> Sun, 05 Jul 1998 22:46:51 -0700 giflib (3.0-5.1) unstable frozen; urgency=low * Corrected bogus hardwired dependency on libc6. -- Michael Alan Dorman <mdorman@debian.org> Sun, 10 May 1998 11:31:47 -0500 giflib (3.0-5) unstable frozen; urgency=low * Fixed copyright location(s) * new maintainer address -- Larry Daffner <vizzie@airmail.net> Tue, 24 Mar 1998 11:31:47 -0600 giflib (3.0-4.1) unstable; urgency=low * libc6 release for hamm. -- Andreas Jellinghaus <aj@dungeon.inka.de> Sat, 18 Oct 1997 12:25:32 +0200 giflib (3.0-4) unstable; urgency=low * renamed binaries to giflib* to bring them in sync with source name. -- Andreas Jellinghaus <aj@dungeon.inka.de> Mon, 29 Sep 1997 18:11:22 +0200 giflib (3.0-3) unstable; urgency=low * fixed shared library. now link all bins with shared library. -- Andreas Jellinghaus <aj@dungeon.inka.de> Wed, 24 Sep 1997 19:14:48 +0200 giflib (3.0-2) unstable; urgency=low * added -D_REENTRANT and -lc to cflags/ldflags for glibc2. -- Andreas Jellinghaus <aj@dungeon.inka.de> Thu, 18 Sep 1997 14:26:06 +0200 giflib (3.0-1) unstable; urgency=low * Initial Release. -- Andreas Jellinghaus <aj@dungeon.inka.de> Thu, 18 Sep 1997 11:31:18 +0200 ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/giflib-tools.docs����������������������������������������������������������������������������0000644�0000000�0000000�00000000030�12250657264�012434� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������AUTHORS NEWS ONEWS TODO ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/copyright������������������������������������������������������������������������������������0000644�0000000�0000000�00000004445�12250657264�011141� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Author: Toshio Kuratomi <toshio@tiki-lounge.com> Download: http://giflib.sourceforge.net/ Files: * Copyright: (C) 1997 Eric S. Raymond <esr@thyrsus.com> License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: (C) 2006-2009 Daniel Baumann <daniel@debian.org> License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/�������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�12250657264�010626� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/03-spelling_fixes.patch��������������������������������������������������������������0000644�0000000�0000000�00000001732�12250657264�015105� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Spelling fixes Author: Thibaut GRIDEL <tgridel@free.fr> --- giflib-4.1.6.orig/doc/gifrotat.html +++ giflib-4.1.6/doc/gifrotat.html @@ -38,7 +38,7 @@ Screen (of source image).<P> <DT> [-s Width Height] <DD> Since the rotated image will have the same image size as the original, some parts of the image will by clipped out and lost. By - specifing a (bigger) size explicitly using the `-s' option, these parts + specifying a (bigger) size explicitly using the `-s' option, these parts may be saved.<P> <DT> [-h] --- giflib-4.1.6.orig/util/gifbg.c +++ giflib-4.1.6/util/gifbg.c @@ -195,7 +195,7 @@ int main(int argc, char **argv) break; } if (Direction == DIR_NONE) - GIF_EXIT("Direction requested (-d option) is wierd!"); + GIF_EXIT("Direction requested (-d option) is weird!"); /* We are going to handle only TOP, TOP_RIGHT, RIGHT, BOT_RIGHT so flip */ /* the complement cases (TOP <-> BOT for example) by flipping the */ ��������������������������������������debian/patches/02-doc_fixes.patch�������������������������������������������������������������������0000644�0000000�0000000�00000003213�12250657264�014030� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Fixes in html doc which prevent correct man page generation Author: Thibaut GRIDEL <tgridel@free.fr> --- giflib-4.1.6.orig/doc/gif2x11.html +++ giflib-4.1.6/doc/gif2x11.html @@ -9,7 +9,7 @@ Go to <a href="index.html">index page</a <CENTER><H1>gif2x11</H1></CENTER> -A program to display images saved as GIF files under X window system.<P? +A program to display images saved as GIF files under X window system.<P> <H1>Usage:</H1> --- giflib-4.1.6.orig/doc/text2gif.html +++ giflib-4.1.6/doc/text2gif.html @@ -50,7 +50,7 @@ Line. <DT> [-c R G B] <DD> The color to use as the foreground color. White by default.<P> -<DT> [-t "Text"] +<DT> [-t "Text"] <DD> One line of text can be provided on the command line. Note you must encapsulate the Text within quotes if it has spaces (The quotes themselves are not treated as part of the text). If no -t --- giflib-4.1.6.orig/doc/rgb2gif.html +++ giflib-4.1.6/doc/rgb2gif.html @@ -33,12 +33,12 @@ Screen. <DT> [-c #Colors] <DD> Specifies number of colors to use, in bits per pixels, so - '-c 8' specifies actually 256 colors (maximum and default).<P> + `-c 8' specifies actually 256 colors (maximum and default).<P> <DT> [-1] <DD> Only one file in the format of RGBRGB... triplets (Each of R, G, B is a byte) is read from input. This file size is 3 * Width * Height (see - '-s' below. If stdin is used for input, this option is implicitly applied. + `-s' below. If stdin is used for input, this option is implicitly applied. The default (if not '-1') is 3 files with the names RGBFile.R, RGBFile.G, RGBFile.B, each of which is Width * Height bytes.<P> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/series�������������������������������������������������������������������������������0000644�0000000�0000000�00000000126�12250657264�012042� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������01-cve.patch 02-doc_fixes.patch 03-spelling_fixes.patch 04-fprintf_format_error.patch ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/01-cve.patch�������������������������������������������������������������������������0000644�0000000�0000000�00000003104�12250657264�012640� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Author: Michael Fedrowitz <michaelf@debian.org> Description: Fix CVE-2005-2974 and CVE-2005-3350 (Closes: #337972). diff -Naurp giflib.orig/lib/dgif_lib.c giflib/lib/dgif_lib.c --- giflib.orig/lib/dgif_lib.c 2007-11-10 22:54:44.000000000 +0000 +++ giflib/lib/dgif_lib.c 2008-03-07 13:45:02.000000000 +0000 @@ -249,6 +249,8 @@ DGifGetScreenDesc(GifFileType * GifFile) if (READ(GifFile, Buf, 3) != 3) { _GifError = D_GIF_ERR_READ_FAILED; + FreeMapObject(GifFile->SColorMap); + GifFile->SColorMap = NULL; return GIF_ERROR; } GifFile->SColorResolution = (((Buf[0] & 0x70) + 1) >> 4) + 1; @@ -346,6 +348,8 @@ DGifGetImageDesc(GifFileType * GifFile) return GIF_ERROR; if (READ(GifFile, Buf, 1) != 1) { _GifError = D_GIF_ERR_READ_FAILED; + FreeMapObject(GifFile->Image.ColorMap); + GifFile->Image.ColorMap = NULL; return GIF_ERROR; } BitsPerPixel = (Buf[0] & 0x07) + 1; @@ -994,6 +998,14 @@ DGifBufferedInput(GifFileType * GifFile, _GifError = D_GIF_ERR_IMAGE_DEFECT; return GIF_ERROR; } + /* There shouldn't be any empty data blocks here as the LZW spec + * says the LZW termination code should come first. Therefore we + * shouldn't be inside this routine at that point. + */ + if (Buf[0] == 0) { + _GifError = D_GIF_ERR_IMAGE_DEFECT; + return GIF_ERROR; + } if (READ(GifFile, &Buf[1], Buf[0]) != Buf[0]) { _GifError = D_GIF_ERR_READ_FAILED; return GIF_ERROR; ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/04-fprintf_format_error.patch��������������������������������������������������������0000644�0000000�0000000�00000027617�12250657264�016336� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Index: giflib-4.1.6/util/gif2epsn.c =================================================================== --- giflib-4.1.6.orig/util/gif2epsn.c 2011-11-03 17:58:55.451972034 +0800 +++ giflib-4.1.6/util/gif2epsn.c 2011-11-03 18:02:13.000000000 +0800 @@ -146,7 +146,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s",VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gif2iris.c =================================================================== --- giflib-4.1.6.orig/util/gif2iris.c 2011-11-03 17:58:55.475972156 +0800 +++ giflib-4.1.6/util/gif2iris.c 2011-11-03 18:02:13.000000000 +0800 @@ -111,7 +111,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gif2ps.c =================================================================== --- giflib-4.1.6.orig/util/gif2ps.c 2011-11-03 17:58:55.503972298 +0800 +++ giflib-4.1.6/util/gif2ps.c 2011-11-03 18:02:13.000000000 +0800 @@ -129,7 +129,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gif2rgb.c =================================================================== --- giflib-4.1.6.orig/util/gif2rgb.c 2011-11-03 17:58:55.539972474 +0800 +++ giflib-4.1.6/util/gif2rgb.c 2011-11-03 18:02:13.000000000 +0800 @@ -108,7 +108,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gif2rle.c =================================================================== --- giflib-4.1.6.orig/util/gif2rle.c 2011-11-03 17:58:55.567972612 +0800 +++ giflib-4.1.6/util/gif2rle.c 2011-11-03 18:02:13.000000000 +0800 @@ -103,7 +103,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifasm.c =================================================================== --- giflib-4.1.6.orig/util/gifasm.c 2011-11-03 17:58:55.587972712 +0800 +++ giflib-4.1.6/util/gifasm.c 2011-11-03 18:02:13.000000000 +0800 @@ -98,7 +98,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifbg.c =================================================================== --- giflib-4.1.6.orig/util/gifbg.c 2011-11-03 18:02:13.000000000 +0800 +++ giflib-4.1.6/util/gifbg.c 2011-11-03 18:04:31.945640624 +0800 @@ -130,7 +130,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifclip.c =================================================================== --- giflib-4.1.6.orig/util/gifclip.c 2011-11-03 17:58:55.643972986 +0800 +++ giflib-4.1.6/util/gifclip.c 2011-11-03 18:02:13.000000000 +0800 @@ -92,7 +92,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifclrmp.c =================================================================== --- giflib-4.1.6.orig/util/gifclrmp.c 2011-11-03 17:58:55.667973112 +0800 +++ giflib-4.1.6/util/gifclrmp.c 2011-11-03 18:02:13.000000000 +0800 @@ -111,7 +111,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifcolor.c =================================================================== --- giflib-4.1.6.orig/util/gifcolor.c 2011-11-03 17:58:55.687973208 +0800 +++ giflib-4.1.6/util/gifcolor.c 2011-11-03 18:02:13.000000000 +0800 @@ -89,7 +89,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifcomb.c =================================================================== --- giflib-4.1.6.orig/util/gifcomb.c 2011-11-03 17:58:55.707973306 +0800 +++ giflib-4.1.6/util/gifcomb.c 2011-11-03 18:02:13.000000000 +0800 @@ -93,7 +93,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/giffix.c =================================================================== --- giflib-4.1.6.orig/util/giffix.c 2011-11-03 17:58:55.863974080 +0800 +++ giflib-4.1.6/util/giffix.c 2011-11-03 18:02:13.000000000 +0800 @@ -90,7 +90,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifflip.c =================================================================== --- giflib-4.1.6.orig/util/gifflip.c 2011-11-03 17:58:55.891974218 +0800 +++ giflib-4.1.6/util/gifflip.c 2011-11-03 18:02:13.000000000 +0800 @@ -104,7 +104,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifhisto.c =================================================================== --- giflib-4.1.6.orig/util/gifhisto.c 2011-11-03 17:58:55.931974418 +0800 +++ giflib-4.1.6/util/gifhisto.c 2011-11-03 18:02:13.000000000 +0800 @@ -112,7 +112,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifinfo.c =================================================================== --- giflib-4.1.6.orig/util/gifinfo.c 2011-11-03 17:58:55.963974576 +0800 +++ giflib-4.1.6/util/gifinfo.c 2011-11-03 18:02:13.000000000 +0800 @@ -104,7 +104,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); printf("Format: quoted text string used for formating of information\n"); printf(" Special characters for various information can be used\n"); Index: giflib-4.1.6/util/gifinter.c =================================================================== --- giflib-4.1.6.orig/util/gifinter.c 2011-11-03 17:58:56.003974774 +0800 +++ giflib-4.1.6/util/gifinter.c 2011-11-03 18:02:13.000000000 +0800 @@ -98,7 +98,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifinto.c =================================================================== --- giflib-4.1.6.orig/util/gifinto.c 2011-11-03 17:58:56.039974952 +0800 +++ giflib-4.1.6/util/gifinto.c 2011-11-03 18:02:13.000000000 +0800 @@ -96,7 +96,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifovly.c =================================================================== --- giflib-4.1.6.orig/util/gifovly.c 2011-11-03 17:58:56.059975052 +0800 +++ giflib-4.1.6/util/gifovly.c 2011-11-03 18:02:13.000000000 +0800 @@ -73,7 +73,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifpos.c =================================================================== --- giflib-4.1.6.orig/util/gifpos.c 2011-11-03 17:58:56.083975170 +0800 +++ giflib-4.1.6/util/gifpos.c 2011-11-03 18:02:13.000000000 +0800 @@ -90,7 +90,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifrotat.c =================================================================== --- giflib-4.1.6.orig/util/gifrotat.c 2011-11-03 17:58:56.111975310 +0800 +++ giflib-4.1.6/util/gifrotat.c 2011-11-03 18:02:13.000000000 +0800 @@ -117,7 +117,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifrsize.c =================================================================== --- giflib-4.1.6.orig/util/gifrsize.c 2011-11-03 17:58:56.143975468 +0800 +++ giflib-4.1.6/util/gifrsize.c 2011-11-03 18:02:13.000000000 +0800 @@ -113,7 +113,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/giftext.c =================================================================== --- giflib-4.1.6.orig/util/giftext.c 2011-11-03 17:58:56.183975670 +0800 +++ giflib-4.1.6/util/giftext.c 2011-11-03 18:02:13.000000000 +0800 @@ -102,7 +102,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gifwedge.c =================================================================== --- giflib-4.1.6.orig/util/gifwedge.c 2011-11-03 17:58:56.215975826 +0800 +++ giflib-4.1.6/util/gifwedge.c 2011-11-03 18:02:13.000000000 +0800 @@ -94,7 +94,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/icon2gif.c =================================================================== --- giflib-4.1.6.orig/util/icon2gif.c 2011-11-03 17:58:56.243975968 +0800 +++ giflib-4.1.6/util/icon2gif.c 2011-11-03 18:02:13.000000000 +0800 @@ -94,7 +94,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/raw2gif.c =================================================================== --- giflib-4.1.6.orig/util/raw2gif.c 2011-11-03 17:58:56.263976064 +0800 +++ giflib-4.1.6/util/raw2gif.c 2011-11-03 18:02:13.000000000 +0800 @@ -118,7 +118,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/rgb2gif.c =================================================================== --- giflib-4.1.6.orig/util/rgb2gif.c 2011-11-03 17:58:56.287976186 +0800 +++ giflib-4.1.6/util/rgb2gif.c 2011-11-03 18:02:13.000000000 +0800 @@ -111,7 +111,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/rle2gif.c =================================================================== --- giflib-4.1.6.orig/util/rle2gif.c 2011-11-03 17:58:56.311976302 +0800 +++ giflib-4.1.6/util/rle2gif.c 2011-11-03 18:02:13.000000000 +0800 @@ -105,7 +105,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/text2gif.c =================================================================== --- giflib-4.1.6.orig/util/text2gif.c 2011-11-03 17:58:56.335976420 +0800 +++ giflib-4.1.6/util/text2gif.c 2011-11-03 18:02:13.000000000 +0800 @@ -107,7 +107,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } Index: giflib-4.1.6/util/gif2x11.c =================================================================== --- giflib-4.1.6.orig/util/gif2x11.c 2011-11-03 17:58:56.363976560 +0800 +++ giflib-4.1.6/util/gif2x11.c 2011-11-03 18:02:13.000000000 +0800 @@ -143,7 +143,7 @@ } if (HelpFlag) { - fprintf(stderr, VersionStr); + fprintf(stderr, "%s", VersionStr); GAPrintHowTo(CtrlStr); exit(EXIT_SUCCESS); } �����������������������������������������������������������������������������������������������������������������debian/giflib-tools.install�������������������������������������������������������������������������0000644�0000000�0000000�00000000011�12250657264�013151� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/usr/bin �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/compat���������������������������������������������������������������������������������������0000644�0000000�0000000�00000000002�12250657264�010375� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������9 ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/giflib-tools.doc-base������������������������������������������������������������������������0000644�0000000�0000000�00000000457�12250657264�013176� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Document: giflib-tools Title: Giflib Tools Manual Author: Eric S. Raymond Abstract: GIFLIB is a package of portable tools and library routines for working with GIF images. Section: Graphics Format: HTML Index: /usr/share/doc/giflib-tools/html/index.html Files: /usr/share/doc/giflib-tools/html/*.html �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������