16
17.1 Legacy Series / Re: collectd network plugin is missing encryption support
« on: May 22, 2017, 02:24:38 pm »
Here's ldd after install:
You're right, there is no gcrypt support (nor shown in pkg info as well). However, encryption support is working fine. Perhaps there's multiple libraries it can use to support it, but I'm not finding anything obvious. I'd probably lean towards enabling gcrypt just to match what previous builds did.
I have a cron job for a nightly firmware upgrade. It looks like collectd has been replaced by the binary version on me from the repos. I thought I locked the package after install, but perhaps I didn't. Is there anything else to do when installing ports to keep them in place?
Code: [Select]
root@blackbox:/usr/ports/net-mgmt/collectd5 # ldd /usr/local/sbin/collectd������ /usr/local/sbin/collectd:
libm.so.5 => /lib/libm.so.5 (0x3442ba34000)
libthr.so.3 => /lib/libthr.so.3 (0x3442bc5f000)
libstatgrab.so.10 => /usr/local/lib/libstatgrab.so.10 (0x3442be87000)
libdevstat.so.7 => /lib/libdevstat.so.7 (0x3442c099000)
libltdl.so.7 => /usr/local/lib/libltdl.so.7 (0x3442c29f000)
libc.so.7 => /lib/libc.so.7 (0x3442af14000)
libkvm.so.7 => /lib/libkvm.so.7 (0x3442c4a8000)
libelf.so.2 => /lib/libelf.so.2 (0x3442c6b7000)
You're right, there is no gcrypt support (nor shown in pkg info as well). However, encryption support is working fine. Perhaps there's multiple libraries it can use to support it, but I'm not finding anything obvious. I'd probably lean towards enabling gcrypt just to match what previous builds did.
I have a cron job for a nightly firmware upgrade. It looks like collectd has been replaced by the binary version on me from the repos. I thought I locked the package after install, but perhaps I didn't. Is there anything else to do when installing ports to keep them in place?