Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
|
0f65f00bd9 | |
|
7056968499 | |
|
8e779bd56d | |
|
266c6263b4 | |
|
e061fd1302 | |
|
cf9a6a0f5c | |
|
d989ed3e61 | |
|
6dc8850fc2 | |
|
5d1e3f6bd7 | |
|
5e275966b2 |
|
@ -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
|
21
Makefile
21
Makefile
|
@ -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)
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue