mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add warning file names to *-dist directories to prevent people modifying
them.
This commit is contained in:
parent
db6b142e82
commit
c464cee162
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93350
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user