Difference between tarball from ports and from git-archive

David Griffith dave at 661.org
Tue Mar 31 05:12:01 UTC 2020


As I work on updating ports/games/frotz, I noticed that the file size for 
the distribution tarball deposited in /usr/ports/distfiles is different 
than what I get when using git-archive(1).

What I get from git-archive(1) is exactly what I get from 
https://gitlab.com/DavidGriffith/frotz/-/releases/2.51, and NetBSD. 
Furthermore, when gunzipped, the uncompressed tar files all are 1484800 
bytes long, but the FreeBSD one has a different hash than do the others. 
When all these tar files are unpacked and checked with diff -ru, I'm told 
that they're all exactly the same.  What's going on here?


$ ls -l
total 1376
-rw-r--r-- 1 dave dave 350429 Mar 30 21:15 frotz-2.51.tar.gz.freebsd
-rw-r--r-- 1 dave dave 350626 Mar 30 21:39 frotz-2.51.tar.gz.gitlab
-rw-r--r-- 1 dave dave 350626 Mar 30 21:40 frotz-2.51.tar.gz.main
-rw-r--r-- 1 dave dave 350626 Mar 30 21:54 frotz-2.51.tar.gz.netbsd

6e62a6b41736186f6a71952af950455e  frotz-2.51.tar.gz.freebsd
49f4d1dd64315200b9923d72c2a6d082  frotz-2.51.tar.gz.gitlab
49f4d1dd64315200b9923d72c2a6d082  frotz-2.51.tar.gz.main
49f4d1dd64315200b9923d72c2a6d082  frotz-2.51.tar.gz.netbsd



-- 
David Griffith
dave at 661.org

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


More information about the freebsd-ports mailing list