You are not logged in.
This is a QT based, tweaked for efficiency computer forensic imaging tool. I took a stab at creating the PKGBUILDs but I'm stuck on getting the libguymager package to compile
http://guymager.sourceforge.net
Last edited by jskier (2010-05-08 13:55:07)
--
JSkier
Offline
A quick'n'dirty PKGBUILD-file for libguytools...
##EDIT## second try...
pkgname=libguytools
pkgver=6
pkgrel=2
pkgdesc="A small programming toolbox."
arch=('i686' 'x86_64')
url="http://guymager.sourceforge.net/"
license=('GPL')
depends=(qt)
makedepends=(subversion)
provides=()
conflicts=()
source=()
md5sums=()
_svntrunk="https://libguytools.svn.sourceforge.net/svnroot/libguytools/tags/tools-2.0.1"
_svnmod=libguytools
build() {
cd $startdir/src
msg "Connecting to SVN server...."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
if [ -d "${srcdir}/${_svnmod}-build" ]; then
rm -rf "${srcdir}/${_svnmod}-build"
fi
svn export $_svnmod $_svnmod-build
cd $_svnmod-build
./create_version_file.sh
qmake toolsstatic.pro
make -B || return 1
qmake tools.pro
make -B || return 1
install -d $pkgdir/usr/lib/ || return 1
cp -R $srcdir/$_svnmod-build/lib/ $pkgdir/usr/ || return 1
install -d $pkgdir/usr/include/ || return 1
cp -R $srcdir/$_svnmod-build/include/ $pkgdir/usr/ || return 1
}
Last edited by yannsen (2010-05-10 10:57:41)
Offline
Most excellent, thank you
I will take a further look and get the main package off the ground soon. Once they seem solid I'll add them to AUR.
--
JSkier
Offline
My first try to build guymager, but unfortunately with a make error....
http://rapidshare.com/files/385811736/g … src.tar.gz
And a updated version of the libguytools PKGBUILD-file which match with the guymager packet above...
pkgname=libguytools
pkgver=6
pkgrel=2
pkgdesc="A small programming toolbox."
arch=('i686' 'x86_64')
url="http://guymager.sourceforge.net/"
license=('GPL')
depends=(qt)
makedepends=(subversion)
provides=()
conflicts=()
source=()
md5sums=()
_svntrunk="https://libguytools.svn.sourceforge.net/svnroot/libguytools/tags/tools-2.0.1"
_svnmod=libguytools
build() {
cd $startdir/src
msg "Connecting to SVN server...."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
if [ -d "${srcdir}/${_svnmod}-build" ]; then
rm -rf "${srcdir}/${_svnmod}-build"
fi
svn export $_svnmod $_svnmod-build
cd $_svnmod-build
./create_version_file.sh
qmake toolsstatic.pro
make || return 1
qmake tools.pro
make || return 1
install -d $pkgdir/usr/lib/ || return 1
cp -R $srcdir/$_svnmod-build/lib/ $pkgdir/usr/ || return 1
install -d $pkgdir/usr/include/libguytools2 || return 1
cp -R $srcdir/$_svnmod-build/include/* $pkgdir/usr/include/libguytools2 || return 1
}
Last edited by yannsen (2010-05-10 21:57:41)
Offline
I can't find the link on the German site, says not found.
The lib package works fine now- not sure which error you were getting. For me, I'm not a developer, so I struggled with the lib package and forgot a couple of things. I'll hammer away at the other package this week, if I have any problems I'll post them here. Glad to know others are interested in this package
--
JSkier
Offline
Please use this new link: http://rapidshare.com/files/385811736/g … src.tar.gz
I don't have problems with the libguytools package but with the guymager package in the link above...
Offline
I assume you're getting this error?
/usr/bin/ld: cannot find -lguytoollog
--
JSkier
Offline
I think the version 0.4.2 is buggy, but the version 0.5.3beta1 works:
pkgname=guymager-svn
pkgver=8
pkgrel=1
pkgdesc="A forensic imager for media acquisition"
arch=('i686' 'x86_64')
url="http://guymager.sourceforge.net/"
license=('GPL')
depends=(libguytools)
makedepends=(subversion)
provides=(guymager)
conflicts=()
source=()
md5sums=()
_svntrunk="https://guymager.svn.sourceforge.net/svnroot/guymager/tags/guymager-0.5.3beta1"
_svnmod=guymager
build() {
cd $startdir/src
msg "Connecting to SVN server...."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
if [ -d "${srcdir}/${_svnmod}-build" ]; then
rm -rf "${srcdir}/${_svnmod}-build"
fi
svn export $_svnmod $_svnmod-build
cd $_svnmod-build
sed -i '39c INCLUDEPATH += /usr/include/libguytools2/' $srcdir/$_svnmod-build/guymager.pro || return 1
qmake -unix -o Makefile guymager.pro
sed -i s#-lproc#-lproc-3.2.8#g $srcdir/$_svnmod-build/Makefile || return 1
make || return 1
lrelease guymager.pro || return 1
install -d $pkgdir/etc/guymager/
install -m755 $srcdir/$_svnmod-build/guymager.cfg $pkgdir/etc/guymager/
install -d $pkgdir/usr/bin
install -m755 $srcdir/$_svnmod-build/guymager $pkgdir/usr/bin
install -d $pkgdir/usr/share/guymager/
install -m755 $srcdir/$_svnmod-build/splash.png $pkgdir/usr/share/guymager/
cp $srcdir/$_svnmod-build/guymager_*.qm $pkgdir/usr/share/guymager/
}
But there are some other problems:
[yannsen@kontor ~]$ guymager
Using default log file name /var/log/guymager.log
Log file error: Can't be opened
Di 11.Mai.2010 10:19:15 A88E8760 toollog.cpp t_Log 58 Info - Log file opened
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 254 Info - =================================================== Starting GUYMAGER ===================================================
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 255 Info - Version: 0.5.3beta1-1
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 256 Info - Compile timestamp: 2010-05-11-10.15.05
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 258 Info - System: Linux kontor 2.6.33-ARCH #1 SMP PREEMPT Sun May 2 10:40:03 CEST 2010 x86_64
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 262 Info - Libguytools version installed on this PC: 2.0.1
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 263 Info - Libewf version installed on this PC: 20091128
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 265 Info - Total amount of memory installed: 6116972 KB
Using default cfg file name /etc/guymager/guymager.cfg
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 314 Info - Pixmap splash.png not found, no splashscreen will be shown.
Di 11.Mai.2010 10:19:15 A88E8760 config.cpp CfgReadConfiguration 534 Info - MAC network hardware address: 0019DBF6E420
Di 11.Mai.2010 10:19:15 A88E8760 toolcfg.cpp ToolCfgReadCfgFile 799 Info - Scanning configuration file /etc/guymager/guymager.cfg (30108 bytes 11.04.110 10:15)
Di 11.Mai.2010 10:19:15 A88E8760 config.cpp CfgIniLang 561 Info - Parameter Language set to 'AUTO', switching to language 'de'
Di 11.Mai.2010 10:19:15 A88E8760 config.cpp CfgFontSaveAndNext 693 Info - Font object Menu: Requested: Arial Size 10 Weight 75 NoItalic
Di 11.Mai.2010 10:19:15 A88E8760 config.cpp CfgFontSaveAndNext 693 Info - Font object DialogDefault: Requested: Arial Size 10 Weight 75 NoItalic
Di 11.Mai.2010 10:19:15 A88E8760 config.cpp CfgDlgAcquireFieldEnd 1023 Info - No entry for field SplitFileSize found
Configuration error in file /etc/guymager/guymager.cfg line 302
Di 11.Mai.2010 10:19:15 A88E8760 toolcfg.cpp ToolCfgStdErrorHeader 247 Info - Configuration error in file line 19942622
[ENDTABLE]
Di 11.Mai.2010 10:19:15 A88E8760 toolcfg.cpp ToolCfgStdErrorHeader 252 Info - []
[^ ]
Di 11.Mai.2010 10:19:15 A88E8760 toolcfg.cpp ToolCfgStdErrorHeader 263 Info - [^ ]
ENDTABLE statement reached, but some table entries are missing (see log output above)
Di 11.Mai.2010 10:19:15 A88E8760 toolcfg.cpp ToolCfgScanTable 1734 Info - ENDTABLE statement reached, but some table entries are missing (see log output above)
Di 11.Mai.2010 10:19:15 A88E8760 config.cpp CfgReadConfiguration 540 Error - Error 10: TOOLCFG_ERROR_CONFIG_ERROR
Di 11.Mai.2010 10:19:15 A88E8760 main.cpp MainGo 323 Error - Error 10: TOOLCFG_ERROR_CONFIG_ERROR
Error in configuration file. See log file for details.
Last edited by yannsen (2010-05-11 08:22:01)
Offline
I'm way out of my league at this point- looks like something to do with the package itself.
--
JSkier
Offline
So.. I asked the maintainer of guymager about the problems and he gave me an idea.
Here are working packages of libguytools and guymager.
http://aur.archlinux.org/packages.php?ID=37146
http://aur.archlinux.org/packages.php?ID=37147
Offline
Works like a charm, good work
--
JSkier
Offline