Difference between revisions of "NTP"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
Line 13: | Line 13: | ||
== Dependencies == | == Dependencies == | ||
− | == Optional == | + | === Optional === |
*[[OpenSSL]] | *[[OpenSSL]] | ||
− | |||
== Non-Multilib == | == Non-Multilib == | ||
Line 22: | Line 21: | ||
./configure --prefix=/usr --bindir=/usr/sbin \ | ./configure --prefix=/usr --bindir=/usr/sbin \ | ||
− | + | --sysconfdir=/etc && | |
make | make | ||
Line 38: | Line 37: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc | + | CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \ |
--bindir=/usr/sbin --sysconfdir=/etc && | --bindir=/usr/sbin --sysconfdir=/etc && | ||
make | make | ||
Line 50: | Line 49: | ||
=== N32 === | === N32 === | ||
− | + | Please Contribute this section. | |
=== 64Bit === | === 64Bit === | ||
Line 56: | Line 55: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc | + | CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \ |
− | + | --bindir=/usr/sbin --sysconfdir=/etc && | |
make | make | ||
Revision as of 10:35, 16 December 2006
Download Source: | http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.2p4.tar.gz |
---|
Contents
Introdction to NTP
The NTP package contains a client and server to keep the time synchronized between various computers over a network. This package is the official reference implementation of the NTP protocol.
Dependencies
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr --bindir=/usr/sbin \ --sysconfdir=/etc && make
Install the package
make install install -v -m755 -d /usr/share/doc/ntp-4.2.2p4 && cp -v -R html /usr/share/doc/ntp-4.2.2p4/
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \ --bindir=/usr/sbin --sysconfdir=/etc && make
Install the package
make install && install -v -m755 -d /usr/share/doc/ntp-4.2.2p4 && cp -v -R html /usr/share/doc/ntp-4.2.2p4/
N32
Please Contribute this section.
64Bit
Compile the package:
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \ --bindir=/usr/sbin --sysconfdir=/etc && make
Install the package
make install && install -v -m755 -d /usr/share/doc/ntp-4.2.2p4 && cp -v -R html /usr/share/doc/ntp-4.2.2p4/
Configuring
Bootscript
Install the init script provided by the blfs-bootscripts package:
make install-ntp ln -v -sf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock && ln -v -sf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock