From 9aca2f415808ef4d8bf003894a3f125b6db1d5dc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 4 Dec 2024 08:59:17 +0100 Subject: [PATCH] rebuilt with debug package and specfile fixes [release 140201-2mamba;Tue Dec 03 2024] --- README.md | 4 ++-- chntpw.spec | 22 ++++++++++++++-------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index aa31e44..1a5b4c3 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ chntpw is a utility to reset the password of any user that has a valid local account on your Windows system. -Supports all Windows from NT3.5 to Win7, also 64 bit and also the Server versions (like 2003 and 2008) +Supports all Windows from NT3.5 to Win7, also 64 bit and also the Server versions (like 2003 and 2008). You do not need to know the old password to set a new one. It works offline, that is, you have to shutdown your computer and boot off a CD or USB disk to do the password reset. -Will detect and offer to unlock locked or disabled out user accounts! +Will detect and offer to unlock locked or disabled out user accounts. There is also a registry editor (reged) can be used for other things than password editing. diff --git a/chntpw.spec b/chntpw.spec index f88e677..7d74540 100644 --- a/chntpw.spec +++ b/chntpw.spec @@ -1,35 +1,37 @@ Name: chntpw Version: 140201 -Release: 1mamba +Release: 2mamba Summary: Offline NT password and registry editor Group: Applications/Security Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino -URL: http://pogostick.net/~pnh/ntpasswd +Packager: Silvan Calarco +URL: http://pogostick.net/~pnh/ntpasswd/ Source: http://pogostick.net/~pnh/ntpasswd/chntpw-source-%{version}.zip Source1: chntpw.8 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description chntpw is a utility to reset the password of any user that has a valid local account on your Windows system. -Supports all Windows from NT3.5 to Win7, also 64 bit and also the Server versions (like 2003 and 2008) +Supports all Windows from NT3.5 to Win7, also 64 bit and also the Server versions (like 2003 and 2008). You do not need to know the old password to set a new one. It works offline, that is, you have to shutdown your computer and boot off a CD or USB disk to do the password reset. -Will detect and offer to unlock locked or disabled out user accounts! +Will detect and offer to unlock locked or disabled out user accounts. There is also a registry editor (reged) can be used for other things than password editing. +%debug_package + %prep %setup -q %build -%make chntpw reged +%make CFLAGS="%{optflags} -Wno-incompatible-pointer-types" +#chntpw reged %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -48,9 +50,13 @@ install -D -m0644 %{S:1} \ %{_bindir}/chntpw %{_bindir}/reged %{_mandir}/man?/* -%doc GPL.txt LGPL.txt README.txt regedit.txt WinReg.txt HISTORY.txt +%doc GPL.txt LGPL.txt +#README.txt regedit.txt WinReg.txt HISTORY.txt %changelog +* Tue Dec 03 2024 Silvan Calarco 140201-2mamba +- rebuilt with debug package and specfile fixes + * Thu Feb 13 2014 Automatic Build System 140201-1mamba - automatic version update by autodist