This patch originates from the Debian project, see https://www.debian.org/ 03db4.dpatch by libdb4 compatibility adjustments. In particular, this patch adds extra file permission checking and passes the DB_CREATE flag to the first invocation of db_open on the file's database structure, which rids us of the following message: BDB0635 DB_CREATE must be specified to create databases. --- nvi-1.81.6.orig/common/msg.c 2009-02-26 14:26:58.350336128 +0100 +++ nvi-1.81.6/common/msg.c 2009-02-26 14:29:05.235335829 +0100 @@ -724,9 +724,18 @@ p = buf; } else p = file; + if (access(p, F_OK) != 0) { + if (first) { + first = 0; + return (1); + } + sp->db_error = ENOENT; + msgq_str(sp, M_DBERR, p, "%s"); + return (1); + } if ((sp->db_error = db_create(&db, 0, 0)) != 0 || (sp->db_error = db->set_re_source(db, p)) != 0 || - (sp->db_error = db_open(db, NULL, DB_RECNO, 0, 0)) != 0) { + (sp->db_error = db_open(db, NULL, DB_RECNO, DB_CREATE, 0)) != 0) { if (first) { first = 0; return (1); ref='/guix/about/'>aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/benchmark.scm
AgeCommit message (Expand)Author
2024-10-26gnu: kdiskmark: Update to 3.1.4. [security fixes]...This fixes CVE-2022-40673. * gnu/packages/benchmark.scm (kdiskmark): Update to 3.1.4. [arguments]<#:configure-flags>: Adapt for polkit-qt. <#:phases>: Add phase 'inject-single-application-source. [inputs]: Add polkit-qt, single-application-qt5. Nicolas Graves
2024-08-31gnu: fio: Import the correct set of modules....* gnu/packages/benchmark.scm (fio) [arguments] <modules>: Replace %default-gnu-imported-modules with %default-gnu-modules. Change-Id: I95d0115b139f9cd2c61c6b2f47ae7a266490245f Maxim Cournoyer
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer
2024-08-31gnu: Remove unneeded libxml2 from native-inputs. (libxslt)...XML_CATALOG_FILES is already set within libxslt so it's unnecessary to include libxml2 for the same effect. * gnu/packages/freedesktop.scm (wayland): Remove obsolete comment. (farstream, elogind, packagekit, accountsservice, plymouth)[native-inputs]: Remove libxml2. * gnu/packages/benchmark.scm (sysbench)[native-inputs]: Ditto. * gnu/packages/cluster.scm (drbd-utils)[native-inputs]: Ditto. * gnu/packages/glib.scm (dbus)[native-inputs]: Ditto. * gnu/packages/gnome.scm (gnome-keyring, glade3, dconf, libsecret, colord) (upower, gnome-settings-daemon)[native-inputs]: Ditto. * gnu/packages/linux.scm (eudev)[native-inputs]: Ditto. * gnu/packages/networking.scm (iputils)[native-inputs]: Ditto. * gnu/packages/ocr.scm (tesseract-ocr)[native-inputs]: Ditto. * gnu/packages/polkit.scm (polkit)[native-inputs]: Ditto. * gnu/packages/samba.scm (samba/pinned)[native-inputs]: Ditto. * gnu/packages/sssd.scm (adcli)[native-inputs]: Ditto. * gnu/packages/terminals.scm (kmscon)[native-inputs]: Ditto. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ica3fb5a8e23ad928c53ae508c02777d78c635af0 Bruno Victal
2024-06-24gnu: fio: Update to 3.37....* gnu/packages/benchmark.scm (fio): Update to 3.37. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Vincent Legoll
2024-05-31gnu: intel-mpi-benchmarks: Update to 2021.7....This fixes compilation with glibc 2.39. * gnu/packages/benchmark.scm (intel-mpi-benchmarks/openmpi): Update to 2021.7. Change-Id: I4fc32f4ff78ec104485dd5966cdf2d44942f0349 Ludovic Courtès