mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 02:50:26 +02:00
sslyze: 3.0.0 bump
This commit is contained in:
parent
81c5e231cd
commit
1c69ccaacd
12 changed files with 65 additions and 107 deletions
|
|
@ -1,6 +1,5 @@
|
|||
DIST nassl-2.1.1.tar.gz 207146 BLAKE2B 25a94488129cb85ec1067890ca83638955f08e2755e23fece8a0de60453a06b96b198e86d772b5685c744a042f1e4cf17f3c1871f413377420f28c464eae54dc SHA512 77c5487f43e7128fce3c1143f61977497014cb770276b792aececd212844cc3f7adac1a640fea48d409033e6328435f9936d2a9df69804b1be1088297e324ba5
|
||||
DIST nassl-2.1.2.tar.gz 207747 BLAKE2B 66d4c684249d2387100256a8f95cb199b40ed5085115f1db392a60caae96dd3e184868e34d94aac6011d60bac1353d0f92c5b567203e8a054a57c1ae1b8ed817 SHA512 6afef2eb670d25dae81d66fa9e78f3e702e61beda98cd26256ebf385ee44cd6e1822cdeee525473441b4fbf1e0fe0c6511cadf5174e3a0a143f98de52a8f6344
|
||||
DIST nassl-2.2.0.tar.gz 204247 BLAKE2B 6efd2b621c5e86c2b139140b56731e34e6d0c235a7b924e5f718d14b81e748ace0fd2eb9735906e591a78ffb452f8986112be19ca6a7bb719889840b4a64a5ca SHA512 75dc81adb2c01663dbb9b8f4e7d457e206c53ea988e55024c09bcfae16a9f13915b718721624377a8e0330e1fcc6019dbc3a8925a53a791d7f2582c0a6f9202f
|
||||
DIST nassl-3.0.0.tar.gz 221298 BLAKE2B 682476eda51adfde9b42a9b6b9e97449e702be9257bc281fb2e60fc091f8aa3a43016128b56538c0adbe84e5d4c80508a3d02281fb8f5750629d7f03b0659f13 SHA512 bbaaee5564931901576f353944a00177bf09bd4d25a8c8bc1d2ea8877922848454987acf93f91ca3018cb5366a5967cb2865995a314f036696c7eeb5a2634bdb
|
||||
DIST openssl-OpenSSL_1_0_2e.zip 7242974 BLAKE2B c3e2a67d60067416627d0b61e4ee465488f329e1e9730ffe9980cc075caf583021ed3439d4fc1a504e039504f4b828b144a6673155171cb088ccc80fb8b8f222 SHA512 96ec9e8eff65387238ca523b7e5b3d330098a446af86ec1772e24eda99e63ef28364b5fa32e89f4dad2a38f07da9dd2a53f93eacf8040f94e93f03297f4a0508
|
||||
DIST openssl-OpenSSL_1_1_1.zip 17160238 BLAKE2B 9ff0510c112e9054a683896ec493e5fb76a88d281a28c0ef577ec722f8ba05129e00e62ca82e72d750785c2bd2ebf0365d977b417f6cecf9d3de12e75631f2d6 SHA512 9db4bf391739f4e835bcfda10533d49a7231508faf25d88d880dfadc98ffd3b503d58879368ff17bed33d7775c1f0eb6991aa71d6888f50c5ad65b2d221be18e
|
||||
DIST zlib-1.2.11.tar.gz 607698 BLAKE2B 6bfc4bca5dcadba8a0d4121a2b3ed0bfe440c261003521862c8e6381f1a6f0a72d3fc037351d30afd7ef321e8e8d2ec817c046ac749f2ca0c97fbdc2f7e840b7 SHA512 73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae
|
||||
|
|
|
|||
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
inherit eutils distutils-r1 flag-o-matic
|
||||
|
||||
#something to investigate in https://github.com/nabla-c0d3/sslyze/issues/101
|
||||
#can system packages be used?
|
||||
MY_OPENSSL_MODERN="OpenSSL_1_1_1"
|
||||
MY_OPENSSL_LEGACY="OpenSSL_1_0_2e"
|
||||
MY_ZLIB="zlib-1.2.11"
|
||||
|
||||
DESCRIPTION="Experimental Python wrapper for OpenSSL"
|
||||
HOMEPAGE="https://github.com/nabla-c0d3/nassl"
|
||||
SRC_URI="https://github.com/nabla-c0d3/nassl/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/openssl/openssl/archive/${MY_OPENSSL_LEGACY}.zip -> openssl-${MY_OPENSSL_LEGACY}.zip
|
||||
https://github.com/openssl/openssl/archive/${MY_OPENSSL_MODERN}.zip -> openssl-${MY_OPENSSL_MODERN}.zip
|
||||
http://zlib.net/${MY_ZLIB}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/python-typing[${PYTHON_USEDEP}]
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||
dev-python/invoke[${PYTHON_USEDEP}]"
|
||||
#test? pytest
|
||||
#mypy
|
||||
#flake8
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare(){
|
||||
mkdir deps
|
||||
ln -s "${WORKDIR}/openssl-${MY_OPENSSL_LEGACY}" "${S}/deps"
|
||||
ln -s "${WORKDIR}/openssl-${MY_OPENSSL_MODERN}" "${S}/deps"
|
||||
ln -s "${WORKDIR}/${MY_ZLIB}" "${S}/deps"
|
||||
|
||||
#https://github.com/nabla-c0d3/nassl/issues/42
|
||||
python3 /usr/bin/invoke build.zlib --do-not-clean
|
||||
python3 /usr/bin/invoke build.legacy-openssl --do-not-clean
|
||||
python3 /usr/bin/invoke build.modern-openssl --do-not-clean
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
|
@ -1,18 +1,19 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
inherit eutils distutils-r1 flag-o-matic
|
||||
|
||||
#openssl system can be used optionally
|
||||
#something to investigate in https://github.com/nabla-c0d3/sslyze/issues/101
|
||||
#can system packages be used?
|
||||
#see tags in "build_tasks.py" file
|
||||
MY_OPENSSL_MODERN="OpenSSL_1_1_1"
|
||||
MY_OPENSSL_LEGACY="OpenSSL_1_0_2e"
|
||||
MY_ZLIB="zlib-1.2.11"
|
||||
|
||||
DESCRIPTION="Experimental Python wrapper for OpenSSL"
|
||||
DESCRIPTION="Experimental OpenSSL wrapper for Python 3.6+ and SSLyze"
|
||||
HOMEPAGE="https://github.com/nabla-c0d3/nassl"
|
||||
SRC_URI="https://github.com/nabla-c0d3/nassl/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/openssl/openssl/archive/${MY_OPENSSL_LEGACY}.zip -> openssl-${MY_OPENSSL_LEGACY}.zip
|
||||
|
|
@ -24,17 +25,14 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/python-typing[${PYTHON_USEDEP}]
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||
dev-python/invoke[${PYTHON_USEDEP}]"
|
||||
#test? pytest
|
||||
#mypy
|
||||
#flake8
|
||||
RDEPEND="dev-python/invoke[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
|
||||
mkdir deps
|
||||
ln -s "${WORKDIR}/openssl-${MY_OPENSSL_LEGACY}" "${S}/deps"
|
||||
ln -s "${WORKDIR}/openssl-${MY_OPENSSL_MODERN}" "${S}/deps"
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
@ -17,7 +17,5 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||
virtual/python-typing[${PYTHON_USEDEP}]"
|
||||
|
|
|
|||
1
dev-python/typing-extensions/Manifest
Normal file
1
dev-python/typing-extensions/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST typing_extensions-3.7.4.1.tar.gz 36357 BLAKE2B 69a1dc0d86c73beb54c5b727ae0fa71a8891e729895a928be48bad49d71858d2e1fd52e029fc7f129a6990e52587eddccff985ea902cfb392534f3a299e52d84 SHA512 ef66388d035bf69f2f3f0ce5708bfb8c2284392cc9ce1804f8ad47dc1adf021637e779325d2cbb30ee76b4408defb1aa51fd2ea8cab88de2d515ab4f543c9a6f
|
||||
11
dev-python/typing-extensions/metadata.xml
Normal file
11
dev-python/typing-extensions/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">typing</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{3,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/-/_}
|
||||
|
||||
DESCRIPTION="Typing Extensions – Backported and Experimental Type Hints for Python"
|
||||
HOMEPAGE="https://docs.python.org/3/library/typing.html https://pypi.org/project/typing-extensions/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_test() {
|
||||
cd "${S}"/src_py3 || die
|
||||
"${EPYTHON}" test_typing_extensions.py -v || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
|
@ -1,3 +1,2 @@
|
|||
DIST sslyze-2.0.6.tar.gz 10797060 BLAKE2B 967f18bd8645053bd9798badcbe4a1d427b1c9c591cf5c2930960db28327a2c438a7a35e72a710043bc7731a44b6c9b4dfbef0029725a2da1c17d58fcf190b32 SHA512 fd483580a7daed2b6035546b56f4339536319a96626ca7db36f35abb64a4226e44f8c3e3a4cea8ffc2ed10d3831e3ee72ee695c6d26a0148b146682afab5eea6
|
||||
DIST sslyze-2.1.3.tar.gz 10627128 BLAKE2B ebf18539653081610fbc23c0b381aab23f702c45c0ea24b257987307d7f9b2f5eaae8af5c7ad5c875e964fb92c221b19be414282627a131c36a22b1448c1a027 SHA512 ffad55a64904f54f35e1308b6819049ac7b1dd8bf80a8992ea8a9ad67cac1ffe59d6dd2b816b815a0d58d3fdb74685e22640d690a2373fb1983bd202928d8d58
|
||||
DIST sslyze-2.1.4.tar.gz 10627636 BLAKE2B edca648825881be6281327779eef09d6524a8879fa31830ea15b58b26733b164b7453a5e0d33289cea39bca234c54269ef7a4efb9d03b6d43463e0a56d9b4c6c SHA512 067e218795b1c8c26a104dc7658a5b2e46f17fd508449d0b0529d849d41e460d97decc5972054fd59edacad9463e5082a62715a57a597542639678a64084e375
|
||||
DIST sslyze-3.0.0.tar.gz 10704867 BLAKE2B 55c40af8c5c5fa2709822023e879374fa7cb1be64f98eeb064481dd6a3fe1aae3d8d41ac8d001e9d59cc1dc8f0610c657b3cf0330a5d97ad7bfd515677825ef5 SHA512 5355f92bcec7f044e6e4a0c06310eef2b20915bc36ac963548faf0e7729a2b6a78d97e626f190fd971a219aeca61ca215a499f53e3ededde9f28473b0874f3c6
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast and full-featured SSL scanner"
|
||||
HOMEPAGE="https://github.com/nabla-c0d3/sslyze"
|
||||
SRC_URI="https://github.com/nabla-c0d3/sslyze/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="=dev-python/nassl-2.1*[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/tls_parser-1.2.0[${PYTHON_USEDEP}]
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||
virtual/python-typing[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
sed -i "s|cryptography==2.5|cryptography>=2.4|g" setup.py
|
||||
eapply_user
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast and full-featured SSL scanner"
|
||||
|
|
@ -19,8 +19,7 @@ DEPEND=""
|
|||
RDEPEND="=dev-python/nassl-2.2*[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/tls_parser-1.2.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
|
||||
virtual/python-typing[${PYTHON_USEDEP}]"
|
||||
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)"
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
|
@ -16,14 +16,16 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="=dev-python/nassl-2.2*[${PYTHON_USEDEP}]
|
||||
RDEPEND="=dev-python/nassl-3.0*[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/tls_parser-1.2.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
|
||||
virtual/python-typing[${PYTHON_USEDEP}]"
|
||||
$(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_6)
|
||||
"
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
sed -i "s|cryptography==2.5|cryptography>=2.5|g" setup.py
|
||||
#https://github.com/nabla-c0d3/sslyze/issues/421
|
||||
sed "s|python_version<'3.8'|python_version<'3.7'|g" -i setup.py || die
|
||||
sed "s|cryptography==2.5|cryptography>=2.5|g" -i setup.py
|
||||
eapply_user
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@ dev-python/ldapdomaindump
|
|||
=dev-python/ntlm-auth-1*
|
||||
|
||||
#sslyze
|
||||
=dev-python/nassl-2.2*
|
||||
=dev-python/nassl-3.0*
|
||||
=dev-python/tls_parser-1.2*
|
||||
#nassl
|
||||
=dev-python/invoke-1.1*
|
||||
|
|
|
|||
Loading…
Reference in a new issue