diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-02-20 14:09:26 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-02-20 14:09:26 +0000 |
commit | c0211133f1010adc62c3c29dc599072942f9ad75 (patch) | |
tree | f131d5d0af5e2d443e75d4a5f1f9aa739345239b /app-text/rman | |
parent | better Description (diff) | |
download | gentoo-2-c0211133f1010adc62c3c29dc599072942f9ad75.tar.gz gentoo-2-c0211133f1010adc62c3c29dc599072942f9ad75.tar.bz2 gentoo-2-c0211133f1010adc62c3c29dc599072942f9ad75.zip |
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!)
Diffstat (limited to 'app-text/rman')
-rw-r--r-- | app-text/rman/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/rman/files/rman-3.2-format-security.patch | 16 | ||||
-rw-r--r-- | app-text/rman/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/rman/rman-3.2-r1.ebuild | 34 |
4 files changed, 62 insertions, 6 deletions
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 <jlec@gentoo.org> + +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 <ottxor@gentoo.org> 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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci</herd> -<maintainer> -<email>jlec@gentoo.org</email> -</maintainer> + <herd>sci</herd> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> </pkgmetadata> 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 +} |