Bundle the protocol definitions for memcached to make it easier to build

The protocol headers is used to get the struct definitions and the
command id's to make it easier to build on most platforms. Those files
doesn't change that often, and it doesn't really make sense to require
the user to build and install the memcached server just to get the
headerfiles to build the client ;-)

I've added the COPYRIGHT file from the memcached project in the same
directory as the headers.

Change-Id: I73a469704accd333cef7ead7a4a40701a704bd1c
Reviewed-on: http://review.couchbase.org/13633
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Rename packaging/{debian,deb}

Change-Id: Id49f541ec9f6a37a5cd6b00905d38fd0ebe2938c
Reviewed-on: http://review.couchbase.org/13680
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Always sign deb packages and allow to pass PGP key

Change-Id: I3ecc2a629859f3b24ae32ea5456cc22840b663b1
Reviewed-on: http://review.couchbase.org/13681
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reduce package dependencies (use internal SASL client)

Change-Id: Ib37ac3c67417613307b634a09bf653d802af6689
Reviewed-on: http://review.couchbase.org/13682
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
debhelper required to build deb packages

Change-Id: Ie6b94d65c1a0795ed4607da95c339e7b4824b76a
Reviewed-on: http://review.couchbase.org/13683
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Add astyle rules

Change-Id: Id596dd3b65f73ba5ad6144ee3b40e2d58d934219
Reviewed-on: http://review.couchbase.org/13706
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix compile error in smoke-test (-Wformat-security)

Change-Id: I5f08c8d582afc6ccd0d1c9026b70d07df249d698
Reviewed-on: http://review.couchbase.org/13745
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Allow use of libcouchbase to pure memcached clusters

Change-Id: If9152d0783dc86fd879db4549c321ef281714401
Reviewed-on: http://review.couchbase.org/13746
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
implement PROTOCOL_BINARY_CMD_VERSION

Change-Id: I4d08b1ea503381913ce5a0d1edc06bdd19e18a57
Reviewed-on: http://review.couchbase.org/13377
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix buildbreak on win32

Change-Id: Ie48ed69ba95a2eb54e2a1fad346423e22eeb7504
Reviewed-on: http://review.couchbase.org/13749
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Update library version

The shared object should be 1.2.0 and the library version number
should be set to 1.0.2

Change-Id: If3bb7ca0dcf0c6c63a644a7aab824c2b6e66a9b8
Reviewed-on: http://review.couchbase.org/13747
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
make reformat

Change-Id: I0c5b6e23c32fb641c98636377d1fe5032a6620a8
Reviewed-on: http://review.couchbase.org/13781
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Updated package metadata for 1.0.2 release

Change-Id: Id3333121aff904c41af5908637bb3bc1dfa35b96
Reviewed-on: http://review.couchbase.org/13785
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Fix build breaks with --enable-werror with SPRO

Change-Id: Ib9792a2e4ed16bf07c462e780e1cef9351a78f42
Reviewed-on: http://review.couchbase.org/13814
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Refactor: rename libcouchbase_ringbuffer_ to ringbuffer_

These are library internal functions not exported outside the library

Change-Id: Iccb8f2aef9f1d23109d676d7adf45cbd99c0995d
Reviewed-on: http://review.couchbase.org/13805
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Add lint rule

Change-Id: I8504170986e19bd7d69ee3be69c9fa3609ea67d0
Reviewed-on: http://review.couchbase.org/13824
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
MB-4834: Request the tap bytes in a known byte order

Change-Id: Ib53b352b04e38b515f66301b79a55fc56ea7e93d
Reviewed-on: http://review.couchbase.org/13806
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Fix errors reported by lint

Change-Id: I688876a659e68166456541f9d296e038118af6e5
Reviewed-on: http://review.couchbase.org/13825
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Check for newer libvbucket

Change-Id: Ic98954ff540aad128455be0e1f0b8d66bb097bc2
Reviewed-on: http://review.couchbase.org/13850
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Clean up warnings reported by lint

Change-Id: I11a119fdfba74d9722ff5bc3396deedf7279515d
Reviewed-on: http://review.couchbase.org/13856
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>