Diff syslog-ng-4.2.0 with a syslog-ng-4.3.1
/usr/portage/app-admin/syslog-ng/syslog-ng-4.3.1.ebuild 2023-10-09 14:52:28.172368317 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
7 | 7 |
inherit autotools python-single-r1 systemd |
8 | 8 | |
9 |
MY_PV_MM=$(ver_cut 1-2) |
|
10 | 9 |
DESCRIPTION="syslog replacement with advanced filtering features" |
11 | 10 |
HOMEPAGE="https://www.syslog-ng.com/products/open-source-log-management/" |
12 | 11 |
SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz" |
13 | 12 | |
14 | 13 |
LICENSE="GPL-2+ LGPL-2.1+" |
15 | 14 |
SLOT="0" |
16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" |
|
17 |
IUSE="amqp caps dbi geoip2 http ipv6 json kafka mongodb pacct python redis smtp snmp test spoof-source systemd tcpd" |
|
15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
16 |
IUSE="amqp caps dbi geoip2 http json kafka mongodb pacct python redis smtp snmp test spoof-source systemd tcpd" |
|
18 | 17 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
19 | 18 |
test? ( python )" |
20 | 19 |
RESTRICT="!test? ( test )" |
... | ... | |
100 | 99 | |
101 | 100 |
for f in syslog-ng.conf.gentoo.hardened.in-r1 \ |
102 | 101 |
syslog-ng.conf.gentoo.in-r1; do |
103 |
sed -e "s/@SYSLOGNG_VERSION@/${MY_PV_MM}/g" "${FILESDIR}/${f}" > "${T}/${f/.in-r1/}" || die |
|
102 |
sed -e "s/@SYSLOGNG_VERSION@/$(ver_cut 1-2)/g" "${FILESDIR}/${f}" > "${T}/${f/.in-r1/}" || die |
|
104 | 103 |
done |
105 | 104 | |
106 | 105 |
default |
... | ... | |
116 | 115 |
--disable-java |
117 | 116 |
--disable-java-modules |
118 | 117 |
--disable-riemann |
118 |
--enable-ipv6 |
|
119 | 119 |
--enable-manpages |
120 | 120 |
--localstatedir=/var/lib/syslog-ng |
121 | 121 |
--sysconfdir=/etc/syslog-ng |
... | ... | |
131 | 131 |
$(use_enable dbi sql) |
132 | 132 |
$(use_enable geoip2) |
133 | 133 |
$(use_enable http) |
134 |
$(use_enable ipv6) |
|
135 | 134 |
$(use_enable json) |
136 | 135 |
$(use_enable kafka) |
137 | 136 |
$(use_enable mongodb) |
... | ... | |
174 | 173 |
# bug #355257 |
175 | 174 |
if ! has_version app-admin/logrotate ; then |
176 | 175 |
elog "It is highly recommended that app-admin/logrotate be emerged to" |
177 |
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d" |
|
176 |
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d" |
|
178 | 177 |
elog "for logrotate to use." |
179 | 178 |
fi |
180 | 179 |