cyrus-sasl-vl.spec 24 KB

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