mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
guymanager: v0.8.7 bump, masked and broken due to major libewf api change
This commit is contained in:
parent
86577d3103
commit
446b4eef50
2 changed files with 108 additions and 0 deletions
36
app-forensics/guymager/files/libewf201711.patch
Normal file
36
app-forensics/guymager/files/libewf201711.patch
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
diff -urN guymager-0.8.7_p1.orig/config.cpp guymager-0.8.7_p1/config.cpp
|
||||
--- guymager-0.8.7_p1.orig/config.cpp 2018-01-07 08:15:32.000000000 +0800
|
||||
+++ guymager-0.8.7_p1/config.cpp 2018-01-07 08:21:27.801204343 +0800
|
||||
@@ -272,7 +272,7 @@
|
||||
{ "Encase5" , LIBEWF_FORMAT_ENCASE5},
|
||||
{ "Encase6" , LIBEWF_FORMAT_ENCASE6},
|
||||
{ "Smart" , LIBEWF_FORMAT_SMART },
|
||||
- { "FTK" , LIBEWF_FORMAT_FTK },
|
||||
+ { "FTK" , LIBEWF_FORMAT_FTK_IMAGER},
|
||||
{ "Linen5" , LIBEWF_FORMAT_LINEN5 },
|
||||
{ "Linen6" , LIBEWF_FORMAT_LINEN6 },
|
||||
#if (LIBEWF_VERSION >= 20130416)
|
||||
diff -urN guymager-0.8.7_p1.orig/file.cpp guymager-0.8.7_p1/file.cpp
|
||||
--- guymager-0.8.7_p1.orig/file.cpp 2018-01-07 08:15:32.000000000 +0800
|
||||
+++ guymager-0.8.7_p1/file.cpp 2018-01-07 08:33:32.557252999 +0800
|
||||
@@ -76,9 +76,9 @@
|
||||
case LIBEWF_FORMAT_ENCASE4: SubFormat="Encase4" ; break;
|
||||
case LIBEWF_FORMAT_ENCASE5: SubFormat="Encase5" ; break;
|
||||
case LIBEWF_FORMAT_ENCASE6: SubFormat="Encase6" ; break;
|
||||
- case LIBEWF_FORMAT_FTK : SubFormat="FTK" ; break;
|
||||
+ case LIBEWF_FORMAT_FTK_IMAGER : SubFormat="FTK" ; break;
|
||||
case LIBEWF_FORMAT_SMART : SubFormat="Smart" ; break;
|
||||
- case LIBEWF_FORMAT_LVF : SubFormat="LVF" ; break;
|
||||
+ case LIBEWF_FORMAT_LOGICAL_ENCASE5 : SubFormat="LVF" ; break;
|
||||
case LIBEWF_FORMAT_LINEN5 : SubFormat="Linen5" ; break;
|
||||
case LIBEWF_FORMAT_LINEN6 : SubFormat="Linen6" ; break;
|
||||
#if (LIBEWF_VERSION >= 20130416)
|
||||
@@ -139,7 +139,7 @@
|
||||
case LIBEWF_FORMAT_LINEN7 :
|
||||
case LIBEWF_FORMAT_EWFX :
|
||||
#endif
|
||||
- case LIBEWF_FORMAT_FTK :
|
||||
+ case LIBEWF_FORMAT_FTK_IMAGER :
|
||||
case AEWF : Wild=".E??"; Human=".Exx"; break;
|
||||
case LIBEWF_FORMAT_SMART : Wild=".s??"; Human=".sxx"; break;
|
||||
default : CHK (ERROR_FILE_INVALID_EWF_FORMAT)
|
||||
72
app-forensics/guymager/guymager-0.8.7.ebuild
Normal file
72
app-forensics/guymager/guymager-0.8.7.ebuild
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2 subversion
|
||||
|
||||
DESCRIPTION="Guymager is a fast and user friendly forensic imager."
|
||||
HOMEPAGE="http://guymager.sourceforge.net/"
|
||||
#SRC_URI="mirror://sourceforge/guymager/${PV}.tar.gz"
|
||||
#SRC_URI="mirror://debian/pool/main/g/guymager/${P//-/_}.orig.tar.gz -> ${P}.tar.gz"
|
||||
ESVN_REPO_URI="https://svn.code.sf.net/p/guymager/code/tags/guymager-0.8.7"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
#broken with the latest libewf, see: https://sourceforge.net/p/guymager/feature-requests/11/
|
||||
#KEYWORDS="~x86 ~arm ~amd64"
|
||||
|
||||
IUSE="debug hdparm udisk smart parted"
|
||||
|
||||
RDEPEND="dev-qt/qtcore
|
||||
dev-qt/qtgui
|
||||
dev-qt/qtdbus
|
||||
sys-libs/zlib
|
||||
sys-process/procps
|
||||
hdparm? ( sys-apps/hdparm )
|
||||
udisk? ( sys-fs/udisks )
|
||||
smart? ( sys-apps/smartmontools )
|
||||
parted? ( sys-block/parted )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-libs/gksu
|
||||
app-forensics/libewf
|
||||
dev-libs/libguytools2:="
|
||||
|
||||
#PATCHES=(
|
||||
# "${FILESDIR}/systemlibs.patch"
|
||||
# "${FILESDIR}/support_new_libewf.patch"
|
||||
# "${FILESDIR}/libewf201711.patch"
|
||||
#)
|
||||
|
||||
src_prepare() {
|
||||
# epatch "${FILESDIR}/systemlibs.patch"
|
||||
# epatch "${FILESDIR}/support_new_libewf.patch"
|
||||
epatch "${FILESDIR}/libewf201711.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make
|
||||
lrelease guymager.pro
|
||||
|
||||
cd manuals
|
||||
./rebuild.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin guymager
|
||||
doman manuals/guymager.1
|
||||
|
||||
insinto /usr/share/guymager
|
||||
doins guymager_*.ts
|
||||
|
||||
insinto /etc/guymager
|
||||
doins guymager.cfg
|
||||
|
||||
doicon guymager_128.png
|
||||
domenu guymager.desktop
|
||||
}
|
||||
Loading…
Reference in a new issue