pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chntpw: import version 140201



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Mon Feb 10 06:26:27 2020 +0100
Changeset:	5e8314210d20756f6da278005c112f2f9301e6e6

Modified Files:
	Makefile
Added Files:
	chntpw/DESCR
	chntpw/Makefile
	chntpw/PLIST
	chntpw/distinfo

Log Message:
chntpw: import version 140201

This is a utility to reset the password of any user that has a valid local
account on your Windows system.

It supports all Windows from NT3.5 to Win8.1, also 64 bit and also the Server
versions (like 2003, 2008, 2012)

Knowing the old password is not needed to set a new one.

It will detect and offer to unlock locked or disabled out user accounts!

There is also a registry editor and other registry utilities that works under
linux/unix, and can be used for other things than password editing.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e8314210d20756f6da278005c112f2f9301e6e6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile        |  1 +
 chntpw/DESCR    | 12 ++++++++++++
 chntpw/Makefile | 37 +++++++++++++++++++++++++++++++++++++
 chntpw/PLIST    | 16 ++++++++++++++++
 chntpw/distinfo |  6 ++++++
 5 files changed, 72 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d54cb29c13..2dce160249 100644
--- a/Makefile
+++ b/Makefile
@@ -384,6 +384,7 @@ SUBDIR+=	chems
 SUBDIR+=	cherokee
 SUBDIR+=	chezscheme
 SUBDIR+=	chibi-scheme
+SUBDIR+=	chntpw
 SUBDIR+=	choosefont
 SUBDIR+=	chora
 SUBDIR+=	chromium
diff --git a/chntpw/DESCR b/chntpw/DESCR
new file mode 100644
index 0000000000..6246512a09
--- /dev/null
+++ b/chntpw/DESCR
@@ -0,0 +1,12 @@
+This is a utility to reset the password of any user that has a valid local
+account on your Windows system.
+
+It supports all Windows from NT3.5 to Win8.1, also 64 bit and also the Server
+versions (like 2003, 2008, 2012)
+
+Knowing the old password is not needed to set a new one.
+
+It will detect and offer to unlock locked or disabled out user accounts!
+
+There is also a registry editor and other registry utilities that works under
+linux/unix, and can be used for other things than password editing.
diff --git a/chntpw/Makefile b/chntpw/Makefile
new file mode 100644
index 0000000000..f49175fd5c
--- /dev/null
+++ b/chntpw/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+DISTNAME=	chntpw-source-140201
+PKGNAME=	${DISTNAME:S/-source//}
+CATEGORIES=	security
+MASTER_SITES=	https://pogostick.net/~pnh/ntpasswd/
+EXTRACT_SUFX=	.zip
+
+MAINTAINER=	khorben%defora.org@localhost
+HOMEPAGE=	https://pogostick.net/~pnh/ntpasswd/
+COMMENT=	Offline registry tools and password resetter
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
+
+MAKE_FLAGS+=	CFLAGS="-DUSEOPENSSL -g -I. -Wall"
+MAKE_FLAGS+=	LIBS=
+
+BUILD_TARGET=	chntpw cpnt reged sampasswd samusrgrp
+
+INSTALLATION_DIRS+=	bin
+INSTALLATION_DIRS+=	share/doc/chntpw
+
+BINFILES=	chntpw cpnt reged sampasswd samusrgrp
+DOCFILES=	COPYING.txt GPL.txt HISTORY.txt INSTALL.txt LGPL.txt MANUAL.txt
+DOCFILES+=	README.txt WinReg.txt regedit.txt syskey.txt
+
+do-install:
+.for file in ${BINFILES}
+	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/bin
+.endfor
+.for file in ${DOCFILES}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/chntpw
+.endfor
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chntpw/PLIST b/chntpw/PLIST
new file mode 100644
index 0000000000..fa920f4eb2
--- /dev/null
+++ b/chntpw/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+bin/chntpw
+bin/cpnt
+bin/reged
+bin/sampasswd
+bin/samusrgrp
+share/doc/chntpw/COPYING.txt
+share/doc/chntpw/GPL.txt
+share/doc/chntpw/HISTORY.txt
+share/doc/chntpw/INSTALL.txt
+share/doc/chntpw/LGPL.txt
+share/doc/chntpw/MANUAL.txt
+share/doc/chntpw/README.txt
+share/doc/chntpw/WinReg.txt
+share/doc/chntpw/regedit.txt
+share/doc/chntpw/syskey.txt
diff --git a/chntpw/distinfo b/chntpw/distinfo
new file mode 100644
index 0000000000..b8b00ef77d
--- /dev/null
+++ b/chntpw/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (chntpw-source-140201.zip) = a28bef3fc4e333cd1d4abe40e07c3a75348bdd8d
+RMD160 (chntpw-source-140201.zip) = 3932e7184c20d9398d99b4864697307909395f20
+SHA512 (chntpw-source-140201.zip) = a26d747f6e077d1bb3e9b8077781f8c37dd978e07b7426495862f15c9004572b706c34736fc4d1ed8856b1a43335d726b4d87c688f7f9a11fd6cc3a74d71a7fa
+Size (chntpw-source-140201.zip) = 1404098 bytes


Home | Main Index | Thread Index | Old Index