summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2014-10-17 06:48:18 +0000
committerAlfredo Tupone <tupone@gentoo.org>2014-10-17 06:48:18 +0000
commit887420b2625856c1b4af66dd60a56b8c0f92b55e (patch)
tree1368166da095188b9f9e3e1f12faa30e4845bc50 /games-board/natch
parentStable for HPPA (bug #525504). (diff)
downloadhistorical-887420b2625856c1b4af66dd60a56b8c0f92b55e.tar.gz
historical-887420b2625856c1b4af66dd60a56b8c0f92b55e.tar.bz2
historical-887420b2625856c1b4af66dd60a56b8c0f92b55e.zip
Fix format-security warning. Bug #524934
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 Manifest-Sign-Key: 0x0145142D
Diffstat (limited to 'games-board/natch')
-rw-r--r--games-board/natch/ChangeLog6
-rw-r--r--games-board/natch/Manifest21
-rw-r--r--games-board/natch/files/natch-2.4-format.patch29
-rw-r--r--games-board/natch/natch-2.4.ebuild8
4 files changed, 46 insertions, 18 deletions
diff --git a/games-board/natch/ChangeLog b/games-board/natch/ChangeLog
index 4de27e12388f..163965443325 100644
--- a/games-board/natch/ChangeLog
+++ b/games-board/natch/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/natch
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/natch/ChangeLog,v 1.6 2014/10/10 15:25:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/natch/ChangeLog,v 1.7 2014/10/17 06:48:11 tupone Exp $
+
+ 17 Oct 2014; Alfredo Tupone <tupone@gentoo.org> natch-2.4.ebuild,
+ +files/natch-2.4-format.patch:
+ Fix format-security warning. Bug #524934 by Agostino Sarubbo
10 Oct 2014; Agostino Sarubbo <ago@gentoo.org> natch-2.4.ebuild:
Stable for amd64, wrt bug #522558
diff --git a/games-board/natch/Manifest b/games-board/natch/Manifest
index 24574959bf83..61854700e037 100644
--- a/games-board/natch/Manifest
+++ b/games-board/natch/Manifest
@@ -1,24 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX natch-2.4-format.patch 754 SHA256 465e76465ec09cfa183a8560d7ed87a912ce08fa709a52217d633e76d6fe9599 SHA512 c79ab80153c2a433b9d07fc0c6c0b0b68a7ed9514d21477ef0410427d1df4a8e82e15e5bd8be9770af81d5f1f45e607f5887194fed86ff84228d495a851969c3 WHIRLPOOL ebae22656b2fec9fa91e5e51b9777f11bdc0dce8de4b17b67eb5a370d97b525dbd551d6f5b45e99df7626eb4a498affba4f5c2ca070f9c73d704ee278c95ee2a
DIST Natch-2.4.tar.gz 196621 SHA256 866a5df290b1a1b6dd79c04d1239105fab4ff1fcd56e242655355f2ca04da47c SHA512 390b1cb295f6d8f4d5ec27abad9aae0c06ea1b4bb9c29dcf5bf74f515ac4a90926a657fe3dd3cc91233cf772d2f072cdc34a043e5e294dc668ca619b21535d81 WHIRLPOOL 5d61f019fb54711230fe2329de685cca7eaec289b53d1c40b3d1c116f6fbc04162266734ba57fc9ddde7ade99f1d9fe5f9d06c36dec7721ade6c127c494a90ef
-EBUILD natch-2.4.ebuild 647 SHA256 e395a14eb2c23214c2621f9c701374fc1ca96ebd6b0a8bc6bcf2c135bba0637b SHA512 5464792976424f45f4dff86f318cd905e5b4a7ee76f43a65d1b029fcdd929145ba0cc8f873bb013ccb0e03b2043283d6e4c18bc865bfa982b5ddb35c9a1fabb5 WHIRLPOOL 3425f83cb788e0e88009ecb9438c59325491f50e2f2d8542d1a60fa278471ad3f27f82b7e5f05c9cac56002b57ca867dc63b766a200c76c63b23626b857a94d9
-MISC ChangeLog 831 SHA256 b19d644cac780203e57965824aba1c1f53bc5dc27a5e6ac384f5f39513768c6b SHA512 7bf7262fbc2b5a25b847f962060dc799fa2430c203df628cfb3e040c52d264fb47ea91814d60e183f5d0e290d4f72a7f035337e38e07b84c3b6f6155c20501c8 WHIRLPOOL 0ea5cf0a2160f134c1dac85872887f04c1cfb580da01d332b48907d1bfc680b7749e5162fd64ff85a23f0df87f55015d2456264256312ce5dd64dce87d82cffb
+EBUILD natch-2.4.ebuild 716 SHA256 48c922ed7c682a28ed0eaa50299ea96fdfdffbd75845ebf06117f10a6a9a12d2 SHA512 31ac12b095f199226255244aa7bf22197c82e04cf816aa7c7dd334bc6bbb96ab0830a6d1d06168f2ffddb283d86cbf84d0d95ad77cdfbc56069b2aa6d5c2757e WHIRLPOOL 87b46fae9a53c823f7df7f3edbf74c214e8bc98cf1adcb8150fbe38c3cec8d1afb485caa3e20834822ac7e2cdda5d3160e3e038ad83fcf21743a1a2f0c083306
+MISC ChangeLog 999 SHA256 33a2d4af9e9536905e0a832e89564c5e7059ed5e352d2af79defa8b9a5181a4c SHA512 d8cd4cff51f36d75fb851dcc563cf5204baaf4ed6755acdbb689e337493775bf7a984dce2d632a2af1b058372444b6ec07e6b844ffa328b81fd438d82f11ebc4 WHIRLPOOL b3624362c141a98f93bb46fa1cb85888efd8eeb4fc4c082cc6ca02826f76b6fa7a96cf3d77bad2df01dfe6d3849bc2d145d0cb80a4f5e612dbc952d5c2277ce8
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJUN/peAAoJELp701BxlEWf1BoP/RvKLqz5iTmIr8rJguNDvoh4
-wQxP2Owjpj9jSvAG3vFQNymqIPPq1sJUNnmo1GzGe1s1DNmcB8P+1Nda+nGaytYV
-FmVfrQ7j8IVE+TpqskNuwZUZY95MK1p3eED2KWi2Mr0Q2flNtLhSbO5f63mQbQjR
-/oeWHyZju+BgMxJ6fLJmBU8EFNerQapWq+yqNvVBEKHQplr54nnKOSfLX6cJ9Q5f
-zZNXH6Bz9C7Fs0i73z8xHqwLu4y8O08duqAuk8A8DpMxcJNIv6Rt+ytHg93fVnwn
-HTvGxPRLEKlo2fj1JuXD32QEOW3ibPZepkjMS64GISVcxJnD2m7UbY8aB9IavGIL
-UnXfD0E5wviSzNDays3holKFwBAQBxd47SZTzM/PB94h4SxP07kJyL1cDv5RciZv
-oImUFPy4RBMhz7mitD3dqg4GbojvyQ/gCBf6Nf1qx6wVCiTCDa8rfJiu+yLM0CUL
-c/Gd009jZCHUPdmsMZMka4035BIR3/Y8gYAEkbK/J9QW5wmBwMzKDPi9ll4WlcEm
-JtLA97xO6TL4koZbTUdgC5g2KQ3mAWFwrfEl31i3yjH68yFHSvGNlaI7XDj1e8ej
-kqPtc5yG/1NTjSrIUR8BtCnnENXevuDGxYowQigGUSdKF1Al2hYxdsdWuv6nL/dT
-Zqom3K402ut+jd/DrqFS
-=AHJP
+iEYEAREIAAYFAlRAu7AACgkQIY77eQFFFC10awCff95aZotXSwAXZ2M9x5JdrkIo
+rB8AnAnBkxuYe3iZeoyTNEsySnHfoum0
+=Yy8F
-----END PGP SIGNATURE-----
diff --git a/games-board/natch/files/natch-2.4-format.patch b/games-board/natch/files/natch-2.4-format.patch
new file mode 100644
index 000000000000..cc2b3207c3b0
--- /dev/null
+++ b/games-board/natch/files/natch-2.4-format.patch
@@ -0,0 +1,29 @@
+--- src/pcpjtool.c.old 2014-10-17 08:38:21.547119790 +0200
++++ src/pcpjtool.c 2014-10-17 08:42:04.949035648 +0200
+@@ -45,7 +45,7 @@
+ int nb_libre = 0;
+ const char* separation_line = "+---+---+---+---+---+---+---+---+\n";
+
+- fprintf( MainFD, separation_line );
++ fprintf( MainFD, "%s", separation_line );
+ for (i=7; i>=0; i--)
+ {
+ fputc( '|', MainFD );
+@@ -94,7 +94,7 @@
+ fputc( '|', MainFD );
+ }
+ fputc('\n', MainFD);
+- fprintf( MainFD, separation_line );
++ fprintf( MainFD, "%s", separation_line );
+ if (nb_libre)
+ {
+ forsythe[nb_forsythe] = '0' + nb_libre;
+@@ -224,7 +224,7 @@
+ {
+ char s[12];
+
+- fprintf(MainFD, move_to_string(coup, s));
++ fprintf(MainFD, "%s", move_to_string(coup, s));
+ }
+
+ void
diff --git a/games-board/natch/natch-2.4.ebuild b/games-board/natch/natch-2.4.ebuild
index 956ab0fbef0b..b6498680f193 100644
--- a/games-board/natch/natch-2.4.ebuild
+++ b/games-board/natch/natch-2.4.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/natch/natch-2.4.ebuild,v 1.4 2014/10/10 15:25:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/natch/natch-2.4.ebuild,v 1.5 2014/10/17 06:48:11 tupone Exp $
EAPI=5
-inherit games
+inherit eutils games
MY_P="Natch-${PV}"
DESCRIPTION="A program to solve chess proof games"
@@ -20,6 +20,10 @@ RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-format.patch
+}
+
src_install() {
newgamesbin src/Natch natch
dodoc AUTHORS ChangeLog NEWS README THANKS example.txt