diff --git a/.gitignore b/.gitignore index 0e5122a..9ce41d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,21 +1,6 @@ Firebird-2.1.3.18185-0.RC2.tar.bz2 /Firebird-2.5.0.26074-0.tar.bz2 -/Firebird-2.5.1.26349-0.tar.bz2 /Firebird-2.5.1.26351-0.tar.bz2 -/Firebird-2.5.2.26539-0.tar.bz2 /Firebird-2.5.3.26778-0.tar.bz2 -/Firebird-2.5.4.26856-0.tar.bz2 /Firebird-2.5.5.26952-0.tar.bz2 -/Firebird-3.0.1.32609-0.tar.bz2 -/Firebird-3.0.2.32703-0.tar.bz2 -/Firebird-3.0.3.32900-0.tar.bz2 -/Firebird-3.0.4.33054-0.tar.bz2 -/Firebird-3.0.5.33220-0.tar.bz2 -/Firebird-3.0.6.33328-0.tar.bz2 -/Firebird-3.0.7.33374-0.tar.bz2 -/Firebird-4.0.0.2496-0.tar.xz -/Firebird-4.0.2.2816-0.tar.xz -/Firebird-4.0.3.2975-0.tar.xz -/Firebird-4.0.4.3010-0.tar.xz -/Firebird-4.0.6.3221-0.tar.xz -/Firebird-5.0.3.1683-0-source.tar.xz +/Firebird-2.5.7.27050-0.tar.bz2 diff --git a/Make-the-generated-code-compatible-with-gcc-6-in-C-1.patch b/Make-the-generated-code-compatible-with-gcc-6-in-C-1.patch deleted file mode 100644 index 981b09b..0000000 --- a/Make-the-generated-code-compatible-with-gcc-6-in-C-1.patch +++ /dev/null @@ -1,29 +0,0 @@ -From: asfernandes -Date: Sat, 5 Mar 2016 03:39:36 +0000 -Subject: Make the generated code compatible with gcc 6 in C++-14 mode. - (cherry picked from commit 3618aa2171674babf79ef935aa049c40a3db1321) -Patch-mainline: -Git-commit: 3618aa2171674babf79ef935aa049c40a3db1321 -References: bsc#964466 CORE-5099 - ---- - src/gpre/c_cxx.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gpre/c_cxx.cpp b/src/gpre/c_cxx.cpp -index df175dca9465..bafce8f282bf 100644 ---- a/src/gpre/c_cxx.cpp -+++ b/src/gpre/c_cxx.cpp -@@ -2820,7 +2820,7 @@ static void gen_request(const gpre_req* request) - printa(0, "static %sshort\n isc_%dl = %d;", - (request->req_flags & REQ_extend_dpb) ? "" : CONST_STR, - request->req_ident, request->req_length); -- printa(0, "static %schar\n isc_%d [] = {", CONST_STR, request->req_ident); -+ printa(0, "static %sunsigned char\n isc_%d [] = {", CONST_STR, request->req_ident); - - const TEXT* string_type = "blr"; - if (gpreGlob.sw_raw) --- -2.8.2 - - diff --git a/README.Fedora b/README.Fedora index 071b351..efabbc2 100644 --- a/README.Fedora +++ b/README.Fedora @@ -1,17 +1,38 @@ Differences between upstream and the Fedora package =================================================== -* In /usr/bin you have isql-fb for Firebird isql. - We can't name it isql to avoid conflict with isql from UNIX-ODBC. - In /usr/bin you have also gstat-fb for Firebird gstat. - We can't name it gstat to avoid conflict with gstat from Ganglia-gmond. - -* By default, Firebird is set as superserver mode. - Please read the Firebird doc if you want to change the mode. +* Firebird utilities gbak,gsec,gfix,and nbackup have a symlink in /usr/bin + In /usr/bin you have also isql-fb symlinked to Firebird isql. + We can't name it isql to avoid conflict with isql from UNIX-ODBC + In /usr/bin you have also gstat-fb symlinked to Firebird gstat. + We can't name it gstat to avoid conflict with gstat from Ganglia-gmond * According to Fedora packaging rules, firebird service is not started automatically. You need to start it, as root : - systemctl start firebird.service - If you want to have firebird started at each boot, as root : - systemctl enable firebird.service + for SuperServer : + service firebird start + for Classic : + chkconfig firebird on + If you wanted to have firebird Superserver started at each boot, as root : + chkconfig --level 345 firebird on + +* Fedora packages do not use, nor contain the pre-supplied sources for + libicu. Fedora packages are used instead. + +* POSSIBLE INCOMPATIBILITY + In incides on text-based columns (CHAR/VARCHAR), Firebird uses ICU to get + binary-comparable sequences (collations). These collations may be different + in different ICU versions. + + In Firebird 2.1 upstream always uses the bundled ICU library. Firebird packages + use the Firebird-packaged libicu*. Unfortunately, this may lead to + incompatibilities in the binary index representation (on disk) between + databases created by Fedora-packaged Firebird, and upstream. + + This can also lead to incompatibilities when the Firebird packages are + re-built using different version of the system-wide ICU library + + One way to fix this is to backup and restore all databases created with ICU + version different from the one currently installed on the system. Another is + to re-generate all indices that contain a text-based columns. diff --git a/add-pkgconfig-files.patch b/add-pkgconfig-files.patch deleted file mode 100644 index e9fbb3f..0000000 --- a/add-pkgconfig-files.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/builds/install/arch-specific/linux/misc/fbclient.pc.in b/builds/install/arch-specific/linux/misc/fbclient.pc.in -new file mode 100644 -index 0000000..d49fdc5 ---- /dev/null -+++ b/builds/install/arch-specific/linux/misc/fbclient.pc.in -@@ -0,0 +1,10 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@FB_LIBDIR@ -+includedir=@FB_INCDIR@ -+ -+Name: fbclient -+Description: Firebird client library -+Version: @FIREBIRD_VERSION@ -+Cflags: -I${includedir}/firebird -+Libs: -L${libdir} -lfbclient ---- Firebird-5.0.3.1683-0-source/configure.ac~ 2025-07-14 01:33:58.000000000 -0500 -+++ Firebird-5.0.3.1683-0-source/configure.ac 2025-09-26 10:42:45.022624859 -0500 -@@ -1540,6 +1540,7 @@ - gen/install/misc/firebird.init.d.gentoo:builds/install/arch-specific/linux/firebird.init.d.gentoo.in - gen/install/misc/firebird.init.d.slackware:builds/install/arch-specific/linux/firebird.init.d.slackware.in - gen/install/misc/rc.config.firebird:builds/install/arch-specific/linux/rc.config.firebird.in -+ gen/install/misc/fbclient.pc:builds/install/arch-specific/linux/misc/fbclient.pc.in - gen/install/misc/firebird.service:builds/install/arch-specific/linux/firebird.service.in - ], - [chmod a+x gen/install/*sh 2>/dev/null]) diff --git a/btyacc-honour-build-flags.patch b/btyacc-honour-build-flags.patch deleted file mode 100644 index cb9f38c..0000000 --- a/btyacc-honour-build-flags.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/extern/btyacc/Makefile 2022-08-12 15:24:40.846774310 +0200 -+++ a/extern/btyacc/Makefile 2022-08-12 15:26:20.954809720 +0200 -@@ -12,7 +12,7 @@ - # across all of our supported compilers/platforms. - - # Vanilla CFLAGS --CFLAGS= -+CFLAGS=-fPIC -pie - - # No LDFLAGS - #LDFLAGS= - diff --git a/cloop-honour-build-flags.patch b/cloop-honour-build-flags.patch deleted file mode 100644 index 3ce2e2f..0000000 --- a/cloop-honour-build-flags.patch +++ /dev/null @@ -1,54 +0,0 @@ -Description: make cloop build honor compiler/linker flags from the environment -Author: Damyan Ivanov -Forwarded: no - ---- a/extern/cloop/Makefile -+++ b/extern/cloop/Makefile -@@ -27,8 +27,8 @@ SRCS_CPP := $(foreach sdir,$(SRC_DIRS),$ - OBJS_C := $(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.o,$(SRCS_C)) - OBJS_CPP := $(patsubst $(SRC_DIR)/%.cpp,$(OBJ_DIR)/%.o,$(SRCS_CPP)) - --C_FLAGS := -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter --CXX_FLAGS := $(C_FLAGS) -std=c++11 -+C_FLAGS := -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter $(CPPFLAGS) $(CFLAGS) -+CXX_FLAGS := $(C_FLAGS) $(CXXFLAGS) -std=c++11 - FPC_FLAGS := -Mdelphi -Cg - - ifeq ($(shell uname),FreeBSD) -@@ -94,7 +94,7 @@ $(BIN_DIR)/cloop: \ - $(OBJ_DIR)/cloop/Main.o \ - | $(BIN_DIR) - -- $(LD) $^ -o $@ $(LIBS) -+ $(LD) $(LDFLAGS) $^ -o $@ $(LIBS) - - $(SRC_DIR)/tests/test1/CalcCApi.h: $(BIN_DIR)/cloop $(SRC_DIR)/tests/test1/Interface.idl - $(BIN_DIR)/cloop $(SRC_DIR)/tests/test1/Interface.idl c-header $@ CALC_C_API_H CALC_I -@@ -121,23 +121,23 @@ $(BIN_DIR)/test1-c$(SHRLIB_EXT): \ - $(OBJ_DIR)/tests/test1/CalcCApi.o \ - $(OBJ_DIR)/tests/test1/CTest.o \ - -- $(LD) $^ -shared $(DL_LIB) -o $@ $(LIBS) -+ $(LD) $(LDFLAGS) $^ -shared $(DL_LIB) -o $@ $(LIBS) - - $(BIN_DIR)/test1-c$(EXE_EXT): \ - $(OBJ_DIR)/tests/test1/CalcCApi.o \ - $(OBJ_DIR)/tests/test1/CTest.o \ - -- $(LD) $^ $(DL_LIB) -o $@ $(LIBS) -+ $(LD) $(LDFLAGS) $^ $(DL_LIB) -o $@ $(LIBS) - - $(BIN_DIR)/test1-cpp$(SHRLIB_EXT): \ - $(OBJ_DIR)/tests/test1/CppTest.o \ - -- $(LD) $^ -shared $(DL_LIB) -o $@ $(LIBS) -+ $(LD) $(LDFLAGS) $^ -shared $(DL_LIB) -o $@ $(LIBS) - - $(BIN_DIR)/test1-cpp$(EXE_EXT): \ - $(OBJ_DIR)/tests/test1/CppTest.o \ - -- $(LD) $^ $(DL_LIB) -o $@ $(LIBS) -+ $(LD) $(LDFLAGS) $^ $(DL_LIB) -o $@ $(LIBS) - - $(BIN_DIR)/test1-pascal$(SHRLIB_EXT): \ - $(SRC_DIR)/tests/test1/PascalClasses.pas \ diff --git a/examples-honour-build-flags.patch b/examples-honour-build-flags.patch deleted file mode 100644 index fc7ebd9..0000000 --- a/examples-honour-build-flags.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/builds/posix/Makefile.in.plugins_examples b/builds/posix/Makefile.in.plugins_examples -index 989e80d..344f487 100644 ---- a/builds/posix/Makefile.in.plugins_examples -+++ b/builds/posix/Makefile.in.plugins_examples -@@ -101,7 +101,7 @@ AllObjects += $(CA_Objects) - crypt_app: $(CRYPT_APP) - - $(CRYPT_APP): $(CA_Objects) -- $(EXE_LINK) $(LSB_UNDEF) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) -+ $(EXE_LINK) $(EXE_LINK_OPTIONS) $(LSB_UNDEF) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) - - - include $(ROOT)/gen/make.shared.targets -diff --git a/examples/extauth/Makefile b/examples/extauth/Makefile -index 3c8b878..7de22a8 100644 ---- a/examples/extauth/Makefile -+++ b/examples/extauth/Makefile -@@ -61,8 +61,8 @@ KEYGEN_objects=$(INTERMED)/keygen.o - TCWRAP_objects=$(INTERMED)/TcWrapper.o - KEY_AUTH_objects=$(INTERMED)/ExtAuth.o - --CXXFLAGS=-std=c++17 -pthread -I$(ROOT)/include -fPIC $(TOMCRYPT_COMPILE) --LDFLAGS=-pthread -L$(LIB) -Wl,-rpath,'$$ORIGIN/../lib' $(TOMCRYPT_LINK) -+CXXFLAGS+=-std=c++17 -pthread -I$(ROOT)/include -fPIC $(TOMCRYPT_COMPILE) -+LDFLAGS+=-pthread -L$(LIB) -Wl,-rpath,'$$ORIGIN/../lib' $(TOMCRYPT_LINK) - - LINK_LIBS=-lfbclient -ltomcrypt -ltommath - diff --git a/fb_config b/fb_config deleted file mode 100644 index 2e4c410..0000000 --- a/fb_config +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/sh - -ARCH=$(uname -m) - -case $ARCH in - x86_64 | sparc64 | s390x | ppc64 | aarch64) - LIB_DIR=/usr/lib64 - SECONDARY_LIB_DIR=/usr/lib - ;; - *) - LIB_DIR=/usr/lib - SECONDARY_LIB_DIR=/usr/lib64 - ;; -esac - -if [ ! -x $LIB_DIR/fb_config ]; then - LIB_DIR=$SECONDARY_LIB_DIR -fi - -exec $LIB_DIR/fb_config "$@" diff --git a/firebird-CVE-2016-1569.patch b/firebird-CVE-2016-1569.patch new file mode 100644 index 0000000..a3f073e --- /dev/null +++ b/firebird-CVE-2016-1569.patch @@ -0,0 +1,11 @@ +--- a/firebird/branches/B2_5_Release/src/burp/burp.cpp ++++ b/firebird/branches/B2_5_Release/src/burp/burp.cpp +@@ -460,7 +460,7 @@ + } + else + { +- BURP_print(true, 137, sw.c_str()); ++ BURP_error(137, true, sw.c_str()); + // msg 137 unknown switch %s + } + } diff --git a/firebird-btyacc-fpie.patch b/firebird-btyacc-fpie.patch new file mode 100644 index 0000000..e276c31 --- /dev/null +++ b/firebird-btyacc-fpie.patch @@ -0,0 +1,11 @@ +--- extern/btyacc/Makefile.ori 2013-03-19 09:38:04.000000000 +0100 ++++ extern/btyacc/Makefile 2013-04-27 13:20:35.964379129 +0200 +@@ -12,7 +12,7 @@ HDRS = defs.h mstring.h + # across all of our supported compilers/platforms. + + # Vanilla CFLAGS +-CFLAGS= ++#CFLAGS= + + # No LDFLAGS + #LDFLAGS= diff --git a/firebird.service b/firebird.service deleted file mode 100644 index ecd4cf4..0000000 --- a/firebird.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Firebird Database Server -After=network.target -Conflicts=firebird-classic.socket - -[Service] -User=firebird -Group=firebird -ExecStart=/usr/sbin/fbguard -forever -RuntimeDirectory=firebird -RuntimeDirectoryMode=0775 - -[Install] -WantedBy=multi-user.target diff --git a/firebird.spec b/firebird.spec index a98162d..271838b 100644 --- a/firebird.spec +++ b/firebird.spec @@ -1,259 +1,384 @@ -%global upversion 5.0.3.1683 -%global pkgversion Firebird-%{upversion}-0 +%global pkgname Firebird-2.5.7.27050-0 +%global fbroot %{_libdir}/%{name} +%global major 2.5.7 -%global major 5.0 -%global _hardened_build 1 -# firebird is mis-compiled when LTO is enabled. A root -# cause analysis has not yet been completed. Reported upstream. -# Disable LTO for now -%global _lto_cflags %nil -Name: firebird -Version: %{upversion} -Release: 1%{?dist} +Summary: SQL relational database management system +Name: firebird +Version: 2.5.7.27050.0 +Release: 1%{?dist} -Summary: SQL relational database management system -# Automatically converted from old format: Interbase - review is highly recommended. -License: Interbase-1.0 -URL: http://www.firebirdsql.org/ +Group: Applications/Databases +License: Interbase +URL: http://www.firebirdsql.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -Source0: https://github.com/FirebirdSQL/firebird/releases/download/v5.0.3/%{pkgversion}-source.tar.xz -Source1: firebird-logrotate -Source2: README.Fedora -Source3: firebird.service -Source4: fb_config - -# from OpenSuse -Patch101: add-pkgconfig-files.patch - -# from Debian to be sent upstream -Patch203: no-copy-from-icu.patch -Patch205: cloop-honour-build-flags.patch +Source0: http://downloads.sourceforge.net/firebird/%{pkgname}.tar.bz2 +Source1: firebird-logrotate +Source2: README.Fedora # from upstream -Patch401: btyacc-honour-build-flags.patch - -# not yet upstream -Patch501: examples-honour-build-flags.patch +Patch0: firebird-btyacc-fpie.patch BuildRequires: autoconf BuildRequires: automake -BuildRequires: libtommath-devel +BuildRequires: bison BuildRequires: libtool BuildRequires: ncurses-devel +BuildRequires: libtermcap-devel BuildRequires: libicu-devel BuildRequires: libedit-devel BuildRequires: gcc-c++ +%if 0%{?fedora}>=14 BuildRequires: libstdc++-static -BuildRequires: systemd-rpm-macros -BuildRequires: chrpath -BuildRequires: zlib-devel -BuildRequires: procmail -BuildRequires: make -BuildRequires: libtomcrypt-devel -BuildRequires: unzip -BuildRequires: sed -BuildRequires: cmake +%endif +%ifnarch %{ix86} x86_64 +BuildRequires: libatomic_ops-devel +%endif + +Requires: %{name}-arch = %{version}-%{release} +Requires: grep +Requires: sed +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig Requires(postun): /usr/sbin/userdel Requires(postun): /usr/sbin/groupdel -Recommends: logrotate -Requires: libfbclient2 = %{version}-%{release} -Requires: libib-util = %{version}-%{release} -Requires: %{name}-utils = %{version}-%{release} - +Requires(pre): /usr/sbin/groupadd +Requires(pre): /usr/sbin/useradd +Requires: %{name}-libfbclient +Requires: logrotate +Requires: %{name}-filesystem %description -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. +This package contains common files between firebird-classic, firebird-superclassic and +firebird-superserver. You will need this if you want to use either one. - -%package devel -Requires: %{name} = %{version}-%{release} -Requires: libfbclient2-devel = %{version}-%{release} -Summary: UDF support library for Firebird SQL server - -%description devel -This package is needed for development of client applications and user -defined functions (UDF) for Firebird SQL server. - -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. - - -%package -n libib-util -Summary: Firebird SQL UDF support library - -%description -n libib-util -libib_util contains utility functions used by -User-Defined Functions (UDF) for memory management etc. - -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. - - -%package -n libfbclient2 -Summary: Firebird SQL server client library - -%description -n libfbclient2 -Shared client library for Firebird SQL server. - -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. - - -%package -n libfbclient2-devel -Summary: Development libraries and headers for Firebird SQL server -Requires: %{name}-devel = %{version}-%{release} -Requires: libfbclient2 = %{version}-%{release} -Requires: pkgconfig - -%description -n libfbclient2-devel -Development files for Firebird SQL server client library. - -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. - - -%package doc -Requires: %{name} = %{version}-%{release} -Summary: Documentation for Firebird SQL server -BuildArch: noarch +%package doc +Summary: Documentation for Firebird SQL RDBMS +Group: Applications/Databases %description doc -Documentation for Firebird SQL server. +This are the Firebird SQL Database shared doc and examples files. -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. +%package filesystem +Summary: Filesystem for Firebird SQL RDBMS +Group: Applications/Databases +%description filesystem +This is the Firebird SQL Database root file system. -%package utils -Requires: libfbclient2 = %{version}-%{release} -Summary: Firebird SQL user utilities +%package classic-common +Summary: Common files for Firebird "classic" and "superclassic" servers +Group: Applications/Databases +Requires: %{name} = %{version}-%{release} +Requires: %{name}-libfbembed = %{version}-%{release} +Conflicts: %{name}-superserver -%description utils -Firebird SQL user utilities. +%description classic-common +This package contains the command line utilities and files common to classic and superclassic Firebird servers. -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. +%package devel +Summary: Development Libraries for Firebird SQL RDBMS +Group: Applications/Databases +Requires: %{name}-libfbclient = %{version}-%{release} +Requires: %{name}-libfbembed = %{version}-%{release} +%description devel +Development libraries for firebird. -%package examples -Requires: %{name}-doc = %{version}-%{release} -Summary: Examples for Firebird SQL server -BuildArch: noarch +%package classic +Summary: Classic (xinetd) server for Firebird SQL RDBMS +Group: Applications/Databases +Provides: %{name}-arch = %{version}-%{release} +Requires: xinetd +Requires: %{name} = %{version}-%{release} +Conflicts: %{name}-superclassic +Requires: %{name}-libfbembed = %{version}-%{release} +Requires: %{name}-classic-common = %{version}-%{release} -%description examples -Examples for Firebird SQL server. +%description classic +This is the Classic (xinetd) server Firebird SQL RDBMS. +It can also be used as an embedded server, when paired with the +client-embedded package. -Firebird is a relational database offering many ANSI SQL standard -features that runs on Linux, Windows, and a variety of Unix platforms. -Firebird offers excellent concurrency, high performance, and powerful -language support for stored procedures and triggers. It has been used -in production systems, under a variety of names, since 1981. +%package superclassic +Summary: SuperClassic (single process) server for Firebird SQL RDBMS +Group: Applications/Databases +Provides: %{name}-arch = %{version}-%{release} +Requires: %{name} = %{version}-%{release} +Conflicts: %{name}-classic +Requires: %{name}-classic-common = %{version}-%{release} + +%description superclassic +The "superclassic" architecture uses a new thread to handle each connection. +This allows for good scaling on multi-processor machines without consuming too much operating system resources.. + +%package superserver +Summary: Superserver (single process) server for Firebird SQL RDBMS +Group: Applications/Databases +Provides: %{name}-arch = %{version}-%{release} +Requires: %{name} = %{version}-%{release} +Conflicts: %{name}-classic-common + +%description superserver +This is the Superserver (single process) Firebird SQL RDBMS. + +%package libfbclient +Summary: Multi-threaded, non-local client libraries for Firebird SQL RDBMS +Group: System Environment/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description libfbclient +Multi-threaded, non-local client libraries for Firebird SQL Database + +%package libfbembed +Summary: Multi-process, local client libraries for Firebird SQL RDBMS +Group: System Environment/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description libfbembed +Multi-process, local client libraries for Firebird SQL RDBMS %prep -%setup -q -n %{pkgversion}-source -%patch -P101 -p1 -%patch -P203 -p1 -%patch -P205 -p1 -%patch -P401 -p1 -%patch -P501 -p1 - -# Create a sysusers.d config file -cat >firebird.sysusers.conf < .%{_localstatedir}/log/%{name}/%{name}.log -sed "s@%{name}.log@%{_localstatedir}/log/%{name}/%{name}.log@g" %{SOURCE1} > .%{_sysconfdir}/logrotate.d/%{name} +cd %{buildroot} +rm -f %{_builddir}/%{pkgname}/gen/buildroot%{_sysconfdir}/%{name}/I*.txt +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{_sysconfdir}/%{name}/* %{buildroot}%{_sysconfdir}/%{name} +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/bin-classic/* %{buildroot}%{fbroot}/bin-classic +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{_sbindir}/fb_config %{buildroot}%{fbroot}/bin-classic/fb_config +sed "s@-classic@-superserver@" %{_builddir}/%{pkgname}/gen/buildroot-classic%{_sbindir}/fb_config > %{buildroot}%{fbroot}/bin-superserver/fb_config +sed "s@-classic@@" %{_builddir}/%{pkgname}/gen/buildroot-classic%{_sbindir}/fb_config > %{buildroot}%{_libdir}/fb_config +sed -i '/plugins/d' %{buildroot}%{_libdir}/fb_config +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{_sbindir}/fbguard %{buildroot}%{_sbindir}/fbguard +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{_sbindir}/fb_inet_server %{buildroot}%{_sbindir}/fb_inet_server +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{_sbindir}/fb_lock_print %{buildroot}%{_sbindir}/fb_lock_print +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{_sbindir}/fb_smp_server %{buildroot}%{_sbindir}/fb_smp_server +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{_sbindir}/fbserver %{buildroot}%{_sbindir}/fbserver +rm -f %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/bin-superserver/fb_inet_server +rm -f %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/bin-superserver/fb_smp_server +rm -f %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/bin-superserver/changeMultiConnectMode.sh +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/bin-superserver/* %{buildroot}%{fbroot}/bin-superserver +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{_includedir}/*.h %{buildroot}%{_includedir} +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{_includedir}/%{name}/* %{buildroot}%{_includedir}/%{name} +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{_sysconfdir}/%{name}/* %{buildroot}%{_sysconfdir}/%{name} +rm -f %{buildroot}%{_sysconfdir}/%{name}/README +rm -f %{buildroot}%{_sysconfdir}/%{name}/WhatsNew -mkdir -p .%{_unitdir} -cp -f %{SOURCE3} .%{_unitdir}/%{name}.service +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{_libdir}/lib* %{buildroot}%{_libdir} +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/UDF/* %{buildroot}%{fbroot}/UDF +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{_localstatedir}/lib/%{name}/data/* %{buildroot}%{_localstatedir}/lib/%{name}/data +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{_localstatedir}/lib/%{name}/system/* %{buildroot}%{_localstatedir}/lib/%{name}/system +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/plugins-superserver/* %{buildroot}%{fbroot}/plugins-superserver +cp -d %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/plugins-classic/* %{buildroot}%{fbroot}/plugins-classic +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/intl/fbintl %{buildroot}%{fbroot}/intl/fbintl +cp -d %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/intl/fbintl.conf %{buildroot}%{_sysconfdir}/%{name}/fbintl.conf +ln -s %{_sysconfdir}/%{name}/fbintl.conf .%{fbroot}/intl/fbintl.conf + + +cd %{buildroot}%{_libdir} +ln -s libfbclient.so libgds.so +ln -s libfbclient.so.%{major} libgds.so.0 +cd %{buildroot} + +echo 1 > %{buildroot}%{_localstatedir}/log/%{name}/%{name}.log +sed "s@%{name}.log@%{_localstatedir}/log/%{name}/%{name}.log@g" %{SOURCE1} > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} + +sed "s@= root@= %{name}@" %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/misc/%{name}.xinetd > %{buildroot}%{_sysconfdir}/xinetd.d/%{name} +cp %{_builddir}/%{pkgname}/gen/buildroot%{fbroot}/misc/%{name}.init.d.mandrake %{buildroot}%{_initrddir}/%{name}-superserver +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/misc/%{name}.init.d.mandrake %{buildroot}%{_initrddir}/%{name}-superclassic + +sed "s@%%{fbroot}@%{fbroot}@g" %{SOURCE2} > %{_builddir}/%{pkgname}/doc/README.Fedora + +cd %{buildroot} +ln -s %{fbroot}/bin/fbsvcmgr .%{_bindir}/fbsvcmgr +ln -s %{fbroot}/bin/fbtracemgr .%{_bindir}/fbtracemgr +ln -s %{fbroot}/bin/gbak .%{_bindir}/gbak +ln -s %{fbroot}/bin/gdef .%{_bindir}/gdef +ln -s %{fbroot}/bin/gfix .%{_bindir}/gfix +ln -s %{fbroot}/bin/gpre .%{_bindir}/gpre +ln -s %{fbroot}/bin/gsec .%{_bindir}/gsec +ln -s %{fbroot}/bin/gsplit .%{_bindir}/gsplit +ln -s %{fbroot}/bin/gstat .%{_bindir}/gstat-fb +ln -s %{fbroot}/bin/isql .%{_bindir}/isql-fb +ln -s %{fbroot}/bin/nbackup .%{_bindir}/nbackup +ln -s %{fbroot}/bin/qli .%{_bindir}/qli + +%clean +rm -Rf %{buildroot} + +%post libfbclient -p /sbin/ldconfig + +%postun libfbclient -p /sbin/ldconfig + +%post libfbembed -p /sbin/ldconfig + +%postun libfbembed -p /sbin/ldconfig + +%post classic-common +if [ "$(readlink %{fbroot}/bin 2> /dev/null)" \!= "%{fbroot}/bin-classic" ]; then + [ -e %{fbroot}/bin ] && rm -f %{fbroot}/bin + ln -s %{fbroot}/bin{-classic,} +fi + +%post classic +if /sbin/service xinetd status >& /dev/null; then + /sbin/service xinetd reload &>/dev/null || : +fi + +%preun classic +if [ $1 -eq 0 ]; then + if /sbin/service xinetd status >& /dev/null; then + /sbin/service xinetd reload &>/dev/null || : + fi +fi + +%preun classic-common +if [ $1 -eq 0 ]; then + if [ "$(readlink %{fbroot}/bin 2> /dev/null)" = "%{fbroot}/bin-classic" ]; then + rm -f %{fbroot}/bin + fi +fi + +%preun superclassic +if [ $1 -eq 0 ]; then + if /sbin/service firebird-superclassic status >& /dev/null; then + /sbin/service firebird-superclassic stop + fi + chkconfig --del firebird-superclassic +fi + +%post superclassic +if [ $1 -eq 1 ]; then + chkconfig firebird-superclassic off +fi + +%post superserver +if [ "$(readlink %{fbroot}/bin 2> /dev/null)" \!= "%{fbroot}/bin-superserver" ]; then + [ -e %{fbroot}/bin ] && rm -f %{fbroot}/bin + ln -s %{fbroot}/bin{-superserver,} +fi +if [ $1 -eq 1 ]; then + chkconfig firebird-superserver off +fi + + +%preun superserver +if [ $1 -eq 0 ]; then + if /sbin/service firebird-superserver status >& /dev/null; then + /sbin/service firebird-superserver stop + fi + chkconfig --del firebird-superserver + if [ "$(readlink %{fbroot}/bin 2> /dev/null)" = "%{fbroot}/bin-superserver" ]; then + rm -f %{fbroot}/bin + fi +fi %pre +# Create the firebird group if it doesn't exist +getent group %{name} || /usr/sbin/groupadd -r %{name} +getent passwd %{name} >/dev/null || /usr/sbin/useradd -d / -g %{name} -s /bin/nologin -r %{name} + # Add gds_db to /etc/services if needed FileName=/etc/services newLine="gds_db 3050/tcp # Firebird SQL Database Remote Protocol" @@ -263,409 +388,176 @@ if [ -z "$oldLine" ]; then fi -%post -%systemd_post firebird.service - +%post -p /sbin/ldconfig %postun -%systemd_postun_with_restart firebird.service +/sbin/ldconfig - -%preun -%systemd_preun firebird.service - - -%files -%{_docdir}/%{name}/ -%{_bindir}/fbtracemgr -%{_sbindir}/firebird -%{_sbindir}/fbguard -%{_sbindir}/fb_lock_print -%dir %{_sysconfdir}/%{name} -%config(noreplace) %{_sysconfdir}/%{name}/databases.conf -%config(noreplace) %{_sysconfdir}/%{name}/fbtrace.conf -%config(noreplace) %{_sysconfdir}/%{name}/firebird.conf -%config(noreplace) %{_sysconfdir}/%{name}/plugins.conf -%config(noreplace) %{_sysconfdir}/%{name}/replication.conf -%dir %{_libdir}/%{name} -%dir %{_datadir}/%{name} -%{_libdir}/%{name}/intl -%{_libdir}/%{name}/plugins - -%dir %{_localstatedir}/lib/%{name} -%dir %attr(0700,%{name},%{name}) %{_localstatedir}/lib/%{name}/secdb -%dir %attr(0700,%{name},%{name}) %{_localstatedir}/lib/%{name}/data -%dir %attr(0755,%{name},%{name}) %{_localstatedir}/lib/%{name}/system -%dir %attr(0755,%{name},%{name}) %{_localstatedir}/lib/%{name}/tzdata -%attr(0600,firebird,firebird) %config(noreplace) %{_localstatedir}/lib/%{name}/secdb/security5.fdb -%attr(0644,firebird,firebird) %{_localstatedir}/lib/%{name}/system/firebird.msg -%attr(0644,firebird,firebird) %{_localstatedir}/lib/%{name}/tzdata/*.res -%ghost %dir %attr(0775,%{name},%{name}) /run/%{name} -%ghost %attr(0644,%{name},%{name}) /run/%{name}/fb_guard +%files +%defattr(0644,root,root,0755) +%doc builds/install/misc/IDPLicense.txt +%doc builds/install/misc/IPLicense.txt +%doc doc/README.Fedora +%defattr(0755,root,root,0755) +%dir %{fbroot} +%defattr(0644,root,root,0755) +%dir %attr(0755,root,root) %{_localstatedir}/lib/%{name} +%dir %attr(0770,%{name},%{name}) %{_localstatedir}/lib/%{name}/data +%attr(0660,%{name},%{name}) %{_localstatedir}/lib/%{name}/data/employee.fdb %dir %{_localstatedir}/log/%{name} +%dir %{fbroot}/intl +%dir %{fbroot}/UDF +%{fbroot}/UDF/* +%dir %{_sysconfdir}/%{name} +%config(noreplace) %attr (0600,%{name},%{name}) %{_localstatedir}/lib/%{name}/system/security2.fdb +%{_localstatedir}/lib/%{name}/system/*.msg +%{_localstatedir}/lib/%{name}/system/help.fdb +%config(noreplace) %attr (0664,%{name},%{name}) %{_sysconfdir}/%{name}/fbintl.conf +%config(noreplace) %attr (0664,%{name},%{name}) %{_sysconfdir}/%{name}/aliases.conf +%config(noreplace) %attr (0664,%{name},%{name}) %{_sysconfdir}/%{name}/firebird.conf +%config(noreplace) %attr (0664,%{name},%{name}) %{_sysconfdir}/%{name}/fbtrace.conf +%{fbroot}/intl/fbintl.conf %config(noreplace) %attr(0664,%{name},%{name}) %{_localstatedir}/log/%{name}/%{name}.log %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name} - -%attr(0644,root,root) %{_unitdir}/%{name}.service -%{_sysusersdir}/firebird.conf - - -%files devel -%{_includedir}/*.h -%{_includedir}/%{name} -%{_libdir}/fb_config -%{_sbindir}/fb_config - - -%files -n libfbclient2 -%{_libdir}/libfbclient.so.2 -%{_libdir}/libfbclient.so.%{major}* - - -%files -n libfbclient2-devel -%{_libdir}/libfbclient.so -%{_libdir}/pkgconfig/fbclient.pc - - -%files -n libib-util %{_libdir}/libib_util.so - +%defattr(0755,root,root,0750) +%{fbroot}/intl/fbintl +%defattr(0755,root,root,0755) +%{_bindir}/* +%{_sbindir}/fbguard +%{_sbindir}/fb_lock_print +%dir %attr(0775,%{name},%{name}) %{_var}/run/%{name} %files doc -%{_docdir}/%{name}/ -%exclude %{_docdir}/%{name}/sample -%exclude %{_docdir}/%{name}/IDPLicense.txt -%exclude %{_docdir}/%{name}/IPLicense.txt +%defattr(0644,root,root,0755) +%doc gen/buildroot-classic%{_defaultdocdir}/%{name} +%doc gen/buildroot-classic%{fbroot}/misc/intl.sql +%doc gen/buildroot-classic%{fbroot}/misc/upgrade +%doc gen/buildroot-classic%{_sysconfdir}/%{name}/README +%doc gen/buildroot-classic%{_sysconfdir}/%{name}/WhatsNew + +%files devel +%defattr(0644,root,root,0755) +%dir %{_includedir}/%{name} +%{_includedir}/*.h +%{_includedir}/%{name}/*.h +%{_libdir}/libfb*.so +%{_libdir}/libgds.so +%defattr(0755,root,root,0755) +%{_libdir}/fb_config + +%files filesystem +%defattr(0644,root,root,0755) +%doc doc/README.Fedora +%defattr(0755,root,root,0755) +%dir %{fbroot} -%files utils -%{_bindir}/gstat-fb -%{_bindir}/fbsvcmgr -%{_bindir}/gbak -%{_bindir}/gfix -%{_bindir}/gpre -%{_bindir}/gsec -%{_bindir}/isql-fb -%{_bindir}/nbackup -%{_bindir}/gsplit +%files libfbclient +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%{_libdir}/libfbclient.so.* +%{_libdir}/libgds.so.0 -%files examples -%{_docdir}/%{name}/sample -%attr(0600,firebird,firebird) %{_localstatedir}/lib/%{name}/data/employee.fdb +%files libfbembed +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%{_libdir}/libfbembed.so.* + + +%files classic +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%config(noreplace) %{_sysconfdir}/xinetd.d/%{name} + + +%files superclassic +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%defattr(0755,root,root,0755) +%{_initrddir}/%{name}-superclassic +%{_sbindir}/fb_smp_server + +%files classic-common +%dir %{fbroot}/bin-classic +%dir %{fbroot}/plugins-classic +%defattr(0755,root,root,0755) +%{fbroot}/bin-classic/* +%{fbroot}/plugins-classic/* +%{_sbindir}/fb_inet_server + + +%files superserver +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%defattr(0644,root,root,0755) +%dir %{fbroot}/bin-superserver +%dir %{fbroot}/plugins-superserver +%defattr(0755,root,root,0755) +%{_initrddir}/%{name}-superserver +%{fbroot}/bin-superserver/* +%{fbroot}/plugins-superserver/*.so +%{_sbindir}/fbserver %changelog -* Fri Sep 26 2025 Gwyn Ciesla - 5.0.3.1683-1 -- 5.0.3.1683 +* Wed Aug 16 2017 Philippe Makowski - 2.5.7.27050.0-1 +- update to 2.5.7 +- security fix (#1425332) -* Thu Sep 25 2025 Gwyn Ciesla - 4.0.6.3221-1 -- 4.0.6.3221 - -* Wed Jul 23 2025 Fedora Release Engineering - 4.0.4.3010-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 4.0.4.3010-7 -- Add sysusers.d config file to allow rpm to create users/groups automatically - -* Thu Jan 16 2025 Fedora Release Engineering - 4.0.4.3010-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Aug 07 2024 Miroslav Suchý - 4.0.4.3010-5 -- convert license to SPDX - -* Wed Jul 17 2024 Fedora Release Engineering - 4.0.4.3010-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Wed Jan 24 2024 Fedora Release Engineering - 4.0.4.3010-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 4.0.4.3010-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Nov 09 2023 Philippe Makowski - 4.0.4.3010-0 -- Update to 4.0.4 (#2247832) - -* Tue Aug 08 2023 Philippe Makowski - 4.0.3.2975-0 -- Update to 4.0.3 (#2228171) - -* Wed Jul 19 2023 Fedora Release Engineering - 4.0.2.2816-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jan 19 2023 Fedora Release Engineering - 4.0.2.2816-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Dec 1 2022 Florian Weimer - 4.0.2.2816-3 -- Port configure script to C99 - -* Thu Nov 24 2022 Philippe Makowski - 4.0.2.2816-2 -- Patch for autoconf 2.72 (#2144802) - -* Fri Aug 12 2022 Philippe Makowski - 4.0.2.2816-1 -- Update to 4.0.2 (#2033945) - -* Thu Jul 21 2022 Fedora Release Engineering - 4.0.0.2496-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri May 13 2022 Philippe Makowski - 4.0.0.2496-7 -- Remove Standard output type syslog (#2035798) - -* Thu Jan 20 2022 Fedora Release Engineering - 4.0.0.2496-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Sun Oct 10 2021 Kalev Lember - 4.0.0.2496-5 -- Recommend logrotate rather than hard requiring - -* Fri Oct 08 2021 Kalev Lember - 4.0.0.2496-4 -- BuildRequire systemd-rpm-macros instead of systemd-units -- Remove requires on systemd-units as per updated guidelines - -* Fri Aug 20 2021 Philippe Makowski - 4.0.0.2496-3 -- Fix build on s390x (#1969393) - -* Wed Jul 21 2021 Fedora Release Engineering - 4.0.0.2496-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jun 08 2021 Philippe Makowski - 4.0.0.2496-1 -- Update to 4.0.0 (#1963311) - -* Mon May 10 2021 Jeff Law - 3.0.7.33374-5 -- Re-enable LTO - -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 3.0.7.33374-4 -- Rebuilt for updated systemd-rpm-macros - See https://pagure.io/fesco/issue/2583. - -* Tue Jan 26 2021 Fedora Release Engineering - 3.0.7.33374-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Oct 27 2020 Jeff Law - 3.0.7.33374-2 -- Force C++14 as this code is not C++17 ready - -* Fri Oct 23 2020 Philippe Makowski - 3.0.7.33374-1 -- new upstream release fix #1887991 - -* Mon Aug 10 2020 Jeff Law - 3.0.6.33328-4 -- Disable LTO on s390x for now - -* Sat Aug 01 2020 Fedora Release Engineering - 3.0.6.33328-3 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 3.0.6.33328-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 08 2020 Philippe Makowski - 3.0.6.33328-1 -- new upstream release fix #1850675 - -* Tue Jan 28 2020 Fedora Release Engineering - 3.0.5.33220-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Jan 20 2020 Philippe Makowski - 3.0.5.33220-1 -- new upstream release fix #1786885 - -* Mon Nov 4 2019 Philippe Makowski - 3.0.4.33054-5 -- Change firebird-superserver.service file permissions, fix #1768091 -- Set login shell to /sbin/nologin, fix #1764128 -- Remove BR libtermcap-devel - -* Wed Aug 21 2019 Philippe Makowski - 3.0.4.33054-4 -- Remove tmpfile, fix #1687058 - -* Thu Jul 25 2019 Fedora Release Engineering - 3.0.4.33054-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 3.0.4.33054-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Nov 22 2018 Philippe Makowski - 3.0.4.33054-1 -- new upstream release - -* Fri Jul 13 2018 Fedora Release Engineering - 3.0.3.32900-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sun Mar 18 2018 Richard W.M. Jones - 3.0.3.32900-2 -- Add support for riscv64. - -* Tue Feb 20 2018 Philippe Makowski - 3.0.3.32900-1 -- new upstream release. -- Drop obsolete ldconfig scriptlets. -- Fix tmpfiles path - -* Tue Feb 13 2018 Remi Collet - 3.0.2.32703-5 -- add shebang in fb_config, fix #1544837 - -* Wed Feb 07 2018 Fedora Release Engineering - 3.0.2.32703-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 3.0.2.32703-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 3.0.2.32703-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Mon Mar 27 2017 Philippe Makowski - 3.0.2.32703-1 -- new upstream release - -* Tue Feb 21 2017 Philippe Makowski - 3.0.1.32609-5 -- security fix (#1425333) - -* Fri Feb 10 2017 Fedora Release Engineering - 3.0.1.32609-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Nov 15 2016 Philippe Makowski - 3.0.1.32609-3 -- add requires on libfbclient2-devel for firebird-devel #1394750 - -* Mon Oct 31 2016 Philippe Makowski - 3.0.1.32609-2 -- obsolete firebird-libfbembed #1388648 - -* Wed Oct 12 2016 Philippe Makowski - 3.0.1.32609-1 -- new upstream release - -* Fri Apr 15 2016 David Tardon - 2.5.5.26952.0-7 -- rebuild for ICU 57.1 - -* Wed Mar 30 2016 Philippe Makowski - 2.5.5.26952.0-6 -- use _tmpfilesdir macro - -* Wed Mar 09 2016 Philippe Makowski - 2.5.5.26952.0-5 -- Resolves: rbhz#1307503 building with gcc6 - -* Sat Feb 20 2016 David Tardon - 2.5.5.26952.0-4 -- Resolves: rbhz#1309223 restore /usr/sbin/fb_config - -* Fri Feb 05 2016 Philippe Makowski - 2.5.5.26952.0-3 +* Fri Feb 05 2016 Philippe Makowski - 2.5.5.26952.0-2 - move fb_config (#1297506) -- fixe CVE-2016-1569 (#1297447 #1297450 #1297451) - -* Wed Feb 03 2016 Fedora Release Engineering - 2.5.5.26952.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild +- fix CVE-2016-1569 (#1297447 #1297450 #1297451) * Thu Nov 19 2015 Philippe Makowski 2.5.5.26952.0-1 - update to 2.5.5 -* Wed Oct 28 2015 David Tardon - 2.5.4.26856.0-4 -- rebuild for ICU 56.1 - -* Wed Jun 17 2015 Fedora Release Engineering - 2.5.4.26856.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 2.5.4.26856.0-2 -- Rebuilt for GCC 5 C++11 ABI change - * Thu Apr 2 2015 Philippe Makowski 2.5.4.26856.0-1 - update to 2.5.4 -* Mon Jan 26 2015 David Tardon - 2.5.3.26778.0-6 -- rebuild for ICU 54.1 - -* Sun Dec 7 2014 Philippe Makowski 2.5.3.26778.0-5 +* Sun Dec 7 2014 Philippe Makowski 2.5.3.26778.0-2 - security fix firebird CORE-4630 -* Thu Oct 30 2014 Philippe Makowski 2.5.3.26778.0-4 -- Remove lib64 rpaths (#1154706) - -* Tue Aug 26 2014 David Tardon - 2.5.3.26778.0-3 -- rebuild for ICU 53.1 - -* Sat Aug 16 2014 Fedora Release Engineering - 2.5.3.26778.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - * Sat Jul 26 2014 Philippe Makowski - 2.5.3.26778.0-1 - update from upstream 2.5.3 -- update arm64 patch - -* Sat Jun 07 2014 Fedora Release Engineering - 2.5.2.26539.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed Feb 12 2014 Rex Dieter 2.5.2.26539.0-10 -- rebuild (libicu) - -* Sat Dec 07 2013 Philippe Makowski 2.5.2.26539.0-9 -- fix FTBFS if "-Werror=format-security" flag is used (bug #1037062) - -* Thu Aug 08 2013 Philippe Makowski 2.5.2.26539.0-8 -- add BR libatomic_ops-static (bug #993439) - -* Tue Jul 23 2013 Philippe Makowski 2.5.2.26539.0-7 -- make fb_config executable (bug #985335) - -* Tue Jul 23 2013 Philippe Makowski 2.5.2.26539.0-6 -- Provide fb_config in firebird-devel (bug #985335) - -* Mon Jun 03 2013 Philippe Makowski 2.5.2.26539.0-5 -- Firebird fails to build for aarch64 (bug #969851) - -* Thu Apr 25 2013 Philippe Makowski 2.5.2.26539.0-4 -- set PIE compiler flags (bug #955274) * Sun Mar 10 2013 Philippe Makowski 2.5.2.26539.0-3 - added patch from upstream to fix Firebird CORE-4058 CVE-2013-2492 -* Sat Jan 26 2013 Rex Dieter 2.5.2.26539.0-2 -- rebuild (icu) +* Fri Dec 14 2012 Philippe Makowski 2.5.2.26539.0-2 +- added patch from upstream to fix Firebird CORE-4011 and RH #886578 * Fri Nov 09 2012 Philippe Makowski 2.5.2.26539.0-1 - new upstream (bug fix release) - added patch from upstream to fix Firebird CORE-3946 -* Sat Aug 25 2012 Philippe Makowski 2.5.1.26351.0-4 -- Modernize systemd scriptlets (bug #850109) - -* Thu Jul 19 2012 Fedora Release Engineering - 2.5.1.26351.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Apr 23 2012 Philippe Makowski 2.5.1.26351.0-2 -- rebuild for icu 4.8 - -* Thu Jan 19 2012 Philippe Makowski 2.5.1.26351.0-1 -- Fix non-fatal POSTIN fix rh #781691 -- new upstream - -* Fri Jan 06 2012 Philippe Makowski 2.5.1.26349.0-4 -- Rebuild for GCC-4.7 - -* Mon Nov 28 2011 Philippe Makowski 2.5.1.26349.O-3 -- Better systemd support fix rh #757624 - -* Sun Oct 02 2011 Karsten Hopp 2.5.1.26349.O-2 -- drop ppc64 configure script hack, not required anymore +* Fri Feb 03 2012 Philippe Makowski 2.5.1.26351.0-1 +- new upstream (bug fix release) * Thu Sep 29 2011 Philippe Makowski 2.5.1.26349.0-1 - new upstream (bug fix release) - added patch from upstream to fix Firebird CORE-3610 -* Thu Sep 22 2011 Philippe Makowski 2.5.0.26074.0-10 -- Add support for systemd (rh #737281) +* Sun Dec 26 2010 Philippe Makowski 2.5.0.26074.0-3 +- fix ppc64 -* Fri Apr 22 2011 Philippe Makowski 2.5.0.26074.0-8 -- added patch from upstream to fix rh #697313 - -* Mon Mar 07 2011 Caolán McNamara - 2.5.0.26074.0-7 -- rebuild for icu 4.6 - -* Tue Feb 08 2011 Fedora Release Engineering - 2.5.0.26074.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jan 28 2011 Philippe Makowski 2.5.0.26074.0-5 -- services must not be enabled by default - -* Tue Jan 25 2011 Karsten Hopp 2.5.0.26074.0-4 -- firebird got miscompiled on ppc and had an empty libfbclient.so.2.5.0 - bump release and rebuild - -* Wed Dec 22 2010 Philippe Makowski 2.5.0.26074.0-3 +* Wed Dec 22 2010 Philippe Makowski 2.5.0.26074.0-2 - Fix wrong assign file for classic and classic common - -* Thu Dec 16 2010 Dan Horák 2.5.0.26074.0-2 - sync the s390(x) utilities list with other arches - add libatomic_ops-devel as BR: on non-x86 arches -* Sat Dec 04 2010 Philippe Makowski 2.5.0.26074.0-1 -- Fix rh #656587 /var/run mounted as tempfs +* Tue Nov 23 2010 Philippe Makowski 2.5.0.26074.0-1 +- add ppc64 * Mon Nov 22 2010 Philippe Makowski 2.5.0.26074.0-0 - build with last upstream +- exclude ppc64 * Tue Jun 29 2010 Dan Horák 2.1.3.18185.0-9 - update the s390(x) patch to match upstream diff --git a/no-copy-from-icu.patch b/no-copy-from-icu.patch deleted file mode 100644 index 3dfbd6d..0000000 --- a/no-copy-from-icu.patch +++ /dev/null @@ -1,51 +0,0 @@ -Description: Link isql with ICU instead of embedding part of it in the source -Author: Damyan Ivanov - ---- a/src/isql/isql.epp -+++ b/src/isql/isql.epp -@@ -173,34 +173,6 @@ const char* UNKNOWN = "*unknown*"; - - namespace IcuUtil - { -- // Duplicate from ICU to not need to link ISQL with it. It's used by U8_NEXT_UNSAFE. -- static const uint8_t utf8_countTrailBytes[256] = { -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- -- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -- -- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -- 3, 3, 3, 3, 3, -- 3, 3, 3, /* illegal in Unicode */ -- 4, 4, 4, 4, /* illegal in Unicode */ -- 5, 5, /* illegal in Unicode */ -- 0, 0 /* illegal bytes 0xfe and 0xff */ -- }; -- - // Return the number of characters of a string. - static unsigned charLength(SSHORT charset, unsigned len, const char* str) - { ---- a/builds/posix/Makefile.in -+++ b/builds/posix/Makefile.in -@@ -543,7 +543,7 @@ $(GSTAT): $(GSTAT_Objects) $(COMMON_LIB - isql: $(ISQL) - - $(ISQL): $(ISQL_Objects) $(COMMON_LIB) -- $(EXE_LINK) $(EXE_LINK_OPTIONS) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) $(LIBEDITLINE) $(TERMLIB) $(LINK_LIBS) -+ $(EXE_LINK) $(EXE_LINK_OPTIONS) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) $(LIBEDITLINE) $(TERMLIB) $(LINK_LIBS) $(ICU_LIBS) - - nbackup: $(NBACKUP) - diff --git a/sources b/sources index deab017..3c2b269 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Firebird-5.0.3.1683-0-source.tar.xz) = 3b1d075ced4dfcf099723f06a8a18ac6821aa9fd3c0c9919f44b4bb7126390436dc1a9f61369f0dd7401af5bbac82dff02edf28555046c89cbe33657e26fd937 +SHA512 (Firebird-2.5.7.27050-0.tar.bz2) = 793d47a8c8395dfb6f8417253950034dcd61b6b8337e654510d2d133396e5d1fccf615fc614bbe3129a64a101e956cb8b54d7460b06e72b245518f1b5af99327