mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
textproc/opensearch: Fix installation
- Remove install parameters. It is not necessary because owner, group and mode are setting by pkg-plist Reported by: dch
This commit is contained in:
parent
9d85112e80
commit
f4090d5348
@ -91,7 +91,7 @@ post-patch:
|
|||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/opensearch
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/opensearch
|
||||||
.for f in ${CONFIG_FILES}
|
.for f in ${CONFIG_FILES}
|
||||||
${INSTALL} -o ${SEARCHUSER} -g ${SEARCHGROUP} -m 640 ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
|
${INSTALL} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
|
||||||
.endfor
|
.endfor
|
||||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/bin
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/bin
|
||||||
.for f in ${BINS}
|
.for f in ${BINS}
|
||||||
@ -112,11 +112,11 @@ do-install-PLUGINS-on:
|
|||||||
${STAGEDIR}${ETCDIR}/opensearch-reports-scheduler \
|
${STAGEDIR}${ETCDIR}/opensearch-reports-scheduler \
|
||||||
${STAGEDIR}${ETCDIR}/opensearch-security
|
${STAGEDIR}${ETCDIR}/opensearch-security
|
||||||
.for f in ${PLUGINS_CONFIG_FILES}
|
.for f in ${PLUGINS_CONFIG_FILES}
|
||||||
${INSTALL} -o ${SEARCHUSER} -g ${SEARCHGROUP} -m 640 ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
|
${INSTALL} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
|
||||||
${ECHO} "@sample(opensearch,opensearch,640) ${ETCDIR}/${f}.sample" >> ${TMPPLIST}
|
${ECHO} "@sample(opensearch,opensearch,640) ${ETCDIR}/${f}.sample" >> ${TMPPLIST}
|
||||||
.endfor
|
.endfor
|
||||||
.for f in ${PLUGINS_SAMPLE_CONFIG_FILES}
|
.for f in ${PLUGINS_SAMPLE_CONFIG_FILES}
|
||||||
${INSTALL} -o ${SEARCHUSER} -g ${SEARCHGROUP} -m 640 ${WRKSRC}/config/${f}.example ${STAGEDIR}${ETCDIR}/${f}.sample
|
${INSTALL} ${WRKSRC}/config/${f}.example ${STAGEDIR}${ETCDIR}/${f}.sample
|
||||||
${ECHO} "@(opensearch,opensearch,640) ${ETCDIR}/${f}.sample" >> ${TMPPLIST}
|
${ECHO} "@(opensearch,opensearch,640) ${ETCDIR}/${f}.sample" >> ${TMPPLIST}
|
||||||
.endfor
|
.endfor
|
||||||
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "plugins" ${STAGEDIR}${PREFIX}/lib/opensearch/)
|
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "plugins" ${STAGEDIR}${PREFIX}/lib/opensearch/)
|
||||||
|
Loading…
Reference in New Issue
Block a user