diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2004-08-22 10:55:55 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2004-08-22 10:55:55 +0000 |
commit | fc850af78274df3829b025f1c3d0546b3769b71a (patch) | |
tree | 5dc548cfe2223ae88915d13d7f4053303f2e346b /www/apache13 | |
parent | c5732500b51254cbd4d43f36759ce6f680709c0d (diff) | |
download | ports-fc850af78274df3829b025f1c3d0546b3769b71a.tar.gz ports-fc850af78274df3829b025f1c3d0546b3769b71a.zip |
Notes
Diffstat (limited to 'www/apache13')
-rw-r--r-- | www/apache13/Makefile | 4 | ||||
-rw-r--r-- | www/apache13/pkg-plist | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile index dee20d819ea1..e6d4877cd611 100644 --- a/www/apache13/Makefile +++ b/www/apache13/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache PORTVERSION= 1.3.31 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= apache_${PORTVERSION} @@ -150,12 +150,14 @@ post-extract: ${FILESDIR}/apache.sh > ${WRKSRC}/apache.sh pre-install: + -@${CHMOD} u+w ${DOCUMENT_ROOT}-dist ${CGIBIN_ROOT}-dist PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: ${INSTALL_SCRIPT} ${WRKSRC}/apache.sh ${PREFIX}/etc/rc.d/apache.sh @${TOUCH} ${DOCUMENT_ROOT}-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING @${TOUCH} ${CGIBIN_ROOT}-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING + @${CHMOD} a-w ${DOCUMENT_ROOT}-dist ${CGIBIN_ROOT}-dist @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/www/apache13/pkg-plist b/www/apache13/pkg-plist index b1ee92afe930..ce7491375f7e 100644 --- a/www/apache13/pkg-plist +++ b/www/apache13/pkg-plist @@ -105,6 +105,7 @@ sbin/httpd sbin/logresolve sbin/rotatelogs %%SUB_SUEXEC%%sbin/suexec +@exec mkdir -p -m 755 www/data-dist www/data-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING @exec [ -d %D/www/data/ ] || ln -fs %B %D/www/data www/data-dist/apache_pb.gif @@ -138,6 +139,7 @@ www/data-dist/index.html.ru.ucs4 www/data-dist/index.html.ru.utf8 www/data-dist/index.html.se www/data-dist/index.html.zh-tw.big5 +@exec chmod a-w www/data-dist share/doc/apache/LICENSE share/doc/apache/bind.html.en share/doc/apache/bind.html.fr @@ -431,10 +433,12 @@ share/doc/apache/win_service.html.ja.jis share/doc/apache/windows.html.en share/doc/apache/windows.html.html share/doc/apache/windows.html.ja.jis +@exec mkdir -p -m 755 www/cgi-bin-dist www/cgi-bin-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING @exec [ -d %D/www/cgi-bin/ ] || ln -fs %B %D/www/cgi-bin www/cgi-bin-dist/printenv www/cgi-bin-dist/test-cgi +@exec chmod a-w www/cgi-bin-dist www/icons/README www/icons/a.gif www/icons/a.png |