mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 16:51:03 +02:00
sslscan: v1.11.8 with static openssl for sslv2, add to pentoo
This commit is contained in:
parent
084f66c5d6
commit
bf1d769d81
5 changed files with 115 additions and 33 deletions
2
net-analyzer/sslscan/Manifest
Normal file
2
net-analyzer/sslscan/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST nassl-0.14.1.tar.gz 15457142 SHA256 2bd2f42f4c3144c2834e96e3e0d4ad2f158ee2a8655f2ba649b7aa41c8840baa SHA512 eed8cb537bda7d6aad2dcfb0419ed51cbf6449e37edd68ac3f35f880087f53bf084b80631e919e7c4d9307e6ffb9847deaa78601669ed52c1b3462805ec0b37e WHIRLPOOL 7029439fcaf571f6ce8c16073c9c8c72a0ea809fc76949b72ea106306108968756f8314ed339c052d937e25b9c34ee738419c741e58896ac97e39122cf732e43
|
||||
DIST sslscan-1.11.8-rbsec.tar.gz 51583 SHA256 1449f8bb45d323b322cb070a74d8dcc57b43ca2dba0560e7a16151efc8b3d911 SHA512 8951b48f34eea8db255de2d0ec95aa28ce2cc9f338053ee70ce627d8992ae4c07115445cab9bc058d7ebdeccabd8bb1a9f4029e4449a2c1df5d8ee5a668ff34f WHIRLPOOL 854bf585bedda25a4c8b88fa6308429852fed6c7fa1c5873c30459325a00368a62952592fde9eeebe45e9056667e9e23900c0411c4d12dca0d1011c46a7f59e2
|
||||
55
net-analyzer/sslscan/sslscan-1.11.8.ebuild
Normal file
55
net-analyzer/sslscan/sslscan-1.11.8.ebuild
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
NASSL_PV="0.14.1"
|
||||
DESCRIPTION="Fast SSL configuration scanner"
|
||||
HOMEPAGE="https://github.com/rbsec/sslscan"
|
||||
MY_FORK="rbsec"
|
||||
SRC_URI="https://github.com/${MY_FORK}/${PN}/archive/${PV}-${MY_FORK}.tar.gz -> ${P}-${MY_FORK}.tar.gz
|
||||
static? ( https://github.com/nabla-c0d3/nassl/archive/${NASSL_PV}.tar.gz -> nassl-${NASSL_PV}.tar.gz )"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+static"
|
||||
|
||||
# Depend on -bindist since sslscan unconditionally requires elliptic
|
||||
# curve support, bug 491102
|
||||
DEPEND="!static? ( dev-libs/openssl:0[-bindist] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}-${MY_FORK}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use static; then
|
||||
#hack: copy compiled librarys from NASSL/SSLYZE project
|
||||
mkdir -p ./openssl/include/openssl/
|
||||
cp "${WORKDIR}"/nassl-"${NASSL_PV}"/bin/openssl/linux64/* ./openssl
|
||||
cp "${WORKDIR}"/nassl-"${NASSL_PV}"/bin/openssl/include/openssl/* ./openssl/include/openssl/
|
||||
cp "${WORKDIR}"/nassl-"${NASSL_PV}"/bin/zlib/linux64/libz.a ./openssl/
|
||||
#hack: use provided binaries
|
||||
sed -i "s|static opensslpull|static|g" Makefile
|
||||
sed -i "s|static: openssl/libcrypto.a|static:|g" Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-ldflags -Wl,-z,noexecstack
|
||||
|
||||
if use static; then
|
||||
emake static
|
||||
else
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" emake install
|
||||
dodoc Changelog README.md
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit toolchain-funcs git-2
|
||||
|
||||
DESCRIPTION="SSLScan determines what ciphers are supported on SSL-based services."
|
||||
HOMEPAGE="https://github.com/ioerror/sslscan"
|
||||
EGIT_REPO_URI="git://github.com/ioerror/${PN}.git"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/openssl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i /'CFLAGS='/d Makefile || die "sed Makefile"
|
||||
sed -i s/'gcc'/'$(CC)'/ Makefile || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin sslscan
|
||||
doman sslscan.1
|
||||
}
|
||||
57
pentoo/pentoo-analyzer/pentoo-analyzer-2016.4.ebuild
Normal file
57
pentoo/pentoo-analyzer/pentoo-analyzer-2016.4.ebuild
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Pentoo analyzers meta ebuild"
|
||||
HOMEPAGE="http://www.pentoo.ch"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="ipv6 java gnome minipentoo ldap"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
net-analyzer/dnsrecon
|
||||
net-analyzer/netcat6
|
||||
net-analyzer/net-snmp
|
||||
net-analyzer/scapy
|
||||
net-analyzer/sslyze
|
||||
net-analyzer/sslscan
|
||||
net-analyzer/tcpdump
|
||||
net-analyzer/tcptraceroute
|
||||
net-analyzer/traceroute
|
||||
net-analyzer/wireshark
|
||||
|
||||
!minipentoo? (
|
||||
ipv6? ( net-analyzer/thc-ipv6
|
||||
net-analyzer/ipv6toolkit )
|
||||
java? ( ldap? ( net-nds/jxplorer ) )
|
||||
x86? ( net-analyzer/angst )
|
||||
net-analyzer/aimsniff
|
||||
net-analyzer/arpwatch
|
||||
net-analyzer/chaosreader
|
||||
net-analyzer/cloudshark
|
||||
net-analyzer/dnsa
|
||||
net-analyzer/dnsenum
|
||||
net-analyzer/dnstracer
|
||||
net-analyzer/etherape
|
||||
net-analyzer/ftester
|
||||
net-analyzer/gnome-nettool
|
||||
net-analyzer/mbrowse
|
||||
net-analyzer/mtr
|
||||
net-analyzer/netdiscover
|
||||
net-analyzer/ngrep
|
||||
net-analyzer/ntop
|
||||
net-analyzer/sniffit
|
||||
net-analyzer/snort
|
||||
net-analyzer/snmpenum
|
||||
net-analyzer/tcpreplay
|
||||
net-analyzer/thcrut
|
||||
net-misc/socat
|
||||
)"
|
||||
|
||||
# net-nds/lat depends on mono
|
||||
# net-analyzer/driftnet
|
||||
|
|
@ -87,6 +87,7 @@ net-analyzer/snort
|
|||
~net-analyzer/sslsniff-0.8
|
||||
~net-analyzer/sslstrip-0.9
|
||||
=net-analyzer/sslyze-0.14*
|
||||
=net-analyzer/sslscan-1.11*
|
||||
~net-analyzer/subdomainer-1.3
|
||||
~net-analyzer/tcpdump-4.3.0
|
||||
~net-analyzer/thc-ipv6-2.3
|
||||
|
|
|
|||
Loading…
Reference in a new issue