blob: a00696141523dac0c58d4aedf47c4d1f04f14323 (
plain)
1 # Description: Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.
2 # URL: http://pogostick.net/~pnh/ntpasswd/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=chntpw
6 version=140201
7 release=1
8 source=(http://crux.ster.zone/downloads/$name/$name-source-$version.zip)
9 #source=(http://pogostick.net/~pnh/ntpasswd/$name-source-$version.zip)
10
11 build() {
12 cd $name-$version
13
14 sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile
15
16 make chntpw cpnt reged samusrgrp sampasswd
17
18 install -d $PKG/usr/bin
19 install -m 0755 -t $PKG/usr/bin chntpw cpnt reged samusrgrp sampasswd
20 }
|