From 08148285c7c85e6495d4f21138c78dcfce1a9081 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 10 May 2009 20:28:40 +0200 Subject: [PATCH] ntp: run ntpd in a chroot by default, thanks to libcap. Bump revision. --HG-- extra : convert_revision : b4253cf0553eb27df0c8975ee080d8f8ffd33fbf --- templates/ntp/files/ntpd.confd | 6 +++--- templates/ntp/template | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/ntp/files/ntpd.confd b/templates/ntp/files/ntpd.confd index 06b64575ac..4f7f359717 100644 --- a/templates/ntp/files/ntpd.confd +++ b/templates/ntp/files/ntpd.confd @@ -1,6 +1,6 @@ # Configuration file for ntp. # -# Uncomment the following to run ntpd(8) enjailed in -# a chroot directory. +# Comment the following line to NOT run ntpd(8) in a chroot +# as the ntpd user/group. NOT RECOMMENDED. # -#ntpd_chroot=/var/chroot/ntpd +ntpd_chroot=/var/chroot/ntpd diff --git a/templates/ntp/template b/templates/ntp/template index a205b029f1..2cbea8b8c1 100644 --- a/templates/ntp/template +++ b/templates/ntp/template @@ -2,7 +2,7 @@ pkgname=ntp sourcepkg=$pkgname version=4.2.4p6 -revision=2 +revision=3 distfiles="http://archive.ntp.org/ntp4/$pkgname-$version.tar.gz" build_style=gnu_configure configure_args="--enable-linuxcaps --enable-getifaddrs=glibc @@ -24,6 +24,7 @@ triggers="openrc-service" Add_dependency full glibc Add_dependency full openssl +Add_dependency full libcap Add_dependency run ncurses-libs Add_dependency run OpenRC