--- binstats-1.08.orig/debian/changelog
+++ binstats-1.08/debian/changelog
@@ -0,0 +1,163 @@
+binstats (1.08-8) unstable; urgency=high
+
+ * Fixed call to mktemp (Closes: #303261)
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Tue, 5 Apr 2005 20:08:26 +0200
+
+binstats (1.08-7) unstable; urgency=low
+
+ * Adopting this package, as makejail Depends: on it (Closes: #292019)
+ * Updated Standard-Versions:
+ * Adjusted CFLAGS and LDFLAGS in debian/rules just in case
+ the binaries are built again
+ * Fixed binary-arch for the same reason, althoug the package remains
+ Arch: all
+ * Quote readlink calls (Closes: #218647)
+ * Add the package to the unused library list (Closes: #146465)
+ * Add a check to review which of the packages holding unused libraries
+ are not used at all.
+ * Redirect error output of the find call to /dev/null (in case it
+ finds dangling symlinks)
+ * Use mktemp instead of mkdir to prevent a race condition
+ * Change the script so BSLOG and BSLOGTMP are created before they are
+ used, this does not prevent some race conditions so don't run
+ this script in untrusted directories.
+ * Remove debugging output in Makefile, if present
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Sat, 26 Feb 2005 23:25:48 +0100
+
+binstats (1.08-6) unstable; urgency=low
+
+ * Orphaning.
+
+ -- Angel Ramos <seamus@debian.org> Mon, 24 Jan 2005 17:10:00 +0100
+
+binstats (1.08-5) unstable; urgency=low
+
+ * Fixed failures to find static linked executables (Closes: #124320).
+ * Fixed outputs error message for non-existence man directory
+ (Closes: #124323).
+ Thanks to Yamashita for patches :)
+
+ -- Angel Ramos <seamus@debian.org> Tue, 8 Jan 2002 17:17:00 +0100
+
+binstats (1.08-4) unstable; urgency=low
+
+ * Fixed unnecessary error messages display bug (Closes: #117928).
+
+ -- Angel Ramos <seamus@debian.org> Thu, 22 Nov 2001 10:57:21 +0100
+
+binstats (1.08-3) unstable; urgency=low
+
+ * New maintainer (Closes: #108347).
+
+ -- Angel Ramos <seamus@debian.org> Fri, 21 Sep 2001 15:09:31 +0100
+
+binstats (1.08-2) unstable; urgency=low
+
+ * Orphaning.
+ * Moved to debhelper 3.
+ * Conforms to Standards version 3.5.4.
+
+ -- Matej Vela <vela@debian.org> Wed, 2 May 2001 08:26:01 +0200
+
+binstats (1.08-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Matej Vela <vela@debian.org> Thu, 18 Jan 2001 23:55:55 +0100
+
+binstats (1.07-1) unstable; urgency=low
+
+ * New upstream version. Closes: Bug#57230.
+ * Uses readlink(1) from debianutils instead of having its own
+ derefsymlink(1). This makes the package `Architecture: all'.
+ * Uses mktemp(1) rather than tempfile(1) since the former is less
+ Debian specific.
+ * debian/copyright: Updated.
+ * Conforms to Standards version 3.2.1.
+
+ -- Matej Vela <vela@debian.org> Mon, 18 Dec 2000 04:21:34 +0100
+
+binstats (1.05-1) unstable; urgency=low
+
+ * New upstream version.
+ * Conforms to Standards version 3.1.1.
+
+ -- Matej Vela <vela@debian.org> Wed, 22 Dec 1999 15:24:06 +0100
+
+binstats (1.04-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Matej Vela <vela@debian.org> Wed, 17 Nov 1999 07:04:23 +0100
+
+binstats (1.03-1) unstable; urgency=low
+
+ * New upstream version. Closes: Bug#17881.
+ * binstats: Separating manual page names with `,' instead of `:'
+ since many of them contain `:' characters.
+ * debian/control: Updated the description. Added a dependancy on
+ bsdmainutils since binstats needs col(1).
+ * debian/copyright: Updated author's e-mail and the wording of the
+ license.
+
+ -- Matej Vela <vela@debian.org> Sat, 13 Nov 1999 19:42:57 +0100
+
+binstats (1.01-3) unstable; urgency=low
+
+ * New maintainer.
+ * binstats:
+ * Using the value of $TMPDIR if set.
+ * Securely creating temporary files with tempfile(1).
+ * Applied patch from Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>
+ correcting shared library filename patterns. Closes: Bug#46765.
+ * Added `-follow' to the invocation of find so that all programs
+ are accounted for. Closes: Bug#16157.
+ * Wrote binstats(1) and derefsymlink(1). Closes: Bug#39481.
+ * Conforms to Standards version 3.1.0:
+ * debian/control: Added build dependancies.
+ * debian/copyright: Corrected `/usr/doc/copyright/GPL' to
+ `/usr/share/common-licenses/GPL'.
+ * debian/rules: Using `-O2 -g -Wall' for CFLAGS.
+
+ -- Matej Vela <vela@debian.org> Fri, 5 Nov 1999 12:01:45 +0100
+
+binstats (1.01-2) unstable; urgency=low
+
+ * Updated to Standards-Version: 3.0.1.1.
+
+ -- Johnie Ingram <johnie@debian.org> Sat, 18 Sep 1999 03:36:10 -0500
+
+binstats (1.01-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Johnie Ingram <johnie@debian.org> Thu, 5 Feb 1998 11:29:35 -0500
+
+binstats (1.00-3) unstable; urgency=low, closes=16984
+
+ * Added patch from David Rocher so it understands new-style ldd output
+ (#16984) and counts libc6 binaries correctly.
+ * Updated to Standards-Version 2.4.0.0.
+ * No longer uses the deprecated dh_installdebfiles program.
+ * Added (useless) manpage.
+
+ -- Johnie Ingram <johnie@debian.org> Thu, 5 Feb 1998 11:03:53 -0500
+
+binstats (1.00-2) unstable; urgency=low, closes=15437
+
+ * Debian changelog is now compressed (#15437).
+ * Switched from debmake to debhelper packaging technology.
+
+ -- Johnie Ingram <johnie@debian.org> Sat, 29 Nov 1997 00:45:03 -0500
+
+binstats (1.00-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Johnie Ingram <johnie@debian.org> Thu, 13 Nov 1997 21:17:32 -0500
+
+Local variables:
+mode: debian-changelog
+End:
--- binstats-1.08.orig/debian/control
+++ binstats-1.08/debian/control
@@ -0,0 +1,21 @@
+Source: binstats
+Section: utils
+Priority: optional
+Maintainer: Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
+Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 3)
+
+Package: binstats
+Architecture: all
+Depends: bsdmainutils, debianutils (>= 1.13.1), file
+Description: Statistics tool for installed programs
+ A utility to aid the tidying up of binaries, interpreted scripts, and
+ dynamic libraries. It can find the number and identity of a.out and
+ ELF binaries, plus their debugging symbols status, setuid status, and
+ dynamic library dependence. It can count the number of Java bytecode
+ programs, tally up the main types of scripts, and look for unidentified
+ executable text files.
+ .
+ Also it is able to find any duplicated executable names, unused
+ libraries, binaries with missing libraries, statically linked binaries,
+ and duplicated manual page names.
--- binstats-1.08.orig/debian/rules
+++ binstats-1.08/debian/rules
@@ -0,0 +1,54 @@
+#! /usr/bin/make -f
+
+export DH_COMPAT := 3
+export CFLAGS="-O2 -g -Wall"
+export LDFLAGS=""
+
+clean:
+ dh_testdir
+ dh_testroot
+ dh_clean
+ make clean
+
+build:
+ make
+
+binary: binary-indep
+
+binary-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean
+ dh_installdirs usr/bin
+ cp -p binstats debian/binstats/usr/bin
+ dh_installdocs README
+ dh_installman binstats.1
+ dh_installchangelogs
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+ dh_installdirs usr/bin usr/share/man/man1
+ make install DESTBIN=`pwd`/debian/binstats/usr/bin \
+ DESTMAN=`pwd`/debian/binstats/usr/share/man/man1
+ cp -p binstats debian/binstats/usr/bin
+ dh_installdocs README
+ dh_installman binstats.1
+ dh_installchangelogs
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+.PHONY: clean build binary binary-arch binary-indep
--- binstats-1.08.orig/debian/copyright
+++ binstats-1.08/debian/copyright
@@ -0,0 +1,20 @@
+Upstream sources of binstats were obtained from
+<http://www.nottingham.ac.uk/~etzpc/binstats.html>. It was modified to
+use readlink(1) from the debianutils package rather than its own
+derefsymlink utility.
+
+The original author is Peter Chang <Peter.Chang@nottingham.ac.uk>.
+
+binstats was packaged for Debian by Johnie Ingram <johnie@debian.org>,
+and subsequently maintained by Matej Vela <vela@debian.org>.
+Now the new maintainer of the package is Angel Ramos <seamus@debian.org>.
+
+ PS binstats is released under the GPL and as such the usual licence
+ conditions and lack of warranty apply.
+
+The Debian packaging is copyright (C) 1997-1998 Johnie Ingram,
+(C) 1999-2001 Matej Vela, and also released under the terms of the GNU
+General Public License; version 2, or any later version.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL.