[389-ds-base/el5/master] update to 1.2.7.a2

Richard Allen Megginson rmeggins at fedoraproject.org
Wed Oct 20 16:14:39 UTC 2010


commit 9ac1a458c1ce72dbdec5b12643c11f90a108600b
Author: Rich Megginson <rmeggins at redhat.com>
Date:   Wed Oct 20 09:30:12 2010 -0600

    update to 1.2.7.a2

 .gitignore               |    2 +-
 389-ds-base-git-local.sh |    2 +-
 389-ds-base-git.sh       |    2 +-
 389-ds-base.spec         |   37 +++++++++++++++++++++++++++++++++----
 sources                  |    2 +-
 5 files changed, 37 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 17c623a..a28729b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
 *~
-389-ds-base-1.2.6.1.tar.bz2
+389-ds-base-1.2.7.a2.tar.bz2
diff --git a/389-ds-base-git-local.sh b/389-ds-base-git-local.sh
index 4ac678a..e92d078 100644
--- a/389-ds-base-git-local.sh
+++ b/389-ds-base-git-local.sh
@@ -2,7 +2,7 @@
 
 DATE=`date +%Y%m%d`
 # use a real tag name here
-VERSION=1.2.6.1
+VERSION=1.2.7.a2
 PKGNAME=389-ds-base
 TAG=${TAG:-$PKGNAME-$VERSION}
 #SRCNAME=$PKGNAME-$VERSION-$DATE
diff --git a/389-ds-base-git.sh b/389-ds-base-git.sh
index c80f158..a0136b0 100644
--- a/389-ds-base-git.sh
+++ b/389-ds-base-git.sh
@@ -2,7 +2,7 @@
 
 DATE=`date +%Y%m%d`
 # use a real tag name here
-VERSION=1.2.6.1
+VERSION=1.2.7.a2
 PKGNAME=389-ds-base
 TAG=${TAG:-$PKGNAME-$VERSION}
 URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
diff --git a/389-ds-base.spec b/389-ds-base.spec
index b440596..1d4eb0d 100644
--- a/389-ds-base.spec
+++ b/389-ds-base.spec
@@ -3,15 +3,17 @@
 # for a pre-release, define the prerel field e.g. .a1 .rc2 - comment out for official release
 # also remove the space between % and global - this space is needed because
 # fedpkg verrel stupidly ignores comment lines
-#% global prerel .rc7
+%global prerel .a2
 # also need the relprefix field for a pre-release e.g. .0 - also comment out for official release
-#% global relprefix 0.
+%global relprefix 0.
 
 %global selinux_variants strict targeted
+# only F-14 and later use openldap for now
+# % global use_openldap 1
 
 Summary:          389 Directory Server (base)
 Name:             389-ds-base
-Version:          1.2.6.1
+Version:          1.2.7
 Release:          %{?relprefix}2%{?prerel}%{?dist}
 License:          GPLv2 with exceptions
 URL:              http://port389.org/
@@ -24,7 +26,11 @@ Obsoletes:        %{name}-selinux
 BuildRequires:    nspr-devel
 BuildRequires:    nss-devel
 BuildRequires:    svrcore-devel
+%if %{use_openldap}
+BuildRequires:    openldap-devel
+%else
 BuildRequires:    mozldap-devel
+%endif
 BuildRequires:    db4-devel
 BuildRequires:    cyrus-sasl-devel
 BuildRequires:    icu
@@ -56,7 +62,12 @@ Requires(preun):  policycoreutils
 Requires(postun): policycoreutils
 
 # the following are needed for some of our scripts
+%if %{use_openldap}
+BuildRequires:    openldap-clients
+%else
 Requires:         mozldap-tools
+%endif
+# use_openldap assumes perl-Mozilla-LDAP is built with openldap support
 Requires:         perl-Mozilla-LDAP
 
 # this is needed to setup SSL if you are not using the
@@ -95,7 +106,11 @@ the LDAP server and command line utilities for server administration.
 Summary:          Development libraries for 389 Directory Server
 Group:            Development/Libraries
 Requires:         %{name} = %{version}-%{release}
+%if %{use_openldap}
+Requires:         openldap-devel
+%else
 Requires:         mozldap-devel
+%endif
 Provides:         fedora-ds-base-devel = %{version}-%{release}
 Obsoletes:        fedora-ds-base-devel < 1.2.1-1
 
@@ -115,7 +130,10 @@ SELinux policy interface for the 389 Directory Server base package.
 cp %{SOURCE2} README.devel
 
 %build
-%configure --enable-autobind --with-selinux
+%if %{use_openldap}
+OPENLDAP_FLAG="--with-openldap"
+%endif
+%configure --enable-autobind --with-selinux $OPENLDAP_FLAG
 
 # Generate symbolic info for debuggers
 export XCFLAGS=$RPM_OPT_FLAGS
@@ -348,6 +366,17 @@ end
 %{_datadir}/%{pkgname}-selinux
 
 %changelog
+* Tue Oct 19 2010 Rich Megginson <rmeggins at redhat.com> - 1.2.7-0.2.a2
+- 1.2.7.a2 release - a1 was the OpenLDAP testday release
+- git tag 389-ds-base-1.2.7.a2
+- added openldap support on platforms that use openldap with moznss
+- for crypto (F-14 and later)
+- many bug fixes
+- Account Policy Plugin (keep track of last login, disable old accounts)
+
+* Fri Oct  8 2010 Rich Megginson <rmeggins at redhat.com> - 1.2.7-0.1.a1
+- added openldap support
+
 * Thu Sep 29 2010 Rich Megginson <rmeggins at redhat.com> - 1.2.6.1-2
 - bump rev to rebuild
 
diff --git a/sources b/sources
index cc5be35..62cfc11 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a08e48391a3aa45e110f810d8b62b9bd  389-ds-base-1.2.6.1.tar.bz2
+7401d018c7829abd9100e35162eab8c4  389-ds-base-1.2.7.a2.tar.bz2


More information about the scm-commits mailing list