contrib/chntpw/Pkgfile

20 lines
536 B
Plaintext
Raw Normal View History

2017-01-13 00:43:07 +01:00
# Description: Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.
2018-02-21 12:40:32 +01:00
# URL: http://pogostick.net/~pnh/ntpasswd/
2023-03-03 17:26:39 +01:00
# Maintainer: John McQuah, jmcquah at disroot dot org
2017-01-13 00:43:07 +01:00
name=chntpw
version=140201
release=1
2023-01-29 00:39:21 +01:00
source=(http://pogostick.net/~pnh/ntpasswd/$name-source-$version.zip)
2017-01-13 00:43:07 +01: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
}