summaryrefslogtreecommitdiff
path: root/net-analyzer
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/2ping/2ping-4.5.1-r1.ebuild (renamed from net-analyzer/2ping/2ping-4.5.1.ebuild)15
-rw-r--r--net-analyzer/2ping/Manifest2
-rw-r--r--net-analyzer/Manifest.gzbin43408 -> 43402 bytes
-rw-r--r--net-analyzer/pypacker/Manifest2
-rw-r--r--net-analyzer/pypacker/pypacker-5.2.ebuild30
5 files changed, 44 insertions, 5 deletions
diff --git a/net-analyzer/2ping/2ping-4.5.1.ebuild b/net-analyzer/2ping/2ping-4.5.1-r1.ebuild
index 0e3433304a98..e26ab3b49f42 100644
--- a/net-analyzer/2ping/2ping-4.5.1.ebuild
+++ b/net-analyzer/2ping/2ping-4.5.1-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit distutils-r1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit bash-completion-r1 distutils-r1
DESCRIPTION="A bi-directional ping utility"
HOMEPAGE="https://www.finnie.org/software/2ping/"
@@ -16,10 +16,17 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~riscv ~x86"
IUSE="server"
+distutils_enable_tests pytest
+
src_install() {
distutils-r1_src_install
+
doman doc/2ping.1
dodoc doc/{2ping-protocol-examples.py,2ping-protocol.md}
+
+ newbashcomp 2ping.bash_completion 2ping
+ dosym 2ping $(get_bashcompdir)/2ping6
+
use server && {
doinitd "${FILESDIR}"/2pingd
newconfd "${FILESDIR}"/2pingd.conf 2pingd
diff --git a/net-analyzer/2ping/Manifest b/net-analyzer/2ping/Manifest
index 610b66af0def..57aa921e0a50 100644
--- a/net-analyzer/2ping/Manifest
+++ b/net-analyzer/2ping/Manifest
@@ -1,5 +1,5 @@
AUX 2pingd 692 BLAKE2B f393bc602a4e39f77970946926bae178f9181476f7331b9a91f1dddc689ba360d8479b28e9a0b16d25864954664e6b0915149077620aa9d0fec00a85ef68b257 SHA512 7d898b96e6888233b7628af7a9a0641a4ce2f6ebe38192b88bb7f479d99067f6d34843f1b43746eed03b7512782496534e35240abf8b866a4e8f00ee9421deb1
AUX 2pingd.conf 57 BLAKE2B 79c2a05661e342d5a5c3903071d42864d3185d6f387a6b73f129a70cadfadf081f43d9bdfea22281170b0ad27ec17f9b3612cf40b570390f44f845d7ca4555d0 SHA512 c8c666116e841b86a1f17a891453e6ea25976ad485b8299062971b45395420dd46ecc9ac36cb1de5000207372f8586850f62c6178ece5f70732bf17ae9ab4af9
DIST 2ping-4.5.1.tar.gz 77053 BLAKE2B e1255264dde4e0deb2d064e0acbaf96270e64a057334a0c0eea4e413e472cd52ffdf2181718dca4309eb8843791ef2bef866b7cf5642f9ff41e9916c3d7180e0 SHA512 13ab8c34d6b4e8d53bc0f1c33afa1c71bf61313d29350d2211a44557b244062cb090cf5d66cc6eed58f9f4c41a667bb24a8c1155243864e8343c741770b60cd6
-EBUILD 2ping-4.5.1.ebuild 637 BLAKE2B c0d0c63efbf94f623c0030d5b0c5d7d8ef3ba6f95f261c86a284bbdf830eedaf23f3c1720430349d0198cda07bde77c05f65a55b788184193350fa043515f40e SHA512 d9957dc14650e6f5896eede6f9c8c90dafe1356f9fc644c4d912801d1b20cd5b810a07be6a46f15107789f2d24a3ff23e30e5df4a88e9082cd2947746e8b4edf
+EBUILD 2ping-4.5.1-r1.ebuild 799 BLAKE2B 0eb8020ec1adf1c0ba55e61bfe32c05e686264c6e67c6961f46df9752baf20a430e3d094eae9fcd3d39a548e5999a39940b481183c31c8c81787a808a2080c27 SHA512 058812f1f5b41277a819a41e69175c880bea13aca22ce21e65b68664d1086a282c2d38097d5e96219730c1fb8ac83f105e9b04191fa45eb0d68cc6d8593d7e63
MISC metadata.xml 347 BLAKE2B 40f37c70a9ffa3621005d0218294e5b3fbf375d09a39678a46915477f39ba4d1db5b1716eed9a456cb64ce5bc89650c418a43f9586fb70d7a80041455e2898f7 SHA512 c7cdbb41b1648208ef549ad2667488970f6be667747181357e787bc7d264803a3faaaeb1e8f72a242e17539191b7d71caf489aba9d07a1824d028623bf30e091
diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz
index cc365d7c22f5..4f9d71abb7ca 100644
--- a/net-analyzer/Manifest.gz
+++ b/net-analyzer/Manifest.gz
Binary files differ
diff --git a/net-analyzer/pypacker/Manifest b/net-analyzer/pypacker/Manifest
index b2d9fb524b34..3144e18fd896 100644
--- a/net-analyzer/pypacker/Manifest
+++ b/net-analyzer/pypacker/Manifest
@@ -1,3 +1,5 @@
DIST pypacker-5.1.tar.gz 623638 BLAKE2B 329e8ec2af336118a4ff8d200ced2e356a10dae5217582fb69b77be336e830d3c2356165ea42be6224ef8fd2291637b23fde35733652969affae1f81eb2411dc SHA512 427d2afc45735e920867098c77be8256e28840031a7a01dfae5c9817ff78d2ddb699bf94721eda3b1f4b568bb70bd3bd25ccb8cb77076b84e2aa71898ba0bf57
+DIST pypacker-v5.2.tar.bz2 544026 BLAKE2B 3401b47a496e8c76d2b925e63c43838d2a05af01655a3e470ddfd0c2c57ab6b37ba1b9acd49386232b5c0fb4bc8d061f8992eac07f5729306502fa76413c51f5 SHA512 3ccb82ff2a352553819991c0e24fb6da8a26091f5cdced3d3358192ecf6598153fb3b36d48b1f51cdc1dd7f54e136c073e8e5a2f3fb050af24f83c77e1bda3b4
EBUILD pypacker-5.1.ebuild 704 BLAKE2B f5761a10f60bfe9f7ffc32ccf91ff313fc8165adbe48410f87db50d59fd802095b11c869345ca570632e66a0b278489f8f068d93472e1cd842d121fddd4ce27f SHA512 f9e0114f1392e628d6dbd56144565fb5c337853c9aa94bb8305274806f61820f1bc687f47c9ce753c49964d9fdc434280dbd72675dc6f1782f419bb2b40fe81c
+EBUILD pypacker-5.2.ebuild 705 BLAKE2B 3d927a0a40949801612cf8bae21e23172be581fa13e432f98e5725bb786331c2ea4403c5bb3ea71bc2951543759979803002c27a46807373f94fdef77824b55f SHA512 808e9a63967b166e3a5bec2edd8e16237ac4309efbfbbb35e6f63295a80aec764a738b8fba44b166c8e9ccd47bbb3bb352364254c61eff57a5125bdc6963fbd3
MISC metadata.xml 472 BLAKE2B 1c41ed1bc52f86d76dfc1496a381cb78288f817fce1e5cc2d4e6d89f9833b4940ec21bf9ccdbe94006efd23257e412a63de8ab311d6f07e9064e175fd64c7b75 SHA512 ed9530f6ffe8cbee6687b8be7b4f08e8ed9ba9547e285af0106ef830d8f1402f721242614e10a615799650d01ddad0ce50663a166a88f751127a2df7837f07df
diff --git a/net-analyzer/pypacker/pypacker-5.2.ebuild b/net-analyzer/pypacker/pypacker-5.2.ebuild
new file mode 100644
index 000000000000..3de0dad76a97
--- /dev/null
+++ b/net-analyzer/pypacker/pypacker-5.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Fast and simple packet creation and parsing library for Python"
+HOMEPAGE="https://gitlab.com/mike01/pypacker"
+SRC_URI="https://gitlab.com/mike01/pypacker/-/archive/v${PV}/pypacker-v${PV}.tar.bz2"
+S="${WORKDIR}"/${PN}-v${PV}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DOCS=( AUTHORS CHANGES HACKING README.md )
+
+python_test() {
+ "${EPYTHON}" tests/test_pypacker.py || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ use examples && dodoc -r examples
+}