diff options
author | petef <petef@FreeBSD.org> | 2003-05-11 03:18:17 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-05-11 03:18:17 +0000 |
commit | f2f0e9bdc169aaea5c518bdd14999362d657be59 (patch) | |
tree | 99a214abe81ac6afbe50bef7bda701c5be3ef395 /databases/firebird | |
parent | 1df9b391995cd87f2c522d475e83a9d4ad42c679 (diff) | |
download | FreeBSD-ports-f2f0e9bdc169aaea5c518bdd14999362d657be59.zip FreeBSD-ports-f2f0e9bdc169aaea5c518bdd14999362d657be59.tar.gz |
- unbreak: fix pkg-install not to create a /usr/interbase symlink
- strongly suggest manually creating the symlink in pkg-message
PR: 51712
Submitted by: maintainer
Diffstat (limited to 'databases/firebird')
-rw-r--r-- | databases/firebird/Makefile | 2 | ||||
-rw-r--r-- | databases/firebird/pkg-install | 12 | ||||
-rw-r--r-- | databases/firebird/pkg-message | 14 |
3 files changed, 10 insertions, 18 deletions
diff --git a/databases/firebird/Makefile b/databases/firebird/Makefile index 3e4f87d..c6d4c50 100644 --- a/databases/firebird/Makefile +++ b/databases/firebird/Makefile @@ -18,8 +18,6 @@ DISTFILES= bootkit-1.0.2.908.tar.gz \ 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 diff --git a/databases/firebird/pkg-install b/databases/firebird/pkg-install index 6fd18e9..cdce584 100644 --- a/databases/firebird/pkg-install +++ b/databases/firebird/pkg-install @@ -10,16 +10,6 @@ if [ -d $PKG_PREFIX/firebird ]; then 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 @@ cat >>/etc/services <<EOF 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` diff --git a/databases/firebird/pkg-message b/databases/firebird/pkg-message index f15892a..622721f 100644 --- a/databases/firebird/pkg-message +++ b/databases/firebird/pkg-message @@ -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 |