summaryrefslogtreecommitdiff
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-04 00:35:36 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-04 00:35:36 +0000
commit6cf20ecdaf4c87d433b62d159fdb8e9d27f01b95 (patch)
tree24d97d2e87a97bcac123f439301891ba08de0e47 /mail/squirrelmail
parentUpdate to 3.65 (diff)
Install .htaccess file in user prefs directory by default so people cannot
see the configuration. Bump PORTREVISION. PR: 35507 Submitted by: maintainer
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r--mail/squirrelmail/Makefile2
-rw-r--r--mail/squirrelmail/files/data-htaccess1
-rw-r--r--mail/squirrelmail/pkg-plist1
3 files changed, 4 insertions, 0 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index 20427fb92fa4..16ef42ee3b8b 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -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:
diff --git a/mail/squirrelmail/files/data-htaccess b/mail/squirrelmail/files/data-htaccess
new file mode 100644
index 000000000000..b63d40183c80
--- /dev/null
+++ b/mail/squirrelmail/files/data-htaccess
@@ -0,0 +1 @@
+Deny from All
diff --git a/mail/squirrelmail/pkg-plist b/mail/squirrelmail/pkg-plist
index c6f4680e8730..8e5fb8abd92f 100644
--- a/mail/squirrelmail/pkg-plist
+++ b/mail/squirrelmail/pkg-plist
@@ -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