ppscan: pkgcheck fixes

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-05-03 14:17:32 -04:00
parent 97bed93c18
commit 87b5e771da
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 11 additions and 11 deletions

View file

@ -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

View file

@ -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() {

View file

@ -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