From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 26 10:40:26 2005 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 174F916A4CE for ; Tue, 26 Apr 2005 10:40:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8EB543D39 for ; Tue, 26 Apr 2005 10:40:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QAePpN065715 for ; Tue, 26 Apr 2005 10:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QAePO3065709; Tue, 26 Apr 2005 10:40:25 GMT (envelope-from gnats) Resent-Date: Tue, 26 Apr 2005 10:40:25 GMT Resent-Message-Id: <200504261040.j3QAePO3065709@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, Renato Botelho Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A4116A4CE for ; Tue, 26 Apr 2005 10:39:52 +0000 (GMT) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F13343D45 for ; Tue, 26 Apr 2005 10:39:51 +0000 (GMT) (envelope-from renato@data.galle.com.br) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by data.galle.com.br (8.13.1/8.13.1) with ESMTP id j3QAdopN084919 for ; Tue, 26 Apr 2005 07:39:50 -0300 (BRST) (envelope-from renato@data.galle.com.br) Received: (from root@localhost) by data.galle.com.br (8.13.1/8.13.1/Submit) id j3QAdj7D084918; Tue, 26 Apr 2005 07:39:45 -0300 (BRST) (envelope-from renato) Message-Id: <200504261039.j3QAdj7D084918@data.galle.com.br> Date: Tue, 26 Apr 2005 07:39:45 -0300 (BRST) From: Renato Botelho To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/80358: [MAINTAINER] databases/firebird: Don't change conf file automaticly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 10:40:26 -0000 >Number: 80358 >Category: ports >Synopsis: [MAINTAINER] databases/firebird: Don't change conf file automaticly >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: Tue Apr 26 10:40:24 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Renato Botelho >Release: FreeBSD 5.3-RELEASE-p9 i386 >Organization: Galle Folheados - http://www.galle.com.br >Environment: System: FreeBSD data.galle.com.br 5.3-RELEASE-p9 FreeBSD 5.3-RELEASE-p9 #9: Fri Apr 15 07:52:00 BRST 2005 >Description: - Don't copy ${PREFIX}/firebird to ${PREFIX}/firebird.old - Don't change /etc/services and /etc/inetd.conf automaticly - Don't restart inetd - Add messages on pkg-message to explain how to start program Added file(s): - files/patch-src::install::arch-specific::freebsd::install.sh.in Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- firebird-1.5.2.patch begins here --- Index: pkg-install =================================================================== RCS file: /home/ncvs/ports/databases/firebird/pkg-install,v retrieving revision 1.9 diff -u -r1.9 pkg-install --- pkg-install 16 Jan 2004 18:37:14 -0000 1.9 +++ pkg-install 26 Apr 2005 10:38:24 -0000 @@ -7,13 +7,6 @@ case $2 in PRE-INSTALL) -if [ -d $PKG_PREFIX/firebird ]; then - if [ -d $PKG_PREFIX/firebird.old ]; then - rm -rf $PKG_PREFIX/firebird.old - fi - cp -Rp $PKG_PREFIX/firebird $PKG_PREFIX/firebird.old -fi - if [ `id -u` -ne 0 ]; then echo; echo "You must be root to run this step!"; echo; echo exit 1 @@ -140,25 +133,6 @@ chmod 444 aliases.conf firebird.conf chmod 660 security.fdb -# remove any existing gds service -cp /etc/services /etc/services.old -cp /etc/inetd.conf /etc/inetd.conf.old -cat /etc/services |grep -v gds_db >/etc/services.new -cat /etc/inetd.conf |grep -v gds_db >/etc/inetd.conf.new -mv /etc/services.new /etc/services -mv /etc/inetd.conf.new /etc/inetd.conf - -# add the gds service and restart inetd -cat >>/etc/services <>/etc/inetd.conf < %%PREFIX%%/firebird may be needed -for compatibility with existing programs that use -Firebird. +Firebird is now installed. + +To start the server add the following line to /etc/services: + +gds_db 3050/tcp #InterBase Database Remote Protocol + +And add the following line to /etc/inetd.conf + +gds_db stream tcp nowait firebird %%PREFIX%%/bin/fb_inet_server fb_inet_server + +And finally restart inetd. + +A symbolic link from /usr/interbase -> %%PREFIX%%/firebird +may be needed for compatibility with existing programs +that use Firebird. The symbolic link can be created with: Index: files/patch-src::install::arch-specific::freebsd::install.sh.in =================================================================== RCS file: files/patch-src::install::arch-specific::freebsd::install.sh.in diff -N files/patch-src::install::arch-specific::freebsd::install.sh.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src::install::arch-specific::freebsd::install.sh.in 26 Apr 2005 10:38:24 -0000 @@ -0,0 +1,42 @@ +--- src/install/arch-specific/freebsd/install.sh.in.orig Tue Apr 26 07:14:26 2005 ++++ src/install/arch-specific/freebsd/install.sh.in Tue Apr 26 07:15:05 2005 +@@ -55,13 +55,6 @@ + InstallFirebirdPrefix=@prefix@ + InstallPrefix=${InstallFirebirdPrefix%/firebird} + +-if [ -d $InstallFirebirdPrefix ]; then +- if [ -d $InstallPrefix/firebird.old ]; then +- rm -rf $InstallPrefix/firebird.old +- fi +- cp -Rp $InstallFirebirdPrefix $InstallPrefix/firebird.old +-fi +- + if [ `id -u` -ne 0 ]; then + echo; echo "You must be root to run this step!"; echo; echo + exit 1 +@@ -284,25 +277,6 @@ + [ -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 +-cp /etc/services /etc/services.old +-cp /etc/inetd.conf /etc/inetd.conf.old +-cat /etc/services |grep -v gds_db >/etc/services.new +-cat /etc/inetd.conf |grep -v gds_db >/etc/inetd.conf.new +-mv /etc/services.new /etc/services +-mv /etc/inetd.conf.new /etc/inetd.conf +- +-# add the gds service and restart inetd +-cat >>/etc/services <>/etc/inetd.conf <Release-Note: >Audit-Trail: >Unformatted: