public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslscan/
Date: Wed, 28 Dec 2016 08:14:43 +0000 (UTC)	[thread overview]
Message-ID: <1482912862.a93920f732e7e3249e2bd50051d5a3fb21086597.graaff@gentoo> (raw)

commit:     a93920f732e7e3249e2bd50051d5a3fb21086597
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 28 08:09:06 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 08:14:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93920f7

net-analyzer/sslscan: add static USE flag

Add a static USE flag, enabled by default, to build
statically against a version of the openssl libraries
with insecure options such as SSLv2 enabled. This
allows sslscan to carry out more complete scans by
also testing these insecure protocols without the
need for an insecure system openssl library.

Fixes bug 603828

Package-Manager: portage-2.3.0

 net-analyzer/sslscan/Manifest                 |  1 +
 net-analyzer/sslscan/sslscan-1.11.8-r1.ebuild | 54 +++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/net-analyzer/sslscan/Manifest b/net-analyzer/sslscan/Manifest
index 5f86924..2fe5327 100644
--- a/net-analyzer/sslscan/Manifest
+++ b/net-analyzer/sslscan/Manifest
@@ -1,3 +1,4 @@
+DIST openssl-1.0.2j.tar.gz 5307912 SHA256 e7aff292be21c259c6af26469c7a9b3ba26e9abaaffd325e3dccc9785256c431 SHA512 7d6ccae4aa3ccec3a5d128da29c68401cdb1210cba6d212d55235fc3bc63d7085e2f119e2bbee7ddff6b7b5eef07c6196156791724cd2caf313a4c2fef724edd WHIRLPOOL 1f17e80bc10da2eab9d4c1c3a662b0e2b4f7e8bc448aabb44cd98a96ba3d6cd0ef6cf9a3371d44b39a4d11b1a4087c8f0d056272ace6eba5bd2417f7ab9503b7
 DIST sslscan-1.11.3-rbsec.tar.gz 48865 SHA256 c36d6ac127aa36d6e550950f31540f34a7df131cd76b0be5b91092809eef4916 SHA512 37fcc5b220aa8f2fdcd1b50c5d5f29831348e609f5f678f3c31376b22721ed9fb47eff48fa78483ac7622cf8d80709ef4d220421ce85151a3f1c855f7ef0c545 WHIRLPOOL 55d2d0e35aa28e3d61b546034342d3389c3973f4495e376606ff56538daed1fec9de3e1b383430528dc132c700a86a051883a8f29f35baeb93695d158f09a27a
 DIST sslscan-1.11.7-rbsec.tar.gz 50801 SHA256 1a2787b427eabc3e61350c0692970e4ab679891f6310e2dd855bab549ff8cf73 SHA512 092b3e25d292aa9db5c75311f2e5c034068b19351ad09c9b448a692aa47ee15eb0649e3da64cc84be42a5af7c9a879d9ff41802a27ce19b3b485f98714282816 WHIRLPOOL 6066e50115d9b98b1dd6ff883ca9e7ad06b71cddf86706b94a07954ce94f111b539e3be4b488aed8bef7fc979dc77a589cfbdbb69933cee85959bf999177af1f
 DIST sslscan-1.11.8-rbsec.tar.gz 51583 SHA256 1449f8bb45d323b322cb070a74d8dcc57b43ca2dba0560e7a16151efc8b3d911 SHA512 8951b48f34eea8db255de2d0ec95aa28ce2cc9f338053ee70ce627d8992ae4c07115445cab9bc058d7ebdeccabd8bb1a9f4029e4449a2c1df5d8ee5a668ff34f WHIRLPOOL 854bf585bedda25a4c8b88fa6308429852fed6c7fa1c5873c30459325a00368a62952592fde9eeebe45e9056667e9e23900c0411c4d12dca0d1011c46a7f59e2

diff --git a/net-analyzer/sslscan/sslscan-1.11.8-r1.ebuild b/net-analyzer/sslscan/sslscan-1.11.8-r1.ebuild
new file mode 100644
index 00000000..d943303
--- /dev/null
+++ b/net-analyzer/sslscan/sslscan-1.11.8-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+OPENSSL_V=1.0.2j
+
+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? ( mirror://openssl/source/openssl-${OPENSSL_V}.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-${OPENSSL_V} 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
+}


             reply	other threads:[~2016-12-28  8:14 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28  8:14 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-20  5:38 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslscan/ Hans de Graaff
2024-02-19 17:59 Hans de Graaff
2024-01-23 18:46 Sam James
2024-01-23 16:40 Sam James
2024-01-23 10:54 Hans de Graaff
2024-01-23 10:54 Hans de Graaff
2023-11-16 17:17 Arthur Zamarin
2023-11-16 17:17 Arthur Zamarin
2023-11-16  6:59 Hans de Graaff
2023-11-16  6:59 Hans de Graaff
2023-09-20  4:37 Hans de Graaff
2023-09-06  5:34 Hans de Graaff
2023-07-10  9:28 Arthur Zamarin
2023-07-10  9:28 Arthur Zamarin
2023-07-10  7:36 Hans de Graaff
2023-04-09  7:42 Sam James
2023-04-09  7:42 Sam James
2023-04-09  7:42 Hans de Graaff
2023-04-09  7:42 Hans de Graaff
2022-07-04  5:21 Hans de Graaff
2022-06-25 13:28 Jakov Smolić
2022-06-25 13:28 Jakov Smolić
2022-06-25  6:07 Hans de Graaff
2022-06-25  6:07 Hans de Graaff
2022-06-17 11:48 Jakov Smolić
2022-04-04  5:41 Hans de Graaff
2022-03-16  6:41 Hans de Graaff
2022-03-16  6:41 Hans de Graaff
2022-02-25 10:08 Jakov Smolić
2022-02-25 10:08 Jakov Smolić
2022-02-25  8:17 Hans de Graaff
2021-12-17  6:50 Hans de Graaff
2021-12-04 10:20 Hans de Graaff
2021-12-03 15:58 Sam James
2021-12-03  7:46 Arthur Zamarin
2021-12-03  6:44 Hans de Graaff
2021-04-28 17:26 Hans de Graaff
2021-04-03 15:57 Sam James
2021-03-26  6:36 Hans de Graaff
2021-03-26  6:36 Hans de Graaff
2021-02-21  6:47 Hans de Graaff
2021-02-11  6:55 Hans de Graaff
2021-02-05 12:31 Sam James
2021-02-05 10:40 Sam James
2021-02-05  7:16 Hans de Graaff
2020-11-04  6:27 Hans de Graaff
2020-10-26  6:46 Hans de Graaff
2020-10-26  6:46 Hans de Graaff
2020-10-15  5:07 Hans de Graaff
2020-10-13  4:26 Hans de Graaff
2020-10-09  8:06 Hans de Graaff
2020-10-09  8:06 Hans de Graaff
2020-10-05  5:17 Hans de Graaff
2020-09-21 17:24 Hans de Graaff
2020-08-30  5:35 Hans de Graaff
2020-08-29 17:57 Thomas Deutschmann
2020-07-24 15:09 Agostino Sarubbo
2020-07-24  4:15 Hans de Graaff
2019-10-13  8:46 Hans de Graaff
2019-05-13  5:31 Hans de Graaff
2019-05-12 20:56 Thomas Deutschmann
2019-04-02  4:11 Hans de Graaff
2018-10-25  7:28 Hans de Graaff
2018-10-25  7:28 Hans de Graaff
2018-07-21  4:05 Hans de Graaff
2018-07-20 22:40 Thomas Deutschmann
2018-01-27 11:37 Hans de Graaff
2018-01-09  6:14 Hans de Graaff
2018-01-08 22:50 Thomas Deutschmann
2018-01-07  7:48 Hans de Graaff
2017-07-21 17:01 Hans de Graaff
2017-06-27  3:55 Hans de Graaff
2017-06-26 20:52 Hans de Graaff
2017-06-26 20:52 Hans de Graaff
2017-04-10  5:23 Hans de Graaff
2016-12-28  8:14 Hans de Graaff
2016-09-04  6:23 Hans de Graaff
2016-07-01 13:02 Hans de Graaff
2016-05-28  7:16 Hans de Graaff
2016-03-07 19:40 Hans de Graaff
2016-03-04 16:46 Jason Donenfeld
2016-03-04 16:16 Jason Donenfeld
2016-03-03 17:14 Jason Donenfeld
2016-03-03 17:11 Jason Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482912862.a93920f732e7e3249e2bd50051d5a3fb21086597.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox