diff options
author | ache <ache@FreeBSD.org> | 2003-11-08 03:37:10 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2003-11-08 03:37:10 +0000 |
commit | 91ac74afdd63546d230c6fe0c4a5bd8c2eb13071 (patch) | |
tree | 959002df4bde088d7ffd300d777c69cf23c8327f /www | |
parent | 684a6048222ba8749afda30e712789a67e8008d3 (diff) | |
download | FreeBSD-ports-91ac74afdd63546d230c6fe0c4a5bd8c2eb13071.zip FreeBSD-ports-91ac74afdd63546d230c6fe0c4a5bd8c2eb13071.tar.gz |
Add warning file names to *-dist directories to prevent people modifying
them.
Diffstat (limited to 'www')
-rw-r--r-- | www/apache13/Makefile | 3 | ||||
-rw-r--r-- | www/apache13/pkg-plist | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile index 1d1454ce..9a879de 100644 --- a/www/apache13/Makefile +++ b/www/apache13/Makefile @@ -7,6 +7,7 @@ PORTNAME= apache PORTVERSION= 1.3.29 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= apache_${PORTVERSION} @@ -136,6 +137,8 @@ post-install: ${ECHO} "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \ ${INSTALL_SCRIPT} ${WRKSRC}/apache.sh ${PREFIX}/etc/rc.d/apache.sh; \ fi + @${TOUCH} ${DOCUMENT_ROOT}-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING + @${TOUCH} ${DATADIR}/cgi-bin-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/www/apache13/pkg-plist b/www/apache13/pkg-plist index 632c1ed..8e73cea 100644 --- a/www/apache13/pkg-plist +++ b/www/apache13/pkg-plist @@ -106,8 +106,9 @@ sbin/httpd sbin/logresolve sbin/rotatelogs %%SUB_SUEXEC%%sbin/suexec -www/data-dist/apache_pb.gif +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 www/data-dist/index.html.ca www/data-dist/index.html.cz www/data-dist/index.html.de @@ -425,8 +426,9 @@ share/doc/apache/win_service.html.html share/doc/apache/win_service.html.ja.jis share/doc/apache/windows.html.en share/doc/apache/windows.html.ja.jis -www/cgi-bin-dist/printenv +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 www/icons/README www/icons/a.gif |