Install .htaccess file in user prefs directory by default so people cannot

see the configuration. Bump PORTREVISION.

PR:		35507
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-03-04 00:35:36 +00:00
parent 3d822cdda4
commit 6cf20ecdaf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55495
3 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= squirrelmail
PORTVERSION= 1.2.5
PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= squirrelmail
@ -25,6 +26,7 @@ pre-install:
do-install:
${MKDIR} ${PREFIX}/squirrelmail
${CP} -R ${WRKSRC}/* ${PREFIX}/squirrelmail
${INSTALL_DATA} ${FILESDIR}/data-htaccess ${PREFIX}/squirrelmail/data/.htaccess
${CHOWN} -R www:www ${PREFIX}/squirrelmail/data
post-install:

View file

@ -0,0 +1 @@
Deny from All

View file

@ -13,6 +13,7 @@ squirrelmail/config/ri_once.pl
squirrelmail/configure
squirrelmail/data/default_pref
squirrelmail/data/index.php
squirrelmail/data/.htaccess
squirrelmail/doc/README.russian_apache
squirrelmail/doc/ReleaseNotes/1.2/Notes-1.2.0.txt
squirrelmail/doc/ReleaseNotes/1.2/Notes-1.2.1.txt