aboutsummaryrefslogtreecommitdiff
path: root/www/apache13
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-11-08 03:37:10 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-11-08 03:37:10 +0000
commitc464cee1622e813680aa20c92d77edff6de3c338 (patch)
tree3885e906fa2d15d6d5bc2f0e0a430b7f69dae851 /www/apache13
parentdb6b142e82e7ca284fbbc3e78329cce32f0ba27f (diff)
downloadports-c464cee1622e813680aa20c92d77edff6de3c338.tar.gz
ports-c464cee1622e813680aa20c92d77edff6de3c338.zip
Add warning file names to *-dist directories to prevent people modifying
them.
Notes
Notes: svn path=/head/; revision=93350
Diffstat (limited to 'www/apache13')
-rw-r--r--www/apache13/Makefile3
-rw-r--r--www/apache13/pkg-plist6
2 files changed, 7 insertions, 2 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index 1d1454cea946..9a879dee4bf7 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 632c1edaa4ac..8e73cead3aa2 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