URI: 
       tnet-analyzer/thc-ipv6: Update to 3.0 - parlay - yet another gentoo overlay
  HTML git clone https://git.parazyd.org/parlay
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 4cd9b41dbc234b61f0fa721c5b08a95b66d63803
   DIR parent 1dc3bad35bf784e5c991c8c3ce24a03398287f9a
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Sun, 20 Nov 2016 14:46:33 +0100
       
       net-analyzer/thc-ipv6: Update to 3.0
       
       Diffstat:
         M net-analyzer/thc-ipv6/Manifest      |       1 +
         A net-analyzer/thc-ipv6/files/thc-ip… |      11 +++++++++++
         A net-analyzer/thc-ipv6/thc-ipv6-3.0… |      58 ++++++++++++++++++++++++++++++
       
       3 files changed, 70 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/net-analyzer/thc-ipv6/Manifest b/net-analyzer/thc-ipv6/Manifest
       t@@ -1 +1,2 @@
        DIST thc-ipv6-2.7.tar.gz 661592 SHA256 440a3ae98b57100c397ec4f8634468dbbb0c3b48788c6b74af2a597a90544a96 SHA512 0863ff36109e048a45ec220b98f0e2cf62b7214edcab4afa27a89fc5c0e41469f7e5733efeb56ed0d00cffcf57ceed3d7d32d813e8081d39f1a21e2646e0a0f3 WHIRLPOOL 3c84be3bdb184cc059aabbd13032e6a0b83369f77eda4702277a79cafdadda1f29e43b8613b56e357d1c0e368f1e4df489b7ad3ee18ca6d5796c6a5098726f65
       +DIST thc-ipv6-3.0.tar.gz 667859 SHA256 cec2db604e3fe59f26ddc42632d858f53660ef5d6e25d6a7e90ed927f6826102 SHA512 969ebbf4da4514cb83e3abcff637f7ba301c4f072f1f983b3cd3cfd3b0643b55af6eacca3c76e39e11ea9ef6e465be03dfa7ce1d6c988cabbd42cdd95d1e2552 WHIRLPOOL 73ceec5c8c6dc995225cecf4c12d083e5fb13fc3f09138ba716089bd97f662f726902c711852f9bb69cc01adb4a8aa6500d9a7be1d6af3daf38d787bae4137cd
   DIR diff --git a/net-analyzer/thc-ipv6/files/thc-ipv6-3.0-Makefile.patch b/net-analyzer/thc-ipv6/files/thc-ipv6-3.0-Makefile.patch
       t@@ -0,0 +1,11 @@
       +diff -Nuar thc-ipv6-3.0.orig/Makefile thc-ipv6-3.0/Makefile
       +--- thc-ipv6-3.0.orig/Makefile        2015-10-13 20:17:34.000000000 -0700
       ++++ thc-ipv6-3.0/Makefile        2016-11-18 15:57:57.577946828 -0800
       +@@ -19,5 +19,5 @@
       + dnssecwalk:        dnssecwalk.c
       +-        $(CC) $(CFLAGS) $(STATIC) -o $@ $^
       ++        $(CC) $(CFLAGS) $(STATIC) -o $@ $^ $(LDFLAGS)
       + 
       + dnsdict6:        dnsdict6.c
       +-        $(CC) $(CFLAGS) $(STATIC) -o $@ $^ -lpthread -lresolv
       ++        $(CC) $(CFLAGS) $(STATIC) -o $@ $^ $(LDFLAGS) -lpthread -lresolv
   DIR diff --git a/net-analyzer/thc-ipv6/thc-ipv6-3.0.ebuild b/net-analyzer/thc-ipv6/thc-ipv6-3.0.ebuild
       t@@ -0,0 +1,58 @@
       +# Copyright 1999-2016 Gentoo Foundation
       +# Distributed under the terms of the GNU General Public License v2
       +# $Id$
       +
       +EAPI=6
       +[[ ${PV} == *9999 ]] && SCM="git-r3"
       +EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-ipv6.git"
       +EGIT_BRANCH=master
       +
       +inherit eutils toolchain-funcs ${SCM}
       +
       +DESCRIPTION="complete tool set to attack the inherent protocol weaknesses of IPV6 and ICMP6"
       +HOMEPAGE="https://www.thc.org/thc-ipv6/"
       +LICENSE="AGPL-3 openssl"
       +SLOT="0"
       +IUSE="ssl libressl"
       +
       +if [[ ${PV} != *9999 ]]; then
       +        SRC_URI="http://www.thc.org/releases/${P}.tar.gz"
       +        KEYWORDS="~amd64 ~x86"
       +fi
       +
       +DEPEND="net-libs/libpcap
       +        net-libs/libnetfilter_queue
       +        ssl? (
       +                !libressl? ( dev-libs/openssl:* )
       +                libressl? ( dev-libs/libressl:* )
       +        )"
       +RDEPEND="${DEPEND}"
       +
       +src_unpack() {
       +        if [[ ${PV} != *9999 ]]; then
       +                default_src_unpack
       +        else
       +                git-r3_src_unpack
       +        fi
       +}
       +
       +src_prepare() {
       +        epatch "${FILESDIR}"/${PN}-3.0-Makefile.patch
       +        sed -i \
       +                -e '/^CFLAGS=/s,CFLAGS=,CFLAGS?=,' \
       +                Makefile
       +        if ! use ssl ; then
       +                sed -e '/^HAVE_SSL/s:^:#:' \
       +                        -i Makefile
       +        fi
       +        eapply_user
       +}
       +
       +src_compile() {
       +        emake CC="$(tc-getCC)"
       +}
       +
       +src_install() {
       +        emake DESTDIR="${D}" PREFIX="/usr" STRIP="true" install
       +        dodoc CHANGES HOWTO-INJECT README
       +}