New package: masscan-1.0.4.

Closes: #6777 [via git-merge-pr]
This commit is contained in:
Łukasz Jendrysik 2017-06-18 16:40:54 +02:00 committed by Toyam Cox
parent 272c8926cd
commit 6a8f527b28
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,17 @@
Backported from
https://github.com/robertdavidgraham/masscan/commit/8e58f7caf78c1d3e8e042dae72d4017cf5a1af86
which was merged shortly after release.
diff --git a/src/pixie-backtrace.c b/src/pixie-backtrace.c
index e7113a2..715b5db 100644
--- a/src/pixie-backtrace.c
+++ b/src/pixie-backtrace.c
@@ -11,7 +11,7 @@
char global_self[512] = "";
-#if defined(__linux__)
+#if defined(__GLIBC__)
#include <unistd.h>
#include <execinfo.h>
#include <dlfcn.h>

13
srcpkgs/masscan/template Normal file
View file

@ -0,0 +1,13 @@
# Template file for 'masscan'
pkgname=masscan
version=1.0.4
revision=1
build_style=gnu-makefile
patch_args='-p1' # one patch to be removed on next update.
depends="libpcap-devel"
short_desc="TCP port scanner, spews SYN packets asynchronously"
maintainer="Łukasz Jendrysik <scadu@yandex.com>"
license="AGPL-3"
homepage="https://github.com/robertdavidgraham/masscan"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=51de345f677f46595fc3bd747bfb61bc9ff130adcbec48f3401f8057c8702af9