├── .github └── workflows │ ├── apt.yml │ └── ppa.yml ├── README.md ├── SECURITY.md ├── debian ├── NEWS ├── bash_completion.d │ └── redis-cli ├── bin │ └── generate-systemd-service-files ├── changelog ├── compat ├── control ├── copyright ├── gbp.conf ├── patches │ ├── 0001-fix-ftbfs-on-kfreebsd.patch │ ├── debian-packaging │ │ ├── 0003-dpkg-buildflags.patch │ │ └── 0007-Set-Debian-configuration-defaults.patch │ └── series ├── redis-benchmark.1 ├── redis-check-aof.1 ├── redis-check-rdb.1 ├── redis-cli.1 ├── redis-sentinel.1 ├── redis-sentinel.default ├── redis-sentinel.init ├── redis-sentinel.install ├── redis-sentinel.links ├── redis-sentinel.logrotate ├── redis-sentinel.maintscript ├── redis-sentinel.manpages ├── redis-sentinel.postinst ├── redis-sentinel.postrm ├── redis-server.1 ├── redis-server.default ├── redis-server.docs ├── redis-server.init ├── redis-server.install ├── redis-server.links ├── redis-server.logrotate ├── redis-server.maintscript ├── redis-server.manpages ├── redis-server.postinst ├── redis-server.postrm ├── redis-tools.examples ├── redis-tools.install ├── redis-tools.manpages ├── redis-tools.postinst ├── redis-tools.postrm ├── rules ├── source │ ├── format │ ├── lintian-overrides │ └── options ├── tests │ ├── 0001-redis-cli │ ├── 0002-benchmark │ ├── 0003-redis-check-aof │ ├── 0004-redis-check-rdb │ └── control └── watch ├── release.sh └── setup_sbuild.sh /.github/workflows/apt.yml: -------------------------------------------------------------------------------- 1 | name: Build and Publish to APT 2 | 3 | on: 4 | push: 5 | branches: 6 | - release/** 7 | pull_request: 8 | branches: 9 | - master 10 | 11 | jobs: 12 | build-source-package: 13 | runs-on: ubuntu-latest 14 | strategy: 15 | fail-fast: false 16 | matrix: 17 | dist: ${{ fromJSON(vars.BUILD_DISTS) }} 18 | steps: 19 | - uses: actions/checkout@v4 20 | - name: Install dependencies 21 | run: | 22 | sudo apt-get update && \ 23 | sudo apt-get install \ 24 | debhelper dput tcl-tls libsystemd-dev pkg-config build-essential 25 | - name: Determine version 26 | run: | 27 | VERSION=$(head -1 debian/changelog | sed 's/^.*([0-9]*:*\([0-9.]*\)-.*$/\1/') 28 | echo "VERSION=${VERSION}" >> $GITHUB_ENV 29 | - name: Get source tarball 30 | run: | 31 | curl --silent -L "https://github.com/redis/redis/archive/${VERSION}.tar.gz" -o redis_${VERSION}.orig.tar.gz 32 | - name: Build source package 33 | run: | 34 | tar --extract --gunzip --file redis_${VERSION}.orig.tar.gz 35 | cp -pr debian redis-${VERSION} 36 | sed -i "s/@RELEASE@/${{ matrix.dist }}/g" redis-${VERSION}/debian/changelog 37 | ( cd redis-${VERSION} && dpkg-buildpackage -S ) 38 | - name: Upload source package artifact 39 | uses: actions/upload-artifact@v4 40 | with: 41 | name: source-${{ matrix.dist }} 42 | path: | 43 | *.debian.tar.* 44 | *.dsc 45 | redis_*.orig.tar.gz 46 | 47 | build-binary-package: 48 | runs-on: ${{ contains(matrix.arch, 'arm') && 'ubuntu24-arm64-2-8' || 'ubuntu-latest' }} 49 | strategy: 50 | fail-fast: false 51 | matrix: 52 | dist: ${{ fromJSON(vars.BUILD_DISTS) }} 53 | arch: ${{ fromJSON(vars.BUILD_ARCHS) }} 54 | exclude: ${{ fromJSON(vars.BUILD_EXCLUDE) }} 55 | needs: build-source-package 56 | steps: 57 | - uses: actions/checkout@v4 58 | - name: Determine build architecture 59 | run: | 60 | case ${{ matrix.arch }} in 61 | i386) 62 | BUILD_ARCH=i386 63 | ;; 64 | arm64) 65 | BUILD_ARCH=arm64 66 | ;; 67 | armhf) 68 | BUILD_ARCH=armhf 69 | ;; 70 | *) 71 | BUILD_ARCH=amd64 72 | ;; 73 | esac 74 | 75 | echo "BUILD_ARCH=${BUILD_ARCH}" >> $GITHUB_ENV 76 | - name: Setup APT Signing key 77 | run: | 78 | mkdir -m 0700 -p ~/.gnupg 79 | echo "$APT_SIGNING_KEY" | gpg --import 80 | env: 81 | APT_SIGNING_KEY: ${{ secrets.APT_SIGNING_KEY }} 82 | - name: Install dependencies 83 | run: | 84 | sudo apt-get update && \ 85 | sudo apt-get install \ 86 | sbuild debhelper 87 | sudo sbuild-adduser $USER 88 | - name: Prepare sbuild environment 89 | run: sudo ./setup_sbuild.sh ${{ matrix.dist }} ${{ env.BUILD_ARCH }} 90 | - name: Get source package 91 | uses: actions/download-artifact@v4 92 | with: 93 | name: source-${{ matrix.dist }} 94 | - name: Build binary package 95 | run: | 96 | sudo sbuild \ 97 | --nolog \ 98 | --host ${{ matrix.arch }} \ 99 | --build ${{ env.BUILD_ARCH }} \ 100 | --dist ${{ matrix.dist }} *.dsc 101 | - name: Upload binary package artifact 102 | uses: actions/upload-artifact@v4 103 | with: 104 | name: binary-${{ matrix.dist }}-${{ matrix.arch }} 105 | path: | 106 | *.deb 107 | 108 | smoke-test-packages: 109 | runs-on: ubuntu-latest 110 | needs: build-binary-package 111 | env: 112 | ARCH: amd64 113 | strategy: 114 | fail-fast: false 115 | matrix: 116 | image: ${{ fromJSON(vars.SMOKE_TEST_IMAGES) }} 117 | container: ${{ matrix.image }} 118 | steps: 119 | - name: Get binary packages 120 | uses: actions/download-artifact@v4 121 | - name: Install packages 122 | run: | 123 | apt-get update 124 | cd binary-$(echo ${{ matrix.image }} | cut -d: -f2)-${{ env.ARCH }} && apt install --yes ./*.deb 125 | - name: Run redis-server smoke test 126 | run: | 127 | service redis-server start 128 | redis-benchmark -P 10 129 | - name: Run redis-sentinel smoke test 130 | run: | 131 | service redis-sentinel start 132 | echo ping | redis-cli -p 26379 133 | 134 | upload-packages: 135 | if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release/') 136 | env: 137 | DEB_S3_VERSION: "0.11.3" 138 | runs-on: ubuntu-latest 139 | needs: smoke-test-packages 140 | steps: 141 | - name: Setup APT Signing key 142 | run: | 143 | mkdir -m 0700 -p ~/.gnupg 144 | echo "$APT_SIGNING_KEY" | gpg --import 145 | env: 146 | APT_SIGNING_KEY: ${{ secrets.APT_SIGNING_KEY }} 147 | - name: Get binary packages 148 | uses: actions/download-artifact@v4 149 | - name: Setup ruby 150 | uses: ruby/setup-ruby@v1 151 | with: 152 | ruby-version: "2.7" 153 | - name: Install deb-s3 154 | run: | 155 | curl -sLO https://github.com/deb-s3/deb-s3/releases/download/${{ env.DEB_S3_VERSION }}/deb-s3-${{ env.DEB_S3_VERSION }}.gem 156 | gem install deb-s3-${{ env.DEB_S3_VERSION }}.gem 157 | - name: Upload packages 158 | run: | 159 | # Quick hack to deal with duplicate _all packages 160 | rm -f binary-*-i386/*_all.deb 161 | for dir in binary-*; do \ 162 | dist=$(echo $dir | cut -d- -f 2) ; \ 163 | deb-s3 upload \ 164 | --bucket ${{ env.APT_S3_BUCKET }} \ 165 | --s3-region ${{ env.APT_S3_REGION }} \ 166 | --codename $dist \ 167 | --suite $dist \ 168 | --origin packages.redis.io \ 169 | --preserve-versions \ 170 | --lock \ 171 | --fail-if-exists \ 172 | --sign \ 173 | --prefix deb \ 174 | $dir/*.deb ; \ 175 | done 176 | env: 177 | AWS_ACCESS_KEY_ID: ${{ secrets.APT_S3_ACCESS_KEY_ID }} 178 | AWS_SECRET_ACCESS_KEY: ${{ secrets.APT_S3_SECRET_ACCESS_KEY }} 179 | APT_S3_BUCKET: ${{ secrets.APT_S3_BUCKET }} 180 | APT_S3_REGION: ${{ secrets.APT_S3_REGION }} 181 | -------------------------------------------------------------------------------- /.github/workflows/ppa.yml: -------------------------------------------------------------------------------- 1 | name: Create source package and upload to Launchpad 2 | 3 | on: 4 | push: 5 | branches: 6 | - ppa 7 | 8 | jobs: 9 | build-and-upload: 10 | name: Create source package and upload to Lauchpad 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | - name: Install dependencies 15 | run: | 16 | sudo apt-get update && sudo apt-get install debhelper dput tcl-tls libsystemd-dev pkg-config 17 | - name: Setup GPG key 18 | run: | 19 | mkdir -m 0700 -p ~/.gnupg 20 | echo "$GPG_SIGNING_KEY" | gpg --import 21 | env: 22 | GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} 23 | - name: Get upstream source tarball 24 | run: | 25 | VERSION=$(head -1 debian/changelog | sed 's/^.*([0-9]*:*\([0-9.]*\)-.*$/\1/') 26 | echo "VERSION=${VERSION}" >> $GITHUB_ENV 27 | curl --silent -L "https://github.com/redis/redis/archive/${VERSION}.tar.gz" -o redis_${VERSION}.orig.tar.gz 28 | - name: Build source package 29 | run: | 30 | for release in $RELEASES; do \ 31 | mkdir -p ${release} ;\ 32 | cp redis_${VERSION}.orig.tar.gz ${release} ;\ 33 | ( cd ${release} && tar xfz redis_${VERSION}.orig.tar.gz ) ;\ 34 | cp -pr debian ${release}/redis-${VERSION} ;\ 35 | sed -i "s/@RELEASE@/$release/g" ${release}/redis-${VERSION}/debian/changelog ;\ 36 | ( cd ${release}/redis-${VERSION} && dpkg-buildpackage -S ) ;\ 37 | done 38 | env: 39 | RELEASES: "jammy bionic focal hirsute" 40 | - name: Upload source packages 41 | run: | 42 | dput ppa:redislabs/redis */*.changes 43 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This repository holds the `debian/` package configuration and handles automation tasks for creating source packages and pushing them to `ppa:redislabs/redis`. 2 | 3 | The Debian package is derived from work done by [Chris Lea](https://github.com/chrislea). 4 | 5 | ## Redis Open Source - Install using Debian Advanced Package Tool (APT) 6 | 7 | Run the following commands: 8 | ```sh 9 | sudo apt-get update 10 | sudo apt-get install lsb-release curl gpg 11 | curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg 12 | sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg 13 | echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list 14 | sudo apt-get update 15 | sudo apt-get install redis 16 | ``` 17 | 18 | > [!TIP] 19 | > Redis will not start automatically, nor will it start at boot time. To do this, run the following commands. 20 | > ```sh 21 | > sudo systemctl enable redis-server 22 | > sudo systemctl start redis-server 23 | > ``` 24 | 25 | > [!TIP] 26 | > To install an earlier version, say `7.4.2`, run the following command: 27 | > ```sh 28 | > sudo apt-get install redis=6:7.4.2-1rl1~jammy1 29 | > ``` 30 | > 31 | > You could view the available versions by running `apt policy redis`. 32 | 33 | ## Supported Operating Systems 34 | 35 | Redis officially tests the latest version of this distribution against the following OSes: 36 | 37 | - Ubuntu 24.04 (Noble Numbat) 38 | - Ubuntu 22.04 (Jammy Jellyfish) 39 | - Ubuntu 20.04 (Focal Fossa) 40 | - Debian 12 (Bookworm) 41 | - Debian 11 (Bullseye) 42 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Debian Distributions 4 | 5 | We support Debian versions that are under [`Debian Security Support / stable versions`](https://wiki.debian.org/Status/Stable) that are officially supported by Debian. [Updated support matrix](https://wiki.debian.org/LTS/). 6 | 7 | We encourage you to use the latest stable Debian version, and to consider that the 'LTS' versions of Debian are maintained by volunteers - not by the Debian security team. 8 | 9 | ### Supported Versions 10 | 11 | Please refer to our security policy [here](https://github.com/redis/redis/security) 12 | 13 | ## Reporting a Vulnerability 14 | 15 | If you believe you've discovered a serious vulnerability, please contact the 16 | Redis core team at `redis@redis.io`. We will evaluate your report and if 17 | necessary issue a fix and an advisory. If the issue was previously undisclosed, 18 | we'll also mention your name in the credits. 19 | 20 | ## Responsible Disclosure 21 | 22 | In some cases, we may apply a responsible disclosure process to reported or 23 | otherwise discovered vulnerabilities. We will usually do that for a critical 24 | vulnerability, and only if we have a good reason to believe information about 25 | it is not yet public. 26 | 27 | This process involves providing an early notification about the vulnerability, 28 | its impact and mitigations to a short list of vendors under a time-limited 29 | embargo on public disclosure. 30 | 31 | If you believe you should be on the list, please contact us and we will 32 | consider your request based on the above criteria. 33 | -------------------------------------------------------------------------------- /debian/NEWS: -------------------------------------------------------------------------------- 1 | redis (4:4.0.2-3) unstable; urgency=medium 2 | 3 | This version drops the Debian-specific support for the 4 | /etc/redis/redis-{server,sentinel}.{pre,post}-{up,down}.d directories in 5 | favour of using systemd's ExecStartPre, ExecStartPost, ExecStopPre, 6 | ExecStopPost commands. 7 | 8 | -- Chris Lamb Wed, 11 Oct 2017 22:55:00 -0400 9 | -------------------------------------------------------------------------------- /debian/bash_completion.d/redis-cli: -------------------------------------------------------------------------------- 1 | # -*- sh -*- 2 | # 3 | # Bash completion function for the 'redis-cli' command. 4 | # 5 | # Steve 6 | # -- 7 | # http://www.steve.org.uk 8 | # 9 | 10 | _redis-cli() 11 | { 12 | COMPREPLY=() 13 | cur=${COMP_WORDS[COMP_CWORD]} 14 | prev=${COMP_WORDS[COMP_CWORD-1]} 15 | 16 | # 17 | # All known commands accepted. Sorted. 18 | # 19 | opts='bgrewriteaof bgsave dbsize debug decr decrby del echo exists expire expireat flushall flushdb get getset incr incrby info keys lastsave lindex llen lpop lpush lrange lrem lset ltrim mget move mset msetnx ping randomkey rename renamenx rewriteaof rpop rpoplpush rpush sadd save scard sdiff sdiffstore select set setnx shutdown sinter sinterstore sismember slaveof smembers smove sort spop srandmember srem sunion sunionstore ttl type zadd zcard zincrby zrange zrangebyscore zrem zremrangebyscore zrevrange zscore' 20 | 21 | # 22 | # Only complete on the first term. 23 | # 24 | if [ $COMP_CWORD -eq 1 ]; then 25 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 26 | return 0 27 | fi 28 | 29 | } 30 | complete -F _redis-cli redis-cli 31 | -------------------------------------------------------------------------------- /debian/bin/generate-systemd-service-files: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SYSTEMD_VER=$(systemctl --version | head -1 | cut -d' ' -f2) 4 | 5 | if [ ${SYSTEMD_VER} -lt 237 ] 6 | then 7 | SYSTEMD_EXTRA="" 8 | else 9 | SYSTEMD_EXTRA=$(cat <${TARGET} 51 | 52 | if [ "${MODE}" = "templated" ] 53 | then 54 | cat >> ${TARGET} < Mon, 09 Oct 2017 22:17:24 +0100 83 | EOF 84 | fi 85 | 86 | cat >> ${TARGET} <> "${TARGET}" 129 | fi 130 | done 131 | done 132 | -------------------------------------------------------------------------------- /debian/changelog: -------------------------------------------------------------------------------- 1 | redis (6:6.2.4-1rl1~@RELEASE@1) @RELEASE@; urgency=low 2 | 3 | [ Security fixes ] 4 | * [CVE-2021-32625] Fix integer overflow in STRALGO LCS. 5 | 6 | [ Bug fixes that are only applicable to previous releases of Redis 6.2 ] 7 | * Fix crash after a diskless replication fork child is terminated (#8991) 8 | * Fix redis-benchmark crash on unsupported configs (#8916) 9 | 10 | [ Other bug fixes ] 11 | * Fix crash in UNLINK on a stream key with deleted consumer groups (#8932) 12 | * SINTERSTORE: Add missing keyspace del event when none of the sources exist (#8949) 13 | * Sentinel: Fix CONFIG SET of empty string sentinel-user/sentinel-pass configs (#8958) 14 | * Enforce client output buffer soft limit when no traffic (#8833) 15 | 16 | [ Improvements ] 17 | * Hide AUTH passwords in MIGRATE command from slowlog (#8859) 18 | 19 | -- Redis Labs Tue, 01 Jun 2021 18:15:02 +0300 20 | 21 | redis (6:6.2.3-1rl1~@RELEASE@1) @RELEASE@; urgency=low 22 | 23 | [ Security fixes ] 24 | * [CVE-2021-29477] Fix integer overflow in STRALGO LCS. 25 | * [CVE-2021-29478] Fix integer overflow in COPY command for large intsets. 26 | 27 | [ Bug fixes that are only applicable to previous releases of Redis 6.2 ] 28 | * Fix memory leak in moduleDefragGlobals (#8853) 29 | * Fix memory leak when doing lazy freeing client tracking table (#8822) 30 | * Block abusive replicas from sending command that could assert and crash redis (#8868) 31 | 32 | [ Other bug fixes ] 33 | * Use a monotonic clock to check for Lua script timeout (#8812) 34 | * redis-cli: Do not use unix socket when we got redirected in cluster mode (#8870) 35 | 36 | [ Modules ] 37 | * Fix RM_GetClusterNodeInfo() to correctly populate master id (#8846) 38 | 39 | -- Redis Labs Mon, 03 May 2021 23:37:50 +0300 40 | 41 | redis (6:6.2.2-1rl1~@RELEASE@1) @RELEASE@; urgency=low 42 | 43 | [ Bug fixes for regressions in previous releases of Redis 6.2 ] 44 | * Fix BGSAVE, AOFRW, and replication slowdown due to child reporting CoW (#8645) 45 | * Fix short busy loop when timer event is about to fire (#8764) 46 | * Fix default user, overwritten and reset users losing pubsub channel permissions (#8723) 47 | * Fix config rewrite with an empty `save` config resulsing in default `save` values (#8719) 48 | * Fix not starting on alpine/libmusl without IPv6 (#8655) 49 | * Fix issues with propagation and MULTI/EXEC in modules (#8617) 50 | Several issues around nested calls and thread safe contexts 51 | 52 | [ Bug fixes that are only applicable to previous releases of Redis 6.2 ] 53 | * ACL Pub/Sub channels permission handling for save/load scenario (#8794) 54 | * Fix early rejection of PUBLISH inside MULTI-EXEC transaction (#8534) 55 | * Fix missing SLOWLOG records for blocked commands (#8632) 56 | * Allow RESET command during busy scripts (#8629) 57 | * Fix some error replies were not counted on stats (#8659) 58 | 59 | [ Bug fixes ] 60 | * Add a timeout mechanism for replicas stuck in fullsync (#8762) 61 | * Process HELLO command even if the default user has no permissions (#8633) 62 | * Client issuing a long running script and using a pipeline, got disconnected (#8715) 63 | * Fix script kill to work also on scripts that use `pcall` (#8661) 64 | * Fix list-compress-depth may compress more node than required (#8311) 65 | * Fix redis-cli handling of rediss:// URL scheme (#8705) 66 | * Cluster: Skip unnecessary check which may prevent failure detection (#8585) 67 | * Cluster: Fix hang manual failover when replica just started (#8651) 68 | * Sentinel: Fix info-refresh time field before sentinel get first response (#8567) 69 | * Sentinel: Fix possible crash on failed connection attempt (#8627) 70 | * Systemd: Send the readiness notification when a replica is ready to accept connections (#8409) 71 | 72 | [ Command behavior changes ] 73 | * ZADD: fix wrong reply when INCR used with GT/LT which blocked the update (#8717) 74 | It was responding with the incremented value rather than nil 75 | * XAUTOCLAIM: fix response to return the next available id as the cursor (#8725) 76 | Previous behavior was retuning the last one which was already scanned 77 | * XAUTOCLAIM: fix JUSTID to prevent incrementing delivery_count (#8724) 78 | 79 | [ New config options ] 80 | * Add cluster-allow-replica-migration config option (#5285) 81 | * Add replica-announced config option (#8653) 82 | * Add support for plaintext clients in TLS cluster (#8587) 83 | * Add support for reading encrypted keyfiles (#8644) 84 | 85 | [ Improvements ] 86 | * Fix performance regression in BRPOP on Redis 6.0 (#8689) 87 | * Avoid adding slowlog entries for config with sensitive data (#8584) 88 | * Improve redis-cli non-binary safe string handling (#8566) 89 | * Optimize CLUSTER SLOTS reply (#8541) 90 | * Handle remaining fsync errors (#8419) 91 | 92 | [ Info fields and introspection changes ] 93 | * Strip % sign from current_fork_perc info field (#8628) 94 | * Fix RSS memory info on FreeBSD (#8620) 95 | * Fix client_recent_max_input/output_buffer in 'INFO CLIENTS' when all clients drop (#8588) 96 | * Fix invalid master_link_down_since_seconds in info replication (#8785) 97 | 98 | [ Platform and deployment-related changes ] 99 | * Fix FreeBSD <12.x builds (#8603) 100 | 101 | [ Modules ] 102 | * Add macros for RedisModule_log logging levels (#4246) 103 | * Add RedisModule_GetAbsExpire / RedisModule_SetAbsExpire (#8564) 104 | * Add a module type for key space notification (#8759) 105 | * Set module eviction context flag only in masters (#8631) 106 | * Fix unusable RedisModule_IsAOFClient API (#8596) 107 | * Fix missing EXEC on modules propagation after failed EVAL execution (#8654) 108 | * Fix edge-case when a module client is unblocked (#8618) 109 | 110 | -- Redis Labs Tue, 20 Apr 2021 09:41:43 +0300 111 | 112 | redis (6:6.2.1-4rl1~@RELEASE@1) @RELEASE@; urgency=low 113 | 114 | * Fix issue with services not starting on SysV-Init systems. 115 | 116 | -- Redis Labs Mon, 22 Mar 2021 22:41:22 +0200 117 | 118 | redis (6:6.2.1-3rl1~@RELEASE@1) @RELEASE@; urgency=low 119 | 120 | * Skip more tests, PPA build might be flaky. 121 | 122 | -- Redis Labs Tue, 02 Mar 2021 14:04:11 +0200 123 | 124 | redis (6:6.2.1-2rl1~@RELEASE@1) @RELEASE@; urgency=low 125 | 126 | * Skip flaky tests. 127 | 128 | -- Redis Labs Tue, 02 Mar 2021 12:23:20 +0200 129 | 130 | redis (6:6.2.1-1rl1~@RELEASE@1) @RELEASE@; urgency=low 131 | 132 | * New upstream Redis release: 133 | https://raw.githubusercontent.com/redis/redis/6.2/00-RELEASENOTES 134 | 135 | -- Redis Labs Tue, 02 Mar 2021 09:37:23 +0200 136 | 137 | redis (6:6.0.11-1rl1~@RELEASE@1) @RELEASE@; urgency=low 138 | 139 | * [CVE-2021-21309] Avoid 32-bit overflows when proto-max-bulk-len is set high (#8522) 140 | * Fix handling of threaded IO and CLIENT PAUSE (failover), could lead to data loss or a crash (#8520) 141 | * Fix the selection of a random element from large hash tables (#8133) 142 | * Fix broken protocol in client tracking tracking-redir-broken message (#8456) 143 | * XINFO able to access expired keys on a replica (#8436) 144 | * Fix broken protocol in redis-benchmark when used with -a or --dbnum (#8486) 145 | * Avoid assertions (on older kernels) when testing arm64 CoW bug (#8405) 146 | * CONFIG REWRITE should honor umask settings (#8371) 147 | * Fix firstkey,lastkey,step in COMMAND command for some commands (#8367) 148 | * RM_ZsetRem: Delete key if empty, the bug could leave empty zset keys (#8453) 149 | 150 | -- Redis Labs Tue, 23 Feb 2021 11:08:20 +0200 151 | 152 | redis (6:6.0.10-1rl1~@RELEASE@1) @RELEASE@; urgency=low 153 | 154 | * SWAPDB invalidates WATCHed keys (#8239) 155 | * SORT command behaves differently when used on a writable replica (#8283) 156 | * EXISTS should not alter LRU (#8016) 157 | In Redis 5.0 and 6.0 it would have touched the LRU/LFU of the key. 158 | * OBJECT should not reveal logically expired keys (#8016) 159 | Will now behave the same TYPE or any other non-DEBUG command. 160 | * GEORADIUS[BYMEMBER] can fail with -OOM if Redis is over the memory limit (#8107) 161 | * Sentinel: Fix missing updates to the config file after SENTINEL SET command (#8229) 162 | * CONFIG REWRITE is atomic and safer, but requires write access to the config file's folder (#7824, #8051) 163 | This change was already present in 6.0.9, but was missing from the release notes. 164 | * Fix RDB CRC64 checksum on big-endian systems (#8270) 165 | If you're using big-endian please consider the compatibility implications with 166 | RESTORE, replication and persistence. 167 | * Fix wrong order of key/value in Lua's map response (#8266) 168 | If your scripts use redis.setresp() or return a map (new in Redis 6.0), please 169 | consider the implications. 170 | * Fix an issue where a forked process deletes the parent's pidfile (#8231) 171 | * Fix crashes when enabling io-threads-do-reads (#8230) 172 | * Fix a crash in redis-cli after executing cluster backup (#8267) 173 | * Handle output buffer limits for module blocked clients (#8141) 174 | Could result in a module sending reply to a blocked client to go beyond the limit. 175 | * Fix setproctitle related crashes. (#8150, #8088) 176 | Caused various crashes on startup, mainly on Apple M1 chips or under instrumentation. 177 | * Backup/restore cluster mode keys to slots map for repl-diskless-load=swapdb (#8108) 178 | In cluster mode with repl-diskless-load, when loading failed, slot map wouldn't 179 | have been restored. 180 | * Fix oom-score-adj-values range, and bug when used in config file (#8046) 181 | Enabling setting this in the config file in a line after enabling it, would 182 | have been buggy. 183 | * Reset average ttl when empty databases (#8106) 184 | Just causing misleading metric in INFO 185 | * Disable rehash when Redis has child process (#8007) 186 | This could have caused excessive CoW during BGSAVE, replication or AOFRW. 187 | * Further improved ACL algorithm for picking categories (#7966) 188 | Output of ACL GETUSER is now more similar to the one provided by ACL SETUSER. 189 | * Fix bug with module GIL being released prematurely (#8061) 190 | Could in theory (and rarely) cause multi-threaded modules to corrupt memory. 191 | * Reduce effect of client tracking causing feedback loop in key eviction (#8100) 192 | * Fix cluster access to unaligned memory (SIGBUS on old ARM) (#7958) 193 | * Fix saving of strings larger than 2GB into RDB files (#8306) 194 | * Avoid wasteful transient memory allocation in certain cases (#8286, #5954) 195 | * Fix crash log registers output on ARM. (#8020) 196 | * Add a check for an ARM64 Linux kernel bug (#8224) 197 | Due to the potential severity of this issue, Redis will print log warning on startup. 198 | * Raspberry build fix. (#8095) 199 | * oom-score-adj-values config can now take absolute values (besides relative ones) (#8046) 200 | * Moved RMAPI_FUNC_SUPPORTED so that it's usable (#8037) 201 | * Improve timer accuracy (#7987) 202 | * Allow '\0' inside of result of RM_CreateStringPrintf (#6260) 203 | 204 | -- Redis Labs Tue, 12 Jan 2021 19:48:51 +0200 205 | 206 | redis (6:6.0.9-3rl1~@RELEASE@1) @RELEASE@; urgency=low 207 | 208 | * Skip test that are still flaky on some platforms. 209 | 210 | -- Redis Labs Thu, 29 Oct 2020 09:11:33 +0200 211 | 212 | redis (6:6.0.9-2rl1~@RELEASE@1) @RELEASE@; urgency=low 213 | 214 | * Fix build to support systemd. 215 | 216 | -- Redis Labs Wed, 28 Oct 2020 16:26:25 +0200 217 | 218 | redis (6:6.0.9-1rl1~@RELEASE@1) @RELEASE@; urgency=low 219 | 220 | * Memory reporting of clients argv (#7874) 221 | * Add redis-cli control on raw format line delimiter (#7841) 222 | * Add redis-cli support for rediss:// -u prefix (#7900) 223 | * Get rss size support for NetBSD and DragonFlyBSD 224 | * WATCH no longer ignores keys which have expired for MULTI/EXEC (#7920) 225 | * Correct OBJECT ENCODING response for stream type (#7797) 226 | * Allow blocked XREAD on a cluster replica (#7881) 227 | * TLS: Do not require CA config if not used (#7862) 228 | * INFO report real peak memory (before eviction) (#7894) 229 | * Allow requirepass config to clear the password (#7899) 230 | * Fix config rewrite file handling to make it really atomic (#7824) 231 | * Fix excessive categories being displayed from ACLs (#7889) 232 | * Add fsync in replica when full RDB payload was received (#7839) 233 | * Don't write replies to socket when output buffer limit reached (#7202) 234 | * Fix redis-check-rdb support for modules aux data (#7826) 235 | * Other smaller bug fixes 236 | * Add APIs for version and compatibility checks (#7865) 237 | * Add RM_GetClientCertificate (#7866) 238 | * Add RM_GetDetachedThreadSafeContext (#7886) 239 | * Add RM_GetCommandKeys (#7884) 240 | * Add Swapdb Module Event (#7804) 241 | * RM_GetContextFlags provides indication of being in a fork child (#7783) 242 | * RM_GetContextFlags document missing flags: MULTI_DIRTY, IS_CHILD (#7821) 243 | * Expose real client on connection events (#7867) 244 | * Minor improvements to module blocked on keys (#7903) 245 | 246 | -- Redis Labs Tue, 27 Oct 2020 09:50:41 +0200 247 | 248 | redis (6:6.0.8-5rl1~@RELEASE@1) @RELEASE@; urgency=low 249 | 250 | * Final(?) changes to fix build on all PPA builders. 251 | 252 | -- Redis Labs Wed, 21 Oct 2020 14:56:02 +0300 253 | 254 | redis (6:6.0.8-4rl1~@RELEASE@1) @RELEASE@; urgency=low 255 | 256 | * More skipped tests. 257 | 258 | -- Redis Labs Wed, 21 Oct 2020 13:54:44 +0300 259 | 260 | redis (6:6.0.8-3rl1~@RELEASE@1) @RELEASE@; urgency=low 261 | 262 | * Skip tests that fail on slower/emulated arm platforms. 263 | 264 | -- Redis Labs Tue, 20 Oct 2020 12:49:16 +0300 265 | 266 | redis (6:6.0.8-2rl1~@RELEASE@1) @RELEASE@; urgency=low 267 | 268 | * Fix crashes when AOF or RDB write errors occur, due to a bad packaging 269 | patch. 270 | 271 | -- Redis Labs Tue, 20 Oct 2020 10:56:01 +0300 272 | 273 | redis (6:6.0.8-1rl1~@RELEASE@1) @RELEASE@; urgency=low 274 | 275 | * CONFIG REWRITE after setting oom-score-adj-values either via CONFIG SET or 276 | loading it from a config file, will generate a corrupt config file that will 277 | cause Redis to fail to start 278 | * Fix issue with redis-cli --pipe on MacOS 279 | * Fix RESP3 response for HKEYS/HVALS on non-existing key 280 | * Various small bug fixes 281 | * Remove THP warning when set to madvise 282 | * Allow EXEC with read commands on readonly replica in cluster 283 | * Add masters/replicas options to redis-cli --cluster call command 284 | * Add RedisModule_ThreadSafeContextTryLock 285 | 286 | -- Redis Labs Thu, 10 Sep 2020 15:28:11 +0300 287 | 288 | redis (6:6.0.7-1rl1~@RELEASE@1) @RELEASE@; urgency=low 289 | 290 | * Fix crash when enabling CLIENT TRACKING with prefix 291 | * EXEC always fails with EXECABORT and multi-state is cleared 292 | * RESTORE ABSTTL won't store expired keys into the db 293 | * redis-cli better handling of non-pritable key names 294 | * TLS: Ignore client cert when tls-auth-clients off 295 | * Tracking: fix invalidation message on flush 296 | * Notify systemd on Sentinel startup 297 | * Fix crash on a misuse of STRALGO 298 | * Few fixes in module API 299 | * Fix a few rare leaks (STRALGO error misuse, Sentinel) 300 | * Fix a possible invalid access in defrag of scripts (unlikely to cause real harm) 301 | * LPOS command to search in a list 302 | * Use user+pass for MIGRATE in redis-cli and redis-benchmark in cluster mode 303 | * redis-cli support TLS for --pipe, --rdb and --replica options 304 | * TLS: Session caching configuration support 305 | 306 | -- Redis Labs Tue, 01 Sep 2020 10:10:48 +0300 307 | 308 | redis (6:6.0.6-1rl1~@RELEASE@1) @RELEASE@; urgency=low 309 | 310 | * Bump epoch for new PPA. 311 | 312 | -- Redis Labs Tue, 25 Aug 2020 21:57:47 +0300 313 | 314 | redis (5:6.0.6-3chl1~focal1) focal; urgency=low 315 | 316 | * Compile with TLS support. 317 | 318 | -- Chris Lea Sat, 01 Aug 2020 15:16:02 -0700 319 | 320 | redis (5:6.0.6-2chl1~focal1) focal; urgency=medium 321 | 322 | * Bump to make Launchpad build with sanctioned orig source. 323 | 324 | -- Chris Lea Sat, 01 Aug 2020 00:32:35 -0700 325 | 326 | redis (5:6.0.6-1chl1~focal1) focal; urgency=medium 327 | 328 | * Fix crash when enabling CLIENT TRACKING with prefix 329 | * EXEC always fails with EXECABORT and multi-state is cleared 330 | * RESTORE ABSTTL won't store expired keys into the db 331 | * redis-cli better handling of non-pritable key names 332 | * TLS: Ignore client cert when tls-auth-clients off 333 | * Tracking: fix invalidation message on flush 334 | * Notify systemd on Sentinel startup 335 | * Fix crash on a misuse of STRALGO 336 | * Few fixes in module API 337 | * Fix a few rare leaks (STRALGO error misuse, Sentinel) 338 | * Fix a possible invalid access in defrag of scripts (unlikely to cause real harm) 339 | * LPOS command to search in a list 340 | * Use user+pass for MIGRATE in redis-cli and redis-benchmark in cluster mode 341 | * redis-cli support TLS for --pipe, --rdb and --replica options 342 | * TLS: Session caching configuration support 343 | 344 | -- Chris Lea Sat, 01 Aug 2020 00:13:27 -0700 345 | 346 | redis (5:6.0.5-1chl1~focal1) focal; urgency=medium 347 | 348 | * Fix handling of speical chars in ACL LOAD. 349 | * Make Redis Cluster more robust about operation errors that may lead 350 | to two clusters to mix together. 351 | * Revert the sendfile() implementation of RDB transfer. It causes some delay. 352 | * Fix TLS certificate loading for chained certificates. 353 | * Fix AOF rewirting of KEEPTTL SET option. 354 | * Fix MULTI/EXEC behavior during -BUSY script errors. 355 | 356 | -- Chris Lea Thu, 11 Jun 2020 20:03:31 -0700 357 | 358 | redis (5:6.0.4-2chl1~focal1) focal; urgency=high 359 | 360 | * Bump to use a source tarball already in the Ubuntu repos. 361 | 362 | -- Chris Lea Wed, 03 Jun 2020 20:54:26 -0700 363 | 364 | redis (5:6.0.4-1chl1~focal1) focal; urgency=high 365 | 366 | * New upstream release. 367 | * PSYNC2 tests improved. 368 | * Fix a rare active defrag edge case bug leading to stagnation 369 | * Fix Redis 6 asserting at startup in 32 bit systems. 370 | * Redis 6 32 bit is now added back to our testing environments. 371 | * Fix server crash for STRALGO command, 372 | * Implement sendfile for RDB transfer. 373 | * TLS fixes. 374 | * Make replication more resistant by disconnecting the master if we 375 | detect a protocol error. Basically we no longer accept inline protocol 376 | from the master. 377 | * Other improvements in the tests. 378 | * Fix for a severe replication bug. 379 | 380 | -- Chris Lea Wed, 03 Jun 2020 20:06:06 -0700 381 | 382 | redis (5:5.0.8-1chl1~focal1) focal; urgency=high 383 | 384 | * Merge pull request #6975 from dustinmm80/add-arm-latomic-linking 385 | * Fix Pi building needing -latomic, backport 386 | * fix impl of aof-child whitelist SIGUSR1 feature. 387 | * fix ThreadSafeContext lock/unlock function names 388 | * XREADGROUP should propagate XCALIM/SETID in MULTI/EXEC 389 | * Fix client flags to be int64 in module.c 390 | * Fix small bugs related to replica and monitor ambiguity 391 | * Fix lua related memory leak. 392 | * Simplify #6379 changes. 393 | * Free allocated sds in pfdebugCommand() to avoid memory leak. 394 | * Jump to right label on AOF parsing error. 395 | * Free fakeclient argv on AOF error. 396 | * Fix potential memory leak of rioWriteBulkStreamID(). 397 | * Fix potential memory leak of clusterLoadConfig(). 398 | * Fix bug on KEYS command where pattern starts with * followed by \x00 (null char 399 | * Blocking XREAD[GROUP] should always reply with valid data (or timeout) 400 | * XCLAIM: Create the consumer only on successful claims. 401 | * Stream: Handle streamID-related edge cases 402 | * Fix ip and missing mode in RM_GetClusterNodeInfo(). 403 | * Inline protocol: handle empty strings well. 404 | * Mark extern definition of SDS_NOINIT in sds.h 405 | * [FIX] revisit CVE-2015-8080 vulnerability 406 | * avoid sentinel changes promoted_slave to be its own replica. 407 | 408 | -- Chris Lea Mon, 16 Mar 2020 17:25:07 -0700 409 | 410 | redis (5:5.0.7-1chl1~focal1) focal; urgency=high 411 | 412 | * Test: fix implementation-dependent test after code change. 413 | * RED-31295 - redis: avoid race between dlopen and thread creation 414 | * Cluster: fix memory leak of cached master. 415 | * Fix usage of server.stream_node_max_* 416 | * Update mkreleasehdr.sh 417 | * Remove additional space from comment. 418 | * Fix stream test after addition of 0-0 ID test. 419 | * aof: fix assignment for aof_fsync_offset 420 | * Merge branch '5.0' of github.com:/antirez/redis into 5.0 421 | * Rename var to fixed_time_expire now that is more general. 422 | * Fix patch provided in #6554. 423 | * expires & blocking: handle ready keys as call() 424 | * XADD with ID 0-0 stores an empty key 425 | * fix unreported overflow in autogerenared stream IDs 426 | * Merge pull request #6600 from oranagra/5_module_flags 427 | * module documentation mismatches: loading and fork child for 5.0 branch 428 | * Modules: RM_GetContextFlags(): remove non Redis 5 features. 429 | * Modules: fix moduleCreateArgvFromUserFormat() casting bug. 430 | * module: fix propagation API bug. 431 | * Modules: add new flags to context, replica state + more. 432 | * Modules: RM_Call(): give pointer to documentation. 433 | * Modules: RM_Call/Replicate() ability to exclude AOF/replicas. 434 | * Modules: RM_Replicate() in thread safe contexts. 435 | * Modules: implement RM_Replicate() from async callbacks. 436 | * Modules: handle propagation when ctx is freed. Flag modules commands ctx. 437 | * Update PR #6537: use a fresh time outside call(). 438 | * Update PR #6537 patch to for generality. 439 | * expires: refactoring judgment about whether a key is expired 440 | * Modules: fix thread safe context creation crash. 441 | 442 | -- Chris Lea Mon, 02 Dec 2019 14:11:13 -0800 443 | 444 | redis (5:5.0.6-1chl1~focal1) focal; urgency=high 445 | 446 | * Critical fix for a corruption related to the HyperLogLog. 447 | * New modules APIs merged from Redis unstable to Redis 5. 448 | * Some memory optimization related to objects creation. 449 | * Fixes to flushSlaveOutputBuffer() that make sure that SHUTDOWN will 450 | transfer pending buffers to replicas. 451 | 452 | -- Chris Lea Fri, 27 Sep 2019 11:31:26 -0700 453 | 454 | redis (5:5.0.5-1chl1~focal1) focal; urgency=medium 455 | 456 | * Redis 5.0.5 fixes an important issue with AOF and adds multiple very useful 457 | modules APIs. Moreover smaller bugs in other parts of Redis are fixed in 458 | this release. 459 | * Streams: a bug in the iterator could prevent certain items to be returned in 460 | range queries under specific conditions. 461 | * Memleak in bitfieldCommand fixed. 462 | * Modules API: Preserve client*>id for blocked clients. 463 | * Fix memory leak when rewriting config file in case of write errors. 464 | * New modules API: RedisModule_GetKeyNameFromIO(). 465 | * Fix non critical bugs in diskless replication. 466 | * New mdouels API: command filtering. See RedisModule_RegisterCommandFilter(); 467 | * Tests improved to be more deterministic. 468 | * Fix a Redis Cluster bug, manual failover may abort because of the master 469 | sending PINGs to the replicas. 470 | 471 | -- Chris Lea Fri, 17 May 2019 21:58:37 -0700 472 | 473 | redis (5:5.0.4-1chl1~focal1) focal; urgency=medium 474 | 475 | * Hyperloglog different coding errors leading to potential crashes 476 | were fixed. 477 | * A replication bug leading to a potential crash in case of plain 478 | misuse of handshake commands was fixed. 479 | * XCLAIM command incrementing of number of deliveries was fixed. 480 | * LFU field management in objects was improved. 481 | * A potential overflow in the redis-check-aof was fixed. 482 | * A memory leak in case of API misuse was fixed. 483 | * ZPOP* behavior when count is 0 is fixed. 484 | * A few redis-cli --cluster bugs were fixed, plus a few improvements. 485 | * Many other smaller bugs. 486 | 487 | -- Chris Lea Tue, 19 Mar 2019 18:40:39 -0700 488 | 489 | redis (5:5.0.3-3chl1~focal1) focal; urgency=low 490 | 491 | * Minor formatting tweak for service files. 492 | 493 | -- Chris Lea Fri, 21 Dec 2018 19:30:47 -0800 494 | 495 | redis (5:5.0.3-2chl1~focal1) focal; urgency=medium 496 | 497 | * Remove RestrictAddressFamilies from service file on older distros. 498 | 499 | -- Chris Lea Thu, 20 Dec 2018 10:34:39 -0800 500 | 501 | redis (5:5.0.3-1chl1~focal1) focal; urgency=low 502 | 503 | * New upstream release. 504 | 505 | -- Chris Lea Thu, 13 Dec 2018 17:31:53 -0800 506 | 507 | redis (5:5.0.2-1chl1~focal1) focal; urgency=medium 508 | 509 | * New upstream release. 510 | * Try different approach to fix systemd service file for older distros. 511 | 512 | -- Chris Lea Sat, 24 Nov 2018 20:07:47 -0800 513 | 514 | redis (5:5.0.0-4chl1~focal1) focal; urgency=medium 515 | 516 | * Don't include some lvalues in systemd service file for older distros. 517 | 518 | -- Chris Lea Sat, 24 Nov 2018 14:08:40 -0800 519 | 520 | redis (5:5.0.0-3chl1~focal1) focal; urgency=low 521 | 522 | * Relax dpkg-dev version requirement for 14.04. 523 | 524 | -- Chris Lea Sat, 03 Nov 2018 16:38:06 -0700 525 | 526 | redis (5:5.0.0-2chl1~focal1) focal; urgency=low 527 | 528 | * Backport to focal. 529 | * Used bundled lua, hiredis, and jemalloc. 530 | * Ease debhelper requirement to 9 so can build for older distros. 531 | 532 | -- Chris Lea Sat, 03 Nov 2018 16:27:12 -0700 533 | 534 | redis (5:5.0.0-2) unstable; urgency=medium 535 | 536 | * Update our patch to sentinel.conf to ensure the correct runtime PID file 537 | location. (Closes: #911407) 538 | * Listen on ::1 interfaces too for redis-sentinel to match redis-server. 539 | * Also run the new "LOLWUT" command in the redis-cli autopkgtest. 540 | 541 | -- Chris Lamb Fri, 19 Oct 2018 22:36:40 -0400 542 | 543 | redis (5:5.0.0-1) unstable; urgency=medium 544 | 545 | * New upstream stable release to unstable. 546 | 547 | * Refresh patches. 548 | * Update Vcs-Git. 549 | 550 | -- Chris Lamb Thu, 18 Oct 2018 21:56:02 -0400 551 | 552 | redis (5:5.0~rc5-2) experimental; urgency=medium 553 | 554 | * Use the system hiredis now that #907259 has landed. (Closes: #907258) 555 | 556 | -- Chris Lamb Wed, 03 Oct 2018 19:54:17 +0100 557 | 558 | redis (5:5.0~rc5-1) experimental; urgency=medium 559 | 560 | * New upstream release. 561 | - Drop 0004-SOURCE_DATE_EPOCH.patch; merged upstream. 562 | * debian/watch: Use releases from 563 | (not Git) to find RC/beta releases, etc. 564 | 565 | -- Chris Lamb Mon, 24 Sep 2018 21:24:48 +0100 566 | 567 | redis (5:5.0~rc4-4) experimental; urgency=medium 568 | 569 | * Stop playing whack-a-mole with nondeterminstic testsuite and run with 570 | "|| true" on all architectures. (Closes: #908540) 571 | * Drop ${shlibs:Depends} substvars on "Architecture: any" binary packages. 572 | * Add upstream URIs for patches to support non-embedded jemalloc and Lua. 573 | * Bump Standards-Version to 4.2.1. 574 | 575 | -- Chris Lamb Sat, 15 Sep 2018 19:44:35 +0100 576 | 577 | redis (5:5.0~rc4-3) experimental; urgency=medium 578 | 579 | * Add support for (and use) a USE_SYSTEM_LUA flag. (Closes: #901669) 580 | * Add support for (and use) a USE_SYSTEM_JEMALLOC flag. 581 | * Refresh 0003-dpkg-buildflags patch. 582 | * Append "-b debian/experimental" to Vcs-Git line to fix "unpushed changes" 583 | vcswatch.cgi false-positives. 584 | 585 | -- Chris Lamb Sun, 26 Aug 2018 14:37:25 +0200 586 | 587 | redis (5:5.0~rc4-2) experimental; urgency=medium 588 | 589 | * Drop a non-determinstic "dump" test. 590 | 591 | -- Chris Lamb Tue, 07 Aug 2018 11:04:16 +0800 592 | 593 | redis (5:5.0~rc4-1) experimental; urgency=medium 594 | 595 | * New upstream RC release. 596 | 597 | - Refresh 0002-use-system-jemalloc.patch 598 | - Refresh 0003-dpkg-buildflags.patch 599 | - Refresh 0006-Drop-tests-with-timing-issues.patch 600 | - Refresh 0009-Drop-memory-efficiency-tests-on-advice-from-upstream.patch 601 | 602 | -- Chris Lamb Tue, 07 Aug 2018 11:04:14 +0800 603 | 604 | redis (5:4.0.11-3) unstable; urgency=medium 605 | 606 | * Stop playing whack-a-mole with nondeterminstic testsuite and run with 607 | "|| true" on all architectures. (Closes: #908540) 608 | * Drop ${shlibs:Depends} substvars on "Architecture: any" binary packages. 609 | * Bump Standards-Version to 4.2.1. 610 | 611 | -- Chris Lamb Sat, 15 Sep 2018 19:55:23 +0100 612 | 613 | redis (5:4.0.11-2) unstable; urgency=medium 614 | 615 | * Revert "Move to debhelper-compat (= 11) in Build-Depends." as dak will 616 | REJECT with "missing-build-dependency debhelper". 617 | 618 | -- Chris Lamb Mon, 06 Aug 2018 11:42:41 +0800 619 | 620 | redis (5:4.0.11-1) unstable; urgency=medium 621 | 622 | * New upstream release. 623 | 624 | * Bump Standards-Version to 4.2.0. 625 | * Move to debhelper-compat (= 11) in Build-Depends. 626 | 627 | -- Chris Lamb Mon, 06 Aug 2018 11:42:38 +0800 628 | 629 | redis (5:4.0.10-2) unstable; urgency=medium 630 | 631 | [ Daniel Shahaf ] 632 | * redis-benchmark(1): Fix default of -n argument. (Closes: #903044) 633 | 634 | [ Chris Lamb ] 635 | * Add CVE entries to (released) changelog entry. 636 | * Bump Standards-Version to 4.1.5. 637 | 638 | -- Chris Lamb Thu, 05 Jul 2018 22:14:45 +0200 639 | 640 | redis (5:4.0.10-1) unstable; urgency=medium 641 | 642 | * CVE-2018-11218, CVE-2018-11219: New upstream security release. 643 | for more information. 644 | (Closes: #901495) 645 | 646 | -- Chris Lamb Thu, 14 Jun 2018 08:37:09 +0200 647 | 648 | redis (5:4.0.9-4) unstable; urgency=medium 649 | 650 | * Update Vcs-* headers to point to salsa.debian.org. 651 | * Move to HTTPS Homepage URI. 652 | * wrap-and-sort -sa. 653 | 654 | -- Chris Lamb Sat, 09 Jun 2018 20:11:35 +0100 655 | 656 | redis (5:4.0.9-3) unstable; urgency=medium 657 | 658 | * Make /var/log/redis, etc. owned by root:adm, not root:root. Thanks to 659 | Thomas Goirand. (Closes: #900496) 660 | 661 | -- Chris Lamb Fri, 01 Jun 2018 08:56:48 +0100 662 | 663 | redis (5:4.0.9-2) unstable; urgency=medium 664 | 665 | * Ignore test failures on problematic archs. 666 | * Bump Standards-Version to 4.1.4. 667 | 668 | -- Chris Lamb Tue, 08 May 2018 23:08:36 -0700 669 | 670 | redis (5:4.0.9-1) unstable; urgency=medium 671 | 672 | * New upstream release. 673 | * Refresh all patches. 674 | 675 | -- Chris Lamb Mon, 02 Apr 2018 20:37:12 +0100 676 | 677 | redis (5:4.0.8-2) unstable; urgency=medium 678 | 679 | * Also listen on ::1 for IPv6 by default. (Closes: #891432) 680 | 681 | -- Chris Lamb Sun, 25 Feb 2018 14:59:55 +0000 682 | 683 | redis (5:4.0.8-1) unstable; urgency=medium 684 | 685 | * New upstream release. 686 | 687 | * Update lintian overrides after rename of 688 | debian-watch-may-check-gpg-signature → 689 | debian-watch-does-not-check-gpg-signature. 690 | * Drop "recursive" argument to chown in postinst script to prevent hardlink 691 | vulnerability. 692 | 693 | -- Chris Lamb Mon, 05 Feb 2018 17:09:44 +0000 694 | 695 | redis (5:4.0.7-1) unstable; urgency=medium 696 | 697 | * New upstream release. 698 | 699 | * Refresh patches. 700 | 701 | -- Chris Lamb Wed, 24 Jan 2018 22:10:06 +1100 702 | 703 | redis (5:4.0.6-5) unstable; urgency=medium 704 | 705 | * Update redis-sentinel's symlink to usr/bin/redis-check-rdb to match 706 | redis-server. This avoids a dangling symlink (and thus a broken package) if 707 | redis-server is not installed. (Closes: #884321) 708 | * Move to debhelper compat level 11. 709 | - Drop reference to --with=systemd - systemd-sequence is no longer provided 710 | in compat >= 11. 711 | * Use https URI for copyright format specification in debian/copyright. 712 | 713 | -- Chris Lamb Sat, 20 Jan 2018 11:21:11 +1100 714 | 715 | redis (5:4.0.6-4) unstable; urgency=medium 716 | 717 | * Re-add procps to Build-Depends. (Closes: #887075) 718 | 719 | -- Chris Lamb Sat, 13 Jan 2018 19:01:56 +0530 720 | 721 | redis (5:4.0.6-3) unstable; urgency=medium 722 | 723 | * Use --clients argument to runtest to force single-threaded operation over 724 | using taskset. 725 | * Bump Standards-Version to 4.1.3. 726 | 727 | -- Chris Lamb Sat, 13 Jan 2018 12:55:27 +0530 728 | 729 | redis (5:4.0.6-2) unstable; urgency=medium 730 | 731 | * Replace redis-sentinel's main dependency with redis-tools from 732 | redis-server, necessarily moving the creating/deletion of the "redis" user 733 | and associated data and log directories to redis-tools. (Closes: #884321) 734 | * Add stub manpages for redis-sentinel, redis-check-aof and redis-check-rdb. 735 | * Bump Standards-Version to 4.1.2. 736 | 737 | -- Chris Lamb Thu, 14 Dec 2017 10:08:30 +0000 738 | 739 | redis (5:4.0.6-1) unstable; urgency=medium 740 | 741 | * New upstream bugfix release. 742 | 743 | -- Chris Lamb Tue, 05 Dec 2017 13:00:47 +0000 744 | 745 | redis (5:4.0.5-1) unstable; urgency=medium 746 | 747 | * New upstream release. 748 | * debian/control: Use "metapackage" over "meta-package". 749 | * debian/patches: 750 | - Drop 0008-CVE-2017-15047-Fix-buffer-overflows-occurring-readin. 751 | - Refresh. 752 | 753 | -- Chris Lamb Sat, 02 Dec 2017 18:54:58 +0000 754 | 755 | redis (4:4.0.2-9) unstable; urgency=medium 756 | 757 | * Also update aof.c for MAXPATHLEN issues. (Closes: #881684) 758 | 759 | -- Chris Lamb Thu, 16 Nov 2017 10:21:37 +0900 760 | 761 | redis (4:4.0.2-8) unstable; urgency=medium 762 | 763 | * Use get_current_dir_name over PATHMAX, etc. (Closes: #881684) 764 | * Don't rely on taskset existing for kFreeBSD-*. (Closes: #881683) 765 | * Drop "memory efficiency" tests on advice from upstream. (Closes: #881682) 766 | * Correct BSD-3-clause -> BSD-2-clause for Marc Alexander Lehmann's 767 | attribution in debian/copyright. 768 | * Let package be bin-NMUable. 769 | 770 | -- Chris Lamb Thu, 16 Nov 2017 03:50:00 +0900 771 | 772 | redis (4:4.0.2-7) unstable; urgency=medium 773 | 774 | * Add a "redis" metapackage. (Closes: #876475) 775 | * Drop conditionally exporting FORCE_LIBC_MALLOC; upstreamed since 2.6.0-1. 776 | 777 | -- Chris Lamb Sun, 12 Nov 2017 08:54:24 +0000 778 | 779 | redis (4:4.0.2-6) unstable; urgency=medium 780 | 781 | * Correct locations of redis-sentinel pidfiles. Thanks to Nicolas Payart for 782 | the patch. (Closes: #880980) 783 | 784 | -- Chris Lamb Mon, 06 Nov 2017 22:02:19 +0000 785 | 786 | redis (4:4.0.2-5) unstable; urgency=medium 787 | 788 | * CVE-2017-15047: Replace existing patch with upstream-blessed version that 789 | covers another case. (Closes: #878076) 790 | 791 | -- Chris Lamb Tue, 31 Oct 2017 11:13:40 +0100 792 | 793 | redis (4:4.0.2-4) unstable; urgency=medium 794 | 795 | * CVE-2017-15047: Add input validity checking to redis cluster config slot 796 | numbers. (Closes: #878076) 797 | * Drop debian/bin/generate-parts script now we aren't calling it. 798 | * Correct Bash-esque in NEWS. 799 | * Upstream are not providing signed tarballs, so ignore the 800 | "debian-watch-may-check-gpg-signature" Lintian tag, 801 | * Drop trailing whitespace in debian/changelog. 802 | * Use HTTPS URI in debian/watch. 803 | 804 | -- Chris Lamb Mon, 30 Oct 2017 10:32:04 +0000 805 | 806 | redis (4:4.0.2-3) unstable; urgency=medium 807 | 808 | * Drop Debian-specific support for 809 | /etc/redis/redis-{server,sentinel}.{pre,post}-{up,down}.d and remove them 810 | if unchanged. 811 | * Include systemd redis-server@.service and redis-sentinel@.service template 812 | files to easily run multiple instances. (Closes: #877702) 813 | * Patch redis.conf and sentinel.conf with quilt instead of maintaining our 814 | own versions under debian/. 815 | * Refresh all patches. 816 | * Bump Standards-Version to 4.1.1. 817 | 818 | -- Chris Lamb Thu, 12 Oct 2017 14:54:27 -0400 819 | 820 | redis (4:4.0.2-2) unstable; urgency=medium 821 | 822 | * Update 0004-redis-check-rdb test to ensure that redis.rdb exists before 823 | testing it. 824 | 825 | -- Chris Lamb Mon, 25 Sep 2017 10:16:18 +0100 826 | 827 | redis (4:4.0.2-1) unstable; urgency=medium 828 | 829 | * New upstream release ("Upgrade urgency HIGH: Several potentially critical 830 | bugs fixed.") 831 | * Bump Standards-Version to 4.1.0. 832 | * Drop Build-Depends on dh-systemd (>= 1.5). 833 | 834 | -- Chris Lamb Sun, 24 Sep 2017 19:46:10 +0100 835 | 836 | redis (4:4.0.1-7) unstable; urgency=medium 837 | 838 | * Don't let sentinel tests fail the build; they use too many timers to be 839 | useful and/or meaningful. (Closes: #872075) 840 | 841 | -- Chris Lamb Mon, 14 Aug 2017 07:35:38 -0700 842 | 843 | redis (4:4.0.1-6) unstable; urgency=medium 844 | 845 | * Don't install completions to 846 | /usr/share/bash-completion/completions/debian/bash_completion/. 847 | 848 | -- Chris Lamb Sun, 13 Aug 2017 21:29:07 -0700 849 | 850 | redis (4:4.0.1-5) unstable; urgency=medium 851 | 852 | * Tidy debian/tests/control. 853 | * Drop even more tests with timing issues. 854 | 855 | -- Chris Lamb Sun, 13 Aug 2017 13:02:52 -0700 856 | 857 | redis (4:4.0.1-4) unstable; urgency=medium 858 | 859 | * Split tests into separate files. 860 | * Tighten systemd/seccomp hardening. 861 | 862 | -- Chris Lamb Sat, 12 Aug 2017 12:53:50 -0400 863 | 864 | redis (4:4.0.1-3) unstable; urgency=medium 865 | 866 | * Drop yet more non-deterministic tests. 867 | 868 | -- Chris Lamb Sat, 05 Aug 2017 21:01:03 -0400 869 | 870 | redis (4:4.0.1-2) unstable; urgency=medium 871 | 872 | * Skip yet more non-deterministic replication tests that rely on timing. 873 | (Closes: #857855) 874 | 875 | -- Chris Lamb Tue, 25 Jul 2017 18:57:39 +0100 876 | 877 | redis (4:4.0.1-1) unstable; urgency=medium 878 | 879 | * New upstream version. 880 | * Install 00-RELEASENOTES as the upstream changelog. 881 | * Use "dh_auto_clean" over "clean" target. 882 | 883 | -- Chris Lamb Mon, 24 Jul 2017 16:27:51 +0100 884 | 885 | redis (4:4.0.0-3) unstable; urgency=medium 886 | 887 | * Add -latomic to LDFLAGS to attempt to avoid FTBFS on mips{,el}. 888 | * Allow ulimit calls to fail in sysvinit scripts to avoid issues when 889 | running in a containerised environment. See 890 | . 891 | 892 | -- Chris Lamb Sun, 23 Jul 2017 15:42:18 +0100 893 | 894 | redis (4:4.0.0-2) unstable; urgency=medium 895 | 896 | * Make /usr/bin/redis-server in the main redis-server package a symlink to 897 | /usr/bin/redis-check-rdb in the redis-tools package. 898 | 899 | Whilst this prevents a wasteful duplication of a binary, it moreover 900 | ensures there are no duplicate debug symbols which was preventing the 901 | simultaneous installation of the redis-server-dbgsym and 902 | redis-tools-dbgsym packages. 903 | 904 | Note that this results in the peculiar (and possibily confusing) situation 905 | where the main package does not have the main binary anymore, or indeed 906 | any binaries whatsoever. See also the previous parallel attempt at a 907 | symlink changes in 3.2.6-3 which was reverted in 3.2.8-3. Thanks to Adrian 908 | Bunk for the report. (Closes: #868551) 909 | 910 | -- Chris Lamb Sun, 16 Jul 2017 22:38:57 +0100 911 | 912 | redis (4:4.0.0-1) unstable; urgency=medium 913 | 914 | * New upstream major release. 915 | * Bump Standards-Version to 4.0.0. 916 | * Refresh, renumber and reorganise patches. 917 | 918 | -- Chris Lamb Fri, 14 Jul 2017 22:00:59 +0100 919 | 920 | redis (3:3.2.9-1) unstable; urgency=medium 921 | 922 | * New upstream minor bugfix release. 923 | * Specify for test-related Build-Depends. 924 | * Bump debhelper compatibility level to 10. 925 | 926 | -- Chris Lamb Thu, 18 May 2017 12:32:02 +0200 927 | 928 | redis (3:3.2.8-3) unstable; urgency=medium 929 | 930 | * Revert the creation of the redis-tools:/usr/bin/redis-check-rdb -> 931 | redis-server:/usr/bin/redis-server symlink to avoid a dangling symlink if 932 | only the redis-tools binary package is installed. 933 | 934 | This was a regression since 3:3.2.6-3 where we attempted to avoid shipping 935 | duplicate file; the redis-server binary changes behaviour based on the 936 | contents of argv. 937 | 938 | One alternative would be to ship a symlink in redis-server but that would 939 | mean users wishing to check RDB databases would have to install the server 940 | package, so reverting to shipping a duplicate file seems justified. 941 | (Closes: #858519) 942 | 943 | -- Chris Lamb Thu, 23 Mar 2017 12:00:22 +0000 944 | 945 | redis (3:3.2.8-2) unstable; urgency=medium 946 | 947 | * Avoid conflict between RuntimeDirectory and tmpfiles.d(5) both attempting 948 | to create /run/redis with differing permissions. 949 | 950 | This prevents an installation error on Jessie where /run/redis was first 951 | being created by the tmpfiles.d(5) mechanism and then subsequently via the 952 | RuntimeDirectory directive. Due to a bug in Jessie's systemd, this caused a 953 | package installation error as systemd was too strict about permissions if 954 | the target already exists: 955 | 956 | The redis-{server,sentinel} daemon would actually start successfully a few 957 | milliseconds later due to the Restart=always directive. 958 | 959 | We work around this this by dropping the tmpfiles.d(5) handling and moving 960 | entirely to RuntimeDirectory{,Mode}; we are not using any special handling 961 | requiring tmpfiles.d(5) and we appear to need RuntimeDirectory anyway for 962 | #846350. (Closes: #856116) 963 | 964 | -- Chris Lamb Sat, 11 Mar 2017 12:53:14 +0000 965 | 966 | redis (3:3.2.8-1) unstable; urgency=medium 967 | 968 | * New upstream release. 969 | 970 | -- Chris Lamb Mon, 13 Feb 2017 10:15:53 +1300 971 | 972 | redis (3:3.2.7-1) unstable; urgency=medium 973 | 974 | * New upstream release. 975 | 976 | -- Chris Lamb Wed, 01 Feb 2017 09:27:05 +1300 977 | 978 | redis (3:3.2.6-6) unstable; urgency=medium 979 | 980 | * Use --cpu-list 0 (not --cpu-list 1) to ensure compilation on single-CPU 981 | machines. (Closes: #852347) 982 | 983 | -- Chris Lamb Tue, 24 Jan 2017 11:59:02 +1300 984 | 985 | redis (3:3.2.6-5) unstable; urgency=medium 986 | 987 | * Re-add taskset calls to try and avoid FTBFS due to parallelism in upstream 988 | test suite. 989 | 990 | -- Chris Lamb Mon, 23 Jan 2017 13:24:39 +1300 991 | 992 | redis (3:3.2.6-4) unstable; urgency=medium 993 | 994 | * Expand the documentation in redis-server.service and redis-sentinel 995 | regarding the default hardening options. 996 | 997 | -- Chris Lamb Sat, 21 Jan 2017 11:21:33 +1100 998 | 999 | redis (3:3.2.6-3) unstable; urgency=medium 1000 | 1001 | * Don't ship a "duplicate" redis-server binary in redis-tools as 1002 | /usr/bin/redis-check-rdb (it checks argv to change its behaviour) by 1003 | replacing it with a symlink. Found by . 1004 | 1005 | -- Chris Lamb Wed, 11 Jan 2017 17:04:33 +0000 1006 | 1007 | redis (3:3.2.6-2) unstable; urgency=medium 1008 | 1009 | * Rename RunTimeDirectory -> RuntimeDirectory in .service files. 1010 | (Closes: #850534) 1011 | * Refresh all patches with pq import -> pq export. 1012 | * Tidy all patches, updating descriptions and use Pq-Topic to organise. 1013 | 1014 | -- Chris Lamb Sat, 07 Jan 2017 18:06:14 +0000 1015 | 1016 | redis (3:3.2.6-1) unstable; urgency=medium 1017 | 1018 | * New upstream release. 1019 | * Add debian/gbp.conf to reflect new repository layout. 1020 | 1021 | -- Chris Lamb Tue, 06 Dec 2016 09:23:20 +0000 1022 | 1023 | redis (3:3.2.5-6) unstable; urgency=medium 1024 | 1025 | * Add missing Depends on lsb-base for /lib/lsb/init-functions usage in 1026 | redis-sentinel's initscript too. See #838966 for the parallel change to 1027 | redis-server's initscript. 1028 | 1029 | -- Chris Lamb Thu, 01 Dec 2016 12:07:51 +0000 1030 | 1031 | redis (3:3.2.5-5) unstable; urgency=medium 1032 | 1033 | * Add RunTimeDirectory=redis to systemd .service files. 1034 | (Closes: #846350) 1035 | 1036 | -- Chris Lamb Thu, 01 Dec 2016 11:48:51 +0000 1037 | 1038 | redis (3:3.2.5-4) unstable; urgency=medium 1039 | 1040 | * Install upstream's MANIFESTO and README.md. 1041 | 1042 | -- Chris Lamb Wed, 23 Nov 2016 15:45:48 +0000 1043 | 1044 | redis (3:3.2.5-3) unstable; urgency=medium 1045 | 1046 | * Also run redis-benchmark in autopkgtests to stress-test the installation 1047 | better. 1048 | 1049 | -- Chris Lamb Sun, 13 Nov 2016 15:03:18 +0000 1050 | 1051 | redis (3:3.2.5-2) unstable; urgency=medium 1052 | 1053 | * Tighten permissions of /var/{lib,log}/redis. (Closes: #842987) 1054 | - chmod(1) directories to 0750. 1055 | - Allow local administrator to override permissions with 1056 | dpkg-statoverride. 1057 | - Set UMask= in .service files, at least to match SystemV initscripts. 1058 | 1059 | -- Chris Lamb Thu, 03 Nov 2016 12:08:08 +0000 1060 | 1061 | redis (3:3.2.5-1) unstable; urgency=medium 1062 | 1063 | * New upstream release. 1064 | - Refresh debian/patches/0003-use-system-jemalloc.patch to accomodate 1065 | missing -ldl flag. 1066 | * Refresh all patches with "pq import / pq export". 1067 | 1068 | -- Chris Lamb Wed, 26 Oct 2016 16:36:49 +0100 1069 | 1070 | redis (3:3.2.4-2) unstable; urgency=medium 1071 | 1072 | * Ensure that sentinel's configuration actually writes to a pidfile location 1073 | so that systemd can detect that the daemon has started. 1074 | 1075 | -- Chris Lamb Mon, 10 Oct 2016 12:05:20 +0100 1076 | 1077 | redis (3:3.2.4-1) unstable; urgency=medium 1078 | 1079 | * New upstream release. 1080 | * Sync debian/sentinel.conf. 1081 | * Add missing -ldl for dladdr(3). 1082 | * Add missing Depends on lsb-base for /lib/lsb/init-functions usage in 1083 | initscript. Thanks to Santiago Vila. (Closes: #838966) 1084 | 1085 | -- Chris Lamb Tue, 27 Sep 2016 11:12:13 +0200 1086 | 1087 | redis (3:3.2.3-2) unstable; urgency=medium 1088 | 1089 | * Call `ulimit -n 65536` by default from sysvinit scripts so behaviour is 1090 | consistent with systemd. 1091 | * Bump epoch as the "2" prefix makes it look like we are shipping version 2.x 1092 | of Redis itself. 1093 | 1094 | -- Chris Lamb Mon, 05 Sep 2016 11:23:18 +0100 1095 | 1096 | redis (2:3.2.3-1) unstable; urgency=medium 1097 | 1098 | * New upstream release. 1099 | - Drop 0007-Avoid-world-readable-.rediscli_history-Closes-832460.patch as 1100 | was applied upstream. 1101 | * Add copyright-format 1.0 headers. 1102 | - Use "BSD-3-clause" over "BSD". 1103 | - Use separate ``License`` paragraphs. 1104 | - Ensure all wildcards in ``Files:`` sections match. 1105 | * Check we are running as root in LSB initscripts. 1106 | * Add debian/README.source regarding debian/{redis,sentinel}.conf. 1107 | 1108 | -- Chris Lamb Tue, 02 Aug 2016 13:40:01 -0400 1109 | 1110 | redis (2:3.2.2-1) unstable; urgency=medium 1111 | 1112 | * New upstream release. 1113 | - Sync debian/redis.conf with upstream. 1114 | - Sync debian/sentinel.conf with upstream. 1115 | 1116 | -- Chris Lamb Fri, 29 Jul 2016 10:08:08 -0400 1117 | 1118 | redis (2:3.2.1-4) unstable; urgency=high 1119 | 1120 | * Avoid race condition by setting and resetting umask(2) when 1121 | writing to ~/.rediscli_history. (Closes: #832460) 1122 | * Skip replication tests with timing issues. 1123 | 1124 | -- Chris Lamb Thu, 28 Jul 2016 08:35:50 -0400 1125 | 1126 | redis (2:3.2.1-3) unstable; urgency=medium 1127 | 1128 | * Avoid world_readable ~/.rediscli_history files. Thanks to kpcyrd 1129 | . (Closes: #832460) 1130 | 1131 | -- Chris Lamb Tue, 26 Jul 2016 23:48:07 -0400 1132 | 1133 | redis (2:3.2.1-2) unstable; urgency=medium 1134 | 1135 | * Avoid race conditions in upstream test suite. Thanks to Daniel Schepler 1136 | . (Closes: #830500) 1137 | 1138 | -- Chris Lamb Wed, 13 Jul 2016 09:56:06 +0200 1139 | 1140 | redis (2:3.2.1-1) unstable; urgency=medium 1141 | 1142 | * New upstream release. 1143 | * Sync debian/redis.conf 1144 | 1145 | -- Chris Lamb Sat, 18 Jun 2016 20:13:44 +0100 1146 | 1147 | redis (2:3.2.0-3) unstable; urgency=medium 1148 | 1149 | * Skip logging tests as not all architectures support it yet. 1150 | * Tidy patches. 1151 | 1152 | -- Chris Lamb Mon, 16 May 2016 10:28:51 +0100 1153 | 1154 | redis (2:3.2.0-2) unstable; urgency=medium 1155 | 1156 | * Update redis.conf. 1157 | 1158 | -- Chris Lamb Sat, 07 May 2016 11:05:52 +0100 1159 | 1160 | redis (2:3.2.0-1) unstable; urgency=medium 1161 | 1162 | * New upstream release. 1163 | * Update 03-use-system-jemalloc.diff. 1164 | * Install redis-check-rdb (was: redis-check-dump). 1165 | * Bump Standards-Version to 3.9.8. 1166 | 1167 | -- Chris Lamb Fri, 06 May 2016 23:55:02 +0100 1168 | 1169 | redis (2:3.0.7-4) unstable; urgency=medium 1170 | 1171 | * Actually specify a value for LimitNOFILE. 1172 | 1173 | -- Chris Lamb Thu, 07 Apr 2016 11:08:34 +0100 1174 | 1175 | redis (2:3.0.7-3) unstable; urgency=medium 1176 | 1177 | * Update .travis.yml. 1178 | * Update redis-benchmark manpage. Thanks to Joe Doherty (docapotamus). 1179 | * Add LimitNOFILE to allow a higher number of open file descriptors 1180 | . Thanks to @alexber220. 1181 | 1182 | -- Chris Lamb Wed, 06 Apr 2016 15:23:06 +0100 1183 | 1184 | redis (2:3.0.7-2) unstable; urgency=medium 1185 | 1186 | * Correct SOURCE_DATE_EPOCH patch to invert conditional. Thanks to Reiner 1187 | Herrmann . 1188 | 1189 | -- Chris Lamb Tue, 02 Feb 2016 10:53:26 +0100 1190 | 1191 | redis (2:3.0.7-1) unstable; urgency=medium 1192 | 1193 | * New upstream release. 1194 | * Actually drop unused 05-reproducible-build.diff file. 1195 | * Move to https Vcs-Git URI. 1196 | 1197 | -- Chris Lamb Fri, 29 Jan 2016 14:56:43 +0100 1198 | 1199 | redis (2:3.0.6-2) unstable; urgency=medium 1200 | 1201 | * Ensure that we always properly cleanup test processes (Closes: #808862) 1202 | * Add explicit Build-Depends on procps. 1203 | - Drop explicit pkill. 1204 | * Use SOURCE_DATE_EPOCH instead of dpkg-parsechangelog so patch can go 1205 | upstream. 1206 | 1207 | -- Chris Lamb Wed, 06 Jan 2016 11:38:14 +0000 1208 | 1209 | redis (2:3.0.6-1) unstable; urgency=medium 1210 | 1211 | * New upstream release. 1212 | * Drop 06-CVE-2015-8080-Integer-wraparound-in-lua_struct.c-cau.patch as an 1213 | equivalent change merged upstream. 1214 | * Don't fail if redis user already exists. (Closes: #774736) 1215 | 1216 | -- Chris Lamb Sat, 19 Dec 2015 11:27:41 +0000 1217 | 1218 | redis (2:3.0.5-4) unstable; urgency=high 1219 | 1220 | * CVE-2015-8080: Integer wraparound in lua_struct.c causing stack-based 1221 | buffer overflow (Closes: #804419) 1222 | * Correct call to /bin/kill in redis-{server,sentinel}.service to avoid 1223 | "kill: invalid argument T" messages when $MAINPID is not set. 1224 | 1225 | -- Chris Lamb Sat, 21 Nov 2015 16:22:45 +0200 1226 | 1227 | redis (2:3.0.5-3) unstable; urgency=medium 1228 | 1229 | * Add a redis-sentinel.tmpfile matching redis-server.tmpfile. 1230 | * wrap-and-sort -sa 1231 | * Rebase all patches with `gbp pq`. 1232 | 1233 | -- Chris Lamb Fri, 30 Oct 2015 10:54:30 +0000 1234 | 1235 | redis (2:3.0.5-2) unstable; urgency=medium 1236 | 1237 | * Also specify `ProtectSystem=true` over `ProtectSystem=full` in 1238 | redis-server.service so that it can write its own configuration file 1239 | when being run in cluster mode. (Closes: #803366) 1240 | 1241 | -- Chris Lamb Fri, 30 Oct 2015 00:01:17 +0000 1242 | 1243 | redis (2:3.0.5-1) unstable; urgency=medium 1244 | 1245 | * New upstream release. 1246 | - Sync ./redis.conf and ./debian/redis.conf. 1247 | 1248 | -- Chris Lamb Thu, 15 Oct 2015 16:12:17 +0100 1249 | 1250 | redis (2:3.0.4-8) unstable; urgency=medium 1251 | 1252 | * Use `ProtectSystem=true` over `ProtectSystem=full` in 1253 | redis-sentinel.service so that it can write its own configuration file 1254 | under /etc. Thanks to Pete Hicks for the report and fix. 1255 | (Closes: #799696) 1256 | 1257 | -- Chris Lamb Tue, 13 Oct 2015 20:46:23 +0100 1258 | 1259 | redis (2:3.0.4-7) unstable; urgency=medium 1260 | 1261 | * Change the default (and commented-out) value for "unixsocket" from 1262 | /tmp/redis.sock -> /var/run/redis/redis.sock so that it will work even 1263 | under systemd's PrivateTmp=True. Thanks to 1264 | Chris (Closes: #801464) 1265 | 1266 | -- Chris Lamb Sat, 10 Oct 2015 21:11:57 +0200 1267 | 1268 | redis (2:3.0.4-6) unstable; urgency=medium 1269 | 1270 | * Allow redis-sentinel to actually write to its own directory; 1271 | ReadWriteDirectories cannot take a filename as I previously thought. 1272 | Thanks to Bernd Zeimetz for the prompt report. 1273 | (Closes: #799696) 1274 | 1275 | -- Chris Lamb Tue, 29 Sep 2015 23:24:31 +0200 1276 | 1277 | redis (2:3.0.4-5) unstable; urgency=medium 1278 | 1279 | * Don't install /etc/redis/{redis,sentinel}.conf world-readable as they may 1280 | contain passwords, additionally setting the ownership to ensure they can 1281 | read their own configuration. (Closes: #800435) 1282 | * Disable CAP_SYS_PTRACE in systemd service files 1283 | * Add Documentation= header to systemd service files. 1284 | * Add a "redis" systemd unit alias. 1285 | 1286 | -- Chris Lamb Tue, 29 Sep 2015 17:42:22 +0200 1287 | 1288 | redis (2:3.0.4-4) unstable; urgency=medium 1289 | 1290 | * Make the parallel change in 2:30.4-3 to redis-server's initscript, not just 1291 | redis-sentinel's. 1292 | 1293 | -- Chris Lamb Mon, 14 Sep 2015 14:18:42 +0100 1294 | 1295 | redis (2:3.0.4-3) unstable; urgency=medium 1296 | 1297 | * Specific `-s /bin/sh` in su's call to start run-parts as the redis's user's 1298 | shell of /bin/false was preventing it from starting under sysvinit. Thanks to 1299 | Michal Humpula . (Closes: #798951) 1300 | 1301 | -- Chris Lamb Mon, 14 Sep 2015 14:13:26 +0100 1302 | 1303 | redis (2:3.0.4-2) unstable; urgency=medium 1304 | 1305 | * Add PIDFile= to systemd service files. 1306 | * Run /etc/redis/redis-server.post-up.d (etc.) under the 'redis' user, not 1307 | root in initscript. 1308 | - Document this in 00_example files. 1309 | * Execute run-parts files under systemd, not just under sysvinit. 1310 | (Closes: #798771) 1311 | * Add rudimentary hardening under systemd. (Closes: #798770) 1312 | 1313 | -- Chris Lamb Sun, 13 Sep 2015 07:18:13 +0100 1314 | 1315 | redis (2:3.0.4-1) unstable; urgency=medium 1316 | 1317 | * New upstream release. 1318 | - Sync debian/redis.conf. 1319 | * Put --system further on to avoid issues with lintian false-positive (and to 1320 | match the manpage). 1321 | 1322 | -- Chris Lamb Tue, 08 Sep 2015 10:28:51 +0100 1323 | 1324 | redis (2:3.0.3-3) unstable; urgency=medium 1325 | 1326 | * Replace ExecStop in systemd configuration with TimeoutStopSpec. Calls to 1327 | `redis-cli shutdown` were not reliable if the port/UNIX socket had changed 1328 | from the defaults (or is not accessible due to firewalling, permissions, 1329 | etc.) 1330 | 1331 | Note that we cannot simply remove ExecStop (hence TimeoutStopSpec) as we 1332 | must wait for the server to fully shutdown - it may not have finished 1333 | writing the dump file to disk and thus we would be risking silent data loss 1334 | if it is SIGKILL'd. 1335 | 1336 | Thanks to Chris Kuehl . (Closes: #794437) 1337 | 1338 | -- Chris Lamb Wed, 05 Aug 2015 14:40:19 +0100 1339 | 1340 | redis (2:3.0.3-2) unstable; urgency=medium 1341 | 1342 | * Switch from RuntimeDirectory to systemd-tempfiles. 1343 | 1344 | Both redis-server and redis-sentinel use the the same RuntimeDirectory 1345 | (/run/redis). This is wrong since systemd removes RuntimeDirectory on 1346 | service stop. So, stopping redis-server removes redis-sentinel.pid as well. 1347 | 1348 | Using a systemd-tempfile is a more robust approach. We are also removing 1349 | ExecStartPre lines since directory creation is handled in a different 1350 | level. 1351 | 1352 | Thanks to Christos Trochalakis . (Closes: #793016) 1353 | 1354 | -- Chris Lamb Mon, 20 Jul 2015 14:52:01 +0100 1355 | 1356 | redis (2:3.0.3-1) unstable; urgency=medium 1357 | 1358 | * New upstream release. 1359 | 1360 | -- Chris Lamb Fri, 17 Jul 2015 14:48:12 +0100 1361 | 1362 | redis (2:3.0.2-3) unstable; urgency=medium 1363 | 1364 | * Add some missing tools: 1365 | - ./utils/lru/ 1366 | - ./src/redis-trib.rb 1367 | - Don't compress redis-trib.rb 1368 | - Add ruby-redis to Suggests. 1369 | 1370 | -- Chris Lamb Sat, 11 Jul 2015 15:23:33 +0100 1371 | 1372 | redis (2:3.0.2-2) unstable; urgency=medium 1373 | 1374 | * Create /var/run/redis with the correct permissions in systemd .service 1375 | files. Thanks to Sebastian Lipponer . 1376 | (Closes: #787257) 1377 | * Install Bash completions to /usr/share/bash-completion/completions instead 1378 | of /etc/bash_completion.d (see #787257). 1379 | 1380 | -- Chris Lamb Wed, 17 Jun 2015 15:56:52 +0100 1381 | 1382 | redis (2:3.0.2-1) unstable; urgency=medium 1383 | 1384 | * New upstream release. 1385 | 1386 | -- Chris Lamb Thu, 04 Jun 2015 12:38:22 +0100 1387 | 1388 | redis (2:3.0.1-1) unstable; urgency=medium 1389 | 1390 | * New upstream release. 1391 | 1392 | -- Chris Lamb Tue, 05 May 2015 16:23:59 +0100 1393 | 1394 | redis (2:3.0.0-2) unstable; urgency=medium 1395 | 1396 | * redis-server was not able to start under systemd with default redis.conf 1397 | due to the absence of /var/run/redis; when RuntimeDirectory is specified in 1398 | *.service file, systemd creates the directory in /var/run and sets the 1399 | correct permissions. Thanks to Mikhael A . 1400 | 1401 | -- Chris Lamb Thu, 09 Apr 2015 13:27:08 +0100 1402 | 1403 | redis (2:3.0.0-1) unstable; urgency=medium 1404 | 1405 | * New upstream stable release. 1406 | 1407 | -- Chris Lamb Wed, 01 Apr 2015 18:08:31 +0100 1408 | 1409 | redis (2:3.0.0~rc6-2) unstable; urgency=medium 1410 | 1411 | * Don't make test failures cause a build failure - known timing issues 1412 | upstream. 1413 | 1414 | -- Chris Lamb Fri, 27 Mar 2015 13:37:18 +0000 1415 | 1416 | redis (2:3.0.0~rc6-1) unstable; urgency=medium 1417 | 1418 | * New upstream RC release. 1419 | 1420 | -- Chris Lamb Wed, 25 Mar 2015 23:12:29 +0000 1421 | 1422 | redis (2:3.0.0~rc5-2) unstable; urgency=medium 1423 | 1424 | * Upload to unstable. 1425 | 1426 | -- Chris Lamb Fri, 20 Mar 2015 19:16:34 +0000 1427 | 1428 | redis (2:3.0.0~rc5-1) experimental; urgency=medium 1429 | 1430 | * New upstream RC release. 1431 | * wrap-and-sort entries. 1432 | * Tidy debian/rules. 1433 | * Move to debhelper compatibility level 9. 1434 | * Don't run tests if nocheck specified. 1435 | * Update debian/copyright. 1436 | 1437 | -- Chris Lamb Fri, 20 Mar 2015 11:36:46 +0000 1438 | 1439 | redis (2:3.0.0~rc4-1) experimental; urgency=medium 1440 | 1441 | * New upstream RC release. 1442 | * wrap-and-sort. 1443 | * Use the latest debian/changelog date in 05-reproducible-build.diff. 1444 | 1445 | -- Chris Lamb Fri, 13 Feb 2015 23:33:53 +0000 1446 | 1447 | redis (2:3.0.0~rc3-1) experimental; urgency=medium 1448 | 1449 | * New upstream RC release. 1450 | 1451 | -- Chris Lamb Fri, 30 Jan 2015 19:03:31 +0000 1452 | 1453 | redis (2:3.0.0~rc2-2) experimental; urgency=medium 1454 | 1455 | * Add Build-Depends on `tcl` for tests. 1456 | * Add the following run-parts(8) directories that are be executed at the 1457 | appropriate daemon start and stop actions: 1458 | 1459 | - /etc/redis/redis-server.pre-up.d 1460 | - /etc/redis/redis-server.pre-down.d 1461 | - /etc/redis/redis-server.post-up.d 1462 | - /etc/redis/redis-server.post-down.d 1463 | - /etc/redis/redis-sentinel.pre-up.d 1464 | - /etc/redis/redis-sentinel.pre-down.d 1465 | - /etc/redis/redis-sentinel.post-up.d 1466 | - /etc/redis/redis-sentinel.post-down.d 1467 | 1468 | This is useful for loading Lua scripts which are not persisted across 1469 | restarts. Scripts should be idempotent so that multiple calls to (eg.) 1470 | "/etc/init.d/redis-server start" do not result in unintended consequences. 1471 | * Also run Redis Sentinel tests. 1472 | 1473 | -- Chris Lamb Tue, 27 Jan 2015 05:04:24 +0000 1474 | 1475 | redis (2:3.0.0~rc2-1) experimental; urgency=low 1476 | 1477 | * New upstream RC release. 1478 | - Sync debian/redis.conf. 1479 | * Renable testsuite. 1480 | * Add --oknodo to initscript "start" action to ensure correct return code if 1481 | is already running. 1482 | * Split redis-sentinel into its own package (Closes: #775414) 1483 | - Move /usr/bin/redis-sentinel symlink to new package. 1484 | - Fork ./sentinel.conf -> debian/sentinel.conf for own changes. 1485 | - Add logrotate stanza. 1486 | - Override permissions of /etc/redis/sentinel.conf with dpkg-statoverride - 1487 | needs to be writable by Sentinel itself. 1488 | 1489 | -- Chris Lamb Fri, 16 Jan 2015 10:55:28 +0000 1490 | 1491 | redis (2:2.8.19-3) unstable; urgency=medium 1492 | 1493 | * Add DEP-8 smoke test. 1494 | 1495 | -- Chris Lamb Sun, 08 Feb 2015 19:19:42 +0000 1496 | 1497 | redis (2:2.8.19-2) unstable; urgency=low 1498 | 1499 | * Re-enable testsuite. 1500 | - Add tcl to Build-Depends. 1501 | * Add --oknodo to initscript "start" action to ensure correct return code if 1502 | is already running. 1503 | * Use the latest debian/changelog date in 05-reproducible-build.diff. 1504 | 1505 | -- Chris Lamb Tue, 27 Jan 2015 04:48:25 +0000 1506 | 1507 | redis (2:2.8.19-1) unstable; urgency=medium 1508 | 1509 | * New upstream release. 1510 | 1511 | -- Chris Lamb Tue, 30 Dec 2014 10:06:28 +0000 1512 | 1513 | redis (2:2.8.18-1) unstable; urgency=low 1514 | 1515 | * New upstream release. 1516 | - Sync debian/redis.conf. 1517 | * Attempt to make build reproducible by dropping timestamp/uname name from 1518 | release.h. 1519 | * Bump Standards-Version to 3.9.6. 1520 | 1521 | -- Chris Lamb Thu, 11 Dec 2014 12:19:43 +0000 1522 | 1523 | redis (2:2.8.17-1) unstable; urgency=medium 1524 | 1525 | * New upstream release. 1526 | 1527 | -- Chris Lamb Thu, 09 Oct 2014 11:47:32 +0100 1528 | 1529 | redis (2:2.8.14-1) unstable; urgency=low 1530 | 1531 | * New upstream release. 1532 | * Guillaume Delacour: 1533 | - Use dpkg-buildflags CFLAGS, CPPFLAGS (patch upstream Makefile) and 1534 | LDFLAGS, also use pie and relro via DEB_BUILD_MAINT_OPTIONS 1535 | - Call make V=1 to show gcc command lines (blhc) and enable parallel build 1536 | * Sync debian/redis.conf and redis.conf. 1537 | * Refresh 02-fix-ftbfs-on-kfreebsd patch. 1538 | 1539 | -- Chris Lamb Fri, 05 Sep 2014 13:54:51 +0100 1540 | 1541 | redis (2:2.8.13-3) unstable; urgency=low 1542 | 1543 | * Correct permissions of our /var directories by chowning them recursively. 1544 | This is necessary, at least temporarily, as systemd users were previously 1545 | running the daemon as root causing the files in those dirs to be owned by 1546 | that user. We could be clever and only chown files owned by root to 1547 | accomodate users who are not running as redis:redis but I think that's 1548 | overkill. (Closes: #756709) 1549 | 1550 | -- Chris Lamb Tue, 05 Aug 2014 17:16:53 +0100 1551 | 1552 | redis (2:2.8.13-2) unstable; urgency=low 1553 | 1554 | * Under systemd, run under redis:redis. (Closes: #756621) 1555 | 1556 | -- Chris Lamb Thu, 31 Jul 2014 14:49:48 +0100 1557 | 1558 | redis (2:2.8.13-1) unstable; urgency=low 1559 | 1560 | * New upstream release. 1561 | * Synchronise ./debian/redis.conf with ./redis.conf. 1562 | * Update 03-use-system-jemalloc.diff. 1563 | * Fix FTBFS under kfreebsd (Closes: #754634) 1564 | 1565 | -- Chris Lamb Mon, 14 Jul 2014 22:49:15 +0100 1566 | 1567 | redis (2:2.8.12-1) unstable; urgency=low 1568 | 1569 | * New upstream release. 1570 | - Synchronise ./debian/redis.conf with ./redis.conf. 1571 | 1572 | -- Chris Lamb Sat, 05 Jul 2014 17:15:01 +0100 1573 | 1574 | redis (2:2.8.11-1) unstable; urgency=low 1575 | 1576 | * New upstream release. 1577 | - Synchronise ./debian/redis.conf with ./redis.conf. 1578 | * Drop copytruncate from logrotate stanza. 1579 | * Prefer status_of_proc over `start-stop-daemon --stop --signal 0 ...` 1580 | (Closes: #751839) 1581 | 1582 | -- Chris Lamb Tue, 17 Jun 2014 16:36:58 +0100 1583 | 1584 | redis (2:2.8.8-2) unstable; urgency=low 1585 | 1586 | * Add systemd support. Thanks to Wasif Malik . 1587 | (Closes: #743750) 1588 | 1589 | -- Chris Lamb Sun, 06 Apr 2014 11:24:36 +0100 1590 | 1591 | redis (2:2.8.8-1) unstable; urgency=low 1592 | 1593 | * New upstream release. 1594 | - Sync debian/redis.conf and redis.conf. 1595 | 1596 | -- Chris Lamb Tue, 01 Apr 2014 19:32:15 +0100 1597 | 1598 | redis (2:2.8.7-2) unstable; urgency=low 1599 | 1600 | * Revamp maintainer scripts. (Closes: #741216) 1601 | 1602 | -- Chris Lamb Mon, 10 Mar 2014 22:18:29 +0000 1603 | 1604 | redis (2:2.8.7-1) unstable; urgency=low 1605 | 1606 | * New upstream release. 1607 | 1608 | -- Chris Lamb Wed, 05 Mar 2014 23:16:17 +0000 1609 | 1610 | redis (2:2.8.6-1) unstable; urgency=medium 1611 | 1612 | * New upstream release. 1613 | 1614 | -- Chris Lamb Sat, 15 Feb 2014 22:47:34 +0000 1615 | 1616 | redis (2:2.8.5-1) unstable; urgency=low 1617 | 1618 | * New upstream release. 1619 | * Update debian/redis.conf to include new tcp-backlog option. 1620 | 1621 | -- Chris Lamb Sat, 08 Feb 2014 12:01:48 +0000 1622 | 1623 | redis (2:2.8.4-2) unstable; urgency=low 1624 | 1625 | * Symlink redis-sentinel to redis-server as it's the same binary. 1626 | * Install sentinel.conf. 1627 | 1628 | -- Chris Lamb Tue, 14 Jan 2014 12:31:14 +0000 1629 | 1630 | redis (2:2.8.4-1) unstable; urgency=low 1631 | 1632 | * New upstream version. 1633 | * Sync debian/redis.conf. 1634 | * Also ship redis-sentinel (Closes: #735272) 1635 | 1636 | -- Chris Lamb Tue, 14 Jan 2014 10:42:09 +0000 1637 | 1638 | redis (2:2.8.2-1) unstable; urgency=low 1639 | 1640 | * New upstream version. 1641 | 1642 | -- Chris Lamb Fri, 06 Dec 2013 14:37:54 +0000 1643 | 1644 | redis (2:2.8.0-1) unstable; urgency=low 1645 | 1646 | * New upstream release. 1647 | - Update debian/patches/02-fix-ftbfs-on-kfreebsd. 1648 | - Update debian/patches/03-use-system-jemalloc.diff. 1649 | - Update debian/redis.conf 1650 | * Bump Standards-Version to 3.9.4. 1651 | 1652 | -- Chris Lamb Fri, 22 Nov 2013 16:51:55 +0000 1653 | 1654 | redis (2:2.6.16-3) unstable; urgency=low 1655 | 1656 | * Add missing Replaces and Breaks to redis-tools. Thanks to Andreas Beckmann 1657 | (anbe). (Closes: #723703) 1658 | 1659 | -- Chris Lamb Fri, 20 Sep 2013 14:35:24 +0100 1660 | 1661 | redis (2:2.6.16-2) unstable; urgency=low 1662 | 1663 | * Completely rework and refresh debian/copyright. (Closes: #723162) 1664 | * Update website in debian/copyright. 1665 | * Drop client library references from debian/copyright (dropped in 1666 | 2:1.1.90~beta-1). 1667 | * Update main copyright year. 1668 | 1669 | -- Chris Lamb Tue, 17 Sep 2013 19:08:01 +0100 1670 | 1671 | redis (2:2.6.16-1) unstable; urgency=low 1672 | 1673 | * New upstream release. 1674 | * Split non-server binaries into redis-tools package. (Closes: #723006) 1675 | * Update debian/watch. 1676 | 1677 | -- Chris Lamb Mon, 16 Sep 2013 09:53:49 +0100 1678 | 1679 | redis (2:2.6.14-2) unstable; urgency=low 1680 | 1681 | * Source /lib/lsb/init-functions in initscript for systemd compatibility. 1682 | 1683 | -- Chris Lamb Mon, 12 Aug 2013 16:17:47 +0100 1684 | 1685 | redis (2:2.6.14-1) unstable; urgency=low 1686 | 1687 | * New upstream release. 1688 | 1689 | -- Chris Lamb Tue, 06 Aug 2013 12:14:12 +0100 1690 | 1691 | redis (2:2.6.13-1) unstable; urgency=low 1692 | 1693 | * New upstream release. 1694 | - Sync debian/redis.conf. 1695 | - Update 02-fix-ftbfs-on-kfreebsd.diff. 1696 | 1697 | -- Chris Lamb Mon, 17 Jun 2013 00:49:42 +0100 1698 | 1699 | redis (2:2.6.7-1) unstable; urgency=low 1700 | 1701 | * New upstream release. 1702 | * Add missing "status" command from usage. Thanks to Dererk 1703 | . (Closes: #696339) 1704 | * Enable building on kfreebsd-amd64 (and possibly kfreebsd-i386 and 1705 | hurd-i386) by not depending on 'jemalloc' which would not be used anyway. 1706 | Thanks to Jeff Epler . (Closes: #696618) 1707 | 1708 | -- Chris Lamb Fri, 28 Dec 2012 17:00:06 +0000 1709 | 1710 | redis (2:2.6.0-1) unstable; urgency=low 1711 | 1712 | * New upstream release. 1713 | * Update 02-fix-ftbfs-on-kfreebsd.diff. 1714 | * Update 03-use-system-jemalloc.diff. 1715 | * Update configuration file. 1716 | 1717 | -- Chris Lamb Tue, 23 Oct 2012 15:04:17 +0100 1718 | 1719 | redis (2:2.4.17-1) unstable; urgency=low 1720 | 1721 | * New upstream release. 1722 | * Bump Standards-Version to 3.9.3. 1723 | 1724 | -- Chris Lamb Wed, 10 Oct 2012 21:16:47 +0100 1725 | 1726 | redis (2:2.4.15-1) unstable; urgency=low 1727 | 1728 | * New upstream release. 1729 | 1730 | -- Chris Lamb Mon, 02 Jul 2012 10:56:28 +0100 1731 | 1732 | redis (2:2.4.14-1) unstable; urgency=low 1733 | 1734 | * New upstream release. 1735 | 1736 | -- Chris Lamb Fri, 08 Jun 2012 17:21:49 +0100 1737 | 1738 | redis (2:2.4.13-1) unstable; urgency=low 1739 | 1740 | * New upstream release. (Closes: #673202) 1741 | * Sync upstream redis.conf changes with debian/redis.conf. 1742 | 1743 | -- Chris Lamb Thu, 17 May 2012 10:32:33 +0100 1744 | 1745 | redis (2:2.4.9-2) unstable; urgency=low 1746 | 1747 | * Add /etc/default/redis-server option to call ``ulimit -n'' before 1748 | invoking Redis. (Closes: #672638) 1749 | 1750 | -- Chris Lamb Mon, 14 May 2012 10:34:21 +0000 1751 | 1752 | redis (2:2.4.9-1) unstable; urgency=low 1753 | 1754 | * New upstream release. 1755 | 1756 | -- Chris Lamb Mon, 26 Mar 2012 12:21:29 +0100 1757 | 1758 | redis (2:2.4.8-1) unstable; urgency=low 1759 | 1760 | * New upstream release. 1761 | * Fix debian/watch (Closes: #661919) 1762 | * Don't use jemalloc on archs not supporting it (Closes: #661354) 1763 | 1764 | -- Chris Lamb Sun, 11 Mar 2012 22:19:51 +0000 1765 | 1766 | redis (2:2.4.5-1) unstable; urgency=low 1767 | 1768 | * New upstream version (Closes: #655416) 1769 | * Use system jemalloc. (Closes: #654900, #654902) 1770 | 1771 | -- Chris Lamb Wed, 11 Jan 2012 12:30:27 +0000 1772 | 1773 | redis (2:2.4.2-2) unstable; urgency=low 1774 | 1775 | * Fix test suite on sparc (Closes: #647627) 1776 | 1777 | -- Chris Lamb Wed, 07 Dec 2011 16:55:23 +0000 1778 | 1779 | redis (2:2.4.2-1) unstable; urgency=low 1780 | 1781 | * New upstream release. 1782 | * /etc/init.d/redis-server fixes: 1783 | - Send TERM, not QUIT signal. 1784 | - Sleep 1 second after exiting as although the process has disappeared the 1785 | server socket is somehow still in use which causes the start to fail. 1786 | * Drop 01-fix-link-ordering patch; fixed upstream. 1787 | . 1788 | * Update 02-fix-ftbfs-on-kfreebsd. 1789 | * Drop redis-doc package now that upstream no longer ship documentation. 1790 | 1791 | -- Chris Lamb Wed, 16 Nov 2011 16:00:23 +0000 1792 | 1793 | redis (2:2.4.0~rc5-1) experimental; urgency=low 1794 | 1795 | * New upstream RC release. 1796 | * Update debian/redis.conf. 1797 | * Drop documentation package - dropped upstream. 1798 | 1799 | -- Chris Lamb Fri, 29 Jul 2011 21:41:25 +0200 1800 | 1801 | redis (2:2.2.12-1) unstable; urgency=low 1802 | 1803 | * New upstream release. 1804 | * Move runtime files to /var/run/redis/ and set that as default location for 1805 | socket file. Thanks to Sandro Tosi . (Closes: #632931) 1806 | * Refresh fix-link-ordering patch. 1807 | * Use "defined(__linux__) || defined(__GLIBC__)" for kfreebsd compatibility. 1808 | Thanks to Robert Millan . (Closes: #632499) 1809 | 1810 | -- Chris Lamb Wed, 27 Jul 2011 19:20:26 +0200 1811 | 1812 | redis (2:2.2.11-3) unstable; urgency=low 1813 | 1814 | * Change default loglevel to "notice". 1815 | * Wait forever for redis to stop - only waiting 10 seconds could cause data 1816 | loss. 1817 | * Set a proper default location for socket file. (Closes: #632931) 1818 | 1819 | -- Chris Lamb Mon, 18 Jul 2011 13:25:16 +0100 1820 | 1821 | redis (2:2.2.11-2) unstable; urgency=low 1822 | 1823 | * Fix FTBFS on kfreebsd. Thanks to Christoph Egger for 1824 | the patch. (Closes: #632499) 1825 | * Ship redis-check-aof and redis-check-dump. (Closes: #632858) 1826 | 1827 | -- Chris Lamb Wed, 06 Jul 2011 22:36:18 +0100 1828 | 1829 | redis (2:2.2.11-1) unstable; urgency=low 1830 | 1831 | * New upstream release. 1832 | * Correct spelling of "Description" in patch system. 1833 | 1834 | -- Chris Lamb Sat, 02 Jul 2011 00:43:37 +0100 1835 | 1836 | redis (2:2.2.10-1) unstable; urgency=low 1837 | 1838 | * New upstream release. 1839 | * Bump Standards-Version to 3.9.2. 1840 | 1841 | -- Chris Lamb Sat, 18 Jun 2011 14:53:41 +0100 1842 | 1843 | redis (2:2.2.8-1) unstable; urgency=low 1844 | 1845 | * New upstream release. 1846 | * Add patch from Ubuntu to fix FTBFS due to --as-needed linking. 1847 | Thanks to Nigel Babu . (Closes: #628056) 1848 | 1849 | -- Chris Lamb Tue, 07 Jun 2011 16:43:58 +0100 1850 | 1851 | redis (2:2.2.5-1) unstable; urgency=low 1852 | 1853 | * New upstream release. 1854 | 1855 | -- Chris Lamb Mon, 25 Apr 2011 14:04:29 +0100 1856 | 1857 | redis (2:2.2.4-1) unstable; urgency=low 1858 | 1859 | * New upstream release. 1860 | 1861 | -- Chris Lamb Fri, 22 Apr 2011 14:05:43 +0100 1862 | 1863 | redis (2:2.2.2-1) unstable; urgency=low 1864 | 1865 | * New upstream release. 1866 | * Use userdel over deluser to prevent problems when purging package. 1867 | (Closes: #618326) 1868 | 1869 | -- Chris Lamb Tue, 15 Mar 2011 11:13:21 +0000 1870 | 1871 | redis (2:2.2.1-1) unstable; urgency=low 1872 | 1873 | * New upstream release. (Closes: #604076) 1874 | * Update install paths. 1875 | 1876 | -- Chris Lamb Thu, 24 Feb 2011 19:39:43 +0000 1877 | 1878 | redis (2:2.0.1-2) unstable; urgency=low 1879 | 1880 | * Upload to unstable. 1881 | 1882 | -- Chris Lamb Fri, 10 Sep 2010 14:49:30 +0100 1883 | 1884 | redis (2:2.0.1-1) experimental; urgency=low 1885 | 1886 | * New upstream release. 1887 | * Update debian/watch to not match old tarballs. 1888 | * Upstream now ships an install target; let's just ignore it for now. 1889 | 1890 | -- Chris Lamb Fri, 10 Sep 2010 14:40:01 +0100 1891 | 1892 | redis (2:2.0.0~rc4-1) experimental; urgency=low 1893 | 1894 | * New upstream RC release. 1895 | * Bump Standards-Version to 3.9.1. 1896 | * Remove mkreleasehdr.sh when building to avoid debian diff - it will 1897 | regenerate release.h with different contents. 1898 | 1899 | -- Chris Lamb Thu, 29 Jul 2010 09:13:31 -0400 1900 | 1901 | redis (2:2.0.0~rc3-1) experimental; urgency=low 1902 | 1903 | * New upstream RC release. 1904 | * Bump Standards-Version to 3.9.0. 1905 | 1906 | -- Chris Lamb Fri, 23 Jul 2010 11:59:16 +0100 1907 | 1908 | redis (2:2.0.0~rc2-1) experimental; urgency=low 1909 | 1910 | * New upstream RC release. 1911 | 1912 | -- Chris Lamb Thu, 01 Jul 2010 23:15:02 +0100 1913 | 1914 | redis (2:2.0.0~rc1-2) experimental; urgency=low 1915 | 1916 | * Add 'status' command to initscript. 1917 | * Add redis-benchmark (and manpage) to package. (Closes: #587395) 1918 | 1919 | -- Chris Lamb Mon, 28 Jun 2010 11:02:31 +0100 1920 | 1921 | redis (2:2.0.0~rc1-1) experimental; urgency=low 1922 | 1923 | * New upstream release candidate. 1924 | * Remove '01-dont-print-pid-on-startup.diff' patch. 1925 | * Update local copy of redis.conf. 1926 | 1927 | -- Chris Lamb Tue, 01 Jun 2010 10:51:05 +0100 1928 | 1929 | redis (2:1.2.6-1) unstable; urgency=low 1930 | 1931 | * New upstream release. 1932 | 1933 | -- Chris Lamb Tue, 30 Mar 2010 14:13:52 +0100 1934 | 1935 | redis (2:1.2.5-1) unstable; urgency=low 1936 | 1937 | * New upstream release. 1938 | * Drop 02-fix-segfault-indupClientReplyValue.diff; applied upstream via 1939 | . 1940 | 1941 | -- Chris Lamb Thu, 11 Mar 2010 21:34:37 +0000 1942 | 1943 | redis (2:1.2.4-1) unstable; urgency=low 1944 | 1945 | * New upstream release. 1946 | 1947 | -- Chris Lamb Tue, 09 Mar 2010 16:18:19 +0000 1948 | 1949 | redis (2:1.2.3-1) unstable; urgency=low 1950 | 1951 | * New upstream release. 1952 | 1953 | -- Chris Lamb Tue, 02 Mar 2010 16:45:07 +0000 1954 | 1955 | redis (2:1.2.2-2) unstable; urgency=low 1956 | 1957 | * Really fix segfault in dupClientReplyValue. (Closes: #570371) 1958 | 1959 | -- Chris Lamb Fri, 19 Feb 2010 09:16:48 +0000 1960 | 1961 | redis (2:1.2.2-1) unstable; urgency=low 1962 | 1963 | * New upstream release. 1964 | - Fixes segfault in dupClientReplyValue. Thanks to Hirling Endre 1965 | (Closes: #570371) 1966 | 1967 | -- Chris Lamb Thu, 18 Feb 2010 22:02:10 +0000 1968 | 1969 | redis (2:1.2.1-1) unstable; urgency=low 1970 | 1971 | * New upstream release. 1972 | * Add Bash completion script for redis-cli by Steve Kemp . 1973 | (Closes: #565358) 1974 | * Bump Standards-Version to 3.8.4. 1975 | * Add $remote_fs to LSB "Required-{Start,Stop}" initscript headers. 1976 | 1977 | -- Chris Lamb Tue, 09 Feb 2010 14:37:32 +0000 1978 | 1979 | redis (2:1.2.0-1) unstable; urgency=low 1980 | 1981 | * New upstream stable release. 1982 | * Switch to dpkg-source 3.0 (quilt) format. 1983 | * Patch out printing of pid on startup. 1984 | 1985 | -- Chris Lamb Thu, 14 Jan 2010 15:50:36 +0000 1986 | 1987 | redis (2:1.1.95~beta-2) unstable; urgency=low 1988 | 1989 | * Set source section to "database" from "misc". 1990 | * Add redis-cli binary to "redis-server" package. 1991 | 1992 | -- Chris Lamb Wed, 13 Jan 2010 23:36:30 +0000 1993 | 1994 | redis (2:1.1.95~beta-1) unstable; urgency=low 1995 | 1996 | * New upstream release. 1997 | * Sync debian/redis.conf with upstream version (new "rdbcompression" and 1998 | "masterauth" commands). 1999 | 2000 | -- Chris Lamb Sun, 10 Jan 2010 22:59:06 +0000 2001 | 2002 | redis (2:1.1.90~beta-1) unstable; urgency=low 2003 | 2004 | * New upstream release: 2005 | - Bump the epoch as dpkg considers 1.1.90 to be less than 1.02. 2006 | - Sync redis.conf 2007 | * Don't build client libraries anymore; not part of the upstream tarball 2008 | anymore. 2009 | * Don't export CFLAGS from debian/rules to prevent FTBFS when dpkg-provided 2010 | CFLAGS does not include --std=c99. 2011 | * Modify debian/watch to consider "-beta" the same as "~beta" for correct 2012 | dpkg ordering. 2013 | 2014 | -- Chris Lamb Sat, 05 Dec 2009 22:10:32 +0000 2015 | 2016 | redis (1:1.02-1) unstable; urgency=low 2017 | 2018 | * New upstream release. 2019 | 2020 | -- Chris Lamb Fri, 23 Oct 2009 16:26:45 +0100 2021 | 2022 | redis (1:1.01-1) unstable; urgency=low 2023 | 2024 | * New upstream release. 2025 | - "maxmemory now works well on 64bit systems with > 4GB of RAM" 2026 | 2027 | -- Chris Lamb Tue, 22 Sep 2009 21:53:48 +0100 2028 | 2029 | redis (1:1.0-1) unstable; urgency=low 2030 | 2031 | * New upstream release. 2032 | * Bump Standards-Version to 3.8.3. 2033 | * Drop patch system: 2034 | - 01-recommend-sysctl-conf.diff; applied upstream. 2035 | - 02-warn-after-daemonising.diff; applied upstream. 2036 | - 03-only-mangle-trace-on-ia64-and-x86.diff; applied upstream. 2037 | - Drop quilt Build-Depends and remove patches/series. 2038 | * Use "override_dh_auto_clean" instead of "clean" target. 2039 | 2040 | -- Chris Lamb Tue, 08 Sep 2009 22:09:19 +0100 2041 | 2042 | redis (1:0.900-3) unstable; urgency=low 2043 | 2044 | * Actually add architecture patch introducted in 1:0.900-2 to quilt 'series' 2045 | (Closes: #533763) 2046 | * Correct "/proc/sys/vm/overcommit_memory" message to print the correct 2047 | string to add to sysctl.conf. 2048 | 2049 | -- Chris Lamb Thu, 25 Jun 2009 12:13:02 +0100 2050 | 2051 | redis (1:0.900-2) unstable; urgency=low 2052 | 2053 | * Add patch to avoid mangling the stacktrace on SIGSEGV using X86-specific 2054 | ucontext struct, etc. (Closes: #533763) 2055 | * Bump Standards-Version to 3.8.2. 2056 | 2057 | -- Chris Lamb Wed, 24 Jun 2009 23:54:42 +0100 2058 | 2059 | redis (1:0.900-1) unstable; urgency=low 2060 | 2061 | * New upstream release. 2062 | - Update debian/redis.conf 2063 | * Update versionmangle in debian/watch. 2064 | * "/proc/sys/vm/overcommit_memory" message: 2065 | - Recommend modifying /etc/sysctl.conf instead of using "boot scripts" 2066 | - Warn after daemonising to avoid message being spammed on every boot. 2067 | 2068 | -- Chris Lamb Wed, 17 Jun 2009 10:39:57 +0100 2069 | 2070 | redis (1:0.100-1) unstable; urgency=low 2071 | 2072 | * New upstream release. 2073 | - Update debian/redis.conf 2074 | 2075 | -- Chris Lamb Thu, 28 May 2009 00:31:37 +0100 2076 | 2077 | redis (1:0.096-1) unstable; urgency=low 2078 | 2079 | * New upstream version. 2080 | 2081 | -- Chris Lamb Sat, 09 May 2009 22:16:13 +0100 2082 | 2083 | redis (1:0.095-1) unstable; urgency=low 2084 | 2085 | * New upstream version. 2086 | 2087 | -- Chris Lamb Sat, 09 May 2009 12:50:26 +0100 2088 | 2089 | redis (1:0.094-3) unstable; urgency=low 2090 | 2091 | * Really upload to unstable - I give "debchange -r" less credit than it 2092 | deserves. 2093 | 2094 | -- Chris Lamb Thu, 07 May 2009 22:02:24 +0100 2095 | 2096 | redis (1:0.094-2) experimental; urgency=low 2097 | 2098 | * Upload to unstable. 2099 | * Add libredis-perl package. 2100 | 2101 | -- Chris Lamb Wed, 06 May 2009 00:19:35 +0100 2102 | 2103 | redis (1:0.094-1) experimental; urgency=low 2104 | 2105 | * New upstream release. 2106 | * Place libphp-redis package into 'php' section. 2107 | * Update debian/copyright with new libraries. 2108 | * Correct Vcs-Browser location. 2109 | 2110 | -- Chris Lamb Wed, 06 May 2009 00:08:26 +0100 2111 | 2112 | redis (1.0~beta8-1) experimental; urgency=low 2113 | 2114 | * New upstream release. 2115 | 2116 | -- Chris Lamb Tue, 24 Mar 2009 22:30:02 +0000 2117 | 2118 | redis (1.0~beta7-1) experimental; urgency=low 2119 | 2120 | * Initial release. (Closes: #518700) 2121 | 2122 | -- Chris Lamb Fri, 20 Mar 2009 00:37:15 +0000 2123 | -------------------------------------------------------------------------------- /debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- 1 | Source: redis 2 | Section: database 3 | Priority: optional 4 | Maintainer: Redis Core Team 5 | Build-Depends: 6 | debhelper (>= 9~), 7 | dpkg-dev (>= 1.17.5), 8 | libssl-dev, 9 | libsystemd-dev, 10 | pkg-config, 11 | procps , 12 | tcl , 13 | tcl-tls 14 | Standards-Version: 4.2.1 15 | Homepage: https://redis.io/ 16 | 17 | Package: redis 18 | Architecture: all 19 | Depends: 20 | redis-server (<< ${binary:Version}.1~), 21 | redis-server (>= ${binary:Version}), 22 | ${misc:Depends}, 23 | Description: Persistent key-value database with network interface (metapackage) 24 | Redis is a key-value database in a similar vein to memcache but the dataset 25 | is non-volatile. Redis additionally provides native support for atomically 26 | manipulating and querying data structures such as lists and sets. 27 | . 28 | The dataset is stored entirely in memory and periodically flushed to disk. 29 | . 30 | This package depends on the redis-server package. 31 | 32 | Package: redis-sentinel 33 | Architecture: any 34 | Depends: 35 | lsb-base (>= 3.2-14), 36 | redis-tools (= ${binary:Version}), 37 | ${misc:Depends}, 38 | Description: Persistent key-value database with network interface (monitoring) 39 | Redis is a key-value database in a similar vein to memcache but the dataset 40 | is non-volatile. Redis additionally provides native support for atomically 41 | manipulating and querying data structures such as lists and sets. 42 | . 43 | This package contains the Redis Sentinel monitoring software. 44 | 45 | Package: redis-server 46 | Architecture: any 47 | Depends: 48 | lsb-base (>= 3.2-14), 49 | redis-tools (= ${binary:Version}), 50 | ${misc:Depends}, 51 | Description: Persistent key-value database with network interface 52 | Redis is a key-value database in a similar vein to memcache but the dataset 53 | is non-volatile. Redis additionally provides native support for atomically 54 | manipulating and querying data structures such as lists and sets. 55 | . 56 | The dataset is stored entirely in memory and periodically flushed to disk. 57 | 58 | Package: redis-tools 59 | Architecture: any 60 | Depends: 61 | adduser, 62 | ${misc:Depends}, 63 | ${shlibs:Depends}, 64 | Suggests: 65 | ruby-redis, 66 | Replaces: 67 | redis-server (<< 2:2.6.16-1), 68 | Breaks: 69 | redis-server (<< 2:2.6.16-1), 70 | Description: Persistent key-value database with network interface (client) 71 | Redis is a key-value database in a similar vein to memcache but the dataset 72 | is non-volatile. Redis additionally provides native support for atomically 73 | manipulating and querying data structures such as lists and sets. 74 | . 75 | This package contains the command line client and other tools. 76 | -------------------------------------------------------------------------------- /debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Contact: Redis Core Team 3 | Upstream-Name: redis 4 | Source: https://github.com/redis/redis 5 | 6 | Files: * 7 | Copyright: © 2006-2014 Salvatore Sanfilippo 8 | License: BSD-3-clause 9 | 10 | Files: 11 | src/rio.* 12 | src/t_zset.c 13 | src/ziplist.h 14 | src/intset.* 15 | src/redis-check-aof.c 16 | deps/hiredis/* 17 | deps/linenoise/* 18 | Copyright: 19 | © 2009-2012 Pieter Noordhuis 20 | © 2009-2012 Salvatore Sanfilippo 21 | License: BSD-3-clause 22 | 23 | Files: 24 | src/lzf.h 25 | src/lzfP.h 26 | src/lzf_d.c 27 | src/lzf_c.c 28 | Copyright: 29 | © 2000-2007 Marc Alexander Lehmann 30 | © 2009-2012 Salvatore Sanfilippo 31 | License: BSD-2-clause 32 | 33 | Files: src/setproctitle.c 34 | Copyright: 35 | © 2010 William Ahern 36 | © 2013 Salvatore Sanfilippo 37 | © 2013 Stam He 38 | License: BSD-3-clause 39 | 40 | Files: src/ae_evport.c 41 | Copyright: © 2012 Joyent, Inc. 42 | License: BSD-3-clause 43 | 44 | Files: src/ae_kqueue.c 45 | Copyright: © 2009 Harish Mallipeddi 46 | License: BSD-3-clause 47 | 48 | Files: utils/install_server.sh 49 | Copyright: © 2011 Dvir Volk 50 | License: BSD-3-clause 51 | 52 | Files: deps/jemalloc/* 53 | Copyright: 54 | © 2002-2012 Jason Evans 55 | © 2007-2012 Mozilla Foundation 56 | © 2009-2012 Facebook, Inc. 57 | License: BSD-3-clause 58 | 59 | Files: src/pqsort.* 60 | Copyright: © 1992-1993 The Regents of the University of California 61 | License: BSD-3-clause 62 | 63 | Files: deps/lua/* 64 | Copyright: © 1994-2012 Lua.org, PUC-Ri 65 | License: MIT 66 | Permission is hereby granted, free of charge, to any person obtaining a copy 67 | of this software and associated documentation files (the "Software"), to deal 68 | in the Software without restriction, including without limitation the rights 69 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 70 | copies of the Software, and to permit persons to whom the Software is 71 | furnished to do so, subject to the following conditions: 72 | . 73 | The above copyright notice and this permission notice shall be included in 74 | all copies or substantial portions of the Software. 75 | . 76 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 77 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 78 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 79 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 80 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 81 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 82 | THE SOFTWARE. 83 | 84 | Files: debian/* 85 | Copyright: © 2009 Chris Lamb 86 | License: BSD-3-clause 87 | 88 | License: BSD-2-clause 89 | Redistribution and use in source and binary forms, with or without 90 | modification, are permitted provided that the following conditions are met: 91 | . 92 | 1. Redistributions of source code must retain the above copyright notice, this 93 | list of conditions and the following disclaimer. 94 | . 95 | 2. Redistributions in binary form must reproduce the above copyright notice, 96 | this list of conditions and the following disclaimer in the documentation 97 | and/or other materials provided with the distribution. 98 | . 99 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 100 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 101 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 102 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 103 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 104 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 105 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 106 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 107 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 108 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 109 | 110 | License: BSD-3-clause 111 | Redistribution and use in source and binary forms, with or without 112 | modification, are permitted provided that the following conditions 113 | are met: 114 | . 115 | * Redistributions of source code must retain the above copyright 116 | notice, this list of conditions and the following disclaimer. 117 | * Redistributions in binary form must reproduce the above copyright 118 | notice, this list of conditions and the following disclaimer in the 119 | documentation and/or other materials provided with the distribution. 120 | * Neither the name of Redis nor the names of its contributors may be 121 | used to endorse or promote products derived from this software 122 | without specific prior written permission. 123 | . 124 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 125 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 126 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 127 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 128 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 129 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 130 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 131 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 132 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 133 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 134 | -------------------------------------------------------------------------------- /debian/gbp.conf: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | debian-branch=master 3 | upstream-branch=upstream 4 | -------------------------------------------------------------------------------- /debian/patches/0001-fix-ftbfs-on-kfreebsd.patch: -------------------------------------------------------------------------------- 1 | From: Chris Lamb 2 | Date: Fri, 30 Oct 2015 10:53:42 +0000 3 | Subject: fix-ftbfs-on-kfreebsd 4 | 5 | --- 6 | src/fmacros.h | 2 +- 7 | 1 file changed, 1 insertion(+), 1 deletion(-) 8 | 9 | diff --git a/src/fmacros.h b/src/fmacros.h 10 | index 6e56c75..d490aec 100644 11 | --- a/src/fmacros.h 12 | +++ b/src/fmacros.h 13 | @@ -41,7 +41,7 @@ 14 | #define _ALL_SOURCE 15 | #endif 16 | 17 | -#if defined(__linux__) || defined(__OpenBSD__) 18 | +#if defined(__linux__) || defined(__OpenBSD__) || defined(__GLIBC__) 19 | #define _XOPEN_SOURCE 700 20 | /* 21 | * On NetBSD, _XOPEN_SOURCE undefines _NETBSD_SOURCE and 22 | -------------------------------------------------------------------------------- /debian/patches/debian-packaging/0003-dpkg-buildflags.patch: -------------------------------------------------------------------------------- 1 | --- a/deps/linenoise/Makefile 2 | +++ b/deps/linenoise/Makefile 3 | @@ -6,7 +6,7 @@ R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) 4 | R_LDFLAGS= $(LDFLAGS) 5 | DEBUG= -g 6 | 7 | -R_CC=$(CC) $(R_CFLAGS) 8 | +R_CC=$(CC) $(R_CFLAGS) $(CPPFLAGS) 9 | R_LD=$(CC) $(R_LDFLAGS) 10 | 11 | linenoise.o: linenoise.h linenoise.c 12 | --- a/src/Makefile 13 | +++ b/src/Makefile 14 | @@ -263,7 +263,7 @@ else 15 | endef 16 | endif 17 | 18 | -REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS) 19 | +REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS) $(CPPFLAGS) 20 | REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS) 21 | REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL) 22 | 23 | -------------------------------------------------------------------------------- /debian/patches/debian-packaging/0007-Set-Debian-configuration-defaults.patch: -------------------------------------------------------------------------------- 1 | From: Chris Lamb 2 | Date: Tue, 10 Oct 2017 09:56:42 +0100 3 | Subject: Set Debian configuration defaults. 4 | 5 | --- 6 | redis.conf | 12 ++++++------ 7 | sentinel.conf | 9 +++++---- 8 | 2 files changed, 11 insertions(+), 10 deletions(-) 9 | 10 | --- a/redis.conf 11 | +++ b/redis.conf 12 | @@ -254,7 +254,7 @@ tcp-keepalive 300 13 | # By default Redis does not run as a daemon. Use 'yes' if you need it. 14 | # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. 15 | # When Redis is supervised by upstart or systemd, this parameter has no impact. 16 | -daemonize no 17 | +daemonize yes 18 | 19 | # If you run Redis from upstart or systemd, Redis can interact with your 20 | # supervision tree. Options: 21 | @@ -272,7 +272,7 @@ daemonize no 22 | # The default is "no". To run under upstart/systemd, you can simply uncomment 23 | # the line below: 24 | # 25 | -# supervised auto 26 | +supervised auto 27 | 28 | # If a pid file is specified, Redis writes it where specified at startup 29 | # and removes it at exit. 30 | @@ -286,7 +286,7 @@ daemonize no 31 | # 32 | # Note that on modern Linux systems "/run/redis.pid" is more conforming 33 | # and should be used instead. 34 | -pidfile /var/run/redis_6379.pid 35 | +pidfile /run/redis/redis-server.pid 36 | 37 | # Specify the server verbosity level. 38 | # This can be one of: 39 | @@ -299,7 +299,7 @@ loglevel notice 40 | # Specify the log file name. Also the empty string can be used to force 41 | # Redis to log on the standard output. Note that if you use standard 42 | # output for logging but daemonize, logs will be sent to /dev/null 43 | -logfile "" 44 | +logfile /var/log/redis/redis-server.log 45 | 46 | # To enable logging to the system logger, just set 'syslog-enabled' to yes, 47 | # and optionally update the other syslog parameters to suit your needs. 48 | @@ -451,7 +451,7 @@ rdb-del-sync-files no 49 | # The Append Only File will also be created inside this directory. 50 | # 51 | # Note that you must specify a directory here, not a file name. 52 | -dir ./ 53 | +dir /var/lib/redis 54 | 55 | ################################# REPLICATION ################################# 56 | 57 | --- a/sentinel.conf 58 | +++ b/sentinel.conf 59 | @@ -13,6 +13,7 @@ 60 | # For example you may use one of the following: 61 | # 62 | # bind 127.0.0.1 192.168.1.1 63 | +bind 127.0.0.1 ::1 64 | # 65 | # protected-mode no 66 | 67 | @@ -23,17 +24,29 @@ port 26379 68 | # By default Redis Sentinel does not run as a daemon. Use 'yes' if you need it. 69 | # Note that Redis will write a pid file in /var/run/redis-sentinel.pid when 70 | # daemonized. 71 | -daemonize no 72 | +daemonize yes 73 | + 74 | +# If you run Redis Sentinel from upstart or systemd, Redis can interact with your 75 | +# supervision tree. Options: 76 | +# supervised no - no supervision interaction 77 | +# supervised upstart - signal upstart by putting Redis into SIGSTOP mode 78 | +# requires "expect stop" in your upstart job config 79 | +# supervised systemd - signal systemd by writing READY=1 to $NOTIFY_SOCKET 80 | +# supervised auto - detect upstart or systemd method based on 81 | +# UPSTART_JOB or NOTIFY_SOCKET environment variables 82 | +# Note: these supervision methods only signal "process is ready." 83 | +# They do not enable continuous pings back to your supervisor. 84 | +supervised auto 85 | 86 | # When running daemonized, Redis Sentinel writes a pid file in 87 | # /var/run/redis-sentinel.pid by default. You can specify a custom pid file 88 | # location here. 89 | -pidfile /var/run/redis-sentinel.pid 90 | +pidfile /run/sentinel/redis-sentinel.pid 91 | 92 | # Specify the log file name. Also the empty string can be used to force 93 | # Sentinel to log on the standard output. Note that if you use standard 94 | # output for logging but daemonize, logs will be sent to /dev/null 95 | -logfile "" 96 | +logfile /var/log/redis/redis-sentinel.log 97 | 98 | # sentinel announce-ip 99 | # sentinel announce-port 100 | @@ -62,7 +75,7 @@ logfile "" 101 | # For Redis Sentinel to chdir to /tmp at startup is the simplest thing 102 | # for the process to don't interfere with administrative tasks such as 103 | # unmounting filesystems. 104 | -dir /tmp 105 | +dir /var/lib/redis 106 | 107 | # sentinel monitor 108 | # 109 | -------------------------------------------------------------------------------- /debian/patches/series: -------------------------------------------------------------------------------- 1 | 0001-fix-ftbfs-on-kfreebsd.patch 2 | debian-packaging/0003-dpkg-buildflags.patch 3 | debian-packaging/0007-Set-Debian-configuration-defaults.patch 4 | -------------------------------------------------------------------------------- /debian/redis-benchmark.1: -------------------------------------------------------------------------------- 1 | .TH REDIS-BENCHMARK 1 "June 28, 2010" 2 | .SH NAME 3 | redis-benchmark \- Benechmark a Redis instance 4 | .SH SYNOPSIS 5 | .B redis-benchmark 6 | [\-h ] [\-p ] [\-c ] [\-n [\-k ] 7 | .SH DESCRIPTION 8 | Redis is a key-value database. It is similar to memcached but the dataset is 9 | not volatile and other datatypes (such as lists and sets) are natively 10 | supported. 11 | .SH OPTIONS 12 | .TP 13 | \-h hostname 14 | Server hostname (default 127.0.0.1) 15 | .TP 16 | \-p port 17 | Server port (default 6379) 18 | .TP 19 | \-s socket 20 | Server socket (overrides host and port) 21 | .TP 22 | \-a password 23 | Password for Redis Auth 24 | .TP 25 | \-c clients 26 | Number of parallel connections (default 50) 27 | .TP 28 | \-n requests 29 | Total number of requests (default 100000) 30 | .TP 31 | \-d size 32 | Data size of SET/GET value in bytes (default 2) 33 | .TP 34 | \-dbnum db 35 | SELECT the specified db number (default 0) 36 | .TP 37 | \-k boolean 38 | 1=keep alive 0=reconnect (default 1) 39 | .TP 40 | \-r keyspacelen 41 | Use random keys for SET/GET/INCR, random values for SADD Using this option the 42 | benchmark will get/set keys in the form mykey_rand000000012456 instead of 43 | constant keys, the argument determines the max number of values 44 | for the random number. For instance if set to 10 only rand000000000000 - 45 | rand000000000009 range will be allowed. 46 | .TP 47 | \-P numreq 48 | Pipeline requests. Default 1 (no pipeline). 49 | .TP 50 | \-q 51 | Quiet. Just show query/sec values 52 | .TP 53 | \-\-csv 54 | Ourput in CSV format 55 | .TP 56 | \-l 57 | Loop. Run the tests forever 58 | .TP 59 | \-I 60 | Idle mode. Just open N idle connections and wait. 61 | .TP 62 | \-D 63 | Debug mode. more verbose. 64 | .SH AUTHOR 65 | \fBredis-benchmark\fP was written by Salvatore Sanfilippo. 66 | .PP 67 | This manual page was written by Chris Lamb for the Debian 68 | project (but may be used by others). 69 | -------------------------------------------------------------------------------- /debian/redis-check-aof.1: -------------------------------------------------------------------------------- 1 | .TH REDIS-CHECK-AOF 1 "December 13, 2018" 2 | .SH NAME 3 | redis-check-aof \- Check integrity of a Redis .AOF file 4 | .SH SYNOPSIS 5 | .B redis-check-aof 6 | filename 7 | .SH DESCRIPTION 8 | Redis is a key-value database. It is similar to memcached but the dataset is 9 | not volatile and other datatypes (such as lists and sets) are natively 10 | supported. 11 | .PP 12 | This utility checks the integrity of a dumped .AOF file. 13 | .SH AUTHOR 14 | \fBredis-check-aof\fP was written by Salvatore Sanfilippo. 15 | .PP 16 | This manual page was written by Chris Lamb for the Debian 17 | project (but may be used by others). 18 | -------------------------------------------------------------------------------- /debian/redis-check-rdb.1: -------------------------------------------------------------------------------- 1 | .TH REDIS-CHECK-RDB 1 "December 13, 2018" 2 | .SH NAME 3 | redis-check-rdb \- Check integrity of Redis dumped database file 4 | .SH SYNOPSIS 5 | .B redis-check-rdb 6 | filename 7 | .SH DESCRIPTION 8 | Redis is a key-value database. It is similar to memcached but the dataset is 9 | not volatile and other datatypes (such as lists and sets) are natively 10 | supported. 11 | .PP 12 | This utility checks the integrity of a dumped database file. 13 | .SH AUTHOR 14 | \fBredis-check-rdb\fP was written by Salvatore Sanfilippo. 15 | .PP 16 | This manual page was written by Chris Lamb for the Debian 17 | project (but may be used by others). 18 | -------------------------------------------------------------------------------- /debian/redis-cli.1: -------------------------------------------------------------------------------- 1 | .TH REDIS-CLI 1 "January 13, 2010" 2 | .SH NAME 3 | redis-cli \- Command-line client to redis-server 4 | .SH SYNOPSIS 5 | .B redis-cli 6 | .RI [options] 7 | .SH DESCRIPTION 8 | Redis is a key-value database. It is similar to memcached but the dataset is 9 | not volatile and other datatypes (such as lists and sets) are natively 10 | supported. 11 | .PP 12 | \fBredis-cli\fP provides a simple command-line interface to a Redis server. 13 | .SH OPTIONS 14 | See \fBredis-doc\fP for more information on the commands Redis accepts. 15 | .SH AUTHOR 16 | \fBredis-cli\fP was written by Salvatore Sanfilippo. 17 | .PP 18 | This manual page was written by Chris Lamb for the Debian 19 | project (but may be used by others). 20 | -------------------------------------------------------------------------------- /debian/redis-sentinel.1: -------------------------------------------------------------------------------- 1 | .TH REDIS-SENTINEL 1 "March 20, 2009" 2 | .SH NAME 3 | redis-sentinel \- Persistent key-value database (cluster mode) 4 | .SH SYNOPSIS 5 | .B redis-sentinel 6 | .RI configfile 7 | .SH DESCRIPTION 8 | Redis is a key-value database. It is similar to memcached but the dataset is 9 | not volatile and other datatypes (such as lists and sets) are natively 10 | supported. 11 | .PP 12 | .SH OPTIONS 13 | .IP "configfile" 14 | Read options from specified configuration file. 15 | .SH NOTES 16 | On Debian GNU/Linux systems, \fBredis-sentinel\fP is typically started via the 17 | \fB/etc/init.d/redis-sentinel\fP initscript, not manually. This defaults to using 18 | \fB/etc/redis/sentinel.conf\fP as a configuration file. 19 | .SH AUTHOR 20 | \fBredis-sentinel\fP was written by Salvatore Sanfilippo. 21 | .PP 22 | This manual page was written by Chris Lamb for the Debian 23 | project (but may be used by others). 24 | -------------------------------------------------------------------------------- /debian/redis-sentinel.default: -------------------------------------------------------------------------------- 1 | # redis-sentinel configure options 2 | 3 | # ULIMIT: Call ulimit -n with this argument prior to invoking Redis Sentinel 4 | # itself. This may be required for high-concurrency environments. Redis 5 | # Sentinel itself cannot alter its limits as it is not being run as root. 6 | # (default: 65536) 7 | # 8 | ULIMIT=65536 9 | -------------------------------------------------------------------------------- /debian/redis-sentinel.init: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | ### BEGIN INIT INFO 3 | # Provides: redis-sentinel 4 | # Required-Start: $syslog $remote_fs 5 | # Required-Stop: $syslog $remote_fs 6 | # Should-Start: $local_fs 7 | # Should-Stop: $local_fs 8 | # Default-Start: 2 3 4 5 9 | # Default-Stop: 0 1 6 10 | # Short-Description: redis-sentinel - Persistent key-value db monitor 11 | # Description: redis-sentinel - Persistent key-value db monitor 12 | ### END INIT INFO 13 | 14 | 15 | PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 16 | DAEMON=/usr/bin/redis-sentinel 17 | DAEMON_ARGS=/etc/redis/sentinel.conf 18 | NAME=redis-sentinel 19 | DESC=redis-sentinel 20 | 21 | RUNDIR=/var/run/sentinel 22 | PIDFILE=$RUNDIR/redis-sentinel.pid 23 | 24 | test -x $DAEMON || exit 0 25 | 26 | if [ -r /etc/default/$NAME ] 27 | then 28 | . /etc/default/$NAME 29 | fi 30 | 31 | . /lib/lsb/init-functions 32 | 33 | set -e 34 | 35 | if [ "$(id -u)" != "0" ] 36 | then 37 | log_failure_msg "Must be run as root." 38 | exit 1 39 | fi 40 | 41 | case "$1" in 42 | start) 43 | echo -n "Starting $DESC: " 44 | mkdir -p $RUNDIR 45 | touch $PIDFILE 46 | chown redis:redis $RUNDIR $PIDFILE 47 | chmod 755 $RUNDIR 48 | 49 | if [ -n "$ULIMIT" ] 50 | then 51 | ulimit -n $ULIMIT || true 52 | fi 53 | 54 | if start-stop-daemon --start --quiet --oknodo --umask 007 --pidfile $PIDFILE --chuid redis:redis --exec $DAEMON -- $DAEMON_ARGS 55 | then 56 | echo "$NAME." 57 | else 58 | echo "failed" 59 | fi 60 | ;; 61 | stop) 62 | echo -n "Stopping $DESC: " 63 | 64 | if start-stop-daemon --stop --retry forever/TERM/1 --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON 65 | then 66 | echo "$NAME." 67 | else 68 | echo "failed" 69 | fi 70 | rm -f $PIDFILE 71 | sleep 1 72 | ;; 73 | 74 | restart|force-reload) 75 | ${0} stop 76 | ${0} start 77 | ;; 78 | 79 | status) 80 | status_of_proc -p ${PIDFILE} ${DAEMON} ${NAME} 81 | ;; 82 | 83 | *) 84 | echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2 85 | exit 1 86 | ;; 87 | esac 88 | 89 | exit 0 90 | -------------------------------------------------------------------------------- /debian/redis-sentinel.install: -------------------------------------------------------------------------------- 1 | sentinel.conf /etc/redis 2 | -------------------------------------------------------------------------------- /debian/redis-sentinel.links: -------------------------------------------------------------------------------- 1 | usr/bin/redis-check-rdb usr/bin/redis-sentinel 2 | -------------------------------------------------------------------------------- /debian/redis-sentinel.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/redis/redis-sentinel*.log { 2 | weekly 3 | missingok 4 | rotate 12 5 | compress 6 | notifempty 7 | } 8 | -------------------------------------------------------------------------------- /debian/redis-sentinel.maintscript: -------------------------------------------------------------------------------- 1 | rm_conffile /etc/redis/redis-sentinel.post-down.d/00_example 4:4.0.2-3~ 2 | rm_conffile /etc/redis/redis-sentinel.post-up.d/00_example 4:4.0.2-3~ 3 | rm_conffile /etc/redis/redis-sentinel.pre-down.d/00_example 4:4.0.2-3~ 4 | rm_conffile /etc/redis/redis-sentinel.pre-up.d/00_example 4:4.0.2-3~ 5 | -------------------------------------------------------------------------------- /debian/redis-sentinel.manpages: -------------------------------------------------------------------------------- 1 | debian/redis-sentinel.1 2 | -------------------------------------------------------------------------------- /debian/redis-sentinel.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -eu 4 | 5 | USER="redis" 6 | GROUP="$USER" 7 | CONFFILE="/etc/redis/sentinel.conf" 8 | 9 | if [ "$1" = "configure" ] 10 | then 11 | if ! dpkg-statoverride --list ${CONFFILE} >/dev/null 2>&1 12 | then 13 | dpkg-statoverride --update --add ${USER} ${GROUP} 640 ${CONFFILE} 14 | fi 15 | fi 16 | 17 | #DEBHELPER# 18 | 19 | if [ "$1" = "configure" ] 20 | then 21 | find /etc/redis -maxdepth 1 -type d -name 'redis-sentinel.*.d' -empty -delete 22 | fi 23 | 24 | exit 0 25 | -------------------------------------------------------------------------------- /debian/redis-sentinel.postrm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -eu 4 | 5 | CONFFILE="/etc/redis/sentinel.conf" 6 | 7 | if [ "$1" = "purge" ] 8 | then 9 | dpkg-statoverride --remove ${CONFFILE} || test $? -eq 2 10 | fi 11 | 12 | #DEBHELPER# 13 | 14 | exit 0 15 | -------------------------------------------------------------------------------- /debian/redis-server.1: -------------------------------------------------------------------------------- 1 | .TH REDIS-SERVER 1 "March 20, 2009" 2 | .SH NAME 3 | redis-server \- Persistent key-value database 4 | .SH SYNOPSIS 5 | .B redis-server 6 | .RI configfile 7 | .SH DESCRIPTION 8 | Redis is a key-value database. It is similar to memcached but the dataset is 9 | not volatile and other datatypes (such as lists and sets) are natively 10 | supported. 11 | .PP 12 | .SH OPTIONS 13 | .IP "configfile" 14 | Read options from specified configuration file. 15 | .SH NOTES 16 | On Debian GNU/Linux systems, \fBredis-server\fP is typically started via the 17 | \fB/etc/init.d/redis-server\fP initscript, not manually. This defaults to using 18 | \fB/etc/redis/redis.conf\fP as a configuration file. 19 | .SH AUTHOR 20 | \fBredis-server\fP was written by Salvatore Sanfilippo. 21 | .PP 22 | This manual page was written by Chris Lamb for the Debian 23 | project (but may be used by others). 24 | -------------------------------------------------------------------------------- /debian/redis-server.default: -------------------------------------------------------------------------------- 1 | # redis-server configure options 2 | 3 | # ULIMIT: Call ulimit -n with this argument prior to invoking Redis itself. 4 | # This may be required for high-concurrency environments. Redis itself cannot 5 | # alter its limits as it is not being run as root. (default: 65536) 6 | # 7 | ULIMIT=65536 8 | -------------------------------------------------------------------------------- /debian/redis-server.docs: -------------------------------------------------------------------------------- 1 | MANIFESTO 2 | README.md 3 | -------------------------------------------------------------------------------- /debian/redis-server.init: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | ### BEGIN INIT INFO 3 | # Provides: redis-server 4 | # Required-Start: $syslog $remote_fs 5 | # Required-Stop: $syslog $remote_fs 6 | # Should-Start: $local_fs 7 | # Should-Stop: $local_fs 8 | # Default-Start: 2 3 4 5 9 | # Default-Stop: 0 1 6 10 | # Short-Description: redis-server - Persistent key-value db 11 | # Description: redis-server - Persistent key-value db 12 | ### END INIT INFO 13 | 14 | 15 | PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 16 | DAEMON=/usr/bin/redis-server 17 | DAEMON_ARGS=/etc/redis/redis.conf 18 | NAME=redis-server 19 | DESC=redis-server 20 | 21 | RUNDIR=/var/run/redis 22 | PIDFILE=$RUNDIR/redis-server.pid 23 | 24 | test -x $DAEMON || exit 0 25 | 26 | if [ -r /etc/default/$NAME ] 27 | then 28 | . /etc/default/$NAME 29 | fi 30 | 31 | . /lib/lsb/init-functions 32 | 33 | set -e 34 | 35 | if [ "$(id -u)" != "0" ] 36 | then 37 | log_failure_msg "Must be run as root." 38 | exit 1 39 | fi 40 | 41 | case "$1" in 42 | start) 43 | echo -n "Starting $DESC: " 44 | mkdir -p $RUNDIR 45 | touch $PIDFILE 46 | chown redis:redis $RUNDIR $PIDFILE 47 | chmod 755 $RUNDIR 48 | 49 | if [ -n "$ULIMIT" ] 50 | then 51 | ulimit -n $ULIMIT || true 52 | fi 53 | 54 | if start-stop-daemon --start --quiet --oknodo --umask 007 --pidfile $PIDFILE --chuid redis:redis --exec $DAEMON -- $DAEMON_ARGS 55 | then 56 | echo "$NAME." 57 | else 58 | echo "failed" 59 | fi 60 | ;; 61 | stop) 62 | echo -n "Stopping $DESC: " 63 | 64 | if start-stop-daemon --stop --retry forever/TERM/1 --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON 65 | then 66 | echo "$NAME." 67 | else 68 | echo "failed" 69 | fi 70 | rm -f $PIDFILE 71 | sleep 1 72 | ;; 73 | 74 | restart|force-reload) 75 | ${0} stop 76 | ${0} start 77 | ;; 78 | 79 | status) 80 | status_of_proc -p ${PIDFILE} ${DAEMON} ${NAME} 81 | ;; 82 | 83 | *) 84 | echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2 85 | exit 1 86 | ;; 87 | esac 88 | 89 | exit 0 90 | -------------------------------------------------------------------------------- /debian/redis-server.install: -------------------------------------------------------------------------------- 1 | redis.conf /etc/redis 2 | -------------------------------------------------------------------------------- /debian/redis-server.links: -------------------------------------------------------------------------------- 1 | usr/bin/redis-check-rdb usr/bin/redis-server 2 | -------------------------------------------------------------------------------- /debian/redis-server.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/redis/redis-server*.log { 2 | weekly 3 | missingok 4 | rotate 12 5 | compress 6 | notifempty 7 | } 8 | -------------------------------------------------------------------------------- /debian/redis-server.maintscript: -------------------------------------------------------------------------------- 1 | rm_conffile /etc/redis/redis-server.post-down.d/00_example 4:4.0.2-3~ 2 | rm_conffile /etc/redis/redis-server.post-up.d/00_example 4:4.0.2-3~ 3 | rm_conffile /etc/redis/redis-server.pre-down.d/00_example 4:4.0.2-3~ 4 | rm_conffile /etc/redis/redis-server.pre-up.d/00_example 4:4.0.2-3~ 5 | -------------------------------------------------------------------------------- /debian/redis-server.manpages: -------------------------------------------------------------------------------- 1 | debian/redis-server.1 2 | -------------------------------------------------------------------------------- /debian/redis-server.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -eu 4 | 5 | USER="redis" 6 | GROUP="$USER" 7 | CONFFILE="/etc/redis/redis.conf" 8 | 9 | if [ "$1" = "configure" ] 10 | then 11 | if ! dpkg-statoverride --list ${CONFFILE} >/dev/null 2>&1 12 | then 13 | dpkg-statoverride --update --add ${USER} ${GROUP} 640 ${CONFFILE} 14 | fi 15 | fi 16 | 17 | #DEBHELPER# 18 | 19 | if [ "$1" = "configure" ] 20 | then 21 | find /etc/redis -maxdepth 1 -type d -name 'redis-server.*.d' -empty -delete 22 | fi 23 | 24 | exit 0 25 | -------------------------------------------------------------------------------- /debian/redis-server.postrm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -eu 4 | 5 | CONFFILE="/etc/redis/redis.conf" 6 | 7 | if [ "${1}" = "purge" ] 8 | then 9 | dpkg-statoverride --remove ${CONFFILE} || test $? -eq 2 10 | fi 11 | 12 | #DEBHELPER# 13 | 14 | exit 0 15 | -------------------------------------------------------------------------------- /debian/redis-tools.examples: -------------------------------------------------------------------------------- 1 | src/redis-trib.rb 2 | utils/lru 3 | -------------------------------------------------------------------------------- /debian/redis-tools.install: -------------------------------------------------------------------------------- 1 | debian/bash_completion.d/* /usr/share/bash-completion/completions 2 | src/redis-benchmark /usr/bin 3 | src/redis-check-aof /usr/bin 4 | src/redis-check-rdb /usr/bin 5 | src/redis-cli /usr/bin 6 | -------------------------------------------------------------------------------- /debian/redis-tools.manpages: -------------------------------------------------------------------------------- 1 | debian/redis-benchmark.1 2 | debian/redis-check-aof.1 3 | debian/redis-check-rdb.1 4 | debian/redis-cli.1 5 | -------------------------------------------------------------------------------- /debian/redis-tools.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -eu 4 | 5 | USER="redis" 6 | 7 | Setup_dir () { 8 | DIR="${1}" 9 | MODE="${2}" 10 | GROUP="${3}" 11 | 12 | mkdir -p ${DIR} 13 | 14 | if ! dpkg-statoverride --list ${DIR} >/dev/null 2>&1 15 | then 16 | chown ${USER}:${GROUP} ${DIR} 17 | chmod ${MODE} ${DIR} 18 | fi 19 | } 20 | 21 | if [ "$1" = "configure" ] 22 | then 23 | adduser \ 24 | --system \ 25 | --home /var/lib/redis \ 26 | --quiet \ 27 | --group \ 28 | ${USER} || true 29 | 30 | Setup_dir /var/log/redis 2750 adm 31 | Setup_dir /var/lib/redis 750 ${USER} 32 | Setup_dir /etc/redis 2770 ${USER} 33 | fi 34 | 35 | #DEBHELPER# 36 | 37 | exit 0 38 | -------------------------------------------------------------------------------- /debian/redis-tools.postrm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -eu 4 | 5 | if [ "${1}" = "purge" ] 6 | then 7 | userdel redis || true 8 | rm -rf /var/lib/redis /var/log/redis /etc/redis 9 | fi 10 | 11 | #DEBHELPER# 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | include /usr/share/dpkg/architecture.mk 4 | include /usr/share/dpkg/buildflags.mk 5 | 6 | ifneq ($(DEB_HOST_GNU_TYPE),) 7 | CC = $(DEB_HOST_GNU_TYPE)-gcc 8 | endif 9 | 10 | export CC CFLAGS CPPFLAGS LDFLAGS 11 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all 12 | export DEB_LDFLAGS_MAINT_APPEND = -ldl -latomic 13 | DEB_BUILD_OPTIONS = nocheck 14 | 15 | ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) 16 | NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) 17 | MAKEFLAGS += -j$(NUMJOBS) 18 | export MAKEFLAGS 19 | endif 20 | 21 | %: 22 | dh $@ 23 | 24 | override_dh_auto_install: 25 | debian/bin/generate-systemd-service-files 26 | 27 | override_dh_auto_build: 28 | dh_auto_build --parallel -- V=1 BUILD_TLS=yes 29 | 30 | override_dh_auto_test: 31 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) 32 | # Avoid race conditions in upstream testsuite. 33 | ./utils/gen-test-certs.sh 34 | ./runtest --clients 1 --verbose --no-latency \ 35 | --skiptest "diskless no replicas drop during rdb pipe" \ 36 | --skiptest "diskless slow replicas drop during rdb pipe" \ 37 | --skiptest "diskless fast replicas drop during rdb pipe" \ 38 | --skiptest "diskless all replicas drop during rdb pipe" 39 | ./runtest --clients 1 --tls --verbose --no-latency \ 40 | --skiptest "diskless no replicas drop during rdb pipe" \ 41 | --skiptest "diskless slow replicas drop during rdb pipe" \ 42 | --skiptest "diskless fast replicas drop during rdb pipe" \ 43 | --skiptest "diskless all replicas drop during rdb pipe" 44 | #./runtest-cluster --tls 45 | #./runtest-sentinel --tls 46 | endif 47 | 48 | override_dh_auto_clean: 49 | dh_auto_clean 50 | rm -f src/release.h debian/*.service 51 | rm -rf utils/tests 52 | rm -rf tests/tls 53 | rm -f tests/tmp/* 54 | 55 | override_dh_compress: 56 | dh_compress -Xredis-trib.rb 57 | 58 | override_dh_installchangelogs: 59 | dh_installchangelogs --keep 00-RELEASENOTES 60 | -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /debian/source/lintian-overrides: -------------------------------------------------------------------------------- 1 | # Upstream do not provide signed tarballs. 2 | redis source: debian-watch-does-not-check-gpg-signature 3 | -------------------------------------------------------------------------------- /debian/source/options: -------------------------------------------------------------------------------- 1 | extend-diff-ignore = "^\.github/.*" 2 | -------------------------------------------------------------------------------- /debian/tests/0001-redis-cli: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Show the INFO from "redis-cli" 4 | 5 | set -eu 6 | 7 | redis-cli INFO 8 | redis-cli LOLWUT 9 | -------------------------------------------------------------------------------- /debian/tests/0002-benchmark: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Run the benchmarking 4 | 5 | set -eu 6 | 7 | redis-benchmark -P 10 8 | -------------------------------------------------------------------------------- /debian/tests/0003-redis-check-aof: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Smoke test redis-check-aof 4 | 5 | redis-check-aof 2>&1 | grep -qsi usage: 6 | -------------------------------------------------------------------------------- /debian/tests/0004-redis-check-rdb: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Test redis-check-rdb 4 | 5 | set -eu 6 | 7 | # Perform a synchronous save to ensure .rdb file eixsts 8 | redis-cli SAVE 9 | 10 | redis-check-rdb /var/lib/redis/dump.rdb 11 | -------------------------------------------------------------------------------- /debian/tests/control: -------------------------------------------------------------------------------- 1 | Tests: 0001-redis-cli 2 | 3 | Tests: 0002-benchmark 4 | 5 | Tests: 0003-redis-check-aof 6 | 7 | Tests: 0004-redis-check-rdb 8 | Restrictions: needs-root 9 | -------------------------------------------------------------------------------- /debian/watch: -------------------------------------------------------------------------------- 1 | version=4 2 | opts=uversionmangle=s/-?(alpha|beta|rc)/~$1/ \ 3 | https://github.com/antirez/redis/releases .*/archive/(.*).tar.gz 4 | -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ $# != 1 ]; then 3 | echo "usage: release.sh [version]" 4 | exit 1 5 | fi 6 | 7 | set -e 8 | VERSION="$1" 9 | 10 | LATEST_VERSION=$(head -1 debian/changelog | sed 's/^.*([0-9]*:\([0-9\.]*\)-.*$/\1/') 11 | if [ "$LATEST_VERSION" = "$VERSION" ]; then 12 | echo "To re-package the last release, please manually update debian/changelog." 13 | exit 1 14 | fi 15 | 16 | AUTHOR=$(grep -m 1 '^ --' debian/changelog | sed 's/^ -- \(.*>\) *.*$/\1/') 17 | 18 | sed -i "1i \ 19 | redis (6:$VERSION-1rl1~@RELEASE@1) @RELEASE@; urgency=low\n\ 20 | \n\ 21 | * Redis $VERSION: https://github.com/redis/redis/releases/tag/$VERSION\n\ 22 | \n\ 23 | -- $AUTHOR $(date -R)\n" debian/changelog 24 | 25 | git add debian/changelog 26 | git commit -m "Redis $VERSION" 27 | -------------------------------------------------------------------------------- /setup_sbuild.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ $# != 2 ]; then 3 | echo "Please use: setup_build.sh [dist] [arch]" 4 | exit 1 5 | fi 6 | 7 | dist="$1" 8 | arch="$2" 9 | if ubuntu-distro-info --all | grep -Fqx "$dist"; then 10 | disttype="ubuntu" 11 | else 12 | disttype="debian" 13 | fi 14 | 15 | if [ "$dist" = "focal" ]; then 16 | ubuntu_ports="/ubuntu-ports" 17 | fi 18 | # Determine base apt repository URL based on type of distribution and architecture. 19 | case "$disttype" in 20 | ubuntu) 21 | if [ "$arch" = "arm64" ] || [ "$arch" = "armhf" ]; then 22 | url=http://ports.ubuntu.com/ubuntu-ports 23 | else 24 | url=http://archive.ubuntu.com/ubuntu 25 | fi 26 | ;; 27 | debian) 28 | url=http://deb.debian.org/debian 29 | ;; 30 | *) 31 | echo "Unknown distribution $disttype" 32 | exit 1 33 | esac 34 | 35 | sbuild-createchroot \ 36 | --arch ${arch} --make-sbuild-tarball=/var/lib/sbuild/${dist}-${arch}.tar.gz \ 37 | ${dist} `mktemp -d` ${url} 38 | 39 | # Ubuntu has the main and ports repositories on different URLs, so we need to 40 | # properly set up /etc/apt/sources.list to make cross compilation work 41 | # and enable multi-architecture support inside a chroot environment 42 | if [ "$disttype" = "ubuntu" ]; then 43 | schroot -c source:${dist}-${arch}-sbuild -d / -- dpkg --add-architecture i386 44 | schroot -c source:${dist}-${arch}-sbuild -d / -- dpkg --add-architecture armhf 45 | schroot -c source:${dist}-${arch}-sbuild -d / -- dpkg --add-architecture arm64 46 | # Update /etc/apt/sources.list for cross-compilation (Ubuntu) 47 | cat <<__END__ | schroot -c source:${dist}-${arch}-sbuild -d / -- tee /etc/apt/sources.list 48 | deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu ${dist} main universe 49 | deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu ${dist}-updates main universe 50 | deb [arch=armhf,arm64] http://ports.ubuntu.com${ubuntu_ports} ${dist} main universe 51 | deb [arch=armhf,arm64] http://ports.ubuntu.com${ubuntu_ports} ${dist}-updates main universe 52 | __END__ 53 | 54 | elif [ "$disttype" = "debian" ]; then 55 | # enable multi-architecture support inside a chroot environment 56 | schroot -c source:${dist}-${arch}-sbuild -d / -- dpkg --add-architecture i386 57 | schroot -c source:${dist}-${arch}-sbuild -d / -- dpkg --add-architecture armhf 58 | schroot -c source:${dist}-${arch}-sbuild -d / -- dpkg --add-architecture arm64 59 | # Update /etc/apt/sources.list for cross-compilation (Debian) 60 | cat <<__END__ | schroot -c source:${dist}-${arch}-sbuild -d / -- tee /etc/apt/sources.list 61 | deb [arch=amd64,i386,armhf,arm64] http://deb.debian.org/debian ${dist} main contrib non-free non-free-firmware 62 | deb [arch=amd64,i386,armhf,arm64] http://deb.debian.org/debian ${dist}-updates main contrib non-free non-free-firmware 63 | deb [arch=amd64,i386,armhf,arm64] http://deb.debian.org/debian-security ${dist}-security main contrib non-free non-free-firmware 64 | __END__ 65 | fi 66 | if [ "$dist" = "focal" ]; then 67 | # Install gcc-10 and g++-10 which are required in case of Ubuntu Focal to support Ranges library, introduced in C++20 68 | schroot -c source:${dist}-${arch}-sbuild -d / -- bash -c "apt update && apt remove -y gcc-9 g++-9 gcc-9-base && apt upgrade -yqq && apt install -y gcc build-essential gcc-10 g++-10 clang-format clang lcov openssl" 69 | schroot -c source:${dist}-${arch}-sbuild -d / -- bash -c "[ -f /usr/bin/gcc-10 ] && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60 --slave /usr/bin/g++ g++ /usr/bin/g++-10|| echo 'gcc-10 installation failed'" 70 | fi --------------------------------------------------------------------------------