]>
Commit | Line | Data |
---|---|---|
1d77a983 | 1 | Summary: NT SAM password recovery utility |
405dd0cc | 2 | Summary(pl.UTF-8): Narzędzie do odtwarzania haseł NT SAM |
1d77a983 | 3 | Name: chntpw |
8a529886 | 4 | Version: 080526 |
5dc58efe | 5 | Release: 2 |
4361447d | 6 | License: GPL |
1d77a983 | 7 | Group: Applications/System |
eae7f312 | 8 | Source0: http://home.eunet.no/~pnordahl/ntpasswd/%{name}-source-%{version}.zip |
8a529886 | 9 | # Source0-md5: 09addfe7ae469677da39ed66d83858d3 |
1d77a983 | 10 | Patch0: %{name}-debian.patch |
11 | URL: http://home.eunet.no/~pnordahl/ntpasswd/ | |
a3259fb2 | 12 | BuildRequires: openssl-devel >= 0.9.7d |
19a515c0 | 13 | BuildRequires: unzip |
1d77a983 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
84246f4e JB |
17 | chntpw is NT SAM password recovery utility. This little program |
18 | provides a way to view information and change user passwords in a | |
19 | Windows NT/2000 userdatabase file. Old passwords need not be known | |
20 | since they are overwritten. In addition it also contains a simple | |
21 | registry editor (same size data writes) and an hex-editor which | |
22 | enables you to fiddle around with bits and bytes in the file as you | |
23 | wish. If you want GNU/Linux bootdisks for offline password recovery | |
24 | you can add this utility to custom image disks or use those provided | |
25 | at the tools homepage. | |
26 | ||
b4149f8e JR |
27 | %description -l pl.UTF-8 |
28 | chntpw to narzędzie do odtwarzania haseł NT SAM. Ten mały program | |
8a529886 KK |
29 | dostarcza sposób na oglądanie informacji i zmianę haseł użytkowników w |
30 | pliku bazy użytkowników Windows NT/2000. Nie trzeba znać starych | |
b4149f8e | 31 | haseł, ponieważ zostaną one nadpisane. Ponadto pakiet zawiera prosty |
84246f4e | 32 | edytor rejestru (zapis danych o tym samym rozmiarze) i edytor |
b4149f8e JR |
33 | szesnastkowy pozwalający na modyfikowanie bitów i bajtów w dowolnym |
34 | pliku. Jeśli chcemy mieć bootkietkę z Linuksem do odtwarzania haseł, | |
35 | możemy dodać to narzędzie do własnych obrazów lub użyć obrazów ze | |
84246f4e | 36 | strony domowej. |
1d77a983 | 37 | |
38 | %prep | |
4361447d | 39 | %setup -q |
1d77a983 | 40 | %patch0 -p1 |
41 | ||
42 | %build | |
8a529886 | 43 | %{__make} chntpw cpnt reged \ |
84246f4e JB |
44 | CC="%{__cc}" \ |
45 | CFLAGS="%{rpmcflags}" | |
1d77a983 | 46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
84246f4e | 49 | |
8a529886 KK |
50 | install -d $RPM_BUILD_ROOT%{_bindir} |
51 | install {chntpw,cpnt,reged} $RPM_BUILD_ROOT%{_bindir} | |
84246f4e | 52 | install -D chntpw.8 $RPM_BUILD_ROOT%{_mandir}/man8/chntpw.8 |
1d77a983 | 53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc *.txt | |
60 | %attr(755,root,root) %{_bindir}/* | |
61 | %{_mandir}/man8/* |