Package Details: meanalyzer-git 1.283.3.r336.r0.g9c6f2a89-1

Git Clone URL: https://aur.archlinux.org/meanalyzer-git.git (read-only, click to copy)
Package Base: meanalyzer-git
Description: Intel Management Engine firmware analysis tool
Upstream URL: https://github.com/platomav/MEAnalyzer
Keywords: analyzer firmware intel-me reverse-engineering
Licenses: custom
Conflicts: meanalyzer
Provides: meanalyzer
Submitter: gavinhungry
Maintainer: saruman9
Last Packager: saruman9
Votes: 4
Popularity: 0.000000
First Submitted: 2018-01-08 19:35 (UTC)
Last Updated: 2023-10-31 14:58 (UTC)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

swiftgeek commented on 2019-08-13 12:41 (UTC) (edited on 2019-08-13 12:49 (UTC) by swiftgeek)

https://github.com/platomav/PTable/archive/boxchar.zip is 404 now, and boxchar branch is gone as well

egrupled commented on 2019-06-17 14:32 (UTC) (edited on 2019-06-17 17:08 (UTC) by egrupled)

python-huffman11-git package doesn't work. You have to use https://github.com/platomav/MEAnalyzer/blob/master/Huffman.dat from upstream and patch it's location similarly to MEA.dat. Below is modified db-location.patch:

--- MEA.py
+++ MEA.py
@@ -6236,7 +6236,7 @@
    HUFFMAN_SYMBOLS = {}
    HUFFMAN_UNKNOWNS = {}
    mapping_types = {'code' : 0x20, 'data' : 0x60}
-   huffman_dict = os.path.join(mea_dir, 'Huffman.dat')
+   huffman_dict = '/usr/lib/meanalyzer/Huffman.dat'

    # Check if Huffman dictionary version is supported
    if (cse_variant, cse_major) in [('CSME', 11), ('CSSPS', 4)] : dict_version = 11
@@ -7110,7 +7110,7 @@
 arg_num = len(sys.argv)

 # Set dependencies paths
-db_path = os.path.join(mea_dir, 'MEA.dat')
+db_path = '/usr/lib/meanalyzer/MEA.dat'

 # Check if dependencies exist
 depend_db = os.path.isfile(db_path)

PKGBUILD changes:

package() {
  cd "${srcdir}/PTable-boxchar"
  python setup.py install --root="$pkgdir/" --optimize=1

  cd "${srcdir}/${pkgname}"
  install -Dm644 MEA.dat "${pkgdir}"/usr/lib/meanalyzer/MEA.dat
  install -Dm644 Huffman.dat "${pkgdir}"/usr/lib/meanalyzer/Huffman.dat
  install -Dm755 MEA.py "${pkgdir}"/usr/bin/meanalyzer
}

You can test it with: meanalyzer <file> -skip -exit -unp86 -ver86 -bug86

fox8091 commented on 2019-06-16 21:50 (UTC)

@egrupled I've confirmed python-prettytable isn't needed, and I'll drop it in the next update. Before I do though, can you confirm python-huffman11-git isn't needed anymore?

egrupled commented on 2019-06-16 14:30 (UTC)

@fox8091 python-prettytable and python-huffman11-git aren't needed for this package. Please drop them.

fox8091 commented on 2019-03-16 00:30 (UTC)

Should be working again with the latest upstream. Let me know if anything is still broken.

m3thodic commented on 2018-09-26 19:03 (UTC)

Latest update (1.61.1.r139.r0.gdace159-1): http://libpcap.net/meanalyzer-git.tar.gz

Thanks!

egrupled commented on 2018-09-10 12:15 (UTC)

This package is broken currently, here's working version:

PKGBUILD:

# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>

pkgname=meanalyzer-git
pkgver=1.61.0.r137.r0.g7e4f078
pkgrel=1
pkgdesc='Intel Management Engine firmware analysis tool'
arch=('any')
url='https://github.com/platomav/MEAnalyzer'
license=('GPL3')
depends=('python-colorama' 'python-huffman11-git')
makedepends=('dos2unix' 'git')
source=("${pkgname}::git+${url}.git"
        'db-location.patch'
        'https://github.com/platomav/PTable/archive/boxchar.zip')
sha256sums=('SKIP'
            'f575f74f474360041f761889e269372e551d78843af4cc5fb8f1eeb2bcb4969b'
            'd8783384fa8e2d84bbd641cf01438f40b29fecf88d79340551789b435333e8b4')

pkgver() {
  cd "${srcdir}/${pkgname}"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
  cd "${srcdir}/${pkgname}"
  patch -p0 --binary < ../db-location.patch
  dos2unix MEA.py
}

package() {
  cd "${srcdir}/PTable-boxchar"
  python setup.py install --root="$pkgdir/" --optimize=1

  cd "${srcdir}/${pkgname}"
  install -Dm644 MEA.dat "${pkgdir}"/usr/lib/meanalyzer/MEA.dat
  install -Dm755 MEA.py "${pkgdir}"/usr/bin/meanalyzer
}

db-location.patch:

--- MEA.py
+++ MEA.py
@@ -5074,7 +5074,7 @@
 arg_num = len(sys.argv)

 # Set dependencies paths
-db_path = os.path.join(mea_dir, 'MEA.dat')
+db_path = '/usr/lib/meanalyzer/MEA.dat'

 # Check if dependencies exist
 depend_db = os.path.isfile(db_path)