1
0
forked from ports/contrib

21 lines
608 B
Plaintext
Raw Normal View History

2017-01-13 10:43:07 +11:00
# Description: Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.
2018-02-21 22:40:32 +11:00
# URL: http://pogostick.net/~pnh/ntpasswd/
2017-01-13 10:43:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
name=chntpw
version=140201
release=1
2018-01-31 23:31:02 +11:00
source=(http://crux.ster.zone/downloads/$name/$name-source-$version.zip)
#source=(http://pogostick.net/~pnh/ntpasswd/$name-source-$version.zip)
2017-01-13 10:43:07 +11:00
build() {
cd $name-$version
sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile
make chntpw cpnt reged samusrgrp sampasswd
install -d $PKG/usr/bin
install -m 0755 -t $PKG/usr/bin chntpw cpnt reged samusrgrp sampasswd
}