Difference between revisions of "NTP"

From CBLFS
Jump to navigationJump to search
(Multilib)
Line 24: Line 24:
  
 
  make install
 
  make install
  install -v -m755 -d /usr/share/doc/ntp-4.2.0a &&
+
  install -v -m755 -d /usr/share/doc/ntp-4.2.2p4 &&
  cp -v -R html /usr/share/doc/ntp-4.2.0a/
+
  cp -v -R html /usr/share/doc/ntp-4.2.2p4/
  
 
== Multilib ==
 
== Multilib ==
Line 41: Line 41:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/ntp-4.2.2a &&
+
  install -v -m755 -d /usr/share/doc/ntp-4.2.2p4 &&
  cp -v -R html /usr/share/doc/ntp-4.2.2a/
+
  cp -v -R html /usr/share/doc/ntp-4.2.2p4/
  
 
=== N32 ===
 
=== N32 ===
Line 59: Line 59:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/ntp-4.2.2a &&
+
  install -v -m755 -d /usr/share/doc/ntp-4.2.2p4 &&
  cp -v -R html /usr/share/doc/ntp-4.2.2a/
+
  cp -v -R html /usr/share/doc/ntp-4.2.2p4/
  
 
== Configuring ==
 
== Configuring ==

Revision as of 06:56, 18 November 2006

Download Source: http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.2p4.tar.gz

Dependencies

Optional

  • [OpenSSL]


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 -m32" 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

TO DO!

64Bit

Compile the package:

CC="gcc -m64" 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