Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 14:47:01 +1000 (EST)
From:      Chris Knight <chris@aims.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51712: [MAINTAINER UPDATE] databases/firebird: unbreak build
Message-ID:  <200305030447.h434l1TC016955@ait0fd01.aims.private>
Resent-Message-ID: <200305030450.h434o7X5057288@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         51712
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] databases/firebird: unbreak build
>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 May 02 21:50:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Knight
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
AIMS Independent Computer Professionals
>Environment:
System: FreeBSD ait0fd01.aims.private 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Mon Apr 7 13:30:25 EST 2003 root@ait0fd01.aims.private:/var/obj/usr/src/sys/THINKPAD i386

>Description:
Unbreak build of firebird by removing the creation of the symlink in
/usr/interbase

>How-To-Repeat:
cd /usr/ports/databases/firebird
make all

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/firebird/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	5 Apr 2003 05:13:32 -0000	1.17
+++ Makefile	6 Apr 2003 07:52:36 -0000
@@ -18,8 +18,6 @@
 MAINTAINER=	chris@aims.com.au
 COMMENT=	The open-source InterBase(tm) 6.0 spin-off (Classic version)
 
-BROKEN=		"Installs files in /usr/interbase"
-
 WRKSRC=		${WRKDIR}/firebird-1.0.2.908
 INSTALLS_SHLIB=	yes
 LDCONFIG_DIRS=	%%PREFIX%%/firebird/lib
Index: pkg-install
===================================================================
RCS file: /home/ncvs/ports/databases/firebird/pkg-install,v
retrieving revision 1.5
diff -u -r1.5 pkg-install
--- pkg-install	11 Nov 2002 17:23:48 -0000	1.5
+++ pkg-install	6 Apr 2003 10:11:29 -0000
@@ -10,16 +10,6 @@
 	mv $PKG_PREFIX/firebird $PKG_PREFIX/firebird.old
 fi
 
-if [ -L /usr/interbase ]; then
-	rm -f /usr/interbase
-fi
-
-if [ -d /usr/interbase ]; then
-	mv /usr/interbase /usr/interbase.old
-fi
-
-ln -fs $PKG_PREFIX/firebird /usr/interbase
-
 if [ `id -u` -ne 0 ]; then
 	echo; echo "You must be root to run this step!"; echo; echo
   exit 1
@@ -140,7 +130,7 @@
 gds_db		 3050/tcp  #InterBase Database Remote Protocol
 EOF
 cat >>/etc/inetd.conf <<EOF
-gds_db	stream	tcp	nowait	firebird	/usr/interbase/bin/gds_inet_server  gds_inet_server
+gds_db	stream	tcp	nowait	firebird	$PKG_PREFIX/firebird/bin/gds_inet_server  gds_inet_server
 EOF
 if [ -f /var/run/inetd.pid ]; then
 	kill -HUP `cat /var/run/inetd.pid`
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/databases/firebird/pkg-message,v
retrieving revision 1.1
diff -u -r1.1 pkg-message
--- pkg-message	10 Mar 2001 20:32:33 -0000	1.1
+++ pkg-message	3 May 2003 04:29:16 -0000
@@ -1,14 +1,18 @@
 
 ---------------------------------------------------------
-Firebird is now installed.  There is a symbolic link from
-/usr/interbase -> %%PREFIX%%/firebird.  Firebird needs this
-link for proper operation.
+Firebird is now installed.  A symbolic link from
+/usr/interbase -> %%PREFIX%%/firebird is REQUIRED for
+proper operation of Firebird.
+
+The symbolic link can be created with:
+
+% ln -s %%PREFIX%%/firebird /usr/interbase
 
 It is STRONGLY recommended that you change the SYSDBA
 password with:
 
-$ cd /usr/interbase
-$ gsec -user SYSDBA -pass masterkey
+% cd %%PREFIX%%/firebird
+% gsec -user SYSDBA -pass masterkey
 GSEC> modify SYSDBA -pw newpassword
 GSEC> quit
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305030447.h434l1TC016955>