summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-25 00:17:33 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-25 00:17:33 +0000
commitad6bc9749aa7ef68775999849e3c9fc8069406ba (patch)
treef3b61f43df9d25d640a34f8d6b19d967a40b2d9c /net-analyzer
parentRemove old (diff)
downloadgentoo-2-ad6bc9749aa7ef68775999849e3c9fc8069406ba.tar.gz
gentoo-2-ad6bc9749aa7ef68775999849e3c9fc8069406ba.tar.bz2
gentoo-2-ad6bc9749aa7ef68775999849e3c9fc8069406ba.zip
Fix build with sudo USE flag disabled.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nagios-plugins/ChangeLog6
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild7
2 files changed, 9 insertions, 4 deletions
diff --git a/net-analyzer/nagios-plugins/ChangeLog b/net-analyzer/nagios-plugins/ChangeLog
index 7ea10ee02b1e..83da01ebf499 100644
--- a/net-analyzer/nagios-plugins/ChangeLog
+++ b/net-analyzer/nagios-plugins/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/nagios-plugins
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.151 2012/08/23 22:03:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.152 2012/08/25 00:17:33 flameeyes Exp $
+
+ 25 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ nagios-plugins-1.4.16-r2.ebuild:
+ Fix build with sudo USE flag disabled.
*nagios-plugins-1.4.16-r2 (23 Aug 2012)
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild
index ccce43ba1093..bd8d39fa0856 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild,v 1.1 2012/08/23 22:03:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild,v 1.2 2012/08/25 00:17:33 flameeyes Exp $
EAPI=4
@@ -98,9 +98,10 @@ User_Alias NAGIOS_PLUGINS_USERS = nagios, icinga
NAGIOS_PLUGINS_USERS ALL=(root) NOPASSWD: NAGIOS_PLUGINS_CMDS
EOF
+
+ insinto /etc/sudoers.d
+ doins "${T}"/50${PN}
fi
- insinto /etc/sudoers.d
- doins "${T}"/50${PN}
cd contrib/
dodoc *README*