summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/quota/quota_4.04.bb
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2017-11-10 14:00:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-21 13:06:11 +0000
commit811c07db35354bf97e765942f701896a7433f5b7 (patch)
treeef99cbafce2f56415ba38b768a632441baafa90c /meta/recipes-extended/quota/quota_4.04.bb
parent7902adefa00b3534ec9f38f8578dd3f4efee6018 (diff)
downloadpoky-811c07db35354bf97e765942f701896a7433f5b7.tar.gz
quota: upgrade to 4.04
4.03 -> 4.04 Removed the following backported patches: 1. 0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch 2. 0001-Fix-build-with-disabled-ldap.patch 3. 0001-Use-NGROUPS_MAX-instead-of-NGROUPS.patch 4. 0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch 5. 0004-Fix-warnings-due-to-missing-stdlib.h.patch Refreshed the following patch: 1. replace_getrpcbynumber_r.patch (From OE-Core rev: 0fb3d1fa1af5a2ff7bbc4ef1c84e4135f119d701) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/quota/quota_4.04.bb')
-rw-r--r--meta/recipes-extended/quota/quota_4.04.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-extended/quota/quota_4.04.bb b/meta/recipes-extended/quota/quota_4.04.bb
new file mode 100644
index 0000000000..93f376286a
--- /dev/null
+++ b/meta/recipes-extended/quota/quota_4.04.bb
@@ -0,0 +1,38 @@
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://quota.c;beginline=1;endline=33;md5=331c7d77744bfe0ad24027f0651028ec \
7 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 \
12 file://remove_non_posix_types.patch \
13 "
14SRC_URI_append_libc-musl = " file://replace_getrpcbynumber_r.patch"
15
16SRC_URI[md5sum] = "f46f3b0b5141f032f25684005dac49d3"
17SRC_URI[sha256sum] = "735be1887e7f51f54165e778ae43fc859c04e44d88834ecb2f470e91d4ef8edf"
18
19CVE_PRODUCT = "linux_diskquota"
20
21UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/linuxquota/files/quota-tools/"
22UPSTREAM_CHECK_REGEX = "/quota-tools/(?P<pver>(\d+[\.\-_]*)+)/"
23
24DEPENDS = "gettext-native e2fsprogs libnl dbus"
25
26inherit autotools-brokensep gettext pkgconfig
27
28CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tirpc', '', d)}"
29LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}"
30ASNEEDED = ""
31
32PACKAGECONFIG ??= "tcp-wrappers rpc bsd"
33PACKAGECONFIG_libc-musl = "tcp-wrappers rpc"
34
35PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
36PACKAGECONFIG[rpc] = "--enable-rpc,--disable-rpc,libtirpc"
37PACKAGECONFIG[bsd] = "--enable-bsd_behaviour=yes,--enable-bsd_behaviour=no,"
38PACKAGECONFIG[ldapmail] = "--enable-ldapmail,--disable-ldapmail,openldap"