diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
commit | 40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch) | |
tree | d70bbf882801af3a4e58dde3ed6a1da1849479d4 /databases/firebird20-server | |
parent | a9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff) |
Notes
Diffstat (limited to 'databases/firebird20-server')
16 files changed, 0 insertions, 630 deletions
diff --git a/databases/firebird20-server/Makefile b/databases/firebird20-server/Makefile deleted file mode 100644 index 52683c1157a4..000000000000 --- a/databases/firebird20-server/Makefile +++ /dev/null @@ -1,207 +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.5.2 -PORTREVISION?= 4 -CATEGORIES?= databases -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR=firebird -PKGNAMESUFFIX?= -server -DISTNAME= firebird-1.5.2.4731 - -MAINTAINER= skv@FreeBSD.org -COMMENT?= The open-source InterBase(tm) 6.0 spin-off (Classic version) - -USE_REINPLACE= yes -USE_BISON= yes -USE_BZIP2= yes -USE_GMAKE= yes -GNU_CONFIGURE= yes -USE_LIBTOOL_VER= 15 -USE_AUTOCONF_VER= 259 -USE_GCC= 3.4+ - -LOCALSTATEDIR= /var/db/firebird -CONFDIR= ${PREFIX}/etc/firebird -PLIST_SUB= FIREBIRD_VERSION=${PORTVERSION} \ - LOCALSTATEDIR="var/db/firebird" CONFDIR="etc/firebird" - -# Don't use ld for linking, use gcc -LD= ${CC} - -# Don't strip binary files -STRIP= - -ONLY_FOR_ARCHS= i386 - -WRKSRC= ${WRKDIR}/${DISTNAME} - -INSTALL_FB= ${INSTALL} ${COPY} -g firebird - -.if !defined(CLIENT_ONLY) -# Server part stuff -LIB_DEPENDS+= fbembed.1:${PORTSDIR}/databases/firebird-client - -AUTOGENARGS= --with-lock-manager - -ALL_TARGET= firebird_boot ref_databases msgs libfbembed intl otherfiles \ - inet_server extlib embed_gfix embed_gbak embed_gdef embed_util - -SUB_FILES= pkg-install pkg-message aliases.conf -SUB_LIST+= LOCALSTATEDIR=${LOCALSTATEDIR} - -SUID_BIN= fb_inet_server fb_lock_mgr gds_drop -UTIL_BIN= fb_lock_print gbak gdef gfix gsec gstat -UDF_SO= ib_udf.so fbudf.so -UDF_SQL= src/extlib/ib_udf.sql src/extlib/fbudf/fbudf.sql - -CONFLICTS= firebird-devel-[0-9]* -.else -# Client part stuff -AUTOGENARGS= --with-editline - -ALL_TARGET= firebird_basic libfbembed embed_isql embed_gpre \ - embed_gdef embed_qli libfbclient extlib -#ALL_TARGET= firebird_basic libfbembed libfbclient \ -# client_gpre client_gdef client_isql client_qli extlib - -INSTALLS_SHLIB= yes -CLIENT_BIN= gpre isql qli - -CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" - -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif -.endif - -MAKE_ENV+= CC=${CC} CXX=${CXX} FIREBIRD_TMP="${WRKDIR}" FIREBIRD_LOCK="${WRKDIR}" - -.include <bsd.port.pre.mk> - -.if !defined(CLIENT_ONLY) -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." - @${ECHO_MSG} - @${ECHO_MSG} "WARNING: The on-disk structure of the databases has" - @${ECHO_MSG} "changed since version 1.0.x." - @${ECHO_MSG} "Cancel this installation now and backup your databases" - @${ECHO_MSG} "if you have not already done so." -.if !defined(BATCH) - @sleep 10 -.endif -.endif - -.if !defined(CLIENT_ONLY) -pre-install: - @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL - -post-install: - @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL - @${CAT} ${PKGMESSAGE} -.endif - -.ifndef WITHOUT_IPC_CLEANUP -pre-build: - [ -f ${WRKDIR}/ipcs.pre.build ] || /usr/bin/ipcs -s | ${TAIL} -n +3 | \ - ${GREP} -F `${ID} -un` | ${CAT} > ${WRKDIR}/ipcs.pre.build - -post-build: - /usr/bin/ipcs -s | ${TAIL} -n +3 | ${GREP} -F `${ID} -un` | ${CAT} > ${WRKDIR}/ipcs.post.build - /usr/bin/diff -n ${WRKDIR}/ipcs.pre.build ${WRKDIR}/ipcs.post.build | \ - ${TAIL} -n +2 | ${SED} -E 's/^s +([0-9]+).*$$/\/usr\/bin\/ipcrm -s \1/' > ${WRKDIR}/ipcrm.sh - ${SH} ${WRKDIR}/ipcrm.sh -.endif - -do-configure: - @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} MAKE=${GMAKE} \ - ${AUTOTOOLS_VARS} ./autogen.sh --localstatedir=${LOCALSTATEDIR} \ - --prefix=${LOCALSTATEDIR} --exec-prefix=${PREFIX} \ - --sysconfdir=${CONFDIR} --datadir=${DATADIR} ${AUTOGENARGS}) - -post-configure: - @${REINPLACE_CMD} -e 's|__attribute__ ((__unused__));||' \ - ${WRKSRC}/src/dsql/parse.cpp - -do-install: -.if !defined(CLIENT_ONLY) - - ${INSTALL_PROGRAM} ${UTIL_BIN:S!^!${WRKSRC}/gen/firebird/bin/!} ${PREFIX}/bin - - ${INSTALL_PROGRAM} -o firebird -g firebird -m 6550 \ - ${SUID_BIN:S!^!${WRKSRC}/gen/firebird/bin/!} ${PREFIX}/sbin - - @${MKDIR} ${CONFDIR} - ${INSTALL_DATA} ${WRKDIR}/aliases.conf ${CONFDIR}/aliases.conf.sample - - ${MKDIR} ${LOCALSTATEDIR}/UDF ${LOCALSTATEDIR}/help ${LOCALSTATEDIR}/intl - - ${CHOWN} -R firebird:firebird ${LOCALSTATEDIR} - - ${INSTALL_FB} -m 0550 ${UDF_SO:S!^!${WRKSRC}/gen/firebird/UDF/!} ${LOCALSTATEDIR}/UDF - ${INSTALL_FB} -m 0440 ${UDF_SQL:S!^!${WRKSRC}/!} ${LOCALSTATEDIR}/UDF - -.if !exists(${LOCALSTATEDIR}/security.fdb) - ${INSTALL_FB} -m 0660 -o firebird ${WRKSRC}/gen/firebird/security.fdb \ - ${LOCALSTATEDIR}/security.fdb -.endif - ${INSTALL_FB} -m 0660 -o firebird ${WRKSRC}/gen/firebird/security.fdb \ - ${LOCALSTATEDIR}/security.fdb.sample - - ${INSTALL_FB} -m 0440 ${WRKSRC}/gen/firebird/help/help.fdb \ - ${LOCALSTATEDIR}/help - - ${INSTALL_FB} -m 0550 ${WRKSRC}/gen/firebird/intl/libfbintl.so ${LOCALSTATEDIR}/intl/fbintl - - ${INSTALL_DATA} ${FILESDIR}/RELNOTES ${LOCALSTATEDIR} -.else -# defined CLIENT_ONLY - ${INSTALL_PROGRAM} ${CLIENT_BIN:S!^!${WRKSRC}/gen/firebird/bin/!} \ - ${PREFIX}/bin - - @${MKDIR} ${CONFDIR} -.if !exists(${CONFDIR}/firebird.conf) - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/misc/firebird.conf ${CONFDIR} -.endif - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/misc/firebird.conf ${CONFDIR}/firebird.conf.sample - - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/lib/libib_util.so \ - ${WRKSRC}/gen/firebird/lib/libfbclient.so.${PORTVERSION} \ - ${WRKSRC}/gen/firebird/lib/libfbembed.so.${PORTVERSION} \ - ${PREFIX}/lib - - ${LN} -fs libfbclient.so.${PORTVERSION} ${PREFIX}/lib/libfbclient.so.1 - ${LN} -fs libfbclient.so.1 ${PREFIX}/lib/libfbclient.so - - ${LN} -fs libfbembed.so.${PORTVERSION} ${PREFIX}/lib/libfbembed.so.1 - ${LN} -fs libfbembed.so.1 ${PREFIX}/lib/libfbembed.so - ${LN} -fs libfbembed.so.1 ${PREFIX}/lib/libgds.so.1 - ${LN} -fs libfbembed.so.1 ${PREFIX}/lib/libgds.so - - @${MKDIR} ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/include/*.h ${PREFIX}/include - - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/*.msg ${DATADIR} - -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/sql.extensions - ${INSTALL_DATA} ${WRKSRC}/doc/WhatsNew ${WRKSRC}/doc/README.* ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/README.user ${DOCSDIR}/README - ${INSTALL_DATA} ${WRKSRC}/doc/sql.extensions/README.* ${DOCSDIR}/sql.extensions -.endif - - @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/gen/firebird/examples/v5/* ${EXAMPLESDIR} -.endif - -.include <bsd.port.post.mk> diff --git a/databases/firebird20-server/distinfo b/databases/firebird20-server/distinfo deleted file mode 100644 index 1f1dd8283c09..000000000000 --- a/databases/firebird20-server/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (firebird-1.5.2.4731.tar.bz2) = fea53ed5213cff4bd96513fb1a6c0ca2 -SIZE (firebird-1.5.2.4731.tar.bz2) = 4764015 diff --git a/databases/firebird20-server/files/RELNOTES b/databases/firebird20-server/files/RELNOTES deleted file mode 100644 index 2685519c686e..000000000000 --- a/databases/firebird20-server/files/RELNOTES +++ /dev/null @@ -1,108 +0,0 @@ -Firebird 1.5.2 FreeBSD Release Notes --------------------------------------- -FB-V1.5.2.4731 Firebird 1.5 Release - - Welcome to the FreeBSD Firebird port! - - 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 fb' 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 /var/db/firebird/security.fdb -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. Alternatively, increase the value of SEMMNS -by 48 in your kernel configuration file. This can be found by getting -the current value with 'sysctl -a | grep semmns'. You can either add -this to your kernel config, or add the following line to /boot/loader.conf: - - kern.ipc.semmns=X - -where is is the current value plus 48. If this doesn't resolve the issue, -try adding 48 again. - - Please note that as of RC8, the libgds.so symlink now points to -libfbembed.so. This has been done to resolve compatability issues with -older versions of Firebird. The FreeBSD port of RC7 had libgds.so -pointing to libfbclient.so. libfbclient.so is a remote access-only -shared library with threaded support, which requires target applications -to link with a threaded library such as libc_r.so, libpthread.so or libthr.so. - - Super Server support in Firebird 1.5 for FreeBSD is not currently -available due to the Firebird code using POSIX threads APIs not available -in FreeBSD 4.x or not yet complete in FreeBSD 5.x. This issue will become -more important once the scalability issues of Super Server have been -resolved. - - This installation has already inserted the necessary line to -/etc/inetd.conf so that you can connect to Firebird across the network. -However you may need to add the remote host to /etc/hosts.equiv. For -example, to allow the local machine to make connections to Firebird -using TCP, the following command needs running: - - echo localhost >> /etc/hosts.equiv - -Please note that adding machines to /etc/hosts.equiv can reduce the -security of your system. If in doubt, try connecting to Firebird with -a username and password already defined in security.fdb. For example: - -gsec -> add myuser -pass mypass -> quit -isql -u myuser -p mypass localhost:/usr/local/share/firebird/examples/employee.fdb - -This should reduce the need for hosts defined in /etc/hosts.equiv. - - 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/ - - Please also see the doc directory in the Firebird package for -documentation specific to Firebird. - -Chris Knight -<chris@e-easy.com.au> diff --git a/databases/firebird20-server/files/aliases.conf.in b/databases/firebird20-server/files/aliases.conf.in deleted file mode 100644 index 92b5b620c07a..000000000000 --- a/databases/firebird20-server/files/aliases.conf.in +++ /dev/null @@ -1,9 +0,0 @@ -# -# List of known database aliases -# ------------------------------ -# -# Examples: -# -# employee = %%EXAMPLESDIR%%/employee.fdb -# security = /var/db/firebird/security.fdb -# diff --git a/databases/firebird20-server/files/patch-builds%make.new%config%config.h.in b/databases/firebird20-server/files/patch-builds%make.new%config%config.h.in deleted file mode 100644 index b3073379ba55..000000000000 --- a/databases/firebird20-server/files/patch-builds%make.new%config%config.h.in +++ /dev/null @@ -1,11 +0,0 @@ ---- builds/make.new/config/config.h.in.orig Sun Jul 6 05:07:48 2003 -+++ builds/make.new/config/config.h.in Wed Jul 27 13:07:37 2005 -@@ -190,5 +190,8 @@ - #undef SINIXZ - - #define FB_PREFIX "/usr/local/firebird" -+#define FB_EXEC_PREFIX "/usr/local" -+#define FB_CONF_PREFIX "/usr/local/etc/firebird" -+#define FB_MSG_PREFIX "/usr/local/libdata/firebird" - - #endif diff --git a/databases/firebird20-server/files/patch-configure.in b/databases/firebird20-server/files/patch-configure.in deleted file mode 100644 index 562421312eb3..000000000000 --- a/databases/firebird20-server/files/patch-configure.in +++ /dev/null @@ -1,12 +0,0 @@ ---- configure.in.orig Thu Dec 9 17:43:18 2004 -+++ configure.in Wed Jul 27 13:06:06 2005 -@@ -605,6 +605,9 @@ - AC_SUBST(NEW_FIREBIRD_DIR) - - AC_DEFINE_UNQUOTED(FB_PREFIX, $(if test "x$prefix" = "xNONE" ; then echo \"$ac_default_prefix\"; else echo \"$prefix\"; fi)) -+AC_DEFINE_UNQUOTED(FB_EXEC_PREFIX, "$exec_prefix") -+AC_DEFINE_UNQUOTED(FB_CONF_PREFIX, "$sysconfdir") -+AC_DEFINE_UNQUOTED(FB_MSG_PREFIX, "$datadir") - - AC_CONFIG_COMMANDS(,,[ - dnl ### GEN ### directories for preprocessed cpp, databases and output diff --git a/databases/firebird20-server/files/patch-src%jrd%db_alias.cpp b/databases/firebird20-server/files/patch-src%jrd%db_alias.cpp deleted file mode 100644 index 8c0e56b144da..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%db_alias.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- src/jrd/db_alias.cpp.orig Mon Aug 18 01:16:41 2003 -+++ src/jrd/db_alias.cpp Mon Jul 25 15:07:45 2005 -@@ -37,8 +37,8 @@ - - bool ResolveDatabaseAlias(const char* alias, char* database) - { -- TEXT alias_filename[MAXPATHLEN]; -- gds__prefix(alias_filename, const_cast<char*>(ALIAS_FILE)); -+ TEXT alias_filename[MAXPATHLEN] = FB_CONF_PREFIX "/"; -+ strlcat(alias_filename, ALIAS_FILE, MAXPATHLEN); - ConfigFile aliasConfig(false); - aliasConfig.setConfigFile(alias_filename); - diff --git a/databases/firebird20-server/files/patch-src%jrd%gds.cpp b/databases/firebird20-server/files/patch-src%jrd%gds.cpp deleted file mode 100644 index a68b98955e5f..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%gds.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/jrd/gds.cpp.orig Mon Nov 22 08:11:11 2004 -+++ src/jrd/gds.cpp Wed Jul 27 13:10:40 2005 -@@ -1733,7 +1733,7 @@ - if (ib_prefix_msg == NULL) { - if (!(ib_prefix_msg = getenv(FB_MSG_ENV))) { - ib_prefix_msg = ib_prefix_msg_val; -- gds__prefix(ib_prefix_msg, ""); -+ strlcpy(ib_prefix_msg_val, FB_MSG_PREFIX, MAXPATHLEN); - } - else { - strcat(ib_prefix_msg_val, ib_prefix_msg); diff --git a/databases/firebird20-server/files/patch-src%jrd%os%posix%config_root.cpp b/databases/firebird20-server/files/patch-src%jrd%os%posix%config_root.cpp deleted file mode 100644 index 3af960c1599e..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%os%posix%config_root.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- src/jrd/os/posix/config_root.cpp.orig Mon Jul 25 15:19:18 2005 -+++ src/jrd/os/posix/config_root.cpp Mon Jul 25 15:19:49 2005 -@@ -152,6 +152,6 @@ - - const char *ConfigRoot::getConfigFile() const - { -- static string file = root_dir + string(CONFIG_FILE); -+ static string file = string(FB_CONF_PREFIX) + PathUtils::dir_sep + string(CONFIG_FILE); - return file.c_str(); - } diff --git a/databases/firebird20-server/files/patch-src%lock%lock.cpp b/databases/firebird20-server/files/patch-src%lock%lock.cpp deleted file mode 100644 index 7f550183e379..000000000000 --- a/databases/firebird20-server/files/patch-src%lock%lock.cpp +++ /dev/null @@ -1,15 +0,0 @@ ---- src/lock/lock.cpp.orig Mon Mar 29 08:35:49 2004 -+++ src/lock/lock.cpp Wed Jul 27 14:01:51 2005 -@@ -2800,7 +2800,11 @@ - #ifdef DEBUG_MANAGER - gds__prefix(string, DEBUG_MANAGER); - #else -- gds__prefix(string, LOCK_MANAGER); -+ if (! getenv("FIREBIRD")) { -+ strlcpy(string, FB_EXEC_PREFIX "/s" LOCK_MANAGER, MAXPATHLEN); -+ }else { -+ gds__prefix(string, LOCK_MANAGER); -+ } - #endif - if (statistics(string, &stat_buf) == -1) { - sprintf (errorstring, "can't start lock manager: %s", string); diff --git a/databases/firebird20-server/files/patch-src::extern::editline::makelist b/databases/firebird20-server/files/patch-src::extern::editline::makelist deleted file mode 100644 index 870f3cfdaece..000000000000 --- a/databases/firebird20-server/files/patch-src::extern::editline::makelist +++ /dev/null @@ -1,11 +0,0 @@ ---- src/extern/editline/makelist.orig Mon May 24 04:24:25 2004 -+++ src/extern/editline/makelist Fri Jul 23 17:09:43 2004 -@@ -145,7 +145,7 @@ - # - -fh) - cat $FILES | $AWK '/el_action_t/ { print $3 }' | \ -- sort | tr '[a-z]' '[A-Z]' | $AWK ' -+ sort | tr '[:lower:]' '[:upper:]' | $AWK ' - BEGIN { - printf("/* Automatically generated file, do not edit */\n"); - printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n"); diff --git a/databases/firebird20-server/files/pkg-install.in b/databases/firebird20-server/files/pkg-install.in deleted file mode 100644 index ee702916f43c..000000000000 --- a/databases/firebird20-server/files/pkg-install.in +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ - -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 /var/db/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) -cd /var/db/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 - -;; - -esac diff --git a/databases/firebird20-server/files/pkg-message.in b/databases/firebird20-server/files/pkg-message.in deleted file mode 100644 index 88db39950b58..000000000000 --- a/databases/firebird20-server/files/pkg-message.in +++ /dev/null @@ -1,26 +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%%/sbin/fb_inet_server fb_inet_server - -And finally restart inetd. - -It is STRONGLY recommended that you change the SYSDBA -password with: - -% gsec -user SYSDBA -pass masterkey -GSEC> modify SYSDBA -pw newpassword -GSEC> quit - -before doing anything serious with Firebird. - -See %%LOCALSTATEDIR%%/RELNOTES for more. ---------------------------------------------------------- - diff --git a/databases/firebird20-server/pkg-descr b/databases/firebird20-server/pkg-descr deleted file mode 100644 index dbeba43f543f..000000000000 --- a/databases/firebird20-server/pkg-descr +++ /dev/null @@ -1,15 +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. - -For more information on Firebird and InterBase, see: - -WWW: http://sourceforge.net/projects/firebird/ -WWW: http://www.ibphoenix.com/ -WWW: http://www.interbase2000.org/ -WWW: http://www.interbase.com/ -WWW: http://www.firebirdsql.org/ diff --git a/databases/firebird20-server/pkg-plist b/databases/firebird20-server/pkg-plist deleted file mode 100644 index 0a94428c5d71..000000000000 --- a/databases/firebird20-server/pkg-plist +++ /dev/null @@ -1,33 +0,0 @@ -@comment $FreeBSD$ -bin/fb_lock_print -bin/gbak -bin/gdef -bin/gfix -bin/gsec -bin/gstat -sbin/fb_inet_server -sbin/fb_lock_mgr -sbin/gds_drop -@unexec (cmp -s %D/%%CONFDIR%%/aliases.conf %D/%%CONFDIR%%/aliases.conf.sample && rm -f %D/%%CONFDIR%%/aliases.conf) || true -%%CONFDIR%%/aliases.conf.sample -@exec [ -f %B/aliases.conf ] || cp %B/%f %B/aliases.conf -@unexec rmdir %D/%%CONFDIR%% 2>/dev/null || true -@cwd / -@unexec (cmp -s %D/%%LOCALSTATEDIR%%/security.fdb %D/%%LOCALSTATEDIR%%/security.fdb.sample && rm -f %D/%%LOCALSTATEDIR%%/security.fdb) || true -%%LOCALSTATEDIR%%/security.fdb.sample -@exec [ -f %D/%%LOCALSTATEDIR%%/security.fdb ] || cp %D/%F %D/%%LOCALSTATEDIR%%/security.fdb -%%LOCALSTATEDIR%%/RELNOTES -%%LOCALSTATEDIR%%/UDF/fbudf.so -%%LOCALSTATEDIR%%/UDF/fbudf.sql -%%LOCALSTATEDIR%%/UDF/ib_udf.so -%%LOCALSTATEDIR%%/UDF/ib_udf.sql -%%LOCALSTATEDIR%%/help/help.fdb -%%LOCALSTATEDIR%%/intl/fbintl -@unexec [ -s %D/%%LOCALSTATEDIR%%/firebird.log ] || rm -f %D/%%LOCALSTATEDIR%%/firebird.log -@unexec rm -f %D/%%LOCALSTATEDIR%%/isc_event1.`hostname` -@unexec rm -f %D/%%LOCALSTATEDIR%%/isc_init1.`hostname` -@unexec rm -f %D/%%LOCALSTATEDIR%%/isc_lock1.`hostname` -@dirrm %%LOCALSTATEDIR%%/UDF -@dirrm %%LOCALSTATEDIR%%/help -@dirrm %%LOCALSTATEDIR%%/intl -@unexec rmdir %D/%%LOCALSTATEDIR%% 2>/dev/null || true diff --git a/databases/firebird20-server/pkg-plist.client b/databases/firebird20-server/pkg-plist.client deleted file mode 100644 index 1e600c2e67dd..000000000000 --- a/databases/firebird20-server/pkg-plist.client +++ /dev/null @@ -1,76 +0,0 @@ -@comment $FreeBSD$ -bin/gpre -bin/isql -bin/qli -include/blr.h -include/gds.h -include/ib_util.h -include/ibase.h -include/iberror.h -include/perf.h -lib/libfbclient.so -lib/libfbclient.so.1 -lib/libfbclient.so.%%FIREBIRD_VERSION%% -lib/libfbembed.so -lib/libfbembed.so.1 -lib/libfbembed.so.%%FIREBIRD_VERSION%% -lib/libgds.so -lib/libgds.so.1 -lib/libib_util.so -@unexec if cmp -s %D/%%CONFDIR%%/firebird.conf %D/%%CONFDIR%%/firebird.conf.sample; then rm -f %D/%%CONFDIR%%/firebird.conf; fi -%%CONFDIR%%/firebird.conf.sample -@exec [ -f %B/firebird.conf ] || cp %B/%f %B/firebird.conf -@unexec rmdir %D/%%CONFDIR%% 2>/dev/null || true -%%DATADIR%%/de_DE.msg -%%DATADIR%%/firebird.msg -%%DATADIR%%/fr_FR.msg -%%DATADIR%%/ja_JP.msg -@dirrm %%DATADIR%% -%%EXAMPLESDIR%%/align.h -%%EXAMPLESDIR%%/api1.c -%%EXAMPLESDIR%%/api10.c -%%EXAMPLESDIR%%/api11.c -%%EXAMPLESDIR%%/api12.c -%%EXAMPLESDIR%%/api13.c -%%EXAMPLESDIR%%/api14.e -%%EXAMPLESDIR%%/api15.c -%%EXAMPLESDIR%%/api16.c -%%EXAMPLESDIR%%/api16t.c -%%EXAMPLESDIR%%/api2.c -%%EXAMPLESDIR%%/api3.c -%%EXAMPLESDIR%%/api4.c -%%EXAMPLESDIR%%/api5.c -%%EXAMPLESDIR%%/api6.c -%%EXAMPLESDIR%%/api7.c -%%EXAMPLESDIR%%/api8.c -%%EXAMPLESDIR%%/api9.c -%%EXAMPLESDIR%%/api9f.c -%%EXAMPLESDIR%%/api9f.sql -%%EXAMPLESDIR%%/apifull.c -%%EXAMPLESDIR%%/dyn1.e -%%EXAMPLESDIR%%/dyn2.e -%%EXAMPLESDIR%%/dyn3.e -%%EXAMPLESDIR%%/dyn4.e -%%EXAMPLESDIR%%/dyn5.e -%%EXAMPLESDIR%%/dynfull.e -%%EXAMPLESDIR%%/employe2.sql -%%EXAMPLESDIR%%/employee.fdb -%%EXAMPLESDIR%%/employee.gbk -%%EXAMPLESDIR%%/example.h -%%EXAMPLESDIR%%/readme -%%EXAMPLESDIR%%/stat1.e -%%EXAMPLESDIR%%/stat10.e -%%EXAMPLESDIR%%/stat11.e -%%EXAMPLESDIR%%/stat12.e -%%EXAMPLESDIR%%/stat12t.e -%%EXAMPLESDIR%%/stat2.e -%%EXAMPLESDIR%%/stat3.e -%%EXAMPLESDIR%%/stat4.e -%%EXAMPLESDIR%%/stat5.e -%%EXAMPLESDIR%%/stat6.e -%%EXAMPLESDIR%%/stat7.e -%%EXAMPLESDIR%%/stat8.e -%%EXAMPLESDIR%%/stat9.e -%%EXAMPLESDIR%%/udf.sql -%%EXAMPLESDIR%%/udflib.c -@dirrm %%EXAMPLESDIR%% |