tweak check-symbols to use .old/.new instead of .1/.2 which is confusing when reading .so names. :)

This commit is contained in:
Kees Cook 2008-03-06 11:03:51 -08:00
commit 85ab708f3d
2 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ do
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
do
LIBNAME=$(basename $lib);
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.1;
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.old;
done;
DEBLINE="$DEBLINE $DEBDIR/$pack*.deb ";
done
@ -58,9 +58,9 @@ do
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
do
LIBNAME=$(basename $lib);
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.2;
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.new;
echo "Checking: $lib";
diff -u /tmp/$LIBNAME.{1,2};
rm /tmp/$LIBNAME.{1,2};
diff -u /tmp/$LIBNAME.{old,new};
rm /tmp/$LIBNAME.{old,new};
done;
done

4
debian/copyright vendored
View File

@ -20,14 +20,14 @@ Upstream Authors:
Copyright:
Canonical Ltd. 2006-2007
Canonical Ltd. 2006-2008
Albert Damen <albrt@gmx.net> 2007
Albin Tonnerre <lut1n.tne@gmail.com> 2006-2007
Daniel Holbach <daniel.holbach@ubuntu.com> 2006-2007
Luke Yelavich <themuso@ubuntu.com> 2006-2007
Martin Pitt <martin.pitt@ubuntu.com> 2007
Michael Bienia <geser@ubuntu.com> 2006-2007
Kees Cook <kees@ubuntu.com> 2006-2007
Kees Cook <kees@ubuntu.com> 2006-2008
Pete Savage <petesavage@ubuntu.com> 2006-2007
Siegfried-A. Gevatter <rainct@ubuntu.com> 2007-2008
Terence Simpson <stdin@stdin.me.uk> 2007