diff --git a/dev-python/nassl/Manifest b/dev-python/nassl/Manifest new file mode 100644 index 000000000..40a02f493 --- /dev/null +++ b/dev-python/nassl/Manifest @@ -0,0 +1 @@ +EBUILD nassl-0.1_p20131121.ebuild 879 SHA256 fa1765f35d8647fee412bf61a15f9bfe5217843e24dfa203e07bda051a241e36 SHA512 440dfb549834e9c56d3bb8b45f598b98f46359a86f7d26d8831a01f2ec7291dff47edeaa9a1b8ae0923cc6ec2b20e056d93443e1d652c87329b854c030964d91 WHIRLPOOL 954a758479eebbd06f9db90e0e19db0d7a82fcfb66452136603516ecbdc3e7ef9337b9959009f346a64647da4608e0ae0766cbaea6c24d73b6d6df282f927f2a diff --git a/dev-python/nassl/nassl-0.1_p20131121.ebuild b/dev-python/nassl/nassl-0.1_p20131121.ebuild new file mode 100644 index 000000000..37ea2d8f3 --- /dev/null +++ b/dev-python/nassl/nassl-0.1_p20131121.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: blshkv$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-r1 python-utils-r1 git-2 + +DESCRIPTION="Experimental Python wrapper for OpenSSL" +HOMEPAGE="https://github.com/nabla-c0d3/nassl" +EGIT_REPO_URI="https://github.com/nabla-c0d3/nassl.git" +EGIT_COMMIT="5d1915bdad47ee3df2dc387dff88adb8058af835" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/openssl + sys-libs/zlib" +RDEPEND="" + +#FIXME python eclass must be used instead +src_prepare() { + python2.7 setup_unix.py build +} + +src_install() { + MY_ARCH=$(uname -m) +# dodir /usr/$(get_libdir)/"${PN}"/ +# cp -R "${S}/build/lib.linux-${MY_ARCH}-2.7/${PN}" "${D}/usr/$(get_libdir)/" + python_moduleinto nassl + python_foreach_impl python_domodule ${S}/build/lib.linux-${MY_ARCH}-2.7/${PN}/* +} diff --git a/net-analyzer/sslyze/Manifest b/net-analyzer/sslyze/Manifest new file mode 100644 index 000000000..af4231506 --- /dev/null +++ b/net-analyzer/sslyze/Manifest @@ -0,0 +1 @@ +EBUILD sslyze-0.7_p20131117.ebuild 664 SHA256 0ed09bf98d1a44d2452540edb2aace6c2252eebf2122ce974ca7233f0e4f2704 SHA512 330efa14f6cee068f75bd047c11d73e2b2275c450adb396ffe75f1b62cef2e27f745502c75c57b13407d8500e4fe7bea1df0cb4f643506e20bc73b598ceebcae WHIRLPOOL 78759cc018a2038c444f79b091f9938f14ffbb0e404074a7fc107138f680f711a7d8f589162072c50801eb5231949e4d742974a8907c84f9d6c8817d23a99477 diff --git a/net-analyzer/sslyze/sslyze-0.7_p20131117.ebuild b/net-analyzer/sslyze/sslyze-0.7_p20131117.ebuild new file mode 100644 index 000000000..220c2e925 --- /dev/null +++ b/net-analyzer/sslyze/sslyze-0.7_p20131117.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: blshkv$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 git-2 + +DESCRIPTION="Fast and full-featured SSL scanner" +HOMEPAGE="https://github.com/iSECPartners/sslyze" +EGIT_REPO_URI="https://github.com/iSECPartners/sslyze.git" +EGIT_COMMIT="e390792f2a15adc94ce64194dbfa7067898c018c" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-python/nassl" + +src_install() { + dodir /usr/$(get_libdir)/"${PN}"/ + cp -R "${S}"/* "${D}/usr/$(get_libdir)/${PN}/" + dosym /usr/$(get_libdir)/"${PN}"/sslyze.py /usr/bin/${PN} +} diff --git a/profiles/pentoo/base/package.accept_keywords/dev-python b/profiles/pentoo/base/package.accept_keywords/dev-python index c15452337..aa73fbf0d 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-python +++ b/profiles/pentoo/base/package.accept_keywords/dev-python @@ -33,3 +33,6 @@ #required by wapiti ~dev-python/requests-1.2.3 ~dev-python/charade-1.0.3 + +#sslyze +=dev-python/nassl-0.1* diff --git a/profiles/pentoo/base/package.accept_keywords/net-analyzer b/profiles/pentoo/base/package.accept_keywords/net-analyzer index 9e347294c..0e4301896 100644 --- a/profiles/pentoo/base/package.accept_keywords/net-analyzer +++ b/profiles/pentoo/base/package.accept_keywords/net-analyzer @@ -80,6 +80,7 @@ net-analyzer/nessus-plugins ~net-analyzer/sslsniff-0.8 ~net-analyzer/sslstrip-0.9 ~net-analyzer/ssltest-0.4 +=net-analyzer/sslyze-0.7* ~net-analyzer/subdomainer-1.3 ~net-analyzer/tcpdump-4.3.0 ~net-analyzer/tcpreplay-3.4.4