sysutils/gpart: deprecated port, anyone interested?

Rainer Hurling rhurlin at
Thu Mar 17 06:49:28 UTC 2011

Hey Matthias,

thanks for taking this up.

Am 17.03.2011 01:09 (UTC+1) schrieb Matthias Andree:
> On Wed, Mar 16, 2011 at 08:00:17PM +0100, Rainer Hurling wrote:
>> gpart in sysutils/gpart stands for 'guess partitions'. Its an old, but
>> very useful tool for repairing partitions. Unfortunately it does not
>> work on amd64.
> I've added two patches to make it work on amd64, bumped the expiration
> date and port revision (to 2), but I'm not sure if it can detect all
> relevant partition types yet.  It detects my BSD UFS partitions, but not
> my Windows 7 NTFS partitions, and it would probably also need ZFS
> detection.

I can confirm that it builds and install on amd64 again.

Newer partition types are not known to sysutils/gpart. For me it is a 
useful tools to repair (older) servers with Win2000 or something like 
that. In some cases it was the only tool, which was able to reconstruct 
destroyed partition tables.

>> If someone is willing to update the port: I have an original tarball
>> 'gpart-0.1h.tar.gz'. It would need a new home ;-)
> Is that tarball different from what's on sunsite and currently fetched
> by the port?

I compared it against my old distfile and all seems fine:

ls -l old/gpart-0.1h.tar.gz new/gpart-0.1h.tar.gz
52357 15 Feb 19:24:06 2001 old/gpart-0.1h.tar.gz
52357 15 Feb 19:24:06 2001 new/gpart-0.1h.tar.gz

SHA256 (old/gpart-0.1h.tar.gz) = 
SHA256 (new/gpart-0.1h.tar.gz) = 

The updated port is still marked as deprecated. Do you plan to change 
this back?


> Best regards
> Matthias

More information about the freebsd-ports mailing list