From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 16 04:05:30 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C390F16A4CE for ; Fri, 16 Jan 2004 04:05:30 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A83243D58 for ; Fri, 16 Jan 2004 04:03:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0GC0VFR048835 for ; Fri, 16 Jan 2004 04:00:31 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0GC0V30048830; Fri, 16 Jan 2004 04:00:31 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 16 Jan 2004 04:00:31 -0800 (PST) Resent-Message-Id: <200401161200.i0GC0V30048830@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, Chris Knight Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01FAD16A4CE for ; Fri, 16 Jan 2004 03:51:20 -0800 (PST) Received: from postoffice.e-easy.com.au (eth0.lnk.aims.net.au [203.31.73.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id C58A243D5C for ; Fri, 16 Jan 2004 03:49:34 -0800 (PST) (envelope-from chris@e-easy.com.au) Received: from ait0fd03.aims.private ([192.168.10.105]) by postoffice.e-easy.com.au with ESMTP id i0GBAlT1010558 for ; Fri, 16 Jan 2004 22:10:47 +1100 (EST) (envelope-from chris@e-easy.com.au) Received: from ait0fd03.aims.private (localhost [127.0.0.1]) i0GBAlpE001057 for ; Fri, 16 Jan 2004 22:10:47 +1100 (EST) (envelope-from chris@e-easy.com.au) Received: (from root@localhost) by ait0fd03.aims.private (8.12.10/8.12.10/Submit) id i0GBAlua001056; Fri, 16 Jan 2004 22:10:47 +1100 (EST) (envelope-from chris@e-easy.com.au) Message-Id: <200401161110.i0GBAlua001056@ait0fd03.aims.private> Date: Fri, 16 Jan 2004 22:10:47 +1100 (EST) From: Chris Knight To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/61417: [MAINTAINER UPDATE] databases/firebird: relax file permissions X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Chris Knight List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 12:05:31 -0000 >Number: 61417 >Category: ports >Synopsis: [MAINTAINER UPDATE] databases/firebird: relax file permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jan 16 04:00:31 PST 2004 >Closed-Date: >Last-Modified: >Originator: Chris Knight >Release: FreeBSD 5.2-CURRENT i386 >Organization: E-Easy >Environment: System: FreeBSD ait0fd03.aims.private 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Jan 16 13:32:52 EST 2004 root@ait0fd03.aims.private:/u1/obj5/usr/src/sys/OMNIBOOK5 i386 >Description: Relax file permissions on the config files. This allows people to get up and running with PHP more easily. >How-To-Repeat: Build firebird, then PHP with the Interbase extension. Interbase database calls in PHP will exit silently until you add the www user to the firebird group or make /usr/local/firebird/firebird.conf world readable. >Fix: Index: pkg-install =================================================================== RCS file: /home/ncvs/ports/databases/firebird/pkg-install,v retrieving revision 1.8 diff -u -r1.8 pkg-install --- pkg-install 13 Jan 2004 16:11:10 -0000 1.8 +++ pkg-install 16 Jan 2004 11:03:31 -0000 @@ -137,7 +137,7 @@ chmod ug=rw,o= help/*.fdb chmod ug=rw,o= security.fdb -chmod 440 aliases.conf firebird.conf +chmod 444 aliases.conf firebird.conf chmod 660 security.fdb # remove any existing gds service Index: files/patch-src::install::arch-specific::freebsd::install.sh.in =================================================================== RCS file: /home/ncvs/ports/databases/firebird/files/patch-src::install::arch-specific::freebsd::install.sh.in,v retrieving revision 1.1 diff -u -r1.1 patch-src::install::arch-specific::freebsd::install.sh.in --- files/patch-src::install::arch-specific::freebsd::install.sh.in 13 Jan 2004 16:11:11 -0000 1.1 +++ files/patch-src::install::arch-specific::freebsd::install.sh.in 16 Jan 2004 11:01:28 -0000 @@ -84,8 +84,8 @@ -chmod ug=rw,o= security.fdb + +# install the samples if they don't exist -+[ -f aliases.conf ] || install -o $fbUID -g $fbGID -m 440 aliases.conf.sample aliases.conf -+[ -f firebird.conf ] || install -o $fbUID -g $fbGID -m 440 firebird.conf.sample firebird.conf ++[ -f aliases.conf ] || install -o $fbUID -g $fbGID -m 444 aliases.conf.sample aliases.conf ++[ -f firebird.conf ] || install -o $fbUID -g $fbGID -m 444 firebird.conf.sample firebird.conf +[ -f security.fdb ] || install -o $fbUID -g $fbGID -m 660 security.fdb.sample security.fdb # remove any existing gds service >Release-Note: >Audit-Trail: >Unformatted: