From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] collectd: Link against libip4tc Date: Thu, 10 Sep 2020 20:39:06 +0000 Message-ID: <20200910203906.14234-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1978698292012356939==" List-Id: --===============1978698292012356939== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable libiptc is no longer being shipped by iptables and has been split into a version for IPv4 and IPv6. Signed-off-by: Michael Tremer --- lfs/collectd | 1 + src/patches/collectd-4.10-libiptc-build-fixes.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/patches/collectd-4.10-libiptc-build-fixes.patch diff --git a/lfs/collectd b/lfs/collectd index e3fcc1013..0f99c4ce7 100644 --- a/lfs/collectd +++ b/lfs/collectd @@ -105,6 +105,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd/0022-openvpn-= Change-data-type-from-COUNTER-to-DERIVE.patch cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd/silence-openv= pn-errors.patch cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd-4.10.9-xfs-co= mpile-fix.patch + cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd-4.10-libiptc-= build-fixes.patch cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP)/libltdl && autoreconf -vfi cd $(DIR_APP) && ./configure --prefix=3D/usr --localstatedir=3D/var \ diff --git a/src/patches/collectd-4.10-libiptc-build-fixes.patch b/src/patche= s/collectd-4.10-libiptc-build-fixes.patch new file mode 100644 index 000000000..851dba70f --- /dev/null +++ b/src/patches/collectd-4.10-libiptc-build-fixes.patch @@ -0,0 +1,11 @@ +--- collectd-4.10.9/src/Makefile.am~ 2020-09-10 19:45:41.936847854 +0000 ++++ collectd-4.10.9/src/Makefile.am 2020-09-10 19:45:50.416713658 +0000 +@@ -418,7 +418,7 @@ + iptables_la_LIBADD =3D owniptc/libiptc.la + iptables_la_DEPENDENCIES =3D owniptc/libiptc.la + else +-iptables_la_LIBADD =3D -liptc ++iptables_la_LIBADD =3D -lip4tc + endif + collectd_LDADD +=3D "-dlopen" iptables.la + collectd_DEPENDENCIES +=3D iptables.la --=20 2.20.1 --===============1978698292012356939==--