Bug 212038

Summary: Configure needs to generate program wrapper scripts
Product: [Retired] 389 Reporter: Nathan Kinder <nkinder>
Component: Directory ServerAssignee: Nathan Kinder <nkinder>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.2CC: nhosoi, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 17:17:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 152373, 240316    
Attachments:
Description Flags
CVS Diffs
none
Wrapper template (infadd.in)
none
CVS Commit Message none

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