blob: 16c7a6007ac9db76c928d16379dfc5a5f335c37b [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "Transport-Independent RPC library"
2DESCRIPTION = "Libtirpc is a port of Suns Transport-Independent RPC library to Linux"
3SECTION = "libs/network"
4HOMEPAGE = "http://sourceforge.net/projects/libtirpc/"
5BUGTRACKER = "http://sourceforge.net/tracker/?group_id=183075&atid=903784"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \
8 file://src/netname.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24"
9
10PROVIDES = "virtual/librpc"
11
12SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \
13 file://ipv6.patch \
14"
15UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/"
16UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
17SRC_URI[sha256sum] = "1e0b0c7231c5fa122e06c0609a76723664d068b0dba3b8219b63e6340b347860"
18
19CVE_STATUS[CVE-2021-46828] = "fixed-version: fixed in 1.3.3rc1 so not present in 1.3.3"
20
21inherit autotools pkgconfig
22
23PACKAGECONFIG ??= ""
24PACKAGECONFIG[gssapi] = "--enable-gssapi,--disable-gssapi,krb5"
25
26PACKAGECONFIG ??= "\
27 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
28"
29PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
30
31do_install:append() {
32 test -e ${D}${sysconfdir}/netconfig && chown root:root ${D}${sysconfdir}/netconfig
33}
34
35BBCLASSEXTEND = "native nativesdk"