cyrus-sasl-vl.spec 24 KB

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