mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +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:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/opensearch
|
||||
.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
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/bin
|
||||
.for f in ${BINS}
|
||||
@ -112,11 +112,11 @@ do-install-PLUGINS-on:
|
||||
${STAGEDIR}${ETCDIR}/opensearch-reports-scheduler \
|
||||
${STAGEDIR}${ETCDIR}/opensearch-security
|
||||
.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}
|
||||
.endfor
|
||||
.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}
|
||||
.endfor
|
||||
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "plugins" ${STAGEDIR}${PREFIX}/lib/opensearch/)
|
||||
|
Loading…
Reference in New Issue
Block a user