Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/test-plugins
In directory
cvs-int.fedora.redhat.com:/tmp/cvs-serv4386/ldapserver/ldap/servers/slapd/test-plugins
Modified Files:
README sampletask.c
Log Message:
Resolves: bug 251549
Bug Description: Change filesystem path naming from "fedora-ds" to
"dirsrv"
Reviewed by: nkinder (Thanks!)
Fix Description: Mostly just changing the package name in configure.ac, and making sure we
consistently use that in path naming (e.g. /etc/@PACKAGE_NAME@ or /etc/@PACKAGE_NAME_BASE@
for adminserver).
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: Oh yes.
QA impact: Any existing tests that depend on /path/brand-ds will need to change to use
dirsrv. It is highly encouraged to use a macro or variable for the package name in any
scripts to minimize the impact of future package name changes.
Index: README
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/test-plugins/README,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- README 15 Dec 2006 00:22:54 -0000 1.8
+++ README 13 Aug 2007 15:35:35 -0000 1.9
@@ -188,7 +188,7 @@
1. Stop the server.
Console: Select the server; Object > Stop Server
- Command Line: cd [prefix]/usr/lib/<brand>-ds/slapd-[serverID] ; ./stop-slapd
+ Command Line: cd [prefix]/usr/lib/<PACKAGE_NAME>/slapd-[serverID] ;
./stop-slapd
2. Add the entry for the server plug-in to
[prefix]/var/lib/slapd-[serverID]/dse.ldif. For example:
@@ -198,7 +198,7 @@
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: [My Server Plugin]
- nsslapd-pluginPath: [[prefix]/usr/lib/<brand>-ds/plugins/myveryown-plugin.so]
+ nsslapd-pluginPath:
[[prefix]/usr/lib/<PACAKGE_NAME>/plugins/myveryown-plugin.so]
nsslapd-pluginInitfunc: [my_plugin_init]
nsslapd-pluginType: [myPluginType]
nsslapd-pluginEnabled: on
@@ -217,4 +217,4 @@
3. Restart the server.
Console: Object > Start Server
- Command Line: cd [prefix]/usr/lib/<brand>-ds/slapd-[serverID] ; ./restart-slapd
+ Command Line: cd [prefix]/usr/lib/<PACKAGE_NAME>/slapd-[serverID] ;
./restart-slapd
Index: sampletask.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/test-plugins/sampletask.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sampletask.c 15 Dec 2006 00:22:54 -0000 1.1
+++ sampletask.c 13 Aug 2007 15:35:35 -0000 1.2
@@ -39,7 +39,7 @@
*
* [How to set up the plugin for testing]
* 1. compile and package with the other plugins
- * 2. put the plugin libsampletask-plugin.so at
<prefix>/usr/lib/<brand>-ds/plugins
+ * 2. put the plugin libsampletask-plugin.so at
<prefix>/usr/lib/<PACKAGE_NAME>/plugins
* 3. register it as a plugin in dse.ldif
* Plugin entry:
* dn: cn=sampletask,cn=plugins,cn=config
@@ -47,7 +47,7 @@
* objectClass: nsSlapdPlugin
* objectClass: extensibleObject
* cn: sampletask
- * nsslapd-pluginPath:
<prefix>/usr/lib/<brand>-ds/plugins/libsampletask-plugin.so
+ * nsslapd-pluginPath:
<prefix>/usr/lib/<PACKAGE_NAME>/plugins/libsampletask-plugin.so
* nsslapd-pluginInitfunc: sampletask_init
* nsslapd-pluginType: object
* nsslapd-pluginEnabled: on
Show replies by date