We need to make configure generate wrapper scripts for the programs included in the Directory Server package. We will need configure to substitute the paths to dependent libraries into the wrappers. The attached diffs add variable substitution support for the library directories for nspr, nss, mozldap, db, sasl, and netsnmp. I have also created wrapper templates for all of our programs. The actual wrappers will be created by configure and installed when one does a "make install". I had to move the installation path settings out of Makefile.am and into configure.ac so we could do substitutions of installed paths (which is required for setting the location of the actual binary in each wrapper). In addition to the diffs, there are new files for each of the wraper templates. I currently have these wrapper templates in ldapserver/wrappers, but we may want to put them elsewhere in the source tree. Does anyone have any suggestions for the location?
Created attachment 139252 [details] CVS Diffs
Created attachment 139253 [details] Wrapper template (infadd.in) This is the new wrapper templaate file for the infadd utility. I'm not going to attach all of the new wrapper scripts as they are essentially the same aside from the program name and the library path that each program needs set. I have wrapper templates created for the following programs: dbscan.in ds_newinst.in ldap-agent.in ldif.in mmldif.in rsearch.in dsktune.in infadd.in ldclt.in migratecred.in pwdhash.in
Looks good to me.
Created attachment 139273 [details] CVS Commit Message Thanks for the review Noriko! The fixes are now checked into ldapserver (HEAD).
Set to be verified by builtteam