summaryrefslogtreecommitdiff
path: root/databases/firebird-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/firebird-devel/files')
-rw-r--r--databases/firebird-devel/files/RELNOTES79
-rw-r--r--databases/firebird-devel/files/patch-builds::install::arch-specific::freebsd::install.sh.in112
-rw-r--r--databases/firebird-devel/files/patch-builds::posix::prefix.freebsd11
-rw-r--r--databases/firebird-devel/files/pkg-install.in138
-rw-r--r--databases/firebird-devel/files/pkg-message.in35
5 files changed, 0 insertions, 375 deletions
diff --git a/databases/firebird-devel/files/RELNOTES b/databases/firebird-devel/files/RELNOTES
deleted file mode 100644
index 78b29d6a2a54..000000000000
--- a/databases/firebird-devel/files/RELNOTES
+++ /dev/null
@@ -1,79 +0,0 @@
-Firebird 1.0-RC1 FreeBSD Release Notes 06-Dec-2001
---------------------------------------
-FB-T6.2.567 Firebird Release Candidate 1
-
-Welcome to the FreeBSD Firebird port! Users should note that there
-was a package called `firebird-1.0.tgz' released in mid-August
-2000. Unfortunately, that package was released before Firebird
-version numbering conventions were established, so although the
-version number would suggest that it is newer than the current
-release, it is certainly not. Users of the August 1.0 package
-should upgrade to 0.9_4 or later, which has fixed many bugs and
-security problems, including the recently-discovered back door.
-
- Firebird originally required a running copy of Firebird (or
-InterBase) in order to build itself. This port uses a boot kit to
-overcome that, so that it does not require itself to build.
-Unfortunately, the side effect of this is that if you have a lock
-manager running from an already-installed version of Firebird or
-InterBase, this port will not build.
-
- Firebird is installed SUID with owner and group `firebird'.
-This does affect where you can and cannot create databases when
-connecting remotely, as well as which existing databases you can
-access. If you want a database to be available remotely, be sure
-it's readable and writeable to group firebird.
-
- There may be times when you manage to get your system into a
-state where using any of the Firebird utilites (isql, gbak, gsec,
-etc.) gives you the message "semget failed". One surefire way to
-do this is to build and install the port. :) If this happens,
-make sure that the lock manager is not running and its semaphores
-have been removed. The former can be accomplished with 'ps ax
-|grep gds' and 'kill'; the latter with 'ipcs -s' and 'ipcrm -s'.
-
- For example, after building and installing the port, you will
-probably go through something like this:
-
-# isql /usr/interbase/isc4.gdb
-Statement failed, SQLCODE = -902
-
-operating system directive semget failed
--No such file or directory
-
-# ipcs -s
-Semaphores:
-T ID KEY MODE OWNER GROUP
-s 1310720 252034728 --rw-rw-rw- root wheel
-
-# ipcrm -s 1310720
-
-and you should be in business.
-
- Once this is done, you should be able to connect normally to
-databases. Your first connection will restart the lock manager.
-
- There may be times, however, when you still get "semget failed"
-even though the lock manager is not running and the semaphores have
-been cleaned up. There seems to be a conflict with this release
-and the PostgreSQL 7 release as installed from the ports collection.
-If you're having trouble with Firebird and you're running PostgreSQL,
-try stopping PostgreSQL:
-
- /usr/local/etc/rc.d/pgsql.sh stop
-
-and see if that helps.
-
- Complete documentation for InterBase(tm) is available (free of
-charge) from http://www.interbase.com/ in PDF format. While
-InterBase and Firebird are two distinct entities, all InterBase
-documentation is pertinent to Firebird. More information on Firebird
-and InterBase can be found at the following:
-
- http://sourceforge.net/projects/firebird/
- http://www.ibphoenix.com/
- http://www.interbase2000.org/
- http://www.firebirdsql.org/
-
-Chris Knight
-<chris@aims.com.au>
diff --git a/databases/firebird-devel/files/patch-builds::install::arch-specific::freebsd::install.sh.in b/databases/firebird-devel/files/patch-builds::install::arch-specific::freebsd::install.sh.in
deleted file mode 100644
index 54823e8859f7..000000000000
--- a/databases/firebird-devel/files/patch-builds::install::arch-specific::freebsd::install.sh.in
+++ /dev/null
@@ -1,112 +0,0 @@
---- builds/install/arch-specific/freebsd/install.sh.in.orig Fri May 27 19:14:45 2005
-+++ builds/install/arch-specific/freebsd/install.sh.in Mon Aug 8 15:50:33 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
-@@ -113,13 +106,12 @@
-
- mkdir -p $DestDir
- mkdir $DestDir/bin
--mkdir $DestDir/examples
- mkdir $DestDir/help
- mkdir $DestDir/include
- mkdir $DestDir/intl
- mkdir $DestDir/lib
--mkdir $DestDir/doc
--mkdir $DestDir/doc/sql.extensions
-+#mkdir $DestDir/doc
-+#mkdir $DestDir/doc/sql.extensions
- mkdir $DestDir/UDF
- #mkdir $DestDir/misc
-
-@@ -143,18 +135,6 @@
- #cp $BuiltFBDir/bin/CSrestoreRootRunUser.sh $DestDir/bin
- #cp $BuiltFBDir/bin/changeDBAPassword.sh $DestDir/bin
-
--# Copy examples only if we have them
--
--exampleFiles=`find $BuiltFBDir/examples/v5 -type f -print`
--if [ -z "$exampleFiles" ]; then
-- echo "Example files have not been built!"
--else
-- for i in $exampleFiles
-- do
-- cp $i $DestDir/examples
-- done
--fi
--
- copyIfExists $BuiltFBDir/help/help.gbak $DestDir/help
- cp $BuiltFBDir/help/help.fdb $DestDir/help
-
-@@ -184,8 +164,8 @@
-
- # Note that this copies files from outside the build tree.
- #cp $BuildRootDir/doc/*.pdf $DestDir/doc
--cp $BuildRootDir/doc/README.* $DestDir/doc
--cp $BuildRootDir/doc/sql.extensions/* $DestDir/doc/sql.extensions
-+#cp $BuildRootDir/doc/README.* $DestDir/doc
-+#cp $BuildRootDir/doc/sql.extensions/* $DestDir/doc/sql.extensions
- cp $BuildRootDir/doc/WhatsNew $DestDir/WhatsNew
- cp $BuildRootDir/doc/README.user $DestDir/README
-
-@@ -219,11 +199,11 @@
- chown -R root:wheel $InstallFirebirdPrefix/lib
-
- # make the following read-only
--chmod -R a=r $InstallFirebirdPrefix/WhatsNew
--for i in `find $InstallFirebirdPrefix/doc -type f -print`
--do
-- chmod a=r $i
--done
-+#chmod -R a=r $InstallFirebirdPrefix/WhatsNew
-+#for i in `find $InstallFirebirdPrefix/doc -type f -print`
-+#do
-+# chmod a=r $i
-+#done
- #chmod -R a=r $InstallFirebirdPrefix/examples/*
- chmod -R a=r $InstallFirebirdPrefix/include/*
- chmod -R a=r $InstallFirebirdPrefix/intl/*
-@@ -276,32 +256,12 @@
-
- # make databases writable by firebird only
- # local database connections are not a good idea
--chmod ug=rw,o= examples/*.fdb
- chmod ug=rw,o= help/*.fdb
-
- # install the samples if they don't exist
- [ -f aliases.conf ] || install -o firebird -g firebird -m 440 aliases.conf.sample aliases.conf
- [ -f firebird.conf ] || install -o firebird -g firebird -m 440 firebird.conf.sample firebird.conf
- [ -f security2.fdb ] || install -o firebird -g firebird -m 660 security2.fdb.sample security2.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 <<EOF
--gds_db 3050/tcp #InterBase Database Remote Protocol
--EOF
--cat >>/etc/inetd.conf <<EOF
--gds_db stream tcp nowait firebird $InstallFirebirdPrefix/bin/fb_inet_server fb_inet_server
--EOF
--if [ -f /var/run/inetd.pid ]; then
-- kill -HUP `cat /var/run/inetd.pid`
--fi
-
- # shared lib startup script
- if [ -d $InstallPrefix/etc/rc.d ]; then
diff --git a/databases/firebird-devel/files/patch-builds::posix::prefix.freebsd b/databases/firebird-devel/files/patch-builds::posix::prefix.freebsd
deleted file mode 100644
index b327c257885a..000000000000
--- a/databases/firebird-devel/files/patch-builds::posix::prefix.freebsd
+++ /dev/null
@@ -1,11 +0,0 @@
---- builds/posix/prefix.freebsd.orig Mon Aug 8 12:08:47 2005
-+++ builds/posix/prefix.freebsd Mon Aug 8 12:10:25 2005
-@@ -20,6 +20,8 @@
-
- OS_ServerFiles=inet_server.cpp
-
-+LINK_OPTS+=-Wl,-rpath,../gen/firebird/lib
-+
- PROD_FLAGS=-O -fno-builtin -DNDEBUG -DFREEBSD -pipe -MMD -fPIC
- DEV_FLAGS=-ggdb -DFREEBSD -pipe -MMD -p -fPIC -Wall
- EMBED_UTIL_TARGETS=gstat gds_drop gds_relay gsec nbackup fb_lock_print
diff --git a/databases/firebird-devel/files/pkg-install.in b/databases/firebird-devel/files/pkg-install.in
deleted file mode 100644
index 6e86be04a227..000000000000
--- a/databases/firebird-devel/files/pkg-install.in
+++ /dev/null
@@ -1,138 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD: /tmp/pcvs/ports/databases/firebird-devel/files/Attic/pkg-install.in,v 1.2 2006-07-19 15:39:52 garga Exp $
-
-PATH=/bin:/usr/bin:/usr/sbin
-
-case $2 in
-PRE-INSTALL)
-
-if [ `id -u` -ne 0 ]; then
- echo; echo "You must be root to run this step!"; echo; echo
- exit 1
-fi
-
-nofbuid=0
-fbUID=`id -u firebird 2>/dev/null`
-if [ $? -ne 0 ]; then
- fbUID=90
- while [ ! -z `id -un $fbUID 2>/dev/null` ]
- do
- fbUID=$(($fbUID+1))
- done
- nofbuid=1
-fi
-
-fbGID=`pw groupshow firebird 2>/dev/null`
-if [ $? -ne 0 ]; then
- fbGID=90
- while [ ! -z `id -gn $fbGID 2>/dev/null` ]
- do
- fbGID=$(($fbGID+1))
- done
- echo "firebird:*:$fbGID:" >> /etc/group
-else
- fbGID=`echo $fbGID | awk -F: '{print $3}'`
-fi
-
-echo "firebird user using uid $fbUID"
-echo "firebird user using gid $fbGID"
-
-if which -s pw; then
- if [ $nofbuid -ne 0 ]; then
- pw useradd firebird -u $fbUID -g $fbGID -h - -s /bin/sh \
- -d $PKG_PREFIX/firebird -c "Firebird Database Administrator"
- fi
-else
- echo -n "unable to create user firebird - please create it manually,"
- echo " before reinstalling this package."
- exit 1
-fi
-;;
-
-POST-INSTALL)
-chown -R firebird:firebird $PKG_PREFIX/firebird
-chmod -R o= $PKG_PREFIX/firebird
-
-# Now fix up the mess.
-
-# fix up directories
-for i in `find $PKG_PREFIX/firebird -print`
-do
- FileName=$i
- if [ -d $FileName ]; then
- chmod u=rwx,go=rx $FileName
- fi
-done
-
-# make lib ldconfig-compatible
-chown -R root:wheel $PKG_PREFIX/firebird/lib
-
-# make the following read-only
-chmod -R a=r $PKG_PREFIX/firebird/WhatsNew
-for i in `find $PKG_PREFIX/firebird/doc -type f -print`
-do
- chmod a=r $i
-done
-#chmod -R a=r $PKG_PREFIX/firebird/examples/*
-chmod -R a=r $PKG_PREFIX/firebird/include/*
-chmod -R a=r $PKG_PREFIX/firebird/intl/*
-#chmod -R a=r $PKG_PREFIX/firebird/misc/*
-
-chmod -R ug=rx,o= $PKG_PREFIX/firebird/UDF/*
-chmod -R ug=rx,o= $PKG_PREFIX/firebird/intl/fbintl
-chmod -R a=rx $PKG_PREFIX/firebird/lib/*
-
-#cd $PKG_PREFIX/firebird/lib
-#ln -sf libfbembed.so libgds.so
-#ln -sf libfbembed.so.2 libgds.so.2
-
-cd $PKG_PREFIX/firebird/bin
-for i in `ls`
-do
- chmod ug=rx,o= $i
-done
-
-chmod a=rx isql qli
-
-# SUID is needed for running server programs.
-for i in fb_lock_mgr gds_drop fb_inet_server
-do
- if [ -f $i ]; then
- chmod ug=rx,o= $i
- chmod ug+s $i
- fi
-done
-
-
-cd $PKG_PREFIX/firebird
-
-# Lock files
-
-for i in isc_init1 isc_lock1 isc_event1
-do
- FileName=$i.`hostname`
- touch $FileName
- chmod uga=rw $FileName
- chown firebird:firebird $FileName
-done
-
-touch firebird.log
-chown firebird:firebird firebird.log
-chmod ug=rw,o= firebird.log
-chmod a=r firebird.msg README
-chown root:wheel *.sample
-chmod ug=r,o= *.sample
-
-# make databases writable by firebird only
-# local database connections are not a good idea
-#chmod ug=rw,o= examples/*.fdb
-chmod ug=rw,o= help/*.fdb
-chmod ug=rw,o= security2.fdb
-
-chmod 444 aliases.conf firebird.conf
-chmod 660 security2.fdb
-
-;;
-
-esac
diff --git a/databases/firebird-devel/files/pkg-message.in b/databases/firebird-devel/files/pkg-message.in
deleted file mode 100644
index 64888f8271f4..000000000000
--- a/databases/firebird-devel/files/pkg-message.in
+++ /dev/null
@@ -1,35 +0,0 @@
-
----------------------------------------------------------
-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%%/firebird/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:
-
-% ln -s %%PREFIX%% /usr/interbase
-
-It is STRONGLY recommended that you change the SYSDBA
-password with:
-
-% cd %%PREFIX%%
-% gsec -user SYSDBA -pass masterkey
-GSEC> modify SYSDBA -pw newpassword
-GSEC> quit
-
-before doing anything serious with Firebird.
-
-See %%PREFIX%%/firebird/RELNOTES for more.
----------------------------------------------------------
-