summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-03-02 15:30:07 +0000
committerJeroen Roovers <jer@gentoo.org>2014-03-02 15:30:07 +0000
commit57d5eabd6e780ca4a1d72938a521479cacdc00c0 (patch)
tree6f1a619e1c54b5b11a45a2f1a3cdc1d946e80c4c /net-analyzer
parentUpdate the live ebuild to conform with changes upstream. Fix the src_install(... (diff)
downloadgentoo-2-57d5eabd6e780ca4a1d72938a521479cacdc00c0.tar.gz
gentoo-2-57d5eabd6e780ca4a1d72938a521479cacdc00c0.tar.bz2
gentoo-2-57d5eabd6e780ca4a1d72938a521479cacdc00c0.zip
Clean up. Respect CC. sed must die().
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/masscan/ChangeLog8
-rw-r--r--net-analyzer/masscan/masscan-1.0.3-r1.ebuild (renamed from net-analyzer/masscan/masscan-1.0.3.ebuild)10
2 files changed, 14 insertions, 4 deletions
diff --git a/net-analyzer/masscan/ChangeLog b/net-analyzer/masscan/ChangeLog
index e96bd0953d3c..c0dcaa1c0513 100644
--- a/net-analyzer/masscan/ChangeLog
+++ b/net-analyzer/masscan/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/masscan
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/masscan/ChangeLog,v 1.1 2014/03/01 21:31:07 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/masscan/ChangeLog,v 1.2 2014/03/02 15:30:07 jer Exp $
+
+*masscan-1.0.3-r1 (02 Mar 2014)
+
+ 02 Mar 2014; Jeroen Roovers <jer@gentoo.org> -masscan-1.0.3.ebuild,
+ +masscan-1.0.3-r1.ebuild:
+ Clean up. Respect CC. sed must die().
*masscan-1.0.3 (01 Mar 2014)
diff --git a/net-analyzer/masscan/masscan-1.0.3.ebuild b/net-analyzer/masscan/masscan-1.0.3-r1.ebuild
index c6f18f1bb99f..aa4e7909f2b1 100644
--- a/net-analyzer/masscan/masscan-1.0.3.ebuild
+++ b/net-analyzer/masscan/masscan-1.0.3-r1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/masscan/masscan-1.0.3.ebuild,v 1.1 2014/03/01 21:31:07 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/masscan/masscan-1.0.3-r1.ebuild,v 1.1 2014/03/02 15:30:07 jer Exp $
EAPI=5
+inherit toolchain-funcs
DESCRIPTION="Mass IP port scanner"
HOMEPAGE="https://github.com/robertdavidgraham/masscan"
@@ -11,7 +12,6 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="AGPL-3"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="net-libs/libpcap"
DEPEND="${RDEPEND}"
@@ -22,7 +22,11 @@ src_prepare(){
-e "/^GITVER :=/s!= .(.*!=!g" \
-e '/$(CC)/s!-DGIT=\"$(GITVER)\"!!g' \
-e '/^CFLAGS =/{s,=,+=,;s,-g -ggdb,,;s,-O3,,;}' \
- Makefile
+ Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
}
src_install() {