Applied patch from PR.
PR: 42747
This commit is contained in:
parent
b8b41ed250
commit
65c5368534
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74339
1 changed files with 8 additions and 4 deletions
|
@ -117,10 +117,14 @@ post-install:
|
||||||
strip ${PREFIX}/libexec/${file} ; \
|
strip ${PREFIX}/libexec/${file} ; \
|
||||||
fi
|
fi
|
||||||
.endfor
|
.endfor
|
||||||
${MKDIR} ${PREFIX}/squid/logs
|
@if [ ! -d ${PREFIX}/squid/logs ]; then \
|
||||||
${CHOWN} nobody:nogroup ${PREFIX}/squid/logs
|
${MKDIR} ${PREFIX}/squid/logs; \
|
||||||
${MKDIR} ${PREFIX}/squid/cache
|
${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \
|
||||||
${CHOWN} nobody:nogroup ${PREFIX}/squid/cache
|
fi
|
||||||
|
@if [ ! -d ${PREFIX}/squid/cache ]; then \
|
||||||
|
${MKDIR} ${PREFIX}/squid/cache; \
|
||||||
|
${CHOWN} nobody:nogroup ${PREFIX}/squid/cache; \
|
||||||
|
fi
|
||||||
@if [ ! -f ${PREFIX}/etc/rc.d/squid.sh ]; then \
|
@if [ ! -f ${PREFIX}/etc/rc.d/squid.sh ]; then \
|
||||||
${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \
|
||||||
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \
|
||||||
|
|
Loading…
Reference in a new issue