cyrus-sasl-vl.spec 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define cs1_version 1.5.28
  3. %define _plugindir %{_libdir}/sasl
  4. %define _plugindir2 %{_libdir}/sasl2
  5. # No package in the current VineSeed tree needs Version 1 support
  6. %define includev1 0
  7. Summary: The Cyrus SASL library.
  8. Name: cyrus-sasl
  9. Version: 2.1.23
  10. Release: 6%{_dist_release}
  11. License: BSD
  12. Group: System Environment/Libraries
  13. Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{version}.tar.gz
  14. Source1: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{version}.tar.gz.sig
  15. Source2: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{cs1_version}.tar.gz
  16. Source3: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{cs1_version}.tar.gz.sig
  17. Source4: saslauthd.init
  18. Source5: README.RPM
  19. Source9: saslauthd.sysconfig
  20. URL: http://asg.web.cmu.edu/sasl/sasl-library.html
  21. #
  22. Patch0: cyrus-sasl-1.5.24-rpath.patch
  23. Patch1: cyrus-sasl-1.5.28-autoconf25.patch
  24. Patch2: cyrus-sasl-1.5.28-automake17.patch
  25. Patch3: cyrus-sasl-1.5.28-automake18.patch
  26. Patch4: cyrus-sasl-1.5.28-saslauthd2.patch
  27. Patch5: cyrus-sasl-1.5.28_CVE-2009-0688.patch
  28. #
  29. Patch10: cyrus-sasl-2.1.22-db_bundle.patch
  30. Patch11: cyrus-sasl-2.1.18-no_rpath.patch
  31. Patch15: cyrus-sasl-2.1.20-saslauthd.conf-path.patch
  32. Patch24: cyrus-sasl-2.1.21-sizes.patch
  33. Patch25: cyrus-sasl-2.1.22-typo.patch
  34. Patch26: cyrus-sasl-2.1.22-digest-commas.patch
  35. Patch27: cyrus-sasl-2.1.22-automake-1.10.patch
  36. Patch28: cyrus-sasl-2.1.21-keytab.patch
  37. Patch100: cyrus-sasl-2.1.22-db4.patch
  38. Patch101: cyrus-sasl-2.1.23-gcc44.patch
  39. Buildroot: %{_tmppath}/%{name}-%{version}-root
  40. BuildRequires: autoconf, automake, libtool
  41. # Note: berkeley db for sasl2, gdbm for sasl1.
  42. BuildRequires: db4-devel, openssl-devel, pam-devel
  43. %if %{includev1}
  44. BuildRequires: gdbm-devel
  45. %endif
  46. BuildRequires: MySQL-devel, postgresql-devel, openldap-devel, zlib-devel
  47. BuildRequires: pkgconfig
  48. BuildRequires: krb5-devel
  49. BuildRequires: groff
  50. Requires(post,postun): /sbin/ldconfig, chkconfig
  51. %description
  52. The %{name} package contains the Cyrus implementation of SASL.
  53. SASL is the Simple Authentication and Security Layer, a method for
  54. adding authentication support to connection-based protocols.
  55. %package devel
  56. Requires: %{name} = %{version}-%{release}
  57. Group: Development/Libraries
  58. Summary: Files needed for developing applications with Cyrus SASL.
  59. %description devel
  60. The %{name}-devel package contains files needed for developing and
  61. compiling applications which use the Cyrus SASL library.
  62. %package gssapi
  63. Requires: %{name} = %{version}-%{release}
  64. Group: System Environment/Libraries
  65. Summary: GSSAPI support for Cyrus SASL.
  66. %description gssapi
  67. The %{name}-gssapi package contains the Cyrus SASL plugins which
  68. support GSSAPI authentication. GSSAPI is commonly used for Kerberos
  69. authentication.
  70. %package plain
  71. Requires: %{name} = %{version}-%{release}
  72. Group: System Environment/Libraries
  73. Summary: PLAIN and LOGIN support for Cyrus SASL.
  74. %description plain
  75. The %{name}-plain package contains the Cyrus SASL plugins which support
  76. PLAIN and LOGIN authentication schemes.
  77. %package md5
  78. Requires: %{name} = %{version}-%{release}
  79. Group: System Environment/Libraries
  80. Summary: CRAM-MD5 and DIGEST-MD5 support for Cyrus SASL.
  81. %description md5
  82. The %{name}-md5 package contains the Cyrus SASL plugins which support
  83. CRAM-MD5 and DIGEST-MD5 authentication schemes.
  84. %package ntlm
  85. Requires: %{name} = %{version}-%{release}
  86. Group: System Environment/Libraries
  87. Summary: NTLM support for Cyrus SASL.
  88. %description ntlm
  89. The %{name}-ntlm package contains the Cyrus SASL plugin which supports
  90. the NTLM authentication schemes.
  91. # This would more appropriately be named cyrus-sasl-auxprop-sql.
  92. %package sql
  93. #Requires: %{name}-lib = %{version}-%{release}
  94. Requires: %{name} = %{version}-%{release}
  95. Group: System Environment/Libraries
  96. Summary: SQL auxprop support for Cyrus SASL
  97. %description sql
  98. The %{name}-sql package contains the Cyrus SASL plugin which supports
  99. using a RDBMS for storing shared secrets.
  100. # This was *almost* named cyrus-sasl-auxprop-ldapdb, but that's a lot of typing.
  101. %package ldap
  102. #Requires: %{name}-lib = %{version}-%{release}
  103. Requires: %{name} = %{version}-%{release}
  104. Group: System Environment/Libraries
  105. Summary: LDAP auxprop support for Cyrus SASL
  106. %description ldap
  107. The %{name}-ldap package contains the Cyrus SASL plugin which supports using
  108. a directory server, accessed using LDAP, for storing shared secrets.
  109. ## to build compat32 for x86_64 architecture support
  110. %package -n compat32-%{name}
  111. Summary: The Cyrus SASL library.
  112. Group: System Environment/Libraries
  113. %description -n compat32-%{name}
  114. The %{name} package contains the Cyrus implementation of SASL.
  115. SASL is the Simple Authentication and Security Layer, a method for
  116. adding authentication support to connection-based protocols.
  117. %package -n compat32-%{name}-devel
  118. Group: Development/Libraries
  119. Summary: Files needed for developing applications with Cyrus SASL.
  120. %description -n compat32-%{name}-devel
  121. The %{name}-devel package contains files needed for developing and
  122. compiling applications which use the Cyrus SASL library.
  123. %package -n compat32-%{name}-gssapi
  124. Group: System Environment/Libraries
  125. Summary: GSSAPI support for Cyrus SASL.
  126. %description -n compat32-%{name}-gssapi
  127. The %{name}-gssapi package contains the Cyrus SASL plugins which
  128. support GSSAPI authentication. GSSAPI is commonly used for Kerberos
  129. authentication.
  130. %package -n compat32-%{name}-plain
  131. Group: System Environment/Libraries
  132. Summary: PLAIN and LOGIN support for Cyrus SASL.
  133. %description -n compat32-%{name}-plain
  134. The %{name}-plain package contains the Cyrus SASL plugins which support
  135. PLAIN and LOGIN authentication schemes.
  136. %package -n compat32-%{name}-md5
  137. Group: System Environment/Libraries
  138. Summary: CRAM-MD5 and DIGEST-MD5 support for Cyrus SASL.
  139. %description -n compat32-%{name}-md5
  140. The %{name}-md5 package contains the Cyrus SASL plugins which support
  141. CRAM-MD5 and DIGEST-MD5 authentication schemes.
  142. %package -n compat32-%{name}-ntlm
  143. Group: System Environment/Libraries
  144. Summary: NTLM support for Cyrus SASL.
  145. %description -n compat32-%{name}-ntlm
  146. The %{name}-ntlm package contains the Cyrus SASL plugin which supports
  147. the NTLM authentication schemes.
  148. # %package -n compat32-%{name}-sql
  149. # Group: System Environment/Libraries
  150. # Summary: SQL auxprop support for Cyrus SASL
  151. # %description -n compat32-%{name}-sql
  152. # The %{name}-sql package contains the Cyrus SASL plugin which supports
  153. # using a RDBMS for storing shared secrets.
  154. %package -n compat32-%{name}-ldap
  155. Group: System Environment/Libraries
  156. Summary: LDAP auxprop support for Cyrus SASL
  157. %description -n compat32-%{name}-ldap
  158. The %{name}-ldap package contains the Cyrus SASL plugin which supports using
  159. a directory server, accessed using LDAP, for storing shared secrets.
  160. %prep
  161. %setup -q -c -a 2
  162. %if %{includev1}
  163. pushd cyrus-sasl-%{cs1_version}
  164. %patch0 -p1 -b .rpath
  165. %patch1 -p1 -b .autoconf25
  166. %patch2 -p1 -b .automake17
  167. %patch3 -p1 -b .automake18
  168. %patch4 -p1 -b .saslauthd2
  169. %patch5 -p1 -b .CVE-2009-0688
  170. libtoolize -f -c
  171. aclocal -I config -I cmulocal
  172. automake -a -c -f
  173. autoheader
  174. autoconf -f
  175. popd
  176. %endif
  177. pushd cyrus-sasl-%{version}
  178. chmod -x doc/*.html
  179. chmod -x include/*.h
  180. %patch10 -p1 -b .db_bundle
  181. %patch11 -p1 -b .no_rpath
  182. %patch15 -p1 -b .path
  183. %patch24 -p1 -b .sizes
  184. %patch25 -p1 -b .typo
  185. %patch26 -p2 -b .digest-commas
  186. %patch27 -p1 -b .automake-1.10
  187. %patch28 -p1 -b .keytab
  188. %patch100 -p1 -b .db48
  189. %patch101 -p1 -b .gcc44
  190. # FIXME - we remove these files directly so that we can avoid using the -f
  191. # flag, which has a nasty habit of overwriting files like COPYING.
  192. rm -f config/config.guess config/config.sub
  193. rm -f config/ltconfig config/ltmain.sh config/libtool.m4
  194. rm -fr autom4te.cache
  195. libtoolize -c
  196. aclocal -I config -I cmulocal
  197. automake -a -c
  198. autoheader
  199. autoconf
  200. pushd saslauthd
  201. rm -f config/config.guess config/config.sub
  202. rm -f config/ltconfig config/ltmain.sh config/libtool.m4
  203. rm -fr autom4te.cache
  204. libtoolize -c
  205. aclocal -I config -I ../cmulocal -I ../config
  206. automake -a -c
  207. autoheader
  208. autoconf
  209. popd
  210. %if %{includev1}
  211. # Sort of merge the docs.
  212. mkdir cyrus-sasl-%{version}/%{cs1_version}
  213. mkdir cyrus-sasl-%{version}/%{cs1_version}-devel
  214. cp %{name}-%{cs1_version}/{AUTHORS,COPYING,NEWS,README,doc/*.html} cyrus-sasl-%{version}/%{cs1_version}
  215. cp %{name}-%{cs1_version}/doc/*.txt cyrus-sasl-%{version}/%{cs1_version}-devel
  216. # Remove duplicate RFCs.
  217. pushd cyrus-sasl-%{version}/%{cs1_version}-devel
  218. for file in * ; do
  219. if [ -f ../doc/${file} ] ; then
  220. rm -f ${file}
  221. fi
  222. done
  223. popd
  224. %endif
  225. %build
  226. %if %{includev1}
  227. pushd cyrus-sasl-%{cs1_version}
  228. %configure \
  229. --enable-static --enable-staticdlopen --with-pic --enable-shared \
  230. --with-plugindir=%{_plugindir} \
  231. --disable-krb4 \
  232. --with-rc4 \
  233. --with-dblib=gdbm \
  234. --enable-anon \
  235. --enable-cram \
  236. --enable-digest \
  237. --enable-plain \
  238. --enable-login
  239. make %{?_smp_mflags} sasldir=%{_plugindir}
  240. popd
  241. %endif
  242. pushd cyrus-sasl-%{version}
  243. CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
  244. # Find OpenSSL.
  245. LIBS="-lcrypt"; export LIBS
  246. if pkg-config openssl ; then
  247. CPPFLAGS="`pkg-config --cflags-only-I openssl` $CPPFLAGS"; export CPPFLAGS
  248. CFLAGS="`pkg-config --cflags openssl` $CFLAGS"; export CFLAGS
  249. LDFLAGS="`pkg-config --libs-only-L openssl` $LDFLAGS"; export LDFLAGS
  250. fi
  251. # Find the SQL libraries used needed by the SQL auxprop plugin.
  252. mysql_config=mysql_config
  253. pg_config=pg_config
  254. SQL_CFLAGS=`${mysql_config} --cflags`" -I"`${pg_config} --includedir`
  255. SQL_LIBS=`${mysql_config} --libs`" -L"`${pg_config} --libdir`" -lpq"
  256. SQL_CFLAGS=`eval echo "$SQL_CFLAGS" | sed -e 's,-I%{_includedir}[^/],,g' -e 's,-I%{_includedir}$,,g' -e 's,[[:blank:]]+, ,g'`
  257. SQL_LIBS=`eval echo "$SQL_LIBS" | sed -e 's,-L%{_libdir}[^/],,g' -e 's,-L%{_libdir}$,,g' -e 's,[[:blank:]]+, ,g'`
  258. SQL_LDFLAGS=`eval echo "$SQL_LIBS" | sed -e 's,-[^L][^ ]*,,g'`
  259. echo $SQL_LDFLAGS
  260. SQL_LIBS=`eval echo "$SQL_LIBS" | sed -e 's,-[^l][^ ]*,,g'`
  261. echo $SQL_LIBS
  262. cleanup_flags() {
  263. sed -r -e 's,-D_GNU_SOURCE(=[^[:blank:]]+)?,,g' \
  264. -e 's,-D_FILE_OFFSET_BITS=[[:digit:]]+,,g' \
  265. -e 's,-D_LARGEFILE_SOURCE(=[^[:blank:]]+)?,,g' \
  266. -e 's,[[:blank:]]+, ,g'
  267. }
  268. CFLAGS=`echo $CFLAGS $SQL_CFLAGS | cleanup_flags`; export CFLAGS
  269. CPPFLAGS=`echo $CPPFLAGS $SQL_CFLAGS | cleanup_flags`; export CPPFLAGS
  270. LDFLAGS=`echo $LDFLAGS $SQL_LDFLAGS | cleanup_flags`; export LDFLAGS
  271. %configure \
  272. --disable-static --enable-shared --disable-java \
  273. --with-plugindir=%{_plugindir2}:%{_sysconfdir}/sasl2 \
  274. --disable-krb4 \
  275. --with-rc4 \
  276. --with-dblib=berkeley \
  277. --with-saslauthd=/var/run/saslauthd --without-pwcheck \
  278. --with-ldap \
  279. --with-devrandom=/dev/urandom \
  280. --enable-anon \
  281. --enable-cram \
  282. --enable-digest \
  283. --enable-ntlm \
  284. --enable-plain \
  285. --enable-login \
  286. --disable-otp \
  287. --enable-ldapdb \
  288. --enable-sql --with-mysql=%{_prefix} --with-pgsql=%{_prefix} \
  289. --without-sqlite \
  290. "$@"
  291. # --enable-auth-sasldb -- EXPERIMENTAL
  292. make %{?_smp_mflags} sasldir=%{_plugindir2}
  293. make %{?_smp_mflags} -C saslauthd testsaslauthd
  294. make -C sample
  295. popd
  296. %install
  297. test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
  298. %if %{includev1}
  299. pushd cyrus-sasl-%{cs1_version}
  300. %makeinstall sasldir=$RPM_BUILD_ROOT/%{_plugindir}
  301. install -m755 -d $RPM_BUILD_ROOT%{_bindir}
  302. libtool --mode=install \
  303. install -m755 sample/client $RPM_BUILD_ROOT%{_bindir}/sasl-sample-client
  304. libtool --mode=install \
  305. install -m755 sample/server $RPM_BUILD_ROOT%{_bindir}/sasl-sample-server
  306. popd
  307. %endif
  308. pushd cyrus-sasl-%{version}
  309. make install DESTDIR=$RPM_BUILD_ROOT sasldir=%{_plugindir2}
  310. make install DESTDIR=$RPM_BUILD_ROOT sasldir=%{_plugindir2} -C plugins
  311. install -m755 -d $RPM_BUILD_ROOT%{_bindir}
  312. ./libtool --tag=CC --mode=install \
  313. install -m755 sample/client $RPM_BUILD_ROOT%{_bindir}/sasl2-sample-client
  314. ./libtool --tag=CC --mode=install \
  315. install -m755 sample/server $RPM_BUILD_ROOT%{_bindir}/sasl2-sample-server
  316. ./libtool --tag=CC --mode=install \
  317. install -m755 saslauthd/testsaslauthd $RPM_BUILD_ROOT%{_sbindir}/testsaslauthd
  318. ./libtool --tag=CC --mode=install \
  319. install -m755 utils/dbconverter-2 $RPM_BUILD_ROOT%{_sbindir}/dbconverter-2
  320. # Install the saslauthd mdoc page in the expected location. Sure, it's not
  321. # really a man page, but groff seems to be able to cope with it.
  322. install -m755 -d $RPM_BUILD_ROOT%{_mandir}/man8/
  323. install -m644 saslauthd/saslauthd.mdoc $RPM_BUILD_ROOT%{_mandir}/man8/saslauthd.8
  324. # Create the saslauthd listening directory.
  325. install -m755 -d $RPM_BUILD_ROOT/var/run/saslauthd
  326. # Install the init script for saslauthd and the init script's config file.
  327. install -m755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/etc/sysconfig
  328. install -m755 -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/saslauthd
  329. install -m644 -p %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/saslauthd
  330. popd
  331. # Install the config dirs if they're not already there.
  332. install -m755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/sasl2
  333. install -m755 -d $RPM_BUILD_ROOT/%{_plugindir2}
  334. # Remove unpackaged files from the buildroot.
  335. rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/libotp.*
  336. rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/*.a
  337. rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/*.la
  338. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  339. rm -f $RPM_BUILD_ROOT%{_mandir}/cat8/saslauthd.8
  340. %clean
  341. test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
  342. %post
  343. /sbin/ldconfig
  344. /sbin/chkconfig --add saslauthd
  345. %preun
  346. if [ $1 = 0 ] ; then
  347. /sbin/chkconfig --del saslauthd
  348. fi
  349. %postun
  350. /sbin/ldconfig
  351. if [ $1 != 0 ] ; then
  352. /sbin/service saslauthd condrestart 2>&1 > /dev/null
  353. fi
  354. %files
  355. %defattr(-,root,root)
  356. %if %{includev1}
  357. %doc %{name}-%{version}/%{cs1_version}
  358. %endif
  359. %doc %{name}-%{version}/{AUTHORS,COPYING,NEWS,README,doc/*.html}
  360. %doc $RPM_SOURCE_DIR/README.RPM
  361. %dir %{_sysconfdir}/sasl2
  362. %{_libdir}/libsasl*.so.*
  363. %if %{includev1}
  364. %dir %{_plugindir}/
  365. %endif
  366. %dir %{_plugindir2}/
  367. %if %{includev1}
  368. %{_plugindir}/*anonymous*.so*
  369. %{_plugindir}/*anonymous*.la
  370. %endif
  371. %{_plugindir2}/*anonymous*.so*
  372. %{_plugindir2}/*sasldb*.so*
  373. %{_mandir}/man8/*
  374. %{_sbindir}/dbconverter-2
  375. %if %{includev1}
  376. %{_sbindir}/saslpasswd
  377. %{_sbindir}/sasldblistusers
  378. %endif
  379. %{_sbindir}/saslpasswd2
  380. %{_sbindir}/sasldblistusers2
  381. %{_sbindir}/pluginviewer
  382. %{_sbindir}/saslauthd
  383. %{_sbindir}/testsaslauthd
  384. %config(noreplace) /etc/sysconfig/saslauthd
  385. %config /etc/rc.d/init.d/saslauthd
  386. /var/run/saslauthd
  387. %files gssapi
  388. %defattr(-,root,root)
  389. %{_plugindir2}/*gssapi*.so*
  390. %files plain
  391. %defattr(-,root,root)
  392. %if %{includev1}
  393. %{_plugindir}/*plain*.so*
  394. %{_plugindir}/*plain*.la
  395. %{_plugindir}/*login*.so*
  396. %{_plugindir}/*login*.la
  397. %endif
  398. %{_plugindir2}/*plain*.so*
  399. %{_plugindir2}/*login*.so*
  400. %files md5
  401. %defattr(-,root,root)
  402. %if %{includev1}
  403. %{_plugindir}/*crammd5*.so*
  404. %{_plugindir}/*crammd5*.la
  405. %{_plugindir}/*digestmd5*.so*
  406. %{_plugindir}/*digestmd5*.la
  407. %endif
  408. %{_plugindir2}/*crammd5*.so*
  409. %{_plugindir2}/*digestmd5*.so*
  410. %files ntlm
  411. %defattr(-,root,root)
  412. %{_plugindir2}/*ntlm*.so*
  413. %files sql
  414. %defattr(-,root,root)
  415. %{_plugindir2}/*sql*.so*
  416. %files ldap
  417. %defattr(-,root,root)
  418. %{_plugindir2}/*ldapdb*.so*
  419. %files devel
  420. %defattr(-,root,root)
  421. %if %{includev1}
  422. %doc %{name}-%{version}/%{cs1_version}-devel
  423. %endif
  424. %doc %{name}-%{version}/doc/*.txt
  425. %defattr(-,root,root)
  426. %if %{includev1}
  427. %{_bindir}/sasl-sample-client
  428. %{_bindir}/sasl-sample-server
  429. %endif
  430. %{_bindir}/sasl2-sample-client
  431. %{_bindir}/sasl2-sample-server
  432. %{_includedir}/*
  433. %{_libdir}/libsasl*.so
  434. %if %{includev1}
  435. %{_plugindir}/*anonymous*.a
  436. %{_plugindir}/*crammd5*.a
  437. %{_plugindir}/*digestmd5*.a
  438. %{_plugindir}/*login*.a
  439. %{_plugindir}/*plain*.a
  440. %endif
  441. %{_mandir}/man3/*
  442. ## to build compat32 for x86_64 architecture support
  443. %if %{build_compat32}
  444. %files -n compat32-%{name}
  445. %defattr(-,root,root)
  446. %{_libdir}/libsasl*.so.*
  447. %dir %{_plugindir2}/
  448. %{_plugindir2}/*anonymous*.so*
  449. %{_plugindir2}/*sasldb*.so*
  450. %files -n compat32-%{name}-gssapi
  451. %defattr(-,root,root)
  452. %{_plugindir2}/*gssapi*.so*
  453. %files -n compat32-%{name}-plain
  454. %defattr(-,root,root)
  455. %{_plugindir2}/*plain*.so*
  456. %{_plugindir2}/*login*.so*
  457. %files -n compat32-%{name}-md5
  458. %defattr(-,root,root)
  459. %{_plugindir2}/*crammd5*.so*
  460. %{_plugindir2}/*digestmd5*.so*
  461. %files -n compat32-%{name}-ntlm
  462. %defattr(-,root,root)
  463. %{_plugindir2}/*ntlm*.so*
  464. # %files -n compat32-%{name}-sql
  465. # %defattr(-,root,root)
  466. # %{_plugindir2}/*sql*.so*
  467. %files -n compat32-%{name}-ldap
  468. %defattr(-,root,root)
  469. %{_plugindir2}/*ldapdb*.so*
  470. %files -n compat32-%{name}-devel
  471. %defattr(-,root,root)
  472. %{_libdir}/libsasl*.so
  473. %endif
  474. %changelog
  475. * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.23-6
  476. - rebuild with openssl-1.0.0c
  477. - add BuildRequires: groff
  478. * Thu Feb 11 2010 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.23-5
  479. - rebuilt with db4-4.8
  480. - updated Patch100: cyrus-sasl-2.1.22-db4.patch
  481. - added Patch101: cyrus-sasl-2.1.23-gcc44.patch
  482. * Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.1.23-4
  483. - dropped compat32-%%{name}-sql
  484. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.1.23-3
  485. - added compat32 subpackages
  486. * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.23-2
  487. - rebuilt with MySQL-5.1.34.
  488. * Mon May 18 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.1.23-1
  489. - new upstream release with security fix (CVE-2009-0688)
  490. - add patch5 to fix CVE-2009-0688 issue in 1.5.28 side
  491. (No effect in Current VineSeed package)
  492. * Sun Jan 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.22-5
  493. - rebuilt with openldap-2.4.11
  494. * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.22-4
  495. - s/%%{name}-lib/%%{name}/ at requires of sql, ldap sub-packages
  496. * Sun Oct 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1.22-3
  497. - added gssapi subpackage
  498. * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.22-2
  499. - rebuilt against db-4.6.21 with Patch100
  500. - import Patch27 from Fedora
  501. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.22-1vl5
  502. - updated to 2.1.22
  503. - added Patches from Fedora
  504. * Tue Jun 20 2006 Nalin Dahyabhai <nalin@redhat.com> 2.1.22-2
  505. - fix a typo in sasl_client_start(3) (#196066)
  506. * Thu Apr 27 2006 Nalin Dahyabhai <nalin@redhat.com> 2.1.21-11
  507. - add unapplied patch which makes the DIGEST-MD5 plugin omit the realm
  508. argument when the environment has $CYRUS_SASL_DIGEST_MD5_OMIT_REALM set
  509. to a non-zero value, for testing purposes
  510. - added subpackages for the ldapdb auxprop support
  511. - added --disable-static option to %%configure
  512. * Tue May 22 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.18-0vl8
  513. - added Patch17: cyrus-sasl-2.1.18-openssl-098.patch
  514. - rebuilt with openssl-0.9.8
  515. * Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.1.18-0vl7
  516. - disable version 1 now (no VineSeed package require version 1)
  517. - enable ntlm subpackage now
  518. - rebuilt with new toolchain and db4-4.3.x
  519. * Sat Jul 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.18-0vl6
  520. - rebuilt for VineSeed
  521. * Fri Apr 28 2006 IWAI, Masaharu <iwai@alib.jp> 2.1.18-0vl5
  522. - SECURITY FIX for Vine 3.2: CVE-2006-1721
  523. - add 23_CVE-2006-1721.diff ( Patch16 )
  524. from Debian Sarge cyrus-sasl2_2.1.19-1.5sarge1.diff.gz
  525. * Mon Dec 26 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.18-0vl4
  526. - rebuild for VineSeed
  527. * Sat Nov 27 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 2.1.18-0vl3
  528. - added security patch cyrus-sasl-CAN-2004-0884.patch for CAN-2004-0884
  529. from Mandrakelinux.
  530. * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.1.18-0vl2
  531. - rebuilt with db4-4.2.52
  532. * Thu Aug 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.18-0vl1
  533. - new upstream release
  534. - rebuild with openssl-0.9.7d
  535. - import some patch from fedora package
  536. * Sun Nov 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.15-6vl1
  537. - new upstream release
  538. - remove prereq initscripts
  539. - merged with fedora package
  540. * Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6
  541. - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is
  542. safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to
  543. use it to seed the libc RNG only (#103378)
  544. * Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com>
  545. - obey RPM_OPT_FLAGS again when krb5_prefix != %%{_prefix}
  546. * Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5
  547. - install saslauthd's mdoc page instead of the pre-formatted man page, which
  548. would get formatted again
  549. * Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com>
  550. - include testsaslauthd
  551. - note in the README that the saslauthd protocol is different for v1 and v2,
  552. so v1's clients can't talk to the v2 server
  553. * Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3
  554. - add logic to build with gssapi libs in either /usr or /usr/kerberos
  555. * Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1
  556. - update to 2.1.15
  557. * Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1
  558. - update to 2.1.14
  559. * Wed May 14 2003 Satoshi MACHINO <machino@vinelinux.org> 2.1.13-3vl1
  560. - new upstream version
  561. - merged with rawhide version
  562. -- * Fri May 9 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3
  563. -- - change -m argument to saslauthd to be a directory instead of a path
  564. -- * Thu May 8 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2
  565. -- - link libsasl2 with -lpthread to ensure that the sasldb plug-in
  566. can always be loaded
  567. -- * Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1
  568. -- - update to 2.1.13
  569. - disable gssapi because Vine Linux don't support Kerberos
  570. * Sun Dec 9 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.5.27-17vl1
  571. - upstream release
  572. - obsoleted cyrus-sasl-1.5.21-des.patch ( upstream merged )
  573. - obsoleted cyrus-sasl-1.5.24-external.patch ( upstream merged )
  574. - added BuildPrereq: gdbm-devel, pam-devel
  575. * Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  576. - 1.5.24-17vl2
  577. - rebuilt with openssl-0.9.6b
  578. * Wed Apr 11 2001 Satoshi MACHINO <machino@vinelinux.org> 1.5.24-17vl1
  579. - merged Rawhide Package
  580. * Sat Nov 18 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.5.24-14vl1
  581. - build for Vine Linux
  582. - build with gcc-2.95.3
  583. - removed kerberos and gssapi
  584. * Fri Oct 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  585. - enable static libraries, but always build with -fPIC
  586. * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
  587. - make sure the version of 1.5.24 in the package matches the masters (#18968)
  588. * Mon Oct 9 2000 Nalin Dahyabhai <nalin@redhat.com>
  589. - re-add the libsasl.so symlink to the -devel package (oops)
  590. * Fri Oct 6 2000 Nalin Dahyabhai <nalin@redhat.com>
  591. - move .so files for modules to their respective packages -- they're not -devel
  592. links meant for use by ld anyway
  593. * Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com>
  594. - split off -devel subpackage
  595. - add a -gssapi subpackage for the gssapi plugins
  596. * Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
  597. - fix the summary text
  598. * Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com>
  599. - re-enable arcfour and CRAM
  600. * Fri Aug 4 2000 Nalin Dahyabhai <nalin@redhat.com>
  601. - force use of gdbm for database files to avoid DB migration weirdness
  602. - enable login mechanism
  603. - disable gssapi until it can coexist peacefully with non-gssapi setups
  604. - actually do a make in the build section (#15410)
  605. * Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
  606. - update to 1.5.24
  607. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  608. - automatic rebuild
  609. * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  610. - rebuild in new environment (release 3)
  611. * Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
  612. - don't muck with syslogd in post
  613. - remove patch for db-3.0 wackiness, no longer needed
  614. * Thu Jun 8 2000 Nalin Dahyabhai <nalin@redhat.com>
  615. - FHS cleanup
  616. - don't strip anything by default
  617. * Fri Feb 11 2000 Tim Powers <timp@redhat.com>
  618. - fixed man pages not being gzipped
  619. * Tue Nov 16 1999 Tim Powers <timp@redhat.com>
  620. - incorporated changes from Mads Kiilerich
  621. - release number is 1, not mk1
  622. * Tue Nov 10 1999 Mads Kiilerich <mads@kiilerich.com>
  623. - updated to sasl 1.5.11
  624. - configure --disable-krb4 --without-rc4 --disable-cram
  625. because of missing libraries and pine having cram as default...
  626. - handle changing libsasl.so versions
  627. * Mon Aug 30 1999 Tim Powers <timp@redhat.com>
  628. - changed group
  629. * Fri Aug 13 1999 Tim Powers <timp@redhat.com>
  630. - first build for Powertools