Portfile

# $Id$

PortSystem 1.0
name samdump2
version 1.0.1
categories security
maintainers cedric.luthi@gmail.com
description Dump Windows 2k/NT/XP password hashes
long_description samdump2 is a tool for dumping Windows 2k/NT/XP \
password hashes.

homepage http://www.studenti.unina.it/~ncuomo/syskey/
master_sites ${homepage}
checksums md5 c0e1e05467e9eceb096c002f859a5283 \
sha1 e1da5cfad32cb4103bb695fcc981e949145c9a19 \
rmd160 ed4b501e7e6604ca0f3e76504963e5f3be1c011b

use_configure no
patchfiles patch-Makefile patch-samdump2.cpp
pre-patch {
# Convert Makefile from CRLF to LF line ending in order patch to work
reinplace "s/\r$//g" ${worksrcpath}/Makefile
}

files