forked from ports/contrib
masscan: deleted unmaintained port
This commit is contained in:
parent
f5911990bc
commit
41df061a67
@ -1,7 +0,0 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/masscan
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/masscan.8.gz
|
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yny6woxeG2CKzUltZ0faDa/xxpnfAwlnjHukeUohFIc/LY6tzVa+SiL5n8XLG1//3o1URrQVA5MsFITnuop4wA=
|
||||
SHA256 (Pkgfile) = 89009ac10409e280315cd4c0cf75d081bd97f2a7705e5ab915f7d1108f42b37e
|
||||
SHA256 (.footprint) = 2d96074301a7cf53f19ea0ff3f5ecc6935a9f4385c02cc1f34c9e1fcfd0421ea
|
||||
SHA256 (masscan-1.3.2.tar.gz) = 0363e82c07e6ceee68a2da48acd0b2807391ead9a396cf9c70b53a2a901e3d5f
|
@ -1,26 +0,0 @@
|
||||
# Description: Fast scan of the Internet
|
||||
# URL: https://github.com/robertdavidgraham/masscan
|
||||
# Maintainer: UNMAINTAINED
|
||||
# Depends on: libpcap
|
||||
|
||||
name=masscan
|
||||
version=1.3.2
|
||||
release=1
|
||||
source=(https://github.com/robertdavidgraham/$name/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
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,-O.,,;}' \
|
||||
-e '/^CC =/d' \
|
||||
Makefile
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -Dm644 doc/masscan.8 -t "$PKG/usr/share/man/man8"
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
README for masscan
|
||||
|
||||
NOTES
|
||||
|
||||
PF_RING
|
||||
|
||||
To get beyond 2 million packets/second, you need an Intel 10-gbps Ethernet
|
||||
adapter and a special driver known as "PF_RING ZC" from ntop:
|
||||
|
||||
http://www.ntop.org/products/packet-capture/pf_ring/pf_ring-zc-zero-copy/
|
||||
|
||||
Masscan doesn't need to be rebuilt in order to use PF_RING.
|
||||
To use PF_RING, you need to build the following components:
|
||||
|
||||
libpfring.so (installed in /usr/lib/libpfring.so)
|
||||
pf_ring.ko (their kernel driver)
|
||||
ixgbe.ko (their version of the Intel 10-gbps Ethernet driver)
|
||||
|
||||
You don't need to build their version of libpcap.so.
|
||||
|
||||
When Masscan detects that an adapter is named something like zc:enp1s0
|
||||
instead of something like enp1s0, it'll automatically switch to PF_RING ZC
|
||||
mode.
|
Loading…
x
Reference in New Issue
Block a user