1*4882a593SmuzhiyunSUMMARY = "Tools for monitoring & limiting user disk usage per filesystem" 2*4882a593SmuzhiyunSECTION = "base" 3*4882a593SmuzhiyunHOMEPAGE = "http://sourceforge.net/projects/linuxquota/" 4*4882a593SmuzhiyunDESCRIPTION = "Tools and patches for the Linux Diskquota system as part of the Linux kernel" 5*4882a593SmuzhiyunBUGTRACKER = "http://sourceforge.net/tracker/?group_id=18136&atid=118136" 6*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" 7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11c6f820f8fa62a5af71230f \ 8*4882a593Smuzhiyun file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb" 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunSRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \ 11*4882a593Smuzhiyun file://fcntl.patch \ 12*4882a593Smuzhiyun file://0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch \ 13*4882a593Smuzhiyun " 14*4882a593SmuzhiyunSRC_URI[sha256sum] = "2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d" 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunCVE_PRODUCT = "linux_diskquota" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "http://sourceforge.net/projects/linuxquota/files/quota-tools/" 19*4882a593SmuzhiyunUPSTREAM_CHECK_REGEX = "/quota-tools/(?P<pver>(\d+[\.\-_]*)+)/" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunDEPENDS = "gettext-native e2fsprogs libnl dbus" 22*4882a593Smuzhiyun 23*4882a593Smuzhiyuninherit autotools-brokensep gettext pkgconfig 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunCFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tirpc', '', d)}" 26*4882a593SmuzhiyunLDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}" 27*4882a593SmuzhiyunASNEEDED = "" 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunPACKAGECONFIG ??= "tcp-wrappers rpc bsd" 30*4882a593SmuzhiyunPACKAGECONFIG:libc-musl = "tcp-wrappers rpc" 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunPACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" 33*4882a593SmuzhiyunPACKAGECONFIG[rpc] = "--enable-rpc,--disable-rpc,libtirpc" 34*4882a593SmuzhiyunPACKAGECONFIG[bsd] = "--enable-bsd_behaviour=yes,--enable-bsd_behaviour=no," 35*4882a593SmuzhiyunPACKAGECONFIG[ldapmail] = "--enable-ldapmail,--disable-ldapmail,openldap" 36