summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Penteker <tek@serverop.de>2014-12-19 17:32:55 +0100
committerThomas Penteker <tek@serverop.de>2014-12-19 17:33:39 +0100
commite3b2adfc5a251a9047fb022cd02c83d472d08f58 (patch)
treedb367d045d29dcdcc6a13083a34429602f21f655
parentf218eb5202815b884a58875b80e4d6ee162398b1 (diff)
downloadcontrib-3.0.tar.gz
contrib-3.0.tar.xz
ntp: update to 4.2.8, fixes several security issues: http://archive.ntp.org/ntp4/ChangeLog-stable3.0
(cherry picked from commit 615a989f37074d06314d540093d23ab67bb73f1c)
-rw-r--r--ntp/.footprint8
-rw-r--r--ntp/.md5sum2
-rw-r--r--ntp/Pkgfile14
3 files changed, 15 insertions, 9 deletions
diff --git a/ntp/.footprint b/ntp/.footprint
index 816443339..f83442445 100644
--- a/ntp/.footprint
+++ b/ntp/.footprint
@@ -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/
diff --git a/ntp/.md5sum b/ntp/.md5sum
index 1d3406aad..493974575 100644
--- a/ntp/.md5sum
+++ b/ntp/.md5sum
@@ -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
diff --git a/ntp/Pkgfile b/ntp/Pkgfile
index 6da4f7328..2593b29ce 100644
--- a/ntp/Pkgfile
+++ b/ntp/Pkgfile
@@ -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
}

Generated by cgit