summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-03-21 11:22:35 +0000
committerJohannes Huber <johu@gentoo.org>2012-03-21 11:22:35 +0000
commit012b900fdcb42a5c2ef992472059c9cc23d14c61 (patch)
tree6d2edd43b35756a737038e42cc37615e44dcb1a0 /dev-libs
parentold (diff)
downloadgentoo-2-012b900fdcb42a5c2ef992472059c9cc23d14c61.tar.gz
gentoo-2-012b900fdcb42a5c2ef992472059c9cc23d14c61.tar.bz2
gentoo-2-012b900fdcb42a5c2ef992472059c9cc23d14c61.zip
Version bump. Upstream security bug fix release. Fixes CVE-2012-1162, CVE-2012-1163. Bug #409117.
(Portage version: 2.2.0_alpha93/cvs/Linux i686)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libzip/ChangeLog8
-rw-r--r--dev-libs/libzip/libzip-0.10.1.ebuild48
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-libs/libzip/ChangeLog b/dev-libs/libzip/ChangeLog
index 1cc1c7f60c3c..3fcd122b20e1 100644
--- a/dev-libs/libzip/ChangeLog
+++ b/dev-libs/libzip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libzip
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libzip/ChangeLog,v 1.36 2012/03/03 13:19:31 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libzip/ChangeLog,v 1.37 2012/03/21 11:22:35 johu Exp $
+
+*libzip-0.10.1 (21 Mar 2012)
+
+ 21 Mar 2012; Johannes Huber <johu@gentoo.org> +libzip-0.10.1.ebuild:
+ Version bump. Upstream security bug fix release. Fixes CVE-2012-1162,
+ CVE-2012-1163. Bug #409117.
03 Mar 2012; Johannes Huber <johu@gentoo.org> -libzip-0.10.ebuild:
Remove old.
diff --git a/dev-libs/libzip/libzip-0.10.1.ebuild b/dev-libs/libzip/libzip-0.10.1.ebuild
new file mode 100644
index 000000000000..36c79feb1181
--- /dev/null
+++ b/dev-libs/libzip/libzip-0.10.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libzip/libzip-0.10.1.ebuild,v 1.1 2012/03/21 11:22:35 johu Exp $
+
+EAPI=4
+
+MY_P=${P/_}
+inherit autotools-utils
+
+DESCRIPTION="Library for manipulating zip archives"
+HOMEPAGE="http://www.nih.at/libzip/"
+SRC_URI="http://www.nih.at/libzip/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="static-libs"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+DOCS=( NEWS README THANKS AUTHORS )
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.10_rc1-fix_headers.patch"
+ "${FILESDIR}/${PN}-0.10-fix_pkgconfig.patch"
+)
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_prepare() {
+ autotools-utils_src_prepare
+ # run due to fix_headers patch
+ AT_NOELIBTOOLIZE=yes eautoreconf
+ #elibtoolize # FreeBSD .so version
+
+ # fix test return state
+ sed -i \
+ -e 's:19/2:19/0:' \
+ regress/open_nonarchive.test || die
+}
+
+src_install() {
+ autotools-utils_src_install
+ remove_libtool_files all
+}