ntp: update to 4.2.8, fixes several security issues: http://archive.ntp.org/ntp4/ChangeLog-stable

This commit is contained in:
Thomas Penteker 2014-12-19 17:32:55 +01:00
parent a659153ffb
commit 615a989f37
3 changed files with 15 additions and 9 deletions

View File

@ -6,6 +6,7 @@ drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/ntpdate
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/calc_tickadj
-rwxr-xr-x root/root usr/bin/ntp-keygen
-rwxr-xr-x root/root usr/bin/ntp-wait
-rwxr-xr-x root/root usr/bin/ntpd
@ -17,15 +18,20 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/sntp
-rwxr-xr-x root/root usr/bin/tickadj
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/libexec/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/calc_tickadj.1.gz
-rw-r--r-- root/root usr/man/man1/ntp-keygen.1.gz
-rw-r--r-- root/root usr/man/man1/ntp-wait.1.gz
-rw-r--r-- root/root usr/man/man1/ntpd.1.gz
-rw-r--r-- root/root usr/man/man1/ntpdc.1.gz
-rw-r--r-- root/root usr/man/man1/ntpq.1.gz
-rw-r--r-- root/root usr/man/man1/ntpsnmpd.1.gz
-rw-r--r-- root/root usr/man/man1/ntptrace.1.gz
-rw-r--r-- root/root usr/man/man1/sntp.1.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/ntp.conf.5.gz
-rw-r--r-- root/root usr/man/man5/ntp.keys.5.gz
drwxr-xr-x root/root usr/man/man8/
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/

View File

@ -1,4 +1,4 @@
00df80a84ec9528fcfb09498075525bc ntp-4.2.6p5.tar.gz
6972a626be6150db8cfbd0b63d8719e7 ntp-4.2.8.tar.gz
0c5675c46a226de4504f5b855326b6b7 ntp-64bit.diff
99133142249735be5c8f48f1b6ca6821 ntp.conf
81250961599ecb64d9c0ca96d96b1d73 ntpd

View File

@ -5,13 +5,10 @@
# Depends on: openssl
name=ntp
version=4.2.6p5
release=5
version=4.2.8
release=1
source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/$name-$version.tar.gz
ntpd
ntpdate
ntp.conf
ntp-64bit.diff)
ntpd ntpdate ntp.conf ntp-64bit.diff)
build () {
mkdir -p $PKG/etc/{rc.d,ntp} \
@ -38,7 +35,7 @@ build () {
# substitute the default configuration path
sed -i -e 's;\(CONFIG_FILE[^"]*"\)/etc/ntp.conf;\1/etc/ntp/ntp.conf;' \
include/ntp_config.h ntpdate/ntptime_config.c
include/ntp_config.h
make
make DESTDIR=$PKG install
@ -56,4 +53,7 @@ build () {
# assign ownership to ntp:ntp
chown -R ntp:ntp $PKG/var/lib/ntp $PKG/var/run/ntp $PKG/var/log/ntp.log
# clean up the mess..
rm -rf $PKG/usr/share
}