Sync from SUSE:SLFO:Main libICE revision d4d512fc4d3bb8d244447b07e23b403b

This commit is contained in:
Adrian Schröter 2024-05-03 14:21:31 +02:00
commit cc940cb5c3
5 changed files with 365 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

8
baselibs.conf Normal file
View File

@ -0,0 +1,8 @@
libICE6
provides "xorg-x11-libICE-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libICE-<targettype> < 7.6_<version>"
libICE-devel
requires -libICE-<targettype>
requires "libICE6-<targettype> = <version>"
provides "xorg-x11-libICE-devel-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libICE-devel-<targettype> < 7.6_<version>"

BIN
libICE-1.1.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

227
libICE.changes Normal file
View File

@ -0,0 +1,227 @@
-------------------------------------------------------------------
Thu Dec 8 20:57:53 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.1.1:
* ICEmsg: Fix C++ interoperability error due to static_assert define
- drop U_ICEmsg-Fix-C-interoperability-error-due-to-static_as.patch (upstream)
-------------------------------------------------------------------
Tue Dec 6 10:20:56 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- U_ICEmsg-Fix-C-interoperability-error-due-to-static_as.patch
* needed by plasma5-workspace
-------------------------------------------------------------------
Sun Dec 4 22:56:03 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.1.0
* Fix spelling/wording issues
* gitlab CI: add a basic build test
* configure: check for libbsd before libxtrans checks for strlcpy
* ConnectToPeer: be doubly sure that use-after-free doesn't happen
* ProcessAuthReply: rename status variable to avoid shadowing
* Only link to libbsd for arc4random_buf if it is not found in libc
* IceGetHeaderExtra: only include extra space in outbufptr if there's room
* Refactor Fatal I/O error handling into a common function
* IceFlush: signal fatal I/O error if bufptr is past end of buffer
* ICEmsg.h: Add static asserts that message header length <= ICE_OUTBUFSIZE
* Handle arrays too large to fit in iceConn buffers
* Only link with libbsd if needed for arc4random_buf() or getentropy()
* Avoid -Wdeclaration-after-statement warnings from static_assert
* ice.pc.in: "Libs.Private" should be "Libs.private"
* configure: Use AC_SYS_LARGEFILE to enable large file support
-------------------------------------------------------------------
Mon Jul 15 09:45:31 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.10
* This release provides a fix for CVE-2017-2626 for platforms
which don't have arc4random_buf() in their default libraries
but do have getentropy(), such as Linux platforms with a kernel
version of 3.17 or newer and a glibc version of 2.25 or newer.
(libICE 1.0.9 already ensured that arc4random_buf() is used on
platforms that have it to provide sufficient entropy in ICE
key generation, but left other platforms with the weaker methods.
Linux platforms could also have linked against libbsd to use
arc4random_buf() with libICE 1.0.9 for stronger keys.)
- supersedes U_Use-getentropy-if-arc4random_buf-is-not-available.patch
-------------------------------------------------------------------
Sun Jun 11 18:00:24 UTC 2017 - sndirsch@suse.com
- U_Use-getentropy-if-arc4random_buf-is-not-available.patch
* Use getentropy() if arc4random_buf() is not available
(bnc#1025068, CVE-2017-2626)
- tagged baselibs.conf as source in specfile
-------------------------------------------------------------------
Tue Jun 10 15:32:39 UTC 2014 - sndirsch@suse.com
- Update to version 1.0.9
* This release fixes a number of issues found by static analysis and
compiler warnings, and other minor code cleanups. On systems with
arc4random() in either libc or libbsd, it will now use that function
for generating authentication cookies.
-------------------------------------------------------------------
Sun Feb 17 17:21:53 UTC 2013 - jengelh@inai.de
- Use more robust make install call
-------------------------------------------------------------------
Wed Apr 11 15:03:16 UTC 2012 - vuntz@opensuse.org
- Update to version 1.0.8:
+ Fix a number of issues found by static analysis and compiler
warnings
+ Large set of cleanups and improvements to the DocBook format
specs for the protocol and docs for the API.
-------------------------------------------------------------------
Sat Feb 11 18:23:28 UTC 2012 - jengelh@medozas.de
- Fix typo in baselibs.conf: should be libICE, not libFS
- Provide package descriptions and update homepage URL
- Add Obsoletes/Provides to baselibs.conf as well
-------------------------------------------------------------------
Fri Feb 10 15:57:48 UTC 2012 - sndirsch@suse.com
- back to previous provides/obsoletes for xorg-x11-libICE(-devel)
-------------------------------------------------------------------
Fri Feb 10 14:22:37 UTC 2012 - sndirsch@suse.com
- provide/obsolete xorg-x11-libICE(-devel), no matter which version
number
-------------------------------------------------------------------
Thu Feb 9 18:26:26 UTC 2012 - jengelh@medozas.de
- Rename xorg-x11-libICE to libICE and utilize shlib policy
-------------------------------------------------------------------
Sun Nov 20 06:48:18 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Tue Dec 21 02:41:53 UTC 2010 - sndirsch@novell.com
- bumped version number to 7.6
-------------------------------------------------------------------
Wed Dec 1 09:29:44 CET 2010 - jslaby@suse.de
- revert 'export only public API symbols'
- it breaks everything
-------------------------------------------------------------------
Tue Nov 30 14:48:53 UTC 2010 - cristian.rodriguez@opensuse.org
- export only public API symbols
- disable silent rules, defeat the purpose of post build checks
-------------------------------------------------------------------
Wed Oct 20 20:59:47 UTC 2010 - sndirsch@novell.com
- libICE-1.0.7
-------------------------------------------------------------------
Sun Apr 4 15:29:28 CEST 2010 - sndirsch@suse.de
- libICE 1.0.6
- bumped version number to 7.5
-------------------------------------------------------------------
Mon Dec 14 23:57:26 CET 2009 - jengelh@medozas.de
- add baselibs.conf as a source
-------------------------------------------------------------------
Sat May 2 14:42:17 CEST 2009 - eich@suse.de
- revert static library and .la file removal
for SUSE versions <= 11.1.
-------------------------------------------------------------------
Tue Apr 21 21:41:13 CEST 2009 - crrodriguez@suse.de
- remove static libraries
-------------------------------------------------------------------
Tue Mar 3 15:44:39 CET 2009 - sndirsch@suse.de
- libICE 1.0.5
-------------------------------------------------------------------
Thu Sep 11 14:20:43 CEST 2008 - sndirsch@suse.de
- bumped release number to 7.4
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Tue Jan 1 23:21:28 CET 2008 - crrodriguez@suse.de
- fix library-without-ldconfig-* error
- add missing PreReq coreutils
-------------------------------------------------------------------
Sat Sep 29 12:22:28 CEST 2007 - sndirsch@suse.de
- bumped version to 7.3
-------------------------------------------------------------------
Fri Aug 24 15:43:39 CEST 2007 - sndirsch@suse.de
- libICE 1.0.4
* Coverity #1085: Double free of pointer "*listenObjsRet"
* Coverity #1086: Double free of pointer "*listenObjsRet"
* Convert authutil.c static helpers to ANSI C prototypes to clear
sparse warnings
* Provide ANSI C prototypes for more static functions
* Replace many malloc(strlen()); strcpy() pairs with strdup()
-------------------------------------------------------------------
Sat Dec 16 06:03:37 CET 2006 - sndirsch@suse.de
- update to release 1.0.3
* Makefile.am: make ChangeLog hook safer
-------------------------------------------------------------------
Tue Oct 24 17:55:34 CEST 2006 - dmueller@suse.de
- strip .la file
-------------------------------------------------------------------
Sat Oct 14 06:03:36 CEST 2006 - sndirsch@suse.de
- update to X.Org 7.2RC1
-------------------------------------------------------------------
Wed Aug 2 16:11:56 CEST 2006 - sndirsch@suse.de
- fix setup line
-------------------------------------------------------------------
Fri Jul 28 14:44:10 CEST 2006 - sndirsch@suse.de
- use "-fno-strict-aliasing"
-------------------------------------------------------------------
Thu Jul 27 11:40:28 CEST 2006 - sndirsch@suse.de
- use $RPM_OPT_FLAGS
- remove existing /usr/include/X11 symlink in %pre
-------------------------------------------------------------------
Thu Jun 22 21:23:38 CEST 2006 - sndirsch@suse.de
- created package

104
libICE.spec Normal file
View File

@ -0,0 +1,104 @@
#
# spec file for package libICE
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname libICE6
Name: libICE
Version: 1.1.1
Release: 0
Summary: X11 Inter-Client Exchange Library
License: MIT
Group: Development/Libraries/C and C++
URL: https://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libICE
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libICE/
Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
Source1: baselibs.conf
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros) >= 1.12
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(xtrans)
%description
There are numerous possible inter-client protocols, with many
similarities and common needs - authentication, version negotiation,
byte order negotiation, and so on.
The Inter-Client Exchange (ICE) protocol is intended to provide a
framework for building such protocols, allowing them to make use of
common negotiation mechanisms and to be multiplexed over a single
transport connection.
%package -n %{lname}
Summary: X11 Inter-Client Exchange Library
# O/P added for 12.2
Group: System/Libraries
Provides: xorg-x11-libICE = 7.6_%{version}-%{release}
Obsoletes: xorg-x11-libICE < 7.6_%{version}-%{release}
%description -n %{lname}
The Inter-Client Exchange (ICE) protocol is intended to provide a
framework for building such protocols, allowing them to make use of
common negotiation mechanisms and to be multiplexed over a single
transport connection.
%package devel
Summary: Development files for the X11 Inter-Client Exchange Library
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
# O/P added for 12.2
Provides: xorg-x11-libICE-devel = 7.6_%{version}-%{release}
Obsoletes: xorg-x11-libICE-devel < 7.6_%{version}-%{release}
%description devel
The Inter-Client Exchange (ICE) protocol is intended to provide a
framework for building such protocols, allowing them to make use of
common negotiation mechanisms and to be multiplexed over a single
transport connection.
This package contains the development headers for the library found
in %{lname}.
%prep
%setup -q
%build
autoreconf -fi
%configure --docdir=%{_docdir}/%{name} --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname}
%license COPYING
%{_libdir}/libICE.so.6*
%files devel
%{_includedir}/X11/*
%{_libdir}/libICE.so
%{_libdir}/pkgconfig/ice.pc
%{_docdir}/%{name}
%changelog