From c0211133f1010adc62c3c29dc599072942f9ad75 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 20 Feb 2015 14:09:26 +0000 Subject: Bump to EAPI=5 and fix format-security problems, #521006 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) --- app-text/rman/ChangeLog | 10 +++++-- app-text/rman/files/rman-3.2-format-security.patch | 16 ++++++++++ app-text/rman/metadata.xml | 8 ++--- app-text/rman/rman-3.2-r1.ebuild | 34 ++++++++++++++++++++++ 4 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 app-text/rman/files/rman-3.2-format-security.patch create mode 100644 app-text/rman/rman-3.2-r1.ebuild (limited to 'app-text/rman') diff --git a/app-text/rman/ChangeLog b/app-text/rman/ChangeLog index 066e948757b2..5323c77c5d3e 100644 --- a/app-text/rman/ChangeLog +++ b/app-text/rman/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/rman -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/rman/ChangeLog,v 1.39 2014/03/13 20:00:37 ottxor Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/rman/ChangeLog,v 1.40 2015/02/20 14:09:26 jlec Exp $ + +*rman-3.2-r1 (20 Feb 2015) + + 20 Feb 2015; Justin Lecher + +files/rman-3.2-format-security.patch, +rman-3.2-r1.ebuild, metadata.xml: + Bump to EAPI=5 and fix format-security problems, #521006 13 Mar 2014; Christoph Junghans rman-3.2.ebuild: added ~x64-macos (tested by me) diff --git a/app-text/rman/files/rman-3.2-format-security.patch b/app-text/rman/files/rman-3.2-format-security.patch new file mode 100644 index 000000000000..77070026bdb9 --- /dev/null +++ b/app-text/rman/files/rman-3.2-format-security.patch @@ -0,0 +1,16 @@ + rman.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rman.c b/rman.c +index d09e547..e5fc88d 100644 +--- a/rman.c ++++ b/rman.c +@@ -1372,7 +1372,7 @@ HTML(enum command cmd) { + break; + case BEGINSECTION: break; + case ENDSECTION: +- if (sectheadid==NAME && message!=NULL) printf(message); ++ if (sectheadid==NAME && message!=NULL) printf("%s", message); + break; + case BEGINSUBSECTION: break; + case ENDSUBSECTION: break; diff --git a/app-text/rman/metadata.xml b/app-text/rman/metadata.xml index f5aab48dcd5a..5ef07a39e7e1 100644 --- a/app-text/rman/metadata.xml +++ b/app-text/rman/metadata.xml @@ -1,8 +1,8 @@ -sci - -jlec@gentoo.org - + sci + + jlec@gentoo.org + diff --git a/app-text/rman/rman-3.2-r1.ebuild b/app-text/rman/rman-3.2-r1.ebuild new file mode 100644 index 000000000000..a448f398d7a0 --- /dev/null +++ b/app-text/rman/rman-3.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/rman/rman-3.2-r1.ebuild,v 1.1 2015/02/20 14:09:26 jlec Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="PolyGlotMan man page translator AKA RosettaMan" +HOMEPAGE="http://sourceforge.net/projects/polyglotman/" +SRC_URI="mirror://sourceforge/polyglotman/${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RESTRICT="test" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.diff \ + "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${P}-format-security.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 +} -- cgit v1.2.3-65-gdbad