rpms/fedora-ds/devel fedora-ds-cvs.sh, NONE, 1.1 fedora-ds-devel.README, NONE, 1.1 fedora-ds.spec, NONE, 1.1 install.inf, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Richard Allen Megginson (rmeggins) fedora-extras-commits at redhat.com
Wed Feb 14 20:35:49 UTC 2007


Author: rmeggins

Update of /cvs/extras/rpms/fedora-ds/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19627/devel

Modified Files:
	.cvsignore sources 
Added Files:
	fedora-ds-cvs.sh fedora-ds-devel.README fedora-ds.spec 
	install.inf 
Log Message:
auto-import fedora-ds-1.1.0-0.1.20070213 on branch devel from fedora-ds-1.1.0-0.1.20070213.src.rpm


--- NEW FILE fedora-ds-cvs.sh ---
#!/bin/bash

DATE=`date +%Y%m%d`
CVSTAG=FedoraDirSvr110a1
VERSION=1.1.0
export CVSROOT=:pserver:anonymous at cvs.fedora.redhat.com:/cvs/dirsec
cvs -z3 export -r$CVSTAG -d fedora-ds-$VERSION-$DATE ldapserver

tar -cjf fedora-ds-$VERSION-$DATE.tar.bz2 fedora-ds-$VERSION-$DATE

rm -rf fedora-ds-$VERSION-$DATE


--- NEW FILE fedora-ds-devel.README ---
For detailed information on developing plugins for 
Fedora Directory Server visit.

http://www.redhat.com/docs/manuals/dir-server/plugin/contents.htm
http://directory.fedora.redhat.com/wiki/Plugins


--- NEW FILE fedora-ds.spec ---
# cvsdate should correspond to the cvsdate in the fedora-ds-cvs.sh script
%{!?cvsdate:%define cvsdate   20070213}


Summary:          Fedora Directory Server
Name:             fedora-ds
Version:          1.1.0
Release:          0.1.%{?cvsdate}%{?dist}
License:          GPL plus extensions
URL:              http://directory.fedora.redhat.com/
Group:            System Environment/Daemons
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:    nspr-devel >= 4.6.4
BuildRequires:    nss-devel >= 3.11.4
BuildRequires:    svrcore-devel >= 4.0.3
BuildRequires:    mozldap-devel >= 6.0.2
BuildRequires:    db4-devel >= 4.2.52
BuildRequires:    cyrus-sasl-devel >= 2.1.19
BuildRequires:    icu >= 3.4
BuildRequires:    libicu-devel >= 3.4
# The following are needed to build the snmp ldap-agent
BuildRequires:    net-snmp-devel >= 5.1.2
%ifnarch sparc sparc64 ppc ppc64
BuildRequires:    lm_sensors-devel
%endif
BuildRequires:    bzip2-devel
BuildRequires:    zlib-devel
BuildRequires:    openssl-devel
BuildRequires:    tcp_wrappers
BuildRequires:    libselinux-devel
# the following is for the pam passthru auth plug-in
BuildRequires:    pam-devel

# for the init script
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service

Source0:          %{name}-%{version}-%{cvsdate}.tar.bz2
# fedora-ds-cvs.sh should be used to generate the source tarball from CVS
Source1:          fedora-ds-cvs.sh
Source2:          install.inf
Source3:          fedora-ds-devel.README

%description
Fedora Directory Server is an LDAPv3 compliant server.

%package          devel
Summary:          Development libraries for Fedora Directory Server
Group:            Development/Libraries
Requires:         %{name} = %{version}-%{release}

%description      devel
Development Libraries and heades for Fedora Directory Server.


%prep
%setup -q -n %{name}-%{version}-%{cvsdate}
cp %{SOURCE2} install.inf
cp %{SOURCE3} README.devel

%build
%configure

# Generate symbolic info for debuggers
export XCFLAGS=$RPM_OPT_FLAGS

%ifarch x86_64 ppc64 ia64 s390x sparc64
export USE_64=1
%endif

make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT 

make DESTDIR="$RPM_BUILD_ROOT" install

mkdir -p $RPM_BUILD_ROOT/var/log/%{name}
mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}
mkdir -p $RPM_BUILD_ROOT/var/lock/%{name}
mkdir -p $RPM_BUILD_ROOT/var/tmp/%{name}
mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name}

#remove libtool and static libs
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la

install -p -m 644 ldap/servers/slapd/slapi-plugin.h $RPM_BUILD_ROOT%{_includedir}/%{name}/

# make sure perl scripts have a proper shebang 
sed -i -e 's|#{{PERL-EXEC}}|#!/usr/bin/perl|' $RPM_BUILD_ROOT%{_datadir}/%{name}/script-templates/template-*.pl
sed -i -e 's|#{{PERL-EXEC}}|#!/usr/bin/perl|' $RPM_BUILD_ROOT%{_datadir}/%{name}/script-templates/template-migrate*

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/chkconfig --add fedora-ds
/sbin/ldconfig


%preun
if [ $1 = 0 ]; then
        /sbin/service fedora-ds stop >/dev/null 2>&1 || :
        /sbin/chkconfig --del fedora-ds
fi

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc LICENSE EXCEPTION install.inf
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/schema
%config(noreplace)%{_sysconfdir}/%{name}/schema/*.ldif
%dir %{_sysconfdir}/%{name}/property
%config(noreplace)%{_sysconfdir}/%{name}/property/ns-slapd.properties
%dir %{_sysconfdir}/%{name}/config
%config(noreplace)%{_sysconfdir}/%{name}/config/slapd-collations.conf
%config(noreplace)%{_sysconfdir}/%{name}/config/certmap.conf
%{_datadir}/%{name}
%{_initrddir}/fedora-ds
%{_bindir}/*
%{_sbindir}/ns-slapd
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*.so.*
%dir %{_libdir}/%{name}/plugins
%{_libdir}/%{name}/plugins/*.so
%dir %{_localstatedir}/lib/%{name}
%dir %{_localstatedir}/log/%{name}
%dir %{_localstatedir}/lock/%{name}
%dir %{_localstatedir}/tmp/%{name}

%files devel
%defattr(-,root,root,-)
%doc LICENSE EXCEPTION README.devel
%{_includedir}/%{name}
%{_libdir}/%{name}/*.so

%changelog
* Tue Feb 13 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-0.1.20070213
- More cleanup suggested by Dennis Gilmore
- This is the fedora extras candidate based on cvs tag FedoraDirSvr110a1

* Fri Feb  9 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-1.el4.20070209
- latest sources
- added init scripts
- use /etc as instconfigdir

* Wed Feb  7 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-1.el4.20070207
- latest sources
- moved all executables to _bindir

* Mon Jan 29 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-1.el4.20070129
- latest sources
- added /var/tmp/fedora-ds to dirs

* Fri Jan 26 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-8.el4.20070125
- added logconv.pl
- added slapi-plugin.h to devel package
- added explicit dirs for /var/log/fedora-ds et. al.

* Thu Jan 25 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-7.el4.20070125
- just move all .so files into the base package from the devel package

* Thu Jan 25 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-6.el4.20070125
- Move the plugin *.so files into the main package instead of the devel
- package because they are loaded directly by name via dlopen

* Fri Jan 19 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-5.el4.20070125
- Move the script-templates directory to datadir/fedora-ds

* Fri Jan 19 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-4.el4.20070119
- change mozldap to mozldap6

* Fri Jan 19 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-3.el4.20070119
- remove . from cvsdate define

* Fri Jan 19 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-2.el4.20070119
- Having a problem building in Brew - may be Release format

* Fri Jan 19 2007 Rich Megginson <rmeggins at redhat.com> - 1.1.0-1.el4.cvs20070119
- Changed version to 1.1.0 and added Release 1.el4.cvs20070119
- merged in changes from Fedora Extras candidate spec file

* Mon Jan 15 2007 Rich Megginson <rmeggins at redhat.com> - 1.1-0.1.cvs20070115
- Bump component versions (nspr, nss, svrcore, mozldap) to their latest
- remove unneeded patches

* Tue Jan 09 2007 Dennis Gilmore <dennis at ausil.us> - 1.1-0.1.cvs20070108
- update to a cvs snapshot
- fedorafy the spec 
- create -devel subpackage
- apply a patch to use mozldap not mozldap6
- apply a patch to allow --prefix to work correctly

* Mon Dec 4 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-16
- Fixed the problem where the server would crash upon shutdown in dblayer
- due to a race condition among the database housekeeping threads
- Fix a problem with normalized absolute paths for db directories

* Tue Nov 28 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-15
- Touch all of the ldap/admin/src/scripts/*.in files so that they
- will be newer than their corresponding script template files, so
- that make will rebuild them.

* Mon Nov 27 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-14
- Chown new schema files when copying during instance creation

* Tue Nov 21 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-13
- Configure will get ldapsdk_bindir from pkg-config, or $libdir/mozldap6

* Tue Nov 21 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-12
- use eval to sed ./configure into ../configure

* Tue Nov 21 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-11
- jump through hoops to be able to run ../configure

* Tue Nov 21 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-10
- Need to make built dir in setup section

* Tue Nov 21 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-9
- The template scripts needed to use @libdir@ instead of hardcoding
- /usr/lib
- Use make DESTDIR=$RPM_BUILD_ROOT install instead of % makeinstall
- do the actual build in a "built" subdirectory, until we remove
- the old script templates

* Thu Nov 16 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-8
- Make replication plugin link with libdb

* Wed Nov 15 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-7
- Have make define LIBDIR, BINDIR, etc. for C code to use
- especially for create_instance.h

* Tue Nov 14 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-6
- Forgot to checkin new config.h.in for AC_CONFIG_HEADERS

* Tue Nov 14 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-5
- Add perldap as a Requires; update sources

* Thu Nov 9 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-4
- Fix ds_newinst.pl
- Remove obsolete #defines

* Thu Nov 9 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-3
- Update sources; rebuild to populate brew yum repo with dirsec-nss

* Tue Nov 7 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-2
- Update sources

* Thu Nov 2 2006 Rich Megginson <rmeggins at redhat.com> - 1.0.99-1
- initial revision


--- NEW FILE install.inf ---
[General]
FullMachineName=   localhost.localdomain
SuiteSpotUserID=   nobody
ServerRoot=    /usr/lib/fedora-ds
[slapd]
ServerPort=   389
ServerIdentifier=   localhost
Suffix=   dc=example,dc=com
RootDN=   cn=Directory Manager
# If you attempt to use this file with RootDNPwd commented
# out, you will get an error.  You must supply a real
# protected password instead of PutAPasswordHere
# and uncomment the following line in order to use this
# to create an instance with ds_newinst.pl
#RootDNPwd=  PutAPasswordHere


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fedora-ds/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Feb 2007 20:23:49 -0000	1.1
+++ .cvsignore	14 Feb 2007 20:35:17 -0000	1.2
@@ -0,0 +1 @@
+fedora-ds-1.1.0-20070213.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fedora-ds/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Feb 2007 20:23:49 -0000	1.1
+++ sources	14 Feb 2007 20:35:17 -0000	1.2
@@ -0,0 +1 @@
+967afc85267cd68298c6136ae8485b70  fedora-ds-1.1.0-20070213.tar.bz2




More information about the fedora-extras-commits mailing list