diff options
author | Tristan Heaven <tristan@gentoo.org> | 2009-02-25 17:30:09 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2009-02-25 17:30:09 +0000 |
commit | 56862d18a4a2597e645cd76236f03e47ce35fc3f (patch) | |
tree | c84fb04a63899a42b4c5c85dbbd79c533d4a25db /media-gfx | |
parent | Add fix from upstream for infinite loop with arrays. (diff) | |
download | historical-56862d18a4a2597e645cd76236f03e47ce35fc3f.tar.gz historical-56862d18a4a2597e645cd76236f03e47ce35fc3f.tar.bz2 historical-56862d18a4a2597e645cd76236f03e47ce35fc3f.zip |
Security patch, bug #260265
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/optipng/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/optipng/Manifest | 12 | ||||
-rw-r--r-- | media-gfx/optipng/optipng-0.6.2-r1.ebuild | 45 |
3 files changed, 59 insertions, 7 deletions
diff --git a/media-gfx/optipng/ChangeLog b/media-gfx/optipng/ChangeLog index cf412a184953..21d4f765b82c 100644 --- a/media-gfx/optipng/ChangeLog +++ b/media-gfx/optipng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/optipng -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.45 2008/12/07 13:41:52 nyhm Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.46 2009/02/25 17:30:09 nyhm Exp $ + +*optipng-0.6.2-r1 (25 Feb 2009) + + 25 Feb 2009; Tristan Heaven <nyhm@gentoo.org> +optipng-0.6.2-r1.ebuild: + Security patch, bug #260265 07 Dec 2008; Tristan Heaven <nyhm@gentoo.org> optipng-0.6.2.ebuild: Pick up CFLAGS in src_compile instead of src_unpack, bug #240800 diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index 7de3445b1c3e..d377d189a79a 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1,14 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +DIST optipng-0.6.2.1.diff 1984 RMD160 e144a8894806e7753da76e5142bb1b90304590fe SHA1 d4456bc5d10e0ec1cf9a260da17f63e31a40dc48 SHA256 b39e748b24ea51ac55aa2b5fae1a3f31e9ede5321941ec3da2904351fe625b69 DIST optipng-0.6.2.tar.gz 1052509 RMD160 cd9ecfbd1c8901d14cb93fbc9f07403071cea37e SHA1 374b3537a262590ba2822f2b10d9241247b4da95 SHA256 84312506ea0c683a4e7675b3c8278067222762520016cc61e53c2b0e679120ca +EBUILD optipng-0.6.2-r1.ebuild 1104 RMD160 a120ff0269cc02570643765c43774e04645df9f3 SHA1 20f23381fdac001cb38f45bceb63d648e68e1361 SHA256 cfc083a298ba38f9bc11af7ddce004f02d22fd788cc134fb2c2a16c3f3d38b77 EBUILD optipng-0.6.2.ebuild 1017 RMD160 cb56da1fd4baf6aecb1c4b6e2a9a577d19ce5ba2 SHA1 a9238e05fec5955c2570cc62b8322963526938df SHA256 9765807bc34680e06c08a19081f7b260b832b1bf3ceda7644f53accb7ce168f6 -MISC ChangeLog 5742 RMD160 7f652d9108365a6362811bb3734a418e4ca780ef SHA1 eb2bcd9e235ab8fae9a7b9191b7d11c619721db4 SHA256 6fcd7e1ef99b0821a752eb47edde98905954b7b595bc526ebca4d9ddb800a35a +MISC ChangeLog 5880 RMD160 661574a60518a95867331891f8b60a3f9c5cc0f4 SHA1 0d2be04f6ca945d28e4b05891f57f9081313e153 SHA256 84cab9eb6e1f0bce56fb5f7056ee6a12fc6861bef4b1dcf2849bc35eec3966f8 MISC metadata.xml 253 RMD160 33155d552badd3133f93e25bfcd82b62d296deb9 SHA1 b30245f00aae656e7a024b2ab4b8ad8e5549250f SHA256 2ddc2634b7e897546998869bcf0803bfbf4940cb75da9e45a2a8f421b4dabfd3 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.10 (GNU/Linux) -iEYEARECAAYFAkk70qgACgkQdz7hIScOURFp/QCgv36aOXP7rPkUhC0oJ5F0r61J -7HYAoMAuJU+89lbbEQXyEvxXmVwBdz51 -=18Ka +iEYEARECAAYFAkmlgCcACgkQdz7hIScOURH+GgCggqJF0PykGqYIBb7ummQ0DdqE +wbYAniHhes54d2N9DrvqBAVWzEzeLJDv +=uoTx -----END PGP SIGNATURE----- diff --git a/media-gfx/optipng/optipng-0.6.2-r1.ebuild b/media-gfx/optipng/optipng-0.6.2-r1.ebuild new file mode 100644 index 000000000000..a3533b1de2bf --- /dev/null +++ b/media-gfx/optipng/optipng-0.6.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.6.2-r1.ebuild,v 1.1 2009/02/25 17:30:09 nyhm Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Compress PNG files without affecting image quality" +HOMEPAGE="http://optipng.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://sourceforge/${PN}/${P}.1.diff" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${DISTDIR}"/${P}.1.diff + sed -i \ + -e '/^C/s: -O2.*: $(GENTOO_CFLAGS) -Wall:' \ + -e '/^LD/s: -s$: $(GENTOO_LDFLAGS):' \ + src/scripts/gcc.mak \ + lib/libpng/scripts/makefile.gcc \ + lib/pngxtern/scripts/gcc.mak \ + || die "sed failed" +} + +src_compile() { + emake \ + -C src \ + -f scripts/gcc.mak \ + CC="$(tc-getCC)" \ + GENTOO_CFLAGS="${CFLAGS}" \ + GENTOO_LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + dobin src/optipng || die "dobin failed" + dodoc README.txt doc/*.txt + dohtml doc/*.html + doman man/optipng.1 +} |