cyrus-sasl-vl.spec 24 KB

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