Date: Sat, 10 Oct 2009 11:59:10 GMT From: Edmondas Girkantas <eg@fbsd.lt> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139475: [MAINTAINER UPDATE] dns/poweradmin use mode 644 for config file Message-ID: <200910101159.n9ABxAHh080728@www.freebsd.org> Resent-Message-ID: <200910101200.n9AC0252001806@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139475 >Category: ports >Synopsis: [MAINTAINER UPDATE] dns/poweradmin use mode 644 for config file >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 10 12:00:02 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910101159.n9ABxAHh080728>