UmVirt LFS Package info
DB commit: c9dd8835b9e79548f70e25c8ffb9d09430f622a0
APP commit:
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.Package info
Codename: ntp
Source file: ntp-4.2.8p18.tar.gz
Source directory: ntp-4.2.8p18
Package URL: https://ulfs.org/linux/downloads/package_files/4145625122/packages/n/ntp-4.2.8p18.tar.gz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/4145625122/packages/n/ntp-4.2.8p18.tar.gz.md5sum
Dependances: perl-IO-Socket-SSL.
Dependance of: dhcpcd.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
groupadd -g 87 ntp &&
useradd -c "Network Time Protocol" -d /var/lib/ntp -u 87 \
-g ntp -s /bin/false ntp
sed -e "s;pthread_detach(NULL);pthread_detach(0);" \
-i configure \
sntp/configure
./configure --prefix=/usr \
--bindir=/usr/sbin \
--sysconfdir=/etc \
--enable-linuxcaps \
--with-lineeditlibs=readline \
--docdir=/usr/share/doc/ntp-4.2.8p18
Build script:
make
Install script:
make install &&
install -v -o ntp -g ntp -d /var/lib/ntp
cat > /etc/ntp.conf << "EOF"
# Asia
server 0.asia.pool.ntp.org
# Australia
server 0.oceania.pool.ntp.org
# Europe
server 0.europe.pool.ntp.org
# North America
server 0.north-america.pool.ntp.org
# South America
server 2.south-america.pool.ntp.org
driftfile /var/lib/ntp/ntp.drift
pidfile /run/ntpd.pid
EOF
cat >> /etc/ntp.conf << "EOF"
# Security session
restrict default limited kod nomodify notrap nopeer noquery
restrict -6 default limited kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict ::1
EOF
Apache/2.4.62 (Debian) Server at ulfs.org Port 443