summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2007-06-13 18:42:05 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2007-06-13 18:42:05 +0000
commit86adc3e830bf57ec836b08eb761a33944855a1d3 (patch)
treee4ef14b8a161fa14d4b9f8dd972fe9c74b34e594 /media-libs/libexif
parentAdd ~alpha (diff)
downloadgentoo-2-86adc3e830bf57ec836b08eb761a33944855a1d3.tar.gz
gentoo-2-86adc3e830bf57ec836b08eb761a33944855a1d3.tar.bz2
gentoo-2-86adc3e830bf57ec836b08eb761a33944855a1d3.zip
Version bump for security bug #181922 - CVE-2006-4168
(Portage version: 2.1.2.9)
Diffstat (limited to 'media-libs/libexif')
-rw-r--r--media-libs/libexif/ChangeLog8
-rw-r--r--media-libs/libexif/files/digest-libexif-0.6.163
-rw-r--r--media-libs/libexif/libexif-0.6.16.ebuild64
3 files changed, 74 insertions, 1 deletions
diff --git a/media-libs/libexif/ChangeLog b/media-libs/libexif/ChangeLog
index 30af3b8194a0..4ffabc73b265 100644
--- a/media-libs/libexif/ChangeLog
+++ b/media-libs/libexif/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libexif
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.78 2007/06/05 08:51:04 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.79 2007/06/13 18:42:05 eradicator Exp $
+
+*libexif-0.6.16 (13 Jun 2007)
+
+ 13 Jun 2007; Jeremy Huddleston <eradicator@gentoo.org>
+ +libexif-0.6.16.ebuild:
+ Version bump for security bug #181922 - CVE-2006-4168
05 Jun 2007; Jeremy Huddleston <eradicator@gentoo.org>
-libexif-0.5.12-r3.ebuild, libexif-0.6.12-r4.ebuild,
diff --git a/media-libs/libexif/files/digest-libexif-0.6.16 b/media-libs/libexif/files/digest-libexif-0.6.16
new file mode 100644
index 000000000000..03112b7a85fd
--- /dev/null
+++ b/media-libs/libexif/files/digest-libexif-0.6.16
@@ -0,0 +1,3 @@
+MD5 deee153b1ded5a944ea05d041d959eca libexif-0.6.16.tar.bz2 691528
+RMD160 3754861ad0550f9d77b0aa745dcb3d394ec658ed libexif-0.6.16.tar.bz2 691528
+SHA256 db6885d5e40e3a273ff8bb9708ab739c8ace3c5abdd75509eec8ea31a31aac43 libexif-0.6.16.tar.bz2 691528
diff --git a/media-libs/libexif/libexif-0.6.16.ebuild b/media-libs/libexif/libexif-0.6.16.ebuild
new file mode 100644
index 000000000000..d7ffaa53b672
--- /dev/null
+++ b/media-libs/libexif/libexif-0.6.16.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.16.ebuild,v 1.1 2007/06/13 18:42:05 eradicator Exp $
+
+inherit eutils libtool
+
+DESCRIPTION="Library for parsing, editing, and saving EXIF data"
+HOMEPAGE="http://libexif.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc nls"
+
+DEPEND="dev-util/pkgconfig
+ doc? ( app-doc/doxygen )
+ nls? ( sys-devel/gettext )"
+
+RDEPEND="nls? ( virtual/libintl )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-0.6.13-pkgconfig.patch
+
+ # We do this for sane .so versioning on FreeBSD
+ elibtoolize
+}
+
+src_compile() {
+ local my_conf="--with-doc-dir=/usr/share/doc/${PF}"
+ use nls || my_conf="${my_conf} --without-libintl-prefix"
+ econf $(use_enable nls) $(use_enable doc docs) \
+ --with-pic --disable-rpath ${my_conf} || die
+ emake || die
+}
+
+src_install() {
+ dodir /usr/$(get_libdir)
+ dodir /usr/include/libexif
+ use nls && dodir /usr/share/locale
+ use doc && dodir /usr/share/doc/${PF}
+ dodir /usr/$(get_libdir)/pkgconfig
+
+ make DESTDIR="${D}" install || die
+
+ dodoc ChangeLog README
+
+ # installs a blank directory for whatever broken reason
+ use nls || rm -rf ${D}usr/share/locale
+}
+
+pkg_postinst() {
+ elog "If you are upgrading from a version of libexif older than 0.6.13-r2,"
+ elog "you will need to do the following to rebuild dependencies:"
+ elog "# revdep-rebuild --soname libexif.so.9"
+ elog "# revdep-rebuild --soname libexif.so.10"
+ elog ""
+ elog "Note, it is actually safe to create a symlink from libexif.so.10 to"
+ elog "libexif.so.12 if you need to during the update."
+}
+