diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2014-08-30 18:29:32 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2014-08-30 18:29:32 +0000 |
commit | d00a6ca68d97abdd0f6e09396bc2c9d57c43a772 (patch) | |
tree | ff93277057c20c454e3934fb431470f7174f2b45 /app-crypt | |
parent | #489240: version bump to 2.1.5 + EAPI bump to 5 (diff) | |
download | gentoo-2-d00a6ca68d97abdd0f6e09396bc2c9d57c43a772.tar.gz gentoo-2-d00a6ca68d97abdd0f6e09396bc2c9d57c43a772.tar.bz2 gentoo-2-d00a6ca68d97abdd0f6e09396bc2c9d57c43a772.zip |
Resolve format-security issue, bug#521000
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/md6sum/ChangeLog | 11 | ||||
-rw-r--r-- | app-crypt/md6sum/files/md6sum-1.0-format-security.patch | 26 | ||||
-rw-r--r-- | app-crypt/md6sum/md6sum-1.0-r2.ebuild | 27 |
3 files changed, 61 insertions, 3 deletions
diff --git a/app-crypt/md6sum/ChangeLog b/app-crypt/md6sum/ChangeLog index a2127776419e..a675a2f07ac7 100644 --- a/app-crypt/md6sum/ChangeLog +++ b/app-crypt/md6sum/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/md6sum -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/md6sum/ChangeLog,v 1.5 2012/11/19 22:43:39 tomka Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/md6sum/ChangeLog,v 1.6 2014/08/30 18:29:32 alonbl Exp $ + +*md6sum-1.0-r2 (30 Aug 2014) + + 30 Aug 2014; Alon Bar-Lev <alonbl@gentoo.org> + +files/md6sum-1.0-format-security.patch, +md6sum-1.0-r2.ebuild: + Resolve format-security issue, bug#521000 19 Nov 2012; Thomas Kahle <tomka@gentoo.org> md6sum-1.0-r1.ebuild: marked x86 per bug 441954 @@ -24,4 +30,3 @@ +files/md6sum-1.0-ldflags.patch, +metadata.xml: Initial commit of md6sum package. Thanks to AlphatPC@gmail.com for the original ebuild. Bug #353379 - diff --git a/app-crypt/md6sum/files/md6sum-1.0-format-security.patch b/app-crypt/md6sum/files/md6sum-1.0-format-security.patch new file mode 100644 index 000000000000..061ec7b5f1b4 --- /dev/null +++ b/app-crypt/md6sum/files/md6sum-1.0-format-security.patch @@ -0,0 +1,26 @@ +From 95833e409336bd0a4a656b7e2d0a9598dfe3f546 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sat, 30 Aug 2014 21:25:23 +0300 +Subject: [PATCH] build: fix warning of format-security + +Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> +--- + md6sum.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/md6sum.c b/md6sum.c +index 2401a5a..0338d30 100644 +--- a/md6sum.c ++++ b/md6sum.c +@@ -428,7 +428,7 @@ void optd(char *optstr) +
+ void opth()
+ { /* print md6sum help string */
+- printf(help_string);
++ printf("%s", help_string);
+ }
+
+ void optK(char *optstr)
+-- +1.8.5.5 + diff --git a/app-crypt/md6sum/md6sum-1.0-r2.ebuild b/app-crypt/md6sum/md6sum-1.0-r2.ebuild new file mode 100644 index 000000000000..436883e8f3d6 --- /dev/null +++ b/app-crypt/md6sum/md6sum-1.0-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/md6sum/md6sum-1.0-r2.ebuild,v 1.1 2014/08/30 18:29:32 alonbl Exp $ + +EAPI="5" + +inherit eutils + +DESCRIPTION="A C implementation of MD6" +HOMEPAGE="http://groups.csail.mit.edu/cis/md6" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}/${P}-ldflags.patch" + epatch "${FILESDIR}/${P}-cflags.patch" + epatch "${FILESDIR}/${P}-format-security.patch" +} + +src_install() { + default + newdoc README_Reference.txt README +} |