Package Details: db4.8 4.8.30-7

Git Clone URL: https://aur.archlinux.org/db4.8.git (read-only, click to copy)
Package Base: db4.8
Description: The Berkeley DB embedded database system 4.8
Upstream URL: http://www.oracle.com/technology/software/products/berkeley-db/index.html
Keywords: db4.8
Licenses: custom
Submitter: None
Maintainer: pizzaman (Raansu)
Last Packager: Raansu
Votes: 41
Popularity: 0.76
First Submitted: 2010-11-26 09:45
Last Updated: 2021-04-23 02:16

Pinned Comments

Raansu commented on 2021-04-23 02:12

Let me know of any issues!

Updated 04/22/2021

Added "format security" patch from https://git.sailfishos.org/mer-core/db4/blob/master/db-4.8.30-format-security.patch This deals with a change to the default makepkg.conf compile options as set by the Arch Linux maintainers that adds '-Werror=format-security' to the default compiling options.

Changed PKGBUILD to correctly identify the list of supported architectures this package can compile on. Theoretically this should compile and run on a wide range of processors so if I missed one let me know and I can add it in.

Latest Comments

1 2 Next › Last »

iohzrd commented on 2021-04-23 10:49

@pizzaman As was stated by Raansu, it was getting set automatically. But I wasn't sure where it was getting set.

@Raansu Thanks for fixing

Raansu commented on 2021-04-23 02:12

Let me know of any issues!

Updated 04/22/2021

Added "format security" patch from https://git.sailfishos.org/mer-core/db4/blob/master/db-4.8.30-format-security.patch This deals with a change to the default makepkg.conf compile options as set by the Arch Linux maintainers that adds '-Werror=format-security' to the default compiling options.

Changed PKGBUILD to correctly identify the list of supported architectures this package can compile on. Theoretically this should compile and run on a wide range of processors so if I missed one let me know and I can add it in.

Raansu commented on 2021-04-23 02:04

@pizzaman thank you for adding me back as a maintainer. The package has been updated.

Raansu commented on 2021-04-23 01:29

@pizzaman I feel like I orphaned the package too soon. But I found out just recently that the default makepkg.conf file compiling options got changed recently. It seems like arch linux maintainers think " -Werror=format-security " is a good idea to have.

In the meantime I found a fix so db4.8 would compile with " -Werror=format-security " enabled from a Sailfish OS developer found here. https://git.sailfishos.org/mer-core/db4/blob/master/db-4.8.30-format-security.patch

Could you please add this?

pizzaman commented on 2021-04-22 23:01

@iohzrd I am wondering why are you compiling with the -Werror=format-security CFLAG?

Raansu commented on 2021-04-22 07:21

@iohzrd I'm not 100% about this issue and I don't know how to best fix it.

Because of this I feel like I cannot support this package any further and I will orphaning this package so someone else can take over support.

iohzrd commented on 2021-04-21 21:30

Currently getting:

../dist/../repmgr/repmgr_net.c: In function ‘__repmgr_listen’:
../dist/../repmgr/repmgr_net.c:1334:2: error: format not a string literal and no format arguments [-Werror=format-security]
 1334 |  __db_err(env, ret, why);
      |  ^~~~~~~~
cc1: some warnings being treated as errors
make: *** [Makefile:1954: repmgr_net.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

while trying to compile. Please advise.

allspark commented on 2018-10-28 08:37

Hi,

the ARCH of this package is not ANY. it is ARCH dependend compiled (compiled on x86_64, but runs not on ARM)

https://wiki.archlinux.org/index.php/PKGBUILD#arch

"If a package is architecture-independent in its compiled state (shell scripts, fonts, themes, many types of extensions, etc.) then use arch=('any'). Please note that, as this is intended for packages that can be built once and used on any architecture, it will cause the package to be labeled -any as opposed to -x86_64, etc. "

Raansu commented on 2018-03-13 09:28

Let me know of any issues!

Updated 03/13/2018

Added "__atomic_compare_exchange" patch as suggested.

Added "CVE-2017-10140-cwd-db_config" patch from Debian security (https://security-tracker.debian.org/tracker/CVE-2017-10140)

ozz commented on 2018-03-12 18:08

Is someone still maintaining this? It's an extremely important lib for lots of cryptocurrencies.

Probably should update this to include a patch for the __atomic_compare_exchange issue. Here's one way: https://gist.github.com/danieldk/5700533