1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | %define _plugindir2 %{_libdir}/sasl2 |
---|
4 | |
---|
5 | Summary: The Cyrus SASL library. |
---|
6 | Summary(ja): Cyrus SASL ライブラリ |
---|
7 | Name: cyrus-sasl |
---|
8 | Version: 2.1.27 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | License: BSD with advertising |
---|
11 | Group: System Environment/Libraries |
---|
12 | URL: http://cyrusimap.org/ |
---|
13 | |
---|
14 | Source0: ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-%{version}.tar.gz |
---|
15 | Source4: saslauthd.init |
---|
16 | Source5: README.RPM |
---|
17 | Source9: saslauthd.sysconfig |
---|
18 | # |
---|
19 | Patch11: cyrus-sasl-2.1.25-no_rpath.patch |
---|
20 | Patch15: cyrus-sasl-2.1.20-saslauthd.conf-path.patch |
---|
21 | Patch24: cyrus-sasl-2.1.21-sizes.patch |
---|
22 | # The 64 bit *INT8 type is not used anywhere and other types match |
---|
23 | Patch49: cyrus-sasl-2.1.26-md5global.patch |
---|
24 | |
---|
25 | Patch102: cyrus-sasl-2.1.26-configure.patch |
---|
26 | |
---|
27 | #security |
---|
28 | # none. |
---|
29 | |
---|
30 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
31 | BuildRequires: autoconf, automake, libtool |
---|
32 | # Note: berkeley db for sasl2, gdbm for sasl1. |
---|
33 | BuildRequires: libdb-devel |
---|
34 | BuildRequires: openssl-devel |
---|
35 | BuildRequires: pam-devel |
---|
36 | BuildRequires: libmariadb-devel |
---|
37 | BuildRequires: libpq-devel |
---|
38 | BuildRequires: openldap-devel |
---|
39 | BuildRequires: zlib-devel |
---|
40 | BuildRequires: pkgconfig |
---|
41 | BuildRequires: krb5-devel |
---|
42 | BuildRequires: groff |
---|
43 | BuildRequires: libxcrypt-devel |
---|
44 | Requires(post): /sbin/ldconfig, chkconfig |
---|
45 | Requires(postun): /sbin/ldconfig, chkconfig |
---|
46 | |
---|
47 | Vendor: Project Vine |
---|
48 | Distribution: Vine Linux |
---|
49 | |
---|
50 | %description |
---|
51 | The %{name} package contains the Cyrus implementation of SASL. |
---|
52 | SASL is the Simple Authentication and Security Layer, a method for |
---|
53 | adding authentication support to connection-based protocols. |
---|
54 | |
---|
55 | %package devel |
---|
56 | Summary: Files needed for developing applications with Cyrus SASL. |
---|
57 | Summary(ja): Cyrus SASL を用いるアプリケーションの開発に必要なファイル |
---|
58 | Group: Development/Libraries |
---|
59 | Requires: %{name} = %{version}-%{release} |
---|
60 | |
---|
61 | %description devel |
---|
62 | The %{name}-devel package contains files needed for developing and |
---|
63 | compiling applications which use the Cyrus SASL library. |
---|
64 | |
---|
65 | %package gssapi |
---|
66 | Summary: GSSAPI support for Cyrus SASL. |
---|
67 | Summary(ja): Cyrus SASL の GSSAPI 認証サポート |
---|
68 | Group: System Environment/Libraries |
---|
69 | Requires: %{name} = %{version}-%{release} |
---|
70 | |
---|
71 | %description gssapi |
---|
72 | The %{name}-gssapi package contains the Cyrus SASL plugins which |
---|
73 | support GSSAPI authentication. GSSAPI is commonly used for Kerberos |
---|
74 | authentication. |
---|
75 | |
---|
76 | %package plain |
---|
77 | Summary: PLAIN and LOGIN support for Cyrus SASL. |
---|
78 | Summary(ja): Cyrus SASL の PLAIN, LOGIN 認証サポート |
---|
79 | Group: System Environment/Libraries |
---|
80 | Requires: %{name} = %{version}-%{release} |
---|
81 | |
---|
82 | %description plain |
---|
83 | The %{name}-plain package contains the Cyrus SASL plugins which support |
---|
84 | PLAIN and LOGIN authentication schemes. |
---|
85 | |
---|
86 | %package md5 |
---|
87 | Summary: CRAM-MD5 and DIGEST-MD5 support for Cyrus SASL. |
---|
88 | Summary(ja): Cyrus SASL の CRAM-MD5, DIGEST-MD5 認証サポート |
---|
89 | Group: System Environment/Libraries |
---|
90 | Requires: %{name} = %{version}-%{release} |
---|
91 | |
---|
92 | %description md5 |
---|
93 | The %{name}-md5 package contains the Cyrus SASL plugins which support |
---|
94 | CRAM-MD5 and DIGEST-MD5 authentication schemes. |
---|
95 | |
---|
96 | %package ntlm |
---|
97 | Summary: NTLM support for Cyrus SASL. |
---|
98 | Summary(ja): Cyrus SASL の NTLM 認証サポート |
---|
99 | Group: System Environment/Libraries |
---|
100 | Requires: %{name} = %{version}-%{release} |
---|
101 | |
---|
102 | %description ntlm |
---|
103 | The %{name}-ntlm package contains the Cyrus SASL plugin which supports |
---|
104 | the NTLM authentication schemes. |
---|
105 | |
---|
106 | # This would more appropriately be named cyrus-sasl-auxprop-sql. |
---|
107 | %package sql |
---|
108 | Summary: SQL auxprop support for Cyrus SASL |
---|
109 | Summary(ja): Cyrus SASL の SQL auxprop サポート |
---|
110 | Group: System Environment/Libraries |
---|
111 | Requires: %{name} = %{version}-%{release} |
---|
112 | |
---|
113 | %description sql |
---|
114 | The %{name}-sql package contains the Cyrus SASL plugin which supports |
---|
115 | using a RDBMS for storing shared secrets. |
---|
116 | |
---|
117 | # This was *almost* named cyrus-sasl-auxprop-ldapdb, but that's a lot of typing. |
---|
118 | %package ldap |
---|
119 | Summary: LDAP auxprop support for Cyrus SASL |
---|
120 | Summary(ja): Cyrus SASL の LDAP auxprop サポート |
---|
121 | Group: System Environment/Libraries |
---|
122 | Requires: %{name} = %{version}-%{release} |
---|
123 | |
---|
124 | %description ldap |
---|
125 | The %{name}-ldap package contains the Cyrus SASL plugin which supports using |
---|
126 | a directory server, accessed using LDAP, for storing shared secrets. |
---|
127 | |
---|
128 | %package scram |
---|
129 | Summary: SCRAM auxprop support for Cyrus SASL |
---|
130 | Summary(ja): Cyrus SASL の SCRAM auxprop サポート |
---|
131 | Group: System Environment/Libraries |
---|
132 | Requires: %{name} = %{version}-%{release} |
---|
133 | |
---|
134 | %description scram |
---|
135 | The %{name}-scram package contains the Cyrus SASL plugin which supports |
---|
136 | the SCRAM authentication scheme. |
---|
137 | |
---|
138 | %package gs2 |
---|
139 | Summary: GS2 support for Cyrus SASL |
---|
140 | Summary(ja): Cyrus SASL の GS2 認証サポート |
---|
141 | Group: System Environment/Libraries |
---|
142 | Requires: %{name} = %{version}-%{release} |
---|
143 | |
---|
144 | %description gs2 |
---|
145 | The %{name}-gs2 package contains the Cyrus SASL plugin which supports |
---|
146 | the GS2 authentication scheme. |
---|
147 | |
---|
148 | ## to build compat32 for x86_64 architecture support |
---|
149 | %package -n compat32-%{name} |
---|
150 | Summary: The Cyrus SASL library. |
---|
151 | Summary(ja): Cyrus SASL ライブラリ |
---|
152 | Group: System Environment/Libraries |
---|
153 | |
---|
154 | %description -n compat32-%{name} |
---|
155 | The %{name} package contains the Cyrus implementation of SASL. |
---|
156 | SASL is the Simple Authentication and Security Layer, a method for |
---|
157 | adding authentication support to connection-based protocols. |
---|
158 | |
---|
159 | %package -n compat32-%{name}-devel |
---|
160 | Summary: Files needed for developing applications with Cyrus SASL. |
---|
161 | Summary(ja): Cyrus SASL を用いるアプリケーションの開発に必要なファイル |
---|
162 | Group: Development/Libraries |
---|
163 | Requires: compat32-%{name} = %{version}-%{release} |
---|
164 | |
---|
165 | %description -n compat32-%{name}-devel |
---|
166 | The %{name}-devel package contains files needed for developing and |
---|
167 | compiling applications which use the Cyrus SASL library. |
---|
168 | |
---|
169 | %package -n compat32-%{name}-gssapi |
---|
170 | Summary: GSSAPI support for Cyrus SASL. |
---|
171 | Summary(ja): Cyrus SASL の GSSAPI 認証サポート |
---|
172 | Group: System Environment/Libraries |
---|
173 | Requires: compat32-%{name} = %{version}-%{release} |
---|
174 | |
---|
175 | %description -n compat32-%{name}-gssapi |
---|
176 | The %{name}-gssapi package contains the Cyrus SASL plugins which |
---|
177 | support GSSAPI authentication. GSSAPI is commonly used for Kerberos |
---|
178 | authentication. |
---|
179 | |
---|
180 | %package -n compat32-%{name}-plain |
---|
181 | Summary: PLAIN and LOGIN support for Cyrus SASL. |
---|
182 | Summary(ja): Cyrus SASL の PLAIN, LOGIN 認証サポート |
---|
183 | Group: System Environment/Libraries |
---|
184 | Requires: compat32-%{name} = %{version}-%{release} |
---|
185 | |
---|
186 | %description -n compat32-%{name}-plain |
---|
187 | The %{name}-plain package contains the Cyrus SASL plugins which support |
---|
188 | PLAIN and LOGIN authentication schemes. |
---|
189 | |
---|
190 | %package -n compat32-%{name}-md5 |
---|
191 | Summary: CRAM-MD5 and DIGEST-MD5 support for Cyrus SASL. |
---|
192 | Summary(ja): Cyrus SASL の CRAM-MD5, DIGEST-MD5 認証サポート |
---|
193 | Group: System Environment/Libraries |
---|
194 | Requires: compat32-%{name} = %{version}-%{release} |
---|
195 | |
---|
196 | %description -n compat32-%{name}-md5 |
---|
197 | The %{name}-md5 package contains the Cyrus SASL plugins which support |
---|
198 | CRAM-MD5 and DIGEST-MD5 authentication schemes. |
---|
199 | |
---|
200 | %package -n compat32-%{name}-ntlm |
---|
201 | Summary: NTLM support for Cyrus SASL. |
---|
202 | Summary(ja): Cyrus SASL の NTLM 認証サポート |
---|
203 | Group: System Environment/Libraries |
---|
204 | Requires: compat32-%{name} = %{version}-%{release} |
---|
205 | |
---|
206 | %description -n compat32-%{name}-ntlm |
---|
207 | The %{name}-ntlm package contains the Cyrus SASL plugin which supports |
---|
208 | the NTLM authentication schemes. |
---|
209 | |
---|
210 | # %package -n compat32-%{name}-sql |
---|
211 | # Group: System Environment/Libraries |
---|
212 | # Summary: SQL auxprop support for Cyrus SASL |
---|
213 | |
---|
214 | # %description -n compat32-%{name}-sql |
---|
215 | # The %{name}-sql package contains the Cyrus SASL plugin which supports |
---|
216 | # using a RDBMS for storing shared secrets. |
---|
217 | |
---|
218 | %package -n compat32-%{name}-ldap |
---|
219 | Summary: LDAP auxprop support for Cyrus SASL |
---|
220 | Summary(ja): Cyrus SASL の LDAP auxprop サポート |
---|
221 | Group: System Environment/Libraries |
---|
222 | Requires: compat32-%{name} = %{version}-%{release} |
---|
223 | |
---|
224 | %description -n compat32-%{name}-ldap |
---|
225 | The %{name}-ldap package contains the Cyrus SASL plugin which supports using |
---|
226 | a directory server, accessed using LDAP, for storing shared secrets. |
---|
227 | |
---|
228 | %package -n compat32-%{name}-scram |
---|
229 | Summary: SCRAM auxprop support for Cyrus SASL |
---|
230 | Summary(ja): Cyrus SASL の SCRAM auxprop サポート |
---|
231 | Group: System Environment/Libraries |
---|
232 | Requires: compat32-%{name} = %{version}-%{release} |
---|
233 | |
---|
234 | %description -n compat32-%{name}-scram |
---|
235 | The %{name}-scram package contains the Cyrus SASL plugin which supports |
---|
236 | the SCRAM authentication scheme. |
---|
237 | |
---|
238 | %package -n compat32-%{name}-gs2 |
---|
239 | Summary: GS2 support for Cyrus SASL |
---|
240 | Summary(ja): Cyrus SASL の GS2 認証サポート |
---|
241 | Group: System Environment/Libraries |
---|
242 | Requires: compat32-%{name} = %{version}-%{release} |
---|
243 | |
---|
244 | %description -n compat32-%{name}-gs2 |
---|
245 | The %{name}-gs2 package contains the Cyrus SASL plugin which supports |
---|
246 | the GS2 authentication scheme. |
---|
247 | |
---|
248 | %prep |
---|
249 | %setup -q |
---|
250 | chmod -x doc/legacy/*.html |
---|
251 | chmod -x include/*.h |
---|
252 | %patch11 -p1 -b .no_rpath |
---|
253 | %patch15 -p1 -b .path |
---|
254 | %patch24 -p1 -b .sizes |
---|
255 | %patch49 -p1 -b .md5global.h |
---|
256 | |
---|
257 | %patch102 -p1 -b .configure |
---|
258 | |
---|
259 | %build |
---|
260 | # FIXME - we remove these files directly so that we can avoid using the -f |
---|
261 | # flag, which has a nasty habit of overwriting files like COPYING. |
---|
262 | rm -f config/config.guess config/config.sub |
---|
263 | rm -f config/ltconfig config/ltmain.sh config/libtool.m4 |
---|
264 | rm -fr autom4te.cache |
---|
265 | autoreconf -vif |
---|
266 | |
---|
267 | # Find Kerberos. |
---|
268 | krb5_prefix=`krb5-config --prefix` |
---|
269 | if test x$krb5_prefix = x%{_prefix} ; then |
---|
270 | krb5_prefix= |
---|
271 | else |
---|
272 | CPPFLAGS="-I${krb5_prefix}/include $CPPFLAGS"; export CPPFLAGS |
---|
273 | LDFLAGS="-L${krb5_prefix}/%{_lib} $LDFLAGS"; export LDFLAGS |
---|
274 | fi |
---|
275 | |
---|
276 | # Find OpenSSL. |
---|
277 | LIBS="-lcrypt"; export LIBS |
---|
278 | if pkg-config openssl ; then |
---|
279 | CPPFLAGS="`pkg-config --cflags-only-I openssl` $CPPFLAGS"; export CPPFLAGS |
---|
280 | LDFLAGS="`pkg-config --libs-only-L openssl` $LDFLAGS"; export LDFLAGS |
---|
281 | fi |
---|
282 | |
---|
283 | # Find the MySQL libraries used needed by the SQL auxprop plugin. |
---|
284 | INC_DIR="`mysql_config --include`" |
---|
285 | if test x"$INC_DIR" != "x-I%{_includedir}"; then |
---|
286 | CPPFLAGS="$INC_DIR $CPPFLAGS"; export CPPFLAGS |
---|
287 | fi |
---|
288 | LIB_DIR="`mysql_config --libs | sed -e 's,-[^L][^ ]*,,g' -e 's,^ *,,' -e 's, *$,,' -e 's, *, ,g'`" |
---|
289 | if test x"$LIB_DIR" != "x-L%{_libdir}"; then |
---|
290 | LDFLAGS="$LIB_DIR $LDFLAGS"; export LDFLAGS |
---|
291 | fi |
---|
292 | |
---|
293 | # Find the PostgreSQL libraries used needed by the SQL auxprop plugin. |
---|
294 | INC_DIR="-I`pg_config --includedir`" |
---|
295 | if test x"$INC_DIR" != "x-I%{_includedir}"; then |
---|
296 | CPPFLAGS="$INC_DIR $CPPFLAGS"; export CPPFLAGS |
---|
297 | fi |
---|
298 | LIB_DIR="-L`pg_config --libdir`" |
---|
299 | if test x"$LIB_DIR" != "x-L%{_libdir}"; then |
---|
300 | LDFLAGS="$LIB_DIR $LDFLAGS"; export LDFLAGS |
---|
301 | fi |
---|
302 | |
---|
303 | CFLAGS="$RPM_OPT_FLAGS $CFLAGS $CPPFLAGS -fPIC -pie -Wl,-z,relro -Wl,-z,now"; export CFLAGS |
---|
304 | |
---|
305 | echo "$CFLAGS" |
---|
306 | echo "$CPPFLAGS" |
---|
307 | echo "$LDFLAGS" |
---|
308 | |
---|
309 | %configure \ |
---|
310 | --disable-static --enable-shared --disable-java \ |
---|
311 | --with-plugindir=%{_plugindir2} \ |
---|
312 | --with-configdir=%{_plugindir2}:%{_sysconfdir}/sasl2 \ |
---|
313 | --disable-krb4 \ |
---|
314 | --with-rc4 \ |
---|
315 | --with-dblib=berkeley \ |
---|
316 | --with-bdb=db \ |
---|
317 | --with-saslauthd=/var/run/saslauthd --without-pwcheck \ |
---|
318 | --with-ldap \ |
---|
319 | --with-devrandom=/dev/urandom \ |
---|
320 | --enable-anon \ |
---|
321 | --enable-cram \ |
---|
322 | --enable-digest \ |
---|
323 | --enable-ntlm \ |
---|
324 | --enable-plain \ |
---|
325 | --enable-login \ |
---|
326 | --disable-otp \ |
---|
327 | --enable-ldapdb \ |
---|
328 | --enable-sql --with-mysql=%{_prefix} --with-pgsql=%{_prefix} \ |
---|
329 | --without-sqlite \ |
---|
330 | "$@" |
---|
331 | # --enable-auth-sasldb -- EXPERIMENTAL |
---|
332 | make %{?_smp_mflags} sasldir=%{_plugindir2} |
---|
333 | make %{?_smp_mflags} -C saslauthd testsaslauthd |
---|
334 | make -C sample |
---|
335 | |
---|
336 | %install |
---|
337 | test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT |
---|
338 | make install DESTDIR=$RPM_BUILD_ROOT sasldir=%{_plugindir2} |
---|
339 | make install DESTDIR=$RPM_BUILD_ROOT sasldir=%{_plugindir2} -C plugins |
---|
340 | |
---|
341 | install -m755 -d $RPM_BUILD_ROOT%{_bindir} |
---|
342 | ./libtool --tag=CC --mode=install \ |
---|
343 | install -m755 sample/client $RPM_BUILD_ROOT%{_bindir}/sasl2-sample-client |
---|
344 | ./libtool --tag=CC --mode=install \ |
---|
345 | install -m755 sample/server $RPM_BUILD_ROOT%{_bindir}/sasl2-sample-server |
---|
346 | ./libtool --tag=CC --mode=install \ |
---|
347 | install -m755 saslauthd/testsaslauthd $RPM_BUILD_ROOT%{_sbindir}/testsaslauthd |
---|
348 | ./libtool --tag=CC --mode=install \ |
---|
349 | install -m755 utils/dbconverter-2 $RPM_BUILD_ROOT%{_sbindir}/dbconverter-2 |
---|
350 | |
---|
351 | # Install the saslauthd mdoc page in the expected location. Sure, it's not |
---|
352 | # really a man page, but groff seems to be able to cope with it. |
---|
353 | install -m755 -d $RPM_BUILD_ROOT%{_mandir}/man8/ |
---|
354 | install -m644 saslauthd/saslauthd.mdoc $RPM_BUILD_ROOT%{_mandir}/man8/saslauthd.8 |
---|
355 | |
---|
356 | # Create the saslauthd listening directory. |
---|
357 | install -m755 -d $RPM_BUILD_ROOT/var/run/saslauthd |
---|
358 | |
---|
359 | # Install the init script for saslauthd and the init script's config file. |
---|
360 | install -m755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/etc/sysconfig |
---|
361 | install -m755 -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/saslauthd |
---|
362 | install -m644 -p %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/saslauthd |
---|
363 | |
---|
364 | # Install the config dirs if they're not already there. |
---|
365 | install -m755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/sasl2 |
---|
366 | install -m755 -d $RPM_BUILD_ROOT/%{_plugindir2} |
---|
367 | |
---|
368 | # Remove unpackaged files from the buildroot. |
---|
369 | rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/libotp.* |
---|
370 | rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/*.a |
---|
371 | rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/*.la |
---|
372 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
373 | rm -f $RPM_BUILD_ROOT%{_mandir}/cat8/saslauthd.8 |
---|
374 | |
---|
375 | %clean |
---|
376 | test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT |
---|
377 | |
---|
378 | %post |
---|
379 | /sbin/ldconfig |
---|
380 | /sbin/chkconfig --add saslauthd |
---|
381 | |
---|
382 | %preun |
---|
383 | if [ $1 = 0 ] ; then |
---|
384 | /sbin/chkconfig --del saslauthd |
---|
385 | fi |
---|
386 | |
---|
387 | %postun |
---|
388 | /sbin/ldconfig |
---|
389 | if [ $1 != 0 ] ; then |
---|
390 | /sbin/service saslauthd condrestart 2>&1 > /dev/null |
---|
391 | fi |
---|
392 | |
---|
393 | %if %{build_compat32} |
---|
394 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
395 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
396 | %endif |
---|
397 | |
---|
398 | %files |
---|
399 | %defattr(-,root,root) |
---|
400 | %license COPYING |
---|
401 | %doc AUTHORS NEWS README doc/legacy/*.html |
---|
402 | %doc $RPM_SOURCE_DIR/README.RPM |
---|
403 | %dir %{_sysconfdir}/sasl2 |
---|
404 | %{_libdir}/libsasl*.so.* |
---|
405 | %dir %{_plugindir2}/ |
---|
406 | %{_plugindir2}/*anonymous*.so* |
---|
407 | %{_plugindir2}/*sasldb*.so* |
---|
408 | %{_mandir}/man8/* |
---|
409 | %{_sbindir}/dbconverter-2 |
---|
410 | %{_sbindir}/saslpasswd2 |
---|
411 | %{_sbindir}/sasldblistusers2 |
---|
412 | %{_sbindir}/pluginviewer |
---|
413 | %{_sbindir}/saslauthd |
---|
414 | %{_sbindir}/testsaslauthd |
---|
415 | %config(noreplace) /etc/sysconfig/saslauthd |
---|
416 | %config /etc/rc.d/init.d/saslauthd |
---|
417 | /var/run/saslauthd |
---|
418 | |
---|
419 | %files gssapi |
---|
420 | %defattr(-,root,root) |
---|
421 | %{_plugindir2}/*gssapi*.so* |
---|
422 | |
---|
423 | %files plain |
---|
424 | %defattr(-,root,root) |
---|
425 | %{_plugindir2}/*plain*.so* |
---|
426 | %{_plugindir2}/*login*.so* |
---|
427 | |
---|
428 | %files md5 |
---|
429 | %defattr(-,root,root) |
---|
430 | %{_plugindir2}/*crammd5*.so* |
---|
431 | %{_plugindir2}/*digestmd5*.so* |
---|
432 | |
---|
433 | %files ntlm |
---|
434 | %defattr(-,root,root) |
---|
435 | %{_plugindir2}/*ntlm*.so* |
---|
436 | |
---|
437 | %files sql |
---|
438 | %defattr(-,root,root) |
---|
439 | %{_plugindir2}/*sql*.so* |
---|
440 | |
---|
441 | %files ldap |
---|
442 | %defattr(-,root,root) |
---|
443 | %{_plugindir2}/*ldapdb*.so* |
---|
444 | |
---|
445 | %files scram |
---|
446 | %defattr(-,root,root) |
---|
447 | %{_plugindir2}/libscram.so* |
---|
448 | |
---|
449 | %files gs2 |
---|
450 | %defattr(-,root,root) |
---|
451 | %{_plugindir2}/libgs2.so* |
---|
452 | |
---|
453 | %files devel |
---|
454 | %defattr(-,root,root) |
---|
455 | %doc doc/*.txt |
---|
456 | %defattr(-,root,root) |
---|
457 | %{_bindir}/sasl2-sample-client |
---|
458 | %{_bindir}/sasl2-sample-server |
---|
459 | %{_includedir}/* |
---|
460 | %{_libdir}/libsasl*.so |
---|
461 | %{_libdir}/pkgconfig/*.pc |
---|
462 | %{_mandir}/man3/* |
---|
463 | |
---|
464 | ## to build compat32 for x86_64 architecture support |
---|
465 | %if %{build_compat32} |
---|
466 | %files -n compat32-%{name} |
---|
467 | %defattr(-,root,root) |
---|
468 | %{_libdir}/libsasl*.so.* |
---|
469 | %dir %{_plugindir2}/ |
---|
470 | %{_plugindir2}/*anonymous*.so* |
---|
471 | %{_plugindir2}/*sasldb*.so* |
---|
472 | |
---|
473 | %files -n compat32-%{name}-gssapi |
---|
474 | %defattr(-,root,root) |
---|
475 | %{_plugindir2}/*gssapi*.so* |
---|
476 | |
---|
477 | %files -n compat32-%{name}-plain |
---|
478 | %defattr(-,root,root) |
---|
479 | %{_plugindir2}/*plain*.so* |
---|
480 | %{_plugindir2}/*login*.so* |
---|
481 | |
---|
482 | %files -n compat32-%{name}-md5 |
---|
483 | %defattr(-,root,root) |
---|
484 | %{_plugindir2}/*crammd5*.so* |
---|
485 | %{_plugindir2}/*digestmd5*.so* |
---|
486 | |
---|
487 | %files -n compat32-%{name}-ntlm |
---|
488 | %defattr(-,root,root) |
---|
489 | %{_plugindir2}/*ntlm*.so* |
---|
490 | |
---|
491 | # %files -n compat32-%{name}-sql |
---|
492 | # %defattr(-,root,root) |
---|
493 | # %{_plugindir2}/*sql*.so* |
---|
494 | |
---|
495 | %files -n compat32-%{name}-ldap |
---|
496 | %defattr(-,root,root) |
---|
497 | %{_plugindir2}/*ldapdb*.so* |
---|
498 | |
---|
499 | %files -n compat32-%{name}-scram |
---|
500 | %defattr(-,root,root) |
---|
501 | %{_plugindir2}/libscram.so* |
---|
502 | |
---|
503 | %files -n compat32-%{name}-gs2 |
---|
504 | %defattr(-,root,root) |
---|
505 | %{_plugindir2}/libgs2.so* |
---|
506 | |
---|
507 | %files -n compat32-%{name}-devel |
---|
508 | %defattr(-,root,root) |
---|
509 | %{_libdir}/libsasl*.so |
---|
510 | %endif |
---|
511 | |
---|
512 | |
---|
513 | %changelog |
---|
514 | * Mon May 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.27-1 |
---|
515 | - new upstream release. |
---|
516 | - updated Patch11, 15, 21, 49 and 102. |
---|
517 | - dropped Patch44-48, 50-60 and 200. |
---|
518 | - added BR:libxcrypt-devel. |
---|
519 | |
---|
520 | * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.26-7 |
---|
521 | - rebuilt with openssl-1.1.1. |
---|
522 | - added Patch54-60. |
---|
523 | |
---|
524 | * Wed Nov 02 2016 Toshiaki Ara <ara_t@384.jp> 2.1.26-6 |
---|
525 | - fix [BTS:0003006] |
---|
526 | - correct saslauthd.sysconfig |
---|
527 | |
---|
528 | * Mon Mar 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.26-5 |
---|
529 | - rebuilt with openssl-1.0.2g. |
---|
530 | |
---|
531 | * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.26-4 |
---|
532 | - built with libdb 5.3.28 |
---|
533 | - dropt Patch10 |
---|
534 | - added Patch44, 45, 49, 50, 52 and 53 |
---|
535 | - fixed typo of Require of compat32-cyrus-sasl-{scram, gs2} |
---|
536 | - fixed %%doc of cyrus-sasl and cyrus-sasl-devel |
---|
537 | - added Japanese summary |
---|
538 | |
---|
539 | * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.26-3 |
---|
540 | - rebuild with VineSeed environment |
---|
541 | - change BuildRequires: libmysqlclient-devel instead of MySQL-devel |
---|
542 | - change BuildRequires: libpq-devel instead of postgresql-devel |
---|
543 | |
---|
544 | * Sat Feb 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.26-2 |
---|
545 | - add Patch46 (cyrus-sasl-2.1.26-size_t.patch) from fedora |
---|
546 | |
---|
547 | * Thu Jan 9 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.1.26-1 |
---|
548 | - update to 2.1.26 |
---|
549 | - drop sig file (Source1): upstream isn't release. |
---|
550 | - add cyrus-sasl-scram and cyrus-sasl-gs2 packages |
---|
551 | - add pkgconfig file in cyrus-sasl-devel package |
---|
552 | - fix License |
---|
553 | - update URL |
---|
554 | - update %%doc |
---|
555 | - drop SASLv1 |
---|
556 | - drop Source2,3 |
---|
557 | - drop Patch0-5 for SASLv1 patches |
---|
558 | - update patch from RHEL7 beta cyrus-sasl-2.1.26-12.1.el7 |
---|
559 | - no rpath patch (Patch11) |
---|
560 | - keytab patch (Patch28) |
---|
561 | - db4 patch (Patch100) |
---|
562 | - gcc44 patch (Patch101) |
---|
563 | - update CVE-2013-4122 patch (Patch200) from Gentoo Linux |
---|
564 | - update configure patch (Patch102) |
---|
565 | - drop unnecessary patch |
---|
566 | - automake 1.10 patch (Patch27) |
---|
567 | - upstream fixed |
---|
568 | - typo patch (Patch25) |
---|
569 | - digest commas patch (Patch26) |
---|
570 | |
---|
571 | * Mon Sep 16 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.1.23-11 |
---|
572 | - add patch200 for fix CVE-2013-4122 (NULL ptr. dereference) |
---|
573 | |
---|
574 | * Mon Aug 22 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.1.23-10 |
---|
575 | - add Vendor/Distri Tags |
---|
576 | |
---|
577 | * Mon Aug 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.23-9 |
---|
578 | - fixed pam support. |
---|
579 | - fixed MySQL support. |
---|
580 | |
---|
581 | * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.1.23-8 |
---|
582 | - rebuilt with postgresql-9.0.3 |
---|
583 | |
---|
584 | * Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.23-7 |
---|
585 | - rebuild with krb5-libs-1.8.2 and openssl-1.0.0d |
---|
586 | |
---|
587 | * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.23-6 |
---|
588 | - rebuild with openssl-1.0.0c |
---|
589 | - add BuildRequires: groff |
---|
590 | |
---|
591 | * Thu Feb 11 2010 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.23-5 |
---|
592 | - rebuilt with db4-4.8 |
---|
593 | - updated Patch100: cyrus-sasl-2.1.22-db4.patch |
---|
594 | - added Patch101: cyrus-sasl-2.1.23-gcc44.patch |
---|
595 | |
---|
596 | * Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.1.23-4 |
---|
597 | - dropped compat32-%%{name}-sql |
---|
598 | |
---|
599 | * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.1.23-3 |
---|
600 | - added compat32 subpackages |
---|
601 | |
---|
602 | * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.23-2 |
---|
603 | - rebuilt with MySQL-5.1.34. |
---|
604 | |
---|
605 | * Mon May 18 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.1.23-1 |
---|
606 | - new upstream release with security fix (CVE-2009-0688) |
---|
607 | - add patch5 to fix CVE-2009-0688 issue in 1.5.28 side |
---|
608 | (No effect in Current VineSeed package) |
---|
609 | |
---|
610 | * Sun Jan 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.22-5 |
---|
611 | - rebuilt with openldap-2.4.11 |
---|
612 | |
---|
613 | * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.22-4 |
---|
614 | - s/%%{name}-lib/%%{name}/ at requires of sql, ldap sub-packages |
---|
615 | |
---|
616 | * Sun Oct 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1.22-3 |
---|
617 | - added gssapi subpackage |
---|
618 | |
---|
619 | * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.22-2 |
---|
620 | - rebuilt against db-4.6.21 with Patch100 |
---|
621 | - import Patch27 from Fedora |
---|
622 | |
---|
623 | * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.22-1vl5 |
---|
624 | - updated to 2.1.22 |
---|
625 | - added Patches from Fedora |
---|
626 | * Tue Jun 20 2006 Nalin Dahyabhai <nalin@redhat.com> 2.1.22-2 |
---|
627 | - fix a typo in sasl_client_start(3) (#196066) |
---|
628 | * Thu Apr 27 2006 Nalin Dahyabhai <nalin@redhat.com> 2.1.21-11 |
---|
629 | - add unapplied patch which makes the DIGEST-MD5 plugin omit the realm |
---|
630 | argument when the environment has $CYRUS_SASL_DIGEST_MD5_OMIT_REALM set |
---|
631 | to a non-zero value, for testing purposes |
---|
632 | - added subpackages for the ldapdb auxprop support |
---|
633 | - added --disable-static option to %%configure |
---|
634 | |
---|
635 | * Tue May 22 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.18-0vl8 |
---|
636 | - added Patch17: cyrus-sasl-2.1.18-openssl-098.patch |
---|
637 | - rebuilt with openssl-0.9.8 |
---|
638 | |
---|
639 | * Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.1.18-0vl7 |
---|
640 | - disable version 1 now (no VineSeed package require version 1) |
---|
641 | - enable ntlm subpackage now |
---|
642 | - rebuilt with new toolchain and db4-4.3.x |
---|
643 | |
---|
644 | * Sat Jul 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.18-0vl6 |
---|
645 | - rebuilt for VineSeed |
---|
646 | |
---|
647 | * Fri Apr 28 2006 IWAI, Masaharu <iwai@alib.jp> 2.1.18-0vl5 |
---|
648 | - SECURITY FIX for Vine 3.2: CVE-2006-1721 |
---|
649 | - add 23_CVE-2006-1721.diff ( Patch16 ) |
---|
650 | from Debian Sarge cyrus-sasl2_2.1.19-1.5sarge1.diff.gz |
---|
651 | |
---|
652 | * Mon Dec 26 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.18-0vl4 |
---|
653 | - rebuild for VineSeed |
---|
654 | |
---|
655 | * Sat Nov 27 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 2.1.18-0vl3 |
---|
656 | - added security patch cyrus-sasl-CAN-2004-0884.patch for CAN-2004-0884 |
---|
657 | from Mandrakelinux. |
---|
658 | |
---|
659 | * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.1.18-0vl2 |
---|
660 | - rebuilt with db4-4.2.52 |
---|
661 | |
---|
662 | * Thu Aug 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.18-0vl1 |
---|
663 | - new upstream release |
---|
664 | - rebuild with openssl-0.9.7d |
---|
665 | - import some patch from fedora package |
---|
666 | |
---|
667 | * Sun Nov 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.15-6vl1 |
---|
668 | - new upstream release |
---|
669 | - remove prereq initscripts |
---|
670 | - merged with fedora package |
---|
671 | * Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 |
---|
672 | - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is |
---|
673 | safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to |
---|
674 | use it to seed the libc RNG only (#103378) |
---|
675 | * Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> |
---|
676 | - obey RPM_OPT_FLAGS again when krb5_prefix != %%{_prefix} |
---|
677 | * Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 |
---|
678 | - install saslauthd's mdoc page instead of the pre-formatted man page, which |
---|
679 | would get formatted again |
---|
680 | * Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> |
---|
681 | - include testsaslauthd |
---|
682 | - note in the README that the saslauthd protocol is different for v1 and v2, |
---|
683 | so v1's clients can't talk to the v2 server |
---|
684 | * Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 |
---|
685 | - add logic to build with gssapi libs in either /usr or /usr/kerberos |
---|
686 | * Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 |
---|
687 | - update to 2.1.15 |
---|
688 | * Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 |
---|
689 | - update to 2.1.14 |
---|
690 | |
---|
691 | * Wed May 14 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.13-3vl1 |
---|
692 | - new upstream version |
---|
693 | - merged with rawhide version |
---|
694 | -- * Fri May 9 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 |
---|
695 | -- - change -m argument to saslauthd to be a directory instead of a path |
---|
696 | -- * Thu May 8 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 |
---|
697 | -- - link libsasl2 with -lpthread to ensure that the sasldb plug-in |
---|
698 | can always be loaded |
---|
699 | -- * Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 |
---|
700 | -- - update to 2.1.13 |
---|
701 | - disable gssapi because Vine Linux don't support Kerberos |
---|
702 | |
---|
703 | * Sun Dec 9 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.5.27-17vl1 |
---|
704 | - upstream release |
---|
705 | - obsoleted cyrus-sasl-1.5.21-des.patch ( upstream merged ) |
---|
706 | - obsoleted cyrus-sasl-1.5.24-external.patch ( upstream merged ) |
---|
707 | - added BuildPrereq: gdbm-devel, pam-devel |
---|
708 | |
---|
709 | * Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
710 | - 1.5.24-17vl2 |
---|
711 | - rebuilt with openssl-0.9.6b |
---|
712 | |
---|
713 | * Wed Apr 11 2001 Satoshi MACHINO <machino@vinelinux.org> 1.5.24-17vl1 |
---|
714 | - merged Rawhide Package |
---|
715 | |
---|
716 | * Sat Nov 18 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.5.24-14vl1 |
---|
717 | - build for Vine Linux |
---|
718 | - build with gcc-2.95.3 |
---|
719 | - removed kerberos and gssapi |
---|
720 | |
---|
721 | * Fri Oct 27 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
722 | - enable static libraries, but always build with -fPIC |
---|
723 | |
---|
724 | * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
725 | - make sure the version of 1.5.24 in the package matches the masters (#18968) |
---|
726 | |
---|
727 | * Mon Oct 9 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
728 | - re-add the libsasl.so symlink to the -devel package (oops) |
---|
729 | |
---|
730 | * Fri Oct 6 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
731 | - move .so files for modules to their respective packages -- they're not -devel |
---|
732 | links meant for use by ld anyway |
---|
733 | |
---|
734 | * Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
735 | - split off -devel subpackage |
---|
736 | - add a -gssapi subpackage for the gssapi plugins |
---|
737 | |
---|
738 | * Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
739 | - fix the summary text |
---|
740 | |
---|
741 | * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
742 | - re-enable arcfour and CRAM |
---|
743 | |
---|
744 | * Fri Aug 4 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
745 | - force use of gdbm for database files to avoid DB migration weirdness |
---|
746 | - enable login mechanism |
---|
747 | - disable gssapi until it can coexist peacefully with non-gssapi setups |
---|
748 | - actually do a make in the build section (#15410) |
---|
749 | |
---|
750 | * Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
751 | - update to 1.5.24 |
---|
752 | |
---|
753 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
754 | - automatic rebuild |
---|
755 | |
---|
756 | * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
757 | - rebuild in new environment (release 3) |
---|
758 | |
---|
759 | * Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
760 | - don't muck with syslogd in post |
---|
761 | - remove patch for db-3.0 wackiness, no longer needed |
---|
762 | |
---|
763 | * Thu Jun 8 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
764 | - FHS cleanup |
---|
765 | - don't strip anything by default |
---|
766 | |
---|
767 | * Fri Feb 11 2000 Tim Powers <timp@redhat.com> |
---|
768 | - fixed man pages not being gzipped |
---|
769 | |
---|
770 | * Tue Nov 16 1999 Tim Powers <timp@redhat.com> |
---|
771 | - incorporated changes from Mads Kiilerich |
---|
772 | - release number is 1, not mk1 |
---|
773 | |
---|
774 | * Wed Nov 10 1999 Mads Kiilerich <mads@kiilerich.com> |
---|
775 | - updated to sasl 1.5.11 |
---|
776 | - configure --disable-krb4 --without-rc4 --disable-cram |
---|
777 | because of missing libraries and pine having cram as default... |
---|
778 | - handle changing libsasl.so versions |
---|
779 | |
---|
780 | * Mon Aug 30 1999 Tim Powers <timp@redhat.com> |
---|
781 | - changed group |
---|
782 | |
---|
783 | * Fri Aug 13 1999 Tim Powers <timp@redhat.com> |
---|
784 | - first build for Powertools |
---|