From dbac4908c7736cb9733cf4b1d722f10dfc1b5031 Mon Sep 17 00:00:00 2001 From: Yury Martynov Date: Sun, 14 Apr 2019 17:17:07 +0300 Subject: [PATCH] lazagne: new tool --- app-forensics/lazagne/Manifest | 1 + app-forensics/lazagne/lazagne-2.4.2.ebuild | 1 + app-forensics/lazagne/lazagne-9999.ebuild | 50 ++++++++++++++++++++++ app-forensics/lazagne/metadata.xml | 8 ++++ 4 files changed, 60 insertions(+) create mode 100644 app-forensics/lazagne/Manifest create mode 120000 app-forensics/lazagne/lazagne-2.4.2.ebuild create mode 100644 app-forensics/lazagne/lazagne-9999.ebuild create mode 100644 app-forensics/lazagne/metadata.xml diff --git a/app-forensics/lazagne/Manifest b/app-forensics/lazagne/Manifest new file mode 100644 index 000000000..bb03a9b01 --- /dev/null +++ b/app-forensics/lazagne/Manifest @@ -0,0 +1 @@ +DIST LaZagne-2.4.2.tar.gz 517870 BLAKE2B a81ce508fe4611346891b2106e3bb9baa4726e7dd08dd3772396800f4636b7014d48000bc699217f6ba2dad8e868d249803c992b2f6f278ba5140ee2cf583f0d SHA512 a71f4a31e1d4f1252ca105aeaf61191599ecc94bb6236810c86707b3f117fd0edf446f1b468fe4c652039d2110cb85162042cddaa773c73e14e0f5fbbdff0022 diff --git a/app-forensics/lazagne/lazagne-2.4.2.ebuild b/app-forensics/lazagne/lazagne-2.4.2.ebuild new file mode 120000 index 000000000..82134114c --- /dev/null +++ b/app-forensics/lazagne/lazagne-2.4.2.ebuild @@ -0,0 +1 @@ +lazagne-9999.ebuild \ No newline at end of file diff --git a/app-forensics/lazagne/lazagne-9999.ebuild b/app-forensics/lazagne/lazagne-9999.ebuild new file mode 100644 index 000000000..f9480fe67 --- /dev/null +++ b/app-forensics/lazagne/lazagne-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +DESCRIPTION="Credentials recovery project" +HOMEPAGE="https://github.com/AlessandroZ/LaZagne" +LICENSE="LGPL-3" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/AlessandroZ/LaZagne" +else + MY_PN="LaZagne" + MY_P="${MY_PN}-${PV}" + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/AlessandroZ/LaZagne/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} +fi + +RESTRICT="mirror" +SLOT="0" + +RDEPEND="${PYTHON_DEPS} + dev-python/traceback2[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/memorpy[${PYTHON_USEDEP}] + dev-python/configparser[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND}" + +src_install() { + dodoc README.md CHANGELOG + + python_foreach_impl python_domodule Linux/lazagne + python_foreach_impl python_doscript Linux/laZagne.py + + make_wrapper \ + "${PN}" \ + "python2 /usr/bin/laZagne.py" +} + +pkg_postinst() { + elog + elog "See documentation: https://github.com/AlessandroZ/LaZagne#usage" + elog +} diff --git a/app-forensics/lazagne/metadata.xml b/app-forensics/lazagne/metadata.xml new file mode 100644 index 000000000..ebc718e70 --- /dev/null +++ b/app-forensics/lazagne/metadata.xml @@ -0,0 +1,8 @@ + + + + + email@linxon.ru + Yury Martynov + +