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