NEW: ophcrack port

Daniel J. Luke dluke at geeklair.net
Thu Dec 7 07:03:06 PST 2006


On Dec 7, 2006, at 4:36 AM, Cédric Luthi wrote:
> I have written a port for ophcrack, a windows password cracker. See  
> http://trac.macports.org/projects/macports/ticket/11114
>
> Ophcrack doesn't work on powerpc machines, I think it's because of  
> endianness issues. I have written a post-main (see http:// 
> trac.macports.org/projects/macports/attachment/ticket/11114/ 
> Portfile) that checks for intel processor and exits with an error  
> if it fails. Is it a good idea ? Is there a better/standard way to  
> deal with port supporting only specific architectures ?

You can use the platform variants:

platform powerpc {
	stuff that only gets run on PPC machines
}

platform i386 {
	stuff that only gets run on i386 machines
}

Macports (base) will automatically run the variant that matches the  
machine it's running on.
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20061207/f9551313/PGP.bin


More information about the macports-dev mailing list