pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update libcouchbase to 2.5.6.



Module Name:	pkgsrc-wip
Committed By:	Filip Hajny <filip%joyent.com@localhost>
Pushed By:	fhajny
Date:		Mon Feb 29 12:42:50 2016 +0000
Changeset:	df5c9e3326877000da93f060b88e85a93c77885e

Modified Files:
	libcouchbase/Makefile
	libcouchbase/PLIST
	libcouchbase/distinfo

Log Message:
Update libcouchbase to 2.5.6.

2.5.6 (February 18, 2016)
- Sub-Document API ( experimental).
- Make lcb_sched_enter and lcb_sched_leave optional.
- API3 is now stable.
- Add libcouchbase/ string to version identification to Memcached.
- Hide mutation_token field from API3 mutation respones.
- Server's PROTOCOL_BINARY_RESPONSE_EINTERNAL is no longer mapped
  to LCB_EINTERNAL. LCB_UNKNOWN_MEMCACHED_ERROR will be returned instead
- Allow get-and-touch with an expiry of 0.
- Allow multiple buckets when using sequence number consistency with
  N1QL

2.5.5 (January 12, 2016)
- Add retry_interval string option to adjust retry interval.
- Handle backslashes in view row ID fields.
- Allow 'file-only' configuration mode.
- Log when squashing network errors.
- Fix memcached/ketama hashing.
- Add cbc-touch subcommand. This now allows the simple "touching", or
  modifying expiration time via the cbc command-line client.

2.5.4 (November , 2015)
- Validate vBucket master nodes for bounds when receiving new
  configuration.
- Add lcb_strcbtype to print the name of the callback type.
- Disallow using certpath connection string option without
  the explicit SSL ( couchbases://) scheme.
- Add convenience function to retrieve hostname for the key.
- Ensure embedded jsoncpp does not throw exceptions.
- Log vBucket configuration parsing failures.
- Allow per-request N1QL timeouts to exceed global timeouts.
- Request configuration refreshes when HTTP API redirects are received.

2.5.3 (August 27 2015)
- Add N1QL timeout feature.
- Add N1QL prepared statements.

2.5.2 (July 23 2015)
- Fix off-by-one error when populating documents with pillowfight.
- Don't generate negative keys for pillowfight.
- Allow in-progress N1QL requests to be cancelled.
- Rename lcb_SYNCTOKEN to lcb_MUTATION_TOKEN.
- Implement histogram/timings information for N1QL queries
  via cbc-n1qlback.
- Add ( -M, --mode) option to cbc-create to allow for upsert,
  insert, etc.
- Support CBC_CONFIG environment variable for command line tools.

2.5.1 (June 17 2015)

- Fix hanging in durability operations if node is not present and
  constraints include failed node.
- Improved handling of topology changes when non-data (N1QL, Index)
  nodes are part of the cluster.
- Improved random host selection algorithm for REST services
- Ensure ketama/Memcached-bucket hashing works correctly when non-data
  nodes are part of the cluster.
- Set TCP_NODELAY as a server side option, if it's enabled on
  the client.
- Add cmake/configure option for enabling the embedding of
  the libevent plugin.
- Add new combined "Store-with-durability" operation.

2.5.0 (May 12 2015)
- This change in the major version number signals the addition
  of new features for Couchbase Server 4.0; most of the actual
  new functionality for Couchbase 4.0 has already been included
  (incrementally) in prior 2.4.x versions.
- Add cbc-n1qlback - a simple benchmark for N1QL queries.
- TCP_NODELAY functionality has now been placed into effect.
- Add 'tick' or 'pump' mode for I/O As an alternative to lcb_wait(),
  applications may call lcb_tick_nowait() to incrementally perform
(non-blocking) I/O.
- Allow "console logger" to log to a file
- Make lcb_N1QLPARAMS repeatable/debuggable

2.4.9 (April 14 2015)
- Disable HTTP provider when any CCCP config is received.
- Fix additional missing defines for UV's EAI_* symbols
- Make connection string timeout parameters (e.g. operation_timeout)
  always specify seconds
- Add cbc n1ql subcommand, which executes N1QL queries.
- Allow usage of -D option in cbc and cbc-pillowfight tools.
- Interpret couchbase://host:8091 connection string as couchbase://host
- Implement enhanced durability using sequence numbers.
- Add lcb_version_g extern symbol as alternative to lcb_get_version().

2.4.8 (Mar. 8 2015)
- Retry next nodes on initial bootstrap, even if first node says bucket
  does not exist (or auth error), as this might be a recently removed
  node
- The cbc and cbc-pillowfight binaries on Windows are now distributed
  in both release and debug variants.
- Provide Read-Only config cache mode.
- Keep vBucket heuristic guesses for limited periods of time.
- Fix potential crashes in get-with-replica ( lcb_rget3,
  lcb_get_replica)
  when there are no replicas available, or if there is an error in
  retrieving from one of the replicas.
- Do not wait between not-my-vbucket retries
- Fix compilation error with UV when EAI_BADHINTS is not defined
  in the system.
- Allow means to disable C++ behavior on public library structures,
  allowing them to be initialized via C-style static initializers.
- Fix some bugs in timing behavior ( lcb_enable_timings).

2.4.7 (Feb. 17 2015)
- Fix SSL connection failures with SSL_UNDEFINED_CONST_FUNCTION.
- Add experimental support for N1QL queries.
- Add experimental support for geospatial view queries.
- Fix memory leak for retried commands.

2.4.6 (January 20 2015)
- Fix floating point exception on OS X.
- Improve warning messages when using deprecated options in cbc.
- Add patch/micro version to DLL information on Windows.
- Provide pkgconfig ( .pc) file with installation.
- Provide one-off unsafe_optimize option for connection string/
  lcb_cntl.
- Allow prompting for password in cbc.
- Fix timeouts in some durability when not all replicas are online.
- Add high level row-based view functionality.
- Parse configuration service locations for experimental services

2.4.5 (December 17 2014)
- Fix pillowfight ignoring set-ratio values above 50
- Building with autotools is no longer supported.
- Fix customized IOPS crashes in some usage cases
- Allow raw certpath to be passed without need for percent-encoding
  (in most cases)
- Fix missing installation UV plugin headers and source

2.4.4 (Nov. 19 2014)
- Detect disconnected pooled sockets
- Fix pillowfight --min-size bug
- Don't ignore LCB_CNTL_DURABILITY_INTERVAL
- Fix memory leak with HTTP requests using a request body
- Fix errneous LCB_SUCCESS return when passed duplicate keys
  to lcb_durability_poll()
- Add option to preserve vbucket ownership heuristics across
  config updates
- Relocate memcached packets on topology changes for memcached buckets
- Return error if ignored/conflicting options are found
- Fix issue when sending out large OBSERVE command
- Fix spurious timeouts when using lcb_durability_poll

2.4.3 (Oct. 21 2014)
- Disable support for SSLv3
- Pillowfight enhancements
- The -l or -c -1 option is in effect by default.
- When multiple threads are used, the workload is divided among
  the threads, thus making it that each thread only operates on
  a subset of the data.
- A --sequential option has been added to allow the workload to operate
  in sequence on the total number of items.
- A --start-at option has been added to allow the workload to specify
  an alternate range of keys
- The population phase has now been merged with the general workload
  implementation
- If stdout is detected to be a terminal, a simple "OPS/SEC" meter
  will periodically write the estimated throughput to the screen.
- Fix memory leak when using large read buffers
- Use forward map (and other heuristics) to get a next node for
  an item after a not-my-vbucket reply

2.4.2 (Sep. 23 2014)
- Mark the hashkey fields as being volatile
- Add "key stats" mode to lcb_CMDDSTATS
- Add more details about replica nodes in the cbc hash command.
- Add lcb_cntl() setting to retrieve bucket name

2.4.1
- Implement mcflush subcommand for cbc
- Requests issued to an invalid replica via lcb_get_replica() should
  fail with the LCB_NO_MATCHING_SERVER_CODE
- Fixed a memory leak in lcb_get_replica() when the operation would
  fail.
- Fix memory leak in lcb_sched_fail() when extended commands are
  in the pipeline
- Provide lcb_dump() function call to dump state information about
  a client handle
- Fix ratio argument in cbc-pillowfight
- Fix crash when HTTP request is retried
- Allow simple host-port string in connection string, giving it
  an implicit http:// scheme
- Update some SSL options to better reflect server 3.0 functionality

2.4.0 GA
- Attempt to retry items that are mapped to a non-existent node
  in a degraded cluster
- Don't throttle config requests based on initial file-based config
- Ignore NOT_MY_VBUCKET config payloads if CCCP provider is disabled

2.4.0-beta
- Better error reporting for SSL failures
- Communication via legacy memcached servers is possible by using
  the memcached:// scheme in the connection string.
- Environment variables understood by the library are now documented
  in their own section.
- Add lcb_get_node() function to retrieve addresses for various
  nodes in the cluster
- The dsn field in the lcb_create_st structure has been renamed
  to connstr.
- An HTTP request which has followed redirects will cause
  the lcb_wait() function to never return
- lcb_get_server_list() function now returns updated information
  from the current cluster configuration
- Provide additional error classifiers
- Provide HTTP keepalive and connection pooling for HTTP requests
- Properly schedule next invocations for retry queue
- Return error if empty key is passed to an operation
- Provide setting to disable refreshing the configuration when an HTTP
  API error is encountered (from one of the HTTP callback functions)
- Fix bug where the CCCP provider may prematurely fail, activating
  the HTTP provider

2.4.0-dp1 (2014-06-18)
- Make run_event_loop and stop_event_loop private
- Deprecate the lcb_set_XXX functions
- lcb_socket_t is typedefed to a DWORD on windows
- Connecting to a standalone memcached instance is currently
  no longer supported.
- lcb_set_error_callback() has been deprecated
- lcb_get_last_error() has been deprecated
- Disable the sending of GETQ packets
- The IOPS API has been changed
- Additional APIs for lcb_cntl()
- Provide extended version of lcb_wait()
- Provide API to request a configuration refresh
- Provide bootstrapping notification callback
- New vBucket interface/API
- Extended detailed error codes
- Connection Strings (aka "dsn") feature for instance creation
- SSL transport support for Couchbase 3.0 Enterprise
- Retry queue for failed operations
- Compression/JSON flag (aka Datatype) support
- Experimental scheduling API
- Raw memcached packets may be sent to the library and have
  a callback invoked when their responses have been received
- select plugin may endlessly loop in some cases
- Do not break TCP connections on topology changes unless ejected
  from cluster
- Use new-style "Terse" URI format when requesting a configuration
  over HTTP
- The cmake/configure script now accepts the LDFLAGS, CPPFLAGS, CFLAGS,
  CXXFLAGS, CC, and CXX settings
- The pillowfight tool will now print latencies between 1-10ms
  in resolutions of 100us.
- Use Doxygen for API documentation
- Add interface attributes to all API calls
- Public header files have been reorganized
- OpenSSL is now a base dependency for the library
- Snappy compression library is bundled and optionally compiled
- libvbucket has been fully integrated into libcouchbase from
  the forked libvbucket package and, lives fully as part of the library
- As an alternative to the cross-platform lcb_uintNN_t typedefs,
  a shorter (and more standards compliant) alternative lcb_UNN typedefs
  are provided, thus instead of lcb_uint32_t you may use lcb_U32

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=df5c9e3326877000da93f060b88e85a93c77885e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libcouchbase/Makefile | 18 +++++++----------
 libcouchbase/PLIST    | 55 +++++++++++++++++++++++++++++++++++----------------
 libcouchbase/distinfo |  7 ++++---
 3 files changed, 49 insertions(+), 31 deletions(-)

diffs:
diff --git a/libcouchbase/Makefile b/libcouchbase/Makefile
index bfe324a..5145b55 100644
--- a/libcouchbase/Makefile
+++ b/libcouchbase/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.4 2014/07/30 13:58:57 fhajny Exp $
 
-DISTNAME=	libcouchbase-2.3.2
+DISTNAME=	libcouchbase-2.5.6
 CATEGORIES=	devel
 MASTER_SITES=	http://packages.couchbase.com/clients/c/
 
@@ -9,18 +9,14 @@ HOMEPAGE=	http://www.couchbase.com/develop/c/next
 COMMENT=	C/C++ client library to access a Couchbase server
 LICENSE=	apache-2.0
 
-GNU_CONFIGURE=	yes
-USE_TOOLS+=	gmake unzip
+USE_CMAKE=	yes
 USE_LANGUAGES=	c c++
-USE_LIBTOOL=	yes
+USE_TOOLS+=	perl
 
-BROKEN= "configure: error: You need wget or curl in path to download the headers."
-
-CONFIGURE_ARGS+=	--disable-couchbasemock
-CONFIGURE_ARGS+=	--disable-static
-# Test framework automatically downloads Google Test.
-CONFIGURE_ARGS+=	--disable-tests
-CONFIGURE_ENV+=		ac_cv_manpage_layout=bsd
+# Prevents CouchbaseMock.jar fetching at build time
+CMAKE_ARGS+=		-DLCB_NO_MOCK=ON
 
 .include "../../devel/libevent/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libcouchbase/PLIST b/libcouchbase/PLIST
index e95242a..3666c36 100644
--- a/libcouchbase/PLIST
+++ b/libcouchbase/PLIST
@@ -1,64 +1,85 @@
-@comment $NetBSD: PLIST,v 1.3 2014/07/30 13:58:57 fhajny Exp $
+@comment $NetBSD$
 bin/cbc
 bin/cbc-admin
 bin/cbc-bucket-create
 bin/cbc-bucket-delete
+bin/cbc-bucket-flush
 bin/cbc-cat
-bin/cbc-cp
+bin/cbc-connstr
 bin/cbc-create
-bin/cbc-flush
+bin/cbc-decr
 bin/cbc-hash
+bin/cbc-incr
 bin/cbc-lock
+bin/cbc-mcflush
+bin/cbc-n1ql
+bin/cbc-n1qlback
+bin/cbc-observe
+bin/cbc-observe-seqno
 bin/cbc-pillowfight
 bin/cbc-rm
 bin/cbc-stats
+bin/cbc-strerror
+bin/cbc-touch
 bin/cbc-unlock
 bin/cbc-verbosity
-bin/cbc-verify
 bin/cbc-version
 bin/cbc-view
-include/libcouchbase/arguments.h
+bin/cbc-write-config
+include/libcouchbase/_cxxwrap.h
+include/libcouchbase/api-legacy.h
+include/libcouchbase/api3.h
 include/libcouchbase/assert.h
-include/libcouchbase/behavior.h
-include/libcouchbase/callbacks.h
+include/libcouchbase/cntl-private.h
 include/libcouchbase/cntl.h
-include/libcouchbase/compat.h
 include/libcouchbase/configuration.h
 include/libcouchbase/couchbase.h
-include/libcouchbase/durability.h
+include/libcouchbase/deprecated.h
 include/libcouchbase/error.h
 include/libcouchbase/http.h
-include/libcouchbase/iocp_iops.h
+include/libcouchbase/iops.h
+include/libcouchbase/kvbuf.h
 include/libcouchbase/libev_io_opts.h
 include/libcouchbase/libevent_io_opts.h
 include/libcouchbase/libuv_io_opts.h
+include/libcouchbase/n1ql.h
+include/libcouchbase/pktfwd.h
+include/libcouchbase/plugins/io/bsdio-inl.c
 include/libcouchbase/plugins/io/libuv/libuv_compat.h
 include/libcouchbase/plugins/io/libuv/plugin-internal.h
 include/libcouchbase/plugins/io/libuv/plugin-libuv.c
-include/libcouchbase/sanitycheck.h
+include/libcouchbase/plugins/io/wsaerr-inl.c
+include/libcouchbase/plugins/io/wsaerr.h
 include/libcouchbase/select_io_opts.h
+include/libcouchbase/subdoc.h
 include/libcouchbase/sysdefs.h
-include/libcouchbase/timings.h
-include/libcouchbase/types.h
+include/libcouchbase/vbucket.h
+include/libcouchbase/views.h
 include/libcouchbase/visibility.h
-lib/libcouchbase.la
-lib/libcouchbase_libevent.la
+lib/libcouchbase.so
+lib/libcouchbase.so.2
+lib/libcouchbase.so.2.0.32
+lib/libcouchbase_libevent.so
+lib/pkgconfig/libcouchbase.pc
 man/man1/cbc-admin.1
 man/man1/cbc-bucket-create.1
 man/man1/cbc-bucket-delete.1
 man/man1/cbc-cat.1
+man/man1/cbc-connstr.1
 man/man1/cbc-cp.1
 man/man1/cbc-create.1
+man/man1/cbc-dsn.1
 man/man1/cbc-flush.1
 man/man1/cbc-hash.1
 man/man1/cbc-lock.1
+man/man1/cbc-n1qlback.1
+man/man1/cbc-observe.1
+man/man1/cbc-pillowfight.1
 man/man1/cbc-rm.1
 man/man1/cbc-stats.1
 man/man1/cbc-unlock.1
 man/man1/cbc-verbosity.1
-man/man1/cbc-verify.1
 man/man1/cbc-version.1
 man/man1/cbc-view.1
 man/man1/cbc.1
 man/man4/cbcrc.4
-man/man5/lcb_attributes.5
diff --git a/libcouchbase/distinfo b/libcouchbase/distinfo
index d8a24b3..ec790a0 100644
--- a/libcouchbase/distinfo
+++ b/libcouchbase/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.3 2014/07/30 13:58:57 fhajny Exp $
 
-SHA1 (libcouchbase-2.3.2.tar.gz) = e0c885e90aa37c2fcd3a3b188fd0bd1638b58276
-RMD160 (libcouchbase-2.3.2.tar.gz) = 60126dcd4ce52fdaedfee6141146125aa4e77555
-Size (libcouchbase-2.3.2.tar.gz) = 880313 bytes
+SHA1 (libcouchbase-2.5.6.tar.gz) = af7b44e68e2fef853df60b50179a2cc6f2adf00f
+RMD160 (libcouchbase-2.5.6.tar.gz) = 7030edaf4bc80b7cd80f1847d7461dc8fc16f778
+SHA512 (libcouchbase-2.5.6.tar.gz) = 79a42440c19cf6ec5a6c4f48bc08eb2eecfa5debe9a3ab2948853f99bf46283a94fadf3540a8a04a5479a9752e7d96d93e242024379557a1f476ac77abb9d281
+Size (libcouchbase-2.5.6.tar.gz) = 1102134 bytes


Home | Main Index | Thread Index | Old Index