Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 09:17:09 GMT
From:      Simon Dick <simond@irrelevant.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35507: Maintainer port upgrade: mail/squirrelmail
Message-ID:  <200203030917.g239H9L8020612@laptop.internal.irrelevant.org>

next in thread | raw e-mail | index | archive | help

>Number:         35507
>Category:       ports
>Synopsis:       Maintainer port upgrade: mail/squirrelmail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 03 01:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Simon Dick
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD laptop.internal.irrelevant.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Mar 3 08:41:08 GMT 2002 root@laptop.internal.irrelevant.org:/usr/obj/usr/src/sys/LAPTOP i386


>Description:

Add a .htaccess file to the user prefs directory so people can't see the
prefs files in the default configuration.

>How-To-Repeat:
>Fix:

diff -ruN squirrelmail.orig/Makefile squirrelmail/Makefile
--- squirrelmail.orig/Makefile	Fri Feb 22 23:08:24 2002
+++ squirrelmail/Makefile	Sun Mar  3 09:08:22 2002
@@ -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 @@
 do-install:
 	${MKDIR} ${PREFIX}/squirrelmail
 	${CP} -R ${WRKSRC}/* ${PREFIX}/squirrelmail
+	${CP} ${FILESDIR}/data-htaccess ${PREFIX}/squirrelmail/data/.htaccess
 	${CHOWN} -R www:www ${PREFIX}/squirrelmail/data
 
 post-install:
diff -ruN squirrelmail.orig/files/data-htaccess squirrelmail/files/data-htaccess
--- squirrelmail.orig/files/data-htaccess	Thu Jan  1 01:00:00 1970
+++ squirrelmail/files/data-htaccess	Sun Mar  3 09:10:28 2002
@@ -0,0 +1 @@
+Deny from All
diff -ruN squirrelmail.orig/pkg-plist squirrelmail/pkg-plist
--- squirrelmail.orig/pkg-plist	Fri Feb 22 23:08:24 2002
+++ squirrelmail/pkg-plist	Sun Mar  3 09:08:15 2002
@@ -13,6 +13,7 @@
 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
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203030917.g239H9L8020612>