diff --git a/net-analyzer/ppscan/Manifest b/net-analyzer/ppscan/Manifest index fac475805..7c6b53d2b 100644 --- a/net-analyzer/ppscan/Manifest +++ b/net-analyzer/ppscan/Manifest @@ -1 +1 @@ -DIST ppscan-0.3.tar.gz 8046 SHA256 662c1cf506bf0d8bb74216f8ea2f0047e7c33238eb1860284b5d9c9fbb2ccc27 SHA512 473087933b585affb8f50da56d86bf76ffffe169a47607aaa2093768d404204105fa7011509aac3bde4c430923958cf47813c2dbcf7923747b7a1b098f734872 WHIRLPOOL 358436ad4297ebcc09282207c67454432d5e85c37c297f6b081a52ab52aac574616bb1c062a9734acf20574864beb2e7ff7f9edf11bb98fe21f54718032bcae2 +DIST ppscan-0.3.tar.gz 8046 BLAKE2B 2806a6e954163245827153b930506631897c37bb63ff97e820cca56fd679c63ef7c954b280d8a0e8032b1d056b1d8d4696a4345852ce541febf06d271f1c8061 SHA512 473087933b585affb8f50da56d86bf76ffffe169a47607aaa2093768d404204105fa7011509aac3bde4c430923958cf47813c2dbcf7923747b7a1b098f734872 diff --git a/net-analyzer/ppscan/ppscan-0.3-r1.ebuild b/net-analyzer/ppscan/ppscan-0.3-r1.ebuild index 69bc9c989..d054a0541 100644 --- a/net-analyzer/ppscan/ppscan-0.3-r1.ebuild +++ b/net-analyzer/ppscan/ppscan-0.3-r1.ebuild @@ -1,23 +1,20 @@ -# Copyright 1999-2020 Gentoo Foundation +# Copyright 1999-2024 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=7 +EAPI=8 + +inherit toolchain-funcs DESCRIPTION="Port scanner with HTTP and FTP tunneling support" HOMEPAGE="https://packetstormsecurity.com/files/82897/PPScan-Portscanner-0.3.html" -SRC_URI="https://dl.packetstormsecurity.net/UNIX/scanners/ppscan-0.3.tar.gz" +SRC_URI="https://dl.packetstormsecurity.net/UNIX/scanners/${P}.tar.gz" LICENSE="public-domain" SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -DEPEND="" -RDEPEND="" +KEYWORDS="~amd64 ~x86" src_compile() { - gcc -o ppscan ppscan.c -lpthread ${CFLAGS} ${LDFLAGS} || die "failed to compile" + $(tc-getCC) -o ppscan ppscan.c -lpthread ${CFLAGS} ${LDFLAGS} || die "failed to compile" } src_install() { diff --git a/profiles/pentoo/zero-system/profile.bashrc b/profiles/pentoo/zero-system/profile.bashrc index 291b6459e..dea0655a5 100644 --- a/profiles/pentoo/zero-system/profile.bashrc +++ b/profiles/pentoo/zero-system/profile.bashrc @@ -81,6 +81,9 @@ if [[ ${CATEGORY}/${PN} == media-video/vlc ]]; then export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}" export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" fi +if [[ ${CATEGORY}/${PN} == net-analyzer/ppscan ]]; then + export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}" +fi if [[ ${CATEGORY}/${PN} == net-analyzer/yersinia ]]; then export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" fi