#!/bin/sh
VERSION=2.4.51
tar --files-from=file.list -xjvf ../httpd-$VERSION.tar.bz2
mv httpd-$VERSION httpd-$VERSION-orig
cp -rf ./httpd-$VERSION-new ./httpd-$VERSION
diff --unified -Nr httpd-$VERSION-orig httpd-$VERSION > httpd-$VERSION-radix-layout.patch
mv httpd-$VERSION-radix-layout.patch ../patches
rm -rf ./httpd-$VERSION
rm -rf ./httpd-$VERSION-orig