From 87e38b0af8cadf6802e66c67becc883c16d3982789051357f5a35fab127b1c50 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 27 Apr 2014 22:07:54 +0000 Subject: [PATCH 1/3] Obsoletes: xorg-x11-proto-devel -> Provides: xorg-x11-proto-devel OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXpm?expand=0&rev=10 --- libXpm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libXpm.spec b/libXpm.spec index 7211a3e..cbf7c09 100644 --- a/libXpm.spec +++ b/libXpm.spec @@ -1,7 +1,7 @@ # # spec file for package libXpm # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 934f302f0f2f4826b48d011dd3b3cea0613e9eb80f025a6ff28ed3dbf5953dbf Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 1 Jan 2017 20:50:29 +0000 Subject: [PATCH 2/3] - Update to version 3.5.12: * Fix abs() usage. * Fix out out boundary read on unknown colors * Gracefully handle EOF while parsing files. * Avoid OOB write when handling malicious XPM files. * Handle size_t in file/buffer length OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXpm?expand=0&rev=11 --- libXpm-3.5.11.tar.bz2 | 3 --- libXpm-3.5.12.tar.bz2 | 3 +++ libXpm.changes | 10 ++++++++++ libXpm.spec | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) delete mode 100644 libXpm-3.5.11.tar.bz2 create mode 100644 libXpm-3.5.12.tar.bz2 diff --git a/libXpm-3.5.11.tar.bz2 b/libXpm-3.5.11.tar.bz2 deleted file mode 100644 index c2e9986..0000000 --- a/libXpm-3.5.11.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c -size 443496 diff --git a/libXpm-3.5.12.tar.bz2 b/libXpm-3.5.12.tar.bz2 new file mode 100644 index 0000000..ddef1d2 --- /dev/null +++ b/libXpm-3.5.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec +size 430736 diff --git a/libXpm.changes b/libXpm.changes index 3d2b5f4..78ce8e4 100644 --- a/libXpm.changes +++ b/libXpm.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Jan 1 20:44:12 UTC 2017 - sndirsch@suse.com + +- Update to version 3.5.12: + * Fix abs() usage. + * Fix out out boundary read on unknown colors + * Gracefully handle EOF while parsing files. + * Avoid OOB write when handling malicious XPM files. + * Handle size_t in file/buffer length + ------------------------------------------------------------------- Thu Sep 12 18:38:52 UTC 2013 - zaitor@opensuse.org diff --git a/libXpm.spec b/libXpm.spec index cbf7c09..256ee36 100644 --- a/libXpm.spec +++ b/libXpm.spec @@ -1,7 +1,7 @@ # # spec file for package libXpm # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: libXpm %define lname libXpm4 -Version: 3.5.11 +Version: 3.5.12 Release: 0 Summary: X Pixmap image file format library License: MIT From d5165a9d053aa7e2dcf102312e02d771fa02b4b641e040bec8bd5dfe7863ebef Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 1 Jan 2017 21:34:14 +0000 Subject: [PATCH 3/3] - added baselibs.conf as source in specfile OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXpm?expand=0&rev=12 --- libXpm.changes | 5 +++++ libXpm.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/libXpm.changes b/libXpm.changes index 78ce8e4..cd97377 100644 --- a/libXpm.changes +++ b/libXpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 1 21:31:52 UTC 2017 - sndirsch@suse.com + +- added baselibs.conf as source in specfile + ------------------------------------------------------------------- Sun Jan 1 20:44:12 UTC 2017 - sndirsch@suse.com diff --git a/libXpm.spec b/libXpm.spec index 256ee36..96c6b3f 100644 --- a/libXpm.spec +++ b/libXpm.spec @@ -28,6 +28,7 @@ Url: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXpm #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXpm/ Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 +Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool BuildRequires: pkgconfig