summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-05-07 17:17:23 +0000
committerChristoph Mende <angelos@gentoo.org>2011-05-07 17:17:23 +0000
commit705b61b5bd8cc73a95b970b59d8468fea99bcaae (patch)
treea319d81a8eb3eb70273527e773d1e61178132120 /media-sound/takcd
parentFix possible overflows (bug #337527) (diff)
downloadhistorical-705b61b5bd8cc73a95b970b59d8468fea99bcaae.tar.gz
historical-705b61b5bd8cc73a95b970b59d8468fea99bcaae.tar.bz2
historical-705b61b5bd8cc73a95b970b59d8468fea99bcaae.zip
Fix possible overflow (bug #337849)
Package-Manager: portage-2.2.0_alpha31/cvs/Linux x86_64
Diffstat (limited to 'media-sound/takcd')
-rw-r--r--media-sound/takcd/ChangeLog8
-rw-r--r--media-sound/takcd/Manifest15
-rw-r--r--media-sound/takcd/files/takcd-0.10-overflow.patch13
-rw-r--r--media-sound/takcd/takcd-0.10.ebuild7
4 files changed, 31 insertions, 12 deletions
diff --git a/media-sound/takcd/ChangeLog b/media-sound/takcd/ChangeLog
index 0e3e7fcc4ee6..637ebc21de56 100644
--- a/media-sound/takcd/ChangeLog
+++ b/media-sound/takcd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/takcd
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/takcd/ChangeLog,v 1.16 2010/12/03 00:33:13 flameeyes Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/takcd/ChangeLog,v 1.17 2011/05/07 17:17:23 angelos Exp $
+
+ 07 May 2011; Christoph Mende <angelos@gentoo.org> takcd-0.10.ebuild,
+ +files/takcd-0.10-overflow.patch:
+ Fix possible overflow (bug #337849)
03 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org> takcd-0.10.ebuild:
Rebuild with modern autotools.
diff --git a/media-sound/takcd/Manifest b/media-sound/takcd/Manifest
index 502c6c60b58e..3296fe573b37 100644
--- a/media-sound/takcd/Manifest
+++ b/media-sound/takcd/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
+AUX takcd-0.10-overflow.patch 367 RMD160 4e9a2a200452c63a525470774af4c84aae2ae41c SHA1 2d6811259b7f403e91174fa980ea9eae67992614 SHA256 a3fdf3135bed765304a87d804b8459274c4e51ccdf626328c2e45a1cf41cf922
DIST takcd-0.10.tar.gz 95457 RMD160 2784989499ba9e999b1b59c8749d702de1ba446e SHA1 a9b4e607a4c2f091d4a7c62539180d823279c45a SHA256 2871ace2ec79b09ea8eff80a2074105fdde33d3fb0a0572dc8e2dd931c8d4802
-EBUILD takcd-0.10.ebuild 661 RMD160 b05aea126f4d2d0492c9abbfc1b14be814c08de4 SHA1 c2560f9c1c06c48a51a405674fbe122bdf8c9065 SHA256 b7dc96ed2fba768c3a19249de10669f4414d8a33ed258f6b3a62dee92e4abf0b
-MISC ChangeLog 2115 RMD160 90df342103499872c01a3be603426c9a2b7c1217 SHA1 b607b9b76fed06aeac5f9f663d3e6007f90b5b4c SHA256 8ed803e75230ed21f5baa89ce0e14408a6d9d2057aa9b7fcc2a0380fd33d568d
+EBUILD takcd-0.10.ebuild 708 RMD160 cbf8374829aa49102ede9386051a485f663caf2f SHA1 657bc27d1d428871f0512d58a09b4b728a840ab4 SHA256 a909af251e81626c13bac433294c6287d9aaf4627610279fdc67f688040ee6ef
+MISC ChangeLog 2259 RMD160 ea5e5d55a6ecb7179649ce20ae419b4d9e2e3fb8 SHA1 9ab8d6acb247312771c67b0e3fe12be91ff55732 SHA256 3fd893c099587cf45b1f45fe99c2bcea947b9b49b01c9ad468ccedcdc658e28d
MISC metadata.xml 159 RMD160 568344dc99ebe68c2e2d43d268d186757532144d SHA1 3f9589301dbaa4363c56de0f309cf792d8c38b63 SHA256 eb5b8cfa9aed067cd72d6439beac2dd0abdba30248f27e4b337012b493a18369
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkz4OrYACgkQAiZjviIA2XjPQACfV0cKaGgnIQl25UYZzdpaylLr
-e7UAoMk8V7m9hXztRpkEQZE09yiVpBke
-=y0qM
+iF4EAREIAAYFAk3FfqgACgkQmWq1bYTyC0PzxgD+NcfQoO2KF1J7IvhLL/NkvxHg
+kyjF7RYJ58VS8AoHBOsA/1U/cc+q4GQ14JRgPwrVjuzN7hiKFotq3M+otgKSlHhb
+=N9fL
-----END PGP SIGNATURE-----
diff --git a/media-sound/takcd/files/takcd-0.10-overflow.patch b/media-sound/takcd/files/takcd-0.10-overflow.patch
new file mode 100644
index 000000000000..c3e7e16d286a
--- /dev/null
+++ b/media-sound/takcd/files/takcd-0.10-overflow.patch
@@ -0,0 +1,13 @@
+diff --git a/config_api.c b/config_api.c
+index b62e41c..2b6a6cf 100644
+--- a/config_api.c
++++ b/config_api.c
+@@ -41,7 +41,7 @@ static void on_change(config_t *conf)
+ int config_open(config_t *conf, const char *filename, int flag)
+ {
+ struct stat st;
+- char mode[2];
++ char mode[3];
+
+ /* set fopen() mode or return if flag is not valid */
+ if (flag == C_WRITE) {
diff --git a/media-sound/takcd/takcd-0.10.ebuild b/media-sound/takcd/takcd-0.10.ebuild
index 3f54a39c17d8..0189942608fb 100644
--- a/media-sound/takcd/takcd-0.10.ebuild
+++ b/media-sound/takcd/takcd-0.10.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/takcd/takcd-0.10.ebuild,v 1.15 2010/12/03 00:33:13 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/takcd/takcd-0.10.ebuild,v 1.16 2011/05/07 17:17:23 angelos Exp $
-inherit autotools
+inherit eutils autotools
DESCRIPTION="Command line CD player"
HOMEPAGE="http://bard.sytes.net/takcd/"
@@ -16,6 +16,7 @@ IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-overflow.patch
eautoreconf
}