From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFCEF138334 for ; Sun, 13 Oct 2019 08:46:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 025BBE0835; Sun, 13 Oct 2019 08:46:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8875E0835 for ; Sun, 13 Oct 2019 08:46:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CCEE34B9A4 for ; Sun, 13 Oct 2019 08:46:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FCB5802 for ; Sun, 13 Oct 2019 08:46:54 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1570956406.56421592e8fdca2cf6a1a0ddeefad9eb5a89fc7b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/sslscan/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/sslscan/sslscan-1.11.13-r1.ebuild X-VCS-Directories: net-analyzer/sslscan/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 56421592e8fdca2cf6a1a0ddeefad9eb5a89fc7b X-VCS-Branch: master Date: Sun, 13 Oct 2019 08:46:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c492faec-79c3-4590-811e-0866333c9201 X-Archives-Hash: 99a3161cb387e13daa3db99187c5c005 commit: 56421592e8fdca2cf6a1a0ddeefad9eb5a89fc7b Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 13 08:46:34 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 13 08:46:46 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56421592 net-analyzer/sslscan: always use static custom openssl sslscan is intended to be built against an openssl fork that has known security issues so that sslscan can scan for these issues. We also allowed building against a local openssl or libressl, but these versions are now diverging enough that sslscan won't build against them anymore. Fixes: https://bugs.gentoo.org/697072 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> net-analyzer/sslscan/sslscan-1.11.13-r1.ebuild | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/net-analyzer/sslscan/sslscan-1.11.13-r1.ebuild b/net-analyzer/sslscan/sslscan-1.11.13-r1.ebuild new file mode 100644 index 00000000000..dfa4053fb25 --- /dev/null +++ b/net-analyzer/sslscan/sslscan-1.11.13-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Upstream now builds against the openssl 1.0.x fork by PeterMosmans +MOSMANS_OPENSSL_COMMIT=c9ba19c8b7fd131137373dbd1fccd6a8bb0628be + +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 + https://github.com/PeterMosmans/openssl/archive/${MOSMANS_OPENSSL_COMMIT}.tar.gz -> ${P}-${MY_FORK}-openssl.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}-${MY_FORK}" + +src_prepare() { + 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 + + default +} + +src_compile() { + emake static +} + +src_install() { + DESTDIR="${D}" emake install + + dodoc Changelog README.md +}