]>
Commit | Line | Data |
---|---|---|
075a17e6 ER |
1 | # TODO |
2 | # - enable pam, see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533525 (1-2 solvable, 3 needs code) | |
3 | # | |
4 | # Conditional build: | |
5 | %bcond_with pam # PAM authentication support | |
6 | ||
6be0e7e8 | 7 | Summary: Dropbear - a smallish ssh2 server |
d9e1d748 | 8 | Summary(pl.UTF-8): Dropbear - mały serwer ssh2 |
bc80c1ce | 9 | Name: dropbear |
d86acc5a | 10 | Version: 0.53 |
bc80c1ce | 11 | Release: 0.1 |
13419a2a | 12 | License: MIT |
bc80c1ce | 13 | Group: Applications/Networking |
a6081f8b | 14 | Source0: http://matt.ucc.asn.au/dropbear/releases/%{name}-%{version}.tar.bz2 |
d86acc5a | 15 | # Source0-md5: b6df80b05b6b7d03f6b232917b677d5d |
bc80c1ce | 16 | URL: http://matt.ucc.asn.au/dropbear/dropbear.html |
56bd25dc | 17 | BuildRequires: autoconf >= 2.50 |
6be0e7e8 | 18 | BuildRequires: automake |
bc80c1ce | 19 | BuildRequires: zlib-devel |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This is dropbear, a smallish and friendly ssh2 daemon. | |
24 | ||
25 | It is currently usable though betaish, requiring work in certain areas | |
26 | before use in a production environment. If you need a small sshd to | |
27 | run on a 4 meg laptop, then sure, use it now. But test it thoroughly | |
28 | before using it somewhere important :) | |
29 | ||
3046c2b2 JR |
30 | %description -l pl.UTF-8 |
31 | To jest dropbear - mały i przyjazny demon ssh2. | |
6be0e7e8 | 32 | |
3046c2b2 JR |
33 | Jest aktualnie używalny, choć jest w stanie beta, wymaga pracy w |
34 | niektórych obszarach przed użyciem w produkcyjnym środowisku. Jeśli | |
35 | potrzebujemy małego sshd do uruchomienia na laptopie z 4MB pamięci, | |
36 | można używać go już teraz. Ale przed używaniem do czegoś ważniejszego | |
37 | trzeba go porządnie przetestować :) | |
6be0e7e8 | 38 | |
bc80c1ce | 39 | %prep |
40 | %setup -q | |
41 | ||
42 | %build | |
bc80c1ce | 43 | %{__aclocal} |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
075a17e6 ER |
46 | %configure \ |
47 | %{?with_pam:--enable-pam} | |
bc80c1ce | 48 | %{__make} |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
197af5d2 | 52 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
197af5d2 AG |
53 | %{__make} install \ |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
075a17e6 | 56 | cp -p dropbear{,key}.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
bc80c1ce | 57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
197af5d2 | 63 | %doc CHANGES README SMALL TODO |
075a17e6 ER |
64 | %attr(755,root,root) %{_bindir}/dbclient |
65 | %attr(755,root,root) %{_bindir}/dropbearconvert | |
66 | %attr(755,root,root) %{_bindir}/dropbearkey | |
67 | %attr(755,root,root) %{_sbindir}/dropbear | |
68 | %{_mandir}/man8/dropbear.8* | |
69 | %{_mandir}/man8/dropbearkey.8* |