From e39a3565e51202191ce904c639d1b0e28b41b1ed Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Sat, 25 Dec 2010 16:47:09 +0100 Subject: [PATCH] check-symbols: List all required tools. --- check-symbols | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/check-symbols b/check-symbols index 3ec8aab..c0a0a03 100755 --- a/check-symbols +++ b/check-symbols @@ -21,6 +21,13 @@ # This script is used to get a diff of the exported symbols of all .so files in # every binary package of package $1. +# Required tools (besides awk, coreutils, grep and sed): +# * apt-cache and apt-get (from apt) +# * diff (from diffutils) +# * dpkg +# * lsb_release (from lsb-release) +# * nm (from binutils) + DISTRO=$(lsb_release -c -s) VERSION=$(apt-cache madison "$1" | grep -- "$DISTRO"'/.*Sources$' | awk '{print $3}') PACKAGES=$(apt-cache showsrc "$1" | grep-dctrl -s Binary -F Version "$VERSION" | sed 's/Binary\:\ //g;s/\,//g' | sort -u)