From 4968fd889f69d50cfcab1ffa12e56bdf476d9939 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 21 Jul 2024 12:30:10 +0100 Subject: gentoo auto-resync : 21:07:2024 - 12:30:10 --- net-analyzer/Manifest.gz | Bin 43133 -> 43138 bytes net-analyzer/nsca/Manifest | 2 +- net-analyzer/nsca/nsca-2.7.2-r103.ebuild | 86 ------------------------------- net-analyzer/nsca/nsca-2.7.2-r104.ebuild | 86 +++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+), 87 deletions(-) delete mode 100644 net-analyzer/nsca/nsca-2.7.2-r103.ebuild create mode 100644 net-analyzer/nsca/nsca-2.7.2-r104.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz index 085e87e358ca..4ccb02bdf342 100644 Binary files a/net-analyzer/Manifest.gz and b/net-analyzer/Manifest.gz differ diff --git a/net-analyzer/nsca/Manifest b/net-analyzer/nsca/Manifest index 2a8c6600fbb8..235c7bc74453 100644 --- a/net-analyzer/nsca/Manifest +++ b/net-analyzer/nsca/Manifest @@ -1,5 +1,5 @@ AUX nsca.conf 219 BLAKE2B 0ce329240a846e3fc011b82322e2635aa396bfd5eecadf5834becb08b1085e32d30be337b174d777208a882dd2fdcc71939d3fed100534e0c6b431a4e11f9b5a SHA512 c7dda1f94611e028b52ae6bf330db1415b18a88590a8a7c54d1f862aaa326751b39e88380cd24217aab11f32ef5842c6b1d4a0333ca0310a5be0e94c573165b2 AUX nsca.init 645 BLAKE2B baa298df97c4c29fa563a1dde1ef6cf962acf2ec50797b68f073f744fd56eadf97b6163196c497e83d49b4daf8c2eac04378d8b4d00ffae32796e0f8e926ab3d SHA512 88fab799a388dc6f10a2eac94b1ee5d1a76687c408958cc8cf5c22219d10b439d0c9c64a9ae9f34211e19eccb95cb2417e4b972c5549d23ef4bdd5493cdaf224 DIST nsca-2.7.2.tar.gz 104953 BLAKE2B 74dce7b59149cd41fe316dc48588d744131efbbe8073d0defe3542a774ac7dd7429a23e5e7f6b2c9b9e45fa1938cdb2994bfcf93e745c12c8fb5bfbbeb627e6e SHA512 f84cac3613bbd0ded4ec700c1dadac71ed075544d0f48281a70946a67792b7f4bcdf6dc3bd5ccf1293cc6a0277638e0f034c33064bf9c05696b4f015e7f15010 -EBUILD nsca-2.7.2-r103.ebuild 2022 BLAKE2B 64eb7a6c4a9dd559bed13d14ffed87557f18473cba30fc76f5b13fa471573a87f88d1bfca0b329476502d9fcfe2137310cdaefee609db6c84ef3f3a3073c3ad9 SHA512 6a53b4c9d5403aed732b6e31adc7496b760537f35fbbb457bfbd4ab1b2208b271890848440aae610b0f7803fb7f7546fee9c818e9036d51585151fbbd7b1b873 +EBUILD nsca-2.7.2-r104.ebuild 2050 BLAKE2B 6bbaeb917cb7fb42d16fe5d6ad554817b9e6bf3c79c7a6d79df63d0f11d48c1f4142ebb9a54e45dc4782006fa42cbeb43bb4350360dcccde7f287f5f2a1b385b SHA512 d6b9cb5ac3caa7a90e9b61da625c7a920f6e67fe02deb6b582fc32a8f65e6d7ad15de9a2cf63cee6320458e24b688d95a0edc8afdbbf049aa67152638e0f17ca MISC metadata.xml 1733 BLAKE2B e7d987509bf4066ee0b6133dd34fdd98a0260ec436f3b24cad2f447584aee21568a1dae311fbadaaf47560bee8f3113e45fdfdea908934b5cb78d7300111be72 SHA512 24221ae962c2d500dac72c87186cd6e70adfaa04d3f2fd43638c0d1b1bf34d2ce7d564593023ef442c15302b8b2ddaf2b601a9c30bc05221722160aec4255251 diff --git a/net-analyzer/nsca/nsca-2.7.2-r103.ebuild b/net-analyzer/nsca/nsca-2.7.2-r103.ebuild deleted file mode 100644 index 2f5ddddd240f..000000000000 --- a/net-analyzer/nsca/nsca-2.7.2-r103.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Nagios Service Check Acceptor" -HOMEPAGE="https://www.nagios.org/" -SRC_URI="https://downloads.sourceforge.net/nagios/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 sparc x86" -IUSE="tcpd +crypt minimal" - -DEPEND="crypt? ( >=dev-libs/libmcrypt-2.5.1-r4 ) - !minimal? ( - tcpd? ( sys-apps/tcp-wrappers ) - acct-group/icinga - acct-group/nagios - acct-user/icinga - acct-user/nagios - )" -RDEPEND="${DEPEND} - !minimal? ( - || ( - net-analyzer/icinga - net-analyzer/nagios - ) - ) - sys-apps/openrc" - -src_configure() { - use tcpd || export ac_cv_lib_wrap_main=no - use crypt || export ac_cv_path_LIBMCRYPT_CONFIG=/bin/false - - econf \ - --localstatedir="${EPREFIX}"/var/nagios \ - --sysconfdir="${EPREFIX}"/etc/nagios \ - --with-nsca-user=nagios \ - --with-nsca-grp=nagios -} - -src_compile() { - emake -C src send_nsca $(use minimal || echo nsca) - - # prepare the alternative configuration file - sed \ - -e '/nsca_\(user\|group\)/s:nagios:icinga:' \ - -e '/nsca_chroot/s:=.*:=/var/lib/icinga/rw:' \ - -e '/\(command\|alternate_dump\)_file/s:/var/nagios:/var/lib/icinga:' \ - "${S}"/sample-config/nsca.cfg > "${T}"/nsca.icinga.cfg || die -} - -src_install() { - dodoc LEGAL Changelog README SECURITY - - dobin src/send_nsca - - insinto /etc/nagios - doins sample-config/send_nsca.cfg - - if ! use minimal; then - exeinto /usr/libexec - doexe src/nsca - - newinitd "${FILESDIR}"/nsca.init nsca - newconfd "${FILESDIR}"/nsca.conf nsca - - insinto /etc/nagios - doins sample-config/nsca.cfg - - insinto /etc/icinga - newins "${T}"/nsca.icinga.cfg nsca.cfg - fi -} - -pkg_postinst() { - if ! use minimal; then - elog "If you are using the nsca daemon, remember to edit" - elog "the config file /etc/nagios/nsca.cfg" - elog - elog "If you intend to use nsca with Icinga, change the" - elog "configuration file path in /etc/conf.d/nsca so that" - elog "it will default to the correct paths and users." - fi -} diff --git a/net-analyzer/nsca/nsca-2.7.2-r104.ebuild b/net-analyzer/nsca/nsca-2.7.2-r104.ebuild new file mode 100644 index 000000000000..6138ae9d1680 --- /dev/null +++ b/net-analyzer/nsca/nsca-2.7.2-r104.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Nagios Service Check Acceptor" +HOMEPAGE="https://www.nagios.org/" +SRC_URI="https://downloads.sourceforge.net/nagios/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 sparc x86" +IUSE="tcpd +crypt minimal" + +DEPEND="crypt? ( >=dev-libs/libmcrypt-2.5.1-r4 ) + !minimal? ( + tcpd? ( sys-apps/tcp-wrappers ) + acct-group/icinga + acct-group/nagios + acct-user/icinga + acct-user/nagios + )" +RDEPEND="${DEPEND} + !minimal? ( + || ( + net-analyzer/icinga + net-analyzer/nagios + ) + ) + || ( sys-apps/openrc sys-apps/openrc-navi )" + +src_configure() { + use tcpd || export ac_cv_lib_wrap_main=no + use crypt || export ac_cv_path_LIBMCRYPT_CONFIG=/bin/false + + econf \ + --localstatedir="${EPREFIX}"/var/nagios \ + --sysconfdir="${EPREFIX}"/etc/nagios \ + --with-nsca-user=nagios \ + --with-nsca-grp=nagios +} + +src_compile() { + emake -C src send_nsca $(use minimal || echo nsca) + + # prepare the alternative configuration file + sed \ + -e '/nsca_\(user\|group\)/s:nagios:icinga:' \ + -e '/nsca_chroot/s:=.*:=/var/lib/icinga/rw:' \ + -e '/\(command\|alternate_dump\)_file/s:/var/nagios:/var/lib/icinga:' \ + "${S}"/sample-config/nsca.cfg > "${T}"/nsca.icinga.cfg || die +} + +src_install() { + dodoc LEGAL Changelog README SECURITY + + dobin src/send_nsca + + insinto /etc/nagios + doins sample-config/send_nsca.cfg + + if ! use minimal; then + exeinto /usr/libexec + doexe src/nsca + + newinitd "${FILESDIR}"/nsca.init nsca + newconfd "${FILESDIR}"/nsca.conf nsca + + insinto /etc/nagios + doins sample-config/nsca.cfg + + insinto /etc/icinga + newins "${T}"/nsca.icinga.cfg nsca.cfg + fi +} + +pkg_postinst() { + if ! use minimal; then + elog "If you are using the nsca daemon, remember to edit" + elog "the config file /etc/nagios/nsca.cfg" + elog + elog "If you intend to use nsca with Icinga, change the" + elog "configuration file path in /etc/conf.d/nsca so that" + elog "it will default to the correct paths and users." + fi +} -- cgit v1.2.3