5 kx #!/bin/sh
5 kx
5 kx VERSION=5.2
5 kx
5 kx tar --files-from=file.list -xJvf ../tftp-hpa-$VERSION.tar.xz
5 kx mv tftp-hpa-$VERSION tftp-hpa-$VERSION-orig
5 kx
5 kx cp -rf ./tftp-hpa-$VERSION-new ./tftp-hpa-$VERSION
5 kx
5 kx diff --unified -Nr tftp-hpa-$VERSION-orig tftp-hpa-$VERSION > tftp-hpa-$VERSION-strcpy-crash.patch
5 kx
5 kx mv tftp-hpa-$VERSION-strcpy-crash.patch ../patches
5 kx
5 kx rm -rf ./tftp-hpa-$VERSION
5 kx rm -rf ./tftp-hpa-$VERSION-orig