diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2011-05-11 15:20:59 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2011-05-11 15:20:59 +0000 |
commit | 2dd10c1328564767599b2ec33d012a468378b703 (patch) | |
tree | 551a609ad908f25c94bb5d4d605523bc7b1d412f /databases/redis/files | |
parent | - Update to 0.9.1 (diff) |
Update from 2.2.5 to 2.2.7.
Also update port infrastructure, remove needless script.
<ChangeLog>
What's new in Redis 2.2.7
=========================
* Fixed bug #543-2 (the issue was reopened with a completely different report)
that caused Redis to randomly crash on list push performed against lists
with other clients blocked with BLPOP (or variants).
What's new in Redis 2.2.6
=========================
* Fixed bug #543. If you saw Redis instances crashing on List operations
(only happening with a non-default max entry size ziplist setting in
redis.conf) it was almost certainly this problem.
* Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the
connection with all its slaves.
</ChangeLog>
Notes
Notes:
svn path=/head/; revision=273965
Diffstat (limited to 'databases/redis/files')
-rw-r--r-- | databases/redis/files/pkg-install.in | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/databases/redis/files/pkg-install.in b/databases/redis/files/pkg-install.in deleted file mode 100644 index 9eec80ea70f9..000000000000 --- a/databases/redis/files/pkg-install.in +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ - -PATH=/bin:/usr/bin:/usr/sbin - -USER="%%REDIS_USER%%" -USER_ID="%%REDIS_UID%%" -GROUP="%%REDIS_GROUP%%" -GROUP_ID="%%REDIS_GID%%" - -RUNTIME_DIRS="%%REDIS_LOGDIR%% %%REDIS_DBDIR%% %%REDIS_RUNDIR%%" - -case $2 in -PRE-INSTALL) - -if [ `id -u` -ne 0 ]; then - echo; echo "You must be root to run this step!"; echo; echo - exit 1 -fi - -RES=`pw groupshow -n ${GROUP} 2>/dev/null` -if [ $? -eq 0 ]; then - echo "You already have a group \"${GROUP}\", so we will use it." -else - RES=`pw groupshow -g ${GROUP_ID} 2>/dev/null` - if [ $? -ne 0 ]; then - _GID="-g ${GROUP_ID}" - else - _GID='' - fi - - if pw groupadd -n ${GROUP} ${_GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi -fi - -RES=`id -u ${USER} 2>/dev/null` -if [ $? -ne 0 ]; then - RES=`id -un ${USER_ID} 2>/dev/null` - if [ $? -ne 0 ]; then - _UID="-u ${USER_ID}" - else - _UID='' - fi - - if pw useradd -n ${USER} ${_UID} -g ${GROUP} \ - -w no -s /usr/sbin/nologin; then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi -fi - -;; - -POST-INSTALL) - -for DIR in ${RUNTIME_DIRS}; do - mkdir -p ${DIR} - chown -R ${USER}:${GROUP} ${DIR} - chmod -R 755 ${DIR} -done - -;; - -DEINSTALL) - -if [ -z ${UPGRADE_PORT} ] ; then - - echo - echo "If you do not intend to reinstall \"%%PORTNAME%%\" you should manually" - echo "remove user '${USER}' (uid='${USER_ID}') and group '${GROUP}' (gid='${USER_ID}')." - echo - echo "Also you may want to remove the no longer required directoris:" - echo ${RUNTIME_DIRS} - echo - -fi - -esac |