]> git.pld-linux.org Git - packages/chntpw.git/blob - chntpw.spec
- add gcc4 patch
[packages/chntpw.git] / chntpw.spec
1 Summary:        NT SAM password recovery utility
2 Summary(pl):    Narzêdzie do odtwarzania hase³ NT SAM
3 Name:           chntpw
4 Version:        040818
5 Release:        1
6 License:        chntpw
7 Group:          Applications/System
8 Source0:        http://home.eunet.no/~pnordahl/ntpasswd/%{name}-source-%{version}.zip
9 # Source0-md5:  bced2cd4b8b0db899e92fd19150412e2
10 Patch0:         %{name}-debian.patch
11 URL:            http://home.eunet.no/~pnordahl/ntpasswd/
12 BuildRequires:  openssl-devel >= 0.9.7d
13 BuildRequires:  unzip
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
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
27 %description -l pl
28 chntpw to narzêdzie do odtwarzania hase³ NT SAM. Ten ma³y program
29 dostarcza sposób na ogl±danie informacji i zmianê hase³ u¿ytkowników
30 w pliku bazy u¿ytkowników Windows NT/2000. Nie trzeba znaæ starych
31 hase³, poniewa¿ zostan± one nadpisane. Ponadto pakiet zawiera prosty
32 edytor rejestru (zapis danych o tym samym rozmiarze) i edytor
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
36 strony domowej.
37
38 %prep
39 %setup -q -c
40 %patch0 -p1
41
42 %build
43 %{__make} all cpnt \
44         CC="%{__cc}" \
45         CFLAGS="%{rpmcflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 install -D chntpw $RPM_BUILD_ROOT%{_bindir}/chntpw
51 install cpnt $RPM_BUILD_ROOT%{_bindir}
52 install -D chntpw.8 $RPM_BUILD_ROOT%{_mandir}/man8/chntpw.8
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/*
This page took 0.08828 seconds and 3 git commands to generate.