]> git.pld-linux.org Git - packages/depant.git/blob - depant.spec
automatic change: use py_build/py_install macros
[packages/depant.git] / depant.spec
1 Summary:        (DE)fault (PA)ssword (N)etwork (T)ool
2 Summary(pl.UTF-8):      Narzędzie do sprawdzania haseł w sieci
3 Name:           depant
4 Version:        0.3a
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications/Console
8 Source0:        http://midnightresearch.com/local/packages/depant/%{name}-%{version}.tgz
9 # Source0-md5:  d1f7af5228436ff1d3816dffd1f2e458
10 URL:            http://midnightresearch.com/
11 BuildRequires:  python >= 1:2.5
12 BuildRequires:  python-setuptools
13 Requires:       hydra >= 5.4
14 Requires:       python-ipcalc
15 Requires:       nmap
16 %pyrequires_eq  python-libs
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Depant works by downloading a default password list, and then mapping
22 out the local network to see what open services are available. Once it
23 has a list of services, it will test each service for default
24 passwords. Once it’s gone through each of the services, depant will
25 determine the fastest service (as recorded in phase one) and use it to
26 perform an optional second phase of tests with a larger
27 (user-supplied) set of default users/passwords.
28
29 %description -l pl.UTF-8
30 Depant działa w ten sposób, że pobiera listę domyślnych haseł, a potem
31 skanuje sieć w poszukiwaniu uruchomionych usług. Po zakończeniu
32 poszukiwań każdy znaleziony serwis jest sprawdzany pod kątem
33 występowania domyślnych haseł. W czasie trwania tej fazy depant
34 określa również, która usługa jest najszybsza i na tej podstawie
35 możliwe jest opcjonalne przeprowadzenie fazy drugiej gdzie dany serwis
36 jest sprawdzany pod kątem haseł dostarczonych przez użytkownika.
37
38 %prep
39 %setup -q -n %{name}
40
41 %build
42 %py_build
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 %py_install \
47         --prefix=%{_prefix} \
48         --install-scripts=%{_bindir} \
49         --root=$RPM_BUILD_ROOT
50
51 %py_postclean
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc INSTALL LICENSE README
59 %attr(755,root,root) %{_bindir}/depant
60 %{py_sitescriptdir}/depant
61 %{py_sitescriptdir}/Depant-*.egg-info
This page took 0.084135 seconds and 3 git commands to generate.