cyrus-sasl-vl.spec 23 KB

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