aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bsd-setup.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-20Drop JSON-GLib completelyPeter Wu1-4/+0
JSON-GLib was added in v2.9.0rc0-201-g511c2e166a, but is no longer necessary since we have a home-grown JSON dumper (wsutil/json_dumper.h). Remove the remaining traces and additionally remove GObject from FindGLIB2.cmake since it was only added for JSON-GLib. Change-Id: If9dfd2c60cec130f98109d100bdb6618bde06ba0 Reviewed-on: https://code.wireshark.org/review/30733 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-21Use the standard test/[ command.Guy Harris1-1/+1
We use it elsewhere; use it here, as FreeBSD's /bin/sh doesn't support [[ as a test operator. Change-Id: I183b10cc6f4aceec9725027474848061e8ea4fd9 Reviewed-on: https://code.wireshark.org/review/29232 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21Don't assume Bash.Guy Harris1-3/+3
At least on my OpenBSD 6.3 VM, there's no Bash installed; just use /bin/sh. Fix two places that use csh-style ">& /dev/null" to use "> /dev/null 2>&1" instead. Change-Id: I48656c47e89b3ad09f3c2d9e3c90dfad7afabb71 Reviewed-on: https://code.wireshark.org/review/29214 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21Fix search for pkg-config on FreeBSD.Guy Harris1-1/+22
1) At least with FreeBSD's "pkg search", the search does *not* do a prefix match, so if you look for "pkg-config", you can find packages whose name is *not* pkg-config but that has "pkg-config" in the middle of the name. This means that we think we have a "pkg-config" package, but we don't, and fail when we try to install it. So we force a prefix match. 2) FreeBSD 11 doesn't have a "pkg-config" packate, but has a "pkgconf" package. If we don't find "pkg-config", look for "pkgconf". Change-Id: Iad5ef9d5630981958830c03e4cb90fe2d01ce1d0 Reviewed-on: https://code.wireshark.org/review/29213 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-21Bash is not guaranteed to be in /usr/pkg/bin/bash.Guy Harris1-1/+1
On my FreeBSD 11 VM, it's the standard FreeBSD package, which installs it in /usr/local/bin/bash. Change-Id: Ic6427a88efd963de8909a2d333c2c3bf8586e559 Reviewed-on: https://code.wireshark.org/review/29211 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-06-04tools: add bsd-setup.sh.Dario Lombardo1-0/+153
Change-Id: I342f13b962e97fb1429472c315e1ca35b5a9ffc6 Reviewed-on: https://code.wireshark.org/review/27863 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>