summaryrefslogtreecommitdiff
path: root/net-analyzer/zmap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/zmap
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/zmap')
-rw-r--r--net-analyzer/zmap/Manifest8
-rw-r--r--net-analyzer/zmap/metadata.xml30
-rw-r--r--net-analyzer/zmap/zmap-1.2.1.ebuild38
-rw-r--r--net-analyzer/zmap/zmap-2.1.1.ebuild46
-rw-r--r--net-analyzer/zmap/zmap-9999.ebuild41
5 files changed, 163 insertions, 0 deletions
diff --git a/net-analyzer/zmap/Manifest b/net-analyzer/zmap/Manifest
new file mode 100644
index 000000000000..be65be8e36aa
--- /dev/null
+++ b/net-analyzer/zmap/Manifest
@@ -0,0 +1,8 @@
+DIST zmap-1.2.1.tar.gz 99840 SHA256 ff01f2b139e98a7e64ed2872ae332929c500dd6120888d57900fac82dccfeea8 SHA512 1b3d7fa41bb75c859463f3ec8bcde31778f5d91a6f561aa9638ba93be97dacdba89493574581ce52aebcf093a86b042dcce41cffe6cb0849bb76a6005b714be2 WHIRLPOOL 842ad32286883b554440dcb5ccfd8655997321612fd9ec49f591a6151819b6b605bc518281100c55ca8a9113819960710f870a745ebcb9994a6224b47d9a49ee
+DIST zmap-2.1.1.tar.gz 131689 SHA256 29627520c81101de01b0213434adb218a9f1210bfd3f2dcfdfc1f975dbce6399 SHA512 9d62dceff77fa20ff5945516b0766340366175947130bb844f19c11dac7676e658bcdedd6be29ffc945706aa3cdc0e4ac207bd127b618592769a4d3e75892857 WHIRLPOOL 09d7fb4e522b207b0b7f1d1ea9efcd9be49f7296d6c5e96858d795de61bf4a9d10ece07f7fa3bd56338dd3e410b5e474b51ed2c917a4b093fdc1689deec43d62
+EBUILD zmap-1.2.1.ebuild 825 SHA256 e44c5cc14d33011da41fbf382d09a71b85f6abfd4819595eda3ccc0376ef8c16 SHA512 e098118e347b16d0ff1dd64dc3e40f46d8e2f6c219df7f1602ef9b5d6a58ccccc37c2f693c918d547cd0a9e9778a7e2c4776082f9bb9f3e7406150f7670d989e WHIRLPOOL 73874319d44fbfef8b9af1a050b042e01572ecb39172ea3741f0eaa1ffcd170dfd676bf3edaf55c7d5a6239a42fba9e52299ae3f1369f5c3c0a175da85774e3d
+EBUILD zmap-2.1.1.ebuild 994 SHA256 24389b54ec49e090a86ecd3266ba464591ce98c8638751e259adf7f83b43c18c SHA512 e632f5710d524c12e4d65bd5c6ff908c1711c46002edc8094feaa3c0e500045ba00d30d40b64da2da13d35189fa51b3ce8117fabbc4e98505812c8d6afd23ec5 WHIRLPOOL ba6a75043ebab556f55c00e7dfb19a40b9a7b886f5494cfcfc9410a000987f7a0b8cc98c67f2535eeaa25a344aec9c0f3ba43f43cdab18da2ea0f59bbfa0bf53
+EBUILD zmap-9999.ebuild 820 SHA256 3eb01121d3acc48a65fdf10bb1437cfd8bf3da367095203d3ccaaf84ebc9fa4f SHA512 45e913f66c503c3ea13c8f85385d3100b439e9281b6b4293707f08fd4037a481a76aea0a22e07f10f9b6674c7d9e4cbb3b80a52d29ac208407ae0eb3b8b66bf8 WHIRLPOOL 9191e52fd76efd2fb72dc460f7c7559e3a8fa1351beca351a311fa0f2244c987dbe6568c5a4b1128a019b518fa5174cb7795b5324a66f0cf7f8b613bd9e0e0da
+MISC ChangeLog 3751 SHA256 71ceca50d63df26b1ec388a8a455568cb6640c9f03bd4f2e27cb6f7081c9bded SHA512 786b0e122e0f414b63ec9f58aab3819c1584ad00ac16cc55449b2030cafc29ef3b9ac943387ed19f6fc125ae40db365a8c235b0f6f549ace71f7ab6ecfb9a59d WHIRLPOOL 734ce66a1f85311dba749be3ed35239e9aff90975c2b4fde467c7bec32daaa5148840d2f9897c984d7e2162399a2d00164d883cd05fb2f2a67d7c85f76aa8d7e
+MISC ChangeLog-2015 1553 SHA256 8982f756fa5cebd88bf5063fca8592b30687f43b539b4b3d13c7095073824021 SHA512 3160e7026e1ba677a695884db3189e91941188fc9b28ca086b348bf1c6d2cab3ed7b3057c72ef2e3ff8082d196593d398cfa07474ac7798b7c527e050c7012f9 WHIRLPOOL f940819e09da798f70a0dfcee72a3287de80cf0dc502f1e11efc8b9dfdedd376f3ba4433c7e60a398cff899c8124f34b17070710b65c0f66b58e5e5484ab31b2
+MISC metadata.xml 1137 SHA256 8353c5d091f77ddc89d9ab5388f6ba5480424acc30b3f39d19c8aa2d186cb053 SHA512 ba948942b57ac083ad7a7baa0b31cdb8d009945419e20e60c374b0bda1b009fe09eca2a7575f79ce3d05f3282aa3e6cde061b72eec512bfecec6d255dfbfaad6 WHIRLPOOL af221ef6c11577749e98447ee8f579719da54189004c0f518ff7b4a390cce2a95c074cc990675150d1db317d03cbefc5d4556beba85ef80085c42670e2751351
diff --git a/net-analyzer/zmap/metadata.xml b/net-analyzer/zmap/metadata.xml
new file mode 100644
index 000000000000..46f0b4cadbc4
--- /dev/null
+++ b/net-analyzer/zmap/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ZMap is an open-source network scanner that enables researchers to easily
+perform Internet-wide network studies. With a single machine and a well
+provisioned network uplink, ZMap is capable of performing a complete scan of
+the IPv4 address space in under 45 minutes, approaching the theoretical limit
+of gigabit Ethernet.
+
+ZMap can be used to study protocol adoption over time, monitor service
+availability, and help us better understand large systems distributed
+across the Internet.
+ </longdescription>
+ <use>
+ <flag name="json">Add support to store results JSON based</flag>
+ <flag name="mongo">
+ Add support for storing in a mongo DB via <pkg>dev-db/mongodb</pkg>
+ </flag>
+ <flag name="redis">
+ Add support for storing in a redis DB via <pkg>dev-libs/hiredis</pkg>
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">zmap/zmap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-analyzer/zmap/zmap-1.2.1.ebuild b/net-analyzer/zmap/zmap-1.2.1.ebuild
new file mode 100644
index 000000000000..0f6e591a1788
--- /dev/null
+++ b/net-analyzer/zmap/zmap-1.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils fcaps
+
+DESCRIPTION="Fast network scanner designed for Internet-wide network surveys"
+HOMEPAGE="https://zmap.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="json redis"
+
+RDEPEND="
+ dev-libs/gmp:0
+ net-libs/libpcap
+ json? ( dev-libs/json-c )
+ redis? ( dev-libs/hiredis )"
+DEPEND="${RDEPEND}
+ dev-util/gengetopt
+ sys-devel/flex
+ dev-util/byacc"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_DEVELOPMENT=OFF
+ -DENABLE_HARDENING=OFF
+ -DWITH_WERROR=OFF
+ $(cmake-utils_use_with json)
+ $(cmake-utils_use_with redis)
+ )
+ cmake-utils_src_configure
+}
+
+FILECAPS=( cap_net_raw=ep usr/sbin/zmap )
diff --git a/net-analyzer/zmap/zmap-2.1.1.ebuild b/net-analyzer/zmap/zmap-2.1.1.ebuild
new file mode 100644
index 000000000000..b52063eda35e
--- /dev/null
+++ b/net-analyzer/zmap/zmap-2.1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils fcaps
+
+DESCRIPTION="Fast network scanner designed for Internet-wide network surveys"
+HOMEPAGE="https://zmap.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="json mongo redis"
+
+RDEPEND="
+ dev-libs/gmp:0
+ net-libs/libpcap
+ dev-libs/json-c
+ mongo? ( dev-db/mongodb )
+ redis? ( dev-libs/hiredis )"
+DEPEND="${RDEPEND}
+ dev-util/gengetopt
+ sys-devel/flex
+ dev-util/byacc"
+
+src_prepare() {
+ sed \
+ -e '/ggo/s:CMAKE_CURRENT_SOURCE_DIR}:CMAKE_BINARY_DIR}/src:g' \
+ -i src/CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_DEVELOPMENT=OFF
+ -DENABLE_HARDENING=OFF
+ -DWITH_WERROR=OFF
+ -DWITH_mongo="$(usex mongo)"
+ -DWITH_redis="$(usex redis)"
+ )
+ cmake-utils_src_configure
+}
+
+FILECAPS=( cap_net_raw=ep usr/sbin/zmap )
diff --git a/net-analyzer/zmap/zmap-9999.ebuild b/net-analyzer/zmap/zmap-9999.ebuild
new file mode 100644
index 000000000000..a229c0000778
--- /dev/null
+++ b/net-analyzer/zmap/zmap-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils fcaps git-r3
+
+DESCRIPTION="Fast network scanner designed for Internet-wide network surveys"
+HOMEPAGE="https://zmap.io/"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS=""
+IUSE="mongo redis"
+
+RDEPEND="
+ dev-libs/gmp:0
+ net-libs/libpcap
+ dev-libs/json-c
+ mongo? ( dev-db/mongo )
+ redis? ( dev-libs/hiredis )"
+DEPEND="${RDEPEND}
+ dev-util/gengetopt
+ sys-devel/flex
+ dev-util/byacc
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_DEVELOPMENT=OFF
+ -DENABLE_HARDENING=OFF
+ -DWITH_WERROR=OFF
+ -DWITH_mongo="$(usex mongo)"
+ -DWITH_redis="$(usex redis)"
+ )
+ cmake-utils_src_configure
+}
+
+FILECAPS=( cap_net_raw=ep usr/sbin/zmap )