]> git.pld-linux.org Git - packages/dropbear.git/blame - dropbear.spec
- x32 rebuild
[packages/dropbear.git] / dropbear.spec
CommitLineData
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
c43c706b 6%bcond_without system_libtom # use system libtommath/libtomcrypt
075a17e6 7
6be0e7e8 8Summary: Dropbear - a smallish ssh2 server
d9e1d748 9Summary(pl.UTF-8): Dropbear - mały serwer ssh2
bc80c1ce 10Name: dropbear
96bddeab 11Version: 2015.67
0da0a8de 12Release: 2
13419a2a 13License: MIT
bc80c1ce 14Group: Applications/Networking
06bf3309 15Source0: https://matt.ucc.asn.au/dropbear/releases/%{name}-%{version}.tar.bz2
96bddeab 16# Source0-md5: e967e320344cd4bfebe321e3ab8514d6
06bf3309 17URL: https://matt.ucc.asn.au/dropbear/dropbear.html
56bd25dc 18BuildRequires: autoconf >= 2.50
6be0e7e8 19BuildRequires: automake
c43c706b 20%{?with_system_libtom:BuildRequires: libtomcrypt-devel >= 1.17-2}
06bf3309 21%{?with_pam:BuildRequires: pam-devel}
bc80c1ce 22BuildRequires: zlib-devel
a47cfb2b 23%{?with_system_libtom:Requires: libtomcrypt >= 1.17-2}
bc80c1ce 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This is dropbear, a smallish and friendly ssh2 daemon.
28
29It is currently usable though betaish, requiring work in certain areas
30before use in a production environment. If you need a small sshd to
31run on a 4 meg laptop, then sure, use it now. But test it thoroughly
32before using it somewhere important :)
33
3046c2b2
JR
34%description -l pl.UTF-8
35To jest dropbear - mały i przyjazny demon ssh2.
6be0e7e8 36
3046c2b2
JR
37Jest aktualnie używalny, choć jest w stanie beta, wymaga pracy w
38niektórych obszarach przed użyciem w produkcyjnym środowisku. Jeśli
39potrzebujemy małego sshd do uruchomienia na laptopie z 4MB pamięci,
40można używać go już teraz. Ale przed używaniem do czegoś ważniejszego
41trzeba go porządnie przetestować :)
6be0e7e8 42
bc80c1ce 43%prep
44%setup -q
a3183add
ER
45
46%{?with_system_libtom:rm -r libtomcrypt libtommath}
bc80c1ce 47
48%build
bc80c1ce 49%{__aclocal}
50%{__autoconf}
51%{__autoheader}
075a17e6 52%configure \
a3183add
ER
53 %{?with_system_libtom:--disable-bundled-libtom} \
54 %{__enable_disable_not system_libtom bundled-libtom} \
075a17e6 55 %{?with_pam:--enable-pam}
bc80c1ce 56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
197af5d2 60%{__make} install \
56a0b347 61 INSTALL="install -p" \
197af5d2
AG
62 DESTDIR=$RPM_BUILD_ROOT
63
bc80c1ce 64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
197af5d2 69%doc CHANGES README SMALL TODO
075a17e6
ER
70%attr(755,root,root) %{_bindir}/dbclient
71%attr(755,root,root) %{_bindir}/dropbearconvert
72%attr(755,root,root) %{_bindir}/dropbearkey
73%attr(755,root,root) %{_sbindir}/dropbear
06bf3309
ER
74%{_mandir}/man1/dbclient.1*
75%{_mandir}/man1/dropbearconvert.1*
76%{_mandir}/man1/dropbearkey.1*
075a17e6 77%{_mandir}/man8/dropbear.8*
This page took 0.761466 seconds and 4 git commands to generate.