slapi-nis/slapi-nis-paths.patch
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

28 lines
1.2 KiB
Diff

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