Compare commits

...
Sign in to create a new pull request.

138 commits

Author SHA1 Message Date
Gwyn Ciesla
4525462e5f Firebird 5.x 2025-09-29 14:33:20 -05:00
Gwyn Ciesla
8c97c25830 4.0.6.3221 2025-09-25 11:23:32 -05:00
Fedora Release Engineering
799921c421 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 20:32:23 +00:00
Zbigniew Jędrzejewski-Szmek
425f1bc7f6 Add sysusers.d config file to allow rpm to create users/groups automatically
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
2025-02-12 21:18:00 +01:00
Fedora Release Engineering
1ad5b3f7bf Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 18:18:42 +00:00
Miroslav Suchý
486a7272e8 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-07 09:27:50 +02:00
Fedora Release Engineering
c1190948a5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 23:09:47 +00:00
Fedora Release Engineering
e7f9a8fc46 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 11:35:33 +00:00
Fedora Release Engineering
9ea2d66555 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 19:20:48 +00:00
Philippe Makowski
f4a59a8e8c Update to 4.0.4 (#2247832) 2023-11-09 09:38:14 +01:00
Yaakov Selkowitz
956fde06ed Respect build flags in examples
This is particularly needed for flatpak builds (for libreoffice),
without which libtomcrypt/libtommath are not found.
2023-11-03 15:45:05 -04:00
Philippe Makowski
34dc32d7f4 Update to 4.0.3 (#2228171) 2023-08-08 15:20:57 +02:00
Fedora Release Engineering
945bf8d529 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 19:43:30 +00:00
Fedora Release Engineering
ea36e598d2 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:27:41 +00:00
Florian Weimer
bc46796aca Port configure script to C99
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-12-01 19:04:47 +01:00
Philippe Makowski
548bb23690 Patch for autoconf 2.72 (#2144802) 2022-11-24 15:27:14 +01:00
Philippe Makowski
e98569fbdb remove patchs 2022-08-12 16:25:00 +02:00
Philippe Makowski
4ecb51a558 remove patchs 2022-08-12 16:23:33 +02:00
Philippe Makowski
2c3b833ae8 Update to 4.0.2 (#2033945) 2022-08-12 16:00:39 +02:00
Fedora Release Engineering
0778c670a0 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:11:33 +00:00
Philippe Makowski
2026ffed7a Remove Standard output type syslog (#2035798) 2022-05-13 09:40:32 +02:00
Fedora Release Engineering
6281e568ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:01:19 +00:00
Kalev Lember
861f86033b Recommend logrotate rather than hard requiring
This makes it possible for the flatpak module builds (libreoffice
flatpak) to avoid logrotate dep that doesn't make sense inside flatpak
containers.

Using Recommends instead of Requires still means that it gets pulled in
by default for regular fedora rpm installs, but users can exclude the
package if they have to.
2021-10-10 18:27:18 +02:00
Kalev Lember
f852ddf23c Remove requires on systemd-units as per updated guidelines
There is no need to have them as systemd correctly handles reloading
depending on the transaction ordering (even if systemd is installed
_after_ the package that installs the unit file).
2021-10-08 04:01:12 +02:00
Kalev Lember
813c88f6d2 BuildRequire systemd-rpm-macros instead of systemd-units
The package that ships %systemd_post/postun/preun macros is
systemd-rpm-macros.
2021-10-08 03:57:02 +02:00
Philippe Makowski
2cf663a2c7 Fix build on s390x (#1969393) 2021-08-20 10:14:08 +02:00
Fedora Release Engineering
2bad4e256b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 22:58:58 +00:00
Philippe Makowski
bc1d9a8a8c use variable fro rundir 2021-06-11 15:27:57 +02:00
Philippe Makowski
4ff4f3d5ac Firebird 4 have build issues under s390x 2021-06-08 12:55:07 +02:00
Philippe Makowski
1a99e62b9e Update to 4.0.0 (#1963311) 2021-06-08 11:49:50 +02:00
Jeff Law
dbf28280b4 Re-enable LTO 2021-05-10 13:48:12 -06:00
Zbigniew Jędrzejewski-Szmek
fda770b289 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:50 +01:00
Fedora Release Engineering
3223a0cc20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:33:36 +00:00
Tom Stellard
6c51737edb Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-18 22:38:38 +00:00
Jeff Law
2e33bbcffd Force C++14 as this code is not C++17 ready 2020-10-27 14:55:15 -06:00
Philippe Makowski
afb28c0109 new upstream release fix #1887991 2020-10-23 14:07:32 +02:00
Jeff Law
5f2dab2eee Disable LTO on s390x for now 2020-08-10 22:10:29 -06:00
Fedora Release Engineering
868d216b86 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:58:59 +00:00
Fedora Release Engineering
84194bfd15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:28:21 +00:00
Philippe Makowski
01ab131398 new upstream release fix #1850675 2020-07-08 13:42:20 +02:00
Stephan Bergmann
f568f52f53 Remove spurious symlinks when building flatpak
For some unexplored reason, the firebird build system creates some additional
symlinks in the build root when building a flatpak.  Instead of trying to patch
the firebird build system to prevent them, just delete them afterwards (to avoid
"Installed (but unpackaged) file(s) found" errors).
2020-02-13 11:44:31 +01:00
Philippe Makowski
20be64fb96 fix Unnecessary output from scriptlets, fix #1796532 2020-02-03 13:33:31 +01:00
Fedora Release Engineering
b64da79532 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 18:31:36 +00:00
Kalev Lember
6737b9d1b8 Avoid hardcoding /usr prefix
When building flatpaks, the prefix can also be /app.
2020-01-21 22:54:25 +01:00
Philippe Makowski
ca51082022 new upstream release fix #1786885 2020-01-20 11:46:46 +01:00
Philippe Makowski
2d4b965aff Remove BR libtermcap-devel 2019-11-04 13:44:03 +01:00
Philippe Makowski
c1692a38e7 Change firebird-superserver.service file permissions, fix #1768091
Set login shell to /sbin/nologin, fix #1764128:
2019-11-04 11:59:07 +01:00
Philippe Makowski
02f4ee98e3 Fix firebird-superserver.service file permissions
Set firebird-superserver.service not executable
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1768091
2019-11-04 09:07:34 +00:00
Davide Bolcioni
5a4a0896a0 Fix login shell to /sbin/nologin
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1764128
2019-10-28 18:29:01 +00:00
Philippe Makowski
1482d4f0f8 Remove tmpfile, fix #1687058 2019-08-21 13:45:30 +02:00
Philippe Makowski
bffd6aecae Remove tmpfile, fix #1687058 2019-08-21 13:30:25 +02:00
Fedora Release Engineering
effd287358 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 00:35:47 +00:00
Fedora Release Engineering
26a7132317 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 19:44:09 +00:00
Igor Gnatenko
d6f784fa16 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:02 +01:00
Igor Gnatenko
8e6617fff2
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:38:56 +01:00
Philippe Makowski
a164537023 new upstream release 2018-11-22 11:59:06 +01:00
Fedora Release Engineering
c4d0140cf6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 00:34:57 +00:00
Jason Tibbitts
2077dcea6f Remove needless use of %defattr 2018-07-10 00:50:24 -05:00
Richard W.M. Jones
ff02bdfc61 Rebase riscv64 patch correctly.
The new file was accidentally dropped during rebasing.
2018-03-19 08:57:46 +00:00
Richard W.M. Jones
9a809ebd54 Add support for riscv64. 2018-03-18 19:47:36 +00:00
Philippe Makowski
17f3653e9a enable make parallel 2018-02-21 15:33:15 +01:00
Philippe Makowski
0b41f40a92 new upstream release.
Drop obsolete ldconfig scriptlets.
Fix tmpfiles path
2018-02-21 13:41:16 +01:00
Igor Gnatenko
8ff706a5e2
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:55:17 +01:00
Igor Gnatenko
da85fc4d34 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:22:12 +01:00
Remi Collet
8637c8d0e5 add shebang in fb_config, fix #1544837 2018-02-13 16:48:39 +01:00
Fedora Release Engineering
a9195608ed - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 09:41:14 +00:00
Fedora Release Engineering
5454a27f26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 20:35:25 +00:00
Fedora Release Engineering
780af991db - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 08:24:14 +00:00
Philippe Makowski
0030fdc3fa new upstream release 2017-03-27 14:18:29 +02:00
makowski
5249660e84 security fix (#1425333) 2017-02-21 16:04:51 +01:00
makowski
d09d10348b security fix (#1425333) 2017-02-21 15:46:34 +01:00
Fedora Release Engineering
4ad9db0714 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 09:47:12 +00:00
makowski
4ccb8c119a add requires on libfbclient2-devel for firebird-devel #1394750 2016-11-15 14:55:50 +01:00
makowski
2dca829221 obsolete firebird-libfbembed #1388648 2016-10-31 09:01:44 +01:00
makowski
0b8bf6b657 new upstream release 2016-10-12 16:38:40 +02:00
David Tardon
208b506475 rebuild for ICU 57.1 2016-04-15 20:12:12 +02:00
Philippe Makowski
5c7bd18411 use _tmpfilesdir macro (typo in changelog) 2016-03-30 16:47:47 +02:00
Philippe Makowski
dd6d069702 use _tmpfilesdir macro 2016-03-30 16:46:08 +02:00
Philippe Makowski
6bf23f1714 - try another way to fix build with gcc6 2016-03-09 09:59:37 +01:00
Philippe Makowski
5aa8b0f68c - Resolves: rbhz#1307503 building with gcc6 2016-03-09 09:30:27 +01:00
David Tardon
b8bb692d20 Resolves: rbhz#1309223 restore /usr/sbin/fb_config 2016-02-20 10:14:15 +01:00
Philippe Makowski
2f05faf37e - move fb_config (#1297506)
- fixe CVE-2016-1569 (#1297447 #1297450 #1297451)
2016-02-05 12:40:23 +01:00
Dennis Gilmore
ea485c2ba6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 20:31:26 +00:00
Philippe Makowski
25b66176be update to 2.5.5 2015-11-19 13:57:54 +01:00
David Tardon
d4fc154645 rebuild for ICU 56.1 2015-10-28 14:07:57 +01:00
Dennis Gilmore
55cb72395f - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 06:20:45 +00:00
Kalev Lember
75c16e121b Rebuilt for GCC 5 C++11 ABI change 2015-05-02 13:38:37 +02:00
Philippe Makowski
456a973210 add missing changelog 2015-04-02 15:28:19 +02:00
Philippe Makowski
d3f87c09c8 update to 2.5.4, remove no longer need patches 2015-04-01 21:04:07 +00:00
Philippe Makowski
60217f94b9 update to 2.5.4 2015-04-01 20:54:00 +00:00
David Tardon
ff845729be rebuild for ICU 54.1 2015-01-26 16:52:29 +01:00
Philippe Makowski
546fa764aa security fix firebird CORE-4630 2014-12-07 18:21:08 +01:00
Philippe Makowski
eec02c57ae Remove lib64 rpaths (#1154706) 2014-10-30 21:54:05 +01:00
Philippe Makowski
33c57bb0c3 Remove lib64 rpaths (#1154706) 2014-10-30 21:48:41 +01:00
David Tardon
10ae4b2c1a rebuild for ICU 53.1 2014-08-26 13:57:23 +02:00
Peter Robinson
35fba9488c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 12:28:09 +00:00
Philippe Makowski
fdc4bc1109 - update from upstream 2.5.3
- update arm64 patch
2014-07-26 15:46:50 +02:00
Philippe Makowski
b8bce501c0 update from upstream 2.5.3 2014-07-21 18:38:56 +02:00
Dennis Gilmore
e4993a2183 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 07:08:49 -05:00
Rex Dieter
cfa4bcbfbb rebuild (libicu) 2014-02-12 15:07:14 -06:00
Philippe Makowski
7b5d8302bc fix FTBFS if "-Werror=format-security" flag is used (bug #1037062) 2013-12-07 15:26:11 +01:00
Philippe Makowski
1c9821cd6a add BR libatomic_ops-static (bug #993439) 2013-08-08 18:41:27 +02:00
Philippe Makowski
6dfe507ac9 add BR libatomic_ops-static (bug #993439) 2013-08-08 18:39:19 +02:00
Philippe Makowski
7d9288cd22 make fb_config executable (bug #985335) 2013-08-01 20:30:12 +02:00
Philippe Makowski
28f75ddb1d Provide fb_config in firebird-devel (bug #985335) 2013-07-23 23:13:29 +02:00
Philippe Makowski
f598828dde Firebird fails to build for aarch64 (bug #969851) 2013-06-03 21:59:53 +02:00
Philippe Makowski
2beaa8373d add patch to btyacc to have PIE compiler flags 2013-04-27 13:31:07 +02:00
Philippe Makowski
14f95a0a23 set PIE compiler flags (bug #955274) 2013-04-25 18:46:58 +02:00
Philippe Makowski
3cacc6e4ae added patch from upstream to fix Firebird CORE-4058 CVE-2013-2492 2013-03-10 19:22:16 +01:00
Rex Dieter
679856d774 rebuild (icu) 2013-01-26 12:16:40 -06:00
Philippe Makowski
72f5e889df typo 2012-11-09 22:26:30 +01:00
Philippe Makowski
25b00e058f add license files 2012-11-09 21:33:31 +01:00
Philippe Makowski
4282dc53ee typo 2012-11-09 20:17:13 +01:00
Philippe Makowski
b1b77a8145 clog 2012-11-09 19:50:54 +01:00
Philippe Makowski
94e923af4a - Modernize systemd scriptlets (bug #850109) 2012-08-25 16:12:35 +02:00
Philippe Makowski
dc7e351b4d - Modernize systemd scriptlets (bug #850109) 2012-08-25 16:09:57 +02:00
Dennis Gilmore
2d981bd188 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 21:25:03 -05:00
Philippe Makowski
6a8d032c5d - rebuild for icu 4.8 2012-04-23 09:04:26 +02:00
Philippe Makowski
602ae1192f new upstream 2012-01-19 19:20:30 +01:00
Philippe Makowski
eb6ad25368 Fix non-fatal POSTIN fix rh #781691 2012-01-19 17:43:57 +01:00
Philippe Makowski
d3a66488a4 rebuild for GCC-4.7 2012-01-06 15:44:46 +01:00
Philippe Makowski
030d1eb176 wrong post 2011-11-28 21:51:50 +01:00
Philippe Makowski
12b455ea50 Better systemd support fix rh #757624 2011-11-28 21:46:04 +01:00
Karsten Hopp
47767f6f7a drop ppc64 hack, not required anymore 2011-10-02 15:28:17 +02:00
Philippe Makowski
5b212ee931 new upstream (bug fix release)
added patch from upstream to fix Firebird CORE-3610
2011-09-29 19:20:28 +02:00
Philippe Makowski
e5b844b22d Add support for systemd (rh #737281) 2011-09-22 17:03:08 +02:00
Philippe Makowski
fbfc8a53ca rebuild for new icu 2011-09-09 20:08:33 +02:00
makowski
8e497e7ebf add patch1 2011-04-22 09:00:27 +02:00
makowski
0761a59df5 added patch from upstream to fix rh #697313 2011-04-22 08:57:07 +02:00
makowski
3dc00504e9 added patch from upstream to fix rh #697313 2011-04-22 08:54:37 +02:00
Caolán McNamara
72a440694f rebuild for icu 4.6 2011-03-07 15:29:17 +00:00
Dennis Gilmore
98ff30bb2f - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 14:12:27 -06:00
makowski
dda135712b - services must not be enabled by default 2011-01-28 16:13:23 +01:00
Karsten Hopp
2d759cf886 replace several ppc64 special cases with just one 2011-01-26 17:23:54 +01:00
Karsten Hopp
e1f0f4a687 firebird got miscompiled on ppc and had an empty libfbclient.so.2.5.0
bump release and rebuild
2011-01-25 20:03:32 +01:00
makowski
52d7d28db9 - Fix wrong assign file for classic and classic common 2010-12-22 20:09:16 +01:00
Dan Horák
7ff1577f0e - sync the s390(x) utilities list with other arches
- add libatomic_ops-devel as BR: on non-x86 arches
2010-12-16 15:29:33 +01:00
makowski
718dbe82d9 Fix rh #656587 /var/run mounted as tempfs 2010-12-04 19:25:42 +01:00
12 changed files with 853 additions and 468 deletions

19
.gitignore vendored
View file

@ -1,2 +1,21 @@
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

View file

@ -0,0 +1,29 @@
From: asfernandes <asfernandes@users.sourceforge.net>
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

View file

@ -1,38 +1,17 @@
Differences between upstream and the Fedora package
===================================================
* 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
* 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.
* According to Fedora packaging rules, firebird service is not started
automatically. You need to start it, as root :
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.
systemctl start firebird.service
If you want to have firebird started at each boot, as root :
systemctl enable firebird.service

26
add-pkgconfig-files.patch Normal file
View file

@ -0,0 +1,26 @@
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])

View file

@ -0,0 +1,12 @@
--- 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=

View file

@ -0,0 +1,54 @@
Description: make cloop build honor compiler/linker flags from the environment
Author: Damyan Ivanov <dmn@debian.org>
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 \

View file

@ -0,0 +1,28 @@
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

20
fb_config Normal file
View file

@ -0,0 +1,20 @@
#!/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 "$@"

14
firebird.service Normal file
View file

@ -0,0 +1,14 @@
[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

File diff suppressed because it is too large Load diff

51
no-copy-from-icu.patch Normal file
View file

@ -0,0 +1,51 @@
Description: Link isql with ICU instead of embedding part of it in the source
Author: Damyan Ivanov <dmn@debian.org>
--- 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)

View file

@ -1 +1 @@
780f162ee71f087fc277adf09f966529 Firebird-2.5.0.26074-0.tar.bz2
SHA512 (Firebird-5.0.3.1683-0-source.tar.xz) = 3b1d075ced4dfcf099723f06a8a18ac6821aa9fd3c0c9919f44b4bb7126390436dc1a9f61369f0dd7401af5bbac82dff02edf28555046c89cbe33657e26fd937