summaryrefslogtreecommitdiff
path: root/net-analyzer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-25 06:49:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-25 06:49:35 +0000
commit0b82ae29b3034efe3e7b7f533dbcb76168544c5e (patch)
treeea954d341afdcf53b3b79c78c9a54ff2c9693096 /net-analyzer
parentb0b85e141f6a9a74d9d6bdce989a626ff5e92523 (diff)
gentoo auto-resync : 25:03:2023 - 06:49:35
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/Manifest.gzbin43393 -> 43393 bytes
-rw-r--r--net-analyzer/ettercap/Manifest5
-rw-r--r--net-analyzer/ettercap/ettercap-0.8.3.1-r1.ebuild (renamed from net-analyzer/ettercap/ettercap-0.8.3.1.ebuild)40
-rw-r--r--net-analyzer/ettercap/ettercap-9999.ebuild40
-rw-r--r--net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch32
-rw-r--r--net-analyzer/testssl/Manifest4
-rw-r--r--net-analyzer/testssl/testssl-3.0.7.ebuild74
-rw-r--r--net-analyzer/testssl/testssl-3.0.8.ebuild4
8 files changed, 88 insertions, 111 deletions
diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz
index 3f21074dbd35..b353f14ca8a1 100644
--- a/net-analyzer/Manifest.gz
+++ b/net-analyzer/Manifest.gz
Binary files differ
diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest
index 8197e7ed278f..1e9630a7af40 100644
--- a/net-analyzer/ettercap/Manifest
+++ b/net-analyzer/ettercap/Manifest
@@ -1,4 +1,5 @@
+AUX ettercap-0.8.3.1-curl-8.patch 1110 BLAKE2B 7a70191da6b2376826f739d52445c35789af07f2cfddc24197cbeb637808f6e461694a34dff6faaf6971ce11d717fe2c18a8ff0291832ec27eb6479591f9e206 SHA512 cdb2ab8d8078c1b8c3305dd00345d295e2cf4b0127c8be471b326ed6375324d9c227f2d3cffd1ac6583e23385fd5fdb34dfc54f11b0952d2e8b1864455da95d3
DIST ettercap-0.8.3.1.tar.gz 6678653 BLAKE2B 2680b97454626a6f1af3b21f689ba8eed7a023c3ef5cd84d5b2b5859382f398b3a6fc622270ca41941a8a18a7bdd260af64165344a33b2e195c86ee61567f2eb SHA512 9bd71dcc1730293ee83934aca3587dfde662cb3890c12fafa557b6359f12226e5cb6f59a0db1aa11245a132b275e355e3bcc8952db921171d27b792827f148b5
-EBUILD ettercap-0.8.3.1.ebuild 1752 BLAKE2B db8517db29e514e61f1b4954aabffa258630ff32228a7e9c1e4db90bc5b4097f429f7de9221b6aed6c9295ca1d3452133c3033f17de32c63b8dbf61a69834f35 SHA512 c10308ccb289c568b2be8ef8da5a749fe3239ba0c3124f3d6483543057fd927d26d2047b6ca589b4e611441a139ec882468e51b59d2bbd745f4bb85fecfd796e
-EBUILD ettercap-9999.ebuild 1758 BLAKE2B 5c9e4e90fee581d98de3b96257235a12efbda2fd735bfbfda0ff167ba68654ff99afa8d5def89477d32e432a30d0fa43db4330d16b4ccbe48cbd24b8eb84cb2f SHA512 4dbc8e7abf5cf1ada321fde8b9d3212eeb37d4b71407584085605a1e215d082a6e37d1cfa48781ce97c72875fe714bd6119c40d9845a3f0c2d8796b85706a903
+EBUILD ettercap-0.8.3.1-r1.ebuild 1803 BLAKE2B 2105e84c2303b3898c02d494d941bb6e69ff8a4470861b55466bf94bf97097bc04c09cadd019ca218d0f83a7fd6e94b2b1cd2302a63a5f70fd3cd845b9ce7399 SHA512 6b0f116c7ad59f2122cb334ddbff0c16e2c68bd8c8d8f8147ed5ff74acd477a8ac198936789f6f7c6490de5c436018baf5f5bc9ef880a2a64977a0f9cbcf6dc5
+EBUILD ettercap-9999.ebuild 1758 BLAKE2B 1a898da9d037258473e19e9651a8e10630aaef9ec7d2791c9e76c746bd9503096771b293cf21411e3e042798e3dff667a435a64f187823f17125057dfaec8e97 SHA512 bc377934943fa5c4f6a872d82d113a736099a2e8ca0f03c948edfa33a0dd9506acb20b9e6d664a6a3f7b0a297315816b20ae9915e3bf92357c6eddcc2d4eeb75
MISC metadata.xml 658 BLAKE2B b4696f4a0f2f3fb86352067988aa4cdf1860363bce7d1dfb7b625bb18157d8985a2a7873f3730acf092b46b94ec7804df11de5e736ef763841fa1a6238859986 SHA512 f9935abb68e3d85eaf393cad919b867ebfca66f8f9d3dc5a570c691c18ce7324dc6bd4e670345b1668b6593d90b99d6d47874ed08512e0ab882160fe0ea6cd24
diff --git a/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild b/net-analyzer/ettercap/ettercap-0.8.3.1-r1.ebuild
index 9cda1724861c..5e686a896922 100644
--- a/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild
+++ b/net-analyzer/ettercap/ettercap-0.8.3.1-r1.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake
-DESCRIPTION="A suite for man in the middle attacks"
+DESCRIPTION="Suite for man in the middle attacks"
HOMEPAGE="https://github.com/Ettercap/ettercap"
LICENSE="GPL-2+"
SLOT="0"
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Ettercap/${PN}.git"
else
@@ -22,9 +22,10 @@ fi
IUSE="doc geoip gtk ipv6 ncurses +plugins test"
RESTRICT="!test? ( test )"
-RDEPEND="dev-libs/libbsd
+RDEPEND="
+ dev-libs/libbsd
dev-libs/libpcre
- dev-libs/openssl:0=
+ dev-libs/openssl:=
net-libs/libnet:1.1
>=net-libs/libpcap-0.8.1
sys-libs/zlib
@@ -39,13 +40,23 @@ RDEPEND="dev-libs/libbsd
>=x11-libs/pango-1.2.3
)
ncurses? ( >=sys-libs/ncurses-5.3:= )
- plugins? ( >=net-misc/curl-7.26.0 )"
-DEPEND="${RDEPEND}
- doc? ( app-text/ghostscript-gpl
- sys-apps/groff )
- test? ( dev-libs/check )
+ plugins? ( >=net-misc/curl-7.26.0 )
+"
+DEPEND="
+ app-alternatives/yacc
sys-devel/flex
- app-alternatives/yacc"
+"
+BDEPEND="
+ doc? (
+ app-text/ghostscript-gpl
+ sys-apps/groff
+ )
+ test? ( dev-libs/check )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-curl-8.patch
+)
src_prepare() {
sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die
@@ -66,8 +77,9 @@ src_configure() {
-DINSTALL_SYSCONFDIR="${EPREFIX}"/etc
)
+ # right now we only support gtk2, but ettercap also supports gtk3
+ # do we care? do we want to support both?
! use gtk && mycmakeargs+=(-DINSTALL_DESKTOP=OFF)
- #right now we only support gtk2, but ettercap also supports gtk3
- #do we care? do we want to support both?
+
cmake_src_configure
}
diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild b/net-analyzer/ettercap/ettercap-9999.ebuild
index b050ccc4f5d7..6514ab4a71fc 100644
--- a/net-analyzer/ettercap/ettercap-9999.ebuild
+++ b/net-analyzer/ettercap/ettercap-9999.ebuild
@@ -1,30 +1,31 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake
-DESCRIPTION="A suite for man in the middle attacks"
+DESCRIPTION="Suite for man in the middle attacks"
HOMEPAGE="https://github.com/Ettercap/ettercap"
LICENSE="GPL-2+"
SLOT="0"
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Ettercap/${PN}.git"
else
SRC_URI="https://github.com/Ettercap/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86"
fi
IUSE="doc geoip gtk ipv6 ncurses +plugins test"
RESTRICT="!test? ( test )"
-RDEPEND="dev-libs/libbsd
- dev-libs/libpcre
- dev-libs/openssl:0=
+RDEPEND="
+ dev-libs/libbsd
+ dev-libs/libpcre2
+ dev-libs/openssl:=
net-libs/libnet:1.1
>=net-libs/libpcap-0.8.1
sys-libs/zlib
@@ -39,13 +40,19 @@ RDEPEND="dev-libs/libbsd
>=x11-libs/pango-1.2.3
)
ncurses? ( >=sys-libs/ncurses-5.3:= )
- plugins? ( >=net-misc/curl-7.26.0 )"
-DEPEND="${RDEPEND}
- doc? ( app-text/ghostscript-gpl
- sys-apps/groff )
- test? ( dev-libs/check )
+ plugins? ( >=net-misc/curl-7.26.0 )
+"
+DEPEND="
+ app-alternatives/yacc
sys-devel/flex
- app-alternatives/yacc"
+"
+BDEPEND="
+ doc? (
+ app-text/ghostscript-gpl
+ sys-apps/groff
+ )
+ test? ( dev-libs/check )
+"
src_prepare() {
sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die
@@ -66,8 +73,9 @@ src_configure() {
-DINSTALL_SYSCONFDIR="${EPREFIX}"/etc
)
+ # right now we only support gtk2, but ettercap also supports gtk3
+ # do we care? do we want to support both?
! use gtk && mycmakeargs+=(-DINSTALL_DESKTOP=OFF)
- #right now we only support gtk2, but ettercap also supports gtk3
- #do we care? do we want to support both?
+
cmake_src_configure
}
diff --git a/net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch b/net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch
new file mode 100644
index 000000000000..e1c2259733c2
--- /dev/null
+++ b/net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch
@@ -0,0 +1,32 @@
+https://bugs.gentoo.org/902987
+https://github.com/Ettercap/ettercap/commit/40534662043b7d831d1f6c70448afa9d374a9b63
+
+From 40534662043b7d831d1f6c70448afa9d374a9b63 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 23 Mar 2023 10:23:14 -0700
+Subject: [PATCH] sslstrip: Enhance the libcurl version check to consider
+ version 8+
+
+Lately curl has released version 8 and hence LIBCURL_VERSION_MAJOR is
+reset to 0, current check assumes major version to be 7 at max and hence
+on systems with libcurl 8+ this check breaks and build fails
+
+Fixes
+
+TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/ettercap/0.8.3.1-r0/git/plug-ins/sslstrip/sslstrip.c:57:2: error: libcurl 7.26.0 or up is needed
+ ^
+1 error generated.
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/plug-ins/sslstrip/sslstrip.c
++++ b/plug-ins/sslstrip/sslstrip.c
+@@ -51,7 +51,7 @@
+
+ #include <curl/curl.h>
+
+-#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MINOR < 26)
++#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR < 26)
+ #error libcurl 7.26.0 or up is needed
+ #endif
+
+
diff --git a/net-analyzer/testssl/Manifest b/net-analyzer/testssl/Manifest
index eeefd5b2c516..c825ff687f79 100644
--- a/net-analyzer/testssl/Manifest
+++ b/net-analyzer/testssl/Manifest
@@ -1,7 +1,5 @@
DIST testssl-3.0.5.tar.gz 9224554 BLAKE2B fed4f02f4c5db3975f711e5e1fa0f0018b5e89f8a3afbd94763ec86dc4f739ee25504769b61fc1dd0000ce7ce400f4d3267116cd21d14b003d9b6fd5706a84cb SHA512 0f3fa081f047bf2d3fb2f3b65fcdbec976af54143a2d8ffbece6eff7545cc2a6e134247f9533fb1614d52d900fc66d7f50c97f02678b5dfb9842c3c69c0f81f0
-DIST testssl-3.0.7.tar.gz 9219774 BLAKE2B d3b6abd5bb46e26ccb13afd9c9440e80fd80566db2bf04bb72b254dbebdc69957a0bae82436ce0b3f826f7c829a0cf73589eedc60735c629d010c8cb76e196a0 SHA512 703099f3c7d7d040f064466c721e30ee594a8d495add113b899b14d21848c8488e2d447c1af87ecd3d0d2b00dbeecc3a7914c26721b5b1936cfa818cf6599d53
DIST testssl-3.0.8.tar.gz 9372229 BLAKE2B cf463236fb0812c2bc5fd5673d0d2d395fc405697817827ee8c660c96d789601a090b57febd48400e33fd9f28b23d42d432734b176b23a8e8ddf710c9b275485 SHA512 4634bc5dc57ad8910ca097b22d86511a26e855fb4dc7bef9550a795cb1f53a959b8472008756b40a670d7433ad56236b5a36fe0c88c15de99fdf586e9919b080
EBUILD testssl-3.0.5.ebuild 1508 BLAKE2B afa8231522f3c74583cf7797859ef851eee280702d7d5c642188add2114e2ead7d653e1837f0f973ec77861be077f11ead26a05bd0743e7e8a13a4adf3e998f5 SHA512 8f60fce722b2dc13c5c1079f7434c55fa497261bae039bcceba1ba728c0c39910c87a174f2b58a68be1fc6013c9eeb926ddf208dfc432338f1062323e7a81359
-EBUILD testssl-3.0.7.ebuild 1525 BLAKE2B 2d08576b382583963ee09a8d8e16e43c7645e797cb53908172574358a5a9b87053a8540218ae62fc4faaabee12787ca17f86e3dbcd9b02f2f16cb3ebc403810b SHA512 4d2f3b6d8214134c7fe5c1336e178e885a6b9b065673b5dadd5e313aa649cbc1d0f3a7927a450589b12cc84b98ca37e0b576fa74749bfdb0c908060ae8343190
-EBUILD testssl-3.0.8.ebuild 1525 BLAKE2B 2d08576b382583963ee09a8d8e16e43c7645e797cb53908172574358a5a9b87053a8540218ae62fc4faaabee12787ca17f86e3dbcd9b02f2f16cb3ebc403810b SHA512 4d2f3b6d8214134c7fe5c1336e178e885a6b9b065673b5dadd5e313aa649cbc1d0f3a7927a450589b12cc84b98ca37e0b576fa74749bfdb0c908060ae8343190
+EBUILD testssl-3.0.8.ebuild 1524 BLAKE2B e9e7fe4700b1a4a4f7bd902188c6573dc4e0f01eb51188751dfc450b6c796ceecaf6cb98dfdfba24d1a79244e07402af2d9f244574ee9d4731a2b6e6916a856a SHA512 17f7930f043941098bfaa7c7184ff995b0fec94f425d5781e195ea0f182e560c2c4c5f13655cab840bd9d32a6691aae177d181ee9d38ffa85823814b1c8eb3d9
MISC metadata.xml 460 BLAKE2B 110fe91ebd724eaed5e5cd10273c420b16bd410189b58166a7f922ce5495785d26afe44e7da288c1ee1c17e6740d1fad55d3c0c2d0f325f572f63cd4318539ad SHA512 c30db71d85634df9484b943a4651f0e0d04352ba3c80c84a93ebb5fd538a131817771c8e7d1a51a02f96205449ff23cb5a6567c38ee5c38b6c0743023e5afacd
diff --git a/net-analyzer/testssl/testssl-3.0.7.ebuild b/net-analyzer/testssl/testssl-3.0.7.ebuild
deleted file mode 100644
index a3a082296157..000000000000
--- a/net-analyzer/testssl/testssl-3.0.7.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN}.sh"
-MY_PV="${PV/_p/-}"
-
-DESCRIPTION="Tool to check TLS/SSL cipher support"
-HOMEPAGE="https://testssl.sh/"
-SRC_URI="https://github.com/drwetter/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 bundled-openssl? ( openssl )"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="bundled-openssl kerberos"
-
-RDEPEND="
- app-shells/bash[net]
- net-dns/bind-tools
- sys-apps/util-linux
- sys-libs/ncurses:0
- sys-process/procps
- bundled-openssl? (
- kerberos? (
- sys-libs/zlib
- virtual/krb5
- )
- )
- !bundled-openssl? ( dev-libs/openssl:0 )
-"
-
-S=${WORKDIR}/${MY_PN}-${MY_PV}
-
-QA_PREBUILT="opt/${PN}/*"
-
-pkg_setup() {
- if use amd64; then
- if use kerberos; then
- BUNDLED_OPENSSL="openssl.Linux.x86_64.krb"
- else
- BUNDLED_OPENSSL="openssl.Linux.x86_64"
- fi
- elif use x86; then
- BUNDLED_OPENSSL="openssl.Linux.i686"
- fi
-}
-
-src_prepare() {
- default
- sed -i ${PN}.sh \
- -e 's|TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}"|TESTSSL_INSTALL_DIR="/"|' \
- -e 's|$TESTSSL_INSTALL_DIR/etc/|&testssl/|g' || die
-
- if use bundled-openssl; then
- sed -i ${PN}.sh \
- -e "/find_openssl_binary()/a OPENSSL=\"/opt/${PN}/${BUNDLED_OPENSSL}\"" || die
- fi
-}
-
-src_install() {
- dodoc CHANGELOG.md CREDITS.md Readme.md
- dodoc openssl-iana.mapping.html
-
- dobin ${PN}.sh
-
- insinto /etc/${PN}
- doins etc/*
-
- if use bundled-openssl; then
- exeinto /opt/${PN}
- use amd64 && doexe bin/${BUNDLED_OPENSSL}
- fi
-}
diff --git a/net-analyzer/testssl/testssl-3.0.8.ebuild b/net-analyzer/testssl/testssl-3.0.8.ebuild
index a3a082296157..d92a3d05c71a 100644
--- a/net-analyzer/testssl/testssl-3.0.8.ebuild
+++ b/net-analyzer/testssl/testssl-3.0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/drwetter/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.t
LICENSE="GPL-2 bundled-openssl? ( openssl )"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
IUSE="bundled-openssl kerberos"
RDEPEND="