cyrus-sasl-vl.spec 26 KB

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