auto-import openldap-2.0.27-2.8.0 from openldap-2.0.27-2.8.0.src.rpm
This commit is contained in:
parent
df493e3615
commit
02afe70496
@ -4,7 +4,7 @@
|
|||||||
Summary: The configuration files, libraries, and documentation for OpenLDAP.
|
Summary: The configuration files, libraries, and documentation for OpenLDAP.
|
||||||
Name: openldap
|
Name: openldap
|
||||||
Version: 2.0.27
|
Version: 2.0.27
|
||||||
Release: 2
|
Release: 2.8.0
|
||||||
License: OpenLDAP
|
License: OpenLDAP
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
|
Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
|
||||||
@ -32,16 +32,18 @@ Patch22: MigrationTools-36-mktemp.patch
|
|||||||
Patch23: MigrationTools-27-simple.patch
|
Patch23: MigrationTools-27-simple.patch
|
||||||
Patch24: MigrationTools-26-suffix.patch
|
Patch24: MigrationTools-26-suffix.patch
|
||||||
Patch25: MigrationTools-44-schema.patch
|
Patch25: MigrationTools-44-schema.patch
|
||||||
|
Patch26: openldap-2.0.27-susesec.patch
|
||||||
Patch100: http://sleepycat.com/update/4.1.24/patch.4.1.24.2
|
Patch100: http://sleepycat.com/update/4.1.24/patch.4.1.24.2
|
||||||
Patch101: http://sleepycat.com/update/4.1.24/patch.4.1.24.3
|
Patch101: http://sleepycat.com/update/4.1.24/patch.4.1.24.3
|
||||||
Patch102: http://sleepycat.com/update/4.1.24/patch.4.1.24.4
|
Patch102: http://sleepycat.com/update/4.1.24/patch.4.1.24.4
|
||||||
Patch103: http://sleepycat.com/update/4.1.24/patch.4.1.24.5
|
Patch103: http://sleepycat.com/update/4.1.24/patch.4.1.24.5
|
||||||
Patch104: http://sleepycat.com/update/4.1.24/patch.4.1.24.6
|
Patch104: http://sleepycat.com/update/4.1.24/patch.4.1.24.6
|
||||||
|
Patch105: http://sleepycat.com/update/4.1.24/patch.4.1.24.7
|
||||||
|
Patch106: http://sleepycat.com/update/4.1.24/patch.4.1.24.8
|
||||||
URL: http://www.openldap.org/
|
URL: http://www.openldap.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildPreReq: cyrus-sasl-devel, gdbm-devel, krb5-devel, openssl-devel
|
BuildPreReq: cyrus-sasl-devel, gdbm-devel, krb5-devel, openssl-devel
|
||||||
BuildPreReq: pam-devel
|
BuildPreReq: pam-devel, perl, pkgconfig, tcp_wrappers
|
||||||
BuildPreReq: perl, tcp_wrappers
|
|
||||||
BuildPreReq: libtool >= 1.4
|
BuildPreReq: libtool >= 1.4
|
||||||
Requires: cyrus-sasl, cyrus-sasl-md5, mktemp
|
Requires: cyrus-sasl, cyrus-sasl-md5, mktemp
|
||||||
|
|
||||||
@ -113,12 +115,15 @@ pushd MigrationTools-%{migtools_ver}
|
|||||||
%patch24 -p1 -b .suffix
|
%patch24 -p1 -b .suffix
|
||||||
%patch25 -p1 -b .schema
|
%patch25 -p1 -b .schema
|
||||||
popd
|
popd
|
||||||
|
%patch26 -p0 -b .susesec
|
||||||
pushd db-%{db_version}
|
pushd db-%{db_version}
|
||||||
%patch100 -p0 -b .2
|
%patch100 -p0 -b .2
|
||||||
%patch101 -p0 -b .3
|
%patch101 -p0 -b .3
|
||||||
%patch102 -p0 -b .4
|
%patch102 -p0 -b .4
|
||||||
%patch103 -p0 -b .5
|
%patch103 -p0 -b .5
|
||||||
%patch104 -p0 -b .6
|
%patch104 -p0 -b .6
|
||||||
|
%patch105 -p0 -b .7
|
||||||
|
%patch106 -p0 -b .8
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir build-gdbm
|
mkdir build-gdbm
|
||||||
@ -137,6 +142,12 @@ dbdir=`pwd`/db-instroot
|
|||||||
%ifarch ia64
|
%ifarch ia64
|
||||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0"
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0"
|
||||||
%endif
|
%endif
|
||||||
|
if pkg-config openssl ; then
|
||||||
|
OPENSSL_CPPFLAGS=`pkg-config --cflags openssl`
|
||||||
|
CPPFLAGS="$OPENSSL_CPPFLAGS" ; export CPPFLAGS
|
||||||
|
OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`
|
||||||
|
LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
|
||||||
|
fi
|
||||||
CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
|
CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
|
||||||
TARGET_PLATFORM=%{_target_platform}
|
TARGET_PLATFORM=%{_target_platform}
|
||||||
%define _target_platform --target=${TARGET_PLATFORM}
|
%define _target_platform --target=${TARGET_PLATFORM}
|
||||||
@ -159,6 +170,7 @@ cat << _EOF | sed -e 's,--host=[^ ]*,,g' -e 's,--build=[^ ]*,,g' -e 's,--target=
|
|||||||
--enable-crypt \
|
--enable-crypt \
|
||||||
--enable-spasswd \
|
--enable-spasswd \
|
||||||
--enable-modules \
|
--enable-modules \
|
||||||
|
--disable-sql \
|
||||||
\
|
\
|
||||||
--libexecdir=%{_sbindir} \
|
--libexecdir=%{_sbindir} \
|
||||||
--localstatedir=/%{_var}/run \
|
--localstatedir=/%{_var}/run \
|
||||||
@ -176,26 +188,30 @@ make %{_smp_mflags}
|
|||||||
make install
|
make install
|
||||||
popd
|
popd
|
||||||
# Build one for tools which use gdbm.
|
# Build one for tools which use gdbm.
|
||||||
|
CPPFLAGS="$OPENSSL_CPPFLAGS" ; export CPPFLAGS
|
||||||
|
LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
|
||||||
pushd build-gdbm
|
pushd build-gdbm
|
||||||
build --enable-ldbm --with-ldbm-api=gdbm --disable-shared --without-kerberos
|
build --enable-ldbm --with-ldbm-api=gdbm --disable-shared --without-kerberos
|
||||||
popd
|
popd
|
||||||
# Build one for tools which use db.
|
# Build one for tools which use db.
|
||||||
|
CPPFLAGS="$OPENSSL_CPPFLAGS" ; export CPPFLAGS
|
||||||
|
LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
|
||||||
pushd build-berkeley
|
pushd build-berkeley
|
||||||
build --enable-ldbm --with-ldbm-api=berkeley --disable-shared --without-kerberos
|
build --enable-ldbm --with-ldbm-api=berkeley --disable-shared --without-kerberos
|
||||||
popd
|
popd
|
||||||
# Build the servers with Kerberos support and whichever backend we want. Even
|
# Build the servers with Kerberos support and whichever backend we want. Even
|
||||||
# enable the bdb backend, which doesn't exist yet.
|
# enable the bdb backend, which doesn't exist yet.
|
||||||
|
CPPFLAGS="$OPENSSL_CPPFLAGS" ; export CPPFLAGS
|
||||||
|
LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
|
||||||
pushd build-krb5
|
pushd build-krb5
|
||||||
CPPFLAGS="-I${dbdir}/include -I%{_prefix}/kerberos/include -DHAVE_KERBEROS_V"
|
CPPFLAGS="$CPPFLAGS -I${dbdir}/include -I%{_prefix}/kerberos/include -DHAVE_KERBEROS_V"
|
||||||
export CPPFLAGS
|
LDFLAGS="$LDFLAGS -L${dbdir}/lib -L%{_prefix}/kerberos/%{_lib}"
|
||||||
LDFLAGS="-L${dbdir}/lib -L%{_prefix}/kerberos/%{_lib}"
|
|
||||||
export LDFLAGS
|
|
||||||
build --enable-ldbm --with-ldbm-api=%{backend} --enable-bdb --disable-shared --with-kerberos=k5only --enable-kpasswd
|
build --enable-ldbm --with-ldbm-api=%{backend} --enable-bdb --disable-shared --with-kerberos=k5only --enable-kpasswd
|
||||||
unset CPPFLAGS
|
|
||||||
unset LDFLAGS
|
|
||||||
popd
|
popd
|
||||||
# Build clients without Kerberos password-checking support which is only
|
# Build clients without Kerberos password-checking support, which is only
|
||||||
# useful in the server anyway.
|
# useful in the server anyway.
|
||||||
|
CPPFLAGS="$OPENSSL_CPPFLAGS" ; export CPPFLAGS
|
||||||
|
LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
|
||||||
pushd build-clients
|
pushd build-clients
|
||||||
build --disable-ldbm --enable-shared --without-kerberos
|
build --disable-ldbm --enable-shared --without-kerberos
|
||||||
popd
|
popd
|
||||||
@ -389,6 +405,15 @@ fi
|
|||||||
%attr(0644,root,root) %{_mandir}/man3/*
|
%attr(0644,root,root) %{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 12 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.27-2.8.0
|
||||||
|
- rebuild for erratum
|
||||||
|
|
||||||
|
* Thu Dec 12 2002 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- incorporate fixes from SuSE's security audit, except for fixes to ITS 1963,
|
||||||
|
1936, 2007, 2009, which were included in 2.0.26.
|
||||||
|
- add two more patches for db 4.1.24 from sleepycat's updates page
|
||||||
|
- use openssl pkgconfig data, if any is available
|
||||||
|
|
||||||
* Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.27-2
|
* Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.27-2
|
||||||
- add patches for db 4.1.24 from sleepycat's updates page
|
- add patches for db 4.1.24 from sleepycat's updates page
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user