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:
@@ -0,0 +1,34 @@
|
||||
From 1fe7c1cfeea00ba4eb903fbb39b74361594d4835 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Palus <jpalus@fastmail.com>
|
||||
Date: Wed, 10 Apr 2024 21:30:51 +0200
|
||||
Subject: [PATCH] Fix python path when invoking py-compile (#54)
|
||||
|
||||
48eebb2 replaced custom PYTHON3 variable with PYTHON by using standard
|
||||
AM_PATH_PYTHON macro. Makefile however still referred to old one.
|
||||
There's no need to set PYTHON explicitly anymore so drop it.
|
||||
|
||||
Fixes #53
|
||||
|
||||
Upstream-Status: Backport
|
||||
[https://github.com/stevegrubb/libcap-ng/commit/1fe7c1cfeea00ba4eb903fbb39b74361594d4835]
|
||||
|
||||
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||
---
|
||||
bindings/python3/Makefile.am | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/bindings/python3/Makefile.am b/bindings/python3/Makefile.am
|
||||
index 70a1dd8..6072fc2 100644
|
||||
--- a/bindings/python3/Makefile.am
|
||||
+++ b/bindings/python3/Makefile.am
|
||||
@@ -27,7 +27,6 @@ AM_CPPFLAGS = -I. -I$(top_builddir) $(PYTHON3_INCLUDES)
|
||||
LIBS = ${top_builddir}/src/libcap-ng.la
|
||||
SWIG_FLAGS = -python
|
||||
SWIG_INCLUDES = ${AM_CPPFLAGS}
|
||||
-PYTHON = $(PYTHON3)
|
||||
pyexec_PYTHON = capng.py
|
||||
pyexec_LTLIBRARIES = _capng.la
|
||||
pyexec_SOLIBRARIES = _capng.so
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
require libcap-ng.inc
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/libcap-ng:"
|
||||
|
||||
SUMMARY .= " - python"
|
||||
|
||||
inherit lib_package autotools python3targetconfig
|
||||
|
||||
# drop setuptools when version > 0.8.3 is released; it's needed only for distutils
|
||||
DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native"
|
||||
|
||||
EXTRA_OECONF += "--with-python3"
|
||||
|
||||
do_install:append() {
|
||||
rm -rf ${D}${bindir}
|
||||
rm -rf ${D}${libdir}/.debug
|
||||
rm -f ${D}${libdir}/lib*
|
||||
rm -rf ${D}${libdir}/pkgconfig
|
||||
rm -rf ${D}${datadir}
|
||||
rm -rf ${D}${includedir}
|
||||
}
|
||||
|
||||
# PACKAGES = "${PN}"
|
||||
|
||||
FILES:${PN} = "${libdir}/python${PYTHON_BASEVERSION}"
|
||||
FILES:${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/.debug/_capng.so"
|
||||
|
||||
23
sources/poky/meta/recipes-support/libcap-ng/libcap-ng.inc
Normal file
23
sources/poky/meta/recipes-support/libcap-ng/libcap-ng.inc
Normal file
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "An alternate posix capabilities library"
|
||||
DESCRIPTION = "The libcap-ng library is intended to make programming \
|
||||
with POSIX capabilities much easier than the traditional libcap library."
|
||||
HOMEPAGE = "http://freecode.com/projects/libcap-ng"
|
||||
SECTION = "base"
|
||||
LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
|
||||
|
||||
SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=master \
|
||||
file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
|
||||
"
|
||||
SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_configure:prepend() {
|
||||
touch ${S}/NEWS
|
||||
}
|
||||
|
||||
EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
|
||||
EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,17 @@
|
||||
require libcap-ng.inc
|
||||
|
||||
inherit lib_package autotools
|
||||
|
||||
EXTRA_OECONF += "--without-python3"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
do_install:append() {
|
||||
# Moving libcap-ng to base_libdir
|
||||
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
|
||||
mkdir -p ${D}/${base_libdir}/
|
||||
mv -f ${D}${libdir}/libcap-ng.so.* ${D}${base_libdir}/
|
||||
relpath=${@os.path.relpath("${base_libdir}", "${libdir}")}
|
||||
ln -sf ${relpath}/libcap-ng.so.0.0.0 ${D}${libdir}/libcap-ng.so
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user