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