mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Install sample rabbitmq.config.
Fix etc paths in rabbitmq-env.conf(5).
This commit is contained in:
parent
9f75cb0fe7
commit
43f6d25b40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362529
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rabbitmq
|
||||
PORTVERSION= 3.3.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.rabbitmq.com/releases/rabbitmq-server/v${PORTVERSION}/
|
||||
DISTNAME= ${PORTNAME}-server-${PORTVERSION}
|
||||
@ -53,7 +54,8 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc/rabbitmq|${PREFIX}/etc/rabbitmq|g ; s|/var/lib|/var/db|g ; s|erl|${LOCALBASE}/bin/erl|g' \
|
||||
${SCRIPTS_DIR}/rabbitmq-server ${SCRIPTS_DIR}/rabbitmqctl \
|
||||
${SCRIPTS_DIR}/rabbitmq-env ${SCRIPTS_DIR}/rabbitmq-plugins \
|
||||
${SCRIPTS_DIR}/rabbitmq-defaults
|
||||
${SCRIPTS_DIR}/rabbitmq-defaults \
|
||||
${WRKSRC}/docs/rabbitmq-env.conf.5.xml
|
||||
@${REINPLACE_CMD} -e 's|VERSION=0.0.0|VERSION=${PORTVERSION}|g' \
|
||||
${WRKSRC}/plugins-src/rabbitmq-erlang-client/Makefile \
|
||||
${WRKSRC}/plugins-src/release.mk
|
||||
@ -67,6 +69,8 @@ post-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/rabbitmq
|
||||
@${MKDIR} ${STAGEDIR}/var/db/rabbitmq/mnesia
|
||||
@${MKDIR} ${STAGEDIR}/var/log/rabbitmq
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/rabbitmq.config.example \
|
||||
${STAGEDIR}${PREFIX}/etc/rabbitmq/rabbitmq.config.sample
|
||||
.if ${PORT_OPTIONS:MADMIN}
|
||||
${INSTALL} ${WRKSRC}/plugins-src/rabbitmq-management/bin/rabbitmqadmin ${STAGEDIR}${PREFIX}/bin
|
||||
.endif
|
||||
|
@ -1,3 +1,4 @@
|
||||
@sample etc/rabbitmq/rabbitmq.config.sample
|
||||
%%ADMIN%%bin/rabbitmqadmin
|
||||
sbin/rabbitmq-defaults
|
||||
sbin/rabbitmq-env
|
||||
@ -208,7 +209,6 @@ man/man5/rabbitmq-env.conf.5.gz
|
||||
@dirrm lib/erlang/lib/rabbitmq_server-%%VERSION%%/sbin
|
||||
@dirrm lib/erlang/lib/rabbitmq_server-%%VERSION%%/ebin
|
||||
@dirrm lib/erlang/lib/rabbitmq_server-%%VERSION%%
|
||||
@exec mkdir -p %D/etc/rabbitmq
|
||||
@dirrmtry etc/rabbitmq
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rabbitmq.config.example
|
||||
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user