ntp: update to 4.2.7p421 (dev) to fix amplification attacks.

This commit is contained in:
Juan RP 2014-02-12 09:11:10 +01:00
parent 5e30277e34
commit 148dc0c701
2 changed files with 18 additions and 18 deletions

View File

@ -624,6 +624,8 @@ liblber-2.4.so.2 libldap-2.4.21_1
libldap-2.4.so.2 libldap-2.4.21_1 libldap-2.4.so.2 libldap-2.4.21_1
libldap_r-2.4.so.2 libldap-2.4.21_1 libldap_r-2.4.so.2 libldap-2.4.21_1
libevent-2.0.so.5 libevent-2.0.10_1 libevent-2.0.so.5 libevent-2.0.10_1
libevent_core-2.0.so.5 libevent-2.0.21_1
libevent_pthreads-2.0.so.5 libevent-2.0.21_1
libSDL_mixer-1.2.so.0 SDL_mixer-1.2.11_1 libSDL_mixer-1.2.so.0 SDL_mixer-1.2.11_1
libapr-1.so.0 apr-1.4.2_1 libapr-1.so.0 apr-1.4.2_1
libaprutil-1.so.0 apr-util-1.3.9_1 libaprutil-1.so.0 apr-util-1.3.9_1

View File

@ -1,23 +1,25 @@
# Template file for 'ntp' # Template file for 'ntp'
pkgname=ntp pkgname=ntp
version=4.2.6p5 version=4.2.7p421
revision=14 revision=1
wrksrc="ntp-dev-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --with-lineeditlibs=readline" configure_args="--with-crypto --enable-linuxcap --enable-ipv6
hostmakedepends="bison perl-HTML-Parser" --with-lineeditlibs=readline ol_cv_pthread_select_yields=yes"
makedepends="readline-devel openssl-devel libcap-devel" hostmakedepends="pkg-config bison"
depends="shadow" makedepends="readline-devel openssl-devel libcap-devel libevent-devel"
conf_files="/etc/ntp.conf"
systemd_services="ntpdate.service on ntpd.service on"
system_accounts="ntpd"
provides="ntp-daemon-0"
replaces="ntp-daemon>=0"
short_desc="The Network Time Protocol daemon and utilities" short_desc="The Network Time Protocol daemon and utilities"
license="BSD" license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.ntp.org/" homepage="http://www.ntp.org/"
distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$version.tar.gz" distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ntp-dev-${version}.tar.gz"
checksum=d6ab8371f9d31e594eb6922823d5ccd03dcc4e9d84b0e23ea25ac1405432f91c checksum=cc362f1a5bce1658761283bf3dcb14674557de953a0688973bb04c501f8baf10
depends="shadow"
conf_files="/etc/ntp.conf"
system_accounts="ntpd"
provides="ntp-daemon-0"
replaces="ntp-daemon>=0"
post_install() { post_install() {
# ntpd service # ntpd service
@ -29,11 +31,6 @@ post_install() {
# For systemd-timedated. # For systemd-timedated.
vmkdir usr/lib/systemd/ntp-units.d vmkdir usr/lib/systemd/ntp-units.d
echo "ntpd.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/60-ntp.list echo "ntpd.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/60-ntp.list
# Convert html to manual pages.
cd html
../scripts/html2man
vmkdir usr/share/man
mv man/man* ${DESTDIR}/usr/share/man
} }
ntp-perl_package() { ntp-perl_package() {
@ -44,5 +41,6 @@ ntp-perl_package() {
for f in ntp-wait ntptrace; do for f in ntp-wait ntptrace; do
vmove usr/bin/${f} vmove usr/bin/${f}
done done
vmove usr/share/ntp/lib
} }
} }