1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix pkg-plist for packages.

Feature safe: yes
This commit is contained in:
Sergey A. Osokin 2012-11-24 13:48:09 +00:00
parent b94afc7e96
commit 4bae727d2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307717
4 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= redis
DISTVERSION= 2.6.5
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -devel

View File

@ -6,8 +6,10 @@ bin/redis-sentinel
bin/redis-server
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
etc/redis.conf.sample
etc/sentinel.conf.sample
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
@unexec (cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample && rm -f %D/etc/sentinel.conf) || true
etc/sentinel.conf.sample
@exec [ -f %B/sentinel.conf ] || cp %B/%f %B/sentinel.conf
@exec [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi

View File

@ -3,6 +3,7 @@
PORTNAME= redis
DISTVERSION= 2.6.5
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= GOOGLE_CODE

View File

@ -6,8 +6,10 @@ bin/redis-sentinel
bin/redis-server
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
etc/redis.conf.sample
etc/sentinel.conf.sample
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
@unexec (cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample && rm -f %D/etc/sentinel.conf) || true
etc/sentinel.conf.sample
@exec [ -f %B/sentinel.conf ] || cp %B/%f %B/sentinel.conf
@exec [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi