debian/0000755000000000000000000000000012235637370007176 5ustar debian/start-memcachedb0000644000000000000000000000452112233162646012323 0ustar #!/usr/bin/perl -w # start-memcached # 2003/2004 - Jay Bonci # This script handles the parsing of the /etc/memcached.conf file # and was originally created for the Debian distribution. # Anyone may use this little script under the same terms as # memcached itself. # # Modified by Arto Jantunen for use with memcachedb use strict; if($> != 0 and $< != 0) { print STDERR "Only root wants to run start-memcachedb.\n"; exit; } my $params; my $etchandle; my $etcfile = "/etc/memcachedb.conf"; # This script assumes that memcached is located at /usr/bin/memcached, and # that the pidfile is writable at /var/run/memcached.pid my $memcachedb = "/usr/bin/memcachedb"; my $pidfile = "/var/run/memcachedb.pid"; # If we don't get a valid logfile parameter in the /etc/memcached.conf file, # we'll just throw away all of our in-daemon output. We need to re-tie it so # that non-bash shells will not hang on logout. Thanks to Michael Renner for # the tip my $fd_reopened = "/dev/null"; sub handle_logfile { my ($logfile) = @_; $fd_reopened = $logfile; } sub reopen_logfile { my ($logfile) = @_; open *STDERR, ">>$logfile"; open *STDOUT, ">>$logfile"; open *STDIN, ">>/dev/null"; $fd_reopened = $logfile; } # This is set up in place here to support other non -[a-z] directives my $conf_directives = { "logfile" => \&handle_logfile, }; if(open $etchandle, $etcfile) { foreach my $line (<$etchandle>) { $line ||= ""; $line =~ s/\#.*//g; $line =~ s/\s+$//g; $line =~ s/^\s+//g; next unless $line; next if $line =~ /^\-[dh]/; if($line =~ /^[^\-]/) { my ($directive, $arg) = $line =~ /^(.*?)\s+(.*)/; $conf_directives->{$directive}->($arg); next; } push @$params, $line; } }else{ $params = []; } push @$params, "-u root" unless(grep "-u", @$params); $params = join " ", @$params; if(-e $pidfile) { open PIDHANDLE, "$pidfile"; my $localpid = ; close PIDHANDLE; chomp $localpid; if(-d "/proc/$localpid") { print STDERR "memcachedb is already running.\n"; exit; }else{ `rm -f $localpid`; } } my $pid = fork(); if($pid == 0) { reopen_logfile($fd_reopened); exec "$memcachedb $params"; exit(0); }else{ if(open PIDHANDLE,">$pidfile") { print PIDHANDLE $pid; close PIDHANDLE; }else{ print STDERR "Can't write pidfile to $pidfile.\n"; } } debian/source/0000755000000000000000000000000012233162646010473 5ustar debian/source/format0000644000000000000000000000001412233162646011701 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000066512233162646010262 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all override_dh_auto_install: install -m 744 $(CURDIR)/debian/start-memcachedb $(CURDIR)/debian/memcachedb/usr/share/memcachedb/ install -m 644 $(CURDIR)/debian/memcachedb.conf $(CURDIR)/debian/memcachedb/etc/ dh_installchangelogs ChangeLog dh_auto_install override_dh_auto_configure: dh_auto_configure -- --enable-threads %: dh $@ --with autoreconf,autotools_dev debian/patches/0000755000000000000000000000000012235637364010630 5ustar debian/patches/replication-api.patch0000644000000000000000000000502312235637364014731 0ustar Description: Guard <<5.2 replication api calls. TODO: Actually port to 5.3+ replication api, if needed. Author: Dmitrijs Ledkovs --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- memcachedb-1.2.0.orig/configure.ac +++ memcachedb-1.2.0/configure.ac @@ -101,6 +101,8 @@ LDFLAGS="-L$bdbdir/lib $LDFLAGS" AC_SEARCH_LIBS([db_create], [db], [] ,[AC_MSG_ERROR(cannot find libdb.so in $bdbdir/lib)]) AC_CHECK_HEADERS([db.h], [] ,[AC_MSG_ERROR(cannot find db.h in $bdbdir/include)]) +AC_CHECK_MEMBERS([DB_ENV.repmgr_add_remote_site, DB_ENV.repmgr_set_local_site],,,[#include ]) + dnl ---------------------------------------------------------------------------- AC_SEARCH_LIBS(socket, socket) --- memcachedb-1.2.0.orig/bdb.c +++ memcachedb-1.2.0/bdb.c @@ -204,12 +204,15 @@ void bdb_env_init(void){ env->rep_set_request(env, bdb_settings.rep_req_min, bdb_settings.rep_req_max); env->rep_set_limit(env, bdb_settings.rep_limit_gbytes, bdb_settings.rep_limit_bytes); +#ifdef HAVE_DB_ENV_REPMGR_SET_LOCAL_SITE /* publish the local site communication channel */ if ((ret = env->repmgr_set_local_site(env, bdb_settings.rep_localhost, bdb_settings.rep_localport, 0)) != 0) { fprintf(stderr, "repmgr_set_local_site[%s:%d]: %s\n", bdb_settings.rep_localhost, bdb_settings.rep_localport, db_strerror(ret)); exit(EXIT_FAILURE); } +#endif +#ifdef HAVE_DB_ENV_REPMGR_ADD_REMOTE_SITE /* add a remote site, mostly this is a master */ if(NULL != bdb_settings.rep_remotehost) { if ((ret = env->repmgr_add_remote_site(env, bdb_settings.rep_remotehost, bdb_settings.rep_remoteport, NULL, 0)) != 0) { @@ -218,6 +221,7 @@ void bdb_env_init(void){ exit(EXIT_FAILURE); } } +#endif /* nsite is important for electing, default nvotes is (nsite/2 + 1) if nsite is equel to 2, then nvotes is 1 */ if ((ret = env->rep_set_nsites(env, bdb_settings.rep_nsites)) != 0) { debian/patches/series0000644000000000000000000000011012235637326012033 0ustar 0001-CVE-2009-1255.patch 0002-CVE-2009-2415.patch replication-api.patch debian/patches/0002-CVE-2009-2415.patch0000644000000000000000000000252412233162646013623 0ustar From: Arto Jantunen Date: Sun, 15 Nov 2009 11:43:24 +0200 Subject: [PATCH] CVE-2009-2415 Fix for CVE-2009-2415, borrowed from the Debian security update for memcached Bug-Debian: http://bugs.debian.org/540381 --- memcachedb.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/memcachedb.c b/memcachedb.c index 402a3b8..5b45891 100644 --- a/memcachedb.c +++ b/memcachedb.c @@ -1046,20 +1046,20 @@ static void process_update_command(conn *c, token_t *tokens, const size_t ntoken flags = strtoul(tokens[2].value, NULL, 10); exptime = strtol(tokens[3].value, NULL, 10); - vlen = strtol(tokens[4].value, NULL, 10); + vlen = strtol(tokens[4].value, NULL, 10) + 2; - if(errno == ERANGE || ((flags == 0 || exptime == 0) && errno == EINVAL)) { + if(errno == ERANGE || ((flags == 0 || exptime == 0) && errno == EINVAL) || vlen < 0 || vlen - 2 < 0) { out_string(c, "CLIENT_ERROR bad command line format"); return; } - it = item_alloc1(key, nkey, flags, vlen+2); + it = item_alloc1(key, nkey, flags, vlen); if (it == NULL) { out_string(c, "SERVER_ERROR out of memory storing object"); /* swallow the data line */ c->write_and_go = conn_swallow; - c->sbytes = vlen + 2; + c->sbytes = vlen; return; } -- debian/patches/0001-CVE-2009-1255.patch0000644000000000000000000000546112233162646013626 0ustar From: Steve Chu Date: Sun, 15 Nov 2009 11:43:12 +0200 Subject: [PATCH] CVE-2009-1255 Fix CVE-2009-1255 by disabling the commands that leak sensitive memory information. Origin: upstream, http://code.google.com/p/memcachedb/source/detail?r=98 Bug-Debian: http://bugs.debian.org/527330 --- memcachedb.c | 61 ---------------------------------------------------------- 1 files changed, 0 insertions(+), 61 deletions(-) diff --git a/memcachedb.c b/memcachedb.c index 6e04079..402a3b8 100644 --- a/memcachedb.c +++ b/memcachedb.c @@ -907,67 +907,6 @@ static void process_stat(conn *c, token_t *tokens, const size_t ntokens) { } } -#ifdef HAVE_MALLOC_H -#ifdef HAVE_STRUCT_MALLINFO - if (strcmp(subcommand, "malloc") == 0) { - char temp[512]; - struct mallinfo info; - char *pos = temp; - - info = mallinfo(); - pos += sprintf(pos, "STAT arena_size %d\r\n", info.arena); - pos += sprintf(pos, "STAT free_chunks %d\r\n", info.ordblks); - pos += sprintf(pos, "STAT fastbin_blocks %d\r\n", info.smblks); - pos += sprintf(pos, "STAT mmapped_regions %d\r\n", info.hblks); - pos += sprintf(pos, "STAT mmapped_space %d\r\n", info.hblkhd); - pos += sprintf(pos, "STAT max_total_alloc %d\r\n", info.usmblks); - pos += sprintf(pos, "STAT fastbin_space %d\r\n", info.fsmblks); - pos += sprintf(pos, "STAT total_alloc %d\r\n", info.uordblks); - pos += sprintf(pos, "STAT total_free %d\r\n", info.fordblks); - pos += sprintf(pos, "STAT releasable_space %d\r\nEND", info.keepcost); - out_string(c, temp); - return; - } -#endif /* HAVE_STRUCT_MALLINFO */ -#endif /* HAVE_MALLOC_H */ - -#if !defined(WIN32) || !defined(__APPLE__) - if (strcmp(subcommand, "maps") == 0) { - char *wbuf; - int wsize = 8192; /* should be enough */ - int fd; - int res; - - if ((wbuf = (char *)malloc(wsize)) == NULL) { - out_string(c, "SERVER_ERROR out of memory writing stats maps"); - return; - } - - fd = open("/proc/self/maps", O_RDONLY); - if (fd == -1) { - out_string(c, "SERVER_ERROR cannot open the maps file"); - free(wbuf); - return; - } - - res = read(fd, wbuf, wsize - 6); /* 6 = END\r\n\0 */ - if (res == wsize - 6) { - out_string(c, "SERVER_ERROR buffer overflow"); - free(wbuf); close(fd); - return; - } - if (res == 0 || res == -1) { - out_string(c, "SERVER_ERROR can't read the maps file"); - free(wbuf); close(fd); - return; - } - memcpy(wbuf + res, "END\r\n", 5); - write_and_free(c, wbuf, res + 5); - close(fd); - return; - } -#endif - out_string(c, "ERROR"); } -- debian/memcachedb.postrm0000644000000000000000000000026012233162646012507 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then dpkg-statoverride --remove /var/lib/memcachedb || test $? -eq 2 rm -rf /var/lib/memcachedb userdel memcachedb fi #DEBHELPER# debian/memcachedb.postinst0000644000000000000000000000105512233162646013051 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then if ! getent passwd memcachedb >/dev/null; then adduser \ --quiet \ --system \ --disabled-login \ --group \ --home /var/lib/memcachedb \ --no-create-home \ --gecos "Memcached Server" \ --shell /bin/false \ memcachedb fi if ! dpkg-statoverride --list /var/lib/memcachedb > /dev/null ; then dpkg-statoverride --update --add memcachedb memcachedb 755 /var/lib/memcachedb fi fi #DEBHELPER# debian/memcachedb.manpages0000644000000000000000000000002412233162646012754 0ustar debian/memcachedb.1 debian/memcachedb.init0000644000000000000000000000302412233162646012127 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: memcachedb # Required-Start: $local_fs $remote_fs $syslog # Required-Stop: $local_fs $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: memcachedb - Persistent cache daemon # Description: memcachedb - Persistent cache daemon ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/memcachedb DAEMONBOOTSTRAP=/usr/share/memcachedb/start-memcachedb NAME=memcachedb DESC=memcachedb PIDFILE=/var/run/$NAME.pid test -x $DAEMON || exit 0 test -x $DAEMONBOOTSTRAP || exit 0 . /lib/lsb/init-functions set -e case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --exec $DAEMONBOOTSTRAP echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --retry 10 --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON echo "$NAME." rm -f $PIDFILE ;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # echo -n "Restarting $DESC: " start-stop-daemon --stop --retry 10 --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON rm -f $PIDFILE start-stop-daemon --start --quiet --exec $DAEMONBOOTSTRAP echo "$NAME." ;; status) status_of_proc /usr/bin/$NAME $NAME ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/memcachedb.examples0000644000000000000000000000010212233162646012774 0ustar tools/mcben.py tools/mdbtest.py tools/mdbtop.py tools/memcache.py debian/memcachedb.docs0000644000000000000000000000006212233162646012113 0ustar AUTHORS CREDITS README TODO debian/README.Debian debian/memcachedb.dirs0000644000000000000000000000005712233162646012130 0ustar /var/lib/memcachedb /usr/share/memcachedb /etc debian/memcachedb.conf0000644000000000000000000000304712233162646012116 0ustar # memcachedb default config file # 2003 - Jay Bonci # This configuration file is read by the start-memcachedx script provided as # part of the Debian GNU/Linux distribution. # # Modified by Arto Jantunen for use with memcachedb # Run memcachedb as a daemon. This command is implied, and is not needed for the # daemon to run. See the README.Debian that comes with this package for more # information. -d # Log memcachedb's output to /var/log/memcachedb.log logfile /var/log/memcachedb.log # Be verbose # -v # Be even more verbose (print client commands as well) # -vv # in-memmory cache size of BerkeleyDB in megabytes, default is 64MB -m 64 # Default connection port is 11211 -p 21201 # underlying page size in bytes, default is 4096, (512B ~ 64KB, power-of-two) -A 4096 # Run the daemon as memcachedb. -u memcachedb # Specify which IP address to listen on. The default is to listen on all IP addresses # This parameter is one of the only security measures that memcached has, so make sure # it's listening on a firewalled interface. -l 127.0.0.1 # env home of database, default is /var/lib/memcachedb -H /var/lib/memcachedb # filename of database, default is /var/lib/memcachedb/default.db -f /var/lib/memcachedb/default.db # Limit the number of simultaneous incoming connections. # The daemon default is 1024 # -c 1024 # max item buffer size in bytes, default is 1024 # -b1024 # checkpoint every XX seconds, 0 for disable, default is 60s # -C 60 # Maximize core file limit # -r # UDP port, defaults to off -U off debian/memcachedb.10000644000000000000000000000726712233162646011341 0ustar .TH MEMCACHEDB 1 "05 February 11" .SH NAME memcachedb \- persistence-enabled variant of memcached .SH SYNOPSIS \fBmemcachedb\fP [\fIOPTIONS\fP] .SH DESCRIPTION MemcacheDB (pronounced \fImem-cash-dee-bee\fP) is a persistence-enabled variant of the \fBmemcached\fP distributed key-value storage system. It is NOT a cache solution, but rather a persistent storage engine for fast and reliable key-value based object storage and retrieval. .PP It conforms to the \fBmemcache\fP protocol, which means that \fImemcached\fP clients can connect and use the persistent key-value store transparently. It also provides reliability and high-availability through its transaction and replication support, courtesy of its BerkeleyDB storage backend. .SH OPTIONS .TP \fC\-p\fP TCP port to listen on (default: 21201) .TP \fC\-U\fP UDP port to listen on (default: 0, off) .TP \fC\-s\fP UNIX Domain Socket path to listen on (disables network support) .TP \fC\-a\fP Access mask for unix socket, in octal (default: 0700) .TP \fC\-l\fp Interface to listen on (default: INADRR_ANY) .TP \fC\-d\fP Run as a daemon .TP \fC\-r\fP Maximize core file limit .TP \fC\-u\fP Assume identity of <\fIusername\fP> (only when run as root) .TP \fC\-c\fP Maximum simultaneous connections (default: 4096) .TP \fC\-b\fP Item size smaller than <\fInum\fP> bytes will use fast memory allocation (default: 2048 bytes) .TP \fC\-v\fP Verbose (print errors/warnings while in event loop) .TP \fC\-vv\fP Very verbose (also print client commands/reponses) .TP \fC\-h\fP Print brief usage instructions and exit .TP \fC\-i\fP Print complete copyright and license information .TP \fC\-P\fP Save process ID in <\fIfile\fP> (only used with the \-d option) .TP \fC\-t\fP Number of threads to use (default: 4) .SS Berkeley DB Options .TP \fC\-m\fP In-memory cache size of BerkeleyDB in megabytes (default: 256MB) .TP \fC\-A\fP Underlying page size in bytes (default: 4096, range: 512B-64KB, power-of-two) .TP \fC\-f\fP Filename of database (default: \fIdata.db\fP) .TP \fC\-H\fP Environment HOME of database (default: \fI/data1/memcachedb\fP) .TP \fC\-G\fP Log directory of database (default: same as Environment HOME, see \-H) .TP \fC\-B\fP Type of database, options are: 'btree' or 'hash' (default: btree) .TP \fC\-L\fP Log buffer size in kBytes (default: 4096kB) .TP \fC\-C\fP Perform a checkpoint every <\fInum\fP> seconds (0 to disable, default: 300 seconds) .TP \fC\-T\fP Do \fBmemp_trickle\fP every <\fInum\fP> seconds (0 to disable, default: 30 seconds) .TP \fC\-e\fP Percentage of the pages in the cache that should be clean (default: 60%) .TP \fC\-D\fP Perform deadlock detection every <\fInum\fP> milliseconds (0 to disable, default: 100ms) .TP \fC\-N\fP Enable \fBDB_TXN_NOSYNC\fP for a large performance gain (default: off) .TP \fC\-E\fP Automatically remove log files that are no longer needed .TP \fC\-X\fP Allocate region memory from the heap (default: off) .SS Replication Options .TP \fC\-R\fP Identifies the host and port used by this site (required) .TP \fC\-O\fP Identifies another site participating in this replication group .TP \fC\-M\fP/\fC\-S\fP Start memcachedb as a master or slave .TP \fC\-n\fP Number of sites participating in replication (default: 2) .SH CAVEATS .IP "\(bu" 4 Because this is a persistent storage solution, expire time specified in the corresponding memcache protocol clients will be silently discarded. .SH FILES .TP \fC/etc/memcachedb.conf\fR .SH "SEE ALSO" memcached(1) .SH AUTHOR MemcacheDB was written and is maintained by Steve Chu , based on Memcached by Danga Interactive, Inc. debian/copyright0000644000000000000000000006675112233162646011145 0ustar This package was debianized by Arto Jantunen on Mon, 26 May 2008 15:03:13 +0300. It was downloaded from http://memcachedb.org/ Upstream Author: Steve Chu Copyright: Copyright (c) 2008, Steve Chu. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Danga Interactive nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This product includes software developed by Danga Interactive, Inc. The package also contains a modified version of the memcache client library for Python, Copyright (C) 2003 Danga Interactive, licensed under the Python license (included below). Python License ============== A. HISTORY OF THE SOFTWARE ========================== Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands as a successor of a language called ABC. Guido remains Python's principal author, although it includes many contributions from others. In 1995, Guido continued his work on Python at the Corporation for National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) in Reston, Virginia where he released several versions of the software. In May 2000, Guido and the Python core development team moved to BeOpen.com to form the BeOpen PythonLabs team. In October of the same year, the PythonLabs team moved to Digital Creations (now Zope Corporation, see http://www.zope.com). In 2001, the Python Software Foundation (PSF, see http://www.python.org/psf/) was formed, a non-profit organization created specifically to own Python-related Intellectual Property. Zope Corporation is a sponsoring member of the PSF. All Python releases are Open Source (see http://www.opensource.org for the Open Source Definition). Historically, most, but not all, Python releases have also been GPL-compatible; the table below summarizes the various releases. Release Derived Year Owner GPL- from compatible? (1) 0.9.0 thru 1.2 1991-1995 CWI yes 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes 1.6 1.5.2 2000 CNRI no 2.0 1.6 2000 BeOpen.com no 1.6.1 1.6 2001 CNRI yes (2) 2.1 2.0+1.6.1 2001 PSF no 2.0.1 2.0+1.6.1 2001 PSF yes 2.1.1 2.1+2.0.1 2001 PSF yes 2.2 2.1.1 2001 PSF yes 2.1.2 2.1.1 2002 PSF yes 2.1.3 2.1.2 2002 PSF yes 2.2.1 2.2 2002 PSF yes 2.2.2 2.2.1 2002 PSF yes 2.2.3 2.2.2 2003 PSF yes 2.3 2.2.2 2002-2003 PSF yes 2.3.1 2.3 2002-2003 PSF yes 2.3.2 2.3.1 2002-2003 PSF yes 2.3.3 2.3.2 2002-2003 PSF yes 2.3.4 2.3.3 2004 PSF yes 2.3.5 2.3.4 2005 PSF yes 2.4 2.3 2004 PSF yes 2.4.1 2.4 2005 PSF yes 2.4.2 2.4.1 2005 PSF yes 2.4.3 2.4.2 2006 PSF yes 2.5 2.4 2006 PSF yes 2.5.1 2.5 2007 PSF yes Footnotes: (1) GPL-compatible doesn't mean that we're distributing Python under the GPL. All Python licenses, unlike the GPL, let you distribute a modified version without making your changes open source. The GPL-compatible licenses make it possible to combine Python with other software that is released under the GPL; the others don't. (2) According to Richard Stallman, 1.6.1 is not GPL-compatible, because its license has a choice of law clause. According to CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 is "not incompatible" with the GPL. Thanks to the many outside volunteers who have worked under Guido's direction to make these releases possible. B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON =============================================================== PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 -------------------------------------------- 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 ------------------------------------------- BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization ("Licensee") accessing and otherwise using this software in source or binary form and its associated documentation ("the Software"). 2. Subject to the terms and conditions of this BeOpen Python License Agreement, BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use the Software alone or in any derivative version, provided, however, that the BeOpen Python License is retained in the Software, alone or in any derivative version prepared by Licensee. 3. BeOpen is making the Software available to Licensee on an "AS IS" basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 5. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 6. This License Agreement shall be governed by and interpreted in all respects by the law of the State of California, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between BeOpen and Licensee. This License Agreement does not grant permission to use BeOpen trademarks or trade names in a trademark sense to endorse or promote products or services of Licensee, or any third party. As an exception, the "BeOpen Python" logos available at http://www.pythonlabs.com/logos.html may be used according to the permissions granted on that web page. 7. By copying, installing or otherwise using the software, Licensee agrees to be bound by the terms and conditions of this License Agreement. CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 --------------------------------------- 1. This LICENSE AGREEMENT is between the Corporation for National Research Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191 ("CNRI"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 1.6.1 software in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 1.6.1 alone or in any derivative version, provided, however, that CNRI's License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) 1995-2001 Corporation for National Research Initiatives; All Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version prepared by Licensee. Alternately, in lieu of CNRI's License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6.1 is made available subject to the terms and conditions in CNRI's License Agreement. This Agreement together with Python 1.6.1 may be located on the Internet using the following unique, persistent identifier (known as a handle): 1895.22/1013. This Agreement may also be obtained from a proxy server on the Internet using the following URL: http://hdl.handle.net/1895.22/1013". 3. In the event Licensee prepares a derivative work that is based on or incorporates Python 1.6.1 or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python 1.6.1. 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. This License Agreement shall be governed by the federal intellectual property law of the United States, including without limitation the federal copyright law, and, to the extent such U.S. federal law does not apply, by the law of the Commonwealth of Virginia, excluding Virginia's conflict of law provisions. Notwithstanding the foregoing, with regard to derivative works based on Python 1.6.1 that incorporate non-separable material that was previously distributed under the GNU General Public License (GPL), the law of the Commonwealth of Virginia shall govern this License Agreement only as to issues arising under or with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between CNRI and Licensee. This License Agreement does not grant permission to use CNRI trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and conditions of this License Agreement. ACCEPT CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 -------------------------------------------------- Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The Netherlands. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Stichting Mathematisch Centrum or CWI not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Licenses and Acknowledgements for Incorporated Software ======================================================= Mersenne Twister ---------------- The `_random' module includes code based on a download from `http://www.math.keio.ac.jp/~matumoto/MT2002/emt19937ar.html'. The following are the verbatim comments from the original code: A C-program for MT19937, with initialization improved 2002/1/26. Coded by Takuji Nishimura and Makoto Matsumoto. Before using, initialize the state by using init_genrand(seed) or init_by_array(init_key, key_length). Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Any feedback is very welcome. http://www.math.keio.ac.jp/matumoto/emt.html email: matumoto@math.keio.ac.jp Sockets ------- The `socket' module uses the functions, `getaddrinfo', and `getnameinfo', which are coded in separate source files from the WIDE Project, `http://www.wide.ad.jp/about/index.html'. Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND GAI_ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE FOR GAI_ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON GAI_ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN GAI_ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Floating point exception control -------------------------------- The source for the `fpectl' module includes the following notice: --------------------------------------------------------------------- / Copyright (c) 1996. \ | The Regents of the University of California. | | All rights reserved. | | | | Permission to use, copy, modify, and distribute this software for | | any purpose without fee is hereby granted, provided that this en- | | tire notice is included in all copies of any software which is or | | includes a copy or modification of this software and in all | | copies of the supporting documentation for such software. | | | | This work was produced at the University of California, Lawrence | | Livermore National Laboratory under contract no. W-7405-ENG-48 | | between the U.S. Department of Energy and The Regents of the | | University of California for the operation of UC LLNL. | | | | DISCLAIMER | | | | This software was prepared as an account of work sponsored by an | | agency of the United States Government. Neither the United States | | Government nor the University of California nor any of their em- | | ployees, makes any warranty, express or implied, or assumes any | | liability or responsibility for the accuracy, completeness, or | | usefulness of any information, apparatus, product, or process | | disclosed, or represents that its use would not infringe | | privately-owned rights. Reference herein to any specific commer- | | cial products, process, or service by trade name, trademark, | | manufacturer, or otherwise, does not necessarily constitute or | | imply its endorsement, recommendation, or favoring by the United | | States Government or the University of California. The views and | | opinions of authors expressed herein do not necessarily state or | | reflect those of the United States Government or the University | | of California, and shall not be used for advertising or product | \ endorsement purposes. / --------------------------------------------------------------------- Cookie management ----------------- The `Cookie' module contains the following notice: Copyright 2000 by Timothy O'Malley All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Timothy O'Malley not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Execution tracing ----------------- The `trace' module contains the following notice: portions copyright 2001, Autonomous Zones Industries, Inc., all rights... err... reserved and offered to the public under the terms of the Python 2.2 license. Author: Zooko O'Whielacronx http://zooko.com/ mailto:zooko@zooko.com Copyright 2000, Mojam Media, Inc., all rights reserved. Author: Skip Montanaro Copyright 1999, Bioreason, Inc., all rights reserved. Author: Andrew Dalke Copyright 1995-1997, Automatrix, Inc., all rights reserved. Author: Skip Montanaro Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved. Permission to use, copy, modify, and distribute this Python software and its associated documentation for any purpose without fee is hereby granted, provided that the above copyright notice appears in all copies, and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of neither Automatrix, Bioreason or Mojam Media be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. UUencode and UUdecode functions ------------------------------- The `uu' module contains the following notice: Copyright 1994 by Lance Ellinghouse Cathedral City, California Republic, United States of America. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Lance Ellinghouse not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Modified by Jack Jansen, CWI, July 1995: - Use binascii module to do the actual line-by-line conversion between ascii and binary. This results in a 1000-fold speedup. The C version is still 5 times faster, though. - Arguments more compliant with python standard XML Remote Procedure Calls -------------------------- The `xmlrpclib' module contains the following notice: The XML-RPC client interface is Copyright (c) 1999-2002 by Secret Labs AB Copyright (c) 1999-2002 by Fredrik Lundh By obtaining, using, and/or copying this software and/or its associated documentation, you agree that you have read, understood, and will comply with the following terms and conditions: Permission to use, copy, modify, and distribute this software and its associated documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies, and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Secret Labs AB or the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/control0000644000000000000000000000173412235637314010604 0ustar Source: memcachedb Section: web Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Arto Jantunen Standards-Version: 3.9.4.0 Build-Depends: debhelper (>= 9), libdb-dev, libevent-dev, dh-autoreconf, autotools-dev Build-Conflicts: autoconf2.13, automake1.4 Homepage: http://memcachedb.org/ Package: memcachedb Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Recommends: db-util Description: Persistent storage engine using the memcache protocol Memcachedb is a distributed key-value storage system designed for persistent data. It is NOT a cache solution, but a persistent storage engine for fast and reliable key-value based object storage and retrieval. . It conforms to the memcache protocol, so any memcached client can have connectivity with it. Memcachedb uses Berkeley DB as a storing backend, so lots of features including transactions and replication are available. debian/compat0000644000000000000000000000000212233162646010371 0ustar 9 debian/changelog0000644000000000000000000000677712235637305011067 0ustar memcachedb (1.2.0-10ubuntu1) trusty; urgency=low * Guard <<5.2 replication api calls. -- Dmitrijs Ledkovs Mon, 04 Nov 2013 06:28:59 +0000 memcachedb (1.2.0-10) unstable; urgency=low * Enable dh-autoreconf * Enable autotools-dev * Update init script to source the init functions and add a status target (thanks lintian) * Update Standards-Version to 3.9.4.0 (no changes) -- Arto Jantunen Sun, 27 Oct 2013 12:05:11 +0200 memcachedb (1.2.0-9) unstable; urgency=low * Update to debhelper 9 * Enable all hardening options * Use dpkg-statoverride instead of an explicit chown in postinst * Create the memcachedb user in postinst instead of preinst -- Arto Jantunen Sat, 04 Feb 2012 12:55:19 +0200 memcachedb (1.2.0-8) unstable; urgency=low * Update to Berkeley DB 5.1 and libdb-dev (Closes: #621361) * Update Standards-Version, no changes -- Arto Jantunen Thu, 07 Apr 2011 18:47:14 +0300 memcachedb (1.2.0-7) unstable; urgency=low * Modify init script dependencies (require both $local_fs and $remote_fs), thanks lintian. * Add a manpage (Closes: #525022), thanks Jonathan Yu! * Update debian/copyright to include the full text of the license, thanks lintian. * Update Standards-Version to 3.9.1.0, no changes. * Update to debhelper 8 -- Arto Jantunen Fri, 11 Mar 2011 20:23:38 +0200 memcachedb (1.2.0-6) unstable; urgency=low * Updated Standards-Version to 3.8.3 * Added misc:Depends to make lintian happy * Converted to use dh(1) * Converted from dpatch to quilt * Converted to source format 3.0 (quilt) * Add -U off to default config to work around upstream bug -- Arto Jantunen Sat, 21 Nov 2009 10:57:13 +0200 memcachedb (1.2.0-5) unstable; urgency=high * Added patch 02_CVE-2009-2415 to fix a heap based buffer overflow 02_CVE-2009-2415 (Closes: #540381) -- Arto Jantunen Sun, 09 Aug 2009 18:47:25 +0300 memcachedb (1.2.0-4) unstable; urgency=low * s/deluser/userdel/ in postrm, this should make the package piuparts clean * Minor cleanups for the rules file. * Updated Standards-Version to 3.8.2, no changes. -- Arto Jantunen Thu, 30 Jul 2009 15:42:41 +0200 memcachedb (1.2.0-3) unstable; urgency=high * Added dpatch support * Added patch 01_CVE-2009-1255 as a fix for CVE-2009-1255 (Closes: #527330) * Added Recommends: db4.7-util (for db_archive) * Updated Standards-Version to 3.8.1, no changes needed. -- Arto Jantunen Thu, 30 Apr 2009 09:53:29 +0300 memcachedb (1.2.0-2) unstable; urgency=low * Fixed typo in README.Debian, thanks to Y Giridhar Appaji Nag (Closes: #512732). * Fixed typo in the init script. -- Arto Jantunen Thu, 19 Feb 2009 13:39:05 +0200 memcachedb (1.2.0-1) unstable; urgency=low * New upstream release * Build-depend on an exact Berkeley DB (Closes: #507200) -- Arto Jantunen Fri, 28 Nov 2008 13:04:12 +0200 memcachedb (1.0.4-1) unstable; urgency=low * New upstream release * Modified init-script to wait for memcachedb to stop, it seems that in many cases that takes a while. * Updated Standards-Version, no changes. * Added set -e to postinst and postrm. -- Arto Jantunen Tue, 30 Sep 2008 15:33:37 +0300 memcachedb (1.0.3-1) unstable; urgency=low * Initial release (Closes: #482998) -- Arto Jantunen Mon, 26 May 2008 14:36:24 +0300 debian/README.Debian0000644000000000000000000000117512233162646011240 0ustar By default the packaged version of memcachedb runs as a daemon and is configured by editing the /etc/memcachedb.conf configfile. You can also run it by hand (eg. to run multiple copies on a single host, etc). From the upstream INSTALL file: use "-h" option to get started. Running Examples: 1. run as a single daemon memcachedb -p21201 -d -r -u root -H ./env -N -v 2. run as a replicated group start a master (read&write): memcachedb -p21201 -d -r -u root -H ./env1 -N -R 127.0.0.1:31201 -M then, start a replcas (read-only): memcachedb -p21202 -d -r -u root -H ./env2 -N -R 127.0.0.1:31202 -O 127.0.0.1:31201 -S