summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@gentoo.org>2006-05-25 22:33:48 +0000
committerEmanuele Giaquinta <exg@gentoo.org>2006-05-25 22:33:48 +0000
commitac9caf370cae4752140aed0ecc82a59cb0c71062 (patch)
tree329687ae6a866518e91eb98d511a7812d609eeb5 /net-misc/ntp/ntp-4.2.0-r2.ebuild
parentAdded to ~hppa, ~ppc64, ~sparc. See bug #134270. (diff)
downloadgentoo-2-ac9caf370cae4752140aed0ecc82a59cb0c71062.tar.gz
gentoo-2-ac9caf370cae4752140aed0ecc82a59cb0c71062.tar.bz2
gentoo-2-ac9caf370cae4752140aed0ecc82a59cb0c71062.zip
Use caps instead of !nodroproot to enable libcap support.
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'net-misc/ntp/ntp-4.2.0-r2.ebuild')
-rw-r--r--net-misc/ntp/ntp-4.2.0-r2.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/net-misc/ntp/ntp-4.2.0-r2.ebuild b/net-misc/ntp/ntp-4.2.0-r2.ebuild
index b637edc5fd7b..9bf0ce117cdf 100644
--- a/net-misc/ntp/ntp-4.2.0-r2.ebuild
+++ b/net-misc/ntp/ntp-4.2.0-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0-r2.ebuild,v 1.25 2005/08/25 22:10:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0-r2.ebuild,v 1.26 2006/05/25 22:33:48 exg Exp $
inherit eutils flag-o-matic gnuconfig
@@ -12,11 +12,11 @@ SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa mips ppc ppc64 sparc x86 ia64"
-IUSE="parse-clocks nodroproot selinux ssl"
+IUSE="parse-clocks caps selinux ssl"
RDEPEND=">=sys-libs/ncurses-5.2
>=sys-libs/readline-4.1
- !nodroproot? ( sys-libs/libcap )
+ caps? ( sys-libs/libcap )
ssl? ( dev-libs/openssl )
selinux? ( sec-policy/selinux-ntp )"
DEPEND="${RDEPEND}
@@ -67,7 +67,7 @@ src_compile() {
&& mysslconf="--with-openssl-libdir=yes" \
|| mysslconf="--with-openssl-libdir=no"
econf \
- `use_enable !nodroproot linuxcaps` \
+ `use_enable caps linuxcaps` \
`use_enable parse-clocks` \
${mysslconf} \
|| die
@@ -107,7 +107,7 @@ src_install() {
insinto /etc/conf.d
newins "${FILESDIR}"/ntpd.confd ntpd
newins "${FILESDIR}"/ntp-client.confd ntp-client
- use nodroproot && dosed "s|-u ntp:ntp||" /etc/conf.d/ntpd
+ use caps || dosed "s|-u ntp:ntp||" /etc/conf.d/ntpd
dodir /var/lib/ntp
fowners ntp:ntp /var/lib/ntp