Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
50
sources/poky/meta/recipes-support/gdbm/files/ptest.patch
Normal file
50
sources/poky/meta/recipes-support/gdbm/files/ptest.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
From 8bea84a598b51a7ac7e50aa8f0f20857a9b6b07b Mon Sep 17 00:00:00 2001
|
||||
From: Josep Puigdemont <josep.puigdemont@enea.com>
|
||||
Date: Sun, 4 May 2014 16:02:07 +0200
|
||||
Subject: [PATCH] Add install-ptest rules.
|
||||
|
||||
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
|
||||
Signed-off-by: Maxin B. John <maxin.john@enea.com>
|
||||
Upstream-Status: Pending
|
||||
|
||||
---
|
||||
Makefile.am | 5 +++++
|
||||
tests/Makefile.am | 12 ++++++++++++
|
||||
2 files changed, 17 insertions(+)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 59e2643..5f3ceb0 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -64,3 +64,8 @@ ChangeLog:
|
||||
mv ChangeLog.tmp ChangeLog; \
|
||||
rm -f ChangeLog.tmp; \
|
||||
fi
|
||||
+
|
||||
+install-ptest:
|
||||
+ @for subdir in $(SUBDIRS); do \
|
||||
+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \
|
||||
+ done
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index fac6826..5dc2091 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -143,3 +143,15 @@ d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
|
||||
t_wordwrap_LDADD = ../tools/libgdbmapp.a
|
||||
|
||||
SUBDIRS = gdbmtool
|
||||
+
|
||||
+buildtests: $(check_PROGRAMS) $(TESTSUITE)
|
||||
+
|
||||
+install-ptest: $(check_PROGRAMS) $(TESTSUITE)
|
||||
+ @$(INSTALL) -d $(DESTDIR)
|
||||
+ @for file in $^; do \
|
||||
+ if [ -x .libs/$$file ]; then \
|
||||
+ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \
|
||||
+ else \
|
||||
+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \
|
||||
+ fi \
|
||||
+ done
|
||||
--
|
||||
2.25.1
|
||||
|
||||
7
sources/poky/meta/recipes-support/gdbm/files/run-ptest
Executable file
7
sources/poky/meta/recipes-support/gdbm/files/run-ptest
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# This script is used to run the gmdb test suite
|
||||
|
||||
cd tests
|
||||
|
||||
./testsuite --am-fmt AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1
|
||||
45
sources/poky/meta/recipes-support/gdbm/gdbm_1.23.bb
Normal file
45
sources/poky/meta/recipes-support/gdbm/gdbm_1.23.bb
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY = "Key/value database library with extensible hashing"
|
||||
DESCRIPTION = "Library of database functions that use extensible hashing \
|
||||
and work similar to the standard UNIX dbm. These routines are provided \
|
||||
to a programmer needing to create and manipulate a hashed database."
|
||||
HOMEPAGE = "http://www.gnu.org/software/gdbm/"
|
||||
SECTION = "libs"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=241da1b9fe42e642cbb2c24d5e0c4d24"
|
||||
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
|
||||
file://run-ptest \
|
||||
file://ptest.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd"
|
||||
|
||||
inherit autotools gettext texinfo lib_package ptest
|
||||
|
||||
# Needed for dbm python module
|
||||
EXTRA_OECONF = "--enable-libgdbm-compat --without-readline"
|
||||
|
||||
# Stop presence of dbm/nbdm on the host contaminating builds
|
||||
CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
do_install:append () {
|
||||
# Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find
|
||||
# these headers
|
||||
install -d ${D}${includedir}/gdbm
|
||||
ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h
|
||||
ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}-ptest += "diffutils ${PN}-bin"
|
||||
|
||||
do_compile_ptest() {
|
||||
oe_runmake -C tests buildtests
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-compat \
|
||||
"
|
||||
FILES:${PN}-compat = "${libdir}/libgdbm_compat${SOLIBS} \
|
||||
"
|
||||
Reference in New Issue
Block a user