cyrus-sasl/cyrus-sasl.spec

534 lines
16 KiB
RPMSpec
Raw Normal View History

%define cs1_version 1.5.28
%define _plugindir %{_libdir}/sasl
%define _plugindir2 %{_libdir}/sasl2
Summary: The Cyrus SASL library.
Name: cyrus-sasl
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
Version: 2.1.15
Release: 6
License: Freely Distributable
Group: System Environment/Libraries
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{version}.tar.gz
Source1: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{version}.tar.gz.sig
Source2: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{cs1_version}.tar.gz
Source3: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{cs1_version}.tar.gz.sig
Source4: saslauthd.init
Source5: README.RPM
URL: http://asg.web.cmu.edu/sasl/sasl-library.html
Patch0: cyrus-sasl-1.5.24-rpath.patch
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
Patch1: cyrus-sasl-1.5.28-autoconf25.patch
Patch2: cyrus-sasl-1.5.28-automake17.patch
Patch3: cyrus-sasl-2.1.7-gdbm.patch
Patch4: cyrus-sasl-2.1.10-des.patch
Patch5: cyrus-sasl-2.1.14-automake17.patch
Patch6: cyrus-sasl-2.1.13-rpath.patch
Patch7: cyrus-sasl-2.1.15-libtool15.patch
Patch8: cyrus-sasl-2.1.14-plugin.patch
Buildroot: %{_tmppath}/%{name}-root
BuildPrereq: autoconf213, automake15, libtool
# Note: berkeley db for sasl2, gdbm for sasl1.
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
BuildPrereq: db4-devel, gdbm-devel, krb5-devel >= 1.2, openssl-devel, pam-devel
BuildPrereq: pkgconfig
Prereq: /sbin/ldconfig, chkconfig, /sbin/service
%description
The %{name} package contains the Cyrus implementation of SASL.
SASL is the Simple Authentication and Security Layer, a method for
adding authentication support to connection-based protocols.
%package devel
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
Summary: Files needed for developing applications with Cyrus SASL.
%description devel
The %{name}-devel package contains files needed for developing and
compiling applications which use the Cyrus SASL library.
%package gssapi
Requires: %{name} = %{version}-%{release}
Group: System Environment/Libraries
Summary: GSSAPI support for Cyrus SASL.
%description gssapi
The %{name}-gssapi package contains the Cyrus SASL plugins which
support GSSAPI authentication. GSSAPI is commonly used for Kerberos
authentication.
%package plain
Requires: %{name} = %{version}-%{release}
Group: System Environment/Libraries
Summary: PLAIN and LOGIN support for Cyrus SASL.
%description plain
The %{name}-plain package contains the Cyrus SASL plugins which support
PLAIN and LOGIN authentication schemes.
%package md5
Requires: %{name} = %{version}-%{release}
Group: System Environment/Libraries
Summary: CRAM-MD5 and DIGEST-MD5 support for Cyrus SASL.
%description md5
The %{name}-md5 package contains the Cyrus SASL plugins which support
CRAM-MD5 and DIGEST-MD5 authentication schemes.
%prep
%setup -q -c -a 2
pushd cyrus-sasl-%{cs1_version}
%patch0 -p1 -b .rpath
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
%patch1 -p1 -b .autoconf25
%patch2 -p1 -b .automake17
libtoolize -f -c
aclocal -I config -I cmulocal
automake -a -c -f
autoheader
autoconf -f
popd
pushd cyrus-sasl-%{version}
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
%patch3 -p1 -b .gdbm
%patch4 -p1 -b .des
%patch5 -p1 -b .automake17
%patch6 -p1 -b .rpath
%patch7 -p1 -b .libtool15
%patch8 -p1 -b .plugin
ln -s ../plugins/plugin_common.c lib/
# Remove the mismatching AC_PROG_LIBTOOL definition and its ltconfig.
> acinclude.m4
rm config/ltconfig
libtoolize -f -c
aclocal -I config -I cmulocal
automake -a -c -f
autoheader
autoconf -f
pushd saslauthd
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
rm config/ltconfig
libtoolize -f -c
aclocal -I config -I ../cmulocal -I ../config
automake -a -c -f
autoheader
autoconf -f
popd
popd
# Sort of merge the docs.
mkdir cyrus-sasl-%{version}/%{cs1_version}
mkdir cyrus-sasl-%{version}/%{cs1_version}-devel
cp %{name}-%{cs1_version}/{AUTHORS,COPYING,NEWS,README,doc/*.html} cyrus-sasl-%{version}/%{cs1_version}
cp %{name}-%{cs1_version}/doc/*.txt cyrus-sasl-%{version}/%{cs1_version}-devel
# Remove duplicate RFCs.
pushd cyrus-sasl-%{version}/%{cs1_version}-devel
for file in * ; do
if [ -f ../doc/${file} ] ; then
rm -f ${file}
fi
done
popd
%build
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
krb5_prefix=`krb5-config --prefix`
if test x$krb5_prefix = x%{_prefix} ; then
krb5_prefix=
else
CPPFLAGS="-I${krb5_prefix}/include"; export CPPFLAGS
CFLAGS="-I${krb5_prefix}/include $RPM_OPT_FLAGS"; export CFLAGS
LDFLAGS="-L${krb5_prefix}/%{_lib}"; export LDFLAGS
fi
pushd cyrus-sasl-%{cs1_version}
%configure \
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
--enable-static --enable-staticdlopen --with-pic --enable-shared \
--with-plugindir=%{_plugindir} \
--disable-krb4 \
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
--enable-gssapi${krb5_prefix:+=${krb5_prefix}} \
--with-rc4 \
--with-dblib=gdbm \
--enable-anon \
--enable-cram \
--enable-digest \
--enable-plain \
--enable-login
make sasldir=%{_plugindir}
popd
pushd cyrus-sasl-%{version}
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
LIBS="-lcrypt"; export LIBS
%configure \
--enable-static --with-pic --enable-shared --disable-java \
--with-plugindir=%{_plugindir2} \
--disable-krb4 \
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
--enable-gssapi${krb5_prefix:+=${krb5_prefix}} \
--with-rc4 \
--with-dblib=berkeley \
--with-saslauthd=/var/run/saslauthd --without-pwcheck \
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
--with-devrandom=/dev/urandom \
--enable-anon \
--enable-cram \
--enable-digest \
--enable-plain \
--enable-login
# --enable-auth-sasldb -- EXPERIMENTAL
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
make sasldir=%{_plugindir2}
make -C saslauthd testsaslauthd
popd
%install
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
pushd cyrus-sasl-%{cs1_version}
%makeinstall sasldir=$RPM_BUILD_ROOT/%{_plugindir}
install -m755 -d $RPM_BUILD_ROOT%{_bindir}
libtool --mode=install \
install -m755 sample/client $RPM_BUILD_ROOT%{_bindir}/sasl-sample-client
libtool --mode=install \
install -m755 sample/server $RPM_BUILD_ROOT%{_bindir}/sasl-sample-server
popd
pushd cyrus-sasl-%{version}
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
%makeinstall sasldir=$RPM_BUILD_ROOT/%{_plugindir2}
install -m755 -d $RPM_BUILD_ROOT%{_bindir}
libtool --mode=install \
install -m755 sample/client $RPM_BUILD_ROOT%{_bindir}/sasl2-sample-client
libtool --mode=install \
install -m755 sample/server $RPM_BUILD_ROOT%{_bindir}/sasl2-sample-server
libtool --mode=install \
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
install -m755 saslauthd/testsaslauthd $RPM_BUILD_ROOT%{_sbindir}/testsaslauthd
libtool --mode=install \
install -m755 utils/dbconverter-2 $RPM_BUILD_ROOT%{_sbindir}/dbconverter-2
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
# Install the saslauthd mdoc page in the expected location. Sure, it's not
# really a man page, but groff seems to be able to cope with it.
install -m755 -d $RPM_BUILD_ROOT%{_mandir}/man8/
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
install -m644 saslauthd/saslauthd.mdoc $RPM_BUILD_ROOT%{_mandir}/man8/saslauthd.8
# Create the saslauthd listening directory.
install -m755 -d $RPM_BUILD_ROOT/var/run/saslauthd
install -m755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m755 $RPM_SOURCE_DIR/saslauthd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/saslauthd
popd
# Remove unpackaged files from the buildroot.
rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/libotp.*
rm -f $RPM_BUILD_ROOT%{_mandir}/cat8/saslauthd.8
%clean
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
/sbin/chkconfig --add saslauthd
%preun
if [ $1 = 0 ] ; then
/sbin/chkconfig --del saslauthd
fi
%postun
/sbin/ldconfig
if [ $1 != 0 ] ; then
/sbin/service saslauthd condrestart 2>&1 > /dev/null
fi
%files
%defattr(-,root,root)
%doc %{name}-%{version}/%{cs1_version}
%doc %{name}-%{version}/{AUTHORS,COPYING,NEWS,README,doc/*.html}
%doc $RPM_SOURCE_DIR/README.RPM
%{_libdir}/libsasl*.so.*
%dir %{_plugindir}/
%dir %{_plugindir2}/
%{_plugindir}/*anonymous*.so*
%{_plugindir}/*anonymous*.la
%{_plugindir2}/*anonymous*.so*
%{_plugindir2}/*anonymous*.la
%{_plugindir2}/*sasldb*.so*
%{_plugindir2}/*sasldb*.la
%{_mandir}/man8/*
%{_sbindir}/dbconverter-2
%{_sbindir}/saslpasswd
%{_sbindir}/sasldblistusers
%{_sbindir}/saslpasswd2
%{_sbindir}/sasldblistusers2
%{_sbindir}/saslauthd
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
%{_sbindir}/testsaslauthd
%config /etc/rc.d/init.d/saslauthd
/var/run/saslauthd
%files plain
%defattr(-,root,root)
%{_plugindir}/*plain*.so*
%{_plugindir}/*plain*.la
%{_plugindir}/*login*.so*
%{_plugindir}/*login*.la
%{_plugindir2}/*plain*.so*
%{_plugindir2}/*plain*.la
%{_plugindir2}/*login*.so*
%{_plugindir2}/*login*.la
%files md5
%defattr(-,root,root)
%{_plugindir}/*crammd5*.so*
%{_plugindir}/*crammd5*.la
%{_plugindir}/*digestmd5*.so*
%{_plugindir}/*digestmd5*.la
%{_plugindir2}/*crammd5*.so*
%{_plugindir2}/*crammd5*.la
%{_plugindir2}/*digestmd5*.so*
%{_plugindir2}/*digestmd5*.la
%files gssapi
%defattr(-,root,root)
%{_plugindir}/*gssapi*.so*
%{_plugindir}/*gssapi*.la
%{_plugindir2}/*gssapi*.so*
%{_plugindir2}/*gssapi*.la
%files devel
%defattr(-,root,root)
%doc %{name}-%{version}/%{cs1_version}-devel
%doc %{name}-%{version}/doc/*.txt
%{_bindir}/sasl-sample-client
%{_bindir}/sasl-sample-server
%{_bindir}/sasl2-sample-client
%{_bindir}/sasl2-sample-server
%{_includedir}/*
%{_libdir}/libsasl*.*a
%{_libdir}/libsasl*.*so
%{_plugindir}/*anonymous*.a
%{_plugindir}/*crammd5*.a
%{_plugindir}/*digestmd5*.a
%{_plugindir}/*gssapi*.a
%{_plugindir}/*login*.a
%{_plugindir}/*plain*.a
%{_plugindir2}/*anonymous*.a
%{_plugindir2}/*crammd5*.a
%{_plugindir2}/*digestmd5*.a
%{_plugindir2}/*gssapi*.a
%{_plugindir2}/*login*.a
%{_plugindir2}/*plain*.a
%{_plugindir2}/*sasldb*.a
%{_mandir}/man3/*
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
#
# TODO: enable ntlm
#
%changelog
auto-import changelog data from cyrus-sasl-2.1.15-6.src.rpm Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6 - use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to use it to seed the libc RNG only (#103378) Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com> - obey RPM_OPT_FLAGS again when krb5_prefix != %{_prefix} Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5 - install saslauthd's mdoc page instead of the pre-formatted man page, which would get formatted again Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com> - include testsaslauthd - note in the README that the saslauthd protocol is different for v1 and v2, so v1's clients can't talk to the v2 server Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4 - rebuild Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3 - add logic to build with gssapi libs in either /usr or /usr/kerberos Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2 - rebuild Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1 - update to 2.1.15 Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1 - update to 2.1.14 Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Fri May 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3 - change -m argument to saslauthd to be a directory instead of a path Thu May 08 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2 - link libsasl2 with -lpthread to ensure that the sasldb plug-in can always be loaded Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1 - update to 2.1.13
2004-09-09 04:05:05 +00:00
* Thu Oct 23 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-6
- use /dev/urandom instead of /dev/random for SASL2 (docs indicate that this is
safe if you aren't using OTP or SRP, and we build neither); SASL1 appears to
use it to seed the libc RNG only (#103378)
* Mon Oct 20 2003 Nalin Dahyabhai <nalin@redhat.com>
- obey RPM_OPT_FLAGS again when krb5_prefix != %%{_prefix}
* Fri Oct 17 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-5
- install saslauthd's mdoc page instead of the pre-formatted man page, which
would get formatted again
* Mon Sep 15 2003 Nalin Dahyabhai <nalin@redhat.com>
- include testsaslauthd
- note in the README that the saslauthd protocol is different for v1 and v2,
so v1's clients can't talk to the v2 server
* Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-4
- rebuild
* Thu Aug 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-3
- add logic to build with gssapi libs in either /usr or /usr/kerberos
* Mon Jul 21 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-2
- rebuild
* Tue Jul 15 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.15-1
- update to 2.1.15
* Mon Jul 14 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.14-1
- update to 2.1.14
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri May 9 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-3
- change -m argument to saslauthd to be a directory instead of a path
* Thu May 8 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-2
- link libsasl2 with -lpthread to ensure that the sasldb plug-in can always
be loaded
* Tue Apr 29 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.13-1
- update to 2.1.13
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.1.10-3
- rebuild
* Thu Dec 12 2002 Nalin Dahyabhai <nalin@redhat.com>
- consider either des_cbc_encrypt or DES_cbc_encrypt to be sufficient when
searching for a DES implementation in libcrypto
- pull in CPPFLAGS and LDFLAGS from openssl's pkg-config data, if it exists
* Mon Dec 9 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.10-2
- rebuild
* Mon Dec 9 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.10-1
- update to 2.1.10, fixing buffer overflows in libsasl2 noted by Timo Sirainen
* Tue Nov 12 2002 Tim Powers <timp@redhat.com> 2.1.7-5
- remove files from $RPM_BUILD_ROOT that we don't intend to include
* Tue Oct 9 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.7-4
- update to SASLv1 to final 1.5.28
* Fri Sep 13 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.7-3
- rebuild, overriding sasldir when running make so that on multilib systems
applications will be able to load modules for the right arch
* Mon Sep 2 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.7-2
- include dbconverter-2 (#68741)
* Fri Aug 9 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.7-1
- update to 2.1.7, fixing a race condition in digest-md5
* Wed Jul 17 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.6-1
- update to 2.1.6 and 1.5.28
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu Jun 13 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.5-1
- update to 2.1.5
* Mon Jun 10 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.4-1
- update to 2.1.4
* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu May 16 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.2-1
- modify to build with db 4.x
* Thu Apr 18 2002 Nalin Dahyabhai <nalin@redhat.com>
- update cyrus-sasl 2 to 2.1.2
- change buildreq to db3-devel
* Tue Feb 12 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.1-3
- suppress output to stdout/stderr in %%postun
* Sun Feb 10 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.1-2
- configure sasldb2 to use berkeley DB instead of gdbm
* Wed Feb 6 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.1-1
- update to 2.1.1
* Thu Jan 31 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.0-1
- marge 1.5.24 back in, making a note that it should be removed at some
point in the future
* Wed Jan 30 2002 Nalin Dahyabhai <nalin@redhat.com>
- update to 2.1.0, which is designed to be installed in parallel with cyrus sasl
1.x, so fork the package and rename it to cyrus-sasl2
- add the sasldb auxprop plugin to the main package
- add disabled-by-default saslauthd init script
- move the .la files for plugins into their respective packages -- they're
needed by the library
* Wed Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 1.5.24-24
- free ride through the build system
* Fri Nov 2 2001 Nalin Dahyabhai <nalin@redhat.com> 1.5.24-23
- patch to fix possible syslog format-string vulnerability
* Mon Oct 29 2001 Nalin Dahyabhai <nalin@redhat.com> 1.5.24-22
- add pam-devel as a buildprereq
* Wed Aug 29 2001 Nalin Dahyabhai <nalin@redhat.com> 1.5.24-21
- include sample programs in the -devel subpackage, prefixing their names
with "sasl-" to reduce future potential naming conflicts
* Tue Aug 14 2001 Nalin Dahyabhai <nalin@redhat.com> 1.5.24-20
- build without -ggdb
* Fri Aug 3 2001 Nalin Dahyabhai <nalin@redhat.com>
- add gdbm-devel as a build dependency (#44990)
- split off CRAM-MD5 and DIGEST-MD5 into a subpackage of their own (#43079,
and dialogs with David L. Parsley)
* Fri Apr 27 2001 Nalin Dahyabhai <nalin@redhat.com>
- split out the PLAIN and LOGIN mechanisms into their own package (this allows
an administrator to disable them by simply removing the package)
* Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com>
- rebuild in new environment
* Wed Dec 6 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix gssapi-over-tls
* Fri Oct 27 2000 Nalin Dahyabhai <nalin@redhat.com>
- enable static libraries, but always build with -fPIC
* Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
- make sure the version of 1.5.24 in the package matches the masters (#18968)
* Mon Oct 9 2000 Nalin Dahyabhai <nalin@redhat.com>
- re-add the libsasl.so symlink to the -devel package (oops)
* Fri Oct 6 2000 Nalin Dahyabhai <nalin@redhat.com>
- move .so files for modules to their respective packages -- they're not -devel
links meant for use by ld anyway
* Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com>
- split off -devel subpackage
- add a -gssapi subpackage for the gssapi plugins
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix the summary text
* Sun Aug 13 2000 Nalin Dahyabhai <nalin@redhat.com>
- re-enable arcfour and CRAM
* Fri Aug 4 2000 Nalin Dahyabhai <nalin@redhat.com>
- force use of gdbm for database files to avoid DB migration weirdness
- enable login mechanism
- disable gssapi until it can coexist peacefully with non-gssapi setups
- actually do a make in the build section (#15410)
* Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
- update to 1.5.24
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
- rebuild in new environment (release 3)
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
- don't muck with syslogd in post
- remove patch for db-3.0 wackiness, no longer needed
* Thu Jun 8 2000 Nalin Dahyabhai <nalin@redhat.com>
- FHS cleanup
- don't strip anything by default
* Fri Feb 11 2000 Tim Powers <timp@redhat.com>
- fixed man pages not being gzipped
* Tue Nov 16 1999 Tim Powers <timp@redhat.com>
- incorporated changes from Mads Kiilerich
- release number is 1, not mk1
* Tue Nov 10 1999 Mads Kiilerich <mads@kiilerich.com>
- updated to sasl 1.5.11
- configure --disable-krb4 --without-rc4 --disable-cram
because of missing libraries and pine having cram as default...
- handle changing libsasl.so versions
* Mon Aug 30 1999 Tim Powers <timp@redhat.com>
- changed group
* Fri Aug 13 1999 Tim Powers <timp@redhat.com>
- first build for Powertools