[Fedora-directory-commits] dsgw/orghtml orgchart.tmpl.in,1.2,1.3
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/dsgw/orghtml
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5375/dsgw/orghtml
Modified Files:
orgchart.tmpl.in
Log Message:
remove the hp host:port cgi parameter
Index: orgchart.tmpl.in
===================================================================
RCS file: /cvs/dirsec/dsgw/orghtml/orgchart.tmpl.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- orgchart.tmpl.in 30 Jan 2008 02:22:47 -0000 1.2
+++ orgchart.tmpl.in 1 Feb 2008 17:04:22 -0000 1.3
@@ -68,10 +68,13 @@
#
# For example, you could specify below something close to:
#
-# url-phonebook-base http://hostname.domain.com/dsgw/bin/dosearch?context=default&hp=localhost...
+# url-phonebook-base http://hostname.domain.com/dsgw/bin/dosearch?context=default&dn=
#
+# Note that you used to be able to pass in the host and port of the LDAP server to use
+# the way this works now is that it will just use the LDAP server configured for the
+# phonebook to use in the pb.conf file
-url-phonebook-base @httpurl@@cgiuri@/dosearch?context=pb&hp=@host@:@port@&dn=
+url-phonebook-base @httpurl@@cgiuri@/dosearch?context=pb&dn=
#
# A name that has no value after it equates to "" for the value,
16 years, 2 months
[Fedora-directory-commits] dsgw dosearch.c, 1.3, 1.4 dsgwutil.c, 1.7, 1.8 entrydisplay.c, 1.4, 1.5
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/dsgw
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5375/dsgw
Modified Files:
dosearch.c dsgwutil.c entrydisplay.c
Log Message:
remove the hp host:port cgi parameter
Index: dosearch.c
===================================================================
RCS file: /cvs/dirsec/dsgw/dosearch.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dosearch.c 14 Jan 2008 23:34:27 -0000 1.3
+++ dosearch.c 1 Feb 2008 17:04:22 -0000 1.4
@@ -41,7 +41,7 @@
#include "dsgw.h"
-static void get_request(char* hostport, char *dn, char *ldapquery);
+static void get_request(char *dn, char *ldapquery);
static void post_request();
@@ -54,7 +54,6 @@
{
int reqmethod;
char *dn = NULL;
- char *hostport = NULL;
char *ldapquery = NULL;
int index = 0;
char *varname = NULL;
@@ -70,7 +69,6 @@
reqmethod = dsgw_init( argc, argv, DSGW_METHOD_POST | DSGW_METHOD_GET );
- hostport = dsgw_get_cgi_var("hp", DSGW_CGIVAR_OPTIONAL);
ldapquery = dsgw_get_cgi_var("ldq", DSGW_CGIVAR_OPTIONAL);
dn = dsgw_get_cgi_var("dn", DSGW_CGIVAR_OPTIONAL);
/*
@@ -78,8 +76,8 @@
* tack it onto the end of ldapquery.
*/
while ( (varname = dsgw_next_cgi_var( &index, &val )) != NULL) {
- if (!strcmp(varname, "hp") || !strcmp(varname, "ldq") ||
- !strcmp(varname, "dn") || !strcmp(varname, "context")) {
+ if (!strcmp(varname, "context") || !strcmp(varname, "ldq") ||
+ !strcmp(varname, "dn")) {
continue;
}
if (ldapquery != NULL) {
@@ -106,7 +104,7 @@
#endif
if ( reqmethod == DSGW_METHOD_GET ) {
- get_request(hostport, dn, ldapquery);
+ get_request(dn, ldapquery);
} else {
post_request();
}
@@ -116,7 +114,7 @@
static void
-get_request(char* hostport, char *dn, char *ldapquery)
+get_request(char *dn, char *ldapquery)
{
int urllen = 0;
int argslen = 0;
@@ -147,55 +145,23 @@
* .../dosearch?context=BLAH[&hp=host[:port]][&dn=baseDN][&ldq=LDAPquery]]
* -RJP
*/
- argslen = 0;
-
- /* get the length of all the args (dn, hostport, ldapquery)*/
- if (hostport != NULL) {
- argslen += strlen(hostport);
- }
-
- if (dn != NULL) {
- argslen += strlen(dn);
- }
-
- if (ldapquery != NULL) {
- argslen += strlen(ldapquery);
- }
-
- /* If nothing was supplied, exit*/
- if ( argslen == 0 ) {
- dsgw_error( DSGW_ERR_MISSINGINPUT, NULL, DSGW_ERROPT_EXIT, 0, NULL );
- }
-
- /* Malloc the ldapurl*/
- urllen = LDAP_URL_PREFIX_LEN + argslen + 3;
- p = ldapurl = (char *)dsgw_ch_malloc( urllen );
-
- /*Slap on ldap:// */
- strcpy( p, LDAP_URL_PREFIX );
- p += LDAP_URL_PREFIX_LEN;
-
- /*Slap on host:port if there is one*/
- if ( hostport != NULL ) {
- strcpy( p, hostport );
- }
-
- strcat( ldapurl, "/" );
-
- /*Slap on /dn, if there is a dn */
- if ( dn != NULL ) {
- strcat( ldapurl, dn );
- }
-
- /*Slap on ?ldapquery */
- if ( ldapquery != NULL ) {
- sprintf( ldapurl + strlen( ldapurl ), "?%s", ldapquery );
- }
+ /* richm 20080201
+ * removed the hp argument - we will now just construct the ldap url
+ * based on the dsgw config parameters
+ */
+ ldapurl = PR_smprintf("ldap%s://%s:%d/%s%s%s",
+ (gc->gc_ldapssl ? "s" : ""),
+ gc->gc_ldapserver, gc->gc_ldapport,
+ (dn ? dn : ""),
+ (ldapquery ? "?" : ""),
+ (ldapquery ? ldapquery : ""));
#ifdef DSGW_DEBUG
dsgw_log( "get_request: processing LDAP URL \"%s\"\n", ldapurl );
#endif
dsgw_ldapurl_search( NULL, ldapurl);
+
+ PR_smprintf_free(ldapurl);
}
Index: dsgwutil.c
===================================================================
RCS file: /cvs/dirsec/dsgw/dsgwutil.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dsgwutil.c 30 Jan 2008 02:22:46 -0000 1.7
+++ dsgwutil.c 1 Feb 2008 17:04:22 -0000 1.8
@@ -677,16 +677,9 @@
dsgw_build_urlprefix()
{
char *prefix = dsgw_getvp( DSGW_CGINUM_DOSEARCH );
- char *p, *urlprefix;
+ char *urlprefix;
- p = ( gc->gc_ldapserver == NULL ? "" : gc->gc_ldapserver );
- urlprefix = dsgw_ch_malloc( 16 /* room for "?:port#&dn=" + zero-term. */
- + strlen( prefix ) + strlen( p ) +strlen(context) + 9);
- sprintf( urlprefix, "%s?context=%s&hp=%s", prefix, context, p );
- if ( gc->gc_ldapport != 0 && gc->gc_ldapport != LDAP_PORT ) {
- sprintf( urlprefix + strlen( urlprefix ), ":%d", gc->gc_ldapport );
- }
- strcat( urlprefix,"&dn=" );
+ urlprefix = PR_smprintf("%s?context=%s&dn=", prefix, context);
return( urlprefix );
}
Index: entrydisplay.c
===================================================================
RCS file: /cvs/dirsec/dsgw/entrydisplay.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- entrydisplay.c 30 Jan 2008 17:16:45 -0000 1.4
+++ entrydisplay.c 1 Feb 2008 17:04:22 -0000 1.5
@@ -1023,6 +1023,9 @@
* Now, thanks to me, they look like:
* .../dosearch?context=<blah>&hp=<host>:<port>&dn=<encodeddn>&ldq=<the rest>
* - RJP
+ *
+ * richm 20080201 - removed hp - search will always use the configured LDAP server
+ * instead of passing the host:port to use
*/
char *urlprefix, *escapeddn, *mimetype, *prefix, *suffix;
16 years, 2 months
[Fedora-directory-commits] dsgw Makefile.am, 1.16, 1.17 configure.ac, 1.9, 1.10 setup-ds-dsgw.in, 1.4, 1.5 aclocal.m4, 1.13, 1.14 configure, 1.16, 1.17 missing, 1.12, 1.13 install-sh, 1.12, 1.13 depcomp, 1.12, 1.13 config.sub, 1.12, 1.13 config.guess, 1.12, 1.13 compile, 1.12, 1.13 Makefile.in, 1.17, 1.18
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/dsgw
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30404/dsgw
Modified Files:
Makefile.am configure.ac setup-ds-dsgw.in aclocal.m4 configure
missing install-sh depcomp config.sub config.guess compile
Makefile.in
Log Message:
setup will print messages showing what it is doing - setup will copy in the admin server home page html fragment files to enable using dsgw, phonebook, and orgchart from the admin server home page
Index: Makefile.am
===================================================================
RCS file: /cvs/dirsec/dsgw/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- Makefile.am 1 Feb 2008 00:03:36 -0000 1.16
+++ Makefile.am 1 Feb 2008 16:50:12 -0000 1.17
@@ -26,6 +26,8 @@
htmldir = $(datadir)@htmldir@
pbhtmldir = $(datadir)@pbhtmldir@
orghtmldir = $(datadir)@orghtmldir@
+admservdata = $(datadir)@admservdata@
+admservhtml = $(datadir)@admservhtml@
# config is a bit of a misnomer - these are really configurable templates
configdir = $(datadir)@configdir@
pbconfigdir = $(datadir)@pbconfigdir@
@@ -294,6 +296,8 @@
-e 's,@localstatedir\@,$(localstatedir),g' \
-e 's,@cgibindir\@,$(cgibindir),g' \
-e 's,@cgiuri\@,$(cgiuri),g' \
+ -e 's,@admservdata\@,$(admservdata),g' \
+ -e 's,@admservhtml\@,$(admservhtml),g' \
-e 's,@orguri\@,@orguri@,g' \
-e 's,@dsgwuri\@,@dsgwuri@,g' \
-e 's,@pburi\@,@pburi@,g' \
Index: configure.ac
===================================================================
RCS file: /cvs/dirsec/dsgw/configure.ac,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- configure.ac 31 Jan 2008 03:14:44 -0000 1.9
+++ configure.ac 1 Feb 2008 16:50:12 -0000 1.10
@@ -254,6 +254,8 @@
orghtmldir=/dsgw/orghtml
configdir=/dsgw/config
pbconfigdir=/dsgw/pbconfig
+ admservdata=/data
+ admservhtml=/html
# root directory for all manuals
manualdir=/manual
# the actual manual files are installed here under the lang directory
@@ -270,6 +272,8 @@
orghtmldir=/$PACKAGE_BASE_NAME/dsgw/orghtml
configdir=/$PACKAGE_BASE_NAME/dsgw/config
pbconfigdir=/$PACKAGE_BASE_NAME/dsgw/pbconfig
+ admservdata=/$PACKAGE_BASE_NAME/data
+ admservhtml=/$PACKAGE_BASE_NAME/html
# root directory for all manuals
manualdir=/$PACKAGE_BASE_NAME/manual
# the actual manual files are installed here under the lang directory
@@ -341,6 +345,8 @@
AC_SUBST(perldir)
AC_SUBST(manualdir)
AC_SUBST(manualsubdir)
+AC_SUBST(admservdata)
+AC_SUBST(admservhtml)
# need a check here to see if the ldif functions are exported from libldap
# for now, just assume they are not
Index: setup-ds-dsgw.in
===================================================================
RCS file: /cvs/dirsec/dsgw/setup-ds-dsgw.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- setup-ds-dsgw.in 31 Jan 2008 23:51:47 -0000 1.4
+++ setup-ds-dsgw.in 1 Feb 2008 16:50:12 -0000 1.5
@@ -30,6 +30,12 @@
#
##########################
+echo '######################################################################'
+echo This shell script will configure the Directory Server
+echo Gateway, Phonebook and Org Chart web applications to
+echo work with the Administration Server.
+echo
+
getValFromInf() {
cattr=$1
cfile=$2
@@ -63,6 +69,7 @@
# see if there is a $dsgwconfigdir/../admin-serv
admservdir=$basecfgdir/admin-serv
if [ -f "$admservdir/local.conf" ] ; then
+ echo Reading parameters from Administration Server config . . .
host=`getValFromLdif serverHostName "$admservdir/local.conf"`
port=`getValFromLdif configuration.nsServerPort "$admservdir/local.conf"`
sec=`getValFromLdif configuration.nsServerSecurity "$admservdir/local.conf"`
@@ -78,6 +85,7 @@
httpdconf=$admservdir/httpd.conf
dsgwuser=`ls -l $admservdir/local.conf | awk '{print $3}'`
dsgwgroup=`ls -l $admservdir/local.conf | awk '{print $4}'`
+ echo Using Administration Server URL $httpurl . . .
fi
# see if there are any directory servers here
@@ -86,6 +94,7 @@
*.deleted) continue ;;
esac
if [ -d "$dir" -a -f "$dir/dse.ldif" ] ; then
+ echo Reading parameters from Directory Server $dir . . .
dirmgr=`getValFromLdif nsslapd-rootdn "$dir/dse.ldif"`
host=`getValFromLdif nsslapd-localhost "$dir/dse.ldif"`
sec=`getValFromLdif nsslapd-security "$dir/dse.ldif"`
@@ -115,28 +124,23 @@
fi
done
+if [ -n "$ldapurl" ] ; then
+ echo Using Directory Server URL $ldapurl/$suffix . . .
+fi
+
# get command line arguments
-myargs=
-silent=
inffile=
-tmpinffile=
nextisinffile=
-keepinffile=
+reconfig=
for arg in "$@" ; do
- if [ "$arg" = "-s" ]; then
- silent=1
- elif [ "$arg" = "-k" ]; then
- keepinffile=1
- elif [ "$arg" = "-r" ]; then
+ if [ "$arg" = "-r" ]; then
reconfig=1
elif [ "$arg" = "-f" ]; then
nextisinffile=1
elif [ $nextisinffile ]; then
inffile="$arg"
nextisinffile=
- else
- myargs="$myargs $arg"
fi
done
@@ -162,9 +166,14 @@
if [ -n "$infgroup" ] ; then
dsgwgroup="$infgroup"
fi
+ echo Using parameters from file $inffile . . .
+ echo Using Administration Server URL $httpurl . . .
+ echo Using Directory Server URL $ldapurl/$suffix . . .
fi
if [ -z "$reconfig" -a -f $dsgwconfigdir/dsgw.conf ] ; then
+ echo
+ echo '######################################################################'
echo The Directory Server Gateway has already been configured. The
echo file $dsgwconfigdir/dsgw.conf
echo exists already. If you want to force a reconfiguration, removing
@@ -173,6 +182,7 @@
exit 1
fi
+echo Generating config file $dsgwconfigdir/dsgw.conf . . .
# generate dsgw.conf and pb.conf and default.conf in the $dsgwconfigdir directory
rm -f $dsgwconfigdir/dsgw.conf
sed -e "s#@host@#$hostname#g" \
@@ -188,6 +198,7 @@
chown $dsgwuser:$dsgwgroup $dsgwconfigdir/dsgw.conf
chmod 0400 $dsgwconfigdir/dsgw.conf
+echo Generating config file $dsgwconfigdir/pb.conf . . .
rm -f $dsgwconfigdir/pb.conf
sed -e "s#@host@#$hostname#g" \
-e "s#@port@#$port#g" \
@@ -202,6 +213,7 @@
chown $dsgwuser:$dsgwgroup $dsgwconfigdir/pb.conf
chmod 0400 $dsgwconfigdir/pb.conf
+echo Generating config file $dsgwconfigdir/orgchart.conf . . .
rm -f $dsgwconfigdir/orgchart.conf
sed -e "s#@host@#$hostname#g" \
-e "s#@port@#$port#g" \
@@ -217,23 +229,52 @@
chmod 0400 $dsgwconfigdir/orgchart.conf
# the default.conf is just a copy of dsgw.conf
+echo Generating config file $dsgwconfigdir/default.conf . . .
rm -f $dsgwconfigdir/default.conf
cp $dsgwconfigdir/dsgw.conf $dsgwconfigdir/default.conf
chown $dsgwuser:$dsgwgroup $dsgwconfigdir/default.conf
chmod 0400 $dsgwconfigdir/default.conf
# tell Apache about the dsgw - must restart Apache
+echo Adding configuration to httpd config file $httpdconf . . .
grep dsgw-httpd.conf "$httpdconf" > /dev/null 2>&1 || (echo "" ; echo "# DSGW configuration" ; echo "Include $dsgwconfigdir/dsgw-httpd.conf") >> $httpdconf
-echo "The DSGW has been successfully configured."
-if [ $isAdmServ ] ; then
- echo "Please restart the Admin Server - /path/to/start-admin "
+# copy in the admin server web app fragments
+echo Enabling links to web apps from Administration Server home page . . .
+admservdata="@admservdata@"
+admservhtml="@admservhtml@"
+
+if [ -d "$admservdata" -a -d "$admservhtml" ] ; then
+ if [ ! -f "$admservdata/admserv_dsgw.html" ] ; then
+ echo Error: $admservdata/admserv_dsgw.html not found
+ elif [ ! -f "$admservhtml/admserv_dsgw.html" ] ; then
+ cp -p "$admservdata/admserv_dsgw.html" "$admservhtml"
+ else
+ echo $admservhtml/admserv_dsgw.html already exists - not copying . . .
+ fi
+
+ if [ ! -f "$admservdata/admserv_phonebook.html" ] ; then
+ echo Error: $admservdata/admserv_phonebook.html not found
+ elif [ ! -f "$admservhtml/admserv_phonebook.html" ] ; then
+ cp -p "$admservdata/admserv_phonebook.html" "$admservhtml"
+ else
+ echo $admservhtml/admserv_phonebook.html already exists - not copying . . .
+ fi
+
+ if [ ! -f "$admservdata/admserv_orgchart.html" ] ; then
+ echo Error: $admservdata/admserv_orgchart.html not found
+ elif [ ! -f "$admservhtml/admserv_orgchart.html" ] ; then
+ cp -p "$admservdata/admserv_orgchart.html" "$admservhtml"
+ else
+ echo $admservhtml/admserv_orgchart.html already exists - not copying . . .
+ fi
else
- echo "Please restart Apache e.g."
- echo " service httpd restart"
- echo " OR"
- echo " apachectl restart"
- echo "or however you restart apache on this system."
+ echo Error: Administration server directories "$admservdata" and "$admservhtml" not found
fi
+echo
+echo The Directory Server Gateway web applications have been successfully configured.
+echo You will need to restart your Administration Server.
+echo '######################################################################'
+
exit 0
Index: configure
===================================================================
RCS file: /cvs/dirsec/dsgw/configure,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- configure 1 Feb 2008 00:03:36 -0000 1.16
+++ configure 1 Feb 2008 16:50:12 -0000 1.17
@@ -466,7 +466,7 @@
#endif"
ac_default_prefix=/opt/dirsrv
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE SED EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CP!
P CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS POW_LIB PACKAGE_BASE_NAME instconfigdir BUNDLE_TRUE BUNDLE_FALSE DEBUG_TRUE DEBUG_FALSE LIBSOCKET LIBNSL LIBCSTD LIBCRUN perlexec CXXLINK_REQUIRED_TRUE CXXLINK_REQUIRED_FALSE HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir sasl_inc sasl_lib sasl_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin cgibindir cgiuri dsgwuri orguri pburi propertydir htmldir pbhtmldir orghtmldir configdir pbconfigdir contextdir securitydir cookiedir perldir manualdir manualsubdir NEED_LDIF_TRUE NEED_LDIF_FALSE WINNT_TRUE WINNT_FALSE LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE SED EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CP!
P CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS POW_LIB PACKAGE_BASE_NAME instconfigdir BUNDLE_TRUE BUNDLE_FALSE DEBUG_TRUE DEBUG_FALSE LIBSOCKET LIBNSL LIBCSTD LIBCRUN perlexec CXXLINK_REQUIRED_TRUE CXXLINK_REQUIRED_FALSE HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir sasl_inc sasl_lib sasl_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin cgibindir cgiuri dsgwuri orguri pburi propertydir htmldir pbhtmldir orghtmldir configdir pbconfigdir contextdir securitydir cookiedir perldir manualdir manualsubdir admservdata admservhtml NEED_LDIF_TRUE NEED_LDIF_FALSE WINNT_TRUE WINNT_FALSE LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -21403,6 +21403,8 @@
orghtmldir=/dsgw/orghtml
configdir=/dsgw/config
pbconfigdir=/dsgw/pbconfig
+ admservdata=/data
+ admservhtml=/html
# root directory for all manuals
manualdir=/manual
# the actual manual files are installed here under the lang directory
@@ -21419,6 +21421,8 @@
orghtmldir=/$PACKAGE_BASE_NAME/dsgw/orghtml
configdir=/$PACKAGE_BASE_NAME/dsgw/config
pbconfigdir=/$PACKAGE_BASE_NAME/dsgw/pbconfig
+ admservdata=/$PACKAGE_BASE_NAME/data
+ admservhtml=/$PACKAGE_BASE_NAME/html
# root directory for all manuals
manualdir=/$PACKAGE_BASE_NAME/manual
# the actual manual files are installed here under the lang directory
@@ -22518,6 +22522,8 @@
+
+
# need a check here to see if the ldif functions are exported from libldap
# for now, just assume they are not
@@ -23406,6 +23412,8 @@
s,@perldir@,$perldir,;t t
s,@manualdir@,$manualdir,;t t
s,@manualsubdir@,$manualsubdir,;t t
+s,@admservdata@,$admservdata,;t t
+s,@admservhtml@,$admservhtml,;t t
s,@NEED_LDIF_TRUE@,$NEED_LDIF_TRUE,;t t
s,@NEED_LDIF_FALSE@,$NEED_LDIF_FALSE,;t t
s,@WINNT_TRUE@,$WINNT_TRUE,;t t
Index: Makefile.in
===================================================================
RCS file: /cvs/dirsec/dsgw/Makefile.in,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Makefile.in 1 Feb 2008 00:03:36 -0000 1.17
+++ Makefile.in 1 Feb 2008 16:50:12 -0000 1.18
@@ -312,6 +312,8 @@
adminutil_lib = @adminutil_lib@
adminutil_libdir = @adminutil_libdir@
adminutil_ver = @adminutil_ver@
+admservdata = $(datadir)@admservdata@
+admservhtml = $(datadir)@admservhtml@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
@@ -575,6 +577,8 @@
-e 's,@localstatedir\@,$(localstatedir),g' \
-e 's,@cgibindir\@,$(cgibindir),g' \
-e 's,@cgiuri\@,$(cgiuri),g' \
+ -e 's,@admservdata\@,$(admservdata),g' \
+ -e 's,@admservhtml\@,$(admservhtml),g' \
-e 's,@orguri\@,@orguri@,g' \
-e 's,@dsgwuri\@,@dsgwuri@,g' \
-e 's,@pburi\@,@pburi@,g' \
16 years, 2 months
[Fedora-directory-commits] dsgw Makefile.am, 1.15, 1.16 aclocal.m4, 1.12, 1.13 configure, 1.15, 1.16 missing, 1.11, 1.12 install-sh, 1.11, 1.12 Makefile.in, 1.16, 1.17 depcomp, 1.11, 1.12 config.sub, 1.11, 1.12 config.guess, 1.11, 1.12 compile, 1.11, 1.12
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/dsgw
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27956
Modified Files:
Makefile.am aclocal.m4 configure missing install-sh
Makefile.in depcomp config.sub config.guess compile
Log Message:
actually use perlpath in the generated files
Index: Makefile.am
===================================================================
RCS file: /cvs/dirsec/dsgw/Makefile.am,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Makefile.am 31 Jan 2008 23:53:34 -0000 1.15
+++ Makefile.am 1 Feb 2008 00:03:36 -0000 1.16
@@ -307,7 +307,7 @@
-e 's,@contextdir\@,$(contextdir),g' \
-e 's,@securitydir\@,$(securitydir),g' \
-e 's,@instconfigdir\@,$(instconfigdir),g' \
- -e 's,@perlpath\@,$(perldir),g' \
+ -e 's,@perlpath\@,$(perlpath),g' \
-e 's,@perlexec\@,@perlexec@,g' \
-e 's,@manualdir\@,$(manualdir),g' \
-e 's,@BUILD_NUM\@,$(BUILDNUM),g' \
Index: Makefile.in
===================================================================
RCS file: /cvs/dirsec/dsgw/Makefile.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- Makefile.in 31 Jan 2008 23:53:34 -0000 1.16
+++ Makefile.in 1 Feb 2008 00:03:36 -0000 1.17
@@ -588,7 +588,7 @@
-e 's,@contextdir\@,$(contextdir),g' \
-e 's,@securitydir\@,$(securitydir),g' \
-e 's,@instconfigdir\@,$(instconfigdir),g' \
- -e 's,@perlpath\@,$(perldir),g' \
+ -e 's,@perlpath\@,$(perlpath),g' \
-e 's,@perlexec\@,@perlexec@,g' \
-e 's,@manualdir\@,$(manualdir),g' \
-e 's,@BUILD_NUM\@,$(BUILDNUM),g' \
16 years, 2 months