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/
|
2023-03-03 11:26:39 -05:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2017-01-13 10:43:07 +11:00
|
|
|
|
|
|
|
name=chntpw
|
|
|
|
version=140201
|
|
|
|
release=1
|
2023-01-28 18:39:21 -05:00
|
|
|
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
|
|
|
|
}
|