aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/db.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-25 10:31:45 +0900
committerOphestra <cat@gensokyo.uk>2026-05-25 10:31:45 +0900
commit8ca70550abee1f3085b13a8f645152a11b59b306 (patch)
treef8d115712b741c92d0c62ec53904f880bad36999 /internal/rosa/package/db.az
parent7eebf49b98e72b4b1966b1d1e78910a643514ece (diff)
internal/rosa/package: db
For iproute2. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/db.az')
-rw-r--r--internal/rosa/package/db.az35
1 files changed, 35 insertions, 0 deletions
diff --git a/internal/rosa/package/db.az b/internal/rosa/package/db.az
new file mode 100644
index 00000000..4bb577e4
--- /dev/null
+++ b/internal/rosa/package/db.az
@@ -0,0 +1,35 @@
+package db {
+ description = "Berkeley DB";
+ website = "https://www.oracle.com/database/technologies/related/berkeleydb.html";
+ anitya = 1587;
+
+ version# = "18.1.40";
+ source = remoteTar {
+ url = "https://download.oracle.com/berkeley-db/db-"+version+".tar.gz";
+ checksum = "26i6UfgNxPVzS7kr37Q9-9feeCiQ825qRi8uvn2oG4AngOXHcFoSGDijckKvWSH7";
+ compress = gzip;
+ };
+
+ writable = true;
+ chmod = true;
+ early = `
+cd build_unix
+# broken install target
+touch \
+ ../docs/bdb-sql \
+ ../docs/gsg_db_server
+`;
+
+ exec = make {
+ inPlace = true;
+ configureName = "../dist/configure";
+ forceAutoconf = true;
+ configure = {
+ "enable-cxx";
+ "enable-compat185";
+ "with-repmgr-ssl": "no";
+ };
+ check = [ "examples_c" ];
+ postInstall = "rm -r /work/system/docs";
+ };
+}