Compare commits
No commits in common. "rawhide" and "f38" have entirely different histories.
2 changed files with 10 additions and 60 deletions
|
|
@ -1,21 +0,0 @@
|
|||
diff -urN chntpw-140201.orig/libsam.c chntpw-140201/libsam.c
|
||||
--- chntpw-140201.orig/libsam.c 2014-02-01 08:54:37.000000000 -0800
|
||||
+++ chntpw-140201/libsam.c 2024-08-03 15:31:41.817601486 -0700
|
||||
@@ -511,7 +511,7 @@
|
||||
|
||||
if (gverbose) printf("put_grp_members_sid: ajusted: mofs = %x, mlen = %x (%d)\n", mofs + 0x34 ,mlen,mlen);
|
||||
|
||||
- if (gverbose) hexdump(&c->data, 0, c->len, 1);
|
||||
+ if (gverbose) hexdump((char*)&c->data, 0, c->len, 1);
|
||||
|
||||
/* Get total size of new SID data */
|
||||
|
||||
@@ -539,7 +539,7 @@
|
||||
cd->members_len = sidlen; /* Update member count in C struct */
|
||||
cd->grp_members = i;
|
||||
|
||||
- if (gverbose) hexdump(&c->data, 0, c->len, 1);
|
||||
+ if (gverbose) hexdump((char*)&c->data, 0, c->len, 1);
|
||||
|
||||
if (!put_buf2val(hdesc, c, 0, g, 0, TPF_VK_EXACT)) {
|
||||
fprintf(stderr,"put_grp_members_sid: could not write back group info in value %s\n",g);
|
||||
49
chntpw.spec
49
chntpw.spec
|
|
@ -1,10 +1,9 @@
|
|||
Name: chntpw
|
||||
# Version is taken from HISTORY.txt
|
||||
Version: 1.00
|
||||
Release: 20.140201%{?dist}
|
||||
Release: 12.140201%{?dist}
|
||||
Summary: Change passwords in Windows SAM files
|
||||
# Automatically converted from old format: GPLv2 - review is highly recommended.
|
||||
License: GPL-2.0-only
|
||||
License: GPLv2
|
||||
URL: http://pogostick.net/~pnh/ntpasswd/
|
||||
Source0: http://pogostick.net/~pnh/ntpasswd/chntpw-source-140201.zip
|
||||
Source2: chntpw-README.Dist
|
||||
|
|
@ -31,10 +30,7 @@ Patch6: chntpw-110511-detect-failure-to-write-key.patch
|
|||
Patch7: chntpw-110511-reged-no-deref-null.patch
|
||||
|
||||
# Patch derived from Oleg Samarin (RHBZ#1645886)
|
||||
Patch8: chntpw-140201-fix-bogus-errno-use.patch
|
||||
|
||||
# Cast around new GCC error for mismatched pointer arguments
|
||||
Patch9: chntpw-140201-hexdump-pointer-type.patch
|
||||
Patch8: chntpw-140201-fix-bogus-errno-use.patch
|
||||
|
||||
|
||||
%description
|
||||
|
|
@ -55,14 +51,13 @@ sed -e 's/\r$//' WinReg.txt > WinReg.txt.eol
|
|||
touch -c -r WinReg.txt WinReg.txt.eol
|
||||
mv WinReg.txt.eol WinReg.txt
|
||||
|
||||
%patch -P1 -p1
|
||||
%patch -P3 -p1
|
||||
%patch -P4 -p1
|
||||
%patch -P5 -p1
|
||||
%patch -P6 -p1
|
||||
%patch -P7 -p1
|
||||
%patch -P8 -p1
|
||||
%patch -P9 -p1
|
||||
%patch1 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -92,30 +87,6 @@ cp -p %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} \
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-20.140201
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-19.140201
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2024 Conrad Meyer <cemeyer@uw.edu> - 1.00-18.140201
|
||||
- Add fix for rhbz# 2300591.
|
||||
|
||||
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 1.00-17.140201
|
||||
- convert license to SPDX
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-16.140201
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-15.140201
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-14.140201
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-13.140201
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-12.140201
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue