cyrus-sasl-vl.spec 24 KB

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