The NetBSD Project

CVS log for pkgsrc/devel/libevent/Makefile.common

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / libevent

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jul 1 21:14:26 2026 UTC (4 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
libevent: update to 2.1.13.

Fix pkglint while here.

Changes in version 2.1.13-stable (01 July 2026)

 This release contains several security fixes, affecting users of the
 following modules: evbuffer, bufferevent, evtag, evrpc, evdns, evhttp.
 If you have a program that uses one of those modules,
 or if you distribute libevent, you should upgrade.

 Additionally, this release backports some small modernizations to
 the libevent codebase, to aid in compiling with the compilers
 released over the last few years.

 Security Fixes (evtag, evrpc):
 - Fix an out-of-bounds read in decode_tag_internal.
   (Found by @Brubbish. GHSA-fj29-64w6-73h6)
 - Fix an integer overflow in evtag_unmarshal_header.
   (Found by @Brubbish. GHSA-45c6-qx49-89m8)

 Security Fixes (evhttp):
 - Discard HTTP trailers, to prevent header smuggling attacks.
   (Found by @sebastianosrt. GHSA-2gmv-p5m7-98p6)
 - Restrict HTTP header parsing to prevent request smuggling.
   (Originally reported by @xclow3n; and then by @kodareef5,
   @nstaller0490, @AsafMeizneer, and @yaotushaozhu.
   GHSA-q39v-w2g7-gr8j.)
 - Treat CRLF and %00 more strictly in HTTP headers, to prevent
   parser mismatch attacks.
   (Reported by @xclow3n and @AsafMeizner. See GHSA-q39v-w2g7-gr8j,
   GHSA-jcwh-pvf2-73p2.)
 - Fix a heap out-of-bound write that could occur when using
   AF_UNIX sockets and compiling libevent with -DNDEBUG.
   (Found by @mat-mo. GHSA-cvq5-vrvr-j338)

 Security fixes (evbuffer, bufferevent):
 - Fixed a dangling pointer in evbuffer_add_reference.
   (Found by @DarkaMaul. GHSA-c2pj-cg4r-88c8)

 Security fixes (evdns):
 - Fix an out-of-bounds write in dnsname_to_labels
   when building a DNS response of 2^16 bytes.
   (Found by @sectroyer. GHSA-58rx-7448-jw47)

 Security fixes (example code):
 - Avoid using strcpy() in sample/http-server.c.
   (Reported by @sectroyer. GHSA-5rgj-2c58-7jrc.)

 Other fixes:
 - Backport fixes for numerous compiler warnings.
 - Backport fixes for compilation with openssl 3 and later.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 6 10:08:58 2020 UTC (6 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
libevent: updated to 2.1.12

Changes in version 2.1.12-stable (05 Jul 2020)

This release contains mostly bug fixes (I decided not to port some features
that can be ported even without ABI breakage, if you cannot find feature that
you are interested in, please give us a note!)

Since 2.1.12 libevent will use github actions as main CI, since
it recommends itself better then travis/appveyor (and had been removed from
upstream).

Look carefully at "slightly touches the behaviour" section.

Below you will find some of changes (this list has been cleaned up from the
patches that touches only tests and similar):

CI:
 o Backport github actions to 2.1 (be3acd7c Azat Khuzhin)
 o Merge branch 'event_rpcgen.py-cleanup' (f0ded5f3, 48e04887 Enji Cooper)
 o Add API/ABI checker (using LVC) (709210d4, 2af1f6cc yuangongji)

test:
 o tinytest: support timeout on Windows (794e8f75 yuangongji)
 o Merge branch 'osx-clock' (e85afbe3 Azat Khuzhin)
 o test-ratelim: calculate timers bias (for slow CPUs) to avoid false-positive (8ad26d0b Azat Khuzhin)

fixes:
 o buffer: do not pass NULL to memcpy() from evbuffer_pullup() (5b063049 Azat Khuzhin)
 o http: fix undefined-shift in EVUTIL_IS*_ helpers (6b8d02a7 Azat Khuzhin)
 o Check error code of evhttp_add_header_internal() in evhttp_parse_query_impl() (97e28f09 Azat Khuzhin)
 o http: fix EVHTTP_CON_AUTOFREE in case of timeout (and some else) (1be25938 Azat Khuzhin)
 o evdns: Add additional validation for values of dns options (c2972453 ayuseleznev)
 o There is typo in GetAdaptersAddresses windows library. It should be iphlpapi.dll (891adda9 Aleksandr-Melnikov)
 o Merge branch 'EV_CLOSED-and-EV_ET-fixes' (db2efdf5 Azat Khuzhin)
 o Fix memory corruption in EV_CLOSURE_EVENT_FINALIZE with debug enabled (8ccd8f56 Jan Kasiak)
 o increase segment refcnt only if evbuffer_add_file_segment() succeeds (30662a3c yuangongji)
 o evdns: fix a crash when evdns_base with waiting requests is freed (6f8e0e97 ayuseleznev)
 o event_base_once: fix potential null pointer threat (2e9ceb16 chenguolong)
 o http: do not assume body for CONNECT (1b42270b Azat Khuzhin)
 o evbuffer_add_file: fix freeing of segment in the error path (5f017bde Azat Khuzhin)
 o Fix checking return value of the evdns_base_resolv_conf_parse() (fc51bf2c Azat Khuzhin)
 o Merge branch 'fix-signal-leak' (poll/select now needs reinit) (1c9cc07b Azat Khuzhin)

improvements:
 o evutil_time: improve evutil_gettimeofday on Windows (a8219143 Nick Grifka)
 o Support EV_CLOSED on linux for poll(2) (2530e7c6 Azat Khuzhin)
 o Parse IPv6 scope IDs. (f602211f Philip Homburg)
 o evutil_time: Implements usleep() using wait funtion on Windows (d42240d1 yuangongji)
 o evutil_time: detect and use _gmtime64_s()/_gmtime64() (f4a6152c yuangongji)

slightly touches the behaviour:
 o bufferevent: allow setting priority on socket and openssl type (4dd3acdd Nicolas J. Bouliane)
 o Fix EV_CLOSED detection/reporting (epoll only) (1df324d4 Azat Khuzhin) (XXX)
 o Revert "Warn if forked from the event loop during event_reinit()" (71f5c0d3 Azat Khuzhin)

samples:
 o https-client: load certificates from the system cert store on Windows (e9478640 yuangongji)

build fixes:
 o Do not use sysctl.h on linux (it had been deprecated) (d2871a37 Azat Khuzhin)
 o cmake: avoid problems from use of CMAKE_USE_PTHREADS_INIT (a62ec765 Paul Osborne)
 o Update list of cmake files for autotools dist archive (2016f017 Azat Khuzhin)
 o LibeventConfig.cmake: restore CMAKE_FIND_LIBRARY_SUFFIXES and LIBEVENT_STATIC_LINK default (640f9cf6 Mario Emmenlauer)
 o cmake: fix getaddrinfo checking error (dea51c2e yuangongji)
 o autoconf: fix getaddrinfo checking errors on mingw (b9bf7fa7 yuangongji)
 o Do not use shared global structures on CYGWIN (8a9b5655 Azat Khuzhin)
 o Added uninstall target check to cmakelists (3f1fb1f9 Dimo Markov)
 o Fix compilation without OPENSSL_API_COMPAT (921bdcdd Azat Khuzhin)
 o cmake: improve package config file (1c047618, baec84f2 yuangongji)
 o Link with iphlpapi only on windows (976f7d34 Azat Khuzhin)
 o autotools: fails build when need but can not find openssl (93174bb5 yuangongji)
 o Merge branch 'http-connect' (e2424229 Azat Khuzhin)
 o Fix compat with NetBSD >= 10 (5febb4e1 Kamil Rytarowski)
 o cmake: fix getrandom() detection (e0e5f3bd Azat Khuzhin)
 o arc4random: replace sysctl() with getrandom (on linux) (66ec78fd Azat Khuzhin)
 o Upgrade autoconf (after upgrading minimum required to 2.67) (45da7d9d yuangongji)
 o eliminate some C4267 warnings in Windows (9e468c77 yuangongji)
 o autotools: attach doxygen target into all target (5d1e8570 yuangongji)
 o cmake: attach doxygen target into all target (7a85300a yuangongji)
 o Change the minimum version of automake to 1.13 and autoconf to 2.67 (fdb8fb66 ygj6)
 o Add Uninstall.cmake.in into dist archive

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jan 26 17:30:59 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 20 11:36:27 2019 UTC (7 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -5 lines
libevent: updated to 2.1.11

Changes in version 2.1.11-stable

 This release contains one ABI breakage fix (that had been introduced in
 2.1.10, and strictly speaking this release breaks ABI again to make it
 compatible with 2.1.9 and less, please take a look at 18104973 for more
 details). Apart from that it contains some bug fixes, that grouped below.

 And even though the return value for evbuffer_setcb() had been changed it
 should ABI compatible (anyway that function is in -compat.h header).

 There is also one patch that introduce new functionality, this is 546a366c,
 to tune SO_RCVBUF/SO_SNDBUF in evdns, but one can count it as a bug-fix on
 the application level, since before you cannot tune this settings and hence
 you could stumble on problems.

 ABI breakage:
  o Protect min_heap_push_ against integer overflow.
  o Revert "Protect min_heap_push_ against integer overflow."

 functionality:
  o evdns: add new options -- so-rcvbuf/so-sndbuf

 build:
  o Change autoconf version to 2.62 and automake version to 1.11.2
  o cmake: install shared library only if it was requested
  o Missing <winerror.h> on win7/MinGW(MINGW32_NT-6.1)/MSYS
  o cmake: set library names to be the same as with autotools
  o Enable _GNU_SOURCE for Android
  o Enable kqueue for APPLE targets
  o autotools: do not install bufferevent_ssl.h under --disable-openssl
  o cmake: link against shell32.lib/advapi32.lib
  o Add README.md into dist archive
  o cmake: add missing autotools targets (doxygen, uninstall, event_rpcgen.py)
  o m4/libevent_openssl.m4: fix detection of openssl
  o Fix detection of the __has_attribute() for apple clang [ci skip]

 lib:
  o buffer: fix possible NULL dereference in evbuffer_setcb() on ENOMEM
  o Warn if forked from the event loop during event_reinit()
  o evutil: set the have_checked_interfaces in evutil_check_interfaces()

 samples:
  o https-client: correction error checking


Changes in version 2.1.10-stable

 This release contains mostly fixes (some evbuffer oddity, AF_UNIX handling in
 http server, some UB fixes and others) but also some new functionality
 (without ABI breakage as usual) and now dist archive can be used for building
 on windows (getopt had been added into it).

 Above you will find changelog for this particular release (but with some
 trivial fixes pruned out from it - to make it a little bit more informative).

 To view full changelog please use git:
   git log --format='  o %s (%h %aN)' release-2.1.9-beta...release-2.1.10-stable

 dist:
  o Add getopt into dist archive

 functionality:
  o evdns: add DNS_OPTION_NAMESERVERS_NO_DEFAULT/EVDNS_BASE_NAMESERVERS_NO_DEFAULT

  o Add support for EV_TIMEOUT to event_base_active_by_fd

 fixes:
  o Merge branch 'evbuffer-fixes-806-v2'
  o Merge branch 'issue-807-accept4-getnameinfo-AF_UNIX'
    Azat Khuzhin)
  o kqueue: Avoid undefined behaviour. (e70e18e9 Tobias Stoeckmann)
  o Prevent integer overflow in kq_build_changes_list.
  o evdns: fix lock/unlock mismatch in evdns_close_server_port()
  o Merge remote-tracking branch 'official/pr/804' -- Enforce limit of NSIG
    signals
  o Protect min_heap_push_ against integer overflow.
  o le-proxy: initiate use of the Winsock DLL
  o Fix leaks in error path of the bufferevent_init_common_() (bb0f8fe7 Azat Khuzhin)
  o buffer: make evbuffer_prepend() of zero-length array no-op
  o Merge branch 'evbuffer-empty-chain-handling'
  o Don't loose top error in SSL
  o Remove needless check for arc4_seeded_ok
  o Merge pull request 769 from sungjungk/fix-return-handling

 build:
  o Define `_GNU_SOURCE` properly/consistently per autoconf
  o signal: guard __cdecl definition with #ifdef
  o Link test/regress with event_core/event_extra over event

 tests:
  o Use kill() over raise() for raising the signal (fixes osx 10.14 with
    kqueue)
  o tinytest: implement per-test timeout (via alarm() under !win32 only)


Changes in version 2.1.9-beta

 This changelog will differs from other releases in the next few clauses:
 - contains only highlighted changes (so now it will not contains a lot of
   patches that fixes some stuff in regression tests, typos, leaks fixes in
   samples and so forth)
 - no authors (since merge commits breaks them anyway, but AUTHORS sections in
   README will be kept up to date)
 - group name trimmed from commit subjects trimmed
 - it's been 2 years since the previoius release, so it is pretty huge

 And I think that this is more useful, so from now on it will always has the
 same look (until there will too many objections of course).

 To view full changelog please use git:
   git log --format='  o %s (%h %aN)' release-2.1.8-stable...release-2.1.9-beta


 dist archive:
  o Add cmake rules into dist archive
  o Add missing print-winsock-errors.c into dist archive
  o Include openssl-compat.h into dist archive

 core:
  o Merge branch 'check-O_NONBLOCK-in-debug'
  o Merge branch 'event-ET-636-v2'
  o Fix visibility issues under (mostly on win32)

  o Define __EXT_POSIX2 for QNX
  o Cleanup __func__ detection
  o Add convenience macros for user-triggered events
  o Notify event base if there are no more events, so it can exit without delay
  o Fix base unlocking in event_del() if event_base_set() runned in another thread
  o If precise_time is false, we should not set EVENT_BASE_FLAG_PRECISE_TIMER
  o Fix race in access to ev_res from event loop with event_active()
  o Return from event_del() after the last event callback termination

 http:
  o Merge branch 'http-EVHTTP_CON_READ_ON_WRITE_ERROR-fixes-v2'
  o Preserve socket error from listen across closesocket cleanup
  o fix connection retries when there more then one request for connection
  o improve error path for bufferevent_{setfd,enable,disable}()
  o Fix conceivable UAF of the bufferevent in evhttp_connection_free()
  o Merge branch 'http-request-line-parsing'
  o Fix evhttp_connection_get_addr() fox incomming http connections
  o fix leaks in evhttp_uriencode()
  o CONNECT method only takes an authority
  o Allow bodies for GET/DELETE/OPTIONS/CONNECT
  o Do not crash when evhttp_send_reply_start() is called after a timeout.
  o Fix crashing http server when callback do not reply in place
  o fix handling of close_notify (ssl) in http with openssl bufferevents

 evrpc:
  o use *_new_with_arg() to match function prototype
  o avoid NULL dereference on request is not EVHTTP_REQ_POST

 regression tests:
  o Merge branch 'TT_RETRIABLE'

 bufferevent:
  o Merge branch 'iocp-fixes'
  o Merge branch 'be-wm-overrun-v2'
  o bufferevent_socket_connect{,_hostname}() missing event callback and use ret code
  o don't fail be_null_filter if bytes are copied
  o Call underlying bev ctrl GET_FD on filtered bufferevents

 bufferevent_openssl/openssl:
  o Merge branch 'ssl_bufferevent_wm_filter-fix'
  o be_openssl: avoid leaking of SSL structure
  o Fix build with LibreSSL 2.7
  o Add missing includes into openssl-compat.h
  o Explicitly call SSL_clear when reseting the fd.
  o Unbreak build with LibreSSL after openssl 1.1 support added

 samples:
  o Merge branch 'sample-http-server'
  o sample/https-client: use host SSL certificate store by default

 listener:
  o ipv6only socket bind support
  o Merge branch 'listener-immediate-close'
  o Merge branch 'evconnlistener-do-not-close-client-fd'

 evdns:
  o evdns: handle NULL filename explicitly
  o Merge branch 'evdns_getaddrinfo-race-fix'
  o Generating evdns_base_config_windows_nameservers docs on all platforms

 utils:
  o Merge branch 'evutil_found_ifaddr-dev'
  o Avoid possible SEGVs in select() (in unit tests)
  o Port `event_rpcgen.py` and `test/check-dumpevents.py` to Python 3.

 buffer:
  o Fix assert() condition in evbuffer_drain() for IOCP
  o fix incorrect unlock of the buffer mutex (for deferred callbacks)
  o Fix wrong assert in evbuffer_drain()

 cmake:
  o fix checking of devpoll backend (like in autotools, by devpoll.h existence)
  o support static runtime (MSVC)
  o do not build both (SHARED and STATIC) for MSVC/win32
  o introduce EVENT__LIBRARY_TYPE option
  o ensure windows dll's are installed as well as lib files
  o Fix generation of LibeventConfig.cmake for the installation tree
  o fix pkgconfig generation (copy-paste typo)
  o Merge branch 'cmake-missing-bits'
  o Fix detection of timerfd_create() in CMake.
  o Merge branch 'cmake-configure-fixes-v2'
  o Do not add epoll_sub (syscall wrappers) for epoll in cmake
  o Fix RPATH for APPLE

 autotools:
  o include win32 specific headers for socklen_t detection on win32/mingw
  o Ignore evconfig-private.h for autotools
  o config.h can't be prefixed unconditionally
  o Merge branch 'pull-628'
  o Provide Makefile variables LIBEVENT_{CFLAGS,CPPFLAGS,LDFLAGS}
  o confirm openssl is working before using
  o pass $(OPENSSL_INCS) for samples (FTBFS macOS)
  o Add configure check for midipix
  o Fix tests with detached builds

 build:
  o Fix arc4random_addrandom() detecting and fallback (regression)
  o Merge branch 'win32-fixes'
  o Merge branch 'fix-openssl-linking'
  o Merge branch 'fix-struct-linger'

 CI:
  o travis-ci/appveyor now uses fast_finish+allow_failures

  o Merge branch 'travis-ci-osx-fixes'
  o Merge branch 'win64-fixes'

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Feb 15 17:34:37 2017 UTC (9 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -5 lines
Libevent 2.1.8-stable, it contains openssl fixes for resetting fd and using
bufferevent_openssl_filter_new(). vagrant fixes, some build fixes, increased
timeout for some tests (to reduce number of failures due to timing issues),
date in RFC1123 format and running tests in parallel.

Revision 1.1.14.1: download - view: text, markup, annotated - select for diffs
Thu Feb 5 23:52:36 2015 UTC (11 years, 9 months ago) by tron
Branches: pkgsrc-2014Q4
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +1 -1 lines
Pullup ticket #4604 - requested by sp
devel/libevent: security update
devel/py-libevent-rpcgen: security update

Revisions pulled up:
- devel/libevent/Makefile                                       1.46
- devel/libevent/Makefile.common                                1.2
- devel/libevent/distinfo                                       1.30
- devel/py-libevent-rpcgen/distinfo                             1.2

---
   Module Name:	pkgsrc
   Committed By:	spz
   Date:		Wed Feb  4 08:04:34 UTC 2015

   Modified Files:
   	pkgsrc/devel/libevent: Makefile Makefile.common distinfo
   	pkgsrc/devel/py-libevent-rpcgen: distinfo

   Log Message:
   update libevent to version 2.0.22 (which also updates py-libevent-rpcgen)

   Upstream ChangeLog:

   Changes in version 2.0.22-stable (5 Jan 2015)

   SECURITY FIXES (evbuffers)
    o Avoid integer overflow bugs in evbuffer_add() and related functions.
      See CVE-2014-6272 advisory for more information.
      (20d6d4458bee5d88bda1511c225c25b2d3198d6c)

   BUGFIXES (evhttp)
    o fix #73 and fix http_connection_fail_test to catch it (crash fix)
      (b618204 Greg Hazel)
    o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)

   BUGFIXES (compilation and portability)
    o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
    o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
    o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
      (74d4c44 Kevin Bowling)
    o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for
      automake 1.13 compat (817ea36)
    o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
    o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
    o Use windows vsnprintf fixup logic on all windows environments (e826f19)
    o Fix a compiler warning when checking for arc4random_buf linker breakage.
      (5cb3865)
    o Fix another arc4random_buf-related warning (e64a2b0)
    o Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)

   BUGFIXES (resource leaks/lock errors on error)
    o Avoid leaking fds on evconnlistener with no callback set (69db261)
    o Avoid double-close on getsockname error in evutil_ersatz_socketpair
      (0a822a6)
    o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
    o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
      (b8f5980 Frank Denis)

   BUGFIXES: (other stability)
    o bufferevent_pair: don't call downcast(NULL) (f2428a2)
    o Consistently check for failure from evbuffer_pullup() (60f8f72)
    o Fix race caused by event_active (3c7d6fc vjpai)

   BUGFIXES (miscellaneous)
    o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
    o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
    o Add a few files created by "make verify" to .gitignore.
      (1a8295a Pierre Phaneuf)
    o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
    o Fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
    o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)

   BUFGIXES (evdns)
    o Checking request nameserver for NULL, before using it.
      (5c710c0 Belobrov Andrey)
    o Fix SEGFAULT after evdns_base_resume if no nameservers installed.
      (f8d7df8 Azat Khuzhin)
    o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)

   BUGFIXES (epoll)
    o Check does arch have the epoll_create and __NR_epoll_wait syscalls.
      (dfe1e52 Marcin Juszkiewicz)

   BUGFIXES (evutil_secure_random)
    o Avoid other RNG initialization FS reads when urandom file is specified
      (9695e9c, bb52471)
    o When we seed from /proc/sys/kernel/random/uuid, count it as success (e35b540)
    o Document that arc4random is not a great cryptographic PRNG. (6e49696)
    o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
    o Really remove RNG seeds from the stack (f5ced88)

   DOCUMENTATION FIXES
    o Fix a mistake in evbuffer_remove() arguments in example http server
      code (c322c20 Gyepi Sam)
    o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
    o Clarify event_base_loop exit conditions (031a803)
    o Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
    o Fix a typo in a doxygen comment. Reported by 亦得. (be1aeff)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 4 08:04:34 2015 UTC (11 years, 9 months ago) by spz
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
update libevent to version 2.0.22 (which also updates py-libevent-rpcgen)

Upstream ChangeLog:

Changes in version 2.0.22-stable (5 Jan 2015)

SECURITY FIXES (evbuffers)
 o Avoid integer overflow bugs in evbuffer_add() and related functions.
   See CVE-2014-6272 advisory for more information.
   (20d6d4458bee5d88bda1511c225c25b2d3198d6c)

BUGFIXES (evhttp)
 o fix #73 and fix http_connection_fail_test to catch it (crash fix)
   (b618204 Greg Hazel)
 o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)

BUGFIXES (compilation and portability)
 o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
 o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
 o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
   (74d4c44 Kevin Bowling)
 o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for
   automake 1.13 compat (817ea36)
 o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
 o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
 o Use windows vsnprintf fixup logic on all windows environments (e826f19)
 o Fix a compiler warning when checking for arc4random_buf linker breakage.
   (5cb3865)
 o Fix another arc4random_buf-related warning (e64a2b0)
 o Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)

BUGFIXES (resource leaks/lock errors on error)
 o Avoid leaking fds on evconnlistener with no callback set (69db261)
 o Avoid double-close on getsockname error in evutil_ersatz_socketpair
   (0a822a6)
 o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
 o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
   (b8f5980 Frank Denis)

BUGFIXES: (other stability)
 o bufferevent_pair: don't call downcast(NULL) (f2428a2)
 o Consistently check for failure from evbuffer_pullup() (60f8f72)
 o Fix race caused by event_active (3c7d6fc vjpai)

BUGFIXES (miscellaneous)
 o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
 o Add a few files created by "make verify" to .gitignore.
   (1a8295a Pierre Phaneuf)
 o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
 o Fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
 o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)

BUFGIXES (evdns)
 o Checking request nameserver for NULL, before using it.
   (5c710c0 Belobrov Andrey)
 o Fix SEGFAULT after evdns_base_resume if no nameservers installed.
   (f8d7df8 Azat Khuzhin)
 o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)

BUGFIXES (epoll)
 o Check does arch have the epoll_create and __NR_epoll_wait syscalls.
   (dfe1e52 Marcin Juszkiewicz)

BUGFIXES (evutil_secure_random)
 o Avoid other RNG initialization FS reads when urandom file is specified
   (9695e9c, bb52471)
 o When we seed from /proc/sys/kernel/random/uuid, count it as success (e35b540)
 o Document that arc4random is not a great cryptographic PRNG. (6e49696)
 o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
 o Really remove RNG seeds from the stack (f5ced88)


DOCUMENTATION FIXES
 o Fix a mistake in evbuffer_remove() arguments in example http server
   code (c322c20 Gyepi Sam)
 o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
 o Clarify event_base_loop exit conditions (031a803)
 o Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
 o Fix a typo in a doxygen comment. Reported by 亦得. (be1aeff)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 10 01:22:27 2013 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Branch point for: pkgsrc-2014Q4
Split off py-libevent-rpcgen from devel/libevent.

Obviates libevent's python dependency, enabling cross-compilation of
libevent's dependents without having to cross-compile python itself.

ok agc

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>