1 |
commit: 531a61e9d885c091ea7ab0596f9367e2f40a15af |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 19:23:52 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 22:14:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531a61e9 |
7 |
|
8 |
media-gfx/pngcheck: (security) bump to 3.0.2 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/759013 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
media-gfx/pngcheck/Manifest | 1 + |
15 |
media-gfx/pngcheck/pngcheck-3.0.2.ebuild | 32 ++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 33 insertions(+) |
17 |
|
18 |
diff --git a/media-gfx/pngcheck/Manifest b/media-gfx/pngcheck/Manifest |
19 |
index f7d74b0cfa7..66af13d7895 100644 |
20 |
--- a/media-gfx/pngcheck/Manifest |
21 |
+++ b/media-gfx/pngcheck/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pngcheck-2.3.0.tar.gz 59864 BLAKE2B 3c635555f76d22d6949309707b7054608f5e093d3a557eb88eb9fc48aef76326f8e6b0dbcdf8e30213a042416f0e6f798e41411763e7604b12495b6b2748cddc SHA512 d099a360d41fc553e9ea02e56ae9812a4a72f3b7f1cd73c021fdb0b9233bb247e100b95fe8e297a2dcdd1bb996128a365794cb8f5702e5c93618af03f18140ad |
24 |
+DIST pngcheck-3.0.2.tar.gz 63202 BLAKE2B 4cc6040e087aa2f5829e79ea1a5feb45af8bb15fa72325f9cb4822169c7d278306d6d89b936fd4c3c3819a09380e07f1f64ce0c276e776c3146c1533b1ee1363 SHA512 81bba699141c0f506ee589785eccc4b1ea882df5d211bcd91885bbcc4230bf14d23fc1298ffc10a110d6a8459522f6a01bfba1f81739f6085e4d3de964bda3d5 |
25 |
|
26 |
diff --git a/media-gfx/pngcheck/pngcheck-3.0.2.ebuild b/media-gfx/pngcheck/pngcheck-3.0.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ad45b82c58e |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/pngcheck/pngcheck-3.0.2.ebuild |
31 |
@@ -0,0 +1,32 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="Verifies the integrity of PNG, JNG and MNG files with internal checksums" |
40 |
+HOMEPAGE="http://www.libpng.org/pub/png/apps/pngcheck.html" |
41 |
+SRC_URI="mirror://sourceforge/png-mng/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="HPND GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+RDEPEND="sys-libs/zlib" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+src_compile() { |
51 |
+ emake -f Makefile.unx \ |
52 |
+ CC="$(tc-getCC)" \ |
53 |
+ LD="$(tc-getLD)" \ |
54 |
+ CFLAGS="${CFLAGS} ${LDFLAGS} -DUSE_ZLIB" \ |
55 |
+ ZLIB="-lz" |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dobin png{check,split,-fix-IDAT-windowsize} |
60 |
+ doman pngcheck.1 gpl/pngsplit.1 |
61 |
+ |
62 |
+ einstalldocs |
63 |
+} |