diff options
Diffstat (limited to 'meta/recipes-extended/quota/quota_4.02.bb')
-rw-r--r-- | meta/recipes-extended/quota/quota_4.02.bb | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-extended/quota/quota_4.02.bb b/meta/recipes-extended/quota/quota_4.02.bb index 020ed3528c..96ff4b597d 100644 --- a/meta/recipes-extended/quota/quota_4.02.bb +++ b/meta/recipes-extended/quota/quota_4.02.bb | |||
@@ -6,8 +6,14 @@ LICENSE = "BSD & GPLv2+ & LGPLv2.1+" | |||
6 | LIC_FILES_CHKSUM = "file://quota.c;beginline=1;endline=33;md5=331c7d77744bfe0ad24027f0651028ec \ | 6 | LIC_FILES_CHKSUM = "file://quota.c;beginline=1;endline=33;md5=331c7d77744bfe0ad24027f0651028ec \ |
7 | file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11c6f820f8fa62a5af71230f \ | 7 | file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11c6f820f8fa62a5af71230f \ |
8 | file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb" | 8 | file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb" |
9 | |||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \ | 10 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \ |
10 | file://config-tcpwrappers.patch" | 11 | file://config-tcpwrappers.patch \ |
12 | file://fcntl.patch \ | ||
13 | file://remove_non_posix_types.patch \ | ||
14 | " | ||
15 | SRC_URI_append_libc-musl = " file://replace_getrpcbynumber_r.patch" | ||
16 | |||
11 | SRC_URI[md5sum] = "a8a5df262261e659716ccad2a5d6df0d" | 17 | SRC_URI[md5sum] = "a8a5df262261e659716ccad2a5d6df0d" |
12 | SRC_URI[sha256sum] = "f4c2f48abf94bbdc396df33d276f2e9d19af58c232cb85eef9c174a747c33795" | 18 | SRC_URI[sha256sum] = "f4c2f48abf94bbdc396df33d276f2e9d19af58c232cb85eef9c174a747c33795" |
13 | 19 | ||
@@ -17,10 +23,17 @@ DEPENDS = "gettext-native e2fsprogs" | |||
17 | 23 | ||
18 | inherit autotools-brokensep gettext pkgconfig | 24 | inherit autotools-brokensep gettext pkgconfig |
19 | 25 | ||
26 | CFLAGS += "-I=${includedir}/tirpc" | ||
27 | LDFLAGS += "-ltirpc" | ||
28 | ASNEEDED = "" | ||
20 | EXTRA_OEMAKE += 'STRIP=""' | 29 | EXTRA_OEMAKE += 'STRIP=""' |
21 | 30 | ||
22 | PACKAGECONFIG ??= "tcp-wrappers" | 31 | PACKAGECONFIG ??= "tcp-wrappers rpc bsd" |
32 | PACKAGECONFIG_libc-musl = "tcp-wrappers rpc" | ||
33 | |||
23 | PACKAGECONFIG[tcp-wrappers] = "--with-tcpwrappers,--without-tcpwrappers,tcp-wrappers" | 34 | PACKAGECONFIG[tcp-wrappers] = "--with-tcpwrappers,--without-tcpwrappers,tcp-wrappers" |
35 | PACKAGECONFIG[rpc] = "--enable-rpc=yes,--enable-rpc=no,libtirpc" | ||
36 | PACKAGECONFIG[bsd] = "--enable-bsd_behaviour=yes,--enable-bsd_behaviour=no," | ||
24 | 37 | ||
25 | do_install() { | 38 | do_install() { |
26 | oe_runmake prefix=${D}${prefix} install | 39 | oe_runmake prefix=${D}${prefix} install |