Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/masscan: metadata.xml masscan-1.0.3.ebuild ChangeLog
Date: Sat, 01 Mar 2014 21:31:14
Message-Id: 20140301213107.AC5522004C@flycatcher.gentoo.org
1 robbat2 14/03/01 21:31:07
2
3 Added: metadata.xml masscan-1.0.3.ebuild ChangeLog
4 Log:
5 Initial commit. Based on the Pentoo ebuild, with lots of cleanup.
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 net-analyzer/masscan/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/masscan/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/masscan/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>netmon</herd>
21 <maintainer>
22 <email>robbat2@g.o</email>
23 </maintainer>
24 <longdescription lang="en">
25 This is the fastest Internet port scanner. It can scan the
26 entire Internet in under 6 minutes, transmitting 10 million
27 packets per second.
28
29 It produces results similar to nmap, the most famous port
30 scanner. Internally, it operates more like scanrand,
31 unicornscan, and ZMap, using asynchronous transmission.
32 The major difference is that it's faster than these other
33 scanners. In addition, it's more flexible, allowing
34 arbitrary address ranges and port ranges.
35 </longdescription>
36 </pkgmetadata>
37
38
39
40 1.1 net-analyzer/masscan/masscan-1.0.3.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/masscan/masscan-1.0.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/masscan/masscan-1.0.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: masscan-1.0.3.ebuild
46 ===================================================================
47 # Copyright 1999-2014 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/masscan/masscan-1.0.3.ebuild,v 1.1 2014/03/01 21:31:07 robbat2 Exp $
50
51 EAPI=5
52
53 DESCRIPTION="Mass IP port scanner"
54 HOMEPAGE="https://github.com/robertdavidgraham/masscan"
55 SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
56
57 SLOT="0"
58 LICENSE="AGPL-3"
59 KEYWORDS="~amd64 ~x86"
60 IUSE=""
61
62 RDEPEND="net-libs/libpcap"
63 DEPEND="${RDEPEND}"
64
65 src_prepare(){
66 sed -i \
67 -e '/$(CC)/s!$(CFLAGS)!$(LDFLAGS) $(CFLAGS)!g' \
68 -e "/^GITVER :=/s!= .(.*!=!g" \
69 -e '/$(CC)/s!-DGIT=\"$(GITVER)\"!!g' \
70 -e '/^CFLAGS =/{s,=,+=,;s,-g -ggdb,,;s,-O3,,;}' \
71 Makefile
72 }
73
74 src_install() {
75 emake install DESTDIR="${D}" PREFIX=/usr
76
77 insinto /etc/masscan
78 doins data/exclude.conf
79 doins "${FILESDIR}"/masscan.conf
80
81 [ -f doc/bot.hml ] && mv doc/bot.{hml,html}
82 dohtml doc/bot.html
83 doman doc/masscan.8
84 dodoc *.md
85 }
86
87
88
89 1.1 net-analyzer/masscan/ChangeLog
90
91 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/masscan/ChangeLog?rev=1.1&view=markup
92 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/masscan/ChangeLog?rev=1.1&content-type=text/plain
93
94 Index: ChangeLog
95 ===================================================================
96 # ChangeLog for net-analyzer/masscan
97 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
98 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/masscan/ChangeLog,v 1.1 2014/03/01 21:31:07 robbat2 Exp $
99
100 *masscan-1.0.3 (01 Mar 2014)
101
102 01 Mar 2014; Robin H. Johnson <robbat2@g.o> +files/masscan.conf,
103 +masscan-1.0.3.ebuild, +metadata.xml:
104 Initial commit. Based on the Pentoo ebuild, with lots of cleanup.