[diffoscope] 01/01: Add FreeBSD packages for required tools

Mattia Rizzolo mattia at debian.org
Tue May 31 16:05:19 CEST 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository diffoscope.

commit 2964df9605ce8501fd8c2701fe2ff389b1f60b34
Author: Ed Maste <emaste at freebsd.org>
Date:   Tue May 31 14:05:05 2016 +0000

    Add FreeBSD packages for required tools
---
 diffoscope/__init__.py | 50 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 34 insertions(+), 16 deletions(-)

diff --git a/diffoscope/__init__.py b/diffoscope/__init__.py
index 438c40c..8509e2b 100644
--- a/diffoscope/__init__.py
+++ b/diffoscope/__init__.py
@@ -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):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list