diff options
author | pat <pat@FreeBSD.org> | 2002-03-04 08:35:36 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-03-04 08:35:36 +0800 |
commit | 665aaf1aeeba40b157b17c802dd36c8df1f16745 (patch) | |
tree | 493c9bf700bfe888a2f60f8b9fae45c5b84b31a0 /mail | |
parent | 4056e40f8066d27271e271515c4d39238c1ba4a4 (diff) | |
download | freebsd-ports-gnome-665aaf1aeeba40b157b17c802dd36c8df1f16745.tar.gz freebsd-ports-gnome-665aaf1aeeba40b157b17c802dd36c8df1f16745.tar.zst freebsd-ports-gnome-665aaf1aeeba40b157b17c802dd36c8df1f16745.zip |
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')
-rw-r--r-- | mail/squirrelmail/Makefile | 2 | ||||
-rw-r--r-- | mail/squirrelmail/files/data-htaccess | 1 | ||||
-rw-r--r-- | mail/squirrelmail/pkg-plist | 1 |
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 |