forked from pool/libevent
Accepting request 459639 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/459639 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libevent?expand=0&rev=33
This commit is contained in:
@@ -1 +0,0 @@
|
||||
libevent-2_0-5
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
|
||||
size 854987
|
@@ -1,14 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1
|
||||
|
||||
iQGVAwUAVKqqxJEDl9iNKTGaAQLv5Qv+MdcKNtyQrxQIDCqig3P7FyzWTfltwjin
|
||||
76pBCqZONHyWsqD9+/gHBu3lyqN/T2wcyYQevt2M/qVn5xdATL5Tru6le3tywI+5
|
||||
/2jF3yZMVoAFAQ1dt3KIeNYIuMSiFHAMobhrBtaBMuCV9uV5Ds+6Vl0Krc7aeEwR
|
||||
p6DECS5fC/0P58zbbTO+zat1Pg9e7Q2n1DD60PYmqfwwvP/O1HNfPVcWHXgdaxIq
|
||||
6oEgwErljmzTXY4qiZ+q7pqI73Mvy6qfBMpUcwxHgKrtrmeHlIO9nu693TK4r/HK
|
||||
ACnaBo6LQqepswLQXY/ngGa7K0E4m+e4Ke67sXro97Jvqa2NBY9eb7WdEamxlVO6
|
||||
2NH1MG+kxJx4Z4C2RhuGQ0pokOCk1oXU4E7dUdd/xFiDhkTqvH0kgnPV71qYOCow
|
||||
FtPiNLAfohhSYuFZSyJiVo7J9ICsrzFDkONqDoryiLundJDcQoomakFM1wc+IalC
|
||||
KhRl5ePROXSJUmP+d5XlN/mxgPN+V8i0
|
||||
=gVJN
|
||||
-----END PGP SIGNATURE-----
|
3
libevent-2.1.8-stable.tar.gz
Normal file
3
libevent-2.1.8-stable.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2
|
||||
size 1026485
|
11
libevent-2.1.8-stable.tar.gz.asc
Normal file
11
libevent-2.1.8-stable.tar.gz.asc
Normal file
@@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEnjrIOieXS4TRs0AduGCGhI74aG0FAliON3sACgkQuGCGhI74
|
||||
aG3xjAf9HAOYjCEfqzHFsEmycNOJ7QJRmd7yN+erfP07ftMFOMePXfhRCbFXqooP
|
||||
hqZC2pErS8cHaqG3CVWXO6HeQy9f7Eazp/ssO69NW71XEdynSMAxNYi9nY+zGUjS
|
||||
oecSx2fZmH8+yN4ZdXvtA6UvWoOEFw8jBQShHSHvz6Hk3kBK5aAKuogtmHe3Yp9K
|
||||
ihKKm3SNBJK8nkf+U/6Qa5KSlMZmhagpiXnN/jMiYlCGcHSdj7OFr5pezdTRlLrp
|
||||
EO/dTQW4x9M/gqA2KO+jbCgGsyF1yKPYTKo9BKhkmiQledrnL4Emky4inI+XvKDe
|
||||
tY/5jjUxATojzOKDsYqJWliZH6NjMA==
|
||||
=aV3q
|
||||
-----END PGP SIGNATURE-----
|
342
libevent.changes
342
libevent.changes
@@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 20 14:13:21 UTC 2017 - ddiss@suse.com
|
||||
|
||||
- Update to 2.1.8 stable
|
||||
* Fix _FILE_OFFSET_BITS redefinition
|
||||
* evutil_time: include <unistd.h> when there is only sleep()/usleep()
|
||||
* test/dns: run async resolving after sync one (to avoid timeouts)
|
||||
* test/http: turn off some tests that based on backlog filling
|
||||
* Fix incorrect MIME type
|
||||
- Add libevent-2.1.8-stable.tar.gz.asc tarball GPG signature
|
||||
* Replace keyring with Azat Khuzhin's public key
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 13:32:16 UTC 2016 - ddiss@suse.com
|
||||
|
||||
- Update to 2.1.7 rc
|
||||
* Fix cmake -DEVENT__COVERAGE=ON
|
||||
* use ev_uint16_t instead of unsigned short for port
|
||||
* poll: Prevent libevent from spinning if POLLNVAL occurs
|
||||
* Make it build using OpenSSL 1.1.0
|
||||
* Don't call BIO_number_{read|written} on NULL BIOs.
|
||||
* Switch from a 512 to 2048-bit RSA key.
|
||||
* Ignore temporary configure files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 6 13:23:28 UTC 2016 - ddiss@suse.com
|
||||
|
||||
- Fix pkg-config/pkgconfig BuildRequires for Fedora.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 09:10:46 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
@@ -62,6 +91,319 @@ Sun Feb 22 15:47:36 UTC 2015 - benoit.monin@gmx.fr
|
||||
* Fix a typo in a doxygen comment
|
||||
- update source URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 18:01:22 UTC 2015 - ddiss@suse.com
|
||||
|
||||
- Update to 2.1.5 beta
|
||||
* Avoid integer overflow bugs in evbuffer_add() and related
|
||||
functions. See CVE-2014-6272 advisory for more information.
|
||||
* Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT
|
||||
* Fix use-after-free error in EV_CLOSURE_EVENT callback
|
||||
* Fix race caused by event_active
|
||||
* Fix evbuffer_peek() with len==-1 and start_at non-NULL.
|
||||
* Consistently check for failure from evbuffer_pullup()
|
||||
* Fix evbuffer_peek() with len==-1 and start_at non-NULL.
|
||||
* be async: avoid double close()
|
||||
* Avoid double free for filterevents that use BEV_OPT_CLOSE_ON_FREE
|
||||
* fix bufferevent setwatermark suspend_read
|
||||
* bufferevent_openssl: reset fd_is_set when setfd with -1 is called
|
||||
* Add evhttp_connection_set_family() to set addrinfo->family for
|
||||
DNS requests
|
||||
* Implement interface that provides the ability to have an outbound
|
||||
evhttp_connection free itself once all requests have completed
|
||||
* Implement new/free for struct evutil_monotonic_timer and export
|
||||
monotonic time functions
|
||||
* Fix a crash in evdns related to shutting down evdns
|
||||
* evdns: avoid read-after-free in evdns_request_timeout_callback()
|
||||
* Correctly handle allocation failures in evdns_getaddrinfo
|
||||
* evdns: fix EVDNS_BASE_DISABLE_WHEN_INACTIVE in case
|
||||
retransmit/retry
|
||||
* evdns: add retry/reissue tests for
|
||||
EVDNS_BASE_DISABLE_WHEN_INACTIVE
|
||||
* evdns: fail ns after we are failing/retrasmitting request
|
||||
* http: reset connection before installing retry timer (fix http
|
||||
retries handling)
|
||||
* regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress}
|
||||
tests
|
||||
* use correct tt macro for pointer compare
|
||||
* regress_buffer: fix 'memcmp' compare size
|
||||
* Use a more precise calculation for max in time-ratelim.c
|
||||
* Make a buffer larger in the tests to avoid a scary
|
||||
evbuffer_copyout_from()
|
||||
* Make http-server.c output into good html5
|
||||
* Use FindClose for handle from FindFirstFile in http-server.c
|
||||
* https-client: add -retries argument, for connection retries
|
||||
* Fix mixed declarations and code (forbidden by ISO C90)
|
||||
* tree.h: drop duplicated content of tree.h
|
||||
* evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE
|
||||
* Change return type of evutil_load_windows_system_library_ to
|
||||
HMODULE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 21 13:19:13 UTC 2014 - ddiss@suse.com
|
||||
|
||||
- Fix build on non-SUSE rpm based platforms.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 21 12:49:07 UTC 2014 - ddiss@suse.com
|
||||
|
||||
- Update to 2.1.4 alpha
|
||||
* Added event_base_get_num_events()
|
||||
* New event_base_active_by_fd API
|
||||
* Add event_base_active_by_signal by analogy
|
||||
* Add access to max event count stats
|
||||
* Implemented EV_CLOSED event for epoll backend
|
||||
(EPOLLRDHUP).
|
||||
* Add evutil_secure_rng_set_urandom_device_file
|
||||
* Add function to fetch underlying ratelimit cfg
|
||||
* Pass and return const for bufferevent_get_token_bucket_cfg
|
||||
* Add watermark introspection
|
||||
* Add an option to trigger bufferevent I/O callbacks
|
||||
* Add an option to trigger bufferevent event callbacks
|
||||
* Add evhttp_connection_get_server()
|
||||
* add a http default content type option
|
||||
* http: implement new evhttp_connection_get_addr() api.
|
||||
* Add a variant of evhttp_send_reply_chunk() with a callback on
|
||||
evhttp_write_buffer()
|
||||
* Allow registering callback for parsing HTTP headers
|
||||
* Provide on request complete callback facility
|
||||
* evhttp_request_set_on_complete_cb to be more specific about what
|
||||
the function actually does and usage
|
||||
* bug fix for issues #293 evdns_base_load_hosts doesn't remove
|
||||
outdated addresses
|
||||
* Don't segfault on no found event backend.
|
||||
* Change the BSD license from 4 to 3-clause.
|
||||
* Minimum required python version is 2.4.
|
||||
* Added EVENT__ENABLE_GCC_WARNINGS, turns all warnings into
|
||||
errors.
|
||||
* Some work on making it possible to simply do add_subdirectory() on
|
||||
the project.
|
||||
* Rename event_extras to event_extra
|
||||
* If evsel->del() fails, don't leave the evmap in an inconsistent
|
||||
state
|
||||
* Move event_debug_note_teardown_ before mm_free.
|
||||
* Check CLOCK_MONOTONIC_* at runtime if needed.
|
||||
* Fix reinit of fds with EV_WRITE but not EV_READ.
|
||||
* Tweaked callbacks to prevent race condition
|
||||
(https://github.com/libevent/libevent/issues/104)
|
||||
* Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE
|
||||
case
|
||||
* Fix a double close() bug in evhttp when the underlying bufferevent uses
|
||||
BEV_OPT_CLOSE_ON_FREE.
|
||||
* Avoid racy bufferevent activation
|
||||
* When we seed from /proc/sys/kernel/random/uuid, count it as success
|
||||
* Avoid other RNG initialization FS reads when urandom file is
|
||||
specified
|
||||
* Really remove RNG seeds from the stack
|
||||
* Initialize async bufferevent timeout CBs unconditionally
|
||||
* Checking request nameserver for NULL, before using it.
|
||||
* Fix SEGFAULT after evdns_base_resume if no nameservers
|
||||
installed.
|
||||
* Actually use the log facility for reporting evdns problems.
|
||||
* Fix SEGFAULT after evdns_base_resume if no nameservers
|
||||
installed.
|
||||
* fix for ServFail from RIPE Atlas release
|
||||
* Missed lock acquire/release in event_base_cancel_single_callback_()
|
||||
* Fix locking in bufferevent_get_options_().
|
||||
* Avoid leaking segment mappings when offset is not a page multiple
|
||||
* Add tests for evdns_base_resume().
|
||||
* Avoid redundant syscall to make a nonblocking socket nonblocking
|
||||
* Avoid redundant syscall if making a socket cloexec twice
|
||||
* Avoid redundant invocations of init_extension_functions for IOCP
|
||||
* le-proxy: Fail more gracefully if opening listener fails
|
||||
* http-server: drop uri_root from base_url in http-server.
|
||||
* https-client: POST supported, args supported
|
||||
* https-client: Set hostname for SNI extension
|
||||
|
||||
- Update to 2.1.3 alpha
|
||||
* Implement event_finalize() and related functions to avoid certain
|
||||
deadlocks
|
||||
* Use finalization feature so bufferevents can avoid deadlocks
|
||||
* Always run pending finalizers when event_base_free() is called
|
||||
* Remove bufferevent_del_generic_timeout_cbs as now unused
|
||||
* More documentation for finalization feature
|
||||
* Make the event_finalize* functions return an error code
|
||||
* Mark the finalize stuff as experiemental in case it needs to
|
||||
change
|
||||
* evdns: New flag to make evdns not prevent the event loop from
|
||||
exiting
|
||||
* Make event_remove_timer behave correctly with persistent timers
|
||||
* Unit test for event_remove_timer with EV_PERSIST.
|
||||
* Double-check next timeout when adding events
|
||||
* event_base_update_cache_time should be a no-op if the loop isn't
|
||||
running
|
||||
* Avoid leaking fds on evconnlistener with no callback set
|
||||
* Avoid double-close on getsockname error in evutil_ersatz_socketpair
|
||||
* Fix a locking error in bufferevent_socket_get_dns_error.
|
||||
* Fix a mistake in evbuffer_remove() arguments in example http server code
|
||||
* When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it
|
||||
* Fix ipv6 support for http. When URL contain domain, not IP
|
||||
address.
|
||||
* uri decode: fix for warning "use of uninitialised value"
|
||||
* uri decode: changed the test for the existence of the next character
|
||||
* Add new error_cb for actual reporting of HTTP request errors.
|
||||
* Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test()
|
||||
* Drop extra header http_struct.h from regress_http.c
|
||||
* https-client was putting newlines at 256-byte boundaries
|
||||
* better handling of OpenSSL errors
|
||||
* use Debian's default root certificate location
|
||||
* use iSECPartners code to validate hostname in certificate
|
||||
* pull in wildcard matching code from cURL
|
||||
|
||||
- Update to 2.1.2 alpha
|
||||
* Replace pipe-based notification with EVFILT_USER where possible.
|
||||
* Make th_base_lock nonrecursive.
|
||||
* New event_get_priority() function to return an event's priority
|
||||
* Add a bufferevent_get_priority() function
|
||||
* Add an event_base_loopcontinue() to tell Libevent to rescan for more
|
||||
events right away
|
||||
* Add a new callback to get called on evbuffer_file_segment free
|
||||
* Expose event_base_foreach_event() as a public API.
|
||||
* Add an event_remove_timer() to remove timer on an event without
|
||||
deleting it
|
||||
* Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible
|
||||
semantics
|
||||
* Rename event_enable_lock_debuging() to ..._debugging(). (The old name
|
||||
should still work.)
|
||||
* Add missing implementation for event_enable_debug_logging
|
||||
* Do not track use_monotonic field when is no monotonic clock
|
||||
* EVENT_BASE_FLAG_PRECISE_TIMER indicates we want fine timer precision
|
||||
* On Linux, use CLOCK_MONOTONIC_COARSE by default
|
||||
* Refactor monotonic timer handling into a new type and set of
|
||||
functions; add a gettimeofday-based ratcheting implementation
|
||||
* Add EVENT_PRECISE_TIMER environment var for selecting precise-but-slow
|
||||
timer
|
||||
* Avoid giving a spurious warning when timerfd support is unavailable
|
||||
* Free dangling event_once objects on event_base_free()
|
||||
* Avoid (unlikely) overflow in bench_httpclient.c
|
||||
* Change evutil_weakrand_() to avoid platform random()
|
||||
* Refactor the callback part of an event into its own event_callback
|
||||
type
|
||||
* Add "active later" event_callbacks to supersede deferred
|
||||
* event_base_assert_ok: check value of event_active_count for
|
||||
correctness
|
||||
* Replace deferred_cbs with event_callback-based implementation.
|
||||
* Restore our priority-inversion-prevention code with deferreds
|
||||
* Refactor event_persist_closure: raise and extract some common logic
|
||||
* Remove the unused bits from EVLIST_ALL
|
||||
* ignore LWS after field-content in headers
|
||||
* Remove trailing tabs in HTTP headers as well.
|
||||
* Remove internal ws from multiline http headers correctly
|
||||
* add evhttp_request_get_response_code_line
|
||||
* Use EVUTIL_SOCKET_ERROR() wrapper to save/restore errno in
|
||||
evhttp_connection_fail_
|
||||
* preserve errno in evhttp_connection_fail_ for inspection by the
|
||||
callback
|
||||
* Correctly handle running on a system where accept4 doesn't work.
|
||||
* Avoid double-free on error in evbuffer_add_file.
|
||||
* Fix another possible uninitialized read in dns regression tests.
|
||||
* Prevent reference leak of bufferevent if getaddrinfo fails.
|
||||
* Make event_base_getnpriorities work with old "implicit base" code
|
||||
* Fix event_dlist definition when sys/queue not included
|
||||
|
||||
- Update to 2.1.1 alpha
|
||||
* Replace several TAILQ users with LIST. LIST can be a little faster than
|
||||
TAILQ for cases where we don't need queue-like behavior.
|
||||
* Disabled code to optimize the case where we reinsert an existing
|
||||
timeout
|
||||
* Remove a needless base-notify when rescheduling the first timeout
|
||||
* Save a needless comparison when removing/adjusting timeouts
|
||||
* Possible optimization: split event_queue_insert/remove into
|
||||
separate functions.
|
||||
* Make event_count maintenance branchless at the expense of an
|
||||
extra shift.
|
||||
* Optimization in event_process_active(): ignore maxcb & endtime
|
||||
for highest priority events.
|
||||
* Bypass event_add when using event_base_once() for a 0-sec timeout
|
||||
* Remove the eventqueue list and the ev_next pointers.
|
||||
* Roughly 20% speed increase when line-draining a buffer using
|
||||
EVBUFFER_EOL_CRLF
|
||||
* Infrastructure for using faster/fewer syscalls when creating
|
||||
sockets
|
||||
* Minimize syscalls during socket creation in listener.c
|
||||
* Use a wrapper function to create the notification
|
||||
pipe/socketpair/eventfd
|
||||
* Use pipes for telling signals to main thread when possible
|
||||
* Save syscalls when constructing listener sockets for evhttp
|
||||
* Save some syscalls when creating evdns sockets
|
||||
* Save some syscalls when constructing a socket for a bufferevent
|
||||
* Prefer epoll_create1 on Linux where available
|
||||
* Use current event set rather than current pending change when
|
||||
deciding whether to no-op a del
|
||||
* evport: use evmap_io to track fdinfo status. Should save time and
|
||||
RAM.
|
||||
* evport: Remove a linear search over recent events when
|
||||
reactivating them
|
||||
* evport: Use portev_user to remember fdinfo struct
|
||||
* evport: don't scan more events in ed_pending than needed
|
||||
* evport: Remove artificial low limit on max events per getn call
|
||||
* Reenable main/many_events_slow_add for evport in 2.1
|
||||
* Add event_enable_debug_logging() to control use of debug logs
|
||||
* Add event_config function to limit time/callbacks between calls
|
||||
to dispatch
|
||||
* New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no
|
||||
events are pending
|
||||
* Add event_base_get_npriorities() function.
|
||||
* Make evbase_priority_init() and evbase_get_npriorities()
|
||||
threadsafe
|
||||
* New event_base_update_cache_time() to set cached_tv to current
|
||||
time
|
||||
* Add event_self_cbarg() to be used in conjunction with
|
||||
event_new().
|
||||
* Add a new libevent_global_shutdown() to free all globals before
|
||||
exiting.
|
||||
* Use getifaddrs to detect our interfaces if possible
|
||||
* Add event_base_get_running_event() to get the event* whose cb we
|
||||
are in
|
||||
* Add evbuffer_add_file_segment() so one fd can be used efficiently
|
||||
in more than one evbuffer_add_file at a time
|
||||
* Allow evbuffer_ptr_set to yield a point just after the end of the
|
||||
buffer.
|
||||
* Allow evbuffer_ptr to point to position 0 in an empty evbuffer
|
||||
* Set the special "not found" evbuffer_ptr consistently.
|
||||
* support adding buffers to other buffers non-destructively
|
||||
* prevent nested multicast references, reworked locking
|
||||
* New EVBUFFER_EOL_NUL to read NUL-terminated strings from an
|
||||
evbuffer
|
||||
* Make evbuffer_file_segment_types adaptable
|
||||
* Added evbuffer_add_iovec and unit tests.
|
||||
* Add evbuffer_copyout_from to copy data from the middle of a
|
||||
buffer
|
||||
* Allow users to set allow_dirty_shutdown
|
||||
* Add a bufferevent_getcb() to find a bufferevent's current
|
||||
callbacks
|
||||
* bufferevent: Add functions to set/get max_single_read/write
|
||||
values.
|
||||
* bev_ssl: Be more specific in event callbacks. evhttp in particular gets
|
||||
confused without at least one of BEV_EVENT_{READING|WRITING}.
|
||||
* Support TCP_DEFER_ACCEPT sockopts for listeners
|
||||
* Allow evconnlistener to be created in disabled state.
|
||||
* The LEV_OPT_CLOSE_ON_EXEC flag now applies to accepted listener
|
||||
sockets too
|
||||
* Add evhttp callback for bufferevent creation; this lets evhttp
|
||||
support SSL.
|
||||
* evhttp: Add evhttp_foreach_bound_socket.
|
||||
* Provide the autoconf m4 macros for the new OpenSSL via pkg-config
|
||||
stuff.
|
||||
* Move libevent 1.x headers to include/, to put all public headers in
|
||||
a new place.
|
||||
* Add a magic number to debug_locks to better catch lock-coding
|
||||
errors.
|
||||
* munge the debug_lock signature before freeing it: it might help us
|
||||
catch use-after-free
|
||||
* Tweaks to return types with end-of-buf ptrs
|
||||
* New evhttp function to adjust initial retry timeout
|
||||
* event_rpcgen.py now prints status information to stdout and errors to
|
||||
stderr.
|
||||
* Restore fast-path event_reinit() for slower backends
|
||||
* Check changelist as part of checking representational integrity
|
||||
* Convert event-config.h macros to avoid reserved identifiers
|
||||
* Convert include-guard macro convention to avoid reserved identifiers
|
||||
* Make event_rpcgen.py output conform to identifier conventions
|
||||
* Apply the naming convention to our EVUTIL_IS* functions
|
||||
* Do not use system EAI/AI values if we are not using the system
|
||||
getaddrinfo.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 29 12:36:28 UTC 2013 - i@marguerite.su
|
||||
|
||||
|
634819
libevent.keyring
634819
libevent.keyring
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libevent
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX 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
|
||||
@@ -16,21 +16,37 @@
|
||||
#
|
||||
|
||||
|
||||
%define libsoname %{name}-2_0-5
|
||||
Name: libevent
|
||||
Version: 2.0.22
|
||||
%define version_base 2
|
||||
%define version_minor 1
|
||||
%define version_release 8
|
||||
%define abi_release 6
|
||||
%define version_suffix stable
|
||||
%define libsoname %{name}-%{version_base}_%{version_minor}-%{version_release}
|
||||
|
||||
Version: %{version_base}.%{version_minor}.%{version_release}
|
||||
Release: 0
|
||||
Summary: An event notification library
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Url: http://libevent.org/
|
||||
Source0: https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/%{name}-%{version}-stable.tar.gz
|
||||
Source1: https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/%{name}-%{version}-stable.tar.gz.asc
|
||||
Source0: https://github.com/%{name}/%{name}/releases/download/release-%{version}-%{version_suffix}/%{name}-%{version}-%{version_suffix}.tar.gz
|
||||
Source1: https://github.com/%{name}/%{name}/releases/download/release-%{version}-%{version_suffix}/%{name}-%{version}-%{version_suffix}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: openssl-devel
|
||||
%if 0%{?fedora_version} || 0%{?rhel_version}
|
||||
BuildRequires: pkgconfig
|
||||
%else
|
||||
BuildRequires: pkg-config
|
||||
%endif
|
||||
BuildRequires: zlib-devel
|
||||
%if 0%{?suse_version} > 1220
|
||||
Requires(pre): %fillup_prereq
|
||||
Requires(pre): %insserv_prereq
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -98,9 +114,10 @@ framework.
|
||||
This package holds the development files for libevent2.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-stable
|
||||
%setup -q -n %{name}-%{version}-%{version_suffix}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-libevent-regress
|
||||
@@ -119,12 +136,12 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
||||
|
||||
%files -n %{libsoname}
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog README LICENSE whatsnew-2.0.txt
|
||||
%{_libdir}/%{name}-2.0.so.5*
|
||||
%{_libdir}/%{name}_core-2.0.so.5*
|
||||
%{_libdir}/%{name}_extra-2.0.so.5*
|
||||
%{_libdir}/%{name}_pthreads-2.0.so.5*
|
||||
%{_libdir}/%{name}_openssl-2.0.so.5*
|
||||
%doc ChangeLog LICENSE whatsnew-2.0.txt whatsnew-2.1.txt
|
||||
%{_libdir}/%{name}-%{version_base}.%{version_minor}.so.%{abi_release}*
|
||||
%{_libdir}/%{name}_core-%{version_base}.%{version_minor}.so.%{abi_release}*
|
||||
%{_libdir}/%{name}_extra-%{version_base}.%{version_minor}.so.%{abi_release}*
|
||||
%{_libdir}/%{name}_pthreads-%{version_base}.%{version_minor}.so.%{abi_release}*
|
||||
%{_libdir}/%{name}_openssl-%{version_base}.%{version_minor}.so.%{abi_release}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@@ -143,5 +160,7 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/pkgconfig/%{name}_pthreads.pc
|
||||
%{_libdir}/pkgconfig/%{name}_openssl.pc
|
||||
%{_libdir}/pkgconfig/%{name}_core.pc
|
||||
%{_libdir}/pkgconfig/%{name}_extra.pc
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user