How to build and install only ntp from base?

Reko Turja reko.turja at
Sat Apr 30 08:50:04 UTC 2016

-----Original Message----- 
From: Lowell Gilbert

>> starting the compile -  make <ntpd|build|compile> just tells me 
>> that
>> <target> is up to date.

>cd /usr/src/usr.sbin/ntp

Thank you for pointing this out!

> make all install
> You didn't need to guess: this IS in the Handbook...

Yes, it was the first command I tested - but what got me was the 
directory. I went to /usr/src/contrib/ntp as the files changed resided 
there. Might be good idea to mention in handbook that /usr/src/contrib 
is auxiliary tree and the build processes start from elesewhere.

>> What command should I use to compile ntp stuff only - or should I 
>> just
>>  fire up the version from ports?

> Using the version from ports is certainly reasonable -- it gives you
> a lot more options and is updated more often -- but unless other
> machines are synching to yours, it's unlikely that the advantages
> (either way) would matter.

As I just keep the clock of the box ticking as close to UTC as I can 
using external time sources, anything else is excess baggage. I went 
with the version from base, now that I know the directory from where 
to start the build.


More information about the freebsd-questions mailing list