Building Ubuntu Packages

Bruce Allen with the Navy Postgraduate School released hashdb 3.0 adding some great improvements for block hashing. My block hunting is mainly done on virtualized Ubuntu so I decided it was time to build a hashdb package. Figured I would document the steps as they could be used for the SANS SIFT, REMnux and many other great Ubuntu distributions too. 
1) Ubuntu 64-bit Server 16.04.1 hashdb Package Requirements
sudo apt-get install git autoconf build-essential libtool swig devscripts dh-make python-dev zlib1g-dev libssl-dev libewf-dev libbz2-dev libtool-bin
2) Download hashdb from GitHub
3) Verify hashdb Version
cat hashdb/configure.ac | more









4) Rename hashdb Folder with Version Number
mv hashdb hashdb-3.0.0
5) Enter hashdb Folder
cd hashdb-3.0.0
6) Bootstrap GitHub Download
./bootstrap.sh
7) Configure hashdb Package
./configure
8) Make hashdb Package with a Valid Email Address for the Maintainer
dh_make -s -e email@example.com –packagename hashdb –createorig
9) Build hashdb Package
debuild -us -uc
                                  
10) Install hashdb
dpkg -i hashdb_3.0.0-1_amd64.deb
Alternatively, if you just wanted to try the new version of hashdb, I have setup a limited hosted package repository at packagecloud.io for Ubuntu 64-bit Server 16.04.1.
1) Add hashdb Repository
2)  Install hashdb
sudo apt-get install hashdb
John Lukach