]>
Commit | Line | Data |
---|---|---|
b5236ec0 | 1 | Summary: Library implementing the SSH2 protocol |
93891e5a | 2 | Summary(pl.UTF-8): Biblioteka implementująca protokół SSH2 |
c73dd7b3 | 3 | Name: libssh2 |
91aabf08 | 4 | Version: 1.11.0 |
bf987ac1 | 5 | Release: 2 |
74b3374f | 6 | License: BSD |
c73dd7b3 | 7 | Group: Libraries |
658acb40 | 8 | Source0: https://www.libssh2.org/download/%{name}-%{version}.tar.gz |
91aabf08 | 9 | # Source0-md5: a01d543fd891ca48fe47726540d50b17 |
658acb40 | 10 | URL: https://libssh2.org/ |
91aabf08 | 11 | BuildRequires: autoconf >= 2.59 |
e2c29647 | 12 | BuildRequires: automake |
658acb40 | 13 | BuildRequires: libtool |
c73dd7b3 | 14 | BuildRequires: openssl-devel |
74b3374f | 15 | BuildRequires: zlib-devel |
c73dd7b3 AG |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | libssh2 is a C library implementing the SSH2 protocol according to | |
20 | Internet Draft specifications SECSH-TRANS(22), SECSH-USERAUTH(25), | |
b5236ec0 | 21 | SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06), |
c73dd7b3 AG |
22 | SECSH-DHGEX(04), and SECSH-NUMBERS(10). |
23 | ||
e2ee5e17 | 24 | Supported Ciphers: |
0d2ae8ef JB |
25 | - aes256-ctr, aes192-ctr, aes128-ctr, |
26 | - aes256-cbc (aka rijndael-cbc@lysator.liu.se), aes192-cbc, aes128-cbc | |
c73dd7b3 AG |
27 | - 3des-cbc |
28 | - blowfish-cbc | |
29 | - cast128-cbc | |
0d2ae8ef | 30 | - arcfour, arcfour128 |
b5236ec0 | 31 | - none |
c73dd7b3 | 32 | |
e2ee5e17 | 33 | Supported Key Exchange Methods: |
c73dd7b3 AG |
34 | - diffie-hellman-group1-sha1 |
35 | - diffie-hellman-group14-sha1 | |
36 | - diffie-hellman-group-exchange-sha1 | |
0d2ae8ef | 37 | - diffie-hellman-group-exchange-sha256 |
c73dd7b3 | 38 | |
e2ee5e17 | 39 | Supported Hostkey Types: |
c73dd7b3 AG |
40 | - ssh-rsa |
41 | - ssh-dss | |
42 | ||
43 | Supported Compression Methods: | |
0d2ae8ef | 44 | - zlib, zlib@openssh.com |
c73dd7b3 AG |
45 | - none |
46 | ||
47 | Supported Message Authentication Codes: | |
0d2ae8ef JB |
48 | - hmac-sha2-256, hmac-sha2-512 |
49 | - hmac-sha1, hmac-sha1-96 | |
50 | - hmac-md5, hmac-md5-96 | |
51 | - hmac-ripemd160 (hmac-ripemd160@openssh.com) | |
52 | - none | |
c73dd7b3 | 53 | |
0c3a8690 JR |
54 | %description -l pl.UTF-8 |
55 | libssh2 to biblioteka C implementująca protokół SSH2 zgodnie ze | |
b5236ec0 JB |
56 | specyfikacjami Internet Draft SECSH-TRANS(22), SECSH-USERAUTH(25), |
57 | SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06), | |
58 | SECSH-DHGEX(04), and SECSH-NUMBERS(10). | |
59 | ||
0c3a8690 | 60 | Obsługiwane szyfry: |
0d2ae8ef JB |
61 | - aes256-ctr, aes192-ctr, aes128-ctr, |
62 | - aes256-cbc (znany też jako rijndael-cbc@lysator.liu.se), aes192-cbc, | |
63 | aes128-cbc | |
b5236ec0 JB |
64 | - 3des-cbc |
65 | - blowfish-cbc | |
66 | - cast128-cbc | |
0d2ae8ef | 67 | - arcfour, arcfour128 |
b5236ec0 JB |
68 | - none |
69 | ||
0c3a8690 | 70 | Obsługiwane metody wymiany kluczy: |
b5236ec0 JB |
71 | - diffie-hellman-group1-sha1 |
72 | - diffie-hellman-group14-sha1 | |
73 | - diffie-hellman-group-exchange-sha1 | |
0d2ae8ef | 74 | - diffie-hellman-group-exchange-sha256 |
b5236ec0 | 75 | |
0c3a8690 | 76 | Obsługiwane rodzaju kluczy hosta: |
b5236ec0 JB |
77 | - ssh-rsa |
78 | - ssh-dss | |
79 | ||
0c3a8690 | 80 | Obsługiwane metody kompresji: |
b5236ec0 JB |
81 | - zlib |
82 | - none | |
83 | ||
0c3a8690 | 84 | Obsługiwane kody uwierzytelniania wiadomości: |
0d2ae8ef JB |
85 | - hmac-sha2-256, hmac-sha2-512 |
86 | - hmac-sha1, hmac-sha1-96 | |
87 | - hmac-md5, hmac-md5-96 | |
88 | - hmac-ripemd160 (hmac-ripemd160@openssh.com) | |
89 | - none | |
c73dd7b3 AG |
90 | |
91 | %package devel | |
92 | Summary: Header files for libssh2 library | |
93891e5a | 93 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh2 |
c73dd7b3 AG |
94 | Group: Development/Libraries |
95 | Requires: %{name} = %{version}-%{release} | |
aebfb009 | 96 | Requires: openssl-devel |
66ad6b37 | 97 | Requires: zlib-devel |
c73dd7b3 AG |
98 | |
99 | %description devel | |
100 | Header files for libssh2 library. | |
101 | ||
0c3a8690 JR |
102 | %description devel -l pl.UTF-8 |
103 | Pliki nagłówkowe biblioteki libssh2. | |
c73dd7b3 | 104 | |
2b8a653f AM |
105 | %package static |
106 | Summary: Static libssh2 library | |
107 | Summary(pl.UTF-8): Biblioteka statyczna libssh2 | |
108 | Group: Development/Libraries | |
109 | Requires: %{name}-devel = %{version}-%{release} | |
110 | ||
111 | %description static | |
112 | Static libssh2 library. | |
113 | ||
114 | %description static -l pl.UTF-8 | |
115 | Biblioteka statyczna libssh2. | |
116 | ||
c73dd7b3 AG |
117 | %prep |
118 | %setup -q | |
c73dd7b3 AG |
119 | |
120 | %build | |
658acb40 JB |
121 | %{__libtoolize} |
122 | %{__aclocal} -I m4 | |
163bfc44 | 123 | %{__autoconf} |
658acb40 JB |
124 | %{__autoheader} |
125 | %{__automake} | |
c73dd7b3 | 126 | %configure \ |
bf987ac1 | 127 | --disable-rpath \ |
658acb40 | 128 | --disable-silent-rules \ |
8a04d0c7 | 129 | --with-crypto=openssl |
e5f6b029 JB |
130 | # AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it |
131 | %{__make} \ | |
132 | LTLIBSSL="-lssl -lcrypto" \ | |
133 | LTLIBZ="-lz" | |
c73dd7b3 AG |
134 | |
135 | %install | |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
138 | %{__make} install \ | |
ccb8e62c | 139 | DESTDIR=$RPM_BUILD_ROOT |
c73dd7b3 AG |
140 | |
141 | %clean | |
142 | rm -rf $RPM_BUILD_ROOT | |
143 | ||
144 | %post -p /sbin/ldconfig | |
145 | %postun -p /sbin/ldconfig | |
146 | ||
147 | %files | |
148 | %defattr(644,root,root,755) | |
91aabf08 | 149 | %doc COPYING NEWS README RELEASE-NOTES docs/{AUTHORS,BINDINGS.md,TODO} |
ccb8e62c JB |
150 | %attr(755,root,root) %{_libdir}/libssh2.so.*.*.* |
151 | %attr(755,root,root) %ghost %{_libdir}/libssh2.so.1 | |
c73dd7b3 AG |
152 | |
153 | %files devel | |
154 | %defattr(644,root,root,755) | |
ccb8e62c | 155 | %attr(755,root,root) %{_libdir}/libssh2.so |
c54c454f | 156 | %{_libdir}/libssh2.la |
ccb8e62c JB |
157 | %{_includedir}/libssh2*.h |
158 | %{_mandir}/man3/libssh2_*.3* | |
7bafb1b6 | 159 | %{_pkgconfigdir}/libssh2.pc |
2b8a653f AM |
160 | |
161 | %files static | |
162 | %defattr(644,root,root,755) | |
ccb8e62c | 163 | %{_libdir}/libssh2.a |