net-analyzer/zmap: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Tue, 26 Apr 2016 18:47:59 +0000 (20:47 +0200)
committerJustin Lecher <jlec@gentoo.org>
Tue, 26 Apr 2016 18:48:30 +0000 (20:48 +0200)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=580810

Package-Manager: portage-2.2.28
Signed-off-by: Justin Lecher <jlec@gentoo.org>
net-analyzer/zmap/Manifest
net-analyzer/zmap/metadata.xml
net-analyzer/zmap/zmap-1.1.1.ebuild
net-analyzer/zmap/zmap-1.1.2.ebuild
net-analyzer/zmap/zmap-1.2.0.ebuild
net-analyzer/zmap/zmap-1.2.1.ebuild
net-analyzer/zmap/zmap-2.1.1.ebuild [new file with mode: 0644]
net-analyzer/zmap/zmap-9999.ebuild

index a625e81331c835e46244a85e5ada181b666d41e1..9adeccec0d633e1d88fbdb79511954eba9a0fa3e 100644 (file)
@@ -2,3 +2,4 @@ DIST zmap-1.1.1.tar.gz 84325 SHA256 e3a740a97f217840b6afa81e2c84e11d44f91346cb9f
 DIST zmap-1.1.2.tar.gz 84364 SHA256 3766b1cee8287184e4f475761b78633639e130fd004ae067ce4abf79b3a2da0d SHA512 b0f3834f30b97166576fb64814791f4aec1fa9326dfe965d65c66e7375cdeae48b6a25156c65a5af6a74e739df3964538d4c29b2d6e1c3d71b9ed3c756bb7821 WHIRLPOOL b6d0629f0aee3d6321c2179395fad97a2d5f0bb5e9cdf7a08606baf2d9bfe6f3bfe19e403147fd568a164a8d75c3e1db5f996e5d4ecdf9df366a3f1395681b3f
 DIST zmap-1.2.0.tar.gz 100594 SHA256 7658aef8338c592bebef82336f58598b2fa305d56779f6c81bffeef8c90472b0 SHA512 68fa49647444f18adfc86b4ee85ed3e93945611ca75687eedc259504e0d66edcded267b4fba9a975299984551c88193feacb850f46432d3f3f22f1430ed7c9bd WHIRLPOOL e4a50f86dfcae802d6b432e51c0f78ca37d56a3540326f076fcc002fbb23aeb85dbb57ad4a84b4b10d863f0f41b8d06510fdec1b9264d77c80cf0ffa69e5e01a
 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
index 7716af93b56927f2942afb3f394fb83a3c8fbf09..c17fdf9b5b0be52e957117e55fe1c0220d363e0a 100644 (file)
@@ -16,10 +16,13 @@ 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>
-    <flag name="json">Add support to store results JSON based</flag>
   </use>
   <upstream>
     <remote-id type="github">zmap/zmap</remote-id>
index 55a0bcdd12b51be8a2fb9bae672e6678b7db9c13..99fac3e6c5e1a989f6ecb1373eb6924b8a556492 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ KEYWORDS=" ~amd64 ~x86"
 IUSE="json redis"
 
 RDEPEND="
-       dev-libs/gmp
+       dev-libs/gmp:0
        net-libs/libpcap
        json? ( dev-libs/json-c )
        redis? ( dev-libs/hiredis )"
index 6641d207d67ff3ce4502b03cec30893918412e69..2d594f6ebd921f8dd38455824e3e40e861177760 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ KEYWORDS=" ~amd64 ~x86"
 IUSE="json redis"
 
 RDEPEND="
-       dev-libs/gmp
+       dev-libs/gmp:0
        net-libs/libpcap
        json? ( dev-libs/json-c )
        redis? ( dev-libs/hiredis )"
index 34fe0aa7c083081da1557ad5d1478584d50597cc..6b00599408543c41643e826c92bb1b5d3a49cfab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ KEYWORDS=" ~amd64 ~x86"
 IUSE="json redis"
 
 RDEPEND="
-       dev-libs/gmp
+       dev-libs/gmp:0
        net-libs/libpcap
        json? ( dev-libs/json-c )
        redis? ( dev-libs/hiredis )"
index ad8d5042776fb57c76ff6437bddfa93bff1dbfc4..db504be56b71143485a955d104ed30b05038c72a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ KEYWORDS=" ~amd64 ~x86"
 IUSE="json redis"
 
 RDEPEND="
-       dev-libs/gmp
+       dev-libs/gmp:0
        net-libs/libpcap
        json? ( dev-libs/json-c )
        redis? ( dev-libs/hiredis )"
diff --git a/net-analyzer/zmap/zmap-2.1.1.ebuild b/net-analyzer/zmap/zmap-2.1.1.ebuild
new file mode 100644 (file)
index 0000000..30d206f
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+       json? ( 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_json="$(usex json)"
+               -DWITH_json="$(usex mongo)"
+               -DWITH_json="$(usex redis)"
+               )
+       cmake-utils_src_configure
+}
+
+FILECAPS=( cap_net_raw=ep usr/sbin/zmap )
index d4ba7486a0f12dadb1b6929dcf990118bf813767..05f9c807f90241a8d14f1eaf70687dad4edd35c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ KEYWORDS=""
 IUSE="json redis"
 
 RDEPEND="
-       dev-libs/gmp
+       dev-libs/gmp:0
        net-libs/libpcap
        json? ( dev-libs/json-c )
        redis? ( dev-libs/hiredis )"