From db16929598ac333b179fdfead630dbdfa68840a5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 1 Nov 2022 15:07:30 +0000 Subject: gentoo auto-resync : 01:11:2022 - 15:07:30 --- net-analyzer/Manifest.gz | Bin 44572 -> 44567 bytes net-analyzer/nessus-bin/Manifest | 4 +- net-analyzer/nessus-bin/nessus-bin-10.3.0.ebuild | 65 ------- net-analyzer/nessus-bin/nessus-bin-10.4.0.ebuild | 68 +++++++ net-analyzer/suricata/Manifest | 2 +- net-analyzer/suricata/suricata-6.0.8-r1.ebuild | 219 +++++++++++++++++++++++ net-analyzer/suricata/suricata-6.0.8.ebuild | 219 ----------------------- 7 files changed, 290 insertions(+), 287 deletions(-) delete mode 100644 net-analyzer/nessus-bin/nessus-bin-10.3.0.ebuild create mode 100644 net-analyzer/nessus-bin/nessus-bin-10.4.0.ebuild create mode 100644 net-analyzer/suricata/suricata-6.0.8-r1.ebuild delete mode 100644 net-analyzer/suricata/suricata-6.0.8.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz index c1bd10fcad20..8189617c9599 100644 Binary files a/net-analyzer/Manifest.gz and b/net-analyzer/Manifest.gz differ diff --git a/net-analyzer/nessus-bin/Manifest b/net-analyzer/nessus-bin/Manifest index 13aebc7cc4a5..99523ede8ecf 100644 --- a/net-analyzer/nessus-bin/Manifest +++ b/net-analyzer/nessus-bin/Manifest @@ -1,4 +1,4 @@ AUX nessusd-initd 582 BLAKE2B 67c5e73262512c590b5b4fc0668297a504677aa3d771fdeee2809c921d988faef19cbf10a7fb26d52114e1a67d33ef197e32c561cd5b2003c8abbde2dfe5cb4f SHA512 f825fad89564303aeff423f3c32a1544ee4b063ef57702cd54220aebed8e01e7b178ff5bd10b48b654ebdee78657a9bc41caf779a23968d008916fd51e88b2f4 -DIST Nessus-10.3.0-es8.x86_64.rpm 50755492 BLAKE2B 6b73d9a5f9d1d2c783960162df01eb82925fafad4c1e2154136f46a6acac2422fa71ae909dceee6cff5b397263d2633fac8747475031f293a88b519fa966f032 SHA512 1447736dcc68b232dbcb91eeaf23dc7efbb344ae54e56e66733238d64f7bd2b0c60520fee7ddef4f3868ed11e843432153602c03d57e3b27a2fd94062ebd8cdf -EBUILD nessus-bin-10.3.0.ebuild 1989 BLAKE2B 60687eace368dd476aa29470d5745bfd99193b0504ef19ba51f4a85b8f27f6a1719c6eebfe9277331d04a741855dfcc20750897e0d94bce7bff78a2185af8557 SHA512 bde2d18ed3bc6b0b22bb61f3a7fd9fa3d20241cdcdfd563cfb331b8c2082012539b37a8b477a647c27c8fe8ae98d0cb438228b23af6e3516b055d5d791d35a7b +DIST Nessus-10.4.0-es8.x86_64.rpm 52986576 BLAKE2B ab722a4747b8e228511e5c12025a3e719b2b78236d42847a2558849c34c1c924e97bc4db2f5febe56f1b2df0617471b673679bd43a80c83b650958faf2663acd SHA512 74737a73d21ab274a08a24d0db589215663f08662376b7a4be09ba2bb2de2ccbf6c2110c72b97e29318153f1f5a63c2613aa25c9d0066902a5425562f0039d6c +EBUILD nessus-bin-10.4.0.ebuild 2077 BLAKE2B 1a2dd1f02110ed588a05ef33d16e0c498f5b16babc4faec6207f0a4ca0d9f5036283bd686c4933488e0b0b8e4501eb1769e788a4196c76d6e1bae039a20b3882 SHA512 0d03b55443e563fd13df14f46a22e9c2604831e8e38a5d3d885436289e79b76736d21796c2bfd70d26d3e41b3467a43d124e61d65bc000f9066f4d4722ee1c7f MISC metadata.xml 346 BLAKE2B 5e72f68ab557c56cc09cedcaaa9760f3619723bd6fc58b8ecc921526b1b42b6b65e971876ec569c1e68a26e55def24767c5d896fd9eb6a706041b485a8885023 SHA512 ab7e122c344a3f5078b2d497ed36a63f6af74fcfa7f2b98d6299ec7c82e7cbaf427da8fa595e6445e49ee041114ac581fb5b1d703f16fc70a54ee98375062e82 diff --git a/net-analyzer/nessus-bin/nessus-bin-10.3.0.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.3.0.ebuild deleted file mode 100644 index 0692bd7052be..000000000000 --- a/net-analyzer/nessus-bin/nessus-bin-10.3.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit rpm systemd - -MY_P="Nessus-${PV}-es8" - -DESCRIPTION="A remote security scanner for Linux" -HOMEPAGE="https://www.tenable.com/" -SRC_URI="${MY_P}.x86_64.rpm" - -LICENSE="GPL-2 Nessus-EULA" -SLOT="0" -KEYWORDS="-* ~amd64" - -RESTRICT="mirror fetch strip" - -QA_PREBUILT="opt/nessus/bin/nasl - opt/nessus/bin/ndbg - opt/nessus/bin/nessus-mkrand - opt/nessus/lib/nessus/libjemalloc.so.2 - opt/nessus/lib/nessus/libnessus-glibc-fix.so - opt/nessus/lib/nessus/iconv/*.so - opt/nessus/sbin/nessus-service - opt/nessus/sbin/nessuscli - opt/nessus/sbin/nessusd" - -S="${WORKDIR}" - -pkg_nofetch() { - einfo "Please download ${A} from ${HOMEPAGE}downloads/nessus" - einfo "The archive should then be placed into your DISTDIR directory." -} - -src_install() { - # Using doins -r would strip executable bits from all binaries - cp -pPR "${S}"/opt "${D}"/ || die "Failed to copy files" - - # Make sure these originally empty directories do not vanish, - # Nessus will not run properly without them - keepdir /opt/nessus/com/nessus/CA - keepdir /opt/nessus/etc/nessus - keepdir /opt/nessus/var/nessus/logs - keepdir /opt/nessus/var/nessus/tmp - - newinitd "${FILESDIR}"/nessusd-initd nessusd-bin - systemd_newunit usr/lib/systemd/system/nessusd.service nessusd-bin.service -} - -pkg_postinst() { - # Actually update Nessus core components. According to upstream packages, - # harmless to invoke on fresh installations too - and it may make life easier - # for people who had restored Nessus state from backups, had it lying around - # from older installations and so on. - "${EROOT}"/opt/nessus/sbin/nessuscli install "${EROOT}"/opt/nessus/var/nessus/plugins-core.tar.gz - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "To get started launch the nessusd-bin service, then point your Web browser to" - elog " https://:8834/" - else - elog "Please restart the nessusd-bin service to use the new version of Nessus" - fi -} diff --git a/net-analyzer/nessus-bin/nessus-bin-10.4.0.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.4.0.ebuild new file mode 100644 index 000000000000..185df57e95c4 --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-10.4.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit rpm systemd + +MY_P="Nessus-${PV}-es8" + +DESCRIPTION="A remote security scanner for Linux" +HOMEPAGE="https://www.tenable.com/" +SRC_URI="${MY_P}.x86_64.rpm" + +LICENSE="GPL-2 Nessus-EULA" +SLOT="0" +KEYWORDS="-* ~amd64" + +RESTRICT="mirror fetch strip" + +QA_PREBUILT="opt/nessus/bin/nasl + opt/nessus/bin/ndbg + opt/nessus/bin/nessus-mkrand + opt/nessus/bin/openssl + opt/nessus/lib/nessus/fips.so + opt/nessus/lib/nessus/legacy.so + opt/nessus/lib/nessus/libjemalloc.so.2 + opt/nessus/lib/nessus/libnessus-glibc-fix.so + opt/nessus/lib/nessus/iconv/*.so + opt/nessus/sbin/nessus-service + opt/nessus/sbin/nessuscli + opt/nessus/sbin/nessusd" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please download ${A} from ${HOMEPAGE}downloads/nessus" + einfo "The archive should then be placed into your DISTDIR directory." +} + +src_install() { + # Using doins -r would strip executable bits from all binaries + cp -pPR "${S}"/opt "${D}"/ || die "Failed to copy files" + + # Make sure these originally empty directories do not vanish, + # Nessus will not run properly without them + keepdir /opt/nessus/com/nessus/CA + keepdir /opt/nessus/etc/nessus + keepdir /opt/nessus/var/nessus/logs + keepdir /opt/nessus/var/nessus/tmp + + newinitd "${FILESDIR}"/nessusd-initd nessusd-bin + systemd_newunit usr/lib/systemd/system/nessusd.service nessusd-bin.service +} + +pkg_postinst() { + # Actually update Nessus core components. According to upstream packages, + # harmless to invoke on fresh installations too - and it may make life easier + # for people who had restored Nessus state from backups, had it lying around + # from older installations and so on. + "${EROOT}"/opt/nessus/sbin/nessuscli install "${EROOT}"/opt/nessus/var/nessus/plugins-core.tar.gz + + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "To get started launch the nessusd-bin service, then point your Web browser to" + elog " https://:8834/" + else + elog "Please restart the nessusd-bin service to use the new version of Nessus" + fi +} diff --git a/net-analyzer/suricata/Manifest b/net-analyzer/suricata/Manifest index 61fc00a10901..3bf3dbbd83b6 100644 --- a/net-analyzer/suricata/Manifest +++ b/net-analyzer/suricata/Manifest @@ -8,5 +8,5 @@ AUX suricata.service 501 BLAKE2B 00631ada0d2993eae97a028ef950b031b91bb3af346ee35 AUX suricata.tmpfiles 24 BLAKE2B 150b74a6775137704915015871ab4455b8d0b9204a75c398ea746e9194b0c0a787904f9015b98f36a685fac0dbb0fcb43746096dd403bf882afa5dfef12af94d SHA512 1530aed4efb35f988e2f0134388ea11ffc3ba1f217845a2c5dd47f947983ed4d343126e49d66a86ca7894ff60b5134464ddbe07509dcc80c001131f09cb7e2dd DIST suricata-6.0.8.tar.gz 32697425 BLAKE2B 1e445885f3a672081cbb8f17de9fb0fa21a2c618b80ea8d3d9362c0475149d833986cac047ad90b1c1a5b5b19025ff501a695e0f197c00457859b3858f51ecba SHA512 ab1eceedde70179e4a447297039e64132e0a2361e8424ad42c9037273a3f6eaf4c8d5d0306af6f26c8b373636b621ac1d7d505952306d9170c6a87e6fb863b61 DIST suricata-6.0.8.tar.gz.sig 566 BLAKE2B 817756401d628e49fb0f54faca05d87131711946aa641d0f0a5957fa2f5d6378e1b5cafeaf67b176b66cb0be0afd790aea1312042a195535e57571276aef1edc SHA512 d0d354b6fca3ef088e2371d6262f4bd45fb06747fcc32519510e690ced933d828fc1acf64d8d1b17d0360ce280905e5bf4b1c9fb8016d82cdee57a432bded884 -EBUILD suricata-6.0.8.ebuild 7086 BLAKE2B 22df0d0e1592c4a7149e98e0947590e9fd3a55db0e1fa283b3cea657c0bb0e606bc6b25983504774f4e387638b79241a28dc34585d4b65d1652985f33c742944 SHA512 619ba7cb4a53c91e12b503be1933f68c83c84dfcbe0402020c02a61541cb8dc08f7990e5a63c4b8381fd1e0253314fde14ead26bcb0037816bc04b4b6e2c8dae +EBUILD suricata-6.0.8-r1.ebuild 7086 BLAKE2B 22df0d0e1592c4a7149e98e0947590e9fd3a55db0e1fa283b3cea657c0bb0e606bc6b25983504774f4e387638b79241a28dc34585d4b65d1652985f33c742944 SHA512 619ba7cb4a53c91e12b503be1933f68c83c84dfcbe0402020c02a61541cb8dc08f7990e5a63c4b8381fd1e0253314fde14ead26bcb0037816bc04b4b6e2c8dae MISC metadata.xml 1047 BLAKE2B 8418aaa86ecf0e2baaf3f927c764dd8f0471f29c0b691ec3baac6988291e9e591ea4263b89a4a25b44cc2642d58bbffcfa5fdecd628ea101e4dd3d67e1914515 SHA512 1e6e38f2d0cd4335e274ab1ac72a445a3bfdd7a5c028d06a387e0f879cf7859681856ff03986816d5dae1ac841958652003b5c8057187885c579a695f8bc11cd diff --git a/net-analyzer/suricata/suricata-6.0.8-r1.ebuild b/net-analyzer/suricata/suricata-6.0.8-r1.ebuild new file mode 100644 index 000000000000..9b39a338afc0 --- /dev/null +++ b/net-analyzer/suricata/suricata-6.0.8-r1.ebuild @@ -0,0 +1,219 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-1 luajit ) +PYTHON_COMPAT=( python3_{8..11} ) + +inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles verify-sig + +DESCRIPTION="High performance Network IDS, IPS and Network Security Monitoring engine" +HOMEPAGE="https://suricata.io/" +SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz + verify-sig? ( https://www.openinfosecfoundation.org/download/${P}.tar.gz.sig )" + +LICENSE="GPL-2" +SLOT="0/6" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened hyperscan lua lz4 nflog +nfqueue redis systemd test" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/openinfosecfoundation.org.asc" + +RESTRICT="!test? ( test )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + bpf? ( af-packet ) + lua? ( ${LUA_REQUIRED_USE} )" + +RDEPEND="${PYTHON_DEPS} + acct-group/suricata + acct-user/suricata + dev-libs/jansson:= + dev-libs/libpcre + dev-libs/libyaml + net-libs/libnet:* + net-libs/libnfnetlink + dev-libs/nspr + dev-libs/nss + $(python_gen_cond_dep ' + dev-python/pyyaml[${PYTHON_USEDEP}] + ') + >=net-libs/libhtp-0.5.41 + net-libs/libpcap + sys-apps/file + sys-libs/libcap-ng + bpf? (