diff options
author | petef <petef@FreeBSD.org> | 2003-05-11 11:18:17 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-05-11 11:18:17 +0800 |
commit | f2f0e9bdc169aaea5c518bdd14999362d657be59 (patch) | |
tree | 99a214abe81ac6afbe50bef7bda701c5be3ef395 /databases/firebird20-server | |
parent | 1df9b391995cd87f2c522d475e83a9d4ad42c679 (diff) | |
download | freebsd-ports-graphics-f2f0e9bdc169aaea5c518bdd14999362d657be59.tar.gz freebsd-ports-graphics-f2f0e9bdc169aaea5c518bdd14999362d657be59.tar.zst freebsd-ports-graphics-f2f0e9bdc169aaea5c518bdd14999362d657be59.zip |
- 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/firebird20-server')
-rw-r--r-- | databases/firebird20-server/Makefile | 2 | ||||
-rw-r--r-- | databases/firebird20-server/pkg-install | 12 | ||||
-rw-r--r-- | databases/firebird20-server/pkg-message | 14 |
3 files changed, 10 insertions, 18 deletions
diff --git a/databases/firebird20-server/Makefile b/databases/firebird20-server/Makefile index 3e4f87d5e47..c6d4c5075de 100644 --- a/databases/firebird20-server/Makefile +++ b/databases/firebird20-server/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/firebird20-server/pkg-install b/databases/firebird20-server/pkg-install index 6fd18e94bd2..cdce584c48a 100644 --- a/databases/firebird20-server/pkg-install +++ b/databases/firebird20-server/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/firebird20-server/pkg-message b/databases/firebird20-server/pkg-message index f15892a06aa..622721f9836 100644 --- a/databases/firebird20-server/pkg-message +++ b/databases/firebird20-server/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 |