Verified Commit 2964df96 authored by Ed Maste's avatar Ed Maste Committed by Mattia Rizzolo

Add FreeBSD packages for required tools

parent cadf38e4
......@@ -36,6 +36,7 @@ ch.setFormatter(formatter)
OS_NAMES = { 'arch': 'Arch Linux'
, 'debian': 'Debian'
, 'FreeBSD': 'FreeBSD'
}
class RequiredToolNotFound(Exception):
......@@ -43,7 +44,8 @@ class RequiredToolNotFound(Exception):
, 'arch': 'bzip2' }
, 'cbfstool': {}
, 'cd-iccdump': { 'debian': 'colord'
, 'arch': 'colord' }
, 'arch': 'colord'
, 'FreeBSD': 'colord' }
, 'cmp': { 'debian': 'diffutils'
, 'arch': 'diffutils' }
, 'cpio': { 'debian': 'cpio'
......@@ -59,54 +61,70 @@ class RequiredToolNotFound(Exception):
, 'getfacl': { 'debian': 'acl'
, 'arch': 'acl' }
, 'ghc': { 'debian': 'ghc'
, 'arch': 'ghc' }
, 'arch': 'ghc'
, 'FreeBSD': 'ghc' }
, 'gpg': { 'debian': 'gnupg'
, 'arch': 'gnupg' }
, 'arch': 'gnupg'
, 'FreeBSD': 'gnupg' }
, 'gzip': { 'debian': 'gzip'
, 'arch': 'gzip' }
, 'img2txt': { 'debian': 'caca-utils'
, 'arch': 'libcaca' }
, 'arch': 'libcaca'
, 'FreeBSD': 'libcaca' }
, 'isoinfo': { 'debian': 'genisoimage'
, 'arch': 'cdrkit' }
, 'arch': 'cdrkit'
, 'FreeBSD': 'cdrtools' }
, 'javap': { 'debian': 'default-jdk | java-sdk'
, 'arch': 'java-environment' }
, 'ls': { 'debian': 'coreutils'
, 'arch': 'coreutils' }
, 'lsattr': { 'debian': 'e2fsprogs'
, 'arch': 'e2fsprogs' }
, 'arch': 'e2fsprogs'
, 'FreeBSD': 'e2fsprogs'}
, 'msgunfmt': { 'debian': 'gettext'
, 'arch': 'gettext' }
, 'arch': 'gettext'
, 'FreeBSD': 'gettext-tools' }
, 'objdump': { 'debian': 'binutils-multiarch'
, 'arch': 'binutils' }
, 'pdftk': { 'debian': 'pdftk' }
, 'pdftk': { 'debian': 'pdftk'
, 'FreeBSD': 'pdftk'
, 'pdftotext': { 'debian': 'poppler-utils'
, 'arch': 'poppler' }
, 'arch': 'poppler'
, 'FreeBSD': 'poppler-utils' }
, 'pedump': { 'debian': 'mono-utils'
, 'arch': 'mono-tools' }
, 'arch': 'mono-tools'
, 'FreeBSD': 'mono' }
, 'ppudump': { 'debian': 'fp-utils'
, 'arch': 'fpc' }
, 'arch': 'fpc'
, 'FreeBSD': 'fpc' }
, 'ps2ascii': { 'debian': 'ghostscript'
, 'arch': 'ghostscript' }
, 'FreeBSD': 'ghostscript9-base' }
, 'readelf': { 'debian': 'binutils-multiarch'
, 'arch': 'binutils' }
, 'rpm2cpio': { 'debian': 'rpm2cpio'
, 'arch': 'rpmextract' }
, 'arch': 'rpmextract'
, 'FreeBSD': 'rpm2cpio' }
, 'showttf': { 'debian': 'fontforge-extras' }
, 'sng': { 'debian': 'sng' }
, 'stat': { 'debian': 'coreutils'
, 'arch': 'coreutils' }
, 'sqlite3': { 'debian': 'sqlite3'
, 'arch': 'sqlite' }
, 'arch': 'sqlite'
, 'FreeBSD': 'sqlite3' }
, 'tar': { 'debian': 'tar'
, 'arch': 'tar' }
, 'unsquashfs': { 'debian': 'squashfs-tools'
, 'arch': 'squashfs-tools' }
, 'arch': 'squashfs-tools'
, 'FreeBSD': 'squashfs-tools' }
, 'xxd': { 'debian': 'vim-common'
, 'arch': 'vim' }
, 'arch': 'vim'
, 'FreeBSD': 'vim | vim-lite' }
, 'xz': { 'debian': 'xz-utils'
, 'arch': 'xz' }
, 'zipinfo': { 'debian': 'unzip'
, 'arch': 'unzip' }
, 'arch': 'unzip'
, 'FreeBSD': 'unzip' }
}
def __init__(self, command):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment