5 kx #!/bin/sh
5 kx
5 kx VERSION=7.6
5 kx
5 kx tar --files-from=file.list -xzvf ../tcp_wrappers_$VERSION.tar.gz
5 kx ( cd tcp_wrappers_$VERSION ; chmod +w * )
5 kx mv tcp_wrappers_$VERSION tcp_wrappers_$VERSION-orig
5 kx
5 kx cp -rf ./tcp_wrappers_$VERSION-new ./tcp_wrappers_$VERSION
5 kx
5 kx diff --unified -Nr tcp_wrappers_$VERSION-orig tcp_wrappers_$VERSION > tcp_wrappers_$VERSION.patch
5 kx
5 kx mv tcp_wrappers_$VERSION.patch ../patches
5 kx
5 kx rm -rf ./tcp_wrappers_$VERSION
5 kx rm -rf ./tcp_wrappers_$VERSION-orig