View | Details | Raw Unified | Return to bug 51712
Collapse All | Expand All

(-)Makefile (-2 lines)
Lines 18-25 Link Here
18
MAINTAINER=	chris@aims.com.au
18
MAINTAINER=	chris@aims.com.au
19
COMMENT=	The open-source InterBase(tm) 6.0 spin-off (Classic version)
19
COMMENT=	The open-source InterBase(tm) 6.0 spin-off (Classic version)
20
20
21
BROKEN=		"Installs files in /usr/interbase"
22
23
WRKSRC=		${WRKDIR}/firebird-1.0.2.908
21
WRKSRC=		${WRKDIR}/firebird-1.0.2.908
24
INSTALLS_SHLIB=	yes
22
INSTALLS_SHLIB=	yes
25
LDCONFIG_DIRS=	%%PREFIX%%/firebird/lib
23
LDCONFIG_DIRS=	%%PREFIX%%/firebird/lib
(-)pkg-install (-11 / +1 lines)
Lines 10-25 Link Here
10
	mv $PKG_PREFIX/firebird $PKG_PREFIX/firebird.old
10
	mv $PKG_PREFIX/firebird $PKG_PREFIX/firebird.old
11
fi
11
fi
12
12
13
if [ -L /usr/interbase ]; then
14
	rm -f /usr/interbase
15
fi
16
17
if [ -d /usr/interbase ]; then
18
	mv /usr/interbase /usr/interbase.old
19
fi
20
21
ln -fs $PKG_PREFIX/firebird /usr/interbase
22
23
if [ `id -u` -ne 0 ]; then
13
if [ `id -u` -ne 0 ]; then
24
	echo; echo "You must be root to run this step!"; echo; echo
14
	echo; echo "You must be root to run this step!"; echo; echo
25
  exit 1
15
  exit 1
Lines 140-146 Link Here
140
gds_db		 3050/tcp  #InterBase Database Remote Protocol
130
gds_db		 3050/tcp  #InterBase Database Remote Protocol
141
EOF
131
EOF
142
cat >>/etc/inetd.conf <<EOF
132
cat >>/etc/inetd.conf <<EOF
143
gds_db	stream	tcp	nowait	firebird	/usr/interbase/bin/gds_inet_server  gds_inet_server
133
gds_db	stream	tcp	nowait	firebird	$PKG_PREFIX/firebird/bin/gds_inet_server  gds_inet_server
144
EOF
134
EOF
145
if [ -f /var/run/inetd.pid ]; then
135
if [ -f /var/run/inetd.pid ]; then
146
	kill -HUP `cat /var/run/inetd.pid`
136
	kill -HUP `cat /var/run/inetd.pid`
(-)pkg-message (-5 / +9 lines)
Lines 1-14 Link Here
1
1
2
---------------------------------------------------------
2
---------------------------------------------------------
3
Firebird is now installed.  There is a symbolic link from
3
Firebird is now installed.  A symbolic link from
4
/usr/interbase -> %%PREFIX%%/firebird.  Firebird needs this
4
/usr/interbase -> %%PREFIX%%/firebird is REQUIRED for
5
link for proper operation.
5
proper operation of Firebird.
6
7
The symbolic link can be created with:
8
9
% ln -s %%PREFIX%%/firebird /usr/interbase
6
10
7
It is STRONGLY recommended that you change the SYSDBA
11
It is STRONGLY recommended that you change the SYSDBA
8
password with:
12
password with:
9
13
10
$ cd /usr/interbase
14
% cd %%PREFIX%%/firebird
11
$ gsec -user SYSDBA -pass masterkey
15
% gsec -user SYSDBA -pass masterkey
12
GSEC> modify SYSDBA -pw newpassword
16
GSEC> modify SYSDBA -pw newpassword
13
GSEC> quit
17
GSEC> quit

Return to bug 51712