Accepting request 48983 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/libevent based on submit request 48983 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libevent?expand=0&rev=15
This commit is contained in:
OBS User autobuild 2010-09-23 22:24:42 +00:00 committed by Git OBS Bridge
parent 40b32c3e06
commit 6451ba2ab4
4 changed files with 70 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82217e19edc7e433af16145a392f80773bbbc7ab0d1d57eb478c8a393c2bf25c
size 368750

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de7cc7865d16acbb65fb8463d3443f354bd3a453e5d5604b1584e351398c3064
size 371466

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Mon Jun 21 14:41:53 UTC 2010 - alexandre@exatati.com.br
- Spec file cleaned with spec-cleaner;
- Changes in 1.4.14b-stable
o Set the VERSION_INFO correctly for 1.4.14
- Changes in 1.4.14-stable
o Add a .gitignore file for the 1.4 branch. (d014edb)
o Backport evbuffer_readln(). (b04cc60 Nicholas Marriott)
o Make the evbuffer_readln backport follow the current API (c545485)
o Valgrind fix: Clear struct kevent before checking for OSX bug. (5713d5d William Ahern)
o Fix a crash when reading badly formatted resolve.conf (5b10d00 Yasuoka Masahiko)
o Fix memory-leak of signal handler array with kqueue. [backport] (01f3775)
o Update sample/signal-test.c to use newer APIs and not leak. (891765c Evan Jones)
o Correct all versions in 1.4 branch (ac0d213)
o Make evutil_make_socket_nonblocking() leave any other flags alone. (81c26ba Jardel Weyrich)
o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking(). (5f2e250 Jardel Weyrich)
o Correct a debug message in evhttp_parse_request_line (35df59e)
o Merge branch 'readln-backport' into patches-1.4 (8771d5b)
o Do not send an HTTP error when we've already closed or responded. (4fd2dd9 Pavel Plesov)
o Re-add event_siglcb; some old code _was_ still using it. :( (bd03d06)
o Make Libevent 1.4 build on win32 with Unicode enabled. (bce58d6 Brodie Thiesfield)
o Distribute nmake makefile for 1.4 (20d706d)
o do not fail while sending on http connections the client closed. (5c8b446)
o make evhttp_send() safe against terminated connections, too (01ea0c5)
o Fix a free(NULL) in min_heap.h (2458934)
o Fix memory leak when setting up priorities; reported by Alexander Drozdov (cb1a722)
o Clean up properly when adding a signal handler fails. (ae6ece0 Gilad Benjamini)
o Do not abort HTTP requests missing a reason string. (29d7b32 Pierre Phaneuf)
o Fix compile warning in http.c (906d573)
o Define _REENTRANT as needed on Solaris, elsewhere (6cbea13)
- Changes in 1.4.13-stable:
o If the kernel tells us that there are a negative number of bytes to read from a socket, do not believe it. Fixes bug 2841177; found by Alexander Pronchenkov.
o Do not allocate the maximum event queue and fd array for the epoll backend at startup. Instead, start out accepting 32 events at a time, and double the queue's size when it seems that the OS is generating events faster than we're requesting them. Saves up to 512K per epoll-based event_base. Resolves bug 2839240.
o Fix compilation on Android, which forgot to define fd_mask in its sys/select.h
o Do not drop data from evbuffer when out of memory; reported by Jacek Masiulaniec
o Rename our replacement compat/sys/_time.h header to avoid build a conflict on HPUX; reported by Kathryn Hogg.
o Build kqueue.c correctly on GNU/kFreeBSD platforms. Patch pulled upstream from Debian.
o Fix a problem with excessive memory allocation when using multiple event priorities.
o When running set[ug]id, don't check the environment. Based on a patch from OpenBSD.
-------------------------------------------------------------------
Wed Oct 28 17:39:29 UTC 2009 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libevent (Version 1.4.12)
# spec file for package libevent (Version 1.4.14b)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 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
@ -18,25 +18,23 @@
Name: libevent
Url: http://monkey.org/~provos/libevent/
Summary: Library Providing an Event Handling API
Version: 1.4.12
Version: 1.4.14b
Release: 1
License: BSD3c(or similar)
Summary: Library Providing an Event Handling API
Url: http://monkey.org/~provos/libevent/
Group: Development/Libraries/C and C++
License: BSD 3-clause (or similar)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %fillup_prereq %insserv_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2
PreReq: %fillup_prereq
PreReq: %insserv_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The libevent library provides a mechanism to execute a function when a
specific event on a file descriptor occurs or after a given time has
passed.
Authors:
Author:
--------
Nils Provos <provos@citi.umich.edu>
@ -44,12 +42,12 @@ Authors:
%define debug_package_requires %{library_name} = %{version}-%{release}
%package -n libevent-1_4-2
License: BSD 3-clause (or similar)
Group: Development/Libraries/C and C++
Provides: %{name} = %{version}-%{release}
Obsoletes: %{name} <= %{version}
License: BSD3c(or similar)
#
Summary: Shared libraries from libevent
Group: Development/Libraries/C and C++
Provides: %{name} = %{version}
Obsoletes: %{name} <= %{version}
%description -n libevent-1_4-2
The libevent library provides a mechanism to execute a function when a
@ -58,21 +56,20 @@ passed.
This package holds the shared libraries for libevent.
Authors:
Author:
--------
Nils Provos <provos@citi.umich.edu>
%package devel
License: BSD 3-clause (or similar)
License: BSD3c(or similar)
#
Summary: Development files for libevent
Group: Development/Libraries/C and C++
Requires: %{library_name} = %{version} glibc-devel
Requires: %{library_name} = %{version}
Requires: glibc-devel
Provides: %{name}:/usr/include/event.h
# both have /usr/include/event.h
Conflicts: libev-devel
#
Summary: Development files for libevent
%description devel
The libevent library provides a mechanism to execute a function when a
@ -81,9 +78,7 @@ passed.
This package holds the development files for libevent.
Authors:
Author:
--------
Nils Provos <provos@citi.umich.edu>
@ -96,11 +91,11 @@ autoreconf -i -f
%{__make} %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%makeinstall
%{__rm} -v %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%post -n %{library_name} -p /sbin/ldconfig