From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 10 12:00:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC17106568B for ; Sat, 10 Oct 2009 12:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1642A8FC1D for ; Sat, 10 Oct 2009 12:00:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9AC025O001807 for ; Sat, 10 Oct 2009 12:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9AC0252001806; Sat, 10 Oct 2009 12:00:02 GMT (envelope-from gnats) Resent-Date: Sat, 10 Oct 2009 12:00:02 GMT Resent-Message-Id: <200910101200.n9AC0252001806@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edmondas Girkantas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D352106566B for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/139475: [MAINTAINER UPDATE] dns/poweradmin use mode 644 for config file X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 12:00:03 -0000 >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: