diff options
Diffstat (limited to 'databases/firebird20-server/files')
17 files changed, 0 insertions, 408 deletions
diff --git a/databases/firebird20-server/files/aliases.conf.in b/databases/firebird20-server/files/aliases.conf.in deleted file mode 100644 index ded23bfd70cb..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/security2.fdb -# diff --git a/databases/firebird20-server/files/icu.m4 b/databases/firebird20-server/files/icu.m4 deleted file mode 100644 index 37d0f8a08c40..000000000000 --- a/databases/firebird20-server/files/icu.m4 +++ /dev/null @@ -1,46 +0,0 @@ -dnl AM_PATH_ICU([MINIMUM-VERSION]) -dnl Adds support for ICU -AC_DEFUN([AM_PATH_ICU], -[ - rast_lib_icu_major="$1" - rast_lib_icu_minor="$2" - rast_lib_icu_version="$1.$2" - - AC_ARG_WITH(icu-config, - AC_HELP_STRING([--with-icu-config=PATH],[path to icu-config]), - [ - AC_MSG_RESULT(using $withval for icu-config) - ICU_CONFIG="$withval" - ], [ - AC_PATH_PROG(ICU_CONFIG, icu-config, no) - ]) - HAVE_ICU="no" - if test "$ICU_CONFIG" != "no"; then - AC_MSG_CHECKING([ICU version]) - ICU_VERSION="`$ICU_CONFIG --version`" - if test $? -eq 0; then - changequote(<<, >>) - ICU_MAJOR=`expr "$ICU_VERSION" : '\(.*\)\..*'` - ICU_MINOR=`expr "$ICU_VERSION" : '.*\.\(.*\)'` - changequote([, ]) - if expr "$ICU_MAJOR" '>' "$rast_lib_icu_major" > /dev/null || - ( expr "$ICU_MAJOR" '=' "$rast_lib_icu_major" > /dev/null && - expr "$ICU_MINOR" '>=' "$rast_lib_icu_minor" > /dev/null ); then - AC_MSG_RESULT([$ICU_VERSION]) - - ICU_CPPFLAGS=`$ICU_CONFIG --cppflags` - ICU_LIBS=`$ICU_CONFIG --ldflags-libsonly` - ICU_LDFLAGS=`$ICU_CONFIG --ldflags-searchpath` - AC_SUBST(ICU_CPPFLAGS) - AC_SUBST(ICU_LIBS) - AC_SUBST(ICU_LDFLAGS) - HAVE_ICU="yes" - else - AC_MSG_WARN([$ICU_VERSION is too old; $rast_lib_icu_version is required]) - fi - else - AC_MSG_WARN([icu-config --version failed]) - fi - fi - AC_SUBST(HAVE_ICU) -]) diff --git a/databases/firebird20-server/files/patch-builds%install%misc%firebird.conf b/databases/firebird20-server/files/patch-builds%install%misc%firebird.conf deleted file mode 100644 index d0105af83cf6..000000000000 --- a/databases/firebird20-server/files/patch-builds%install%misc%firebird.conf +++ /dev/null @@ -1,20 +0,0 @@ ---- builds/install/misc/firebird.conf.orig Tue Aug 15 22:38:52 2006 -+++ builds/install/misc/firebird.conf Tue Aug 15 22:39:24 2006 -@@ -60,7 +60,7 @@ - # - # Type: string - # --#RootDirectory = -+#RootDirectory = /var/db/firebird - - - # ---------------------------- -@@ -125,7 +125,7 @@ - # - # Type: string (special format) - # --#UdfAccess = Restrict UDF -+UdfAccess = Restrict %%PREFIX%%/libexec/firebird/udf - - - # ---------------------------- diff --git a/databases/firebird20-server/files/patch-builds%posix%Makefile.in.firebird b/databases/firebird20-server/files/patch-builds%posix%Makefile.in.firebird deleted file mode 100644 index 31a0b95ec4f7..000000000000 --- a/databases/firebird20-server/files/patch-builds%posix%Makefile.in.firebird +++ /dev/null @@ -1,35 +0,0 @@ ---- builds/posix/Makefile.in.firebird.orig Sun Dec 18 20:56:17 2005 -+++ builds/posix/Makefile.in.firebird Wed Sep 13 20:31:13 2006 -@@ -186,7 +186,6 @@ - # - - external_libraries: -- $(MAKE) -f $(GEN_ROOT)/Makefile.extern.icu - ifeq ($(EDITLINE_FLG),Y) - $(MAKE) -f $(GEN_ROOT)/Makefile.extern.editline - endif -@@ -515,12 +514,12 @@ - #___________________________________________________________________________ - # - .PHONY: clean clean_objects clean_dependancies clean_extern_objects clean_build \ -- clean_gpre_gen clean_icu clean_dbs clean_examples clean_makefiles \ -+ clean_gpre_gen clean_dbs clean_examples clean_makefiles \ - clean_editline clean_all - - - clean: clean_objects clean_dependancies clean_extern_objects clean_build \ -- clean_gpre_gen clean_icu clean_dbs clean_examples -+ clean_gpre_gen clean_dbs clean_examples - - ifeq ($(EDITLINE_FLG),Y) - clean: clean_editline -@@ -542,9 +541,6 @@ - - clean_editline: - -make -C $(ROOT)/extern/editline clean -- --clean_icu: -- -make -C $(ROOT)/extern/icu/source clean - - clean_objects: - $(RM) `find $(TMP_ROOT)/ -type f -name '*.o' -print` diff --git a/databases/firebird20-server/files/patch-builds%posix%make.defaults b/databases/firebird20-server/files/patch-builds%posix%make.defaults deleted file mode 100644 index fa5cf46755f6..000000000000 --- a/databases/firebird20-server/files/patch-builds%posix%make.defaults +++ /dev/null @@ -1,30 +0,0 @@ ---- builds/posix/make.defaults.orig 2007-09-04 15:51:17.000000000 +0800 -+++ builds/posix/make.defaults 2007-10-05 07:05:13.947441166 +0800 -@@ -107,7 +107,7 @@ - CHMOD= chmod - CHMOD_6= chmod 666 - CHMOD_7= chmod 777 --CHMOD_S7= chmod 06777 -+CHMOD_S7= chmod 04555 - MV= mv -f - TOUCH= touch - CP= cp -@@ -185,9 +185,6 @@ - - LIBFBSTATIC_A = $(LIB)/libfbstatic.a - LIBEDITLINE_A = $(LIB)/libeditline.a --LIBICU_SO = $(LIB)/$(LIB_PREFIX)icuuc.$(SHRLIB_EXT) \ -- $(LIB)/$(LIB_PREFIX)icudata.$(SHRLIB_EXT) \ -- $(LIB)/$(LIB_PREFIX)icui18n.$(SHRLIB_EXT) - - # Shared library name for usage inside of the UDF - IbUtilLibraryName = $(LIB_PREFIX)ib_util.$(SHRLIB_EXT) -@@ -203,7 +200,7 @@ - STATICEXE_LINK:= @CXX@ - - LINK_LIBS = @LIBS@ @EDITLINE_A@ --ICU_LIBS = -licuuc -licudata -licui18n -+ICU_LIBS = @ICU_LIBS@ @ICU_LDFLAGS@ - STATICLINK_LIBS = @LIBS@ @EDITLINE_A@ - SO_LINK_LIBS = @LIBS@ - diff --git a/databases/firebird20-server/files/patch-builds%posix%make.rules b/databases/firebird20-server/files/patch-builds%posix%make.rules deleted file mode 100644 index 0d14e8f4b904..000000000000 --- a/databases/firebird20-server/files/patch-builds%posix%make.rules +++ /dev/null @@ -1,11 +0,0 @@ ---- builds/posix/make.rules.orig 2007-09-04 15:51:17.000000000 +0800 -+++ builds/posix/make.rules 2007-10-05 06:56:37.104972944 +0800 -@@ -33,7 +33,7 @@ - - - # Please don't use compiler/platform specific flags here - nmcc 02-Nov-2002 --CFLAGS:= $(CFLAGS) -I$(SRC_ROOT)/include/gen -I$(SRC_ROOT)/include -I$(SRC_ROOT)/vulcan -I$(ROOT)/extern/icu/source/common -I$(ROOT)/extern/icu/source/i18n -DNAMESPACE=Vulcan -+CFLAGS:= $(CFLAGS) -I$(SRC_ROOT)/include/gen -I$(SRC_ROOT)/include -I$(SRC_ROOT)/vulcan @ICU_CPPFLAGS@ -DNAMESPACE=Vulcan - - ifeq ($(IsProdTypeBuild),Y) - CFLAGS:= $(CFLAGS) $(PROD_FLAGS) -DPROD_BUILD diff --git a/databases/firebird20-server/files/patch-configure.in b/databases/firebird20-server/files/patch-configure.in deleted file mode 100644 index 3b007fc2dcde..000000000000 --- a/databases/firebird20-server/files/patch-configure.in +++ /dev/null @@ -1,44 +0,0 @@ ---- configure.in.orig 2007-09-04 15:51:12.000000000 +0800 -+++ configure.in 2007-10-05 06:59:32.243635556 +0800 -@@ -447,8 +447,9 @@ - AC_CHECK_LIB(termcap, tgetent, , \ - AC_CHECK_LIB(tinfo, tgetent, , \ - AC_MSG_ERROR(termcap support not found))))) -- AC_SUBST(EDITLINE_A, -leditline) -+ AC_SUBST(EDITLINE_A, "-ledit -lreadline") - fi -+AM_PATH_ICU(3, 6) - - - dnl Check for functions -@@ -720,6 +721,10 @@ - AC_SUBST(NEW_FIREBIRD_DIR) - - AC_DEFINE_UNQUOTED(FB_PREFIX, $(if test "x$prefix" = "xNONE" ; then echo \"$ac_default_prefix\"; else echo \"$prefix\"; fi), [Installation path prefix]) -+AC_DEFINE_UNQUOTED(FB_EXEC_PREFIX, "$exec_prefix", [Executables path prefix]) -+AC_DEFINE_UNQUOTED(FB_CONF_PREFIX, "$sysconfdir", [Single-machine data path prefix]) -+AC_DEFINE_UNQUOTED(FB_MSG_PREFIX, "$datadir", [Architecture-independent data path prefix]) -+AC_DEFINE_UNQUOTED(FB_LIBEXEC_PREFIX, "$libexecdir", [Program executables path prefix]) - - AC_CONFIG_COMMANDS(,,[ - dnl # rebuild version header if needed -@@ -1048,19 +1053,11 @@ - gen/Makefile.install:builds/install/arch-specific/${INSTALL_PREFIX}/Makefile.in - Makefile:Makefile.in - gen/Makefile.extern.editline:${MAKE_SRC_DIR}/Makefile.in.extern.editline --gen/Makefile.extern.icu:${MAKE_SRC_DIR}/Makefile.in.extern.icu - ) - - - --if test "$PROD_BUILD_FLG" = N; then -- DEBUG_ICU=--enable-debug --fi -- - AC_OUTPUT --(cd extern/icu/source --chmod +x runConfigureICU configure install-sh --./runConfigureICU "$ICU_PLATFORM" "$DEBUG_ICU" --prefix=`pwd`/..) - - - dnl Print out the build configuration (the most interesting thing) diff --git a/databases/firebird20-server/files/patch-src%common%config%config.cpp b/databases/firebird20-server/files/patch-src%common%config%config.cpp deleted file mode 100644 index b05adf508983..000000000000 --- a/databases/firebird20-server/files/patch-src%common%config%config.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/common/config/config.cpp.orig Tue Aug 15 22:53:43 2006 -+++ src/common/config/config.cpp Tue Aug 15 22:54:38 2006 -@@ -111,7 +111,7 @@ - {TYPE_STRING, "RemoteBindAddress", (ConfigValue) 0}, - {TYPE_STRING, "ExternalFileAccess", (ConfigValue) "None"}, // location(s) of external files for tables - {TYPE_STRING, "DatabaseAccess", (ConfigValue) "Full"}, // location(s) of databases -- {TYPE_STRING, "UdfAccess", (ConfigValue) "Restrict UDF"}, // location(s) of UDFs -+ {TYPE_STRING, "UdfAccess", (ConfigValue) "Restrict " FB_LIBEXEC_PREFIX "/UDF"}, // location(s) of UDFs - {TYPE_STRING, "TempDirectories", (ConfigValue) 0}, - #ifdef DEV_BUILD - {TYPE_BOOLEAN, "BugcheckAbort", (ConfigValue) true}, // whether to abort() engine when internal error is found 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 27f7d6dc114d..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%db_alias.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- src/jrd/db_alias.cpp.orig Tue Aug 15 23:07:31 2006 -+++ src/jrd/db_alias.cpp Tue Aug 15 23:10:08 2006 -@@ -33,8 +33,8 @@ - - bool ResolveDatabaseAlias(const string& alias, string& database) - { -- string alias_filename; -- Firebird::Prefix(alias_filename, ALIAS_FILE); -+ string alias_filename = string(FB_CONF_PREFIX) -+ + PathUtils::dir_sep + ALIAS_FILE; - ConfigFile aliasConfig(false); - aliasConfig.setConfigFilePath(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 f22bc183629e..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%gds.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/jrd/gds.cpp.orig Tue Aug 15 22:49:37 2006 -+++ src/jrd/gds.cpp Tue Aug 15 22:50:14 2006 -@@ -3734,7 +3734,7 @@ - Firebird::PathName msgPrefix; - if (!fb_utils::readenv(FB_MSG_ENV, msgPrefix)) - { -- msgPrefix = prefix; -+ msgPrefix = FB_MSG_PREFIX; - } - msgPrefix.copyTo(ib_prefix_msg_val, sizeof(ib_prefix_msg_val)); - ib_prefix_msg = ib_prefix_msg_val; diff --git a/databases/firebird20-server/files/patch-src%jrd%os%config_root.h b/databases/firebird20-server/files/patch-src%jrd%os%config_root.h deleted file mode 100644 index 976da187b36a..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%os%config_root.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/jrd/os/config_root.h.orig Tue Aug 15 22:57:33 2006 -+++ src/jrd/os/config_root.h Tue Aug 15 22:57:53 2006 -@@ -76,7 +76,7 @@ - { - GetRoot(); - install_dir = root_dir; -- config_file = root_dir + string(CONFIG_FILE); -+ config_file = string(FB_CONF_PREFIX) + PathUtils::dir_sep + string(CONFIG_FILE); - } - - diff --git a/databases/firebird20-server/files/patch-src%jrd%plugin_manager.cpp b/databases/firebird20-server/files/patch-src%jrd%plugin_manager.cpp deleted file mode 100644 index 7a2ffab72408..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%plugin_manager.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- src/jrd/plugin_manager.cpp.orig Tue Aug 15 23:11:04 2006 -+++ src/jrd/plugin_manager.cpp Tue Aug 15 23:12:01 2006 -@@ -64,7 +64,7 @@ - void PluginManager::loadAllPlugins() - { - Firebird::PathName checkDir; -- const Firebird::PathName fbLibPath = Config::getRootDirectory(); -+ const Firebird::PathName fbLibPath = FB_LIBEXEC_PREFIX; - - for (spIterator pathItr = searchPaths.begin(); pathItr != searchPaths.end(); ++pathItr) - { -@@ -131,7 +131,7 @@ - PluginManager::Module *PluginManager::loadPluginModule(const Firebird::PathName& name) - { - Firebird::PathName checkPath; -- const Firebird::PathName fbLibPath = Config::getRootDirectory(); -+ const Firebird::PathName fbLibPath = FB_LIBEXEC_PREFIX; - - // Check to see if the module name was specified as a relative path - // from one of our search paths. This only makes sense if the name diff --git a/databases/firebird20-server/files/patch-src%jrd%svc.cpp b/databases/firebird20-server/files/patch-src%jrd%svc.cpp deleted file mode 100644 index a76b1568b036..000000000000 --- a/databases/firebird20-server/files/patch-src%jrd%svc.cpp +++ /dev/null @@ -1,22 +0,0 @@ ---- src/jrd/svc.cpp.orig Mon Jul 31 11:43:28 2006 -+++ src/jrd/svc.cpp Wed Nov 15 16:56:13 2006 -@@ -583,7 +583,8 @@ - { - #ifndef SERVICE_THREAD - TEXT service_path[MAXPATHLEN]; -- gds__prefix(service_path, serv->serv_executable); -+ strlcpy(service_path, FB_EXEC_PREFIX "/", MAXPATHLEN); -+ strlcat(service_path, serv->serv_executable, MAXPATHLEN); - service_fork(service_path, service); - #else - /* if service is single threaded, only call if not currently running */ -@@ -1742,7 +1743,8 @@ - TEXT service_path[MAXPATHLEN]; - - if (serv->serv_executable) { -- gds__prefix(service_path, serv->serv_executable); -+ strlcpy(service_path, FB_EXEC_PREFIX "/", MAXPATHLEN); -+ strlcat(service_path, serv->serv_executable, MAXPATHLEN); - service->svc_flags = SVC_forked; - service_fork(service_path, service); - } 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 279324733739..000000000000 --- a/databases/firebird20-server/files/patch-src%lock%lock.cpp +++ /dev/null @@ -1,16 +0,0 @@ ---- src/lock/lock.cpp.orig Fri Feb 3 16:13:23 2006 -+++ src/lock/lock.cpp Wed Aug 16 12:41:32 2006 -@@ -2708,7 +2708,12 @@ - #ifdef DEBUG_MANAGER - gds__prefix(string, DEBUG_MANAGER); - #else -- gds__prefix(string, LOCK_MANAGER); -+ if (! getenv("FIREBIRD")) { -+ strlcpy(string, FB_EXEC_PREFIX "/", MAXPATHLEN); -+ strlcat(string, LOCK_MANAGER, MAXPATHLEN); -+ } else { -+ gds__prefix(string, LOCK_MANAGER); -+ } - #endif - if (statistics(string, &stat_buf) == -1) { - // bug() fills the vector with this address, it must be static. diff --git a/databases/firebird20-server/files/patch-src+jrd+IntlManager.cpp b/databases/firebird20-server/files/patch-src+jrd+IntlManager.cpp deleted file mode 100644 index c918181dce4f..000000000000 --- a/databases/firebird20-server/files/patch-src+jrd+IntlManager.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/jrd/IntlManager.cpp.orig Tue Nov 21 16:24:19 2006 -+++ src/jrd/IntlManager.cpp Tue Nov 21 16:30:40 2006 -@@ -78,7 +78,7 @@ - #endif - - Firebird::PathName intlPath; -- PathUtils::concatPath(intlPath, Config::getRootDirectory(), "intl"); -+ PathUtils::concatPath(intlPath, FB_LIBEXEC_PREFIX, "intl"); - - ScanDir dir(intlPath.c_str(), "*.conf"); - diff --git a/databases/firebird20-server/files/pkg-install.in b/databases/firebird20-server/files/pkg-install.in deleted file mode 100644 index c212863b1ca3..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 security2.fdb - -;; - -esac diff --git a/databases/firebird20-server/files/pkg-message.in b/databases/firebird20-server/files/pkg-message.in deleted file mode 100644 index 94d4194294b8..000000000000 --- a/databases/firebird20-server/files/pkg-message.in +++ /dev/null @@ -1,27 +0,0 @@ - ---------------------------------------------------------- -Firebird is now installed. - -Before start the server ensure that the following line exists in /etc/services: - -gds_db 3050/tcp #InterBase Database Remote Protocol - -If you use inetd then add the following line to /etc/inetd.conf - -gds_db stream tcp nowait firebird %%PREFIX%%/bin/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 documentation in %%DOCSDIR%%/ -for more information. ---------------------------------------------------------- - |