summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/quota/quota_4.05.bb
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2019-04-23 03:59:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-23 23:30:19 +0100
commitbe406d773e0c9982ae115d61991523d3a0335644 (patch)
treef0f84f77b22b56fb313009f952f47340cebdfd75 /meta/recipes-extended/quota/quota_4.05.bb
parentc238dd61e4144ed3b4d73a32f4439820bb2581b8 (diff)
downloadpoky-be406d773e0c9982ae115d61991523d3a0335644.tar.gz
quota: update to 4.05
License checksum from quota.c was removed since according to the project, copyrighted code in question has been replaced with own implementation (see @bcbc0d08e5cd). Removed patches were upstreamed. (From OE-Core rev: 4959abd0accffc1cd3dcbcf5efcd18d1e64b739a) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/quota/quota_4.05.bb')
-rw-r--r--meta/recipes-extended/quota/quota_4.05.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-extended/quota/quota_4.05.bb b/meta/recipes-extended/quota/quota_4.05.bb
new file mode 100644
index 0000000000..c5da1e71ed
--- /dev/null
+++ b/meta/recipes-extended/quota/quota_4.05.bb
@@ -0,0 +1,34 @@
1SUMMARY = "Tools for monitoring & limiting user disk usage per filesystem"
2SECTION = "base"
3HOMEPAGE = "http://sourceforge.net/projects/linuxquota/"
4BUGTRACKER = "http://sourceforge.net/tracker/?group_id=18136&atid=118136"
5LICENSE = "BSD & GPLv2+ & LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11c6f820f8fa62a5af71230f \
7 file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \
10 file://fcntl.patch \
11 "
12SRC_URI[md5sum] = "1c1dbd2cd3d680ccac661239b067e147"
13SRC_URI[sha256sum] = "ef3b5b5d1014ed1344b46c1826145e20cbef8db967b522403c9a060761cf7ab9"
14
15CVE_PRODUCT = "linux_diskquota"
16
17UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/linuxquota/files/quota-tools/"
18UPSTREAM_CHECK_REGEX = "/quota-tools/(?P<pver>(\d+[\.\-_]*)+)/"
19
20DEPENDS = "gettext-native e2fsprogs libnl dbus"
21
22inherit autotools-brokensep gettext pkgconfig
23
24CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tirpc', '', d)}"
25LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}"
26ASNEEDED = ""
27
28PACKAGECONFIG ??= "tcp-wrappers rpc bsd"
29PACKAGECONFIG_libc-musl = "tcp-wrappers rpc"
30
31PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
32PACKAGECONFIG[rpc] = "--enable-rpc,--disable-rpc,libtirpc"
33PACKAGECONFIG[bsd] = "--enable-bsd_behaviour=yes,--enable-bsd_behaviour=no,"
34PACKAGECONFIG[ldapmail] = "--enable-ldapmail,--disable-ldapmail,openldap"