mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
masscan: pkgcheck fixes
This commit is contained in:
parent
3553557495
commit
0d665dc23b
2 changed files with 17 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
inherit toolchain-funcs
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
|
@ -9,8 +9,8 @@ DESCRIPTION="Mass IP port scanner"
|
||||||
HOMEPAGE="https://github.com/robertdavidgraham/masscan"
|
HOMEPAGE="https://github.com/robertdavidgraham/masscan"
|
||||||
SRC_URI="https://github.com/robertdavidgraham/masscan/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/robertdavidgraham/masscan/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="AGPL-3"
|
LICENSE="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE="pf_ring"
|
IUSE="pf_ring"
|
||||||
|
|
||||||
|
|
@ -23,7 +23,6 @@ src_prepare() {
|
||||||
sed -i \
|
sed -i \
|
||||||
-e '/$(CC)/s!$(CFLAGS)!$(LDFLAGS) $(CFLAGS)!g' \
|
-e '/$(CC)/s!$(CFLAGS)!$(LDFLAGS) $(CFLAGS)!g' \
|
||||||
-e '/^GITVER :=/s!= .(.*!=!g' \
|
-e '/^GITVER :=/s!= .(.*!=!g' \
|
||||||
-e '/^SYS/s|gcc|$(CC)|g' \
|
|
||||||
-e '/^CFLAGS =/{s,=,+=,;s,-g -ggdb,,;s,-O3,,;}' \
|
-e '/^CFLAGS =/{s,=,+=,;s,-g -ggdb,,;s,-O3,,;}' \
|
||||||
-e '/^CC =/d' \
|
-e '/^CC =/d' \
|
||||||
Makefile || die
|
Makefile || die
|
||||||
|
|
|
||||||
14
net-analyzer/masscan/metadata.xml
Normal file
14
net-analyzer/masscan/metadata.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>noone@pentoo.org</email>
|
||||||
|
<name>No one</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="pf_ring">Enable pf_ring support for faster scanning</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">robertdavidgraham/masscan</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Loading…
Reference in a new issue