contrib/chntpw/Pkgfile

21 lines
608 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/
2017-01-13 00:43:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
name=chntpw
version=140201
release=1
2018-01-31 13:31:02 +01: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 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
}