summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-06-10 08:59:52 +0200
committerJeroen Roovers <jer@gentoo.org>2017-06-10 08:59:52 +0200
commit411738541dad40c965d60f8b6186e1984ec010f8 (patch)
tree3714dd0945e98e2b8fdcb834a6e5d9bbc929a7a4 /net-analyzer/masscan
parentnet-analyzer/masscan: Version bump. (diff)
downloadgentoo-411738541dad40c965d60f8b6186e1984ec010f8.tar.gz
gentoo-411738541dad40c965d60f8b6186e1984ec010f8.tar.bz2
gentoo-411738541dad40c965d60f8b6186e1984ec010f8.zip
net-analyzer/masscan: Old.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/masscan')
-rw-r--r--net-analyzer/masscan/masscan-1.0.3-r1.ebuild43
1 files changed, 0 insertions, 43 deletions
diff --git a/net-analyzer/masscan/masscan-1.0.3-r1.ebuild b/net-analyzer/masscan/masscan-1.0.3-r1.ebuild
deleted file mode 100644
index 96e9e63bb4b8..000000000000
--- a/net-analyzer/masscan/masscan-1.0.3-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit toolchain-funcs
-
-DESCRIPTION="Mass IP port scanner"
-HOMEPAGE="https://github.com/robertdavidgraham/masscan"
-SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="AGPL-3"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}"
-
-src_prepare(){
- sed -i \
- -e '/$(CC)/s!$(CFLAGS)!$(LDFLAGS) $(CFLAGS)!g' \
- -e '/^GITVER :=/s!= .(.*!=!g' \
- -e '/^SYS/s|gcc|$(CC)|g' \
- -e '/$(CC)/s!-DGIT=\"$(GITVER)\"!!g' \
- -e '/^CFLAGS =/{s,=,+=,;s,-g -ggdb,,;s,-O3,,;}' \
- Makefile || die
-}
-
-src_compile() {
- emake CC="$(tc-getCC)"
-}
-
-src_install() {
- emake CC="$(tc-getCC)" DESTDIR="${D}" PREFIX=/usr install
-
- insinto /etc/masscan
- doins data/exclude.conf
- doins "${FILESDIR}"/masscan.conf
-
- mv doc/bot.{hml,html} || die
- dohtml doc/bot.html
- doman doc/masscan.8
- dodoc *.md
-}