Compare commits

...

10 Commits
rawhide ... f8

Author SHA1 Message Date
Fedora Release Engineering 0f65f00bd9 dist-git conversion 2010-07-29 12:51:01 +00:00
Bill Nottingham 7056968499 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:40:49 +00:00
Nalin Dahyabhai 8e779bd56d - make the example ldif files multilib safe by assuming that omitting the
directory is safe because the plugin will be installed where the server
    will be looking for it
2008-12-09 16:44:20 +00:00
Nalin Dahyabhai 266c6263b4 - update to 0.8.5 to suppress duplicate values for attributes in the schema
compatibility plugin
2008-12-08 19:07:31 +00:00
Nalin Dahyabhai e061fd1302 update to 0.8.4 to fix catching of internal writes correctly 2008-12-04 05:03:51 +00:00
Nalin Dahyabhai cf9a6a0f5c update to 0.8.3 2008-12-03 17:04:28 +00:00
Nalin Dahyabhai d989ed3e61 update to 0.8.3 2008-12-03 17:01:23 +00:00
Nalin Dahyabhai 6dc8850fc2 - update to 0.8.1 to fix a heap corruption (Rich Megginson) 2008-10-03 19:47:26 +00:00
Nalin Dahyabhai 5d1e3f6bd7 - initial import 2008-08-13 15:47:01 +00:00
Kevin Fenzi 5e275966b2 Initialize branch F-8 for slapi-nis 2008-08-10 01:08:24 +00:00
6 changed files with 119 additions and 21 deletions

View File

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
slapi-nis-0.8.tar.gz
slapi-nis-0.8.1.tar.gz
slapi-nis-0.8.3.tar.gz
slapi-nis-0.8.4.tar.gz
slapi-nis-0.8.5.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: slapi-nis
# $Id$
NAME := slapi-nis
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

27
slapi-nis-paths.patch Normal file
View File

@ -0,0 +1,27 @@
Take advantage of the server's ability to prepend the right directory name
and append the right extension to make the resulting file multilib-safe.
diff -ru slapi-nis-0.8.5/doc/nis-plugin.ldif.in slapi-nis-0.8.5/doc/nis-plugin.ldif.in
--- slapi-nis-0.8.5/doc/nis-plugin.ldif.in 2008-12-08 14:00:53.000000000 -0500
+++ slapi-nis-0.8.5/doc/nis-plugin.ldif.in 2008-12-09 11:18:13.000000000 -0500
@@ -3,7 +3,7 @@
objectclass: nsSlapdPlugin
objectclass: extensibleObject
cn: NIS Server
-nsslapd-pluginpath: @myplugindir@/nisserver-plugin.so
+nsslapd-pluginpath: nisserver-plugin
nsslapd-plugininitfunc: nis_plugin_init
nsslapd-plugintype: object
nsslapd-pluginenabled: on
diff -ru slapi-nis-0.8.5/doc/sch-plugin.ldif.in slapi-nis-0.8.5/doc/sch-plugin.ldif.in
--- slapi-nis-0.8.5/doc/sch-plugin.ldif.in 2008-12-08 14:00:53.000000000 -0500
+++ slapi-nis-0.8.5/doc/sch-plugin.ldif.in 2008-12-09 11:18:21.000000000 -0500
@@ -3,7 +3,7 @@
objectclass: nsSlapdPlugin
objectclass: extensibleObject
cn: Schema Compatibility
-nsslapd-pluginpath: @myplugindir@/schemacompat-plugin.so
+nsslapd-pluginpath: schemacompat-plugin
nsslapd-plugininitfunc: schema_compat_plugin_init
nsslapd-plugintype: object
nsslapd-pluginenabled: on

86
slapi-nis.spec Normal file
View File

@ -0,0 +1,86 @@
Name: slapi-nis
Version: 0.8.5
Release: 2%{?dist}
Summary: NIS Server and Schema Compatibility plugins for Directory Server
Group: System Environment/Daemons
License: GPLv2
URL: http://slapi-nis.fedorahosted.org/
Source0: https://fedorahosted.org/releases/s/l/slapi-nis/slapi-nis-%{version}.tar.gz
Patch0: slapi-nis-paths.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fedora-ds-base-devel, mozldap-devel, tcp_wrappers-devel
%description
This slapi-nis package contains two plugins which aim to ease the
transition of a network from NIS to LDAP. The NIS Server plugin
(nisserver-plugin) allows the directory server itself to act as a NIS
server, and the Schema Compatibility plugin (schemacompat-plugin)
allows the directory server to provide modified views of data stored
in the directory.
%prep
%setup -q
%patch0 -p1 -b .paths
%build
%configure --disable-static --with-tcp-wrappers
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/dirsrv/plugins/*.la
%if 0
# ns-slapd doesn't want to start in koji
%check
make check
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING STATUS doc/*.txt doc/*.ldif
%{_libdir}/dirsrv/plugins/*.so
%{_sbindir}/nisserver-plugin-defs
%changelog
* Tue Dec 9 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8.5-2
- make the example nsslapd-pluginpath values the same on 32- and 64-bit
systems, because we can depend on the directory server "knowing" which
directory to search for the plugins
* Mon Dec 8 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8.5-1
- update to 0.8.5 to suppress duplicate values for attributes in the schema
compatibility plugin
* Thu Dec 4 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8.4-1
- update to 0.8.4 to fix:
- problems updating references, particularly those for %%referred() (#474478)
- inability to notice internal add/modify/modrdn/delete operations (really
this time) (#474426)
* Wed Dec 3 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8.3-1
- update to 0.8.3 to also notice and reflect changes caused by internal
add/modify/modrdn/delete operations
* Wed Nov 19 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8.2-1
- update to 0.8.2 to remove a redundant read lock in the schema-compat plugin
* Fri Oct 3 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8.1-1
- update to 0.8.1 to fix a heap corruption (Rich Megginson)
* Wed Aug 6 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8-1
- update to 0.8
* Wed Aug 6 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.7-1
- update to 0.7
* Wed Jul 23 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.6-1
- rebuild (and make rpmlint happy)
* Wed Jul 9 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.2-1
- initial package

View File

@ -0,0 +1 @@
5278f6b65c55793bd22a1a88db67efaa slapi-nis-0.8.5.tar.gz