blob: 5115cb389aef8892a881f2a4a5cdb3cdf449f067 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "Tools for monitoring & limiting user disk usage per filesystem"
2SECTION = "base"
3HOMEPAGE = "http://sourceforge.net/projects/linuxquota/"
Andrew Geissler95ac1b82021-03-31 14:34:31 -05004DESCRIPTION = "Tools and patches for the Linux Diskquota system as part of the Linux kernel"
Brad Bishopc342db32019-05-15 21:57:59 -04005BUGTRACKER = "http://sourceforge.net/tracker/?group_id=18136&atid=118136"
6LICENSE = "BSD & GPLv2+ & LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11c6f820f8fa62a5af71230f \
8 file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb"
9
10SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \
11 file://fcntl.patch \
Andrew Geissler09209ee2020-12-13 08:44:15 -060012 file://0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch \
Brad Bishopc342db32019-05-15 21:57:59 -040013 "
Andrew Geissler09209ee2020-12-13 08:44:15 -060014SRC_URI[sha256sum] = "2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d"
Brad Bishopc342db32019-05-15 21:57:59 -040015
16CVE_PRODUCT = "linux_diskquota"
17
18UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/linuxquota/files/quota-tools/"
19UPSTREAM_CHECK_REGEX = "/quota-tools/(?P<pver>(\d+[\.\-_]*)+)/"
20
21DEPENDS = "gettext-native e2fsprogs libnl dbus"
22
23inherit autotools-brokensep gettext pkgconfig
24
25CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tirpc', '', d)}"
26LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}"
27ASNEEDED = ""
28
29PACKAGECONFIG ??= "tcp-wrappers rpc bsd"
Patrick Williams213cb262021-08-07 19:21:33 -050030PACKAGECONFIG:libc-musl = "tcp-wrappers rpc"
Brad Bishopc342db32019-05-15 21:57:59 -040031
32PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
33PACKAGECONFIG[rpc] = "--enable-rpc,--disable-rpc,libtirpc"
34PACKAGECONFIG[bsd] = "--enable-bsd_behaviour=yes,--enable-bsd_behaviour=no,"
35PACKAGECONFIG[ldapmail] = "--enable-ldapmail,--disable-ldapmail,openldap"