summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-03-27 15:59:22 +0000
committerTim Harder <radhermit@gentoo.org>2014-03-27 15:59:22 +0000
commit4f1097d0c9d5e556002fc637b35ae379881393c0 (patch)
tree578e97730b00f2a895bcf5237c6c2419907a7d71 /dev-libs/libyaml
parentBump to latest available "legacy" version. (diff)
downloadgentoo-2-4f1097d0c9d5e556002fc637b35ae379881393c0.tar.gz
gentoo-2-4f1097d0c9d5e556002fc637b35ae379881393c0.tar.bz2
gentoo-2-4f1097d0c9d5e556002fc637b35ae379881393c0.zip
Security bump (bug #505948).
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-libs/libyaml')
-rw-r--r--dev-libs/libyaml/ChangeLog7
-rw-r--r--dev-libs/libyaml/libyaml-0.1.6.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-libs/libyaml/ChangeLog b/dev-libs/libyaml/ChangeLog
index c572fd26687b..7286515306f6 100644
--- a/dev-libs/libyaml/ChangeLog
+++ b/dev-libs/libyaml/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libyaml
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libyaml/ChangeLog,v 1.46 2014/02/27 14:29:26 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libyaml/ChangeLog,v 1.47 2014/03/27 15:59:22 radhermit Exp $
+
+*libyaml-0.1.6 (27 Mar 2014)
+
+ 27 Mar 2014; Tim Harder <radhermit@gentoo.org> +libyaml-0.1.6.ebuild:
+ Security bump (bug #505948).
27 Feb 2014; Sergey Popov <pinkbyte@gentoo.org> -libyaml-0.1.4.ebuild:
Security cleanup, wrt bug #499920
diff --git a/dev-libs/libyaml/libyaml-0.1.6.ebuild b/dev-libs/libyaml/libyaml-0.1.6.ebuild
new file mode 100644
index 000000000000..7f98c7709fe9
--- /dev/null
+++ b/dev-libs/libyaml/libyaml-0.1.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libyaml/libyaml-0.1.6.ebuild,v 1.1 2014/03/27 15:59:22 radhermit Exp $
+
+EAPI=5
+
+inherit autotools-utils eutils libtool
+
+MY_P="${P/lib}"
+
+DESCRIPTION="YAML 1.1 parser and emitter written in C"
+HOMEPAGE="http://pyyaml.org/wiki/LibYAML"
+SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc examples test static-libs"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="README"
+
+src_prepare() {
+ # conditionally remove tests
+ if ! use test; then
+ sed -i -e 's: tests::g' Makefile* || die
+ fi
+ elibtoolize # for FreeMiNT
+}
+
+src_install() {
+ autotools-utils_src_install
+ use doc && dohtml -r doc/html/.
+ if use examples ; then
+ docompress -x /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins tests/example-*.c
+ fi
+}