diff options
author | Sam James <sam@gentoo.org> | 2021-01-25 23:58:46 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-25 23:58:46 +0000 |
commit | a09af0775446d94972a7aa1ea55c3bd641b7a9e7 (patch) | |
tree | 3a15a3273edfd88e27aac67c79c72fb27a4c0642 /net-analyzer | |
parent | kde-frameworks/kcompletion: Drop 5.78.0 (r0) (diff) | |
download | gentoo-a09af0775446d94972a7aa1ea55c3bd641b7a9e7.tar.gz gentoo-a09af0775446d94972a7aa1ea55c3bd641b7a9e7.tar.bz2 gentoo-a09af0775446d94972a7aa1ea55c3bd641b7a9e7.zip |
net-analyzer/masscan: bump to 1.3.1
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/masscan/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/masscan/masscan-1.3.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/masscan/Manifest b/net-analyzer/masscan/Manifest index 29f988e17eb1..3c3c024854f4 100644 --- a/net-analyzer/masscan/Manifest +++ b/net-analyzer/masscan/Manifest @@ -1,3 +1,4 @@ DIST masscan-1.0.4.tar.gz 343513 BLAKE2B e50789c8a2246c4109990e93c9c53cf68b2b555955f675e1a9acd4074c2b85773aba58f3644db1f98a88c4cff85cff5a9035f2fbc56978103458dc34e6dc353a SHA512 eb82d8ad4d6a5c77cf79197e18470a68f7c361f0785180d631e9625578e90af6ffdaa45b728349da5a1cb945a8f902541b8f708be8a4075737ccb06e948d6e2b DIST masscan-1.0.5.tar.gz 353901 BLAKE2B 83145955b42f660788fdd7687b0a88ad84d6f31a4f99fc1fe4691f266f3c3492882334d9f0b4acf3c31d33950daedda56b6623cd3ba6ef9a27914613f09d485b SHA512 55d58234994ebea10bcb3f45a24cdb51b020350faa116aee3a48861a119f66c339d1f533c978f52e37ccf5266be6fd2802765f13461d94eb28ec8d18c68e2f88 DIST masscan-1.3.0.tar.gz 451097 BLAKE2B 1d64a80345aa18cc0fdd00b5fca6708bcabded62571887e7171f6ac9e9f77f6d9f5bcca9c0ee04f67fcdf3ead1d6b242dc5129c6c9a94e560ac5380904a5a02a SHA512 dbf489d1fb1c882873071073ef8e65723bf3b805c794a5d13dfdcea539558f049845b5bc02ada1e313729954fe7ba29be727a777937b8e4d41778c9175d13824 +DIST masscan-1.3.1.tar.gz 461128 BLAKE2B cb18c6665bdd106dd6b9d69c904d465988b0727cfb62b3845b8b68e9f0db8d2fe4dd91b6bc0eb0ddb91a143a6d0656e774fb4dd9d7b19623261f94ace3c0b3e0 SHA512 bc43b0c41313b400d55f5da2c777c94c3db31e087c87dc8dc883cd319a6eb45da1e8d7de107f52748e415d75c104c6e564f72bf8d7677c9be84e9297d02fa466 diff --git a/net-analyzer/masscan/masscan-1.3.1.ebuild b/net-analyzer/masscan/masscan-1.3.1.ebuild new file mode 100644 index 000000000000..6a290f96f458 --- /dev/null +++ b/net-analyzer/masscan/masscan-1.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Mass IP port scanner" +HOMEPAGE="https://github.com/robertdavidgraham/masscan" +SRC_URI="https://github.com/robertdavidgraham/masscan/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="AGPL-3" +KEYWORDS="~amd64 ~x86" + +RDEPEND="net-libs/libpcap" + +src_prepare() { + default + + sed -i \ + -e '/$(CC)/s!$(CFLAGS)!$(LDFLAGS) $(CFLAGS)!g' \ + -e '/^GITVER :=/s!= .(.*!=!g' \ + -e '/^SYS/s|gcc|$(CC)|g' \ + -e '/^CFLAGS =/{s,=,+=,;s,-g -ggdb,,;s,-O3,,;}' \ + -e '/^CC =/d' \ + Makefile || die + + tc-export CC +} + +src_install() { + dobin bin/masscan + + insinto /etc/masscan + doins data/exclude.conf + doins "${FILESDIR}"/masscan.conf + + dodoc doc/bot.html *.md + + doman doc/masscan.8 +} |