Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2016 14:37:48 +1100
From:      Dewayne Geraghty <dewaynegeraghty@gmail.com>
To:        ports-list freebsd <freebsd-ports@freebsd.org>
Cc:        cy@freebsd.org
Subject:   Library creep and additional dependencies for net/ntp?
Message-ID:  <CAGnMC6pGQ9iMZAHE-NWHboCw4MaRT%2Bk2nXzOsXD2fkWg%2Bkdhhw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Overnight I updated /usr/ports via svnlite, rebuilt all ports and noticed
additional libraries and dependencies for net/ntp

On 12th Feb, I'd built ntp-4.2.8p6.txz.  Checking the libraries, I had
# ldd /usr/local/sbin/ntpd
/usr/local/sbin/ntpd:
        libmd.so.6 => /lib/libmd.so.6 (0x280fb000)
        libm.so.5 => /lib/libm.so.5 (0x2810f000)
        libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x28139000)
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x282ca000)
        libthr.so.3 => /lib/libthr.so.3 (0x282d3000)
        libc.so.7 => /lib/libc.so.7 (0x282f4000)

Today, I rebuilt ntp and found
# ldd /usr/local/sbin/ntpd
/usr/local/sbin/ntpd:
       * libmd5.so.0 => /usr/local/lib/libmd5.so.0 (0x280fc000) - from
libwww*
        libm.so.5 => /lib/libm.so.5 (0x280fe000)
        libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x28128000)
       * libdns_sd.so.1 => /usr/local/lib/libdns_sd.so.1 (0x282b9000) -
mDNSResponder*
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x282c1000)
        libthr.so.3 => /lib/libthr.so.3 (0x282ca000)
        libc.so.7 => /lib/libc.so.7 (0x282eb000)

*  libz.so.6 => /lib/libz.so.6 (0x2845e000)        libssl.so.8 =>
/usr/local/lib/libssl.so.8 (0x28473000)*

Checking pkg info -d ntpd
# pkg info -d ntp
ntp-4.2.8p6:
        openssl-1.0.2_8
        libevent2-2.0.22_1
        gettext-runtime-0.19.6
        libedit-3.1.20150325_1

Can anyone shed any light on why ntp has picked up these additional
libraries and created additional dependencies on libwww and mDNSresponder?

I'm also curious as to how *libz *and *libssl *are now required, between
ntp4.2.8p6 built in February vs the March build?

By way of comparison,
/usr/sbin/ntpd:  (base OS ntp also ntp4.2.8p6)
        libm.so.5 => /lib/libm.so.5 (0x8008d2000)
        libthr.so.3 => /lib/libthr.so.3 (0x800afa000)
        libcrypto.so.7 => /lib/libcrypto.so.7 (0x800d1f000)
        libc.so.7 => /lib/libc.so.7 (0x801115000)

These results are on "FreeBSD 10.3-PRERELEASE #0 r296427M:"  My options for
ntp have remained unchanged since 20140914.

Regards, Dewayne



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGnMC6pGQ9iMZAHE-NWHboCw4MaRT%2Bk2nXzOsXD2fkWg%2Bkdhhw>