1 |
dertobi123 08/11/28 20:57:05 |
2 |
|
3 |
Modified: ChangeLog nagios-plugins-1.4.13-r1.ebuild |
4 |
Log: |
5 |
Don't install packages using SNMP perl modules when the snmp use flag isn't set. (bug #243776) |
6 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.98 net-analyzer/nagios-plugins/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog?rev=1.98&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog?rev=1.98&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog?r1=1.97&r2=1.98 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v |
18 |
retrieving revision 1.97 |
19 |
retrieving revision 1.98 |
20 |
diff -u -r1.97 -r1.98 |
21 |
--- ChangeLog 16 Oct 2008 18:04:54 -0000 1.97 |
22 |
+++ ChangeLog 28 Nov 2008 20:57:05 -0000 1.98 |
23 |
@@ -1,6 +1,11 @@ |
24 |
# ChangeLog for net-analyzer/nagios-plugins |
25 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.97 2008/10/16 18:04:54 dertobi123 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.98 2008/11/28 20:57:05 dertobi123 Exp $ |
28 |
+ |
29 |
+ 28 Nov 2008; Tobias Scherbaum <dertobi123@g.o> |
30 |
+ nagios-plugins-1.4.13-r1.ebuild: |
31 |
+ Don't install packages using SNMP perl modules when the snmp use flag isn't |
32 |
+ set. (bug #243776) |
33 |
|
34 |
*nagios-plugins-1.4.13-r1 (16 Oct 2008) |
35 |
*nagios-plugins-1.4.13 (16 Oct 2008) |
36 |
|
37 |
|
38 |
|
39 |
1.2 net-analyzer/nagios-plugins/nagios-plugins-1.4.13-r1.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.13-r1.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.13-r1.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.13-r1.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: nagios-plugins-1.4.13-r1.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.13-r1.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- nagios-plugins-1.4.13-r1.ebuild 16 Oct 2008 18:04:54 -0000 1.1 |
52 |
+++ nagios-plugins-1.4.13-r1.ebuild 28 Nov 2008 20:57:05 -0000 1.2 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2008 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.13-r1.ebuild,v 1.1 2008/10/16 18:04:54 dertobi123 Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.13-r1.ebuild,v 1.2 2008/11/28 20:57:05 dertobi123 Exp $ |
58 |
|
59 |
WANT_AUTOCONF="latest" |
60 |
WANT_AUTOMAKE="latest" |
61 |
@@ -107,6 +107,11 @@ |
62 |
doexe "${S}"/contrib/check_nagios_db.pl |
63 |
fi |
64 |
|
65 |
+ if ! use snmp; then |
66 |
+ rm "${D}"/usr/$(get_libdir)/nagios/plugins/check_if{operstatus,status} \ |
67 |
+ || die "Failed to remove SNMP check plugins" |
68 |
+ fi |
69 |
+ |
70 |
mv "${S}"/contrib "${D}"/usr/$(get_libdir)/nagios/plugins/contrib |
71 |
|
72 |
chown -R root:nagios "${D}"/usr/$(get_libdir)/nagios/plugins \ |