1.2.7.a2 release

1.2.7.a2 release - openldap support on platforms which use openldap with
moznss for crypto (F-14 and later)
This commit is contained in:
Rich Megginson 2010-10-19 08:16:08 -06:00
parent f4bb47d75b
commit a0ed453448
5 changed files with 37 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
*~
389-ds-base-1.2.6.1.tar.bz2
389-ds-base-1.2.7.a2.tar.bz2

View File

@ -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

View File

@ -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"

View File

@ -3,16 +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 mls targeted
%global use_openldap 1
Summary: 389 Directory Server (base)
Name: 389-ds-base
Version: 1.2.6.1
Release: %{?relprefix}3%{?prerel}%{?dist}
Version: 1.2.7
Release: %{?relprefix}2%{?prerel}%{?dist}
License: GPLv2 with exceptions
URL: http://port389.org/
Group: System Environment/Daemons
@ -24,7 +25,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 +61,12 @@ Requires(preun): policycoreutils
Requires(postun): policycoreutils
# the following are needed for some of our scripts
%if %{use_openldap}
Requires: 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 +105,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 +129,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 +365,17 @@ end
%{_datadir}/%{pkgname}-selinux
%changelog
* Tue Oct 19 2010 Rich Megginson <rmeggins@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@redhat.com> - 1.2.7-0.1.a1
- added openldap support
* Wed Sep 29 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6.1-3
- bump rel to rebuild again

View File

@ -1 +1 @@
a08e48391a3aa45e110f810d8b62b9bd 389-ds-base-1.2.6.1.tar.bz2
7401d018c7829abd9100e35162eab8c4 389-ds-base-1.2.7.a2.tar.bz2