#!/bin/sh
VERSION=3.14
tar --files-from=file.list -xzvf ../libnet-$VERSION.tar.gz
mv libnet-$VERSION libnet-$VERSION-orig
cp -rf ./libnet-$VERSION-new ./libnet-$VERSION
diff --unified -Nr libnet-$VERSION-orig libnet-$VERSION > libnet-$VERSION-not-create-cfg.patch
mv libnet-$VERSION-not-create-cfg.patch ../patches
rm -rf ./libnet-$VERSION
rm -rf ./libnet-$VERSION-orig