app-arch/gcab: security version bump 0.7 → 0.8
authorGilles Dartiguelongue <eva@gentoo.org>
Wed, 7 Feb 2018 21:40:51 +0000 (22:40 +0100)
committerGilles Dartiguelongue <eva@gentoo.org>
Wed, 7 Feb 2018 23:20:06 +0000 (00:20 +0100)
Fixes CVE-2018-5345, segfaults and some buffer overruns.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-arch/gcab/Manifest
app-arch/gcab/gcab-0.8.ebuild [new file with mode: 0644]

index e8cb2b0eafb3ecb951094502d13b8689edb8d13d..e9c0ce1d6bb53d5a173573e9181165417f517953 100644 (file)
@@ -1 +1,2 @@
 DIST gcab-0.7.tar.xz 332248 BLAKE2B ef9c03b86c0e73b94286ff30dcc41c031a91dad0b124b601adda3ccaf5ae5924c4ea4408dcc52960b641e799e1c31e8ae882a205a3707c7a5dfa796036a00dbf SHA512 db8c0b4ee2bc75b8bb540b4fe0e9304782b9848b3ab0ba3077638d13cdec652f6178206ec6474af036fba90e952ef0052dd9d19be9eb72bae97d98f8f18a0c02
+DIST gcab-0.8.tar.xz 337016 BLAKE2B 6f9ccf6d33c4bd32b6cda09083c98ee9b24ffc3b42be9019493a864011a4d3f1e2d1fa766bbdd0a5de29eb04608d91a2ad5c17aa25302e3d94d2ef6ca659d764 SHA512 044b1cbe71b08946031161ca97379df8500be5569d6f4989b8fd8f1d8c48ba0fe757306955de9137958eb870cd4024e4c56f833ce847e5a972339883b39454f2
diff --git a/app-arch/gcab/gcab-0.8.ebuild b/app-arch/gcab/gcab-0.8.ebuild
new file mode 100644 (file)
index 0000000..5de1406
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 vala
+
+DESCRIPTION="Library and tool for working with Microsoft Cabinet (CAB) files"
+HOMEPAGE="https://wiki.gnome.org/msitools"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="+introspection vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+       >=dev-libs/glib-2.32:2
+       sys-libs/zlib
+       introspection? ( >=dev-libs/gobject-introspection-0.9.4:= )
+"
+DEPEND="${RDEPEND}
+       >=dev-util/gtk-doc-am-1.14
+       >=dev-util/intltool-0.40
+       sys-devel/gettext
+       virtual/pkgconfig
+       vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+       gnome2_src_prepare
+       use vala && vala_src_prepare
+}
+
+src_configure() {
+       local myconf
+       use vala || myconf="VAPIGEN=no"
+       gnome2_src_configure \
+               --disable-static \
+               $(use_enable introspection) \
+               ${myconf}
+}