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,13 @@
|
||||
[Unit]
|
||||
Description=Serial port to network proxy
|
||||
Documentation=man:ser2net(8)
|
||||
After=network.target
|
||||
Wants=network.target
|
||||
ConditionFileNotEmpty=@SYSCONFDIR@/ser2net/ser2net.yaml
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
ExecStart=@SBINDIR@/ser2net -n
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "A serial to network proxy"
|
||||
SECTION = "console/network"
|
||||
HOMEPAGE = "http://sourceforge.net/projects/ser2net/"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
DEPENDS = "gensio libyaml"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/project/ser2net/ser2net/ser2net-${PV}.tar.gz \
|
||||
file://ser2net.service \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "78ffee19d9b97e93ae65b5cec072da2b7b947fc484e9ccb3f535702f36f6ed19"
|
||||
|
||||
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/ser2net/files/ser2net"
|
||||
|
||||
inherit autotools pkgconfig systemd
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "ser2net.service"
|
||||
|
||||
CONFFILES:${PN} += "${sysconfdir}/ser2net/ser2net.yaml"
|
||||
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/ser2net.service ${D}${systemd_unitdir}/system/
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/ser2net.service
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user