diff options
Diffstat (limited to 'databases/firebird20-server')
-rw-r--r-- | databases/firebird20-server/Makefile | 109 | ||||
-rw-r--r-- | databases/firebird20-server/distinfo | 3 | ||||
-rw-r--r-- | databases/firebird20-server/files/RELNOTES | 86 | ||||
-rw-r--r-- | databases/firebird20-server/files/buildit.sh | 3 | ||||
-rw-r--r-- | databases/firebird20-server/files/patch-ae | 11 | ||||
-rw-r--r-- | databases/firebird20-server/files/patch-af | 13 | ||||
-rw-r--r-- | databases/firebird20-server/files/patch-ag | 11 | ||||
-rw-r--r-- | databases/firebird20-server/files/patch-builds::original::boot.sfx.interbase | 29 | ||||
-rw-r--r-- | databases/firebird20-server/files/patch-builds::original::edit_make | 32 | ||||
-rw-r--r-- | databases/firebird20-server/files/patch-builds::original::platform | 13 | ||||
-rw-r--r-- | databases/firebird20-server/files/patch-builds::original::prefix.freebsd | 11 | ||||
-rw-r--r-- | databases/firebird20-server/pkg-descr | 24 | ||||
-rw-r--r-- | databases/firebird20-server/pkg-install | 157 | ||||
-rw-r--r-- | databases/firebird20-server/pkg-message | 19 | ||||
-rw-r--r-- | databases/firebird20-server/pkg-plist | 111 |
15 files changed, 0 insertions, 632 deletions
diff --git a/databases/firebird20-server/Makefile b/databases/firebird20-server/Makefile deleted file mode 100644 index c6d4c5075de0..000000000000 --- a/databases/firebird20-server/Makefile +++ /dev/null @@ -1,109 +0,0 @@ -# New ports collection makefile for: Firebird -# Date created: 20 December 2000 -# Whom: Geoffrey C. Speicher <geoff@sea-incorporated.com> -# -# $FreeBSD$ -# - -PORTNAME= firebird -PORTVERSION= 1.0.2 -CATEGORIES= databases -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - http://www.aims.com.au/chris/firebird/ -MASTER_SITE_SUBDIR=firebird -DISTFILES= bootkit-1.0.2.908.tar.gz \ - interbase0.9-4-v5examples.tar.gz \ - Firebird-1.0.2.908.src.tar.gz - -MAINTAINER= chris@aims.com.au -COMMENT= The open-source InterBase(tm) 6.0 spin-off (Classic version) - -WRKSRC= ${WRKDIR}/firebird-1.0.2.908 -INSTALLS_SHLIB= yes -LDCONFIG_DIRS= %%PREFIX%%/firebird/lib -MSG_FILE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message -USE_REINPLACE= yes - -ONLY_FOR_ARCHS= i386 - -.include <bsd.port.pre.mk> - -pre-everything:: - @${ECHO_MSG} "NOTE: If the work directory is on an NFS mount, you will" - @${ECHO_MSG} "require NFS client locking support for the build to" - @${ECHO_MSG} "succeed. Currently this is only available on FreeBSD 5.0" - @${ECHO_MSG} "or greater." -.if !defined(BATCH) - @sleep 5 -.endif - -do-extract: - @${MKDIR} ${WRKDIR} - @( \ - cd ${WRKDIR}; ${TAR} -zxf \ - ${DISTDIR}/Firebird-1.0.2.908.src.tar.gz; \ - cd firebird-1.0.2.908; \ - ${TAR} -zxf ${DISTDIR}/bootkit-1.0.2.908.tar.gz; \ - ${CP} -f msgs/msg.gbak misc/msg.gbak \ - ) - -post-patch: - @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE} -.if ${OSVERSION} >= 430001 && ${OSVERSION} < 500000 || ${OSVERSION} >= 500016 - @${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \ - ${WRKSRC}/builds/original/prefix.freebsd -.else - @${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c -.endif - -do-configure: - @( \ - cd ${WRKDIR}/firebird-1.0.2.908; \ - INTERBASE=${WRKDIR}/firebird-1.0.2.908/interbase; export INTERBASE; \ - REFDBPATH=${WRKDIR}/firebird-1.0.2.908/refDatabases; export REFDBPATH; \ - NOPROMPT_SETUP=yes; export NOPROMPT_SETUP; \ - FIREBIRD_64_BIT_IO=yes; export FIREBIRD_64_BIT_IO; \ - ${SH} Configure.sh PROD FREEBSD; \ - ) - -do-build: - @( \ - ${REINPLACE_CMD} -e 's,opt,usr,' \ - ${WRKSRC}/firebird/install/linux/misc/ibmgr; \ - ${LN} -sf ${WRKDIR}/firebird-1.0.2.908/refDatabases/jrd/isc.gdb \ - ${WRKDIR}/firebird-1.0.2.908/interbase/isc4.gdb; \ - ${LN} -sf ${WRKDIR}/firebird-1.0.2.908/refDatabases/msgs/msg.gdb \ - ${WRKDIR}/firebird-1.0.2.908/msg.gdb; \ - cd ${WRKDIR}/firebird-1.0.2.908; \ - INTERBASE=${WRKDIR}/firebird-1.0.2.908/interbase; export INTERBASE; \ - REFDBPATH=${WRKDIR}/firebird-1.0.2.908/refDatabases; export REFDBPATH; \ - ${CP} ${PKGDIR}/files/buildit.sh ${WRKDIR}/firebird-1.0.2.908; \ - ${SH} buildit.sh; \ - ) - -pre-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -do-install: - @( \ - cd ${WRKDIR}/firebird-1.0.2.908; \ - ${RM} ${WRKDIR}/firebird-1.0.2.908/interbase/isc4_tmp.gdb || ${TRUE}; \ - ${RM} ${WRKDIR}/firebird-1.0.2.908/interbase/lib/gds.so.1 || ${TRUE}; \ - ${TOUCH} interbase/interbase.log; \ - ${CP} -Rp interbase ${PREFIX}/firebird; \ - ${RM} ${PREFIX}/firebird/install; \ - ${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \ - ${RM} ${PREFIX}/firebird/lib/libgds_pyxis.a; \ - ${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \ - cd ${PREFIX}/firebird/examples; \ - ${TAR} -xzf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \ - ${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/; \ - ${CP} ${WRKSRC}/firebird/install/linux/misc/ibmgr \ - ${PREFIX}/firebird/bin; \ - ) - -post-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - -.include <bsd.port.post.mk> diff --git a/databases/firebird20-server/distinfo b/databases/firebird20-server/distinfo deleted file mode 100644 index 349366a11efb..000000000000 --- a/databases/firebird20-server/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (bootkit-1.0.2.908.tar.gz) = 3ce1d058d568242843fa0f92d5ae7018 -MD5 (interbase0.9-4-v5examples.tar.gz) = 17cba82bbf5066d515f2dee97bf8327a -MD5 (Firebird-1.0.2.908.src.tar.gz) = 8ca9aac6cfe2670659d00bb2decb3456 diff --git a/databases/firebird20-server/files/RELNOTES b/databases/firebird20-server/files/RELNOTES deleted file mode 100644 index 607bc697877a..000000000000 --- a/databases/firebird20-server/files/RELNOTES +++ /dev/null @@ -1,86 +0,0 @@ -Firebird 1.0.2 FreeBSD Release Notes 05-Jan-2003 --------------------------------------- -FB-T6.2.908 Firebird Final Release - -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. - - Super Server support has recently been added. However, there is -anecdotal evidence that it is not as reliable nor as scalable as the -Classic Server version. For this reason, I have not included a -start up method for Super Server. For those that are interested, -traversing to /usr/interbase/misc will find the startup scripts for -the various flavours of Linux. - - 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/firebird20-server/files/buildit.sh b/databases/firebird20-server/files/buildit.sh deleted file mode 100644 index d48627c0e21e..000000000000 --- a/databases/firebird20-server/files/buildit.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -. Configure_SetupEnv.sh -make super_firebird diff --git a/databases/firebird20-server/files/patch-ae b/databases/firebird20-server/files/patch-ae deleted file mode 100644 index 1e857e24cd6e..000000000000 --- a/databases/firebird20-server/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- jrd/common.h.orig Wed Nov 13 11:44:27 2002 -+++ jrd/common.h Sun Jan 5 16:49:05 2003 -@@ -204,7 +204,7 @@ - #define I386 1 - #define VAX 1 - #define IMPLEMENTATION isc_info_db_impl_freebsd /* 61 */ --#define SETPGRP setpgrp () -+#define SETPGRP setpgrp (0, 0) - #define ATEXIT(c) atexit(c) - - #define QUADFORMAT "ll" diff --git a/databases/firebird20-server/files/patch-af b/databases/firebird20-server/files/patch-af deleted file mode 100644 index 7ce937566bc3..000000000000 --- a/databases/firebird20-server/files/patch-af +++ /dev/null @@ -1,13 +0,0 @@ ---- jrd/enc.c.orig Fri Aug 4 06:50:03 2000 -+++ jrd/enc.c Sun Nov 18 19:17:19 2001 -@@ -31,6 +31,10 @@ - * - **************************************/ - -+#ifdef FREEBSD -+crypt_set_format("des"); -+#endif -+ - return CRYPT_FUNC( string, salt); - } - #endif diff --git a/databases/firebird20-server/files/patch-ag b/databases/firebird20-server/files/patch-ag deleted file mode 100644 index a4768621e878..000000000000 --- a/databases/firebird20-server/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- Configure.sh.orig Tue Nov 20 05:00:25 2001 -+++ Configure.sh Fri Dec 28 19:11:50 2001 -@@ -515,7 +515,7 @@ - BuildBootFlg="No" - BuildHostType="" - BuildBuildType="PROD" --MasterSourceDir="`pwd`/refDatabases" -+MasterSourceDir="$REFDBPATH" - BuildIOsize=32 - - export BuildHostType diff --git a/databases/firebird20-server/files/patch-builds::original::boot.sfx.interbase b/databases/firebird20-server/files/patch-builds::original::boot.sfx.interbase deleted file mode 100644 index 332ce0cdf136..000000000000 --- a/databases/firebird20-server/files/patch-builds::original::boot.sfx.interbase +++ /dev/null @@ -1,29 +0,0 @@ ---- builds/original/boot.sfx.interbase.orig Sun Oct 13 17:12:41 2002 -+++ builds/original/boot.sfx.interbase Fri Jan 10 10:34:43 2003 -@@ -70,7 +70,7 @@ - #added completed according to inprise tree - #FSG 093000 - --firebird: gds.h includes fireboot run_codes executables help msgs msgs_intl extlib examples completed -+firebird: gds.h includes fireboot run_codes executables help msgs msgs_intl extlib completed - - # burp wanted to build gpre - # we break this dependency -@@ -169,7 +169,7 @@ - $(SUPER_SERVER) qli remote spit utilities \ - $(SHARED_AM) $(LINKABLE_LIBS) - --super_firebird: gds.h includes fireboot super_targets dudley superMiscFiles $(INTL) isql locks qli remote spit help msgs msgs_intl dba gfix gsec security_db extlib examples completed -+super_firebird: gds.h includes fireboot super_targets dudley superMiscFiles $(INTL) isql locks qli remote spit help msgs msgs_intl dba gfix gsec security_db extlib completed - - super_targets: s_run_codes s_alice s_burp s_dba s_security_c super_client super_server super_utils - -@@ -199,7 +199,7 @@ - - super_client: force - $(QUIET_ECHO) "Building super/client..." -- $(SH) '$(CD) source/super/client; $(MAKE) CFLAGS="$(CFLAGS) -DSUPERCLIENT" SYSTEM="$(SYSTEM)" super_client' -+ $(SH) '$(CD) source/super/client; $(MAKE) SYSTEM="$(SYSTEM)" super_client' - - csu gcsu: $(ACCESS_METHOD) force - $(QUIET_ECHO) "Building GCSU..." diff --git a/databases/firebird20-server/files/patch-builds::original::edit_make b/databases/firebird20-server/files/patch-builds::original::edit_make deleted file mode 100644 index d107078c7a59..000000000000 --- a/databases/firebird20-server/files/patch-builds::original::edit_make +++ /dev/null @@ -1,32 +0,0 @@ ---- builds/original/edit_make.orig Fri Aug 4 06:42:41 2000 -+++ builds/original/edit_make Sat Nov 9 16:06:59 2002 -@@ -16,13 +16,25 @@ - # Contributor(s): ______________________________________. - if [ "$SYS_TYPE" != "NOLINK_OS" -a "$1" != "WIN_NT" -a "$1" != "OS2" -a $1 != 'WIN_NTS' ]; then - if [ "$3" = "make.client" ]; then -- sed -e "s/\$(SUPER_FLAG)/-DSUPERCLIENT/g" \ -- -e "s/\$(SYSTEM)/$1/g" \ -- -e "s/\$(VERSION)/$2/g" \ -- -e "s?\$(DB_DIR)?$DB_DIR?g" $3 > $4 -+ if [ "$FBBUILDHACK" = "FREEBSD" ]; then -+ sed -e "s/\$(SUPER_FLAG)/-DSUPERCLIENT -D_REENTRANT -D_THREAD_SAFE/g" \ -+ -e "s/\$(SYSTEM)/$1/g" \ -+ -e "s/\$(VERSION)/$2/g" \ -+ -e "s?\$(DB_DIR)?$DB_DIR?g" $3 > $4 -+ else -+ sed -e "s/\$(SUPER_FLAG)/-DSUPERCLIENT/g" \ -+ -e "s/\$(SYSTEM)/$1/g" \ -+ -e "s/\$(VERSION)/$2/g" \ -+ -e "s?\$(DB_DIR)?$DB_DIR?g" $3 > $4 -+ fi - elif [ "$3" = "make.dsql_ss" -o "$3" = "make.intl_ss" -o "$3" = "make.journal_ss" -o "$3" = "make.jrd_ss" -o "$3" = "make.lock_ss" -o "$3" = "make.remote_ss" -o "$3" = "make.wal_ss" -o "$3" = "make.burp_ss" -o "$3" = "make.alice_ss" -o "$3" = "make.utilities_ss" ]; then - if [ "$1" = "HP10" -o "$1" = "LINUX" ]; then - sed -e "s/\$(SUPER_FLAG)/-DSUPERSERVER -D_REENTRANT/g" \ -+ -e "s/\$(SYSTEM)/$1/g" \ -+ -e "s/\$(VERSION)/$2/g" \ -+ -e "s?\$(DB_DIR)?$DB_DIR?g" $3 > $4 -+ elif [ "$FBBUILDHACK" = "FREEBSD" ]; then -+ sed -e "s/\$(SUPER_FLAG)/-DSUPERSERVER -D_REENTRANT -D_THREAD_SAFE/g" \ - -e "s/\$(SYSTEM)/$1/g" \ - -e "s/\$(VERSION)/$2/g" \ - -e "s?\$(DB_DIR)?$DB_DIR?g" $3 > $4 diff --git a/databases/firebird20-server/files/patch-builds::original::platform b/databases/firebird20-server/files/patch-builds::original::platform deleted file mode 100644 index 149f2fe3a4f6..000000000000 --- a/databases/firebird20-server/files/patch-builds::original::platform +++ /dev/null @@ -1,13 +0,0 @@ ---- builds/original/platform.orig Sun Sep 16 22:15:14 2001 -+++ builds/original/platform Sat Nov 9 16:16:23 2002 -@@ -32,6 +32,10 @@ - SYS_TYPE=GENERIC - fi - export SYS_TYPE -+if [ $1 = 'FREEBSD' ]; then -+ FBBUILDHACK=$1 -+ export FBBUILDHACK -+fi - # - if [ $1 = 'SUN3_4' -o $1 = 'SUN4' -o $1 = 'AP' -o $1 = 'AX' ]; then - TR='tr "A-Z" "a-z"' diff --git a/databases/firebird20-server/files/patch-builds::original::prefix.freebsd b/databases/firebird20-server/files/patch-builds::original::prefix.freebsd deleted file mode 100644 index 8a9d5319dba6..000000000000 --- a/databases/firebird20-server/files/patch-builds::original::prefix.freebsd +++ /dev/null @@ -1,11 +0,0 @@ ---- builds/original/prefix.freebsd.orig Sun Oct 13 17:12:42 2002 -+++ builds/original/prefix.freebsd Fri Jan 10 13:00:32 2003 -@@ -30,7 +30,7 @@ - PROD_DEBUG_OBJECTS= nodebug.o - PROD_SHRLIB_DIR= -Lsource/jrd -Lsource/interbase/lib - PROD_VERSION_FLAG= -DPROD_BUILD --PROD_CFLAGS= -O -m486 -fpic -DFLINTSTONE -+PROD_CFLAGS= -O -pipe -march=i486 -fpic -DFLINTSTONE - - - DEV_DEBUG_OBJECTS= grammar.o dbg.o dbt.o dmp.o diff --git a/databases/firebird20-server/pkg-descr b/databases/firebird20-server/pkg-descr deleted file mode 100644 index 7d091fff56bd..000000000000 --- a/databases/firebird20-server/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ -The open-source InterBase(tm) 6.0 spin-off (Classic server version) - -InterBase is a world-class DBMS with a history too rich to detail -here. Once selling for several thousands of dollars per license, -some very big players use it worldwide. Inprise has open-sourced -InterBase 6.0, and a lively bunch of folks has charged themselves -with seeing that it lives on through the Firebird project. - -Note that as of Firebird 0.9_4, the locksmith back door has -been closed. - -For more information on Firebird and InterBase, see: - -http://sourceforge.net/projects/firebird/ -http://www.ibphoenix.com/ -http://www.interbase2000.org/ -http://www.interbase.com/ -http://www.firebirdsql.org/ - -For more information on the locksmith back door, see: - -https://www.kb.cert.org/vuls/id/247371 - -WWW: http://sourceforge.net/projects/firebird/ diff --git a/databases/firebird20-server/pkg-install b/databases/firebird20-server/pkg-install deleted file mode 100644 index 6fd18e94bd21..000000000000 --- a/databases/firebird20-server/pkg-install +++ /dev/null @@ -1,157 +0,0 @@ -#!/bin/sh - -case $2 in -PRE-INSTALL) - -if [ -d $PKG_PREFIX/firebird ]; then - if [ -d $PKG_PREFIX/firebird.old ]; then - rm -rf $PKG_PREFIX/firebird.old - fi - 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 -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 pseudo-user" - 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 - -# 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/UDF/* -chmod -R a=r $PKG_PREFIX/firebird/include/* -chmod -R a=r $PKG_PREFIX/firebird/intl/* -chmod -R a=r $PKG_PREFIX/firebird/lib/* - -# Fix UDF load problem -cd $PKG_PREFIX/firebird/lib -ln -sf ib_util.so libib_util.so -ln -sf gds.so libgds.so.1 - -cd $PKG_PREFIX/firebird/bin - -# all users can run everything. -chmod a=rx * - -# SUID is needed for running server programs. - -for i in gds_lock_mgr gds_drop gds_inet_server - do - chmod ug+s $i - done - - -# Lock files - -cd $PKG_PREFIX/firebird - -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 interbase.log -chmod u=rw,go= interbase.log -chmod a=r interbase.msg - -# make databases writable by interbase only -# local database connections are not a good idea -chmod u=rw,go= examples/v5/*.gdb -chmod u=rw,go= help/*.gdb -chmod u=rw,go= isc4.gdb - -# 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 /usr/interbase/bin/gds_inet_server gds_inet_server -EOF -if [ -f /var/run/inetd.pid ]; then - kill -HUP `cat /var/run/inetd.pid` -fi - -# shared lib startup script -if [ -d $PKG_PREFIX/etc/rc.d ]; then - ( - echo "#!/bin/sh"; echo "[ -d $PKG_PREFIX/firebird/lib ] && /sbin/ldconfig -m $PKG_PREFIX/firebird/lib" - ) > $PKG_PREFIX/etc/rc.d/000.firebird.sh - chmod a=rx $PKG_PREFIX/etc/rc.d/000.firebird.sh -fi -;; -esac diff --git a/databases/firebird20-server/pkg-message b/databases/firebird20-server/pkg-message deleted file mode 100644 index f15892a06aaa..000000000000 --- a/databases/firebird20-server/pkg-message +++ /dev/null @@ -1,19 +0,0 @@ - ---------------------------------------------------------- -Firebird is now installed. There is a symbolic link from -/usr/interbase -> %%PREFIX%%/firebird. Firebird needs this -link for proper operation. - -It is STRONGLY recommended that you change the SYSDBA -password with: - -$ cd /usr/interbase -$ gsec -user SYSDBA -pass masterkey -GSEC> modify SYSDBA -pw newpassword -GSEC> quit - -before doing anything serious with Firebird. - -See %%PREFIX%%/firebird/RELNOTES for more. ---------------------------------------------------------- - diff --git a/databases/firebird20-server/pkg-plist b/databases/firebird20-server/pkg-plist deleted file mode 100644 index 97eceac35721..000000000000 --- a/databases/firebird20-server/pkg-plist +++ /dev/null @@ -1,111 +0,0 @@ -etc/rc.d/000.firebird.sh -firebird/intl/gdsintl -firebird/examples/v5/ib_udf.sql -firebird/examples/v5/README -firebird/examples/v5/align.h -firebird/examples/v5/api1.c -firebird/examples/v5/api10.c -firebird/examples/v5/api11.c -firebird/examples/v5/api12.c -firebird/examples/v5/api13.c -firebird/examples/v5/api14.e -firebird/examples/v5/api15.c -firebird/examples/v5/api16.c -firebird/examples/v5/api16t.c -firebird/examples/v5/api2.c -firebird/examples/v5/api3.c -firebird/examples/v5/api4.c -firebird/examples/v5/api5.c -firebird/examples/v5/api6.c -firebird/examples/v5/api7.c -firebird/examples/v5/api8.c -firebird/examples/v5/api9.c -firebird/examples/v5/api9f.c -firebird/examples/v5/apifull.c -firebird/examples/v5/employe2.sql -firebird/examples/v5/dyn1.e -firebird/examples/v5/dyn2.e -firebird/examples/v5/dyn3.e -firebird/examples/v5/dyn4.e -firebird/examples/v5/dyn5.e -firebird/examples/v5/dynfull.e -firebird/examples/v5/employee.gbk -firebird/examples/v5/employee.gdb -firebird/examples/v5/example.h -firebird/examples/v5/api9f.sql -firebird/examples/v5/intlemp.gbk -firebird/examples/v5/intlemp.gdb -firebird/examples/v5/stat1.e -firebird/examples/v5/stat10.e -firebird/examples/v5/stat11.e -firebird/examples/v5/stat12.e -firebird/examples/v5/stat12t.e -firebird/examples/v5/stat2.e -firebird/examples/v5/stat3.e -firebird/examples/v5/stat4.e -firebird/examples/v5/stat5.e -firebird/examples/v5/stat6.e -firebird/examples/v5/stat7.e -firebird/examples/v5/stat8.e -firebird/examples/v5/stat9.e -firebird/examples/v5/udf.sql -firebird/examples/v5/udflib.c -firebird/examples/v5/makefile -firebird/include/perf.h -firebird/include/ib_util.h -firebird/include/gds.hxx -firebird/include/gds.h -firebird/include/ibase.h -firebird/include/iberror.h -firebird/include/gds.f -firebird/UDF/ib_udf -firebird/lib/ib_util.so -firebird/lib/gds.a -firebird/lib/gds.so -firebird/lib/libgds.so -firebird/lib/libgds.so.1 -firebird/lib/libgds.a -firebird/lib/libib_util.so -firebird/help/help.gbak -firebird/help/help.gdb -firebird/bin/ibguard -firebird/bin/ibmgr -firebird/bin/ibmgr.bin -firebird/bin/ibserver -firebird/bin/isc4.gbak -firebird/bin/gpre -firebird/bin/gds_pipe -firebird/bin/gds_drop -firebird/bin/gds_lock_mgr -firebird/bin/gfix -firebird/bin/gdef -firebird/bin/isql -firebird/bin/gds_lock_print -firebird/bin/qli -firebird/bin/gds_inet_server -firebird/bin/gsplit -firebird/bin/gstat -firebird/bin/gsec -firebird/bin/gbak -firebird/misc/firebird.init.d.generic -firebird/misc/firebird.init.d.mandrake -firebird/services.isc -firebird/isc_config -firebird/isc4.gdb -firebird/interbase.msg -firebird/interbase.log -firebird/inetd.conf.isc -firebird/README -firebird/RELNOTES -@dirrm firebird -@dirrm firebird/intl -@dirrm firebird/examples/v3 -@dirrm firebird/examples/v4 -@dirrm firebird/examples/v5 -@dirrm firebird/examples -@dirrm firebird/include -@dirrm firebird/UDF -@dirrm firebird/lib -@dirrm firebird/help -@dirrm firebird/bin -@dirrm firebird/misc |