diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-06-26 22:52:09 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-06-26 22:52:30 +0200 |
commit | 1a5c078fce604e5076acf58c5f237c80138f919b (patch) | |
tree | 00376a32019c45bdaaa5d99cebd40a3cf6aeaa0c /net-analyzer | |
parent | net-analyzer/sslscan: cleanup (diff) | |
download | gentoo-1a5c078fce604e5076acf58c5f237c80138f919b.tar.gz gentoo-1a5c078fce604e5076acf58c5f237c80138f919b.tar.bz2 gentoo-1a5c078fce604e5076acf58c5f237c80138f919b.zip |
net-analyzer/sslscan: add 1.11.0, fixing bug 619944
Starting with this version sslscan now builds against an
OpenSSL fork with additional backported features.
See README.md.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/sslscan/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/sslscan/sslscan-1.11.10.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/net-analyzer/sslscan/Manifest b/net-analyzer/sslscan/Manifest index db8c1726ddae..b2f28c70b890 100644 --- a/net-analyzer/sslscan/Manifest +++ b/net-analyzer/sslscan/Manifest @@ -1,3 +1,5 @@ +DIST e90b60086e4ed9649cb3aab08f2b4c6529e7a95a.tar.gz 5523414 SHA256 39b16ee1615436d8adf15fa0b5079193e72af2f9ba38dcb62719ef348ff36efb SHA512 e0ab14cd20bf8251defb685ca1384564f5f3624a8168608bed476f8d77ae4fd9096eacc36c0f271fc281d2d9070d25fa9e56ebf993321e06d6954e40c28537a7 WHIRLPOOL 137206996a7a6ec5443542bd18380c03c79fecdf72779fb7c672c9b19273146208413f17d0412ada2cbdd20abd572fdd37d1e56b97265b043dc3ce8de2a0adb4 DIST openssl-1.0.2k.tar.gz 5309236 SHA256 6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0 SHA512 0d314b42352f4b1df2c40ca1094abc7e9ad684c5c35ea997efdd58204c70f22a1abcb17291820f0fff3769620a4e06906034203d31eb1a4d540df3e0db294016 WHIRLPOOL ffa3d89a078db6829f1fff21779a19c87e059600162e6d7d3114b8440ba5fa7d1a08e04594b6ed8ab47e148782de299d7ec338f2ba2d466bf7737b0749f590cd +DIST sslscan-1.11.10-rbsec.tar.gz 52108 SHA256 fbb26fdbf2cf5b2f3f8c88782721b7875f206552cf83201981411e0af9521204 SHA512 802be7ad5289fb56b2902c69e2c831b5d8cacc01d650353b29c839e0ce4ae03e55656fa5d481c213b5162fc71b2a82da19b0ea34f6d86c34278c275a2bb73a7a WHIRLPOOL 14a1a13e6b98b764dba076b5b4fb353e137c88a1fd891a6c3e8f95f79f7fa91ca065a438d4e1bcdc60f3bdfeaf4cbe2a0bd6d339757d7bbd85b340bd1d44c8e9 DIST sslscan-1.11.3-rbsec.tar.gz 48865 SHA256 c36d6ac127aa36d6e550950f31540f34a7df131cd76b0be5b91092809eef4916 SHA512 37fcc5b220aa8f2fdcd1b50c5d5f29831348e609f5f678f3c31376b22721ed9fb47eff48fa78483ac7622cf8d80709ef4d220421ce85151a3f1c855f7ef0c545 WHIRLPOOL 55d2d0e35aa28e3d61b546034342d3389c3973f4495e376606ff56538daed1fec9de3e1b383430528dc132c700a86a051883a8f29f35baeb93695d158f09a27a DIST sslscan-1.11.9-rbsec.tar.gz 52215 SHA256 9417061a8f827b02b2b6457031888b1ae0b299460714ce3d9192432afde3a9cb SHA512 ed2ca15c185a36c166bec640f1771114ce845c0a84a6490aeca8170b8623ad3c370515c25079bb1f29fce79e3b24186fd298d72cc101d9076e4d7984a1202938 WHIRLPOOL a854ab3d53c8ea4c071efb5eb94e24e133f7ad1aafb1127bd25872a9433ed75baa520008853987e3fc5f9b67faf413d9a9a5d23db12145aa35182bda6250fed8 diff --git a/net-analyzer/sslscan/sslscan-1.11.10.ebuild b/net-analyzer/sslscan/sslscan-1.11.10.ebuild new file mode 100644 index 000000000000..c6620e60606d --- /dev/null +++ b/net-analyzer/sslscan/sslscan-1.11.10.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Upstream now builds against the 1.0.2-chacha branch of PeterMosmans +MOSMANS_OPENSSL_COMMIT=e90b60086e4ed9649cb3aab08f2b4c6529e7a95a + +inherit eutils toolchain-funcs + +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/PeterMosmans/openssl/archive/${MOSMANS_OPENSSL_COMMIT}.tar.gz )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl +static" + +# Depend on -bindist since sslscan unconditionally requires elliptic +# curve support, bug 491102 +DEPEND="!libressl? ( dev-libs/openssl:0[-bindist] ) libressl? ( dev-libs/libressl )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}-${MY_FORK}" + +src_prepare() { + if use static; then + ln -s ../openssl-${MOSMANS_OPENSSL_COMMIT} openssl || die + touch .openssl_is_fresh || die + + sed -i -e '/openssl\/.git/,/fi/d' \ + -e '/openssl test/d' Makefile || die + + fi + + default +} + +src_compile() { + if use static; then + emake static + else + emake + fi +} + +src_install() { + DESTDIR="${D}" emake install + + dodoc Changelog README.md +} |