mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
mxtract: new tool
This commit is contained in:
parent
7e72e19946
commit
9048a4ade4
3 changed files with 42 additions and 0 deletions
1
app-forensics/mxtract/Manifest
Normal file
1
app-forensics/mxtract/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
DIST mXtract-1.1.tar.gz 234023 BLAKE2B e23c0d4070464b9404ac92f4c15866e3591b78d364fa5db89d06707464233eb1d6aeff1c8bea20c3909e06e0761e00840d50eee37ba4e3906d302341fcd0e242 SHA512 769537558eb4084fd77a9741ffa05de1acf76bb03d1cac21e5516f504464613dca4741776b6b0528d7e127f9063be753a1aa695f4ed8529bc0d26d9af2fc228c
|
||||||
8
app-forensics/mxtract/metadata.xml
Normal file
8
app-forensics/mxtract/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>email@linxon.ru</email>
|
||||||
|
<name>Yury Martynov</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
33
app-forensics/mxtract/mxtract-1.1.ebuild
Normal file
33
app-forensics/mxtract/mxtract-1.1.ebuild
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
MY_P="mXtract-${PV}"
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="A memory extractor & analyzer"
|
||||||
|
HOMEPAGE="https://github.com/rek7/mXtract"
|
||||||
|
SRC_URI="https://github.com/rek7/mXtract/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
LICENSE="MIT"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
S="${WORKDIR}"/${MY_P}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
$(tc-getCXX) -std=c++11 ${CFLAGS} src/main.cpp -o ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc README.md example_regexes.db
|
||||||
|
dobin ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "\nUsage:"
|
||||||
|
elog " mxtract -wm -wr -e -i -d=/tmp/output/ -r=/usr/share/doc/${P}/example_regexes.db\n"
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue