af32fff
b767ad9
%global pkgname   dirsrv
fd7f020
# for a pre-release, define the prerel field e.g. .a1 .rc2 - comment out for official release
5fd2662
# also remove the space between % and global - this space is needed because
5fd2662
# fedpkg verrel stupidly ignores comment lines
5fd2662
#% global prerel .rc7
fd7f020
# also need the relprefix field for a pre-release e.g. .0 - also comment out for official release
5fd2662
#% global relprefix 0.
088940d
088940d
%global selinux_variants mls targeted
af32fff
af32fff
Summary:          389 Directory Server (base)
af32fff
Name:             389-ds-base
d5673eb
Version:          1.2.6.1
b5f6fe3
Release:          %{?relprefix}1%{?prerel}%{?dist}
af32fff
License:          GPLv2 with exceptions
af32fff
URL:              http://port389.org/
af32fff
Group:            System Environment/Daemons
af32fff
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
af32fff
Provides:         fedora-ds-base = %{version}-%{release}
af32fff
Obsoletes:        fedora-ds-base < 1.2.1-1
eef021a
Obsoletes:        %{name}-selinux
af32fff
af32fff
BuildRequires:    nspr-devel
af32fff
BuildRequires:    nss-devel
af32fff
BuildRequires:    svrcore-devel
af32fff
BuildRequires:    mozldap-devel
af32fff
BuildRequires:    db4-devel
af32fff
BuildRequires:    cyrus-sasl-devel
af32fff
BuildRequires:    icu
af32fff
BuildRequires:    libicu-devel
9d46490
BuildRequires:    pcre-devel
af32fff
# The following are needed to build the snmp ldap-agent
af32fff
BuildRequires:    net-snmp-devel
caa5ee3
%ifnarch sparc sparc64 ppc ppc64 s390 s390x
af32fff
BuildRequires:    lm_sensors-devel
af32fff
%endif
af32fff
BuildRequires:    bzip2-devel
af32fff
BuildRequires:    zlib-devel
af32fff
BuildRequires:    openssl-devel
af32fff
BuildRequires:    tcp_wrappers
088940d
# The following are needed to build the SELinux policy
088940d
BuildRequires:    checkpolicy
088940d
BuildRequires:    selinux-policy-devel
088940d
BuildRequires:    /usr/share/selinux/devel/Makefile
af32fff
# the following is for the pam passthru auth plug-in
af32fff
BuildRequires:    pam-devel
af32fff
83e7c49
# this is needed for using semanage from our setup scripts
83e7c49
Requires:         policycoreutils-python
83e7c49
eef021a
# these are needed for selinux
eef021a
Requires:         selinux-policy
eef021a
Requires(post):   policycoreutils
eef021a
Requires(preun):  policycoreutils
eef021a
Requires(postun): policycoreutils
eef021a
af32fff
# the following are needed for some of our scripts
af32fff
Requires:         mozldap-tools
af32fff
Requires:         perl-Mozilla-LDAP
af32fff
af32fff
# this is needed to setup SSL if you are not using the
af32fff
# administration server package
af32fff
Requires:         nss-tools
af32fff
af32fff
# these are not found by the auto-dependency method
af32fff
# they are required to support the mandatory LDAP SASL mechs
af32fff
Requires:         cyrus-sasl-gssapi
af32fff
Requires:         cyrus-sasl-md5
af32fff
af32fff
# this is needed for verify-db.pl
af32fff
Requires:         db4-utils
af32fff
af32fff
# This picks up libperl.so as a Requires, so we add this versioned one
af32fff
Requires:         perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
af32fff
256eebf
# This is for the fedora-ds -> 389 run level hack
256eebf
Requires(posttrans): /sbin/service
256eebf
af32fff
# for the init script
af32fff
Requires(post): /sbin/chkconfig
af32fff
Requires(preun): /sbin/chkconfig
af32fff
Requires(preun): /sbin/service
af32fff
b767ad9
Source0:          http://port389.org/sources/%{name}-%{version}%{?prerel}.tar.bz2
af32fff
# 389-ds-git.sh should be used to generate the source tarball from git
af32fff
Source1:          %{name}-git.sh
af32fff
Source2:          %{name}-devel.README
af32fff
af32fff
%description
af32fff
389 Directory Server is an LDAPv3 compliant server.  The base package includes
af32fff
the LDAP server and command line utilities for server administration.
af32fff
af32fff
%package          devel
af32fff
Summary:          Development libraries for 389 Directory Server
af32fff
Group:            Development/Libraries
af32fff
Requires:         %{name} = %{version}-%{release}
af32fff
Requires:         mozldap-devel
af32fff
Provides:         fedora-ds-base-devel = %{version}-%{release}
af32fff
Obsoletes:        fedora-ds-base-devel < 1.2.1-1
af32fff
af32fff
%description      devel
af32fff
Development Libraries and headers for the 389 Directory Server base package.
af32fff
088940d
%package          selinux-devel
088940d
Summary:          Development interface for 389 Directory Server base SELinux policy
088940d
Group:            Development/Libraries
da4e1b5
Requires:         %{name} = %{version}-%{release}
088940d
088940d
%description      selinux-devel
088940d
SELinux policy interface for the 389 Directory Server base package.
088940d
af32fff
%prep
b767ad9
%setup -q -n %{name}-%{version}%{?prerel}
af32fff
cp %{SOURCE2} README.devel
af32fff
af32fff
%build
088940d
%configure --enable-autobind --with-selinux
af32fff
af32fff
# Generate symbolic info for debuggers
af32fff
export XCFLAGS=$RPM_OPT_FLAGS
af32fff
af32fff
%ifarch x86_64 ppc64 ia64 s390x sparc64
af32fff
export USE_64=1
af32fff
%endif
af32fff
af32fff
make %{?_smp_mflags}
af32fff
088940d
# Build the SELinux policy module for each variant
088940d
cd selinux-built
088940d
for selinuxvariant in %{selinux_variants}
088940d
do
088940d
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
088940d
  mv %{pkgname}.pp %{pkgname}.pp.${selinuxvariant}
088940d
  make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
088940d
done
088940d
cd -
088940d
af32fff
%install
af32fff
rm -rf $RPM_BUILD_ROOT 
af32fff
af32fff
make DESTDIR="$RPM_BUILD_ROOT" install
af32fff
af32fff
mkdir -p $RPM_BUILD_ROOT/var/log/%{pkgname}
af32fff
mkdir -p $RPM_BUILD_ROOT/var/lib/%{pkgname}
af32fff
mkdir -p $RPM_BUILD_ROOT/var/lock/%{pkgname}
af32fff
mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{pkgname}
af32fff
af32fff
#remove libtool and static libs
af32fff
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.a
af32fff
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.la
af32fff
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.a
af32fff
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.la
af32fff
af32fff
install -p -m 644 ldap/servers/slapd/slapi-plugin.h $RPM_BUILD_ROOT%{_includedir}/%{pkgname}/
af32fff
install -p -m 644 ldap/servers/plugins/replication/winsync-plugin.h $RPM_BUILD_ROOT%{_includedir}/%{pkgname}/
780986b
install -p -m 644 ldap/servers/plugins/replication/repl-session-plugin.h $RPM_BUILD_ROOT%{_includedir}/%{pkgname}/
af32fff
af32fff
# make sure perl scripts have a proper shebang 
af32fff
sed -i -e 's|#{{PERL-EXEC}}|#!/usr/bin/perl|' $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/script-templates/template-*.pl
af32fff
088940d
# Install the SELinux policy
088940d
cd selinux-built
088940d
for selinuxvariant in %{selinux_variants}
088940d
do
088940d
  install -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
088940d
  install -p -m 644 %{pkgname}.pp.${selinuxvariant} \
088940d
    %{buildroot}%{_datadir}/selinux/${selinuxvariant}/%{pkgname}.pp
088940d
done
088940d
cd -
088940d
088940d
# Install the SELinux policy interface
088940d
cd selinux-built
088940d
install -d %{buildroot}%{_datadir}/%{pkgname}-selinux
088940d
install -p -m 644 %{pkgname}.if %{buildroot}%{_datadir}/%{pkgname}-selinux/%{pkgname}.if
088940d
install -p -m 644 %{pkgname}.te %{buildroot}%{_datadir}/%{pkgname}-selinux/%{pkgname}.te
088940d
install -p -m 644 %{pkgname}.fc %{buildroot}%{_datadir}/%{pkgname}-selinux/%{pkgname}.fc
088940d
cd -
088940d
af32fff
%clean
af32fff
rm -rf $RPM_BUILD_ROOT
af32fff
256eebf
%pre -p <lua>
256eebf
-- see if fedora-ds-base exists - if so, save the run level configuration
256eebf
-- and set a flag that tells us to restore that config in %posttrans
256eebf
-- and restart the server
256eebf
-- we can get rid of this code once Fedora 11 becomes obsolete
256eebf
rc = os.execute('rpm --quiet -q fedora-ds-base')
256eebf
if rc == 0 then
256eebf
    %{pkgname}_exists = true
256eebf
    %{pkgname}_savelinks = {}
256eebf
    for dir in posix.files("%{_sysconfdir}/rc.d") do
256eebf
        if string.find(dir, "rc%d.d") then
256eebf
--          print("looking in %{_sysconfdir}/rc.d/"..dir)
256eebf
            for link in posix.files("%{_sysconfdir}/rc.d/"..dir) do
256eebf
                if string.find(link, "[SK]%d%d%{pkgname}") then
256eebf
                    fullname = "%{_sysconfdir}/rc.d/"..dir.."/"..link
256eebf
                    linked = posix.readlink(fullname)
256eebf
--                  print(fullname.." is linked to "..linked)
256eebf
                    %{pkgname}_savelinks[fullname] = linked
256eebf
                end
256eebf
            end
256eebf
        end
256eebf
    end
256eebf
end
256eebf
256eebf
%post -p <lua>
256eebf
os.execute('/sbin/chkconfig --add %{pkgname}')
256eebf
os.execute('/sbin/ldconfig')
256eebf
os.execute('/sbin/chkconfig --add %{pkgname}-snmp')
256eebf
-- this has been problematic - if this directory
256eebf
-- does not exist, the server will silently fail to
256eebf
-- start - however, if the user has already created
256eebf
-- it, we don't want to overwrite the permissions
256eebf
-- on it - so we can't list it explicitly in the
256eebf
-- files section - we list it as a ghost so that
256eebf
-- it will be removed when the rpm is removed
256eebf
if not posix.access("%{_localstatedir}/run/%{pkgname}") then
256eebf
    posix.mkdir("%{_localstatedir}/run/%{pkgname}")
256eebf
end
256eebf
-- since posttrans is not passed the upgrade status, we get
256eebf
-- it here
256eebf
if (arg[2] > 1) or %{pkgname}_exists then
256eebf
--    print("in %{pkgname} post - upgrading")
256eebf
    %{pkgname}_upgrading = true
256eebf
else
256eebf
--    print("in %{pkgname} post - installing")
256eebf
    %{pkgname}_upgrading = false
256eebf
end
eef021a
-- load the selinux policy module
eef021a
variants = "%{selinux_variants}"
eef021a
for selinuxvariant in string.gfind(variants, "%a+") do
eef021a
  os.execute('semodule -s '..selinuxvariant..' -i %{_datadir}/selinux/'..selinuxvariant..'/%{pkgname}.pp > /dev/null 2>&1')
eef021a
end
eef021a
-- label the files installed by this package
eef021a
os.execute('fixfiles -R %{name} restore > /dev/null 2>&1')
256eebf
af32fff
af32fff
%preun
eef021a
if [ $1 = 0 ]; then # Final removal
af32fff
        /sbin/service %{pkgname} stop >/dev/null 2>&1 || :
af32fff
        /sbin/chkconfig --del %{pkgname}
256eebf
        /sbin/service %{pkgname}-snmp stop >/dev/null 2>&1 || :
256eebf
        /sbin/chkconfig --del %{pkgname}-snmp
eef021a
        for selinuxvariant in %{selinux_variants}
eef021a
        do
eef021a
          semodule -s ${selinuxvariant} -r %{pkgname} 2>/dev/null || :
eef021a
        done
af32fff
fi
af32fff
eef021a
%postun
eef021a
/sbin/ldconfig
eef021a
if [ "$1" -ge "1" ]; then # Upgrade
eef021a
for selinuxvariant in %{selinux_variants}
eef021a
do
eef021a
  semodule -s ${selinuxvariant} -i %{_datadir}/selinux/${selinuxvariant}/%{pkgname}.pp 2>/dev/null || :
eef021a
done
eef021a
fi
af32fff
256eebf
%posttrans -p <lua>
256eebf
-- if we saved the run level configuration in %pre, restore it now
256eebf
-- we can get rid of this code once Fedora 11 becomes obsolete
256eebf
if %{pkgname}_savelinks then
256eebf
    for fullpath,link in pairs(%{pkgname}_savelinks) do
256eebf
        posix.symlink(link,fullpath)
256eebf
--        print("posttrans - restored run level "..fullpath.." to "..link)
256eebf
    end
256eebf
end
256eebf
if %{pkgname}_upgrading then
256eebf
    instbase = "%{_sysconfdir}/%{pkgname}"
256eebf
--    print("posttrans - upgrading - looking for instances in "..instbase)
256eebf
-- find all instances
256eebf
    instances = {} -- instances that require a restart after upgrade
256eebf
    for dir in posix.files(instbase) do
256eebf
--        print("dir="..dir)
256eebf
        if string.find(dir,"^slapd-") and not string.find(dir,"\.removed$") then
256eebf
            inst = string.gsub(dir,"^slapd[-]", "")
256eebf
--            print("found instance "..inst.." getting status")
256eebf
            rc = os.execute('/sbin/service %{pkgname} status '..inst..' >/dev/null 2>&1')
256eebf
-- if instance is running, we must restart it after upgrade
256eebf
            if rc == 0 then
256eebf
                instances[inst] = inst
256eebf
--                print("instance "..inst.." is running")
256eebf
--            else
256eebf
--                print("instance "..inst.." is shutdown")
256eebf
            end
256eebf
        end
256eebf
    end
256eebf
-- shutdown all instances
256eebf
--    print("shutting down all instances . . .")
256eebf
    os.execute('/sbin/service %{pkgname} stop > /dev/null 2>&1')
256eebf
-- do the upgrade
256eebf
--    print("upgrading instances . . .")
256eebf
    os.execute('%{_sbindir}/setup-ds.pl -l /dev/null -u -s General.UpdateMode=offline > /dev/null 2>&1')
256eebf
-- restart instances that require it
256eebf
    for inst,dummy in pairs(instances) do
256eebf
--        print("restarting instance "..inst)
256eebf
        os.execute('/sbin/service %{pkgname} start '..inst..' >/dev/null 2>&1')
256eebf
    end
eef021a
-- restart the snmp subagent if needed
eef021a
    os.execute('/sbin/service %{pkgname}-snmp condrestart > /dev/null 2>&1')
256eebf
end
256eebf
-- if we upgraded from fedora to 389, the upgrade will shutdown
256eebf
-- all old running instances, so we have to start them here
256eebf
if %{pkgname}_exists then
256eebf
--    print("restarting all instances due to package rename")
256eebf
    os.execute('/sbin/service %{pkgname} start >/dev/null 2>&1')
256eebf
end
256eebf
   
256eebf
af32fff
%files
af32fff
%defattr(-,root,root,-)
af32fff
%doc LICENSE EXCEPTION LICENSE.GPLv2
af32fff
%dir %{_sysconfdir}/%{pkgname}
af32fff
%dir %{_sysconfdir}/%{pkgname}/schema
af32fff
%config(noreplace)%{_sysconfdir}/%{pkgname}/schema/*.ldif
af32fff
%dir %{_sysconfdir}/%{pkgname}/config
af32fff
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/slapd-collations.conf
af32fff
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/certmap.conf
256eebf
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/ldap-agent.conf
256eebf
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/template-initconfig
af32fff
%config(noreplace)%{_sysconfdir}/sysconfig/%{pkgname}
af32fff
%{_datadir}/%{pkgname}
eef021a
%{_datadir}/selinux/*/%{pkgname}.pp
af32fff
%{_sysconfdir}/rc.d/init.d/%{pkgname}
256eebf
%{_sysconfdir}/rc.d/init.d/%{pkgname}-snmp
af32fff
%{_bindir}/*
af32fff
%{_sbindir}/*
af32fff
%dir %{_libdir}/%{pkgname}
af32fff
%{_libdir}/%{pkgname}/*.so.*
af32fff
%{_libdir}/%{pkgname}/perl
af32fff
%dir %{_libdir}/%{pkgname}/plugins
af32fff
%{_libdir}/%{pkgname}/plugins/*.so
af32fff
%dir %{_localstatedir}/lib/%{pkgname}
af32fff
%dir %{_localstatedir}/log/%{pkgname}
af32fff
%dir %{_localstatedir}/lock/%{pkgname}
af32fff
%{_mandir}/man1/*
af32fff
%{_mandir}/man8/*
af32fff
af32fff
%files devel
af32fff
%defattr(-,root,root,-)
af32fff
%doc LICENSE EXCEPTION LICENSE.GPLv2 README.devel
af32fff
%{_includedir}/%{pkgname}
af32fff
%{_libdir}/%{pkgname}/*.so
af32fff
088940d
%files selinux-devel
088940d
%defattr(-,root,root,-)
088940d
%{_datadir}/%{pkgname}-selinux
088940d
af32fff
%changelog
d5673eb
* Thu Sep 23 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6.1-1
6ee2c67
- This is the 1.2.6.1 release - git tag 389-ds-base-1.2.6.1
d5673eb
- Bug 634561 - Server crushes when using Windows Sync Agreement
6ee2c67
- Bug 635987 - Incorrect sub scope search result with ACL containing ldap:///self
6ee2c67
- Bug 612264 - ACI issue with (targetattr='userPassword')
6ee2c67
- Bug 606920 - anonymous resource limit- nstimelimit - also applied to "cn=directory manager"
6ee2c67
- Bug 631862 - crash - delete entries not in cache + referint
d5673eb
b5f6fe3
* Thu Aug 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-1
b5f6fe3
- This is the final 1.2.6 release
b5f6fe3
6fa7afc
* Tue Aug 10 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.11.rc7
6fa7afc
- 1.2.6 release candidate 7
6fa7afc
- git tag 389-ds-base-1.2.6.rc7
6fa7afc
- Bug 621928 - Unable to enable replica (rdn problem?) on 1.2.6 rc6
6fa7afc
55828d8
* Mon Aug  2 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.10.rc6
541ff87
- 1.2.6 release candidate 6
541ff87
- git tag 389-ds-base-1.2.6.rc6
541ff87
- Bug 617013 - repl-monitor.pl use cpu upto 90%
541ff87
- Bug 616618 - 389 v1.2.5 accepts 2 identical entries with different DN formats
541ff87
- Bug 547503 - replication broken again, with 389 MMR replication and TCP errors
541ff87
- Bug 613833 - Allow dirsrv_t to bind to rpc ports
541ff87
- Bug 612242 - membership change on DS does not show on AD
541ff87
- Bug 617629 - Missing aliases in new schema files
541ff87
- Bug 619595 - Upgrading sub suffix under non-normalized suffix disappears
541ff87
- Bug 616608 - SIGBUS in RDN index reads on platforms with strict alignments
541ff87
- Bug 617862 - Replication: Unable to delete tombstone errors
541ff87
- Bug 594745 - Get rid of dirsrv_lib_t label
541ff87
da4e1b5
* Wed Jul 14 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.9.rc3
da4e1b5
- make selinux-devel explicit Require the base package in order
da4e1b5
- to comply with Fedora Licensing Guidelines
da4e1b5
8590347
* Thu Jul  1 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.8.rc3
8590347
- 1.2.6 release candidate 3
8590347
- git tag 389-ds-base-1.2.6.rc3
8590347
- Bug 603942 - null deref in _ger_parse_control() for subjectdn
8590347
- 609256  - Selinux: pwdhash fails if called via Admin Server CGI
8590347
- 578296  - Attribute type entrydn needs to be added when subtree rename switch is on
8590347
- 605827 - In-place upgrade: upgrade dn format should not run in setup-ds-admin.pl
8590347
- Bug 604453 - SASL Stress and Server crash: Program quits with the assertion failure in PR_Poll
8590347
- Bug 604453 - SASL Stress and Server crash: Program quits with the assertion failure in PR_Poll
8590347
- 606920 - anonymous resource limit - nstimelimit - also applied to "cn=directory manager"
8590347
a41b9f6
* Wed Jun 16 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.7.rc2
a41b9f6
- 1.2.6 release candidate 2
a41b9f6
780986b
* Mon Jun 14 2010 Nathan Kinder <nkinder@redhat.com> - 1.2.6-0.6.rc1
780986b
- install replication session plugin header with devel package
780986b
93bfd70
* Wed Jun  9 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.5.rc1
31bd555
- 1.2.6 release candidate 1
31bd555
e5c53a9
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.2.6-0.4.a4.1
e5c53a9
- Mass rebuild with perl-5.12.0
e5c53a9
9821566
* Wed May 26 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.4.a4
9821566
- 1.2.6.a4 release
9821566
eef021a
* Tue Apr  7 2010 Nathan Kinder <nkinder@redhat.com> - 1.2.6-0.4.a3
83e7c49
- 1.2.6.a3 release
83e7c49
- add managed entries plug-in
83e7c49
- many bug fixes
eef021a
- moved selinux subpackage into base package
83e7c49
ee8e910
* Fri Apr  2 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.6-0.3.a2
ee8e910
- rebuild for icu 4.4
ee8e910
e0f6033
* Mon Mar  2 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.6-0.2.a2
e0f6033
- 1.2.6.a2 release
e0f6033
- add support for matching rules
e0f6033
- many bug fixes
e0f6033
088940d
* Thu Jan 14 2010 Nathan Kinder <nkinder@redhat.com> - 1.2.6-0.1.a1
088940d
- 1.2.6.a1 release
088940d
- Added SELinux policy and subpackages
088940d
b07f6ac
* Tue Jan 12 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.5-1
b07f6ac
- 1.2.5 final release
b07f6ac
944ad28
* Mon Jan  4 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.5-0.5.rc4
944ad28
- 1.2.5.rc4 release
944ad28
f345c9f
* Mon Dec 17 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.5-0.4.rc3
f345c9f
- 1.2.5.rc3 release
f345c9f
fa1d1ef
* Mon Dec  7 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.5-0.3.rc2
fa1d1ef
- 1.2.5.rc2 release
fa1d1ef
b767ad9
* Wed Dec  2 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.5-0.2.rc1
b767ad9
- 1.2.5.rc1 release
b767ad9
b767ad9
* Thu Nov 12 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.5-0.1.a1
b767ad9
- 1.2.5.a1 release
b767ad9
9de19f7
* Thu Oct 29 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.4-1
9de19f7
- 1.2.4 release
9de19f7
- resolves bug 221905 - added support for Salted MD5 (SMD5) passwords - primarily for migration
9de19f7
- resolves bug 529258 - Make upgrade remove obsolete schema from 99user.ldif
9de19f7
256eebf
* Mon Sep 14 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.3-1
256eebf
- 1.2.3 release
256eebf
- added template-initconfig to %files
256eebf
- %posttrans now runs update to update the server instances
256eebf
- servers are shutdown, then restarted if running before install
256eebf
- scriptlets mostly use lua now to pass data among scriptlet phases
caa5ee3
66e9e4c
* Tue Sep 01 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.2-2
66e9e4c
- rebuild with new openssl to fix dependencies
66e9e4c
8abaf54
* Tue Aug 25 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.2-1
8abaf54
- backed out - added template-initconfig to %files - this change is for the next major release
8abaf54
- bump version to 1.2.2
8abaf54
- fix reopened 509472 db2index all does not reindex all the db backends correctly
8abaf54
- fix 518520 -  pre hashed salted passwords do not work
8abaf54
- see https://bugzilla.redhat.com/show_bug.cgi?id=518519 for the list of
8abaf54
- bugs fixed in 1.2.2
8abaf54
abf5678
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.1-5
abf5678
- rebuilt with new openssl
abf5678
3257d41
* Wed Aug 19 2009 Noriko Hosoi <nhosoi@redhat.com> - 1.2.1-4
3257d41
- added template-initconfig to %files
3257d41
9d46490
* Wed Aug 12 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.1-3
9d46490
- added BuildRequires pcre
9d46490
83eeb2d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
83eeb2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
83eeb2d
af32fff
* Mon May 18 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.1-1
af32fff
- change name to 389
af32fff
- change version to 1.2.1
af32fff
- added initial support for numeric string syntax
af32fff
- added initial support for syntax validation
af32fff
- added initial support for paged results including sorting
af32fff
af32fff
* Tue Apr 28 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.0-4
af32fff
- final release 1.2.0
af32fff
- Resolves: bug 475338 - LOG: the intenal type of maxlogsize, maxdiskspace and minfreespace should be 64-bit integer
af32fff
- Resolves: bug 496836 - SNMP ldap-agent on Solaris: Unable to open semaphore for server: 389
af32fff
- CVS tag: FedoraDirSvr_1_2_0 FedoraDirSvr_1_2_0_20090428
af32fff
af32fff
* Mon Apr  6 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.0-3
af32fff
- re-enable ppc builds
af32fff
af32fff
* Thu Apr  2 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.0-2
af32fff
- exclude ppc builds - needs extensive porting work
af32fff
af32fff
* Mon Mar 30 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.0-1
af32fff
- new release 1.2.0
af32fff
- Made devel package depend on mozldap-devel
af32fff
- only create run dir if it does not exist
af32fff
- CVS tag: FedoraDirSvr_1_2_0_RC1 FedoraDirSvr_1_2_0_RC1_20090330
af32fff
af32fff
* Mon Oct 30 2008 Noriko Hosoi <nhosoi@redhat.com> - 1.1.3-7
af32fff
- added db4-utils to Requires for verify-db.pl
af32fff
af32fff
* Mon Oct 13 2008 Noriko Hosoi <nhosoi@redhat.com> - 1.1.3-6
af32fff
- Enabled LDAPI autobind
af32fff
af32fff
* Thu Oct  9 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.3-5
af32fff
- updated update to patch bug463991-bdb47.patch
af32fff
af32fff
* Thu Oct  9 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.3-4
af32fff
- updated patch bug463991-bdb47.patch
af32fff
af32fff
* Mon Sep 29 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.3-3
af32fff
- added patch bug463991-bdb47.patch
af32fff
- make ds work with bdb 4.7
af32fff
af32fff
* Wed Sep 24 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.3-2
af32fff
- rolled back bogus winsync memory leak fix
af32fff
af32fff
* Tue Sep 23 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.3-1
af32fff
- winsync api improvements for modify operations
af32fff
af32fff
* Fri Jun 13 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.2-1
af32fff
- This is the 1.1.2 release.  The bugs fixed can be found here
af32fff
- https://bugzilla.redhat.com/showdependencytree.cgi?id=452721
af32fff
- Added winsync-plugin.h to the devel subpackage
af32fff
af32fff
* Fri Jun  6 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.1-2
af32fff
- bump rev to rebuild and pick up new version of ICU
af32fff
af32fff
* Fri May 23 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.1-1
af32fff
- 1.1.1 release candidate - several bug fixes
af32fff
af32fff
* Wed Apr 16 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.0.1-4
af32fff
- fix bugzilla 439829 - patch to allow working with NSS 3.11.99 and later
af32fff
af32fff
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.0.1-3
af32fff
- add patch to allow server to work with NSS 3.11.99 and later
af32fff
- do NSS_Init after fork but before detaching from console
af32fff
af32fff
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.0.1-3
af32fff
- add Requires for versioned perl (libperl.so)
af32fff
af32fff
* Wed Feb 27 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.0.1-2
af32fff
- previous fix for 434403 used the wrong patch
af32fff
- this is the right one
af32fff
af32fff
* Wed Feb 27 2008 Rich Megginson <rmeggins@redhat.com> - 1.1.0.1-1
af32fff
- Resolves bug 434403 - GCC 4.3 build fails
af32fff
- Rolled new source tarball which includes Nathan's fix for the struct ucred
af32fff
- NOTE: Change version back to 1.1.1 for next release
af32fff
- this release was pulled from CVS tag FedoraDirSvr110_gcc43
af32fff
af32fff
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.0-5
af32fff
- Autorebuild for GCC 4.3
af32fff
af32fff
* Thu Dec 20 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-4
af32fff
- This is the GA release of Fedora DS 1.1
af32fff
- Removed version numbers for BuildRequires and Requires
af32fff
- Added full URL to source tarball
af32fff
af32fff
* Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-3
af32fff
- Rebuild for deps
af32fff
af32fff
* Wed Nov  7 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-2.0
af32fff
- This is the beta2 release
af32fff
- new file added to package - /etc/sysconfig/dirsrv - for setting
af32fff
- daemon environment as is usual in other linux daemons
af32fff
af32fff
* Thu Aug 16 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.2
af32fff
- fix build breakage due to open()
af32fff
- mock could not find BuildRequires: db4-devel >= 4.2.52
af32fff
- mock works if >= version is removed - it correctly finds db4.6
af32fff
af32fff
* Fri Aug 10 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.1
af32fff
- Change pathnames to use the pkgname macro which is dirsrv
af32fff
- get rid of cvsdate in source name
af32fff
af32fff
* Fri Jul 20 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.3.20070720
af32fff
- Added Requires for perldap, cyrus sasl plugins
af32fff
- Removed template-migrate* files
af32fff
- Added perl module directory
af32fff
- Removed install.inf - setup-ds.pl can now easily generate one
af32fff
af32fff
* Mon Jun 18 2007 Nathan Kinder <nkinder@redhat.com> - 1.1.0-0.2.20070320
af32fff
- added requires for mozldap-tools
af32fff
af32fff
* Tue Mar 20 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.1.20070320
af32fff
- update to latest sources
af32fff
- added migrateTo11 to allow migrating instances from 1.0.x to 1.1
af32fff
- ldapi support
af32fff
- fixed pam passthru plugin ENTRY method
af32fff
af32fff
* Fri Feb 23 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.1.20070223
af32fff
- Renamed package to fedora-ds-base, but keep names of paths/files/services the same
af32fff
- use the shortname macro (fedora-ds) for names of paths, files, and services instead
af32fff
- of name, so that way we can continue to use e.g. /etc/fedora-ds instead of /etc/fedora-ds-base
af32fff
- updated to latest sources
af32fff
af32fff
* Tue Feb 13 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-0.1.20070213
af32fff
- More cleanup suggested by Dennis Gilmore
af32fff
- This is the fedora extras candidate based on cvs tag FedoraDirSvr110a1
af32fff
af32fff
* Fri Feb  9 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.el4.20070209
af32fff
- latest sources
af32fff
- added init scripts
af32fff
- use /etc as instconfigdir
af32fff
af32fff
* Wed Feb  7 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.el4.20070207
af32fff
- latest sources
af32fff
- moved all executables to _bindir
af32fff
af32fff
* Mon Jan 29 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.el4.20070129
af32fff
- latest sources
af32fff
- added /var/tmp/fedora-ds to dirs
af32fff
af32fff
* Fri Jan 26 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-8.el4.20070125
af32fff
- added logconv.pl
af32fff
- added slapi-plugin.h to devel package
af32fff
- added explicit dirs for /var/log/fedora-ds et. al.
af32fff
af32fff
* Thu Jan 25 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-7.el4.20070125
af32fff
- just move all .so files into the base package from the devel package
af32fff
af32fff
* Thu Jan 25 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-6.el4.20070125
af32fff
- Move the plugin *.so files into the main package instead of the devel
af32fff
- package because they are loaded directly by name via dlopen
af32fff
af32fff
* Fri Jan 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-5.el4.20070125
af32fff
- Move the script-templates directory to datadir/fedora-ds
af32fff
af32fff
* Fri Jan 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-4.el4.20070119
af32fff
- change mozldap to mozldap6
af32fff
af32fff
* Fri Jan 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-3.el4.20070119
af32fff
- remove . from cvsdate define
af32fff
af32fff
* Fri Jan 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-2.el4.20070119
af32fff
- Having a problem building in Brew - may be Release format
af32fff
af32fff
* Fri Jan 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-1.el4.cvs20070119
af32fff
- Changed version to 1.1.0 and added Release 1.el4.cvs20070119
af32fff
- merged in changes from Fedora Extras candidate spec file
af32fff
af32fff
* Mon Jan 15 2007 Rich Megginson <rmeggins@redhat.com> - 1.1-0.1.cvs20070115
af32fff
- Bump component versions (nspr, nss, svrcore, mozldap) to their latest
af32fff
- remove unneeded patches
af32fff
af32fff
* Tue Jan 09 2007 Dennis Gilmore <dennis@ausil.us> - 1.1-0.1.cvs20070108
af32fff
- update to a cvs snapshot
af32fff
- fedorafy the spec 
af32fff
- create -devel subpackage
af32fff
- apply a patch to use mozldap not mozldap6
af32fff
- apply a patch to allow --prefix to work correctly
af32fff
af32fff
* Mon Dec 4 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-16
af32fff
- Fixed the problem where the server would crash upon shutdown in dblayer
af32fff
- due to a race condition among the database housekeeping threads
af32fff
- Fix a problem with normalized absolute paths for db directories
af32fff
af32fff
* Tue Nov 28 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-15
af32fff
- Touch all of the ldap/admin/src/scripts/*.in files so that they
af32fff
- will be newer than their corresponding script template files, so
af32fff
- that make will rebuild them.
af32fff
af32fff
* Mon Nov 27 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-14
af32fff
- Chown new schema files when copying during instance creation
af32fff
af32fff
* Tue Nov 21 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-13
af32fff
- Configure will get ldapsdk_bindir from pkg-config, or $libdir/mozldap6
af32fff
af32fff
* Tue Nov 21 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-12
af32fff
- use eval to sed ./configure into ../configure
af32fff
af32fff
* Tue Nov 21 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-11
af32fff
- jump through hoops to be able to run ../configure
af32fff
af32fff
* Tue Nov 21 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-10
af32fff
- Need to make built dir in setup section
af32fff
af32fff
* Tue Nov 21 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-9
af32fff
- The template scripts needed to use @libdir@ instead of hardcoding
af32fff
- /usr/lib
af32fff
- Use make DESTDIR=$RPM_BUILD_ROOT install instead of % makeinstall
af32fff
- do the actual build in a "built" subdirectory, until we remove
af32fff
- the old script templates
af32fff
af32fff
* Thu Nov 16 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-8
af32fff
- Make replication plugin link with libdb
af32fff
af32fff
* Wed Nov 15 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-7
af32fff
- Have make define LIBDIR, BINDIR, etc. for C code to use
af32fff
- especially for create_instance.h
af32fff
af32fff
* Tue Nov 14 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-6
af32fff
- Forgot to checkin new config.h.in for AC_CONFIG_HEADERS
af32fff
af32fff
* Tue Nov 14 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-5
af32fff
- Add perldap as a Requires; update sources
af32fff
af32fff
* Thu Nov 9 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-4
af32fff
- Fix ds_newinst.pl
af32fff
- Remove obsolete #defines
af32fff
af32fff
* Thu Nov 9 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-3
af32fff
- Update sources; rebuild to populate brew yum repo with dirsec-nss
af32fff
af32fff
* Tue Nov 7 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-2
af32fff
- Update sources
af32fff
af32fff
* Thu Nov 2 2006 Rich Megginson <rmeggins@redhat.com> - 1.0.99-1
af32fff
- initial revision