diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-05-09 12:00:03 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-05-17 08:32:26 -0700 |
commit | e60ce61024cca86e980440f4e9cd19ddd7b38f00 (patch) | |
tree | f8ba1c72e1af418f0d5e5273b3473cf9223ce949 | |
parent | 6a584cdb19c768229680e3fbdcc53cfdad1f64a8 (diff) | |
download | meta-openembedded-e60ce61024cca86e980440f4e9cd19ddd7b38f00.tar.gz |
recipes: Link with libtirpc
glibc no longer provides rpc implementation
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 files changed, 17 insertions, 20 deletions
diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb index 2034b85fb5..21e77c5417 100644 --- a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb +++ b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb | |||
@@ -4,8 +4,7 @@ SECTION = "net" | |||
4 | LICENSE = "GPL-2.0" | 4 | LICENSE = "GPL-2.0" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5" |
6 | 6 | ||
7 | DEPENDS = "xz libpcap libpcre daq libdnet util-linux daq-native" | 7 | DEPENDS = "xz libpcap libpcre daq libdnet util-linux daq-native libtirpc" |
8 | DEPENDS_append_libc-musl = " libtirpc" | ||
9 | 8 | ||
10 | SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \ | 9 | SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \ |
11 | file://snort.init \ | 10 | file://snort.init \ |
@@ -48,8 +47,8 @@ PACKAGECONFIG ?= "openssl lzma" | |||
48 | PACKAGECONFIG[openssl] = "--with-openssl-includes=${STAGING_INCDIR} --with-openssl-libraries=${STAGING_LIBDIR}, --without-openssl-includes --without-openssl-libraries, openssl," | 47 | PACKAGECONFIG[openssl] = "--with-openssl-includes=${STAGING_INCDIR} --with-openssl-libraries=${STAGING_LIBDIR}, --without-openssl-includes --without-openssl-libraries, openssl," |
49 | PACKAGECONFIG[lzma] = "--with-lzma-includes=${STAGING_INCDIR} --with-lzma-libraries=${STAGING_LIBDIR}, --without-lzma-includes --without-lzma-libraries, xz," | 48 | PACKAGECONFIG[lzma] = "--with-lzma-includes=${STAGING_INCDIR} --with-lzma-libraries=${STAGING_LIBDIR}, --without-lzma-includes --without-lzma-libraries, xz," |
50 | 49 | ||
51 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | 50 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
52 | LDFLAGS_append_libc-musl = " -ltirpc" | 51 | LDFLAGS += " -ltirpc" |
53 | 52 | ||
54 | do_install_append() { | 53 | do_install_append() { |
55 | install -d ${D}${sysconfdir}/snort/rules | 54 | install -d ${D}${sysconfdir}/snort/rules |
diff --git a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.4.bb b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.4.bb index 8b3490d7c2..46168b0ba4 100644 --- a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.4.bb +++ b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.4.bb | |||
@@ -4,11 +4,9 @@ LICENSE = "GPLv2+" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
5 | 5 | ||
6 | DEPENDS = "libnfnetlink libnetfilter-conntrack libnetfilter-cttimeout \ | 6 | DEPENDS = "libnfnetlink libnetfilter-conntrack libnetfilter-cttimeout \ |
7 | libnetfilter-cthelper libnetfilter-queue bison-native" | 7 | libnetfilter-cthelper libnetfilter-queue bison-native libtirpc" |
8 | 8 | ||
9 | DEPENDS_append_libc-musl = " libtirpc" | 9 | EXTRA_OECONF += "LIBS=-ltirpc CPPFLAGS=-I${STAGING_INCDIR}/tirpc" |
10 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | ||
11 | LDFLAGS_append_libc-musl = " -ltirpc" | ||
12 | 10 | ||
13 | SRC_URI = "http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${PV}.tar.bz2;name=tar \ | 11 | SRC_URI = "http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${PV}.tar.bz2;name=tar \ |
14 | file://conntrack-failover \ | 12 | file://conntrack-failover \ |
diff --git a/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb b/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb index 9487fdc2c0..ebe867d776 100644 --- a/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb | |||
@@ -4,15 +4,15 @@ SECTION = "net" | |||
4 | LICENSE = "SPL-1.0" | 4 | LICENSE = "SPL-1.0" |
5 | LIC_FILES_CHKSUM = "file://rpcinfo/rpcinfo.c;beginline=2;endline=3;md5=3e6339e3ce266e1122c5ba293e04bc89" | 5 | LIC_FILES_CHKSUM = "file://rpcinfo/rpcinfo.c;beginline=2;endline=3;md5=3e6339e3ce266e1122c5ba293e04bc89" |
6 | 6 | ||
7 | DEPENDS_append_libc-musl = " libtirpc" | 7 | DEPENDS += "libtirpc" |
8 | SRC_URI = "http://sources.openembedded.org/${BPN}-${PV}.tar.gz \ | 8 | SRC_URI = "http://sources.openembedded.org/${BPN}-${PV}.tar.gz \ |
9 | file://gcc4.patch \ | 9 | file://gcc4.patch \ |
10 | file://0001-rpcgen-Fix-printf-formats.patch \ | 10 | file://0001-rpcgen-Fix-printf-formats.patch \ |
11 | " | 11 | " |
12 | SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642" | 12 | SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642" |
13 | SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b" | 13 | SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b" |
14 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | 14 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
15 | LIBS_append_libc-musl = " -ltirpc" | 15 | LIBS += "-ltirpc" |
16 | 16 | ||
17 | do_configure () { | 17 | do_configure () { |
18 | ./configure --prefix=${prefix} | 18 | ./configure --prefix=${prefix} |
diff --git a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb index 459e39e593..a7d19182cf 100644 --- a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb | |||
@@ -18,6 +18,9 @@ SRC_URI[patch8.sha256sum] = "14882dbdda4e37baa84d55b54b46c7e063a20fc9e04d1be1a28 | |||
18 | 18 | ||
19 | inherit autotools-brokensep | 19 | inherit autotools-brokensep |
20 | 20 | ||
21 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | ||
22 | LIBS += "-ltirpc" | ||
23 | |||
21 | do_configure () { | 24 | do_configure () { |
22 | ./configure --prefix=${prefix} | 25 | ./configure --prefix=${prefix} |
23 | echo "LDFLAGS=${LDFLAGS}" >> MCONFIG | 26 | echo "LDFLAGS=${LDFLAGS}" >> MCONFIG |
diff --git a/meta-networking/recipes-support/ctdb/ctdb_2.5.6.bb b/meta-networking/recipes-support/ctdb/ctdb_2.5.6.bb index 2ca781bf56..df1a19e7a2 100644 --- a/meta-networking/recipes-support/ctdb/ctdb_2.5.6.bb +++ b/meta-networking/recipes-support/ctdb/ctdb_2.5.6.bb | |||
@@ -26,10 +26,9 @@ PACKAGECONFIG[libtdb] = "--without-included-tdb,--with-included-tdb,libtdb" | |||
26 | 26 | ||
27 | PARALLEL_MAKE = "" | 27 | PARALLEL_MAKE = "" |
28 | 28 | ||
29 | DEPENDS += "popt libtevent libtalloc libldb" | 29 | DEPENDS += "popt libtevent libtalloc libldb libtirpc" |
30 | DEPENDS_append_libc-musl = " libtirpc" | 30 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
31 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | 31 | LDFLAGS += "-ltirpc" |
32 | LDFLAGS_append_libc-musl = " -ltirpc" | ||
33 | 32 | ||
34 | # ctdbd_wrapper requires pgrep, hence procps | 33 | # ctdbd_wrapper requires pgrep, hence procps |
35 | RDEPENDS_${PN} += "procps" | 34 | RDEPENDS_${PN} += "procps" |
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.2.33.bb b/meta-networking/recipes-support/dovecot/dovecot_2.2.33.bb index 5ebda19eb4..882d5d5543 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.2.33.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.2.33.bb | |||
@@ -15,11 +15,9 @@ SRC_URI = "http://dovecot.org/releases/2.2/dovecot-${PV}.tar.gz \ | |||
15 | SRC_URI[md5sum] = "d61d1e923a22f9062cc9f47696882666" | 15 | SRC_URI[md5sum] = "d61d1e923a22f9062cc9f47696882666" |
16 | SRC_URI[sha256sum] = "e9483d68a7698d701bc06124fcf6e1b1f16380c2986c7ec0cf4e1475b9d0c218" | 16 | SRC_URI[sha256sum] = "e9483d68a7698d701bc06124fcf6e1b1f16380c2986c7ec0cf4e1475b9d0c218" |
17 | 17 | ||
18 | DEPENDS = "openssl xz zlib bzip2 libcap icu" | 18 | DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc" |
19 | 19 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | |
20 | DEPENDS_append_libc-musl = " libtirpc" | 20 | LDFLAGS += "-ltirpc" |
21 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | ||
22 | LDFLAGS_append_libc-musl = " -ltirpc" | ||
23 | 21 | ||
24 | inherit autotools pkgconfig systemd useradd | 22 | inherit autotools pkgconfig systemd useradd |
25 | 23 | ||