Bug 212038 - Configure needs to generate program wrapper scripts
Summary: Configure needs to generate program wrapper scripts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Directory Server
Version: 1.0.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nathan Kinder
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 152373 240316
TreeView+ depends on / blocked
 
Reported: 2006-10-24 18:50 UTC by Nathan Kinder
Modified: 2015-12-07 17:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 17:17:08 UTC
Embargoed:


Attachments (Terms of Use)
CVS Diffs (11.34 KB, patch)
2006-10-24 18:50 UTC, Nathan Kinder
no flags Details | Diff
Wrapper template (infadd.in) (2.13 KB, text/plain)
2006-10-24 18:54 UTC, Nathan Kinder
no flags Details
CVS Commit Message (3.17 KB, text/plain)
2006-10-24 21:18 UTC, Nathan Kinder
no flags Details

Description Nathan Kinder 2006-10-24 18:50:04 UTC
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?

Comment 1 Nathan Kinder 2006-10-24 18:50:05 UTC
Created attachment 139252 [details]
CVS Diffs

Comment 2 Nathan Kinder 2006-10-24 18:54:38 UTC
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

Comment 3 Noriko Hosoi 2006-10-24 19:02:07 UTC
Looks good to me.

Comment 4 Nathan Kinder 2006-10-24 21:18:56 UTC
Created attachment 139273 [details]
CVS Commit Message

Thanks for the review Noriko!  The fixes are now checked into ldapserver
(HEAD).

Comment 5 Michael Gregg 2007-12-11 21:04:24 UTC
 
Set to be verified by builtteam


Note You need to log in before you can comment on or make changes to this bug.