diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-28 01:25:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-28 01:25:58 +0100 |
commit | 6405cba4bf18141460bc9fcb8f5580532d4b46f8 (patch) | |
tree | 377baa366741990f54b18ea82f5566c48295f4e0 /net-analyzer | |
parent | abc3bfc07d931f667a0f50cf607f1c8a49af879f (diff) |
gentoo auto-resync : 28:09:2024 - 01:25:57
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/Manifest.gz | bin | 43283 -> 43273 bytes | |||
-rw-r--r-- | net-analyzer/netdata/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.47.2.ebuild | 155 | ||||
-rw-r--r-- | net-analyzer/wireshark/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-4.2.6.ebuild | 2 | ||||
-rw-r--r-- | net-analyzer/wireshark/wireshark-9999.ebuild | 2 | ||||
-rw-r--r-- | net-analyzer/yersinia/Manifest | 8 | ||||
-rw-r--r-- | net-analyzer/yersinia/files/yersinia-0.7.3-tinfo.patch | 4 | ||||
-rw-r--r-- | net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch | 38 | ||||
-rw-r--r-- | net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16.patch | 53 | ||||
-rw-r--r-- | net-analyzer/yersinia/yersinia-0.8.2_p20221119.ebuild (renamed from net-analyzer/yersinia/yersinia-0.8.2-r2.ebuild) | 16 |
11 files changed, 175 insertions, 109 deletions
diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz Binary files differindex 202c42f3638f..3db4316aa738 100644 --- a/net-analyzer/Manifest.gz +++ b/net-analyzer/Manifest.gz diff --git a/net-analyzer/netdata/Manifest b/net-analyzer/netdata/Manifest index 58a196722922..5a54f52eb688 100644 --- a/net-analyzer/netdata/Manifest +++ b/net-analyzer/netdata/Manifest @@ -3,10 +3,12 @@ DIST netdata-1.46.1.tar.gz 75135927 BLAKE2B 61ba35b4c61df47fd3aa03f08dc168dd0217 DIST netdata-1.46.2.tar.gz 75133899 BLAKE2B 56fedb88071fffd906fbe7bd6eb78baab944e5fe4929e203e0cc29a0397c7ee71bb4718c372d82981d47ecb2caaa38fd071ed619c058a76165a6c02a2165f5cc SHA512 d38951df52638ed8a620e7b271e1ad9fb30b7de1a38b0080c36cdccdb6c64928ff63e6c631d0e762b887d16a94e603a8414eabc0b288cb82e839fadfd38accb3 DIST netdata-1.47.0.tar.gz 51034692 BLAKE2B 3d0fabb24a6e0b5c7f2b8059e1fb66ce06d2bac1d1eac8919398b37015e8902d8c29ba3a31c05d0d0427d843410f6b24016aab34fc607ed557fbe7d581f35715 SHA512 8470398d60eba82af94ee1bc41896bc8200decbd51f242d0ef4ac293f5b0257cd72dd88191d82a37e717c08ed50e75bc72855a65d76356491c487ba50ade395e DIST netdata-1.47.1.tar.gz 51028613 BLAKE2B 435aeb7a87655b234ac7373307d05b9933e40817fdcdbdf291c1b2719eb9d6e5fa53fe4fb81b715303a87d8f1f7faeac1b3f97c042f76f6872250aacf805503e SHA512 33a94d93caf2c58874da3dd4e62ebabda7e8d303a4f04712dac0cf4e59ff9c384016a6b356783370567c6857c81f0df294331f889198bbf115a00f3df7378758 +DIST netdata-1.47.2.tar.gz 51049731 BLAKE2B 45207328aba56a3e03f52ce17a8a3bf40ead5937e5965782fc0a3f457c36f0ae7cb35ada8ec9ca77e2090c28e724a3b6590c15dd4aba0d56a418c7f3008317cc SHA512 722686f3b3701dea739294ea4ae4039ad207bfcf8af2f583a8e5801853705567e79f9356a90dad5be82c5cfff04df2bfc9ebe3390d5d77838b0345ecb3da70c3 EBUILD netdata-1.45.4.ebuild 4335 BLAKE2B af56d57f7c289c67b44cc7ba47349e1c2d62cd1c8288b259f80d9325ac4c68b9f096f93f4c854fb3dc70b889361d07ec55ab90d7b35e7d74cf44e96b7da7a41b SHA512 001e9411d8fded3b47f7ef3e3904b5c78433a5cb894bd90c7723d541c889d8b6a13734322f19b97b184c3510d40db5bb2848344565780e9840f8e3e411d0b0d8 EBUILD netdata-1.46.1.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 EBUILD netdata-1.46.2.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 EBUILD netdata-1.47.0.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 EBUILD netdata-1.47.1.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 +EBUILD netdata-1.47.2.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 EBUILD netdata-9999.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 MISC metadata.xml 1357 BLAKE2B d7b8f45aaa7dc92cc61e5452f883069997f571d6461572430786f85783d3ed42a23f079818da95495eb3a613eb7107ab3509eddda317f728a0a21e5f8dad98a9 SHA512 ee5f106689c754cb4dc679eba1a00d69c0df858146b168f5a02faac794a8b21cfcadee316e9fbfa26433ed16eb3c56ddb8cdc70d950882be1aada7433795d2d0 diff --git a/net-analyzer/netdata/netdata-1.47.2.ebuild b/net-analyzer/netdata/netdata-1.47.2.ebuild new file mode 100644 index 000000000000..2f9af0d43617 --- /dev/null +++ b/net-analyzer/netdata/netdata-1.47.2.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python{3_9,3_10,3_11,3_12} ) + +inherit cmake fcaps linux-info optfeature python-single-r1 systemd + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/netdata/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-v${PV}" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Linux real time system monitoring, done right!" +HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" + +LICENSE="GPL-3+ MIT BSD" +SLOT="0" +IUSE="aclk bpf cloud cups +dbengine ipmi mongodb mysql nfacct nodejs postgres prometheus +python systemd tor xen" +REQUIRED_USE=" + mysql? ( python ) + python? ( ${PYTHON_REQUIRED_USE} ) + tor? ( python )" + +# most unconditional dependencies are for plugins.d/charts.d.plugin: +RDEPEND=" + acct-group/netdata + acct-user/netdata + app-misc/jq + >=app-shells/bash-4:0 + || ( + net-analyzer/openbsd-netcat + net-analyzer/netcat + ) + net-libs/libwebsockets + net-misc/curl + net-misc/wget + sys-apps/util-linux + app-alternatives/awk + sys-libs/libcap + cups? ( net-print/cups ) + app-arch/lz4:= + app-arch/zstd:= + app-arch/brotli:= + dbengine? ( + dev-libs/judy + dev-libs/openssl:= + ) + dev-libs/libpcre2:= + dev-libs/libuv:= + dev-libs/libyaml + dev-libs/protobuf:= + bpf? ( virtual/libelf:= ) + sys-libs/zlib + ipmi? ( sys-libs/freeipmi ) + dev-libs/json-c:= + mongodb? ( dev-libs/mongo-c-driver ) + nfacct? ( + net-firewall/nfacct + net-libs/libmnl:= + ) + nodejs? ( net-libs/nodejs ) + prometheus? ( + app-arch/snappy:= + dev-libs/protobuf:= + ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') + mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') ) + postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') ) + tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') ) + ) + xen? ( + app-emulation/xen-tools + dev-libs/yajl + ) + systemd? ( sys-apps/systemd )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +FILECAPS=( + 'cap_dac_read_search,cap_sys_ptrace+ep' + 'usr/libexec/netdata/plugins.d/apps.plugin' + 'usr/libexec/netdata/plugins.d/debugfs.plugin' +) + +pkg_setup() { + use python && python-single-r1_pkg_setup + linux-info_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE + -DCMAKE_INSTALL_PREFIX=/ + -DENABLE_ACLK=$(usex aclk) + -DENABLE_CLOUD=$(usex cloud) + -DENABLE_DBENGINE=$(usex dbengine) + -DENABLE_PLUGIN_CUPS=$(usex cups) + -DENABLE_PLUGIN_NFACCT=$(usex nfacct) + -DENABLE_PLUGIN_FREEIPMI=$(usex ipmi) + -DENABLE_EXPORTER_MONGODB=$(usex mongodb) + -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=$(usex prometheus) + -DENABLE_PLUGIN_XENSTAT=$(usex xen) + -DENABLE_PLUGIN_EBPF=$(usex bpf) + -DENABLE_PLUGIN_GO=FALSE + -DENABLE_PLUGIN_SYSTEMD_JOURNAL=$(usex systemd) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + rm -rf "${D}/var/cache" || die + rm -rf "${D}/var/run" || die + + keepdir /var/log/netdata + fowners -Rc netdata:netdata /var/log/netdata + keepdir /var/lib/netdata + keepdir /var/lib/netdata/registry + keepdir /var/lib/netdata/cloud.d + fowners -Rc netdata:netdata /var/lib/netdata + + newinitd "${D}/usr/lib/netdata/system/openrc/init.d/netdata" "${PN}" + newconfd "${D}/usr/lib/netdata/system/openrc/conf.d/netdata" "${PN}" + systemd_newunit "${D}/usr/lib/netdata/system/systemd/netdata.service.v235" netdata.service + systemd_dounit "${D}/usr/lib/netdata/system/systemd/netdata-updater.service" + systemd_dounit "${D}/usr/lib/netdata/system/systemd/netdata-updater.timer" + insinto /etc/netdata + doins system/netdata.conf +} + +pkg_postinst() { + fcaps_pkg_postinst + + if use nfacct ; then + fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin' + fi + + if use xen ; then + fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' + fi + + if use ipmi ; then + fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin' + fi + + optfeature "go.d external plugin" net-analyzer/netdata-go-plugin +} diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest index bf8ab431235a..e28c9132f3fd 100644 --- a/net-analyzer/wireshark/Manifest +++ b/net-analyzer/wireshark/Manifest @@ -16,6 +16,6 @@ EBUILD wireshark-4.0.11.ebuild 8623 BLAKE2B 992148191f9860f4be07e97e3aec3523020d EBUILD wireshark-4.0.15.ebuild 8623 BLAKE2B 992148191f9860f4be07e97e3aec3523020d0e3173bf3beb1a4c838b7f769d6492e36e5ec7f8cf92ff67f67549f09143a1e8444381b8ba08caab5478fdccb961 SHA512 0e28fadec59141c2a9eab0a8715890fc3d7ff33a260978748d0c25c12e4af4068434f4fafb1c56391b9cc0e8e855f6391bdd1ffac8456b9f36186191169edc5c EBUILD wireshark-4.2.4-r1.ebuild 8904 BLAKE2B 3d9d741806defe5c9d87d6ecf240632cb4a18561aaa9c5c59672ce351c04d8d601e26694e2bd25a82a19a110099bcc982286dad2f0c2b0ba2f829b44ccb69079 SHA512 6b22e258580abc67c34da5ab9b8430cbd9533c5c026bbf46ffbe61966f218dba7e6797769ae43800400664ca3ced3606c976ea60cb0f8a8a8e6beeadc129cb27 EBUILD wireshark-4.2.5.ebuild 8833 BLAKE2B 129f9c0384dfce149b9cd6312fe68d5627730a84291d6c66caef8cb85d71fbf4d6eea47b580334800cd0545d75c908e0a387d50cdba397908387a2555895699c SHA512 a1cf1743ce049a7a1362d766d60da2bfb24c3cd1cda7787aba4df1e9a77b69497259570a6ec81963bc75c3a8312790d9afe6a72b861c0d24a95131a5704fa352 -EBUILD wireshark-4.2.6.ebuild 8809 BLAKE2B 2886c56a0e02fb7a5377874baa0ac04fbbd51404d60850359425d6f8715091f9f1110de1c8f54ebbb56fd2c512ef7ab9d2d517d31e19c4a0d5b86a360c49e144 SHA512 b29587a4ba02fb6f422da0d13660e0525e5c83205e4d8aac8226f8f3f5131b39b36c1f3373ef137bf8c6f6f357cc6948f3806a86db8b3b7219f6f65bdecf7b1d -EBUILD wireshark-9999.ebuild 8806 BLAKE2B 623a84cd7243a7231117f01c46b4f54b58e93bbb46e54add78a33d044fbc52ab2b655ff3dc69068afd6d9c45f0be5dacc2245069a5bbf1c5e095ee8de41407cf SHA512 51081961ba61b5658f57599134f13ff540e25a0b2919f44eba170c7efcdb15d8d05d72a679cd7b2107c8fccdb0e72862303a0bf321e2ff305d980fbebe07dfab +EBUILD wireshark-4.2.6.ebuild 8816 BLAKE2B 0a0a1150be1ce3d3cfa05a7f92992d531bace95ed950cf278257d30da2974a5f77491bf0b65d996a7fe93b4db208a02d6fcb72dd63635abb8ecff92eff96f718 SHA512 29e2fc674d8964eb23878634199b1865277a4823cdced6552814e6c82eba12838d460fd4b49b4da68a902d6db277575106407b072ac4cc3c518cdcf46b28352c +EBUILD wireshark-9999.ebuild 8813 BLAKE2B 0475fbfc384e18d3621ff9317ed71c7504e8d90a7378552b6c88e999c8835a7cb86aa0511bd66e95bda3c7e260c59766a57eac88a690a4ca545989dd0b135925 SHA512 8dd3122d0e77f4ad4ac17fa692c4b3f765c612244b62c393001fd5cc0d3f9ac13e42dac0c05ba45f25858088c9bbb717b74ee8c17b728d57599e9a4a41ccbf4a MISC metadata.xml 5352 BLAKE2B 319ae9385ccf49cf52abdc3bb2292a6181f8bad974eecb1863b69dc248e8e1b17d95de5c7267e4e70ee28809bffc82a13f06de3e7d15541d32e2e2ab7ada638f SHA512 15580364ef3f86e9d4020c8b7e2e765a2be97742dc398d11697b87e15085e1a95e951d0200eea71484fb8d124d54b86da8542921c0b8f29d064a26681192d919 diff --git a/net-analyzer/wireshark/wireshark-4.2.6.ebuild b/net-analyzer/wireshark/wireshark-4.2.6.ebuild index 0f528cbd4200..730ad10f3762 100644 --- a/net-analyzer/wireshark/wireshark-4.2.6.ebuild +++ b/net-analyzer/wireshark/wireshark-4.2.6.ebuild @@ -24,7 +24,7 @@ else S="${WORKDIR}/${P/_/}" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="amd64 arm arm64 ~hppa ~ppc64 ~riscv x86" + KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc64 ~riscv x86" fi fi diff --git a/net-analyzer/wireshark/wireshark-9999.ebuild b/net-analyzer/wireshark/wireshark-9999.ebuild index 449b0acf4a56..1a49b2ff63b7 100644 --- a/net-analyzer/wireshark/wireshark-9999.ebuild +++ b/net-analyzer/wireshark/wireshark-9999.ebuild @@ -24,7 +24,7 @@ else S="${WORKDIR}/${P/_/}" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~x86" fi fi diff --git a/net-analyzer/yersinia/Manifest b/net-analyzer/yersinia/Manifest index 51e678b60fe6..36c7ae4ab82b 100644 --- a/net-analyzer/yersinia/Manifest +++ b/net-analyzer/yersinia/Manifest @@ -1,7 +1,5 @@ AUX yersinia-0.7.1-no-ncurses.patch 330 BLAKE2B 86c2cb84542012c6424fdcae398e07769647bcdda300d6efdbb263451c8765e23cd272f76e4e0e84751272df3de46a77b32fd2321a0ab3bc70cc8199b457adf6 SHA512 c0a0ef6456727eaa0ae9ea50667e04a72afb01c5b75d13965836657e4d1946df550840afd091ec58e8875b1a551df5966feb98b655183cec6dadaf4f5de23e4f -AUX yersinia-0.7.3-tinfo.patch 563 BLAKE2B 6203584c6ff7b8e5438f57ad74b5b1ee7ee61d08b2bee21234fd4cfbb6aa37b9b1cb69b4a7af11e57434b215e346f6384a195ffdd47b9504fe6eb93b3d2109e9 SHA512 9a53505e050a9658f49809ad989d534e542fb0cf21ae70a9271b536a9a478a4306e49c9b0493ab522d5ffb82849eed043b212e399505c916792372a64d96c319 -AUX yersinia-0.8.2-configure-clang16-deux.patch 1385 BLAKE2B 95f406b11d9b662a79df56118604bca3935a88f99348875f86dbd4126f96d2bc3876cfc39a56e7c41928214cff1a2cec74ae5c1f43680de0651d0963c8359c60 SHA512 717ff843b3b9daa689e4c08edb3d0bd92808653782cc465b851fdc5d891c2b626e6cb63738ee0aa85244dde544f1b7a0fbd26bf57517c5c33c62068bc32a3b98 -AUX yersinia-0.8.2-configure-clang16.patch 1705 BLAKE2B b9cf0fc0181f85894331b2f020fc962b644ace2bc2c8590ebb1ef597999c126dcb7c6537241ade7c3984200dd2e03abf84ef87854ade1fe6c2b28c2510f1bb48 SHA512 93c6698591648cdc332d73148e512818777dc34edb6892df51f123dbe191be5287c8a7a3b3fdb15bea9dad28e35b5b18adf96d38572d297961bfaae03ffc4c27 -DIST yersinia-0.8.2.tar.gz 387889 BLAKE2B 67fe92b9cd1253874c61fa38c8e89e023f7d0ec3b83fe3001b5bc203d4033e36cb94b453ed56426b34d942036a143bd135f247466425337478f292797a433652 SHA512 2c7c89f19b6791150c472a6066b6ffaf9ac5b3d1a3d2e6a27f91293bba9a0f72d147266731e5e2670e4bf7e67ccf04b6e353071ca42d3d281b25126c9bfcb1dd -EBUILD yersinia-0.8.2-r2.ebuild 1188 BLAKE2B 7c615e24f538ccf2bdf7e8d7e07d62600a7c4f588bec17a060d07b3033ace3489c88f6873b576bad4026557f989d7a191a4b6094c11e426ea0311120486e0caf SHA512 c739777ae2945244409189b05ea96ac767fa24419e1e831cbf976dde5fb61bb550bb9b5822ad2ea9e00da7f860008b099b873c1ce38d5f03a38efaba3106449e +AUX yersinia-0.7.3-tinfo.patch 563 BLAKE2B ef2b554f82037dde165373fd6db71503ee124062cef4689062e7e1799f5ae26afd5758468f3c860690046aa4cb6e12dafd7ed3189a765a52565b5530a322d11a SHA512 a0edb5a47281bc66f0296914597fc4a9901f0e50640b43b6b31a30ddc4b6a5202220207039c3936f32769161f2c61d78afc5a3d7725d04ea41afd301312efa24 +DIST yersinia-0.8.2_p20221119.tar.gz 268158 BLAKE2B 2598d6809c7830c7824c9141ef58a617a8d472c0d7b3591b81e6209cecb915649a82d780108c45c488619775effca266eca4a9a0e60d1174211a5af05a05997d SHA512 e54025d782374d836148a813c0a8eb8d822c82f87d6e92c10b254831b95eef073d36ddb1ef94a7e7db2cd962fd52589d41fc6d21ca63422ca57c5ada2045de72 +EBUILD yersinia-0.8.2_p20221119.ebuild 1272 BLAKE2B 3dcd21654d92e86eb38abdda0c85ae6bfbbb4134072305573e921628299ce68998a29b4332e21beef975bdada3246dcdee507729a2860e4b1f8784716a48963e SHA512 651d58ae67f38209e0ffc9339797ef4f5f977688085e7d802ee6a88025a63de14daadc711a3a18722027282382657cd7f34acc7eac6375242763eee1583abb48 MISC metadata.xml 602 BLAKE2B 17ecc301b7c25dfbe55ca622e293154a6802050de8ea0674697f36418af73c37258e76d191449686d0475368ec3532e66102e85d93ba7c0fb7eb77280ace59a7 SHA512 9fcebd2cd58ae500fc4211de33a31b01a4cfaf67555b6ae1c5b6aa64ba68c53cfe22bc5b93f603919b1cd0653b1885b62cddca15dd6c6597dbea9f363da043fa diff --git a/net-analyzer/yersinia/files/yersinia-0.7.3-tinfo.patch b/net-analyzer/yersinia/files/yersinia-0.7.3-tinfo.patch index 8a58d01d33c6..b5bf566c107d 100644 --- a/net-analyzer/yersinia/files/yersinia-0.7.3-tinfo.patch +++ b/net-analyzer/yersinia/files/yersinia-0.7.3-tinfo.patch @@ -1,5 +1,5 @@ ---- a/configure.in -+++ b/configure.in +--- a/configure.ac ++++ b/configure.ac @@ -467,6 +467,7 @@ AC_DEFINE(HAVE_REMOTE_ADMIN) fi diff --git a/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch b/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch deleted file mode 100644 index 427be023a021..000000000000 --- a/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch +++ /dev/null @@ -1,38 +0,0 @@ -https://github.com/tomac/yersinia/commit/867b309eced9e02b63412855440cd4f5f7727431 - -From 5db403f8aa4101589f33246eaa23b5f31228fc3b Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sat, 19 Nov 2022 18:43:26 +0000 -Subject: [PATCH] configure: fix -Wimplicit-function-declaration, - -Wimplicit-int - -Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by default. Unfortunately, -this can lead to misconfiguration or miscompilation of software as configure -tests may then return the wrong result. - -For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://wiki.gentoo.org/wiki/Modern_C_porting -[3] hosted at lists.linux.dev. - -Followup to 6414681ae99d6a0f460f827648f114aa3cb2e419. - -Signed-off-by: Sam James <sam@gentoo.org> ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -79,8 +79,10 @@ AC_DEFUN([AC_LBL_UNALIGNED_ACCESS], - # include <sys/types.h> - # include <sys/wait.h> - # include <stdio.h> -+# include <stdlib.h> -+# include <unistd.h> - unsigned char a[[5]] = { 1, 2, 3, 4, 5 }; -- main() { -+ int main(void) { - unsigned int i; - pid_t pid; - int status; - diff --git a/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16.patch b/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16.patch deleted file mode 100644 index f2366c02dfb4..000000000000 --- a/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16.patch +++ /dev/null @@ -1,53 +0,0 @@ -https://github.com/tomac/yersinia/pull/76 - -From ec9d31932fca39e3160b0d0bfd0383db82ff5bcf Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Wed, 16 Nov 2022 23:10:45 +0000 -Subject: [PATCH] configure: fix -Wimplicit-function-declaration, - -Wstrict-prototypes - -Clang 16 makes -Wimplicit-function-declaration an error by default. Unfortunately, -this can lead to misconfiguration or miscompilation of software as configure -tests may then return the wrong result. - -For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://wiki.gentoo.org/wiki/Modern_C_porting -[3] hosted at lists.linux.dev. - -Signed-off-by: Sam James <sam@gentoo.org> ---- a/configure.in -+++ b/configure.in -@@ -233,12 +233,13 @@ dnl fi - - AC_MSG_CHECKING(if libnet is at least version 1.1.2) - AC_TRY_RUN([ --#include<stdio.h> --#include<libnet.h> -+#include <stdlib.h> -+#include <stdio.h> -+#include <libnet.h> - #define HOPE_MAJOR 1 - #define HOPE_MEDIUM 1 - #define HOPE_MINOR 2 --int main() -+int main(void) - { - unsigned int major,medium,minor,current, desired; - desired = HOPE_MAJOR*10000 + HOPE_MEDIUM*100 + HOPE_MINOR; -@@ -419,9 +420,9 @@ AC_CHECK_FUNCS(strerror_r, have_strerror_r=yes,have_strerror_r=no) - if test $have_strerror_r = yes; then - AC_MSG_CHECKING(if strerror_r is on glibc version >= 2.0) - AC_TRY_RUN([ --#include <stdio.h> -+#include <stdlib.h> - #include <features.h> --int main() -+int main(void) - { - #if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 - exit(0); - diff --git a/net-analyzer/yersinia/yersinia-0.8.2-r2.ebuild b/net-analyzer/yersinia/yersinia-0.8.2_p20221119.ebuild index be2de6bbc614..3e07f8adbe01 100644 --- a/net-analyzer/yersinia/yersinia-0.8.2-r2.ebuild +++ b/net-analyzer/yersinia/yersinia-0.8.2_p20221119.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,10 @@ inherit autotools flag-o-matic DESCRIPTION="A framework for layer 2 attacks" HOMEPAGE="http://www.yersinia.net/" -SRC_URI="https://github.com/tomac/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +#SRC_URI="https://github.com/tomac/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +COMMIT="867b309eced9e02b63412855440cd4f5f7727431" +SRC_URI="https://github.com/tomac/yersinia/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="GPL-2" SLOT="0" @@ -15,13 +18,14 @@ KEYWORDS="amd64 x86" IUSE="gtk ncurses" RDEPEND=" - >=net-libs/libnet-1.1.2 + >=net-libs/libnet-1.1.2:1.1 >=net-libs/libpcap-0.9.4 ncurses? ( >=sys-libs/ncurses-5.5:= ) gtk? ( dev-libs/glib:2 - x11-libs/gdk-pixbuf - =x11-libs/gtk+-2* + x11-libs/gdk-pixbuf:2 + =x11-libs/gtk+-2*:2 + x11-libs/pango ) " DEPEND="${RDEPEND}" @@ -32,8 +36,6 @@ DOCS=( AUTHORS ChangeLog FAQ README THANKS TODO ) PATCHES=( "${FILESDIR}"/${PN}-0.7.1-no-ncurses.patch "${FILESDIR}"/${PN}-0.7.3-tinfo.patch - "${FILESDIR}"/${PN}-0.8.2-configure-clang16.patch - "${FILESDIR}"/${PN}-0.8.2-configure-clang16-deux.patch ) src_prepare() { |