Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=2 |
6 |
|
6 |
|
7 |
inherit eutils toolchain-funcs |
7 |
inherit eutils toolchain-funcs autotools |
8 |
|
8 |
|
9 |
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor" |
9 |
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor" |
10 |
HOMEPAGE="http://www.nagios.org/" |
10 |
HOMEPAGE="http://www.nagios.org/" |
Lines 16-24
Link Here
|
16 |
|
16 |
|
17 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
17 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
18 |
|
18 |
|
19 |
IUSE="ssl command-args" |
19 |
IUSE="ssl command-args tcpd" |
20 |
DEPEND=">=net-analyzer/nagios-plugins-1.3.0 |
20 |
DEPEND=">=net-analyzer/nagios-plugins-1.3.0 |
21 |
ssl? ( dev-libs/openssl )" |
21 |
ssl? ( dev-libs/openssl ) |
|
|
22 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" |
23 |
|
22 |
S="${WORKDIR}/nrpe-${PV}" |
24 |
S="${WORKDIR}/nrpe-${PV}" |
23 |
|
25 |
|
24 |
pkg_setup() { |
26 |
pkg_setup() { |
Lines 30-42
Link Here
|
30 |
# Add support for large output, |
32 |
# Add support for large output, |
31 |
# http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html |
33 |
# http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html |
32 |
epatch "${FILESDIR}/multiline.patch" |
34 |
epatch "${FILESDIR}/multiline.patch" |
|
|
35 |
|
36 |
# Fix tcp-wrapper dependency (Bug #326367) |
37 |
epatch "${FILESDIR}/tcp-wrapper-configure.in.patch" |
38 |
|
39 |
eautoconf || die "eautoconf failed" |
33 |
} |
40 |
} |
34 |
|
41 |
|
35 |
src_configure() { |
42 |
src_configure() { |
36 |
local myconf |
43 |
local myconf |
37 |
|
44 |
|
38 |
myconf="${myconf} $(use_enable ssl) \ |
45 |
myconf="${myconf} $(use_enable ssl) \ |
39 |
$(use_enable command-args)" |
46 |
$(use_enable command-args) \ |
|
|
47 |
$(use_enable tcpd tcp-wrapper)" |
40 |
|
48 |
|
41 |
# Generate the dh.h header file for better security (2005 Mar 20 eldad) |
49 |
# Generate the dh.h header file for better security (2005 Mar 20 eldad) |
42 |
if use ssl ; then |
50 |
if use ssl ; then |