[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 6bd8390a72c5b210b5c488f7b95a872952c47a71 Author: Sebastian Pipping gentoo org> AuthorDate: Sun Nov 5 12:41:38 2023 + Commit: Sebastian Pipping gentoo org> CommitDate: Sun Nov 5 12:41:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd8390a media-gfx/optipng: Drop vulnerable Bug: https://bugs.gentoo.org/915342 Signed-off-by: Sebastian Pipping gentoo.org> media-gfx/optipng/Manifest| 1 - media-gfx/optipng/optipng-0.7.7-r1.ebuild | 59 --- 2 files changed, 60 deletions(-) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index b30754260e30..f279da8e6a6e 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1,2 +1 @@ -DIST optipng-0.7.7.tar.gz 2329555 BLAKE2B af3e1c806522282ccbf9325c0b49f61a30d24b8e2db2dd8ec316a312d0dea595cbb6e8b5b38ef5ea90f1efe14244b81f85f88e11e7334fdd4b91b43b6dae8e7d SHA512 c33b7650143ab39944d2c066e07e10273c37024c5bfe7c00475bfb513af96afa081ff388164845d426d3bce624c0282dee574fa150e963f18d3683d821030280 DIST optipng-0.7.8.tar.gz 3294014 BLAKE2B b6d40335adadd1cef2b200c913d09eda67970910945904b26befb8de6f070eee99baa42b1ef4cfd6ad37759a528b7ad39a00fe5ea1b5e268c2d8385041d9f129 SHA512 def47bb2898d9409773df55a99fec84af2a26b58192127ac4624b2ff504762bc4735b5b945e788174eac695cc81be1b062088b42683b9c889dc42f94431210c3 diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild deleted file mode 100644 index 8b862a7c0a72.. --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Compress PNG files without affecting image quality" -HOMEPAGE="http://optipng.sourceforge.net/"; -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0=" -DEPEND="${RDEPEND}" - -DOCS=( AUTHORS.txt README.txt ) - -src_prepare() { - rm -R src/{libpng,zlib} || die - find . -type d -name build -exec rm -R {} + || die - - # next release is almost a complete rewrite, so plug this compilation - # problem in anticipation of the much (c)leaner(?) rewrite - sed -i \ - -e 's/^#if defined AT_FDCWD/#if (defined(AT_FDCWD) \&\& !(defined(__SVR4) \&\& defined(__sun)))/' \ - src/optipng/ioutil.c || die - - tc-export CC AR RANLIB - export LD="$(tc-getCC)" - - eapply_user -} - -src_configure() { - ./configure \ - -with-system-libpng \ - -with-system-zlib \ - || die "configure failed" -} - -src_compile() { - emake -C src/optipng -} - -src_install() { - einstalldocs - - dodoc doc/*.txt - docinto html - dodoc doc/*.html - doman src/${PN}/man/${PN}.1 - - dobin src/${PN}/${PN} -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: e0b6fbb4be476eb723404c2b4d51038b25dbdca8 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 4 16:12:01 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 4 16:12:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b6fbb4 media-gfx/optipng: Stabilize 0.7.8 amd64, #916853 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/optipng/optipng-0.7.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.8.ebuild b/media-gfx/optipng/optipng-0.7.8.ebuild index 8b7e301989ec..fcc6a0e17ebd 100644 --- a/media-gfx/optipng/optipng-0.7.8.ebuild +++ b/media-gfx/optipng/optipng-0.7.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="sys-libs/zlib media-libs/libpng:0="
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 1ee9b6a45a15d4da7485d6517f30dbe2a1a52b4e Author: Sam James gentoo org> AuthorDate: Sat Nov 4 16:20:28 2023 + Commit: Sam James gentoo org> CommitDate: Sat Nov 4 16:20:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee9b6a4 media-gfx/optipng: Stabilize 0.7.8 arm64, #916853 Signed-off-by: Sam James gentoo.org> media-gfx/optipng/optipng-0.7.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.8.ebuild b/media-gfx/optipng/optipng-0.7.8.ebuild index 3cb6262e35cc..e2e923f9ee4f 100644 --- a/media-gfx/optipng/optipng-0.7.8.ebuild +++ b/media-gfx/optipng/optipng-0.7.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="sys-libs/zlib media-libs/libpng:0="
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: f2b138262eeae6d0c40a71ae9b234a5b7affd72d Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 4 16:12:02 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 4 16:12:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b13826 media-gfx/optipng: Stabilize 0.7.8 x86, #916853 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/optipng/optipng-0.7.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.8.ebuild b/media-gfx/optipng/optipng-0.7.8.ebuild index fcc6a0e17ebd..88bc40be96b0 100644 --- a/media-gfx/optipng/optipng-0.7.8.ebuild +++ b/media-gfx/optipng/optipng-0.7.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="sys-libs/zlib media-libs/libpng:0="
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 0d0b536e242aa88c565f9c43d74c8af1166c12d3 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 4 16:12:03 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 4 16:12:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0b536e media-gfx/optipng: Stabilize 0.7.8 ppc, #916853 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/optipng/optipng-0.7.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.8.ebuild b/media-gfx/optipng/optipng-0.7.8.ebuild index 88bc40be96b0..3cb6262e35cc 100644 --- a/media-gfx/optipng/optipng-0.7.8.ebuild +++ b/media-gfx/optipng/optipng-0.7.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="sys-libs/zlib media-libs/libpng:0="
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 0198239bde0b08f46c9c494588e3cf18915e659e Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 4 16:12:01 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 4 16:12:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0198239b media-gfx/optipng: Stabilize 0.7.8 ppc64, #916853 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/optipng/optipng-0.7.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.8.ebuild b/media-gfx/optipng/optipng-0.7.8.ebuild index 8127c0351499..8b7e301989ec 100644 --- a/media-gfx/optipng/optipng-0.7.8.ebuild +++ b/media-gfx/optipng/optipng-0.7.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="sys-libs/zlib media-libs/libpng:0="
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 79476d4b145a4a6b0cbc0e73a6cefb5d584bf8fa Author: Sebastian Pipping gentoo org> AuthorDate: Sat Nov 4 00:19:05 2023 + Commit: Sebastian Pipping gentoo org> CommitDate: Sat Nov 4 00:19:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79476d4b media-gfx/optipng: 0.7.8 + EAPI 8 + CVE-2023-43907 Bug: https://bugs.gentoo.org/915342 Signed-off-by: Sebastian Pipping gentoo.org> media-gfx/optipng/Manifest | 1 + media-gfx/optipng/optipng-0.7.8.ebuild | 56 ++ 2 files changed, 57 insertions(+) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index 49b787970953..b30754260e30 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1 +1,2 @@ DIST optipng-0.7.7.tar.gz 2329555 BLAKE2B af3e1c806522282ccbf9325c0b49f61a30d24b8e2db2dd8ec316a312d0dea595cbb6e8b5b38ef5ea90f1efe14244b81f85f88e11e7334fdd4b91b43b6dae8e7d SHA512 c33b7650143ab39944d2c066e07e10273c37024c5bfe7c00475bfb513af96afa081ff388164845d426d3bce624c0282dee574fa150e963f18d3683d821030280 +DIST optipng-0.7.8.tar.gz 3294014 BLAKE2B b6d40335adadd1cef2b200c913d09eda67970910945904b26befb8de6f070eee99baa42b1ef4cfd6ad37759a528b7ad39a00fe5ea1b5e268c2d8385041d9f129 SHA512 def47bb2898d9409773df55a99fec84af2a26b58192127ac4624b2ff504762bc4735b5b945e788174eac695cc81be1b062088b42683b9c889dc42f94431210c3 diff --git a/media-gfx/optipng/optipng-0.7.8.ebuild b/media-gfx/optipng/optipng-0.7.8.ebuild new file mode 100644 index ..8127c0351499 --- /dev/null +++ b/media-gfx/optipng/optipng-0.7.8.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Compress PNG files without affecting image quality" +HOMEPAGE="https://optipng.sourceforge.net/"; +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="sys-libs/zlib + media-libs/libpng:0=" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS.txt README.txt ) + +src_prepare() { + rm -R third_party/{libpng,zlib} || die + find . -type d -name build -exec rm -R {} + || die + + sed -i \ + -e 's/^#if defined AT_FDCWD/#if (defined(AT_FDCWD) \&\& !(defined(__SVR4) \&\& defined(__sun)))/' \ + src/optipng/ioutil.c || die + + tc-export CC AR RANLIB + export LD="$(tc-getCC)" + + eapply_user +} + +src_configure() { + ./configure \ + --with-system-libpng \ + --with-system-zlib \ + || die "configure failed" +} + +src_compile() { + emake -C src/optipng +} + +src_install() { + einstalldocs + + dodoc doc/*.txt + docinto html + dodoc doc/*.html + doman src/${PN}/man/${PN}.1 + + dobin src/${PN}/${PN} +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: a8259a0aed9907fc8096fda10cfe2e57a4e004a1 Author: Sam James gentoo org> AuthorDate: Sun Mar 20 00:09:49 2022 + Commit: Sam James gentoo org> CommitDate: Sun Mar 20 00:09:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8259a0a media-gfx/optipng: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index e1a8dac9716e..d2a2ee2a0c7f 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -31,7 +31,7 @@ src_prepare() { src/optipng/ioutil.c || die tc-export CC AR RANLIB - export LD=$(tc-getCC) + export LD="$(tc-getCC)" eapply_user }
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: ec91f6966f1b9c2676e93c33b83a97c7ea60d48b Author: David Seifert gentoo org> AuthorDate: Thu Jan 6 10:38:39 2022 + Commit: David Seifert gentoo org> CommitDate: Thu Jan 6 10:38:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec91f696 media-gfx/optipng: remove superfluous sys-apps/findutils dep Signed-off-by: David Seifert gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index a652f6e79224..e1a8dac9716e 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,8 +16,7 @@ IUSE="" RDEPEND="sys-libs/zlib media-libs/libpng:0=" -DEPEND="${RDEPEND} - sys-apps/findutils" +DEPEND="${RDEPEND}" DOCS=( AUTHORS.txt README.txt )
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 1e48837e4679a809885221cc97228288d99429f5 Author: Yixun Lan gentoo org> AuthorDate: Wed Jun 2 02:10:27 2021 + Commit: Yixun Lan gentoo org> CommitDate: Wed Jun 2 02:42:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e48837e media-gfx/optipng: add riscv keyword Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index 7891be669fa..a652f6e7922 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 20c3048373a9eb90129cc73e52bae9a7fdc9a1db Author: Sebastian Pipping gentoo org> AuthorDate: Mon Mar 15 15:09:31 2021 + Commit: Sebastian Pipping gentoo org> CommitDate: Mon Mar 15 15:09:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c30483 media-gfx/optipng: Drop old (EAPI 6) Bug: https://bugs.gentoo.org/775698 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.17, Repoman-3.0.2 media-gfx/optipng/optipng-0.7.7.ebuild | 60 -- 1 file changed, 60 deletions(-) diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild deleted file mode 100644 index 6afec58dacc..000 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0=" -DEPEND="${RDEPEND} - sys-apps/findutils" - -DOCS=( AUTHORS.txt README.txt ) - -src_prepare() { - rm -R src/{libpng,zlib} || die - find . -type d -name build -exec rm -R {} + || die - - # next release is almost a complete rewrite, so plug this compilation - # problem in anticipation of the much (c)leaner(?) rewrite - sed -i \ - -e 's/^#if defined AT_FDCWD/#if (defined(AT_FDCWD) \&\& !(defined(__SVR4) \&\& defined(__sun)))/' \ - src/optipng/ioutil.c || die - - tc-export CC AR RANLIB - export LD=$(tc-getCC) - - eapply_user -} - -src_configure() { - ./configure \ - -with-system-libpng \ - -with-system-zlib \ - || die "configure failed" -} - -src_compile() { - emake -C src/optipng -} - -src_install() { - einstalldocs - - dodoc doc/*.txt - docinto html - dodoc doc/*.html - doman src/${PN}/man/${PN}.1 - - dobin src/${PN}/${PN} -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: f5144ce79658837fbbb53d3ec09381e11ce4e774 Author: Sam James gentoo org> AuthorDate: Mon Mar 15 02:26:06 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 15 02:26:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5144ce7 media-gfx/optipng: Stabilize 0.7.7-r1 arm64, #775698 Signed-off-by: Sam James gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index f144c6b6a6e..7891be669fa 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: c5d4f3d3d2d04db386b39386201d3d75433f3052 Author: Sam James gentoo org> AuthorDate: Sat Mar 13 11:36:48 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 13 11:37:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d4f3d3 media-gfx/optipng: Stabilize 0.7.7-r1 x86, #775698 Signed-off-by: Sam James gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index cd1a07fc611..f144c6b6a6e 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: ae441c6cdd3293a77705b527fdf705c93373800c Author: Sam James gentoo org> AuthorDate: Sat Mar 13 11:35:40 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 13 11:35:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae441c6c media-gfx/optipng: Stabilize 0.7.7-r1 amd64, #775698 Signed-off-by: Sam James gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index 81a383b628b..cd1a07fc611 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 497ce15c401eef12449f5d26c0a386f810589733 Author: Sam James gentoo org> AuthorDate: Sat Mar 13 09:56:07 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 13 09:56:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=497ce15c media-gfx/optipng: Stabilize 0.7.7-r1 ppc64, #775698 Signed-off-by: Sam James gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index d09924d7eff..e87a3526b5e 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: cdda8550749e1212452b9ded9f4e15a22da3bddc Author: Sam James gentoo org> AuthorDate: Sat Mar 13 09:56:15 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 13 09:56:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdda8550 media-gfx/optipng: Stabilize 0.7.7-r1 ppc, #775698 Signed-off-by: Sam James gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index e87a3526b5e..81a383b628b 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: b5cdce4a9342e8632a2fe9fe47f93153f0210ca1 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 14:05:14 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 14:05:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5cdce4a media-gfx/optipng: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> media-gfx/optipng/optipng-0.7.7-r1.ebuild | 4 ++-- media-gfx/optipng/optipng-0.7.7.ebuild| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild index 11a75013d0a..d09924d7eff 100644 --- a/media-gfx/optipng/optipng-0.7.7-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild index 7765ca76dae..6afec58dacc 100644 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ b/media-gfx/optipng/optipng-0.7.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/, media-gfx/optipng/files/
commit: 5b4c7223f2a6aeb4aaf8d5e54fa312eda4f74f8d Author: Sebastian Pipping gentoo org> AuthorDate: Tue Jan 28 15:09:36 2020 + Commit: Sebastian Pipping gentoo org> CommitDate: Tue Jan 28 15:29:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4c7223 media-gfx/optipng: Drop old Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20 media-gfx/optipng/Manifest | 1 - .../optipng/files/optipng-0.7.5-estonian.patch | 34 - .../files/optipng-0.7.6-cve-2017-1000229.patch | 25 - .../files/optipng-0.7.6-cve-2017-16938.patch | 22 media-gfx/optipng/optipng-0.7.6-r2.ebuild | 59 -- 5 files changed, 141 deletions(-) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index d0cdec1451f..49b78797095 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1,2 +1 @@ -DIST optipng-0.7.6.tar.gz 2202237 BLAKE2B f113027ff12f2fc97bd4dc43b8e62f5af8f86e251b43c0f86ffbd59366b329d1fc2a58103aa349cb18fb0c9d2e5f051517439c02aeb44ee435c6fff0c75efb7a SHA512 d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 DIST optipng-0.7.7.tar.gz 2329555 BLAKE2B af3e1c806522282ccbf9325c0b49f61a30d24b8e2db2dd8ec316a312d0dea595cbb6e8b5b38ef5ea90f1efe14244b81f85f88e11e7334fdd4b91b43b6dae8e7d SHA512 c33b7650143ab39944d2c066e07e10273c37024c5bfe7c00475bfb513af96afa081ff388164845d426d3bce624c0282dee574fa150e963f18d3683d821030280 diff --git a/media-gfx/optipng/files/optipng-0.7.5-estonian.patch b/media-gfx/optipng/files/optipng-0.7.5-estonian.patch deleted file mode 100644 index 37a2ca3ec68..000 --- a/media-gfx/optipng/files/optipng-0.7.5-estonian.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 2cf0d7cb7928aac9ec0e21ceaaf09053434a4947 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping -Date: Tue, 16 Sep 2014 02:58:45 +0200 -Subject: [PATCH] Fix for Estonian locale support (bug #522446) - - configure | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 6d2a507..17d4bc1 100755 a/configure -+++ b/configure -@@ -256,7 +256,7 @@ then - $sed_preconfig_libpng - s|^AR *=.*|AR = $AR| - s|^ARFLAGS *=.*|ARFLAGS = $ARFLAGS| --s|^AR_\([A-Z]*\) *=.*|AR_\1 = $AR $ARFLAGS| -+s|^AR_\([[:upper:]]*\) *=.*|AR_\1 = $AR $ARFLAGS| - " - fi - if test "$RANLIB" -@@ -408,7 +408,7 @@ sed_config=" - s|@LIBPNG_DISTCLEAN_XCMD@|${LIBPNG_DISTCLEAN_XCMD-true}|g - s|@ZLIB_MK@|${ZLIB_MK-Makefile}|g - s|@ZLIB_DISTCLEAN@|${ZLIB_DISTCLEAN-distclean}|g --s|@[A-Z]*_MK@|Makefile|g -+s|@[[:upper:]]*_MK@|Makefile|g - s| *\$|| - " - --- -2.1.0 - diff --git a/media-gfx/optipng/files/optipng-0.7.6-cve-2017-1000229.patch b/media-gfx/optipng/files/optipng-0.7.6-cve-2017-1000229.patch deleted file mode 100644 index 19dc3ad0c57..000 --- a/media-gfx/optipng/files/optipng-0.7.6-cve-2017-1000229.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 77ac8e9fd9b2c1aeec3951e2bb50f7cc2c1e92d2 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping -Date: Sun, 19 Nov 2017 16:04:26 +0100 -Subject: [PATCH] Prevent integer overflow (bug #65, CVE-2017-1000229) - - src/minitiff/tiffread.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/minitiff/tiffread.c b/src/minitiff/tiffread.c -index b4910ec..5f9b376 100644 a/src/minitiff/tiffread.c -+++ b/src/minitiff/tiffread.c -@@ -350,6 +350,8 @@ minitiff_read_info(struct minitiff_info *tiff_ptr, FILE *fp) - count = tiff_ptr->strip_offsets_count; - if (count == 0 || count > tiff_ptr->height) - goto err_invalid; -+if (count > (size_t)-1 / sizeof(long)) -+goto err_memory; - tiff_ptr->strip_offsets = (long *)malloc(count * sizeof(long)); - if (tiff_ptr->strip_offsets == NULL) - goto err_memory; --- -2.14.2 - diff --git a/media-gfx/optipng/files/optipng-0.7.6-cve-2017-16938.patch b/media-gfx/optipng/files/optipng-0.7.6-cve-2017-16938.patch deleted file mode 100644 index 71edf20cfef..000 --- a/media-gfx/optipng/files/optipng-0.7.6-cve-2017-16938.patch +++ /dev/null @@ -1,22 +0,0 @@ -From e05fb81a20541833a2d62ce08552b18c0920b9a1 Mon Sep 17 00:00:00 2001 -From: Cosmin Truta -Date: Sat, 25 Nov 2017 23:17:46 -0500 -Subject: [PATCH] gifread: Detect indirect circular dependencies in LZW tables - - src/gifread/gifread.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/gifread/gifread.c b/src/gifread/gifread.c -index 0123456789abcdef..0123456789abcdef 100644 a/src/gifread/gifread.c -+++ b/src/gifread/gifread.c -@@ -499,6 +499,8 @@ static int LZWReadByte(int init_flag, int input_code_size, FILE *stream) - *sp++ = table[1][code]; - if (co
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: ac427444d5deb09bb73cc5c6896f543c90b5f95e Author: Sebastian Pipping gentoo org> AuthorDate: Tue Jan 28 15:28:25 2020 + Commit: Sebastian Pipping gentoo org> CommitDate: Tue Jan 28 15:29:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac427444 media-gfx/optipng: EAPI 7 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20 media-gfx/optipng/optipng-0.7.7-r1.ebuild | 60 +++ 1 file changed, 60 insertions(+) diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild new file mode 100644 index 000..11a75013d0a --- /dev/null +++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Compress PNG files without affecting image quality" +HOMEPAGE="http://optipng.sourceforge.net/"; +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/libpng:0=" +DEPEND="${RDEPEND} + sys-apps/findutils" + +DOCS=( AUTHORS.txt README.txt ) + +src_prepare() { + rm -R src/{libpng,zlib} || die + find . -type d -name build -exec rm -R {} + || die + + # next release is almost a complete rewrite, so plug this compilation + # problem in anticipation of the much (c)leaner(?) rewrite + sed -i \ + -e 's/^#if defined AT_FDCWD/#if (defined(AT_FDCWD) \&\& !(defined(__SVR4) \&\& defined(__sun)))/' \ + src/optipng/ioutil.c || die + + tc-export CC AR RANLIB + export LD=$(tc-getCC) + + eapply_user +} + +src_configure() { + ./configure \ + -with-system-libpng \ + -with-system-zlib \ + || die "configure failed" +} + +src_compile() { + emake -C src/optipng +} + +src_install() { + einstalldocs + + dodoc doc/*.txt + docinto html + dodoc doc/*.html + doman src/${PN}/man/${PN}.1 + + dobin src/${PN}/${PN} +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 869ce84bbfb3199c413d806f6e0b08eb3d7a6798 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 6 09:41:47 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 6 09:41:47 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=869ce84b media-gfx/optipng: x86 stable wrt bug #690826 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> media-gfx/optipng/optipng-0.7.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild index 28b81f9ecbd..7765ca76dae 100644 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ b/media-gfx/optipng/optipng-0.7.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 33d446f25de0792fe0055cb6f014fc3008d9d513 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 6 09:37:59 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 6 09:37:59 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d446f2 media-gfx/optipng: amd64 stable wrt bug #690826 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> media-gfx/optipng/optipng-0.7.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild index 5dcdd92896b..28b81f9ecbd 100644 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ b/media-gfx/optipng/optipng-0.7.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: e7b970f4cf953dc38642e67096b733770ba4aeca Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 3 02:38:14 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 3 02:38:14 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b970f4 media-gfx/optipng: stable 0.7.7 for ppc/ppc64, bug #690826 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> media-gfx/optipng/optipng-0.7.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild index 5f514448728..5dcdd92896b 100644 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ b/media-gfx/optipng/optipng-0.7.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: bd4b3c54526619cb9ed5fea7e6b86a6a9341e5f1 Author: Aaron Bauman gentoo org> AuthorDate: Thu Aug 1 19:14:37 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Thu Aug 1 19:14:46 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4b3c54 media-gfx/optipng: arm64 stable (bug #690826) Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="arm64" media-gfx/optipng/optipng-0.7.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild index a2b4dcd7be7..5f514448728 100644 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ b/media-gfx/optipng/optipng-0.7.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 428bcee0ba42b0f49470b66bad47e85a0f119390 Author: Roy Bamford gentoo org> AuthorDate: Mon Mar 11 18:36:05 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Mar 11 21:02:52 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=428bcee0 media-gfx/optipng: added ~arm64 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Roy Bamford gentoo.org> Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/optipng/optipng-0.7.7.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild index 3880a888ddf..a2b4dcd7be7 100644 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ b/media-gfx/optipng/optipng-0.7.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: f836c9c5676d9d55c4082ac0343122755ccdf9d9 Author: Sebastian Pipping gentoo org> AuthorDate: Wed Jan 3 19:36:06 2018 + Commit: Sebastian Pipping gentoo org> CommitDate: Wed Jan 3 19:36:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f836c9c5 media-gfx/optipng: Remove 0.7.6-r1 (bug 639690) Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-gfx/optipng/optipng-0.7.6-r1.ebuild | 56 --- 1 file changed, 56 deletions(-) diff --git a/media-gfx/optipng/optipng-0.7.6-r1.ebuild b/media-gfx/optipng/optipng-0.7.6-r1.ebuild deleted file mode 100644 index 9039ea4f153..000 --- a/media-gfx/optipng/optipng-0.7.6-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -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" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0" -DEPEND="${RDEPEND} - sys-apps/findutils" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.7.5-estonian.patch - epatch "${FILESDIR}"/${PN}-0.7.6-cve-2017-1000229.patch # bug 637936 - - rm -R src/{libpng,zlib} || die - find . -type d -name build -exec rm -R {} + || die - - # next release is almost a complete rewrite, so plug this compilation - # problem in anticipation of the much (c)leaner(?) rewrite - sed -i \ - -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ - src/optipng/osys.c || die - - tc-export CC AR RANLIB - export LD=$(tc-getCC) -} - -src_configure() { - ./configure \ - -with-system-libpng \ - -with-system-zlib \ - || die "configure failed" -} - -src_compile() { - emake -C src/optipng -} - -src_install() { - dodoc README.txt doc/*.txt - dohtml doc/*.html - doman src/${PN}/man/${PN}.1 - - dobin src/${PN}/${PN} -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: d9aaca6c5dba4f10b301c1dc9c7bf2eacc5013cc Author: Sebastian Pipping gentoo org> AuthorDate: Sun Dec 31 18:36:33 2017 + Commit: Sebastian Pipping gentoo org> CommitDate: Sun Dec 31 18:38:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9aaca6c media-gfx/optipng: 0.7.7 Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-gfx/optipng/Manifest | 1 + media-gfx/optipng/optipng-0.7.7.ebuild | 60 ++ 2 files changed, 61 insertions(+) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index 46b54ad34d5..d0cdec1451f 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1 +1,2 @@ DIST optipng-0.7.6.tar.gz 2202237 BLAKE2B f113027ff12f2fc97bd4dc43b8e62f5af8f86e251b43c0f86ffbd59366b329d1fc2a58103aa349cb18fb0c9d2e5f051517439c02aeb44ee435c6fff0c75efb7a SHA512 d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 +DIST optipng-0.7.7.tar.gz 2329555 BLAKE2B af3e1c806522282ccbf9325c0b49f61a30d24b8e2db2dd8ec316a312d0dea595cbb6e8b5b38ef5ea90f1efe14244b81f85f88e11e7334fdd4b91b43b6dae8e7d SHA512 c33b7650143ab39944d2c066e07e10273c37024c5bfe7c00475bfb513af96afa081ff388164845d426d3bce624c0282dee574fa150e963f18d3683d821030280 diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild new file mode 100644 index 000..3880a888ddf --- /dev/null +++ b/media-gfx/optipng/optipng-0.7.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/libpng:0=" +DEPEND="${RDEPEND} + sys-apps/findutils" + +DOCS=( AUTHORS.txt README.txt ) + +src_prepare() { + rm -R src/{libpng,zlib} || die + find . -type d -name build -exec rm -R {} + || die + + # next release is almost a complete rewrite, so plug this compilation + # problem in anticipation of the much (c)leaner(?) rewrite + sed -i \ + -e 's/^#if defined AT_FDCWD/#if (defined(AT_FDCWD) \&\& !(defined(__SVR4) \&\& defined(__sun)))/' \ + src/optipng/ioutil.c || die + + tc-export CC AR RANLIB + export LD=$(tc-getCC) + + eapply_user +} + +src_configure() { + ./configure \ + -with-system-libpng \ + -with-system-zlib \ + || die "configure failed" +} + +src_compile() { + emake -C src/optipng +} + +src_install() { + einstalldocs + + dodoc doc/*.txt + docinto html + dodoc doc/*.html + doman src/${PN}/man/${PN}.1 + + dobin src/${PN}/${PN} +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 2b52f9f338adfd3c06152cba1db587d9b7d41bb1 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Dec 14 20:25:12 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Dec 14 20:25:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b52f9f3 media-gfx/optipng: amd64 stable wrt bug #639690 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> media-gfx/optipng/optipng-0.7.6-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6-r2.ebuild b/media-gfx/optipng/optipng-0.7.6-r2.ebuild index 9f492846ab9..8bcda03 100644 --- a/media-gfx/optipng/optipng-0.7.6-r2.ebuild +++ b/media-gfx/optipng/optipng-0.7.6-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 1320f68a633387355733ba4d7a537a3348d1c1e4 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Dec 10 22:58:51 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Dec 10 22:59:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1320f68a media-gfx/optipng: stable 0.7.6-r2 for ppc/ppc64, bug #639690 Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="ppc ppc64" media-gfx/optipng/optipng-0.7.6-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6-r2.ebuild b/media-gfx/optipng/optipng-0.7.6-r2.ebuild index 99ddf591dd8..9f492846ab9 100644 --- a/media-gfx/optipng/optipng-0.7.6-r2.ebuild +++ b/media-gfx/optipng/optipng-0.7.6-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/files/, media-gfx/optipng/
commit: 0da7381ee3668b7d015fc4082a001dcda0b94707 Author: Sebastian Pipping gentoo org> AuthorDate: Mon Dec 4 19:37:28 2017 + Commit: Sebastian Pipping gentoo org> CommitDate: Mon Dec 4 19:40:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da7381e media-gfx/optipng: CVE-2017-16938 Package-Manager: Portage-2.3.16, Repoman-2.3.6 .../files/optipng-0.7.6-cve-2017-16938.patch | 22 media-gfx/optipng/optipng-0.7.6-r2.ebuild | 59 ++ 2 files changed, 81 insertions(+) diff --git a/media-gfx/optipng/files/optipng-0.7.6-cve-2017-16938.patch b/media-gfx/optipng/files/optipng-0.7.6-cve-2017-16938.patch new file mode 100644 index 000..71edf20cfef --- /dev/null +++ b/media-gfx/optipng/files/optipng-0.7.6-cve-2017-16938.patch @@ -0,0 +1,22 @@ +From e05fb81a20541833a2d62ce08552b18c0920b9a1 Mon Sep 17 00:00:00 2001 +From: Cosmin Truta +Date: Sat, 25 Nov 2017 23:17:46 -0500 +Subject: [PATCH] gifread: Detect indirect circular dependencies in LZW tables + +--- + src/gifread/gifread.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/gifread/gifread.c b/src/gifread/gifread.c +index 0123456789abcdef..0123456789abcdef 100644 +--- a/src/gifread/gifread.c b/src/gifread/gifread.c +@@ -499,6 +499,8 @@ static int LZWReadByte(int init_flag, int input_code_size, FILE *stream) + *sp++ = table[1][code]; + if (code == table[0][code]) + GIFError("GIF/LZW error: circular table entry"); ++if ((size_t)(sp - stack) >= sizeof(stack) / sizeof(stack[0])) ++GIFError("GIF/LZW error: circular table"); + code = table[0][code]; + } + diff --git a/media-gfx/optipng/optipng-0.7.6-r2.ebuild b/media-gfx/optipng/optipng-0.7.6-r2.ebuild new file mode 100644 index 000..b5096a87c8f --- /dev/null +++ b/media-gfx/optipng/optipng-0.7.6-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/libpng:0" +DEPEND="${RDEPEND} + sys-apps/findutils" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.7.5-estonian.patch + epatch "${FILESDIR}"/${PN}-0.7.6-cve-2017-1000229.patch # bug 637936 + epatch "${FILESDIR}"/${PN}-0.7.6-cve-2017-16938.patch # bug 639690 + + rm -R src/{libpng,zlib} || die + find . -type d -name build -exec rm -R {} + || die + + # next release is almost a complete rewrite, so plug this compilation + # problem in anticipation of the much (c)leaner(?) rewrite + sed -i \ + -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ + src/optipng/osys.c || die + + tc-export CC AR RANLIB + export LD=$(tc-getCC) + + eapply_user +} + +src_configure() { + ./configure \ + -with-system-libpng \ + -with-system-zlib \ + || die "configure failed" +} + +src_compile() { + emake -C src/optipng +} + +src_install() { + dodoc README.txt doc/*.txt + dohtml doc/*.html + doman src/${PN}/man/${PN}.1 + + dobin src/${PN}/${PN} +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: db692c4edd486975c504a1107891cfc576f49ec4 Author: Sebastian Pipping gentoo org> AuthorDate: Wed Nov 29 12:25:58 2017 + Commit: Sebastian Pipping gentoo org> CommitDate: Wed Nov 29 12:25:58 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db692c4e media-gfx/optipng: Remove vulnerable (CVE-2017-1000229) Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-gfx/optipng/optipng-0.7.6.ebuild | 55 -- 1 file changed, 55 deletions(-) diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild deleted file mode 100644 index 18082197dd2..000 --- a/media-gfx/optipng/optipng-0.7.6.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -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" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0" -DEPEND="${RDEPEND} - sys-apps/findutils" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.7.5-estonian.patch - - rm -R src/{libpng,zlib} || die - find . -type d -name build -exec rm -R {} + || die - - # next release is almost a complete rewrite, so plug this compilation - # problem in anticipation of the much (c)leaner(?) rewrite - sed -i \ - -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ - src/optipng/osys.c || die - - tc-export CC AR RANLIB - export LD=$(tc-getCC) -} - -src_configure() { - ./configure \ - -with-system-libpng \ - -with-system-zlib \ - || die "configure failed" -} - -src_compile() { - emake -C src/optipng -} - -src_install() { - dodoc README.txt doc/*.txt - dohtml doc/*.html - doman src/${PN}/man/${PN}.1 - - dobin src/${PN}/${PN} -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: c342480fb993728f51fe997f209fd668afb7e2fe Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Nov 26 23:18:53 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Nov 27 00:19:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c342480f media-gfx/optipng: x86 stable (bug #637936) Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-gfx/optipng/optipng-0.7.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6-r1.ebuild b/media-gfx/optipng/optipng-0.7.6-r1.ebuild index 7cc031c42aa..9039ea4f153 100644 --- a/media-gfx/optipng/optipng-0.7.6-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 72f1dd4a708b472cf14959d9334bb353d8b5888b Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Nov 24 13:22:05 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Nov 24 13:22:05 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f1dd4a media-gfx/optipng: amd64 stable wrt bug #637936 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> media-gfx/optipng/Manifest| 2 +- media-gfx/optipng/optipng-0.7.6-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index f35afe0b323..46b54ad34d5 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1 +1 @@ -DIST optipng-0.7.6.tar.gz 2202237 SHA256 4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80 SHA512 d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 WHIRLPOOL c2708d111d0e57e35658d540a1bb0bbdea8fa35501be359222970e81159a6691db02053a446c250e3dd393f17918cc748de80e9cf19a355dcd5da867716fb359 +DIST optipng-0.7.6.tar.gz 2202237 BLAKE2B f113027ff12f2fc97bd4dc43b8e62f5af8f86e251b43c0f86ffbd59366b329d1fc2a58103aa349cb18fb0c9d2e5f051517439c02aeb44ee435c6fff0c75efb7a SHA512 d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 diff --git a/media-gfx/optipng/optipng-0.7.6-r1.ebuild b/media-gfx/optipng/optipng-0.7.6-r1.ebuild index f3802244b78..7cc031c42aa 100644 --- a/media-gfx/optipng/optipng-0.7.6-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 2260a314ecd592bcb2ed960a677f70f96878ee78 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Nov 23 23:05:46 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Nov 23 23:06:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2260a314 media-gfx/optipng: stable 0.7.6-r1 for ppc/ppc64, bug #637936 Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="ppc ppc64" media-gfx/optipng/optipng-0.7.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6-r1.ebuild b/media-gfx/optipng/optipng-0.7.6-r1.ebuild index becde449ea4..f3802244b78 100644 --- a/media-gfx/optipng/optipng-0.7.6-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/files/, media-gfx/optipng/
commit: f6e0b2dea97f6b8f437b32c0602d654dac8fb64c Author: Sebastian Pipping gentoo org> AuthorDate: Tue Nov 21 19:56:03 2017 + Commit: Sebastian Pipping gentoo org> CommitDate: Tue Nov 21 19:57:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e0b2de media-gfx/optipng: CVE-2017-1000229 Package-Manager: Portage-2.3.10, Repoman-2.3.3 .../files/optipng-0.7.6-cve-2017-1000229.patch | 25 ++ media-gfx/optipng/optipng-0.7.6-r1.ebuild | 56 ++ 2 files changed, 81 insertions(+) diff --git a/media-gfx/optipng/files/optipng-0.7.6-cve-2017-1000229.patch b/media-gfx/optipng/files/optipng-0.7.6-cve-2017-1000229.patch new file mode 100644 index 000..19dc3ad0c57 --- /dev/null +++ b/media-gfx/optipng/files/optipng-0.7.6-cve-2017-1000229.patch @@ -0,0 +1,25 @@ +From 77ac8e9fd9b2c1aeec3951e2bb50f7cc2c1e92d2 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Sun, 19 Nov 2017 16:04:26 +0100 +Subject: [PATCH] Prevent integer overflow (bug #65, CVE-2017-1000229) + +--- + src/minitiff/tiffread.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/minitiff/tiffread.c b/src/minitiff/tiffread.c +index b4910ec..5f9b376 100644 +--- a/src/minitiff/tiffread.c b/src/minitiff/tiffread.c +@@ -350,6 +350,8 @@ minitiff_read_info(struct minitiff_info *tiff_ptr, FILE *fp) + count = tiff_ptr->strip_offsets_count; + if (count == 0 || count > tiff_ptr->height) + goto err_invalid; ++if (count > (size_t)-1 / sizeof(long)) ++goto err_memory; + tiff_ptr->strip_offsets = (long *)malloc(count * sizeof(long)); + if (tiff_ptr->strip_offsets == NULL) + goto err_memory; +-- +2.14.2 + diff --git a/media-gfx/optipng/optipng-0.7.6-r1.ebuild b/media-gfx/optipng/optipng-0.7.6-r1.ebuild new file mode 100644 index 000..becde449ea4 --- /dev/null +++ b/media-gfx/optipng/optipng-0.7.6-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +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" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/libpng:0" +DEPEND="${RDEPEND} + sys-apps/findutils" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.7.5-estonian.patch + epatch "${FILESDIR}"/${PN}-0.7.6-cve-2017-1000229.patch # bug 637936 + + rm -R src/{libpng,zlib} || die + find . -type d -name build -exec rm -R {} + || die + + # next release is almost a complete rewrite, so plug this compilation + # problem in anticipation of the much (c)leaner(?) rewrite + sed -i \ + -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ + src/optipng/osys.c || die + + tc-export CC AR RANLIB + export LD=$(tc-getCC) +} + +src_configure() { + ./configure \ + -with-system-libpng \ + -with-system-zlib \ + || die "configure failed" +} + +src_compile() { + emake -C src/optipng +} + +src_install() { + dodoc README.txt doc/*.txt + dohtml doc/*.html + doman src/${PN}/man/${PN}.1 + + dobin src/${PN}/${PN} +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/files/
commit: 2e3544646f890b033209a2fb3b0ae5951d41389d Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Tue Dec 20 19:14:08 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Thu Dec 22 16:04:42 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e354464 media-gfx/optipng: remove unused patch media-gfx/optipng/files/optipng-0.7.5-gifread.patch | 12 1 file changed, 12 deletions(-) diff --git a/media-gfx/optipng/files/optipng-0.7.5-gifread.patch b/media-gfx/optipng/files/optipng-0.7.5-gifread.patch deleted file mode 100644 index 14b3719.. --- a/media-gfx/optipng/files/optipng-0.7.5-gifread.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/gifread/gifread.c b/src/gifread/gifread.c -index b24aa6e..2896493 100644 a/src/gifread/gifread.c -+++ b/src/gifread/gifread.c -@@ -357,6 +357,7 @@ static int LZWGetCode(int code_size, int init_flag, FILE *stream) - { - curbit = 0; - lastbit = 0; -+last_byte = 2; - done = LZW_FALSE; - return 0; - }
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: e42850eebea3021bfd982c2686a62003e4125812 Author: Pacho Ramos gentoo org> AuthorDate: Fri Aug 19 13:19:38 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Fri Aug 19 13:21:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42850ee media-gfx/optipng: Cleanup due to bug #143241 Package-Manager: portage-2.3.0 media-gfx/optipng/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/media-gfx/optipng/metadata.xml b/media-gfx/optipng/metadata.xml index 0da7746..8b613f7 100644 --- a/media-gfx/optipng/metadata.xml +++ b/media-gfx/optipng/metadata.xml @@ -2,10 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd";> - tris...@gentoo.org - Tristan Heaven - - sp...@gentoo.org Sebastian Pipping
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 4d09b54143ce2beaa1bf7cb65f700fd2e16db6c9 Author: Sebastian Pipping gentoo org> AuthorDate: Fri Jul 8 10:08:59 2016 + Commit: Sebastian Pipping gentoo org> CommitDate: Fri Jul 8 10:08:59 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d09b541 media-gfx/optipng: Remove 0.7.5-r1 (bug #579030) Package-Manager: portage-2.2.28 media-gfx/optipng/Manifest| 1 - media-gfx/optipng/optipng-0.7.5-r1.ebuild | 57 --- 2 files changed, 58 deletions(-) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index 397dc19..f35afe0 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1,2 +1 @@ -DIST optipng-0.7.5.tar.gz 2141943 SHA256 74e54b798b012dff8993fb8d90185ca83f18cfa4935f4a93b0bcfc33c849619d SHA512 6f319965739235387e99244dda5f52533e22b7040301cf680180e383f24361819f66cb3adf1a90923e9509ed08d55bbe442ec363310c385fcf70f551febfbb6f WHIRLPOOL e632f2c018d132280fb73ec80587b1d8e4b8e857663175a3c47933054369cec4bf8a93d34c4627e00513a804fe1500c6ea2c2c62d908f295cab743c2f0e92cbe DIST optipng-0.7.6.tar.gz 2202237 SHA256 4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80 SHA512 d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 WHIRLPOOL c2708d111d0e57e35658d540a1bb0bbdea8fa35501be359222970e81159a6691db02053a446c250e3dd393f17918cc748de80e9cf19a355dcd5da867716fb359 diff --git a/media-gfx/optipng/optipng-0.7.5-r1.ebuild b/media-gfx/optipng/optipng-0.7.5-r1.ebuild deleted file mode 100644 index e9befb6..000 --- a/media-gfx/optipng/optipng-0.7.5-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -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" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0" -DEPEND="${RDEPEND} - sys-apps/findutils" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gifread.patch # bug #561882 - epatch "${FILESDIR}"/${P}-estonian.patch - - rm -R src/{libpng,zlib} || die - find . -type d -name build -exec rm -R {} + || die - - # next release is almost a complete rewrite, so plug this compilation - # problem in anticipation of the much (c)leaner(?) rewrite - sed -i \ - -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ - src/optipng/osys.c || die - - tc-export CC AR RANLIB - export LD=$(tc-getCC) -} - -src_configure() { - ./configure \ - -with-system-libpng \ - -with-system-zlib \ - || die "configure failed" -} - -src_compile() { - emake -C src/optipng -} - -src_install() { - dodoc README.txt doc/*.txt - dohtml doc/*.html - doman src/${PN}/man/${PN}.1 - - dobin src/${PN}/${PN} -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: ccf033750bed91bfb570b71b73c917c19678b6cd Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jul 8 08:17:10 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jul 8 08:17:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf03375 media-gfx/optipng: ppc stable wrt bug #579030 Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> media-gfx/optipng/optipng-0.7.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild index f243fdf..aa43ef5 100644 --- a/media-gfx/optipng/optipng-0.7.6.ebuild +++ b/media-gfx/optipng/optipng-0.7.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 77b8e49e04cd340ccc573b437e7c7b15893d5978 Author: Aaron Bauman gentoo org> AuthorDate: Sun Jun 26 11:59:51 2016 + Commit: Aaron Bauman gentoo org> CommitDate: Sun Jun 26 11:59:51 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b8e49e media-gfx/optipng: cleanup vulnerable versions per security bug #561882 media-gfx/optipng/Manifest| 2 -- media-gfx/optipng/optipng-0.7.3-r1.ebuild | 56 --- media-gfx/optipng/optipng-0.7.3.ebuild| 55 -- media-gfx/optipng/optipng-0.7.4.ebuild| 54 - media-gfx/optipng/optipng-0.7.5.ebuild| 56 --- 5 files changed, 223 deletions(-) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index 6cf7aa0..397dc19 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1,4 +1,2 @@ -DIST optipng-0.7.3.tar.gz 1613868 SHA256 e07079fbf4cd7f11e756ca042f5285dd7a1f1784bb398fe6bbb63e5324368491 SHA512 2e15f88e9c1d1ed447c9236485bf6a0560678e11ea51e53a967b66ad6205f2cd000d0dccdeb2dd8f4ee3496891da112b37451ddeef80f31700542a69b9749eb4 WHIRLPOOL 87e397962019885ac1e4f9a36f1a707c325b4e8030add9f56bbf11841c2a5eab95ec472737a954bf96fbd8be0e06b08911f8786416758efd02ce3c4479c0fd83 -DIST optipng-0.7.4.tar.gz 1613916 SHA256 520b5d5a9405dbdc5c905dd0cff87211e69c4ed2059744037510e613fe8237ff SHA512 53db8f528cded99aded4db85424e38890ebdc26043e0497a575d0f3b81fe575638355dab1ca0d46c24ebbbe8a6657ac8e0c4216eee0d02f41d7365e3e168e40f WHIRLPOOL 9ad5b0d5097c9de72780f22a501438c57606d03b8f522b258d43d148f2239518eaccd1ec4e3c40eb99da571db1debf739f5722405c9988345a0d55debf7fcfd5 DIST optipng-0.7.5.tar.gz 2141943 SHA256 74e54b798b012dff8993fb8d90185ca83f18cfa4935f4a93b0bcfc33c849619d SHA512 6f319965739235387e99244dda5f52533e22b7040301cf680180e383f24361819f66cb3adf1a90923e9509ed08d55bbe442ec363310c385fcf70f551febfbb6f WHIRLPOOL e632f2c018d132280fb73ec80587b1d8e4b8e857663175a3c47933054369cec4bf8a93d34c4627e00513a804fe1500c6ea2c2c62d908f295cab743c2f0e92cbe DIST optipng-0.7.6.tar.gz 2202237 SHA256 4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80 SHA512 d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 WHIRLPOOL c2708d111d0e57e35658d540a1bb0bbdea8fa35501be359222970e81159a6691db02053a446c250e3dd393f17918cc748de80e9cf19a355dcd5da867716fb359 diff --git a/media-gfx/optipng/optipng-0.7.3-r1.ebuild b/media-gfx/optipng/optipng-0.7.3-r1.ebuild deleted file mode 100644 index b5bcc84..000 --- a/media-gfx/optipng/optipng-0.7.3-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -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" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0" -DEPEND="${RDEPEND} - sys-apps/findutils" - -src_prepare() { - rm -R src/{libpng,zlib} || die - find . -type d -name build -exec rm -R {} + || die - - # next release is almost a complete rewrite, so plug this compilation - # problem in anticipation of the much (c)leaner(?) rewrite - sed -i \ - -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ - src/optipng/osys.c || die - - tc-export CC AR RANLIB -} - -src_configure() { - ./configure \ - -with-system-libpng \ - -with-system-zlib \ - || die "configure failed" -} - -src_compile() { - emake \ - -C src/optipng \ - GENTOO_CFLAGS="${CFLAGS}" \ - GENTOO_LDFLAGS="${LDFLAGS}" -} - -src_install() { - dodoc README.txt doc/*.txt - dohtml doc/*.html - doman src/${PN}/man/${PN}.1 - - dobin src/${PN}/${PN} -} diff --git a/media-gfx/optipng/optipng-0.7.3.ebuild b/media-gfx/optipng/optipng-0.7.3.ebuild deleted file mode 100644 index 418528c..000 --- a/media-gfx/optipng/optipng-0.7.3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 -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" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -RDEPEND="sys-libs/zlib - media-libs/libpng:0" -DEPEND="${RDEPEND} - sys-app
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: b8e2b059314e98a4a3183c81bab47cf1461446f4 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 11 10:51:18 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 11 10:51:18 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e2b059 media-gfx/optipng: x86 stable wrt bug #579030 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> media-gfx/optipng/optipng-0.7.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild index 1caf656..f243fdf 100644 --- a/media-gfx/optipng/optipng-0.7.6.ebuild +++ b/media-gfx/optipng/optipng-0.7.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: a840a0191f0363131902f6e862e6bc07c0cb498e Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 11 10:50:08 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 11 10:50:08 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a840a019 media-gfx/optipng: amd64 stable wrt bug #579030 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> media-gfx/optipng/optipng-0.7.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild index f3a4b67..1caf656 100644 --- a/media-gfx/optipng/optipng-0.7.6.ebuild +++ b/media-gfx/optipng/optipng-0.7.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: b485cb62e6a9549a649125b86c2cc46ef7ac6950 Author: Jeroen Roovers gentoo org> AuthorDate: Thu May 5 09:18:57 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Thu May 5 09:18:57 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b485cb62 media-gfx/optipng: Stable for PPC64 (bug #579030). Package-Manager: portage-2.2.28 RepoMan-Options: --ignore-arches media-gfx/optipng/optipng-0.7.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild index e040a10..f3a4b67 100644 --- a/media-gfx/optipng/optipng-0.7.6.ebuild +++ b/media-gfx/optipng/optipng-0.7.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: db5868a52221a1dfda5156f7f3ea4fd823a1ee9d Author: Sebastian Pipping gentoo org> AuthorDate: Mon Apr 4 21:10:07 2016 + Commit: Sebastian Pipping gentoo org> CommitDate: Mon Apr 4 21:12:25 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5868a5 media-gfx/optipng: 0.7.6 Package-Manager: portage-2.2.28 media-gfx/optipng/Manifest | 1 + media-gfx/optipng/optipng-0.7.6.ebuild | 56 ++ 2 files changed, 57 insertions(+) diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest index 2bd43fa..6cf7aa0 100644 --- a/media-gfx/optipng/Manifest +++ b/media-gfx/optipng/Manifest @@ -1,3 +1,4 @@ DIST optipng-0.7.3.tar.gz 1613868 SHA256 e07079fbf4cd7f11e756ca042f5285dd7a1f1784bb398fe6bbb63e5324368491 SHA512 2e15f88e9c1d1ed447c9236485bf6a0560678e11ea51e53a967b66ad6205f2cd000d0dccdeb2dd8f4ee3496891da112b37451ddeef80f31700542a69b9749eb4 WHIRLPOOL 87e397962019885ac1e4f9a36f1a707c325b4e8030add9f56bbf11841c2a5eab95ec472737a954bf96fbd8be0e06b08911f8786416758efd02ce3c4479c0fd83 DIST optipng-0.7.4.tar.gz 1613916 SHA256 520b5d5a9405dbdc5c905dd0cff87211e69c4ed2059744037510e613fe8237ff SHA512 53db8f528cded99aded4db85424e38890ebdc26043e0497a575d0f3b81fe575638355dab1ca0d46c24ebbbe8a6657ac8e0c4216eee0d02f41d7365e3e168e40f WHIRLPOOL 9ad5b0d5097c9de72780f22a501438c57606d03b8f522b258d43d148f2239518eaccd1ec4e3c40eb99da571db1debf739f5722405c9988345a0d55debf7fcfd5 DIST optipng-0.7.5.tar.gz 2141943 SHA256 74e54b798b012dff8993fb8d90185ca83f18cfa4935f4a93b0bcfc33c849619d SHA512 6f319965739235387e99244dda5f52533e22b7040301cf680180e383f24361819f66cb3adf1a90923e9509ed08d55bbe442ec363310c385fcf70f551febfbb6f WHIRLPOOL e632f2c018d132280fb73ec80587b1d8e4b8e857663175a3c47933054369cec4bf8a93d34c4627e00513a804fe1500c6ea2c2c62d908f295cab743c2f0e92cbe +DIST optipng-0.7.6.tar.gz 2202237 SHA256 4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80 SHA512 d31d7494c23413d87b601a706cc2faf82923156a818da66e0bfad11741aed065db8f1b0c088d2abd66899ac192408c05f594295ded2684c4549c5f03b140a184 WHIRLPOOL c2708d111d0e57e35658d540a1bb0bbdea8fa35501be359222970e81159a6691db02053a446c250e3dd393f17918cc748de80e9cf19a355dcd5da867716fb359 diff --git a/media-gfx/optipng/optipng-0.7.6.ebuild b/media-gfx/optipng/optipng-0.7.6.ebuild new file mode 100644 index 000..e040a10 --- /dev/null +++ b/media-gfx/optipng/optipng-0.7.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/libpng:0" +DEPEND="${RDEPEND} + sys-apps/findutils" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.7.5-estonian.patch + + rm -R src/{libpng,zlib} || die + find . -type d -name build -exec rm -R {} + || die + + # next release is almost a complete rewrite, so plug this compilation + # problem in anticipation of the much (c)leaner(?) rewrite + sed -i \ + -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ + src/optipng/osys.c || die + + tc-export CC AR RANLIB + export LD=$(tc-getCC) +} + +src_configure() { + ./configure \ + -with-system-libpng \ + -with-system-zlib \ + || die "configure failed" +} + +src_compile() { + emake -C src/optipng +} + +src_install() { + dodoc README.txt doc/*.txt + dohtml doc/*.html + doman src/${PN}/man/${PN}.1 + + dobin src/${PN}/${PN} +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 0aec9cc0da59b7dfe75cd54677c57c479e99b6e8 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Nov 4 15:16:37 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Nov 4 15:16:37 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aec9cc0 media-gfx/optipng: ppc stable wrt bug #564504 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="ppc" media-gfx/optipng/optipng-0.7.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.5-r1.ebuild b/media-gfx/optipng/optipng-0.7.5-r1.ebuild index 4198198..e9befb6 100644 --- a/media-gfx/optipng/optipng-0.7.5-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.5-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 4b5dde78da2ce679b06b682e4781bd5c482100e4 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 3 15:18:45 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 3 15:18:45 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5dde78 media-gfx/optipng: amd64 stable wrt bug #564504 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="amd64" media-gfx/optipng/optipng-0.7.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.5-r1.ebuild b/media-gfx/optipng/optipng-0.7.5-r1.ebuild index 7e089e4..b6deb46 100644 --- a/media-gfx/optipng/optipng-0.7.5-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.5-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
commit: 40376bf724ab3edca5ddacd186b88a5a65e96cd9 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Oct 31 06:46:04 2015 + Commit: Jeroen Roovers gentoo org> CommitDate: Sat Oct 31 06:46:04 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40376bf7 media-gfx/optipng: Stable for PPC64 (bug #564504). Package-Manager: portage-2.2.23 RepoMan-Options: --ignore-arches media-gfx/optipng/optipng-0.7.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/optipng/optipng-0.7.5-r1.ebuild b/media-gfx/optipng/optipng-0.7.5-r1.ebuild index b3b4528..7e089e4 100644 --- a/media-gfx/optipng/optipng-0.7.5-r1.ebuild +++ b/media-gfx/optipng/optipng-0.7.5-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="" RDEPEND="sys-libs/zlib
[gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/files/, media-gfx/optipng/
commit: e64498a11278374b3ea04983586a0ab8f599406e Author: Sebastian Pipping gentoo org> AuthorDate: Sun Oct 11 19:10:43 2015 + Commit: Sebastian Pipping gentoo org> CommitDate: Sun Oct 11 19:11:41 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64498a1 media-gfx/optipng: Apply upstream patch for bug #561882 Package-Manager: portage-2.2.23 .../optipng/files/optipng-0.7.5-gifread.patch | 12 + media-gfx/optipng/optipng-0.7.5-r1.ebuild | 57 ++ 2 files changed, 69 insertions(+) diff --git a/media-gfx/optipng/files/optipng-0.7.5-gifread.patch b/media-gfx/optipng/files/optipng-0.7.5-gifread.patch new file mode 100644 index 000..14b3719 --- /dev/null +++ b/media-gfx/optipng/files/optipng-0.7.5-gifread.patch @@ -0,0 +1,12 @@ +diff --git a/src/gifread/gifread.c b/src/gifread/gifread.c +index b24aa6e..2896493 100644 +--- a/src/gifread/gifread.c b/src/gifread/gifread.c +@@ -357,6 +357,7 @@ static int LZWGetCode(int code_size, int init_flag, FILE *stream) + { + curbit = 0; + lastbit = 0; ++last_byte = 2; + done = LZW_FALSE; + return 0; + } diff --git a/media-gfx/optipng/optipng-0.7.5-r1.ebuild b/media-gfx/optipng/optipng-0.7.5-r1.ebuild new file mode 100644 index 000..b3b4528 --- /dev/null +++ b/media-gfx/optipng/optipng-0.7.5-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/libpng:0" +DEPEND="${RDEPEND} + sys-apps/findutils" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gifread.patch # bug #561882 + epatch "${FILESDIR}"/${P}-estonian.patch + + rm -R src/{libpng,zlib} || die + find . -type d -name build -exec rm -R {} + || die + + # next release is almost a complete rewrite, so plug this compilation + # problem in anticipation of the much (c)leaner(?) rewrite + sed -i \ + -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \ + src/optipng/osys.c || die + + tc-export CC AR RANLIB + export LD=$(tc-getCC) +} + +src_configure() { + ./configure \ + -with-system-libpng \ + -with-system-zlib \ + || die "configure failed" +} + +src_compile() { + emake -C src/optipng +} + +src_install() { + dodoc README.txt doc/*.txt + dohtml doc/*.html + doman src/${PN}/man/${PN}.1 + + dobin src/${PN}/${PN} +}