1 |
flameeyes 12/08/21 17:30:54 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: nagios-nsca-2.7.2-r102.ebuild |
5 |
Removed: nagios-nsca-2.7.2-r101.ebuild |
6 |
Log: |
7 |
Revision bump: inherit user eclass for creating the nagios user and group; don't drop to nagios:nagios through s-s-d, leave it to the daemon to do that, otherwise we don't get a pid_file; make sure that nsca is queued after icinga or nagios when starting the init script; add a crypt USE flag to depend on libmcrypt so that you can disable it. |
8 |
|
9 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.6 net-analyzer/nagios-nsca/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/metadata.xml?rev=1.6&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/metadata.xml?rev=1.6&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/metadata.xml?r1=1.5&r2=1.6 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/metadata.xml,v |
21 |
retrieving revision 1.5 |
22 |
retrieving revision 1.6 |
23 |
diff -u -r1.5 -r1.6 |
24 |
--- metadata.xml 19 Aug 2012 15:22:11 -0000 1.5 |
25 |
+++ metadata.xml 21 Aug 2012 17:30:54 -0000 1.6 |
26 |
@@ -18,5 +18,13 @@ |
27 |
|
28 |
This package provides the send_nsca utility running on the client. |
29 |
</longdescription> |
30 |
+ <use> |
31 |
+ <flag name='crypt'> |
32 |
+ Build support for crypted communication with nsca, through |
33 |
+ <pkg>dev-libs/mcrypt</pkg>. It's recommended not to disable this |
34 |
+ flag unless all the communication will be handled in an |
35 |
+ absolutely safe environment. |
36 |
+ </flag> |
37 |
+ </use> |
38 |
</pkgmetadata> |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.41 net-analyzer/nagios-nsca/ChangeLog |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog?rev=1.41&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog?rev=1.41&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog?r1=1.40&r2=1.41 |
48 |
|
49 |
Index: ChangeLog |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog,v |
52 |
retrieving revision 1.40 |
53 |
retrieving revision 1.41 |
54 |
diff -u -r1.40 -r1.41 |
55 |
--- ChangeLog 19 Aug 2012 15:22:11 -0000 1.40 |
56 |
+++ ChangeLog 21 Aug 2012 17:30:54 -0000 1.41 |
57 |
@@ -1,6 +1,17 @@ |
58 |
# ChangeLog for net-analyzer/nagios-nsca |
59 |
# Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog,v 1.40 2012/08/19 15:22:11 flameeyes Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/ChangeLog,v 1.41 2012/08/21 17:30:54 flameeyes Exp $ |
62 |
+ |
63 |
+*nagios-nsca-2.7.2-r102 (21 Aug 2012) |
64 |
+ |
65 |
+ 21 Aug 2012; Diego E. Pettenò <flameeyes@g.o> |
66 |
+ +nagios-nsca-2.7.2-r102.ebuild, -nagios-nsca-2.7.2-r101.ebuild, |
67 |
+ files/nsca.init, metadata.xml: |
68 |
+ Revision bump: inherit user eclass for creating the nagios user and group; |
69 |
+ don't drop to nagios:nagios through s-s-d, leave it to the daemon to do that, |
70 |
+ otherwise we don't get a pid_file; make sure that nsca is queued after icinga |
71 |
+ or nagios when starting the init script; add a crypt USE flag to depend on |
72 |
+ libmcrypt so that you can disable it. |
73 |
|
74 |
19 Aug 2012; Diego E. Pettenò <flameeyes@g.o> metadata.xml: |
75 |
Re-assign to sysadmin herd. |
76 |
|
77 |
|
78 |
|
79 |
1.1 net-analyzer/nagios-nsca/nagios-nsca-2.7.2-r102.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/nagios-nsca-2.7.2-r102.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagios-nsca/nagios-nsca-2.7.2-r102.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: nagios-nsca-2.7.2-r102.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2012 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/nagios-nsca-2.7.2-r102.ebuild,v 1.1 2012/08/21 17:30:54 flameeyes Exp $ |
89 |
|
90 |
EAPI=4 |
91 |
|
92 |
inherit multilib user |
93 |
|
94 |
DESCRIPTION="Nagios NSCA - Nagios Service Check Acceptor" |
95 |
HOMEPAGE="http://www.nagios.org/" |
96 |
SRC_URI="mirror://sourceforge/nagios/nsca-${PV}.tar.gz" |
97 |
|
98 |
LICENSE="GPL-2" |
99 |
SLOT="0" |
100 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
101 |
IUSE="tcpd +crypt" |
102 |
|
103 |
DEPEND="crypt? ( >=dev-libs/libmcrypt-2.5.1-r4 ) |
104 |
tcpd? ( sys-apps/tcp-wrappers )" |
105 |
|
106 |
RDEPEND="${DEPEND} |
107 |
sys-apps/openrc" |
108 |
|
109 |
S="${WORKDIR}/nsca-${PV}" |
110 |
|
111 |
pkg_setup() { |
112 |
enewgroup nagios |
113 |
enewuser nagios -1 /bin/bash /var/nagios/home nagios |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
use tcpd || export ac_cv_lib_wrap_main=no |
118 |
use crypt || export ac_cv_path_LIBMCRYPT_CONFIG=/bin/false |
119 |
|
120 |
econf |
121 |
--localstatedir=/var/nagios \ |
122 |
--sysconfdir=/etc/nagios \ |
123 |
--with-nsca-user=nagios \ |
124 |
--with-nsca-grp=nagios |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
dodoc LEGAL Changelog README SECURITY |
129 |
|
130 |
insinto /etc/nagios |
131 |
doins "${S}"/sample-config/nsca.cfg |
132 |
doins "${S}"/sample-config/send_nsca.cfg |
133 |
|
134 |
dobin src/send_nsca |
135 |
|
136 |
exeinto /usr/libexec |
137 |
doexe src/nsca |
138 |
|
139 |
newinitd "${FILESDIR}"/nsca.init nsca |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
elog "If you are using the nsca daemon, remember to edit" |
144 |
elog "the config file /etc/nagios/nsca.cfg" |
145 |
elog "" |
146 |
elog "If you intend to use nsca with Icinga, make sure you" |
147 |
elog "change the value of command_file in nsca.cfg." |
148 |
} |