|--==> "Hrvoje" == Hrvoje Niksic <hniksic(a)arsdigita.com> writes:
Hrvoje> Steve Youngs <youngs(a)xemacs.org> writes:
>Personally, I blame GNU/tar. Try doing this:
>
>tar cvzf test.tar.gz /some/directory/
>md5sum test.tar.gz > test.md5
>rm test.tar.gz
>tar cvzf test.tar.gz /some/directory/
>md5sum test.tar.gz >> test.md5
>cat test.md5
Hrvoje> The problem is that `gzip' "helpfully" adds a timestamp to the
file,
Hrvoje> even it is completely unneeded for TAR files which keep their own
Hrvoje> timestamp information. Hopefully, there is a flag that removes this.
Hrvoje> So if I try:
Hrvoje> tar cf - test-dir | gzip -cn > x.tar.gz
Hrvoje> tar cf - test-dir | gzip -cn > y.tar.gz
Hrvoje> ...the files are the same.
Hrvoje> Does this work for you?
Yes. Lets put that logic into the package build process. It's on my
todo list which means I'll get to it, eventually. :-)
Thanks Hrvoje.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|