From nobody@FreeBSD.org  Sat Oct 10 11:59:11 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2D352106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Oct 2009 11:59:11 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1D0368FC1C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Oct 2009 11:59:11 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9ABxADv080729
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Oct 2009 11:59:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n9ABxAHh080728;
	Sat, 10 Oct 2009 11:59:10 GMT
	(envelope-from nobody)
Message-Id: <200910101159.n9ABxAHh080728@www.freebsd.org>
Date: Sat, 10 Oct 2009 11:59:10 GMT
From: Edmondas Girkantas <eg@fbsd.lt>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER UPDATE] dns/poweradmin use mode 644 for config file
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         139475
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] dns/poweradmin use mode 644 for config file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 10 12:00:02 UTC 2009
>Closed-Date:    Tue Oct 13 22:32:40 UTC 2009
>Last-Modified:  Tue Oct 13 22:40:03 UTC 2009
>Originator:     Edmondas Girkantas
>Release:        FreeBSD 8.0-RC1
>Organization:
>Environment:
FreeBSD big.bug.lt 8.0-RC1 FreeBSD 8.0-RC1 #3: Sat Oct  3 12:58:04 EEST 2009     eg@big.bug.lt:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Current version of port installs configuration file which mode is 640 and poweradmin will fail to find it when apache server with www account is used.

>How-To-Repeat:

>Fix:
Apply given patch

Patch attached with submission follows:

diff -ruN poweradmin.orig/Makefile poweradmin/Makefile
--- poweradmin.orig/Makefile	2009-10-10 14:47:48.000000000 +0300
+++ poweradmin/Makefile	2009-10-10 14:49:31.000000000 +0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	poweradmin
 PORTVERSION=	2.1.3
+PORTREVISION=	1
 CATEGORIES=	dns www
 MASTER_SITES=	https://www.poweradmin.org/download/
 EXTRACT_SUFX=	.tgz
diff -ruN poweradmin.orig/pkg-plist-chunk poweradmin/pkg-plist-chunk
--- poweradmin.orig/pkg-plist-chunk	2009-10-10 14:47:48.000000000 +0300
+++ poweradmin/pkg-plist-chunk	2009-10-10 14:47:55.000000000 +0300
@@ -1,4 +1,4 @@
-@mode 640
+@mode 644
 @unexec if cmp -s %D/%%WWWDIR%%/inc/config-me.inc.php %D/%%WWWDIR%%/inc/config.inc.php; then rm -f %D/%%WWWDIR%%/inc/config.inc.php; fi
 %%WWWDIR%%/inc/config-me.inc.php
 @exec if [ ! -f %B/inc/config.inc.php ] ; then cp -p %B/%f %B/inc/config.inc.php; fi


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Oct 10 16:17:15 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139475 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Oct 13 22:32:39 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139475 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139475: commit references a PR
Date: Tue, 13 Oct 2009 22:32:48 +0000 (UTC)

 miwi        2009-10-13 22:32:33 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns/poweradmin       Makefile pkg-plist-chunk 
   Log:
   - Use 644 mode for the config file
   
   Port installs configuration file in 640 mode
   and poweradmin will fail to find it when apache server
   with www account is used.
   
   PR:             139475
   Submitted by:   Edmondas Girkantas <eg@fbsd.lt> (maintainer)
   
   Revision  Changes    Path
   1.6       +1 -0      ports/dns/poweradmin/Makefile
   1.2       +1 -1      ports/dns/poweradmin/pkg-plist-chunk
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
