Package: firebird2.5 / 2.5.3.26778.ds4-5+deb8u1

Metadata

Package Version Patches format
firebird2.5 2.5.3.26778.ds4-5+deb8u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
upstream/r58859 arm64.patch | (download)

configure.in | 22 11 + 11 - 0 !
src/jrd/common.h | 6 3 + 3 - 0 !
src/jrd/pag.cpp | 4 2 + 2 - 0 !
3 files changed, 16 insertions(+), 16 deletions(-)

 add arm64 port support
 The patch is based on upstream revision 58859, but parts needed to be
 uncommented
upstream/CORE 5474 remote execution.patch | (download)

builds/posix/Makefile.in.intl | 2 1 + 1 - 0 !
src/jrd/os/posix/mod_loader.cpp | 21 18 + 3 - 0 !
2 files changed, 19 insertions(+), 4 deletions(-)

---
out/honour buildflags.patch | (download)

builds/posix/Makefile.in.firebird | 2 1 + 1 - 0 !
extern/btyacc/Makefile | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use build flags from environment
 Necessary for hardening flags.
 While not relevant for the final binaries, having the flags for intermediate
 binaries helps avoid false positives while screening build logs.
trim cflags.patch | (download)

builds/posix/Makefile.in.firebird | 1 0 + 1 - 0 !
configure.in | 5 1 + 4 - 0 !
2 files changed, 1 insertion(+), 5 deletions(-)

 avoid repetitive -pthread and --fno-rtti flags in compiler
# command line
#  The change in configure.in avoids duplicating -pthread, which is also added
#  to the compiler command line (as THD_FLAGS) by the build system
#  The change to Makefile.in.firebird avoids double inclusion of make.platform,
#  which is also included by the per-target makefiles
no rpath.patch | (download)

builds/posix/make.defaults | 2 1 + 1 - 0 !
builds/posix/prefix.freebsd | 2 0 + 2 - 0 !
builds/posix/prefix.freebsd_amd64 | 2 0 + 2 - 0 !
3 files changed, 1 insertion(+), 5 deletions(-)

 disable rpath usage
#  On Debian all libraries are in /usr/lib

march i486.patch | (download)

builds/posix/prefix.linux | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 lower cpu optimization level to i486, which is the lowest
#  Debian supports
separate file and sem perms.patch | (download)

src/jrd/isc_sync.cpp | 15 13 + 2 - 0 !
1 file changed, 13 insertions(+), 2 deletions(-)

 use separate constants for file and shared memory permissions
no spurious linkage.patch | (download)

builds/posix/Makefile.in.client.util | 4 2 + 2 - 0 !
builds/posix/Makefile.in.embed.util | 4 2 + 2 - 0 !
builds/posix/Makefile.in.fbtrace | 2 1 + 1 - 0 !
builds/posix/Makefile.in.inet_server | 2 1 + 1 - 0 !
builds/posix/make.defaults | 20 10 + 10 - 0 !
configure.in | 7 6 + 1 - 0 !
6 files changed, 22 insertions(+), 17 deletions(-)

 avoid linking with libraries whose symbols are not used
parallel build.patch | (download)

builds/posix/Makefile.in.client.gfix | 2 1 + 1 - 0 !
builds/posix/Makefile.in.codes | 2 1 + 1 - 0 !
builds/posix/Makefile.in.examples | 2 1 + 1 - 0 !
builds/posix/Makefile.in.extlib | 4 2 + 2 - 0 !
builds/posix/Makefile.in.firebird | 102 51 + 51 - 0 !
builds/posix/Makefile.in.libfbstatic | 3 2 + 1 - 0 !
builds/posix/Makefile.in.msgs | 8 4 + 4 - 0 !
builds/posix/Makefile.in.refDatabases | 16 8 + 8 - 0 !
builds/posix/make.defaults | 1 1 + 0 - 0 !
builds/posix/make.rules | 8 4 + 4 - 0 !
builds/posix/make.shared.targets | 4 2 + 2 - 0 !
11 files changed, 77 insertions(+), 75 deletions(-)

 allow using -j make option to build firebird using parallel
#  makes. This speeds up the build significantly
#  An early version of the patch was forwarded upstream, but resulted in no
#  comments.
versioned log filename.patch | (download)

src/jrd/file_params.h | 4 3 + 1 - 0 !
src/utilities/ibmgr/srvrmgr.cpp | 2 1 + 1 - 0 !
2 files changed, 4 insertions(+), 2 deletions(-)

 use a log filename that includes the firebird major and minor
#  version. This way one can have the logs of multiple versions of firebird not
#  conflicting with each other
#  Perhaps a better approach would be to add an --with-logfile=/path/to/log
#  option to configure, which would also allow for the "check the log" message
#  below to point to the real log file
link_atomic_ops.patch | (download)

builds/posix/Makefile.in.client.util | 4 2 + 2 - 0 !
builds/posix/Makefile.in.embed.util | 4 2 + 2 - 0 !
builds/posix/Makefile.in.inet_server | 2 1 + 1 - 0 !
builds/posix/make.defaults | 7 4 + 3 - 0 !
configure.in | 6 6 + 0 - 0 !
5 files changed, 15 insertions(+), 8 deletions(-)

 link with libatomic_ops on platforms that need it
out/spelling.patch | (download)

src/gpre/gpreswi.h | 2 1 + 1 - 0 !
src/include/gen/msgs.h | 2 1 + 1 - 0 !
src/msgs/messages2.sql | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 minor spelling errors in messages
 supress --> suppress
 priviledge --> privilege
out/fb_guard lock permissions.patch | (download)

src/utilities/guard/guard.cpp | 2 1 + 1 - 0 !
src/utilities/guard/util.cpp | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 tighten permissions of fbguard lock file
 Creating a worls-writable file is a bad idea, even if it currently lives
 in a directory restricted for read/write/use to firebird:firebird
upstream/r60194 60204 ppcel.patch | (download)

builds/posix/prefix.linux_powerpc64el | 35 35 + 0 - 0 !
configure.in | 11 11 + 0 - 0 !
src/jrd/common.h | 4 4 + 0 - 0 !
src/jrd/inf_pub.h | 1 1 + 0 - 0 !
src/jrd/pag.cpp | 9 7 + 2 - 0 !
src/jrd/utl.cpp | 4 3 + 1 - 0 !
6 files changed, 61 insertions(+), 3 deletions(-)

 add implementation id for ppc64el architecture
 Without this, binaries built on ppc64el use the implementation ID of powerpc,
 which is big-endian, while ppc64el is little-endian. Wrong information about
 endianness will cause data corruption when transferring big integers and
 doubles over the network between ppc64el and other architectures.
 .
 The patch is taken from revisions 60194-60204 of upstream's B2_5_Release
 branch with the following modifications:
  + the part that enables arm64 is omitted, since we already have a separate
    patch for that, upstream/r58859-arm64.patch
  + some white-space changes are trimmed so that the patch is to the point
Bug-Debian: https://bugs.debian.org/769161
upstream/r60322 remote crash.patch | (download)

src/remote/protocol.cpp | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 fix unauthenticated remote crash
 Taken from upstream revision 60322