summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-22 20:58:18 +0000
committerng0 <ng0@n0.is>2019-02-22 21:13:31 +0000
commit08224fdd4b65c02411e790ba4c43e8bf0782ceff (patch)
tree04abe264edca2b150efc77427a1eb4b1b60fefa9 /contrib
parente78436c9fb799ac8bd19b0c6d3ffa0629aaa7936 (diff)
gnunet-bugreport: add checks for pkg_add, some fixes
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/scripts/gnunet-bugreport26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/scripts/gnunet-bugreport b/contrib/scripts/gnunet-bugreport
index f17cb7636..e7d9caa7e 100755
--- a/contrib/scripts/gnunet-bugreport
+++ b/contrib/scripts/gnunet-bugreport
@@ -24,6 +24,22 @@ else
echo "gcc : Not Found";
fi
+TEST=`$WHICH cc 2>/dev/null`
+if test -n "$TEST"; then
+ VERS=`cc --version 2>/dev/null | head -n 1`
+ echo "cc : $VERS"
+else
+ echo "cc : Not Found";
+fi
+
+TEST=`$WHICH c++ 2>/dev/null`
+if test -n "$TEST"; then
+ VERS=`c++ --version 2>/dev/null | head -n 1`
+ echo "c++ : $VERS"
+else
+ echo "c++ : Not Found";
+fi
+
TEST=`$WHICH gmake 2>/dev/null`
if test -n "$TEST" ; then
gmake --version 2>/dev/null |\
@@ -176,6 +192,16 @@ else
fi
fi
+TEST=`$WHICH pkg_add 2> /dev/null`
+if test -n "$TEST"; then
+ VERSION_UNISTRING=`pkg_info -Nb libunistring`
+ VERSION_GMP=`pkg_info -Nb gmp`
+ echo "libunistring :"
+ echo "$VERSION_UNISTRING"
+ echo "GMP :"
+ echo "$VERSION_GMP"
+fi
+
TEST=`$WHICH gettext 2> /dev/null`
if test -n "$TEST"; then
gettext --version | head -n1 2> /dev/null | \