diff --git a/.cvsignore b/.cvsignore index d24f5cc..e3eb5a1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,8 +2,6 @@ openldap-2.2.29.tgz MigrationTools-47.tar.gz openldap-2.3.19.tgz db-4.4.20.tar.gz -autoconf-2.13.1.tar.gz -automake-1.4a.tar.gz openldap-2.3.24.tgz openldap-2.3.27.tgz openldap-2.3.28.tgz diff --git a/openldap.spec b/openldap.spec index 3f69a7b..f37ea23 100644 --- a/openldap.spec +++ b/openldap.spec @@ -19,8 +19,8 @@ Group: System Environment/Daemons Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version_23}.tgz Source1: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version_22}.tgz Source2: http://downloads.sleepycat.com/db-%{db_version}.tar.gz -Source3: ftp://ftp.OpenLDAP.org/pub/tools/autoconf-2.13.1.tar.gz -Source4: ftp://ftp.OpenLDAP.org/pub/tools/automake-1.4a.tar.gz +#Source3: ftp://ftp.OpenLDAP.org/pub/tools/autoconf-2.13.1.tar.gz +#Source4: ftp://ftp.OpenLDAP.org/pub/tools/automake-1.4a.tar.gz Source5: ftp://ftp.padl.com/pub/MigrationTools-%{migtools_version}.tar.gz Source6: ldap.init Source7: migration-tools.txt @@ -154,17 +154,7 @@ includes older versions of the OpenLDAP shared libraries which may be required by some applications. %prep -%setup -q -c -a 1 -a 2 -a 3 -a 4 -a 5 - -pushd db-%{db_version} -%patch400 -b .patch1 -%patch401 -b .patch2 -popd - - -pushd openldap-%{version_23} -cp %{_datadir}/libtool/config.{sub,guess} build/ -popd +%setup -q -c -a 1 -a 2 -a 5 pushd openldap-%{version_23} %patch0 -p1 -b .config @@ -204,26 +194,14 @@ pushd MigrationTools-%{migtools_version} %patch307 -p1 popd -autodir=`pwd`/auto-instroot -pushd autoconf-2.13.1 -./configure --prefix=$autodir -make all install -popd -pushd automake-1.4a -./configure --prefix=$autodir -make all install -popd - pushd openldap-%{version_22} %patch100 -p1 -b .resolv %patch101 -p1 -b .CAN-2005-2069 %patch102 -p1 -b .ads -#%patch103 -p1 -b .nostrip for subdir in build-servers build-compat ; do mkdir $subdir ln -s ../configure $subdir done -$autodir/bin/autoconf popd pushd openldap-%{version_23} @@ -234,15 +212,12 @@ pushd openldap-%{version_23} # build smbk5pwd with other overlays ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd -autoconf popd %build -autodir=`pwd`/auto-instroot dbdir=`pwd`/db-instroot libtool='%{_bindir}/libtool' tagname=CC; export tagname -PATH=${autodir}/bin:${PATH} %ifarch ia64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0" diff --git a/sources b/sources index 0640b76..9ab81d5 100644 --- a/sources +++ b/sources @@ -1,5 +1,3 @@ -5a9e617c1d5339d3c90c545c93e30949 autoconf-2.13.1.tar.gz -0faee50993f7e4fe00f4b921b640b84d automake-1.4a.tar.gz 6c4c72a1336aa45b463e738034c078d6 openldap-2.2.29.tgz 3faf83eb8482e55979bda47f1d1e6501 MigrationTools-47.tar.gz 33851f01b455cca48aa601956de93c6f db-4.4.20.tar.gz