Сравнение nrpe-4.0.2 с nrpe-4.0.3

/usr/portage/net-analyzer/nrpe/nrpe-4.0.3.ebuild 2023-10-09 14:52:33.328368447 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5
inherit systemd
5

  
6
inherit autotools systemd
6 7

  
7 8
DESCRIPTION="Nagios Remote Plugin Executor"
8 9
HOMEPAGE="https://github.com/NagiosEnterprises/nrpe"
......
10 11

  
11 12
LICENSE="GPL-2+"
12 13
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
14
IUSE="command-args selinux ssl"
14
KEYWORDS="~alpha amd64 ~hppa ~ppc ppc64 sparc x86"
15
IUSE="command-args selinux ssl tcpd"
15 16

  
16 17
DEPEND="acct-group/nagios
17 18
	acct-user/nagios
18
	sys-apps/tcp-wrappers
19
	ssl? ( dev-libs/openssl:0= )"
19
	tcpd? (
20
		sys-apps/tcp-wrappers
21
	)
22
	ssl? (
23
		dev-libs/openssl:=
24
	)"
20 25
RDEPEND="${DEPEND}
21 26
	|| ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )
22 27
	selinux? ( sec-policy/selinux-nagios )"
23 28

  
24
PATCHES=( "${FILESDIR}/nrpe-3.2.1-eliminate-systemd-pid.patch" )
29
PATCHES=(
30
	"${FILESDIR}/nrpe-3.2.1-eliminate-systemd-pid.patch"
31
	"${FILESDIR}/nrpe-4.0.2-disable-tcpd.patch"
32
)
33

  
34
src_prepare() {
35
	default
36
	eautoreconf
37
}
25 38

  
26 39
src_configure() {
27 40
	# The configure script tries to detect what OS, distribution, and
......
49 62
		--with-init-type=unknown \
50 63
		--with-inetd-type=unknown \
51 64
		$(use_enable command-args) \
52
		$(use_enable ssl)
65
		$(use_enable ssl) \
66
		$(use_enable tcpd)
53 67
}
54 68

  
55 69
src_compile() {
......
77 91
}
78 92

  
79 93
pkg_postinst() {
80
	elog 'Some users have reported incompatibilities between nrpe-2.x and'
81
	elog 'nrpe-3.x. We recommend that you use the same major version for'
82
	elog 'both your server and clients.'
83

  
84 94
	if use command-args ; then
85 95
		ewarn ''
86 96
		ewarn 'You have enabled command-args for NRPE. That lets clients'
87 97
		ewarn 'supply arguments to the commands that are run, and IS A'
88 98
		ewarn 'SECURITY RISK!'
89
		ewarn''
99
		ewarn ''
90 100
	fi
91 101
}
Спасибо!