#!/bin/sh
VERSION=7.94
tar --files-from=file.list -xjvf ../nmap-$VERSION.tar.bz2
mv nmap-$VERSION nmap-$VERSION-orig
cp -rf ./nmap-$VERSION-new ./nmap-$VERSION
diff --unified -Nr nmap-$VERSION-orig nmap-$VERSION > nmap-$VERSION-http-digest.patch
mv nmap-$VERSION-http-digest.patch ../patches
rm -rf ./nmap-$VERSION
rm -rf ./nmap-$VERSION-orig