diff options
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/Manifest.gz | bin | 43101 -> 43270 bytes | |||
-rw-r--r-- | net-analyzer/munin/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/munin/munin-2.0.73-r3.ebuild | 2 | ||||
-rw-r--r-- | net-analyzer/ookla-speedtest/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/ookla-speedtest/metadata.xml | 15 | ||||
-rw-r--r-- | net-analyzer/ookla-speedtest/ookla-speedtest-1.2.0.ebuild | 27 | ||||
-rw-r--r-- | net-analyzer/pnp4nagios/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/pnp4nagios/metadata.xml | 2 | ||||
-rw-r--r-- | net-analyzer/pnp4nagios/pnp4nagios-0.6.26_p20230918.ebuild | 112 |
9 files changed, 166 insertions, 4 deletions
diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz Binary files differindex 2638ec592115..98ad46b2ce60 100644 --- a/net-analyzer/Manifest.gz +++ b/net-analyzer/Manifest.gz diff --git a/net-analyzer/munin/Manifest b/net-analyzer/munin/Manifest index 00ac330af9c3..8b2bed6fe8ec 100644 --- a/net-analyzer/munin/Manifest +++ b/net-analyzer/munin/Manifest @@ -25,6 +25,6 @@ DIST munin-remove-Date-Manip-DM5.patch 3587 BLAKE2B fab1fb61607e83aac5cbd699c930 EBUILD munin-2.0.69-r1.ebuild 12568 BLAKE2B af5b2c07a81c6c1cf733fb3200aa69a81f1c7ec4b7dbdee6b1665d1070c18e9983d7a6adbd01c84c21cfa5f978fc34cec3aff1eb0b394da994e72b02e3c683e9 SHA512 66efe60daf5edfcb2d3198e0f398a01d5a68f31143b5b9723d43cf00ccf8256aa12c9e29ee57bb8fc742ee53332c1a671cd470c655d505b4e5bae16c2d0a86a2 EBUILD munin-2.0.73-r1.ebuild 12274 BLAKE2B 2002080dad8728b31ddb3c32dea575bb7a7d04b60b6a736d77ee196b35de318aa6f7e13c925abfc083d8e2db10993e4fe6966a8ef8c1aa9282654252f625b071 SHA512 6d1f6c3932790ca1020fd0fbc573cdef3a0c9797e90ea5e714e384b06c5a758f263235a3981559f07b84445cb6c98a4f1f17fd5b10c20fdd2fa7fb574a5cbf52 EBUILD munin-2.0.73-r2.ebuild 12161 BLAKE2B b0cd6e479b426ff82f6e4779c506c31c89b4ff71348d81d2ace3ae1d54f55bfbfb3bd6d8dae600bc2afeb941e51f191c1be87ccf929edb56c69561f344c76721 SHA512 61792e53d0c7ffef0a9d5a3dc5576d88e6e112d99a29ce0672cf4006acec290cda17a86b8a01d6167c4c3197572dbedef0d7bb056e844bafa2f63fdcc976a5cf -EBUILD munin-2.0.73-r3.ebuild 12161 BLAKE2B a829e51059240965885399faa3cf32dd08726db193879fad779dd3d28265e02920e143bf1f738ad9d1ab6205f6a7618446f2b6e85256d343f37f1baa9dc91790 SHA512 0eec980e1408e040746aa6ed133dc735fcbee32f38f31452754bbf7dcabb5acd52268fc3f3e11c22a743b37d672ffdb85ad065c3c13fb7bbfb14ea8682d3a730 +EBUILD munin-2.0.73-r3.ebuild 12159 BLAKE2B 4e712041566fb054ed33b748659938108c9036fa9848be891ea64054e47ec44ec011f6956c24bb6e2c45ae324b7eb77e14f7c88de527de7cc272d6afa8d5dfaf SHA512 08c79d42ed53114becf625290f18b3d111318387cfd8ba6c58d4483e38637d029fa76cc11aacbf2b3db6c9c72b52b1862b86570844badaab70ac1db8c7418969 EBUILD munin-2.0.73.ebuild 12147 BLAKE2B f6ca54234cec7e66ca0faac3e9f299827b16b613ec30010fd464a837e057d68e7256d7958e9f44437f7aebb3b0a35ec9730c07385cb451b29d8d6cf5f2e96ab0 SHA512 c5ab32698a3d10c52e9232c90042b0797e2cf43b34dff5a6f98de4fec3282b43db9422de54fb570f645cbe54a077601eb2bce2f1edf5d9d3c5f13c0ee66b3d5b MISC metadata.xml 3933 BLAKE2B e13958d477a85e5f2327ffb529567dc129e6531a114b304d930399fe9cb81e6581f1df9d884860294984580c5b3e4335dfb623fca85e18e1de818430476eacfb SHA512 f824ef7f1a950ab81c4e3f2e81f44c6b3a49dc56a4aab977fad14e5d757875f8cb4900d8cd528c16449fafc8d08ab3792be8dc5a2a820932add7ce03ca35102c diff --git a/net-analyzer/munin/munin-2.0.73-r3.ebuild b/net-analyzer/munin/munin-2.0.73-r3.ebuild index 5163d71d6fe0..4e685a2b96f1 100644 --- a/net-analyzer/munin/munin-2.0.73-r3.ebuild +++ b/net-analyzer/munin/munin-2.0.73-r3.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="asterisk irc java ldap memcached minimal mysql postgres selinux ssl test cgi ipv6 syslog ipmi http dhcpd doc apache2" REQUIRED_USE="cgi? ( !minimal ) apache2? ( cgi )" RESTRICT="!test? ( test )" diff --git a/net-analyzer/ookla-speedtest/Manifest b/net-analyzer/ookla-speedtest/Manifest new file mode 100644 index 000000000000..3e6ea5d5c5b2 --- /dev/null +++ b/net-analyzer/ookla-speedtest/Manifest @@ -0,0 +1,6 @@ +DIST ookla-speedtest-1.2.0-linux-aarch64.tgz 1082287 BLAKE2B dc30e0c2bbe3206e326e22c1724f5bd63a9bf3d2237347222d2b36b2ccc98af06b55f5d5635c4487ae85d32323ea66a927b578ee29f89369ca395787bded34a3 SHA512 d7b78428220b84eac345594a500a76211dcbd19ffc9e399642a2e1506494433f9b6e596828bb5387275b0e1d38eada78af8183cefafa2ed1d93bfecdc366e569 +DIST ookla-speedtest-1.2.0-linux-armhf.tgz 1039260 BLAKE2B 8c4dc63bfdd797fd1e8482fa56f514486a564f3fd0e7f1fc008ba1dd6c20c5b3b8d92eb9b25458324b9ee65987edd1ce18f446b16a8e07f1c1f8df864424f75e SHA512 97a41d4ff38aa550faccfc29b9fe8b5d3e25deb2de4690598f2fb8c9469b379604fbd452ab978268e231b70154807ccc9d268a1cf40fa6aa10d2ec176e9b8be7 +DIST ookla-speedtest-1.2.0-linux-i386.tgz 1191626 BLAKE2B e416169ea7d7f86587b166458d5bff6b2d7e7757fb122deafb4fc824430059c15767b54113705e28b3bdb84bfe8420008f5e9bf5e221427ef7e0838faa04ede8 SHA512 a02cb0aabf9ce261944be9097ad9923bcbdc6b61989e764ac67ff5a46dedaff4f39a27ede733c081e3cc8e0b31f494e6be9aebcae9f4f8c63c4e0184ac9e320b +DIST ookla-speedtest-1.2.0-linux-x86_64.tgz 1106829 BLAKE2B 0eef2c45e3b8d2a9b22f52dce3661d2d0ca472f7127404c0d2ba696068a17e09bdc37427162c41ddb7a3f928c3c402047630f7cd733a3651ee4f65ede2f5d6c2 SHA512 f7ea618abcb17204fea3ede6ec84ed968cd2625540a2922247019830fc6f80a3d2e744a78fc37c7c265e7f51222334b49aef222f80acc1698a57c3c9066708e1 +EBUILD ookla-speedtest-1.2.0.ebuild 783 BLAKE2B e3e9051b30f950e6ee21690be68a8d1e829ea3b588c193269203379440a80418a4a8621314326806a059386269c61dfd912c42cd178aa1ade36072857a7d2f55 SHA512 0b462bc1f9e3f1e0f7acef6bea50785d6392f0009202ac9f7a0294ad34cd08a34086d19534377552697ffeb29a3068d2416c366b832d3c68ee96c33d3695f495 +MISC metadata.xml 581 BLAKE2B 90b8698a65132b08ecf9638710c6657900cce8d1c46c1bd6c7c1d5f40a25fd33cc77cd6cdf561b5f2686467fa25d80d0305ee2ec85df7caa036d5e12c9422dec SHA512 3effa6d72d002abdecf2c4d2f08729cca1af66e5b83af318a3f02c22447513757d01cc096c8e4751aafb40ea7162e01860624ea43e0335bb6f7e8605e7216ab3 diff --git a/net-analyzer/ookla-speedtest/metadata.xml b/net-analyzer/ookla-speedtest/metadata.xml new file mode 100644 index 000000000000..b74538a2763f --- /dev/null +++ b/net-analyzer/ookla-speedtest/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> + Speedtest CLI brings the trusted technology and global server network + behind Speedtest to the command line. Built for software developers, + system administrators and computer enthusiasts alike, + Speedtest CLI is the first official Linux-native Speedtest application + backed by Ookla. + </longdescription> +</pkgmetadata> diff --git a/net-analyzer/ookla-speedtest/ookla-speedtest-1.2.0.ebuild b/net-analyzer/ookla-speedtest/ookla-speedtest-1.2.0.ebuild new file mode 100644 index 000000000000..04352bc97a59 --- /dev/null +++ b/net-analyzer/ookla-speedtest/ookla-speedtest-1.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Internet connection measurement by Ookla" +HOMEPAGE="https://www.speedtest.net/apps/cli" +SRC_URI=" + amd64? ( https://install.speedtest.net/app/cli/${P}-linux-x86_64.tgz ) + arm? ( https://install.speedtest.net/app/cli/${P}-linux-armhf.tgz ) + arm64? ( https://install.speedtest.net/app/cli/${P}-linux-aarch64.tgz ) + x86? ( https://install.speedtest.net/app/cli/${P}-linux-i386.tgz ) +" +S="${WORKDIR}" + +LICENSE="Ookla" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +RESTRICT="bindist mirror" + +QA_PREBUILT="usr/bin/ookla-speedtest" + +src_install() { + newbin speedtest ookla-speedtest + newman speedtest.5 ookla-speedtest.5 + newdoc speedtest.md ookla-speedtest.md +} diff --git a/net-analyzer/pnp4nagios/Manifest b/net-analyzer/pnp4nagios/Manifest index 1f098abcaba0..ca4fef9378b5 100644 --- a/net-analyzer/pnp4nagios/Manifest +++ b/net-analyzer/pnp4nagios/Manifest @@ -4,5 +4,7 @@ AUX pnp4nagios-0.6.14-makefile.patch 1057 BLAKE2B 623115771d66839df357cf19ceb0ea AUX pnp4nagios-0.6.26_p20221106_compat.patch 2331 BLAKE2B 87cb67ef587cb7b0a67a6112977a90cfab6847ed670f7343eb35badada53dcf928400ff99fb16778337afea4ed936502cbcec7d42eb4f76937691ca30b18471a SHA512 105128eb5d127f4f7b6127771054602f55547fc7fa04bdf1135239499b58c9cbaa9222e822ff5eb4e2a319e2f0d06c3d9c3f6de04bc577f5ba1ed66eb3362b45 AUX pnp4nagios-0.6.26_p20221106_php80.patch 1576 BLAKE2B c11698d80086c3abd2b0cc96ed9af68267ce63c38b35ec87cb2f8f52cbe2d02af8a24dcbbf3d12779af0ae1fed2521b4f784fc0a8fbb0f2a15c51e6efaff4ea8 SHA512 f92a9b384767b7bddea0da504a01486f5145f726cf6eb6dd5f8ac6bff5450e785c78a900d6fd97173043f08dca30336f2ea28069f7a67ee0c982b3d4a2564c45 DIST pnp4nagios-0.6.26_p20221106.tar.gz 3029704 BLAKE2B 5866f4dbfef9b1028255eb3e47ac57fa260c1e2caca50fcb1c5ff93a3dc9bee9f14152e3a269ecf12daab59e50e1f4dfcd6513f9ce3dc5da35de50b944c38260 SHA512 cd0c3ad3d4983c43f7e1a100e8a2e6a530b573ca6bed60125c87b22ab33c2486c5ce99c6f52d641cdc7468984925a22a6ee7e1ac330ea2278ec2439acb910d04 +DIST pnp4nagios-0.6.26_p20230918.tar.gz 3036216 BLAKE2B 101b84623bec93cb3c3c2c5f5785a308afeeff6c7a89504ec5e39812be5e0807eaf7dabf720a69e58a3dd7bfd654f124dd26030deab60f5c6e0a31bd665e83e6 SHA512 4b03c5bf3d00339627e22cf14669b21433f926d6e698933833911a40d8b324d5a70dc5187ee5291f48bfcc12e9b51aaba24c8d263d5f25081544f97dce372890 EBUILD pnp4nagios-0.6.26_p20221106.ebuild 3356 BLAKE2B 1c5b5d1f4378e1aa042fc1141e5fb1293ada5329786c63cbd6b2dad968b17d305d1df33bd33b3968d00c383d6b5a29228a94b6d41c5e61fdb9ec34a41a9e2fd9 SHA512 dec85299801c2cdc73a3382921eed6d25e39ce837aeb3bc9e7473d2871178437edf30bbb22b16ba779d87b176c4da8df44c876f6e82fa6dadb7bb2e175460b65 -MISC metadata.xml 677 BLAKE2B f58a0350bbf34f21834181d537d1e4906c91b9eea8187b10965578fa6fa82abd3de727754b2f62987f078aad6db146ec00a0437c48edd4411b23b1ef780abb0f SHA512 9843fd05d441d4324ceab6f99f67c7eba266b9f6cad7a28616c7ef094bd8345ef573ac4b5f83ee8f049f3dbf3067df1c1005fff803db9560f10f8b05f11fceda +EBUILD pnp4nagios-0.6.26_p20230918.ebuild 3274 BLAKE2B 5cd41105bf934523a39dd065c3e96a4a4e3821874484142876ed4f81ed1c517d6ba41e3f903ae9e1e479302a2bea29b6e8263590291152e0e5a17794e4e8dcf6 SHA512 ea801658d948c35bb10bc7f9414ab9a52c0a912955adb470441d15420e1bb5b7baf0018e3a070cc8f605d2052f8282d2658d026703fa44f31da141e0517b98b2 +MISC metadata.xml 688 BLAKE2B 5c0d71bc8b9678f242ef0310314f1762e6c65412fd0c5451ea3b0dc18ccd124b3975be3812722ce46777c53a279d6fd36c16b7c778244c4be625486053e74aa2 SHA512 a498d056799e1dcd0cf10f86623560ec26b82d2923aaff0fa856f3fd70bd900da8515c53b6b73ccb5f37a3cae8934033454c9e344816c5044cf9cd49aee85a10 diff --git a/net-analyzer/pnp4nagios/metadata.xml b/net-analyzer/pnp4nagios/metadata.xml index 938f480add62..9e00dcae8fec 100644 --- a/net-analyzer/pnp4nagios/metadata.xml +++ b/net-analyzer/pnp4nagios/metadata.xml @@ -18,6 +18,6 @@ <upstream> <remote-id type="sourceforge">pnp4nagios</remote-id> - <remote-id type="github">lingej/pnp4nagios</remote-id> + <remote-id type="github">ConSol-Monitoring/pnp4nagios</remote-id> </upstream> </pkgmetadata> diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.26_p20230918.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.26_p20230918.ebuild new file mode 100644 index 000000000000..ac57aaf8d4fc --- /dev/null +++ b/net-analyzer/pnp4nagios/pnp4nagios-0.6.26_p20230918.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A performance data analyzer for nagios" +HOMEPAGE="https://github.com/ConSol-Monitoring/pnp" +GH_COMMIT="e52677d3994d35197db68120d7089906a174a3f9" +SRC_URI="https://github.com/ConSol-Monitoring/pnp/archive/${GH_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/pnp-${GH_COMMIT}" + +LICENSE="GPL-2" +SLOT="0" +IUSE="apache2 icinga +nagios" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +REQUIRED_USE="^^ ( icinga nagios )" + +# Some things (sync mode, for one) are broken with nagios-4.x, but since +# nagios-3.x has been end-of-life'd, we don't have much choice here but +# to accept it. +DEPEND="net-analyzer/rrdtool[graph,perl] + icinga? ( + acct-group/icinga + acct-user/icinga + ) + nagios? ( + acct-group/nagios + acct-user/nagios + )" + +# A list of modules used in our Apache config file. +APACHE_MODS="apache2_modules_alias," # "Alias" directive +APACHE_MODS+="apache2_modules_authz_core," # "Require" directive +APACHE_MODS+="apache2_modules_rewrite" # "RewriteEngine" and friends + +RDEPEND="${DEPEND} + dev-lang/php:*[filter,gd,json(+),simplexml,xml,zlib] + media-fonts/dejavu + virtual/perl-Getopt-Long + virtual/perl-Time-HiRes + apache2? ( >=www-servers/apache-2.4[${APACHE_MODS}] )" + +PATCHES=( + "${FILESDIR}/${PN}-0.6.14-makefile.patch" +) + +src_configure() { + local user_group=nagios + use icinga && user_group=icinga + + local myeconfargs=( + --sysconfdir="${EPREFIX}"/etc/pnp + --datarootdir="${EPREFIX}"/usr/share/pnp + --localstatedir="${EPREFIX}"/var/lib/pnp + --with-nagios-user="${user_group}" + --with-nagios-group="${user_group}" + --with-perfdata-logfile="${EPREFIX}"/var/log/pnp/process_perfdata.log + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + # The default target just shows a help + emake all +} + +src_install() { + # Don't use INSTALL_OPTS because they set insecure permissions on + # all of /etc/pnp (https://github.com/lingej/pnp4nagios/issues/140). + emake INSTALL_OPTS="" DESTDIR="${D}" install install-config + einstalldocs + newinitd "${FILESDIR}"/npcd.initd npcd + rm "${ED}/usr/share/pnp/install.php" || \ + die "unable to remove ${ED}/usr/share/pnp/install.php" + + # Fix CVE-2012-3457 (Gentoo bug 430358) + fperms o-rwx /etc/pnp/process_perfdata.cfg + + if use apache2 ; then + insinto /etc/apache2/modules.d + newins "${FILESDIR}"/98_pnp4nagios-2.4.conf 98_pnp4nagios.conf + fi + + # The nagios or icinga user needs to write performance data to the + # perfdata-dir... + local user_group=nagios + use icinga && user_group=icinga + fowners ":${user_group}" /var/lib/pnp/{,perfdata,spool} + fperms g+rwx /var/lib/pnp/{,perfdata,spool} + + # and likewise for its logs... + dodir /var/log/pnp + fowners ":${user_group}" /var/log/pnp + fperms g+rwx /var/log/pnp + + # and its statistics. This one is arguably the responsibility of the + # build system, since process_perfdata.cfg refers to this location. + dodir /var/lib/pnp/stats + fowners ":${user_group}" /var/lib/pnp/stats + fperms g+rwx /var/lib/pnp/stats +} + +pkg_postinst() { + elog "To enable the pnp4nagios web front-end, please visit" + elog "${EROOT}/etc/conf.d/apache2 and add \"-D PNP -D PHP\"" + elog "to APACHE2_OPTS. Then pnp4nagios will be available at," + elog + elog " http://localhost/pnp4nagios" + elog +} |