bf96e50e44
- Introduced valgrind with a patch to respect flags and updated its configuration. - Added Vulkan ICD loader with CMake build configuration. - Implemented Waf build system with a custom build script and configuration. - Included Wayland protocols with Meson build system. - Added xcb-util-keysyms with autotools configuration. - Introduced Yasm with multiple patches for compatibility and improvements. - Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
76 lines
2.1 KiB
TOML
76 lines
2.1 KiB
TOML
[build]
|
|
type = "autotools"
|
|
|
|
[build.flags]
|
|
configure = [
|
|
"--bindir=/usr/bin/db5.3",
|
|
"--includedir=/usr/include/db5.3",
|
|
"--enable-compat185",
|
|
"--enable-shared",
|
|
"--disable-static",
|
|
"--enable-cxx",
|
|
"--enable-dbm",
|
|
"--enable-stl",
|
|
]
|
|
configure_file = "dist/configure"
|
|
post_install = [
|
|
"install -d $DESTDIR/usr/lib/db5.3",
|
|
'rm "$DESTDIR/usr/lib/libdb.so"',
|
|
'rm "$DESTDIR/usr/lib/libdb_cxx.so"',
|
|
'rm "$DESTDIR/usr/lib/libdb_stl.so"',
|
|
'ln -s ../libdb-5.3.so "$DESTDIR/usr/lib/db5.3/libdb.so"',
|
|
'ln -s ../libdb_cxx-5.3.so "$DESTDIR/usr/lib/db5.3/libdb_cxx.so"',
|
|
'ln -s ../libdb_stl-5.3.so "$DESTDIR/usr/lib/db5.3/libdb_stl.so"',
|
|
'rm -r "$DESTDIR/usr/docs"',
|
|
]
|
|
skip_tests = true
|
|
make-build-vars = [ "LIBSO_LIBS=-lpthread" ]
|
|
|
|
[dependencies]
|
|
runtime = [
|
|
"glibc",
|
|
"libunwind",
|
|
"libcxx",
|
|
"sh",
|
|
]
|
|
|
|
[[manual_sources]]
|
|
files = [
|
|
"db-5.3.21-memp_stat-upstream-fix.patch",
|
|
"db-5.3.21-mutex_leak.patch",
|
|
"db-5.3.28-lemon_hash.patch",
|
|
"db-5.3.28_cve-2019-2708.patch",
|
|
"db-5.3.28-mmap-high-cpu-usage.patch",
|
|
"db-5.3.28-atomic_compare_exchange.patch",
|
|
"db-5.3.28-fcntl-mutexes-bdb4.8.patch",
|
|
"db-5.3.28-tls-configure.patch",
|
|
"db-5.3.28-libcxx12.patch"
|
|
]
|
|
|
|
[package]
|
|
description = "The Berkeley DB embedded database system v5.3"
|
|
homepage = "https://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
|
license = "Sleepycat"
|
|
name = "db5.3"
|
|
version = "5.3.28"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
patches = [
|
|
"db-5.3.21-memp_stat-upstream-fix.patch",
|
|
"db-5.3.21-mutex_leak.patch",
|
|
"db-5.3.28-lemon_hash.patch",
|
|
"db-5.3.28_cve-2019-2708.patch",
|
|
"db-5.3.28-mmap-high-cpu-usage.patch",
|
|
"db-5.3.28-atomic_compare_exchange.patch",
|
|
"db-5.3.28-fcntl-mutexes-bdb4.8.patch",
|
|
"db-5.3.28-tls-configure.patch",
|
|
"db-5.3.28-libcxx12.patch"
|
|
]
|
|
post_extract = [
|
|
"cp /usr/share/autoconf/build-aux/config.* dist/",
|
|
"cd dist && ./s_config",
|
|
]
|
|
sha256 = "e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628"
|
|
url = "https://download.oracle.com/berkeley-db/db-$version.tar.gz"
|