mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix pkg-plist for packages.
Feature safe: yes
This commit is contained in:
parent
b94afc7e96
commit
4bae727d2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307717
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= redis
|
PORTNAME= redis
|
||||||
DISTVERSION= 2.6.5
|
DISTVERSION= 2.6.5
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= GOOGLE_CODE
|
MASTER_SITES= GOOGLE_CODE
|
||||||
PKGNAMESUFFIX= -devel
|
PKGNAMESUFFIX= -devel
|
||||||
|
@ -6,8 +6,10 @@ bin/redis-sentinel
|
|||||||
bin/redis-server
|
bin/redis-server
|
||||||
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
|
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
|
||||||
etc/redis.conf.sample
|
etc/redis.conf.sample
|
||||||
etc/sentinel.conf.sample
|
|
||||||
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
|
@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 [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%
|
||||||
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
|
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
|
||||||
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi
|
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= redis
|
PORTNAME= redis
|
||||||
DISTVERSION= 2.6.5
|
DISTVERSION= 2.6.5
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= GOOGLE_CODE
|
MASTER_SITES= GOOGLE_CODE
|
||||||
|
|
||||||
|
@ -6,8 +6,10 @@ bin/redis-sentinel
|
|||||||
bin/redis-server
|
bin/redis-server
|
||||||
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
|
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
|
||||||
etc/redis.conf.sample
|
etc/redis.conf.sample
|
||||||
etc/sentinel.conf.sample
|
|
||||||
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
|
@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 [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%
|
||||||
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
|
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
|
||||||
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi
|
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user