summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.5.bb
blob: 1ff65b1e215bf686fd546cc3642e1c82f1a4ca92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SUMMARY = "Forwards messages from the journal to other hosts over the network using the Syslog Protocol"

LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"

SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main;tag=v${PV}"
SRCREV = "20534091417686d1185acb3f29e93944d8663c4b"

inherit meson systemd pkgconfig useradd features_check

REQUIRED_DISTRO_FEATURES = "systemd"
COMPATIBLE_HOST:libc-musl = "null"


DEPENDS += "systemd"
DEPENDS += "openssl"
DEPENDS += "gperf-native"
DEPENDS += "python3-sphinx-native"

# systemd-netlogd uses prefix and sysconfdir in a weird way.
EXTRA_OEMESON += "--prefix ${libdir}/systemd --sysconfdir ${sysconfdir}/systemd"

FILES:${PN} += "${libdir}"

USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM:${PN} = "-r systemd-journal"
USERADD_PARAM:${PN} = "--system -d / -M --shell /sbin/nologin -g systemd-journal systemd-journal-netlog"