diff options
author | adrian <adrian@FreeBSD.org> | 2003-01-31 09:02:49 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2003-01-31 09:02:49 +0000 |
commit | 5075a92b7386209736997e0de280b10912bb507b (patch) | |
tree | 169bd772c35c4bb38d17d7ff9fe97f5369e7d21b /www | |
parent | ac440bdb539d0c62b07a65d1ed06820ef516f975 (diff) | |
download | FreeBSD-ports-5075a92b7386209736997e0de280b10912bb507b.zip FreeBSD-ports-5075a92b7386209736997e0de280b10912bb507b.tar.gz |
Grab the patch against squid24 from a PR..
PR: 42747
Diffstat (limited to 'www')
-rw-r--r-- | www/squid/Makefile | 12 | ||||
-rw-r--r-- | www/squid25/Makefile | 12 | ||||
-rw-r--r-- | www/squid26/Makefile | 12 | ||||
-rw-r--r-- | www/squid27/Makefile | 12 | ||||
-rw-r--r-- | www/squid30/Makefile | 12 | ||||
-rw-r--r-- | www/squid31/Makefile | 12 |
6 files changed, 48 insertions, 24 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile index 3877031..ab126f4 100644 --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -121,10 +121,14 @@ post-install: strip ${PREFIX}/libexec/${file} ; \ fi .endfor - ${MKDIR} ${PREFIX}/squid/logs - ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs - ${MKDIR} ${PREFIX}/squid/cache - ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache + @if [ ! -d ${PREFIX}/squid/logs ]; then \ + ${MKDIR} ${PREFIX}/squid/logs; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ + 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 \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \ diff --git a/www/squid25/Makefile b/www/squid25/Makefile index 3877031..ab126f4 100644 --- a/www/squid25/Makefile +++ b/www/squid25/Makefile @@ -121,10 +121,14 @@ post-install: strip ${PREFIX}/libexec/${file} ; \ fi .endfor - ${MKDIR} ${PREFIX}/squid/logs - ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs - ${MKDIR} ${PREFIX}/squid/cache - ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache + @if [ ! -d ${PREFIX}/squid/logs ]; then \ + ${MKDIR} ${PREFIX}/squid/logs; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ + 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 \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \ diff --git a/www/squid26/Makefile b/www/squid26/Makefile index 3877031..ab126f4 100644 --- a/www/squid26/Makefile +++ b/www/squid26/Makefile @@ -121,10 +121,14 @@ post-install: strip ${PREFIX}/libexec/${file} ; \ fi .endfor - ${MKDIR} ${PREFIX}/squid/logs - ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs - ${MKDIR} ${PREFIX}/squid/cache - ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache + @if [ ! -d ${PREFIX}/squid/logs ]; then \ + ${MKDIR} ${PREFIX}/squid/logs; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ + 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 \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \ diff --git a/www/squid27/Makefile b/www/squid27/Makefile index 3877031..ab126f4 100644 --- a/www/squid27/Makefile +++ b/www/squid27/Makefile @@ -121,10 +121,14 @@ post-install: strip ${PREFIX}/libexec/${file} ; \ fi .endfor - ${MKDIR} ${PREFIX}/squid/logs - ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs - ${MKDIR} ${PREFIX}/squid/cache - ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache + @if [ ! -d ${PREFIX}/squid/logs ]; then \ + ${MKDIR} ${PREFIX}/squid/logs; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ + 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 \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \ diff --git a/www/squid30/Makefile b/www/squid30/Makefile index 3877031..ab126f4 100644 --- a/www/squid30/Makefile +++ b/www/squid30/Makefile @@ -121,10 +121,14 @@ post-install: strip ${PREFIX}/libexec/${file} ; \ fi .endfor - ${MKDIR} ${PREFIX}/squid/logs - ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs - ${MKDIR} ${PREFIX}/squid/cache - ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache + @if [ ! -d ${PREFIX}/squid/logs ]; then \ + ${MKDIR} ${PREFIX}/squid/logs; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ + 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 \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \ diff --git a/www/squid31/Makefile b/www/squid31/Makefile index 3877031..ab126f4 100644 --- a/www/squid31/Makefile +++ b/www/squid31/Makefile @@ -121,10 +121,14 @@ post-install: strip ${PREFIX}/libexec/${file} ; \ fi .endfor - ${MKDIR} ${PREFIX}/squid/logs - ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs - ${MKDIR} ${PREFIX}/squid/cache - ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache + @if [ ! -d ${PREFIX}/squid/logs ]; then \ + ${MKDIR} ${PREFIX}/squid/logs; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ + 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 \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \ |