From fedora-directory-commits at redhat.com Fri Jun 1 13:30:16 2007 From: fedora-directory-commits at redhat.com (Robert Crittenden (rcritten)) Date: Fri, 1 Jun 2007 09:30:16 -0400 Subject: [Fedora-directory-commits] mod_nss ChangeLog,1.1.1.1,1.2 Message-ID: <200706011330.l51DUGpa014081@cvs-int.fedora.redhat.com> Author: rcritten Update of /cvs/dirsec/mod_nss In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13985 Modified Files: ChangeLog Log Message: Populate the changelog. Index: ChangeLog =================================================================== RCS file: /cvs/dirsec/mod_nss/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- ChangeLog 17 May 2005 14:50:10 -0000 1.1.1.1 +++ ChangeLog 1 Jun 2007 13:30:14 -0000 1.2 @@ -0,0 +1,80 @@ +2007-06-01 Rob Crittenden + + * mod_nss 1.0.7 + * Stop processing tokens when a login fails so we can correctly + report the failure. + * Fix an off-by-one error in nss_pcache that prevented 1 character + passwords (not a huge problem but a bug none-the-less). + * Bring in some updates based on diffs from 2.0.59 to 2.2.4 + * Do explicit TRUE/FALSE tests with sc->enabled to see if SSL is + enabled. + * Don't depend on the fact that TRUE == 1 + * Remove some dead code + * Minor update to the buffer code that buffers POST data during a + renegotation + * Optimize setting environment variables by using a switch statement. + * Fix typo in cipher echde_rsa_null (transposed h and d). + * The way I was using to detect the model being used was incorrect. Now + use the # of threads available. Guaranteed to be 0 for prefork and > 0 + for worker (threaded) + +2006-10-27 Rob Crittenden + + * mod_nss 1.0.6 + * If NSSEngine is off then simply don't initialize NSS at all. + * Add support for setting a default OCSP responder. + +2006-10-17 Rob Crittenden + + * mod_nss 1.0.5 + * Fix for a minor problem introduced with 1.0.4. NSS_Shutdown() was being + called during module unload even if SSL wasn't enabled causing an error + to display in the log. + +2006-10-11 Rob Crittenden + + * mod_nss 1.0.4 + * Merged in some changes from mod_ssl: + * new env variables SSL_{SERVER,CLIENT}_V_REMAIN that contains number + of days until certificate expires + * Attempt to buffer POST data in a SSL renegotiation. + * And some changes specific to mod_nss: + * Better way to distinguish Apache 2.0.x versus Apache 2.2.x. The old + way broke when 2.0.56 was introduced. + * Fix crash bug if the stored token password doesn't match the + database password + * Add new NSSPassPhraseDialog method, defer, where only the tokens + that are found in the file pointed to by this directive are + initialized. + * Fix race condition in initializing the NSS session cache that could + cause a core on startup. + * Update nss.conf.in to contain LogLevel and its own log files + * A missing initialization when built with ECC support that could + cause the server to not start + +2006-06-21 Rob Crittenden + + * mod_nss 1.0.3 + * Final ECC support + * Compiles on Solaris with the Forte Workshop compiler (tested with 6.2 + and 11). + * A number of compilation warnings were addressed + * gencert now uses bash instead of ksh + +2006-03-02 Rob Crittenden + + * Experimental Eliptical Curve Cryptopgraphy (ECC) added. Requires a + version of NSS also build with ECC support. Available in the CVS tip. + +2006-01-31 Rob Crittenden + + * mod_nss 1.0.2 + * Add support for Apache 2.2 (contributed by Oden Eriksson) + +2006-09-20 Rob Crittenden + + * mod_nss 1.0.0 + * Support for SSLv2, SSLv3, TLSv1 + * OCSP and CRLs + * Client certificate authentication + * Can run concurrently with mod_ssl From fedora-directory-commits at redhat.com Tue Jun 5 14:39:00 2007 From: fedora-directory-commits at redhat.com (Robert Crittenden (rcritten)) Date: Tue, 5 Jun 2007 10:39:00 -0400 Subject: [Fedora-directory-commits] mod_revocator ChangeLog, 1.1.1.1, 1.2 client.cpp, 1.2, 1.3 client.h, 1.2, 1.3 client_err.h, 1.2, 1.3 crlmanager.cpp, 1.2, 1.3 http-client.cpp, 1.3, 1.4 mod_rev.c, 1.3, 1.4 reverror.h, 1.2, 1.3 Message-ID: <200706051439.l55Ed033029797@cvs-int.fedora.redhat.com> Author: rcritten Update of /cvs/dirsec/mod_revocator In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29488 Modified Files: ChangeLog client.cpp client.h client_err.h crlmanager.cpp http-client.cpp mod_rev.c reverror.h Log Message: Resolves: 235355 Include If-Modified-Since header on HTTP/S requests so we don't try to retrieve and install a CRL that hasn't changed. Index: ChangeLog =================================================================== RCS file: /cvs/dirsec/mod_revocator/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- ChangeLog 3 Aug 2006 19:39:11 -0000 1.1.1.1 +++ ChangeLog 5 Jun 2007 14:38:58 -0000 1.2 @@ -1,3 +1,13 @@ -* Tue Apr 3 2006 Rob Crittenden -- Beta 1 tagged +Tue Jun 6 2007 Rob Crittenden + * Include If-Modified-Since header on HTTP/S requests so we don't try + to retrieve and install a CRL that hasn't changed. +Tue Oct 17 2006 Rob Crittenden + * mod_revocator 1.0.2 is tagged + * Fix a slew of compilation warnings + * Fix Makefile so it can be built in parallel (make -j 3) + * Add support for OpenLDAP as the LDAP library + * Improve the documentation + +Tue Apr 3 2006 Rob Crittenden + * Beta 1 tagged Index: client.cpp =================================================================== RCS file: /cvs/dirsec/mod_revocator/client.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- client.cpp 4 Aug 2006 18:53:09 -0000 1.2 +++ client.cpp 5 Jun 2007 14:38:58 -0000 1.3 @@ -58,7 +58,11 @@ { 20, "Unable to connect to remote host" }, { 21, "Unable to write data to remote server" }, { 22, "Unable to read data from remote server" }, - { 23, "Out of memory while reading data" } + { 23, "Out of memory while reading data" }, + { 24, "Pipe failed" }, + { 25, "Fork failed" }, + { 26, "Exec failed" }, + { 27, "HTTP 304 Not Modified returned. The CRL hasn't changed since the last retrieval." } }; /* Given a URL, determine the type and fetch the appropriate contents and @@ -73,7 +77,7 @@ * * See the ldap-client.cpp and http-client.cpp for specific URL syntax. */ -PR_IMPLEMENT(void *)fetch_url(const char * url, int timeout, int * len, RevStatus& status) +PR_IMPLEMENT(void *)fetch_url(const char * url, int timeout, PRTime lastfetchtime, int * len, RevStatus& status) { int errnum = -1; void * data = NULL; @@ -86,14 +90,16 @@ if (!PL_strncasecmp(url, "ldap", 4)) data = ldap_client(url, timeout, len, &errnum); else if (!PL_strncasecmp(url, "http", 4)) - data = http_client(url, timeout, len, &errnum); + data = http_client(url, timeout, lastfetchtime, len, &errnum); else if (!PL_strncasecmp(url, "exec", 4)) data = exec_client(url, timeout, len, &errnum); else errnum = CL_URL_UNKNOWN; } - if (errnum != -1) { + if (errnum == CL_NOUPDATE_AVAILABLE) { + status.setError(REV_ERROR_NOUPDATE_AVAILABLE, client_errors[errnum].errorString); + } else if (errnum != -1) { status.setError(REV_ERROR_INVALID_URL_TYPE, client_errors[errnum].errorString); } Index: client.h =================================================================== RCS file: /cvs/dirsec/mod_revocator/client.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- client.h 4 Aug 2006 18:53:09 -0000 1.2 +++ client.h 5 Jun 2007 14:38:58 -0000 1.3 @@ -26,11 +26,11 @@ #include #include "revocation.h" -PR_EXTERN(void *)fetch_url(const char * url, int timeout, int * len, RevStatus& status); +PR_EXTERN(void *)fetch_url(const char * url, int timeout, PRTime lastfetchtime, int * len, RevStatus& status); PR_EXTERN(void)free_url(void* urldata); -PR_EXTERN(void *)http_client(const char *url, int timeout, int * len, int * errnum); +PR_EXTERN(void *)http_client(const char *url, int timeout, PRTime lastfetchtime, int * len, int * errnum); int parse_url(const char *url, char **username, char **password, char **protocol , char **host, int *port, char **uri); Index: client_err.h =================================================================== RCS file: /cvs/dirsec/mod_revocator/client_err.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- client_err.h 4 Aug 2006 18:53:09 -0000 1.2 +++ client_err.h 5 Jun 2007 14:38:58 -0000 1.3 @@ -53,6 +53,7 @@ #define CL_HTTP_WRITE_FAILED 21 #define CL_HTTP_READ_FAILED 22 #define CL_OUT_OF_MEMORY 23 +#define CL_NOUPDATE_AVAILABLE 27 /* EXEC client errors */ #define CL_PIPE_FAILED 24 Index: crlmanager.cpp =================================================================== RCS file: /cvs/dirsec/mod_revocator/crlmanager.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- crlmanager.cpp 4 Aug 2006 18:53:09 -0000 1.2 +++ crlmanager.cpp 5 Jun 2007 14:38:58 -0000 1.3 @@ -55,7 +55,22 @@ RevStatus mystatus; PRInt32 len = 0 ; output = NULL; - void* data = fetch_url(inurl, timeout, &len, mystatus); + void* data = fetch_url(inurl, timeout, lastfetchtime, &len, mystatus); + + /* We have a special case. If we have an HTTP request and the server + * response was 304 Not Modified we want to go ahead and continue as + * if the request was successful. A CRL may be very large so this is + * a good thing, we just have to jump through some hoops to achieve + * it. First we log the fact that we tried and got a 304, then reset + * things so in GetCRL() and update() we can detect this case. + */ + if (mystatus.getError() == REV_ERROR_NOUPDATE_AVAILABLE) { + reportError(mystatus); /* Report the error while we have it */ + mystatus.clearError(); + output = SECITEM_AllocItem(NULL, NULL, 1); + output->len = 0; + return mystatus; + } if (!mystatus.hasFailed() && (!data || !len)) { // the download did not fail, but we didn't get any data ... @@ -327,6 +342,10 @@ } PR_ASSERT(derCRL); + if (derCRL->len == 0) { /* no data retuned from server, this is ok */ + return mystatus; + } + // now check the CRL if ((mystatus = ProcessCRL(*derCRL, decodedCRL, now)).hasFailed()) { @@ -408,6 +427,12 @@ { reportError(mystatus); } + if (derCrl->len == 0) { /* This is ok, see DownloadCRL */ + lastfetchtime = now; + SECITEM_FreeItem(derCrl, PR_TRUE); + derCrl = NULL; + return mystatus; + } if (!mystatus.hasFailed()) { Index: http-client.cpp =================================================================== RCS file: /cvs/dirsec/mod_revocator/http-client.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- http-client.cpp 16 Oct 2006 18:16:35 -0000 1.3 +++ http-client.cpp 5 Jun 2007 14:38:58 -0000 1.4 @@ -76,7 +76,8 @@ * * The timeout is in seconds. */ -PR_IMPLEMENT(void *)http_client(const char *url, int timeout, int * len, int * errnum) +PR_IMPLEMENT(void *)http_client(const char *url, int timeout, + PRTime lastfetchtime, int * len, int * errnum) { char * protocol = 0; char * host = 0; @@ -96,7 +97,9 @@ PRInt32 cl = 0; int ssl = 0; unsigned int lenp; - + PRExplodedTime printableTime; + char ifmodified[256]; + uri_unescape_strict((char *)url, 0); // decode the url if (!parse_url(url, &username, &password, &protocol, &host, &port, &uri)) { @@ -140,18 +143,26 @@ strncpy(hostline, host, BIG_LINE); else PR_snprintf(hostline, sizeof(hostline), "%s:%d", host, port); + + memset(ifmodified, 0, 256); + if (lastfetchtime > 0) { + PR_ExplodeTime(lastfetchtime, PR_GMTParameters, &printableTime); + PR_FormatTime(ifmodified, 256, "%a, %d %b %Y %H:%M:%S GMT", &printableTime); + } /* Construct the HTTP request */ PR_snprintf(buffer, sizeof(buffer), - "GET %s HTTP/1.0\r\n" + "GET %s HTTP/1.1\r\n" "%s%s%s" "Host: %s\r\n" "User-Agent: %s/%s\r\n" + "%s%s%s" "Connection: close\r\n\r\n", uri, authdata ? "Authorization: Basic " : "", authdata ? authdata: "", authdata ? "\r\n" : "", hostline, - PRODUCT_BRAND_NAME, PRODUCT_VERSION_ID); + PRODUCT_BRAND_NAME, PRODUCT_VERSION_ID, + ifmodified[0] ? "If-Modified-Since: " : "", ifmodified[0] ? ifmodified : "", ifmodified[0] ? "\r\n" : ""); if (authdata) free(authdata); @@ -165,6 +176,11 @@ /* a content-length of -1 means read until there is no more to read */ cl = get_content_length(sock, timeout); + if (cl == -2) { + cl = 0; /* so we don't end up with a bogus len in done: */ + *errnum = CL_NOUPDATE_AVAILABLE; + goto done; + } if (cl != 0) { totalread = 0; @@ -397,18 +413,18 @@ if ((y == -1) && (nh > 0)) { return 0; /* name without value */ } - if (y == -1) { /* HTTP status message */ - x = 0; - y = -1; - ++nh; - break; - } while (t[y] && isspace(t[y])) ++y; header = strtok(t, ":"); - if (!PL_strcasecmp("content-length", header)) - length = atoi(&t[y]); + if (header) { + char *s = t; + s += 9; /* skip 'http/1.x ' */ + if (s && !PL_strncmp(s, "304", 3)) + length = -2; + else if (!PL_strcasecmp("content-length", header)) + length = atoi(&t[y]); + } x = 0; y = -1; Index: mod_rev.c =================================================================== RCS file: /cvs/dirsec/mod_revocator/mod_rev.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- mod_rev.c 16 Oct 2006 18:16:35 -0000 1.3 +++ mod_rev.c 5 Jun 2007 14:38:58 -0000 1.4 @@ -115,9 +115,10 @@ { const char* errMsg = NULL; char errorbuf[256] = ""; + PRInt32 reverror; if (theerror) { - PRInt32 reverror = RevGetError(theerror); + reverror = RevGetError(theerror); errMsg = RevGetMessage(theerror); if (!errMsg) { @@ -160,9 +161,15 @@ subject = insubject; } /* log error */ - ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, - "Error updating CRL %s %s : %s", - url, subject ? subject : "", errMsg); + if (reverror == REV_ERROR_NOUPDATE_AVAILABLE) { + ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL, + "%s : %s %s", + errMsg, url, subject ? subject : ""); + } else { + ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, + "Error updating CRL %s %s : %s", + url, subject ? subject : "", errMsg); + } /* we have to shut down the server now, * unless we are called during initialization Index: reverror.h =================================================================== RCS file: /cvs/dirsec/mod_revocator/reverror.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- reverror.h 4 Aug 2006 18:53:09 -0000 1.2 +++ reverror.h 5 Jun 2007 14:38:58 -0000 1.3 @@ -53,6 +53,7 @@ const PRInt32 REV_ERROR_BAD_ISSUER_USAGE = 1013; const PRInt32 REV_ERROR_MISSING_CRL_DATA = 1014; const PRInt32 REV_ERROR_BAD_ISSUER_TRUST = 1015; +const PRInt32 REV_ERROR_NOUPDATE_AVAILABLE = 1016; #endif From fedora-directory-commits at redhat.com Thu Jun 7 14:58:11 2007 From: fedora-directory-commits at redhat.com (Robert Crittenden (rcritten)) Date: Thu, 7 Jun 2007 10:58:11 -0400 Subject: [Fedora-directory-commits] mod_nss nss_engine_config.c,1.14,1.15 Message-ID: <200706071458.l57EwBfo027863@cvs-int.fedora.redhat.com> Author: rcritten Update of /cvs/dirsec/mod_nss In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27817 Modified Files: nss_engine_config.c Log Message: The wrong variable was being used to report that NSSPassPhraseHelper wasn't found. Index: nss_engine_config.c =================================================================== RCS file: /cvs/dirsec/mod_nss/nss_engine_config.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- nss_engine_config.c 20 Oct 2006 15:23:39 -0000 1.14 +++ nss_engine_config.c 7 Jun 2007 14:58:09 -0000 1.15 @@ -622,8 +622,8 @@ mc->pphrase_dialog_helper = arg; } else { return apr_pstrcat(cmd->pool, - "NSSPassPhraseHelper: ", mc->pphrase_dialog_path, - "does not exist or is not executable.", NULL); + "NSSPassPhraseHelper: ", arg, + " does not exist or is not executable.", NULL); } return NULL; From fedora-directory-commits at redhat.com Thu Jun 7 14:58:33 2007 From: fedora-directory-commits at redhat.com (Robert Crittenden (rcritten)) Date: Thu, 7 Jun 2007 10:58:33 -0400 Subject: [Fedora-directory-commits] mod_nss nss_engine_init.c,1.29,1.30 Message-ID: <200706071458.l57EwXk0027912@cvs-int.fedora.redhat.com> Author: rcritten Update of /cvs/dirsec/mod_nss In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27874 Modified Files: nss_engine_init.c Log Message: Only NSSPassPhraseHelper needs to be required. Index: nss_engine_init.c =================================================================== RCS file: /cvs/dirsec/mod_nss/nss_engine_init.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- nss_engine_init.c 31 May 2007 21:36:03 -0000 1.29 +++ nss_engine_init.c 7 Jun 2007 14:58:31 -0000 1.30 @@ -155,10 +155,9 @@ const char * child_argv[4]; apr_status_t rv; - if (mc->pphrase_dialog_helper == NULL && - mc->pphrase_dialog_path == NULL) { + if (mc->pphrase_dialog_helper == NULL) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, - "Neither NSSPassPhraseHelper nor NSSPassPhraseDialog is not set. One or the other is required."); + "NSSPassPhraseHelper is not set. It is required."); nss_die(); } From fedora-directory-commits at redhat.com Thu Jun 7 14:59:05 2007 From: fedora-directory-commits at redhat.com (Robert Crittenden (rcritten)) Date: Thu, 7 Jun 2007 10:59:05 -0400 Subject: [Fedora-directory-commits] mod_nss ChangeLog,1.2,1.3 Message-ID: <200706071459.l57Ex59I028017@cvs-int.fedora.redhat.com> Author: rcritten Update of /cvs/dirsec/mod_nss In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27950 Modified Files: ChangeLog Log Message: The error message was wrong if NSSPassPhraseHelper pointed to a non-existant file. Don't require a password file AND NSSPassPhraseHelper. Only the helper is required. Index: ChangeLog =================================================================== RCS file: /cvs/dirsec/mod_nss/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ChangeLog 1 Jun 2007 13:30:14 -0000 1.2 +++ ChangeLog 7 Jun 2007 14:59:02 -0000 1.3 @@ -1,3 +1,10 @@ +2007-06-07 Rob Crittenden + + * The error message was wrong if NSSPassPhraseHelper pointed to a + non-existant file. + * Don't require a password file AND NSSPassPhraseHelper. Only + the helper is required. + 2007-06-01 Rob Crittenden * mod_nss 1.0.7 From fedora-directory-commits at redhat.com Thu Jun 7 21:13:14 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:13:14 -0400 Subject: [Fedora-directory-commits] esc/intl - New directory Message-ID: <200706072113.l57LDEik002128@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/intl In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2108/intl Log Message: Directory /cvs/dirsec/esc/intl added to the repository From fedora-directory-commits at redhat.com Thu Jun 7 21:13:30 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:13:30 -0400 Subject: [Fedora-directory-commits] esc/intl/en-US - New directory Message-ID: <200706072113.l57LDU3p002188@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/intl/en-US In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2165/en-US Log Message: Directory /cvs/dirsec/esc/intl/en-US added to the repository From fedora-directory-commits at redhat.com Thu Jun 7 21:15:29 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:15:29 -0400 Subject: [Fedora-directory-commits] esc/intl/en-US esc.dtd.pot, NONE, 1.1 esc.properties.pot, NONE, 1.1 Message-ID: <200706072115.l57LFTRj002526@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/intl/en-US In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2502 Added Files: esc.dtd.pot esc.properties.pot Log Message: Initial revision. #208749 r. mharmsen. --- NEW FILE esc.dtd.pot --- # extracted from en-US/esc.dtd #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-06-07 10:13-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "X-Generator: Translate Toolkit 1.0\n" "X-Accelerator-Marker: &\n" # ***** BEGIN COPYRIGHT BLOCK ***** # * This Program is free software; you can redistribute it and/or modify it under # * the terms of the GNU General Public License as published by the Free Software # * Foundation; version 2 of the License. # * # * This Program is distributed in the hope that it will be useful, but WITHOUT # * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # * # * You should have received a copy of the GNU General Public License along with # * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # * Place, Suite 330, Boston, MA 02111-1307 USA. # * # * Copyright (C) 2005 Red Hat, Inc. # * All rights reserved. # ***** END COPYRIGHT BLOCK ***** #: escCompany msgid "Red Hat" msgstr "" #: smartCardManager msgid "smart card manager" msgstr "" #: smartCardManagerU #: escTitle msgid "Smart Card Manager" msgstr "" #: smartCard msgid "smart card" msgstr "" #: smartCardU msgid "Smart Card" msgstr "" #: configTitle msgid "Phone Home Configuration Information" msgstr "" #: certInfoTitle msgid "ESC Key Info" msgstr "" #: advancedInfoTitle msgid "Diagnostics Information" msgstr "" #: genericAuthTitle msgid "Authentication" msgstr "" #: progressHeader #: keyProgress msgid "Progress" msgstr "" #: unknownIssuer msgid "Unknown Issuer" msgstr "" #: unknown msgid "Unknown" msgstr "" #: copyToClipboard msgid "Copy To Clipboard" msgstr "" #: cancel #: doCancel #: escCancel msgid "Cancel" msgstr "" #: doEnroll msgid "Enroll" msgstr "" #: doResetPin msgid "Reset Password" msgstr "" #: doFormat msgid "Format" msgstr "" #: keyPassword msgid "Smart Card Password" msgstr "" #: pluggedInCards msgid "Active Smart Cards" msgstr "" #: keyIssuer msgid "Issuer" msgstr "" #: keyIssuedTo msgid "Issued To" msgstr "" #: keyStatus msgid "Status" msgstr "" #: noKeysPresent msgid "No Cards Present" msgstr "" #: enterKeyPin msgid "Enter Key Pin" msgstr "" #: reEnterKeyPin msgid "Re Enter Key Pin" msgstr "" #: editConfigValues msgid "Edit Configuration Values" msgstr "" #: tpsURIHeader msgid "TPS Config URI:" msgstr "" #: escEnrollURIHeader msgid "ESC ENROLL URI:" msgstr "" #: updateValues msgid "Update Values" msgstr "" #: doTest msgid "Test URL" msgstr "" #: pleaseEnroll msgid "Smart Card Enrollment" msgstr "" #: unenrolledDetected msgid "Unenrolled Smart Card Detected" msgstr "" #: noKeyDetected msgid "No Smart Card Detected" msgstr "" #: enrollMessage msgid "To begin the smart card enrollment process, you will need to choose a password to protect the smart card. You will need to enter this password each time you use your new smart card. You will also need to enter the security information below needed by Smart Card Manager to complete your enrollment." msgstr "" #: detectedMessage msgid "Smart Card Manager has detected that you have entered a new and un-enrolled smart card. Before you can use this smart card, you have to enroll it. Enrolling your smart card personalizes it so only you can use it for secure operations." msgstr "" #: readyToProceed msgid "When you are ready to begin the process,click Enroll My Smart Card Now." msgstr "" #: noKey msgid "Unable to detect your smart card." msgstr "" #: insertKey msgid "To enroll your smart card, please insert your security card or USB key now." msgstr "" #: adminNoKeysMessage msgid "In order to administer your security smart cards, you must have one or more cards connected to the computer. Please do so now." msgstr "" #: detectedKeyDetailsHeader msgid "Smart Card Functions" msgstr "" #: keyEnrollmentHeader msgid "Create Password" msgstr "" #: passwordQuality msgid "Password Quality" msgstr "" #: pleaseEnterPassword msgid "Enter new password:" msgstr "" #: pleaseReEnterPassword msgid "Re-enter password:" msgstr "" #: closeEnrollLater msgid "Close, I'll Enroll Later" msgstr "" #: closeAdminLater #: closeNow msgid "Close" msgstr "" #: enrollKeyNow msgid "Enroll My Smart Card Now" msgstr "" #: enrollKey msgid "Enroll Smart Card" msgstr "" #: enrollKeyNowGeneric msgid "Continue" msgstr "" #: administerKeys msgid "Manage Smart Cards" msgstr "" #: administerMessage msgid "This tool helps you manage your smart cards and to examine their contents when you are having problems. To manage your smart cards, you must connect them to the computer." msgstr "" #: blankKeyLabel msgid "Blank Key" msgstr "" #: adminDetailsMessage msgid "This smart card is not personalized." msgstr "" #: advancedInfo msgid "Diagnostics" msgstr "" #: doViewCerts msgid "View Certificates" msgstr "" #: getESCPassword msgid "Password" msgstr "" #: escOK msgid "OK" msgstr "" #: tpsConfigDesc msgid "You have inserted a smart card that the Smart Card Manager recognizes, but needs to be formatted." msgstr "" #: tpsConfigDesc1 msgid "Before you can use this smart card, you need to do two things. First, you need to specify the location (URL) of the smart card server in the text box below. The Smart Card Manager will insert this location onto the smart card." msgstr "" #: tpsConfigDesc2 msgid "Second, you must format it from the main Smart Card Manager window." msgstr "" #: tpsConfigDesc3 msgid "Enter the location of the smart card server (such as https://smartcardserver.example.com:7888)" msgstr "" #: diagnosticsMessage msgid "The information below is diagnostic information that your system generates as you use your smart card. If you are having smart card problems, you may be asked by your support engineer to send this information for analysis." msgstr "" #: dontLaunchBrowser msgid "Don't launch the default browser when enrolled card is inserted." msgstr "" #: Close.accesskey #: Cancel.accesskey msgid "C" msgstr "" #: OK.accesskey msgid "O" msgstr "" #: Format.accesskey msgid "F" msgstr "" #: Enroll.accesskey msgid "E" msgstr "" #: ResetPin.accesskey msgid "R" msgstr "" #: Test.accesskey #: CopyClip.accesskey msgid "T" msgstr "" #: Diagnostics.accesskey msgid "D" msgstr "" #: Submit.accesskey msgid "S" msgstr "" #: ViewCerts.accesskey msgid "V" msgstr "" --- NEW FILE esc.properties.pot --- # ***** BEGIN COPYRIGHT BLOCK ***** # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.# # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # ***** END COPYRIGHT BLOCK # extracted from en-US/esc.properties #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-06-07 10:13-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "X-Generator: Translate Toolkit 1.0\n" "X-Accelerator-Marker: &\n" #ESC strings used in Javascript #Strings for ESC.js #: escTitle msgid "Smart Card Manager" msgstr "" #: smartCard msgid "smart card" msgstr "" #: smartCardU msgid "Smart Card" msgstr "" #: enrolledKey #: statusEnrolled msgid "Enrolled" msgstr "" #: noKeysPresent msgid "No Cards Present" msgstr "" #: blankKey msgid "Blank" msgstr "" #: uninitializedKey msgid "Uninitialized" msgstr "" #: statusUnavailable msgid "Unavailable" msgstr "" #: statusNoApplet msgid "Unformatted" msgstr "" #: statusUninitialized msgid "Formatted" msgstr "" #: statusLoggedIn msgid "Logged In" msgstr "" #: statusUnknown #: unknownIssuer msgid "Unknown" msgstr "" #: statusBusy msgid "Busy" msgstr "" #: redHatUser msgid "User" msgstr "" #: appletVersion msgid "Smart Card Applet Version:" msgstr "" #: operationPINReset msgid "Resetting Key Password.." msgstr "" #: operationEnrollment msgid "Enrolling Key.." msgstr "" #: operationFormat msgid "Formatting Key.." msgstr "" #: tokenInformation msgid "CARD INFORMATION" msgstr "" #: advancedInformation msgid "Diagnostics Information" msgstr "" #: keyID msgid "Key ID:" msgstr "" #: tpsURI msgid "Smart Card Server URL:" msgstr "" #: tpsUI msgid "Enrollment UI URL:" msgstr "" #: tpsPhoneHomeURL msgid "Phone Home URL:" msgstr "" #: status msgid "Status:" msgstr "" #: issuer msgid "Issuer:" msgstr "" #: atr msgid "Atr:" msgstr "" #: escLogEntries msgid "Smart Card Activity" msgstr "" #: noLogFileOrData msgid "No log file or log file has no data." msgstr "" #: dataCopiedToClipboard msgid "Diagnostics information copied to the clipboard." msgstr "" #: diagnosticsReport msgid "SMART CARD DIAGNOSTICS REPORT" msgstr "" #: diagnosticsSystemInfo msgid "Software Version Information" msgstr "" #: diagnosticsSoftVersioInfo msgid "System Versions:" msgstr "" #: diagnosticsDetails msgid "Active Smart Card Details" msgstr "" #: secCard msgid "Card" msgstr "" #: certsOnToken msgid "Certificates on Smart Card" msgstr "" #: certificateNickname msgid "Certificate Nickname:" msgstr "" #: certIssuedTo msgid "Issued to;" msgstr "" #: certIssuedBy msgid "Issued by;" msgstr "" #: certValidityFrom msgid "Validity from:" msgstr "" #: certValidityTo msgid "Validity to:" msgstr "" #: certSerialNumber msgid "Serial number:" msgstr "" #: coolkeyComponentVersion msgid "Smart Card Manager Version:" msgstr "" #: coolkeyDetectedNumberKeys msgid "Number of Smart Cards Detected:" msgstr "" #: enrolledDetected msgid "Enrolled Smart Card Detected" msgstr "" #: enrolledDetectedMessage msgid "" "Smart Card Manager has detected an already enrolled card. If you do not wish " "to re-enroll, press the \"Close\" button." msgstr "" #: enrolledDetectedMessageGeneric msgid "" "Smart Card Manager has detected an already enrolled card. Click Proceed to " "continue." msgstr "" #: unenrolledDetectedMessage msgid "" "Smart Card Manager has detected that you have entered a new and un-enrolled " "smart card. Before you can use this smart card, you have to enroll it. " "Enrolling your smart card personalizes it so only you can use it for secure " "operations." msgstr "" #: enrollAnyway msgid "If you would like to re-enroll anyway, click Enroll My Smart Card Now." msgstr "" #: readyToProceed msgid "" "When you are ready to begin the process,click Enroll My Smart Card Now." msgstr "" #: formatingToken msgid "Formatting..." msgstr "" #: enrollingToken msgid "Enrolling..." msgstr "" #: resettingTokenPIN msgid "Password Reset.." msgstr "" #: cancellingOperation msgid "Cancelling.." msgstr "" #: blinkingToken msgid "Blinking.." msgstr "" #: keyInserted msgid "Smart Card Inserted!" msgstr "" #: keyRemoved msgid "Smart Card Removed!" msgstr "" #: keyInsertedComputer msgid "smart card inserted." msgstr "" #: keyRemovedComputer msgid "smart card removed." msgstr "" #: diagnosticsMessage msgid "" "The information below is diagnostic information that your system generates " "as you use your smart card. If you are having smart card problems, you may " "be asked by your support engineer to send this information for analysis." msgstr "" #: menuManageKeys msgid "Manage Smart Cards..." msgstr "" #: menuExit msgid "Quit" msgstr "" #ESC Error Messages from TPS #: errorNone msgid "Operation Completed Successfully." msgstr "" #: serverError msgid "Smart Card Server error." msgstr "" #: errorProblemResetTokenPin msgid "The Smart Card Server cannot reset your smart card's password." msgstr "" #: errorTokenEnrollment msgid "" "The Smart Card Server cannot import the required certificates into your " "smart card." msgstr "" #: errorLifeCyclePDU msgid "" "The Smart Card Server cannot finalize the enrollment of your smart card." msgstr "" #: errorCommCA msgid "Error communicating with the Certification Authority." msgstr "" #: errorInternalServer msgid "Internal Smart Card Server error." msgstr "" #: errorResetPin msgid "Error resetting the smart card's password." msgstr "" #: errorAuthFailure msgid "" "The Smart Card Server cannot validate your credentials. Please try again " "with the correct credentials." msgstr "" #: errorTokenDisabled msgid "The Smart Card Server does not know about your smart card." msgstr "" #: errorSecureChannel msgid "" "The Smart Card Server cannot establish a secure channel with the smart card." msgstr "" #: errorServerMisconfig msgid "The Smart Card Server has not been configured correctly." msgstr "" #: errorProblemCommToken msgid "" "Your smart card can not perform the operation requested by the Smart Card " "Server." msgstr "" #: errorExternalAuth msgid "Your smart card cannot correctly identify the Smart Card Server." msgstr "" #: errorTokenUpgrade msgid "The Smart Card Server cannot upgrade the software on your smart card." msgstr "" #: errorTermSecureConn msgid "" "The Smart Card Server can not terminate the secure cummunications channel " "with the smart card." msgstr "" #: errorInvalidTokenType msgid "" "The Smart Card Server does not recognize the requested type of card " "enrollment." msgstr "" #: errorInvalidTokenTypeParams msgid "" "The Smart Card Server cannot process the requested type of enrollment due to " "a misconfiguration." msgstr "" #: errorCannotPublish msgid "" "The Smart Card Server cannot publish your card's certificates to the " "certificate directory." msgstr "" #: errorCommTokenDB msgid "The Smart Card Server cannot connect to its internal database." msgstr "" #: errorTokenSuspended msgid "Your smart card has been suspended." msgstr "" #: errorPinResetable msgid "You are not allowed to reset the password of this smart card." msgstr "" #: errorConnLost msgid "" "The Smart Card Manager has lost the connection to the Smart Card Server." msgstr "" #: errorEntryTokenDB msgid "" "The Smart Card Server cannot add your smart card to its internal database." msgstr "" #: errorNoTokenState msgid "" "The Smart Card server does not recognize your smart card's current status." msgstr "" #: errorInvalidLostTokenReason msgid "" "The Smart Card server cannot process your smart card which has been reported " "lost." msgstr "" #: errorTokenUnusable msgid "" "The Smart Card Server cannot process your smart card which has been reported " "stolen." msgstr "" #: errorNoInactiveToken msgid "The Smart Card Server cannot restore your smart card's security keys." msgstr "" #: errorProcessMultiTokens msgid "" "The Smart Card Server has detected that you already have one enrolled smart " "card. The server only allows one enrolled card per user." msgstr "" #: errorTokenTerminated msgid "" "The Smart Card Server can not process your smart card which is marked as " "terminated." msgstr "" #: errorKeyRecoveryProcessed msgid "Smart card key recovery has been processed." msgstr "" #: errorKeyRecoveryFailed msgid "" "The Smart Card Server can not restore the security keys onto your smart " "card." msgstr "" #: errorNoOperateLostToken msgid "Cannot process this smart card, which has been reported lost." msgstr "" #: errorKeyArchival msgid "" "The Smart Card Server can not restore the security keys onto your smart card " "due to a server misconfiguration." msgstr "" #: errorConnTKS msgid "" "The Smart Card server cannot contact its security key server,which is " "required for processing." msgstr "" #: errorFailUpdateTokenDB msgid "The Smart Card Server cannot reset the status of your smart card." msgstr "" #: errorCertRevocation msgid "" "The Smart Card Server cannot mark the security keys on your smart card as " "revoked." msgstr "" #: errorNotOwnToken msgid "The Smart Card Server cannot process a smart card which you do not own." msgstr "" #: errorESCMisconfigured msgid "The Smart Card Manager has been misconfigured." msgstr "" #: errorESCNoCommCardReader msgid "" "The Smart Card Manager cannot initiate communications with the smart card." msgstr "" #: errorESCNoTokenSession msgid "" "The Smart Card Manager cannot establish a communications session with the " "smart card." msgstr "" #: errorESCNoTalkTPS msgid "" "The Smart Card Manager cannot initiate communications with the Smart Card " "Server." msgstr "" #: errorESCNoTalkTokenReader msgid "" "The Smart Card Manager cannot finalize communications with the smart card." msgstr "" #ESC text in general Alert messages #: errorCoolKeyIsAuth msgid "coolkey.GetCoolKeyIsAuthenticated() failed!" msgstr "" #: errorAuthCoolKey msgid "coolkey.AuthenticateCoolKey failed!" msgstr "" #: errorJsNotifyInterface msgid "Can't find jsNotify interface." msgstr "" #: errorUniversalXPConnect msgid "Can't get UniversalXPConnect." msgstr "" #: errorConfigValue msgid "Error obtaining issuer info for key." msgstr "" #: errorConfigValue msgid "Error Getting Config Value:" msgstr "" #: errorSetConfigValue msgid "Error SettingConfig Value:" msgstr "" #: errorBlankTPSURI msgid "Blank Tps Uri submitted." msgstr "" #: noTpsConfigUrl msgid "You must provide a Url to test!" msgstr "" #: aboutToTestTPSURI msgid "About to test Smart Card Server URI:" msgstr "" #: errorSelectKey msgid "Please select a Smart card." msgstr "" #: tpsURLContacted msgid "Smart Card Server URL has been successfully contacted." msgstr "" #: errorContactTPSURL msgid "Error contacting Smart Card Server URL, reconfigure and try again." msgstr "" #: errorBlankEnrollURI msgid "Blank Enroll Uri submitted." msgstr "" #: aboutToTestEnrollURI msgid "About to test Enroll URI:" msgstr "" #: enrollURLContacted msgid "x Enrollment URL has been successfully contacted." msgstr "" #: errorContactEnrollURL msgid "Error contacting Enroll URL, reconfigure and try again." msgstr "" #: tpsConfigSuccess msgid "Smart Card Server config information successfully obtained!" msgstr "" #: tpsConfigError msgid "Error obtaining Smart Card Server config information!" msgstr "" #: tpsConfigTest msgid "About to test the Smart Card Server Phone Home Url :" msgstr "" #: tpsNoConfigUrl msgid "Provide a valid Smart Card Server config URL!" msgstr "" #: tpsURIMustHaveValue msgid "Smart Card Server URL item must have a value!" msgstr "" #: errorSetConfigValue msgid "Error setting config value!:" msgstr "" #: configChangesSubmitted msgid "Configuration changes submitted." msgstr "" #: errorSetDataValue msgid "Error Setting data values:" msgstr "" #: errorCoolKeyGetStatus msgid "coolkey.GetCoolKeyStatus() failed!" msgstr "" #: errorCoolKeyGetPolicy msgid "coolkey.GetCoolKeyPolicy() failed!" msgstr "" #: errorCoolKeyRequiresAuth msgid "coolkey.GetCoolKeyRequiresAuthentication() failed!" msgstr "" #: errorCoolKeyCertNicknames msgid "coolkey.GetCoolKeyCertNicknames() failed!" msgstr "" #: errorCoolKeyCertInfo msgid "coolkey.GetCoolKeyCertInfo() failed!" msgstr "" #: errorGetAvailCoolKeys msgid "coolkey.GetAvailableCoolKeys() failed!" msgstr "" #: errorEnollCoolKey msgid "coolkey.EnrollCoolKey() failed!" msgstr "" #: errorCoolKeyIsEnrolled msgid "coolkey.GetCoolKeyIsEnrolled failed!" msgstr "" #: errorResetCoolKeyPIN msgid "" "coolkey.ResestCoolKeyPASSWORD() failed! Make sure smart card is enrolled." msgstr "" #: errorFormatCoolKey msgid "coolkey.FormatCoolKey() failed!" msgstr "" #: errorCancelCoolKey msgid "coolkeyCancelCoolKeyOperation() failed!" msgstr "" #: errorBlinkCoolKey msgid "coolkey.BlinkCoolKey() failes!" msgstr "" #: noCurrentlySelectedToken msgid "No currently selected smart card!" msgstr "" #: errorProvideScreenName msgid "You must provide a valid screen name!" msgstr "" #: errorProvideTokenPIN msgid "You must provide a valid card password!" msgstr "" #: errorMatchPinValues msgid "The Password values you entered don't match!" msgstr "" #: errorValidUserPassword msgid "You must provide a valid user password!" msgstr "" #: errorSelectKey msgid "Please select a smart card." msgstr "" #: errorEnrolledFirst msgid "Smart card must be enrolled first! Enroll card and try again." msgstr "" #: enrollmentFor msgid "Enrollment of your" msgstr "" #: errorNeedKeyForSecMode msgid "Please insert enrolled smart card before attempting secure mode." msgstr "" #: wasSuccessful msgid "was successful." msgstr "" #: pinResetSuccessful msgid "Password Reset was successfull!" msgstr "" #: formatOf msgid "Format of" msgstr "" #: error msgid "Error" msgstr "" #: serverResponse msgid "Server Response:" msgstr "" #: enrollmentOfKey msgid "Enrollment of smart card" msgstr "" #: formatingOfKey msgid "Formatting of smart card" msgstr "" #: pinResetOfKey msgid "Password Reset for smart card" msgstr "" #: operationForKey msgid "Operation for smart card" msgstr "" #: failed msgid "failed." msgstr "" #: cancelled msgid "cancelled." msgstr "" #: errorFindESCPlatform msgid "Unable to determine Smart Card Manager platform." msgstr "" #: errorIssuerInfo msgid "Error obtaining Issuer Info for key." msgstr "" #: escUsage1 msgid "Usage:" msgstr "" #: escUsage2 msgid "esc" msgstr "" #: escUsage3 msgid "esc -secmode SECURITY_URL" msgstr "" #: escUsage4 msgid "Ex: esc -secmode http://test.host.com" msgstr "" #: escUsage5 msgid "esc -usage" msgstr "" #Strings for TRAY.j #: errorTrayIsInitialized msgid "Can't determine if Icon component is already intialized!" msgstr "" #: errorShowAllWindows msgid "Error Showing All Windows:" msgstr "" #: errorHideAllWindows msgid "Error Hiding all Windows:" msgstr "" #: errorShowWindow msgid "Error Showing Window:" msgstr "" #: errorHideWindow msgid "Error Hiding Window:" msgstr "" #: errorRemoveWindow msgid "Error Removing Window:" msgstr "" #: errorTrayNotification msgid "Error Sending Tray notification:" msgstr "" #Strings for GenericAuth.js #: value msgid "Value" msgstr "" #: mustMatch msgid "must match" msgstr "" #: mustHaveValue msgid "Must have value set for field:" msgstr "" #: noParentWindow msgid "No parent window." msgstr "" #: authDialogNoParent msgid "Auth dialog has no parent!" msgstr "" #: authSubmit msgid "Submit" msgstr "" #: authSubmitAccessKey msgid "S" msgstr "" From fedora-directory-commits at redhat.com Thu Jun 7 21:16:30 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:16:30 -0400 Subject: [Fedora-directory-commits] esc/src/app/xpcom rhCoolKey.cpp, 1.7, 1.8 rhICoolKey.idl, 1.6, 1.7 Message-ID: <200706072116.l57LGUZj002667@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/src/app/xpcom In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2642 Modified Files: rhCoolKey.cpp rhICoolKey.idl Log Message: New log file support #206783, r. mharmsen. Index: rhCoolKey.cpp =================================================================== RCS file: /cvs/dirsec/esc/src/app/xpcom/rhCoolKey.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- rhCoolKey.cpp 7 May 2007 23:45:43 -0000 1.7 +++ rhCoolKey.cpp 7 Jun 2007 21:16:28 -0000 1.8 @@ -726,6 +726,14 @@ } +/* void CoolKeyInitializeLog (in string aPathName, in unsigned long aMaxLines); */ +NS_IMETHODIMP rhCoolKey::CoolKeyInitializeLog(const char *aPathName, PRUint32 aMaxLines) +{ + ::CoolKeyInitializeLog((char *)aPathName, aMaxLines); + + return NS_OK; +} + /* void CoolKeyLogMsg (in unsigned long aLogLevel, in string aMessage); */ NS_IMETHODIMP rhCoolKey::CoolKeyLogMsg(PRUint32 aLogLevel, const char *aMessage) { @@ -733,7 +741,8 @@ if(aMessage && ((PRLogModuleLevel) aLogLevel >= PR_LOG_NONE && aLogLevel <= PR_LOG_MAX)) { - PR_LOG( coolKeyLog, (PRLogModuleLevel) aLogLevel, ("%s %s",GetTStamp(tBuff,56),aMessage)); + ::CoolKeyLogMsg((PRLogModuleLevel) aLogLevel, "%s %s \n",GetTStamp(tBuff,56),aMessage); + PR_LOG( coolKeyLog, (PRLogModuleLevel) aLogLevel, ("%s %s",GetTStamp(tBuff,56),aMessage)); } return NS_OK; @@ -776,7 +785,7 @@ { char tBuff[56]; - PR_LOG( coolKeyLog, PR_LOG_ALWAYS, ("%s Attempting to Enroll Key ,ID: %s \n",GetTStamp(tBuff,56),aKeyID)); + ::CoolKeyLogMsg( PR_LOG_ALWAYS, "%s Attempting to Enroll Key ,ID: %s \n",GetTStamp(tBuff,56),aKeyID); CoolKeyNode *node = GetCoolKeyInfo(aKeyType, aKeyID); @@ -808,7 +817,7 @@ NS_IMETHODIMP rhCoolKey::ResetCoolKeyPIN(PRUint32 aKeyType, const char *aKeyID, const char *aScreenName, const char *aPIN, const char *aScreenNamePwd) { char tBuff[56]; - PR_LOG( coolKeyLog, PR_LOG_ALWAYS, ("%s Attempting to Reset Key PIN, ID: %s \n",GetTStamp(tBuff,56),aKeyID)); + ::CoolKeyLogMsg( PR_LOG_ALWAYS, "%s Attempting to Reset Key PIN, ID: %s \n",GetTStamp(tBuff,56),aKeyID); CoolKeyNode *node = GetCoolKeyInfo(aKeyType, aKeyID); if (!node) @@ -859,7 +868,7 @@ NS_IMETHODIMP rhCoolKey::FormatCoolKey(PRUint32 aKeyType, const char *aKeyID, const char *aEnrollmentType, const char *aScreenName, const char *aPIN, const char *aScreenNamePWord, const char *aTokenCode) { char tBuff[56]; - PR_LOG( coolKeyLog, PR_LOG_ALWAYS, ("%s Attempting to Format Key, ID: %s. ",GetTStamp(tBuff,56),aKeyID)); + ::CoolKeyLogMsg( PR_LOG_ALWAYS, "%s Attempting to Format Key, ID: %s. ",GetTStamp(tBuff,56),aKeyID); CoolKeyNode *node = GetCoolKeyInfo(aKeyType, aKeyID); if (!node) @@ -1203,7 +1212,7 @@ HRESULT res = CoolKeyGetIssuerInfo(&key, (char *)&issuerInfo,256); - PR_LOG( coolKeyLog, PR_LOG_ALWAYS, ("%s Attempting to get the key's Issuer: Key: %s, Issuer %s. \n",GetTStamp(tBuff,56),aKeyID, (char *) issuerInfo)); + ::CoolKeyLogMsg( PR_LOG_ALWAYS, "%s Attempting to get the key's Issuer: Key: %s, Issuer %s. \n",GetTStamp(tBuff,56),aKeyID, (char *) issuerInfo); if(res == S_OK) { Index: rhICoolKey.idl =================================================================== RCS file: /cvs/dirsec/esc/src/app/xpcom/rhICoolKey.idl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- rhICoolKey.idl 7 May 2007 23:45:43 -0000 1.6 +++ rhICoolKey.idl 7 Jun 2007 21:16:28 -0000 1.7 @@ -32,6 +32,7 @@ void rhCoolKeyUnSetNotifyCallback(in rhIKeyNotify jsNotify); + void CoolKeyInitializeLog(in string aPathName, in unsigned long aMaxLines); void CoolKeyLogMsg(in unsigned long aLogLevel, in string aMessage); void BlinkCoolKey(in unsigned long aKeyType, in string aKeyID,in unsigned long aRate,in unsigned long aDuration); From fedora-directory-commits at redhat.com Thu Jun 7 21:18:00 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:18:00 -0400 Subject: [Fedora-directory-commits] esc/src/app/xul/esc/chrome/content/esc ESC.js, 1.14, 1.15 Message-ID: <200706072118.l57LI0sI002885@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2854 Modified Files: ESC.js Log Message: New log file support and new error msgs. #206783, #203466 r. mharmsen. Index: ESC.js =================================================================== RCS file: /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc/ESC.js,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ESC.js 7 May 2007 23:49:23 -0000 1.14 +++ ESC.js 7 Jun 2007 21:17:58 -0000 1.15 @@ -131,6 +131,9 @@ netkey = netkey.QueryInterface(Components.interfaces.rhICoolKey); gNotify = new jsNotify; netkey.rhCoolKeySetNotifyCallback(gNotify); + + var logFileName = GetESCLogPathName("esc.log"); + netkey.CoolKeyInitializeLog(logFileName, 1000); } catch(e) { MyAlert(getBundleString("errorUniversalXPConnect") + e); } @@ -167,33 +170,33 @@ var Status_Messages = new Array( getBundleString("errorNone"), - getBundleString("serverError"), - getBundleString("errorProblemCommToken"), + getBundleString("errorInternalServer"), + getBundleString("errorInternalServer"), getBundleString("errorProblemCommToken"), getBundleString("errorProblemResetTokenPin"), getBundleString("errorInternalServer"), - getBundleString("errorInternalServer"), + getBundleString("errorLifeCyclePDU"), getBundleString("errorTokenEnrollment"), getBundleString("errorProblemCommToken"), getBundleString("errorInternalServer"), - getBundleString("errorCommCA"), getBundleString("errorInternalServer"), - getBundleString("errorResetPin"), getBundleString("errorInternalServer"), + getBundleString("errorInternalServer"), + getBundleString("errorTermSecureConn"), getBundleString("errorAuthFailure"), getBundleString("errorInternalServer"), getBundleString("errorTokenDisabled"), - getBundleString("errorProblemCommToken"), - getBundleString("errorInternalServer"), + getBundleString("errorSecureChannel"), + getBundleString("errorServerMisconfig"), getBundleString("errorTokenUpgrade"), getBundleString("errorInternalServer"), - getBundleString("errorProblemCommToken"), - getBundleString("errorInvalidTokenType"), + getBundleString("errorExternalAuth"), getBundleString("errorInvalidTokenType"), + getBundleString("errorInvalidTokenTypeParams"), getBundleString("errorCannotPublish"), getBundleString("errorCommTokenDB"), - getBundleString("errorTokenDisabled"), - getBundleString("errorPinReset"), + getBundleString("errorTokenSuspended"), + getBundleString("errorPinResetable"), getBundleString("errorConnLost"), getBundleString("errorEntryTokenDB"), getBundleString("errorNoTokenState"), @@ -201,10 +204,10 @@ getBundleString("errorTokenUnusable"), getBundleString("errorNoInactiveToken"), getBundleString("errorProcessMultiTokens"), + getBundleString("errorTokenTerminated"), getBundleString("errorInternalServer"), - getBundleString("errorKeyRecoveryProcessed"), getBundleString("errorKeyRecoveryFailed"), - getBundleString("errorNoOperateLostToken"), + getBundleString("errorInternalServer"), getBundleString("errorKeyArchival"), getBundleString("errorConnTKS"), getBundleString("errorFailUpdateTokenDB"), @@ -559,9 +562,9 @@ function TestStatusMessages() { - for(i = 0 ; i < 48; i++) + for(i = 0 ; i < 49; i++) { - MyAlert(Status_Messages[i]); + MyAlert( i + " " + Status_Messages[i]); } } @@ -4263,9 +4266,9 @@ var value = line.value; - var colonIndex = value.indexOf(":"); + //var colonIndex = value.indexOf(":"); - value = value.substring(colonIndex + 1); + //value = value.substring(colonIndex + 1); lines.push(value); } while(hasmore); @@ -4484,3 +4487,29 @@ adminList.focus(); } } + +function GetESCLogPathName(aName) +{ + + if(!aName) + return null; + + const logFileName = aName; + + // Get executable directory + + var file = Components.classes["@mozilla.org/file/directory_service;1"] + .getService(Components.interfaces.nsIProperties) + .get("ProfD", Components.interfaces.nsIFile); + + file = file.parent; + file.append(logFileName); + + + //alert("LogPathName " + file.path); + + + return file.path; + + +} From fedora-directory-commits at redhat.com Thu Jun 7 21:18:47 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:18:47 -0400 Subject: [Fedora-directory-commits] esc/src/app/xul/esc/chrome/content/esc settings.xul, 1.6, 1.7 Message-ID: <200706072118.l57LIlVJ003030@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3005 Modified Files: settings.xul Log Message: Cosmetic window size change #208479, r. mharmsen. Index: settings.xul =================================================================== RCS file: /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc/settings.xul,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- settings.xul 7 May 2007 23:49:23 -0000 1.6 +++ settings.xul 7 Jun 2007 21:18:45 -0000 1.7 @@ -25,8 +25,8 @@ title="&escTitle;" onload="InitializeAdminBindingList()" onunload="cleanup()" - width ="730" - height= "460" + width ="720" + height= "415" name="admin" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> From fedora-directory-commits at redhat.com Thu Jun 7 21:19:53 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:19:53 -0400 Subject: [Fedora-directory-commits] esc/src/app/xul/esc/chrome/locale/en-US esc.properties, 1.6, 1.7 Message-ID: <200706072119.l57LJrVY003198@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/src/app/xul/esc/chrome/locale/en-US In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3177 Modified Files: esc.properties Log Message: New erorr messages #203466, r. mharmsen. Index: esc.properties =================================================================== RCS file: /cvs/dirsec/esc/src/app/xul/esc/chrome/locale/en-US/esc.properties,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- esc.properties 7 May 2007 23:50:39 -0000 1.6 +++ esc.properties 7 Jun 2007 21:19:51 -0000 1.7 @@ -85,40 +85,48 @@ #ESC Error Messages from TPS errorNone=Operation Completed Successfully. serverError=Smart Card Server error. -errorProblemResetTokenPin=Internal Smart Card Server error. -errorTokenEnrollment=Smart card enrollment error. +errorProblemResetTokenPin=The Smart Card Server cannot reset your smart card's password. +errorTokenEnrollment=The Smart Card Server cannot import the required certificates into your smart card. +errorLifeCyclePDU=The Smart Card Server cannot finalize the enrollment of your smart card. errorCommCA=Error communicating with the Certification Authority. errorInternalServer=Internal Smart Card Server error. errorResetPin=Error resetting the smart card's password. errorInternalServer=Internal Smart Card Server error. -errorAuthFailure=Smart Card Server authentication failure. -errorTokenDisabled=Your smart card is listed as disabled. -errorProblemCommToken=Problem communicating with the smart card. -errorTokenUpgrade=Cannot upgrade smart card software. -errorInvalidTokenType=Invalid smart card type. -errorCannotPublish=Cannot publish smart card information. -errorCommTokenDB=Cannot communicate with smart card database. -errorPinReset=Cannot reset the password value for the smart card. -errorConnLost=Connection to Smart Card Server. -errorEntryTokenDB=Can not create entry for the smart card in the smart card database. -errorNoTokenState=Smart card found to be in an inconsistent state. -errorInvalidLostTokenReason=Invalid reason for lost smart card submitted. -errorTokenUnusable=Smart card found to be unusable due to compromise. -errorNoInactiveToken=No such inactive smart card found. -errorProcessMultiTokens=Can not process more than one active smart card. +errorAuthFailure=The Smart Card Server cannot validate your credentials. Please try again with the correct credentials. +errorTokenDisabled=The Smart Card Server does not know about your smart card. +errorSecureChannel=The Smart Card Server cannot establish a secure channel with the smart card. +errorServerMisconfig=The Smart Card Server has not been configured correctly. +errorProblemCommToken=Your smart card can not perform the operation requested by the Smart Card Server. +errorExternalAuth=Your smart card cannot correctly identify the Smart Card Server. +errorTokenUpgrade=The Smart Card Server cannot upgrade the software on your smart card. +errorTermSecureConn=The Smart Card Server can not terminate the secure cummunications channel with the smart card. +errorInvalidTokenType=The Smart Card Server does not recognize the requested type of card enrollment. +errorInvalidTokenTypeParams=The Smart Card Server cannot process the requested type of enrollment due to a misconfiguration. +errorCannotPublish=The Smart Card Server cannot publish your card's certificates to the certificate directory. +errorCommTokenDB=The Smart Card Server cannot connect to its internal database. +errorTokenSuspended=Your smart card has been suspended. +errorPinResetable=You are not allowed to reset the password of this smart card. +errorConnLost=The Smart Card Manager has lost the connection to the Smart Card Server. +errorEntryTokenDB=The Smart Card Server cannot add your smart card to its internal database. +errorNoTokenState=The Smart Card server does not recognize your smart card's current status. +errorInvalidLostTokenReason=The Smart Card server cannot process your smart card which has been reported lost. +errorTokenUnusable=The Smart Card Server cannot process your smart card which has been reported stolen. +errorNoInactiveToken=The Smart Card Server cannot restore your smart card's security keys. +errorProcessMultiTokens=The Smart Card Server has detected that you already have one enrolled smart card. The server only allows one enrolled card per user. +errorTokenTerminated=The Smart Card Server can not process your smart card which is marked as terminated. errorKeyRecoveryProcessed=Smart card key recovery has been processed. -errorKeyRecoveryFailed=Smart card key recovery failed. +errorKeyRecoveryFailed=The Smart Card Server can not restore the security keys onto your smart card. errorNoOperateLostToken=Cannot process this smart card, which has been reported lost. -errorKeyArchival=Smart card key archival error. -errorConnTKS=Problem connecting to the Smart Card TKS Server. -errorFailUpdateTokenDB=Failed to update smart card database. -errorCertRevocation=Internal certificate revocation error discovered. -errorNotOwnToken=User does not own this smart card. -errorESCMisconfigured=Smart Card Manager has been misconfigured. -errorESCNoCommCardReader=Smart Card Manager can't communicate with card reader. -errorESCNoTokenSession=Smart Card Manager can't initiate session with smart card. -errorESCNoTalkTPS=Smart Card Manager can't talk to Smart Card Server. -errorESCNoTalkTokenReader=Smart Card Manager can't talk to smart card reader. +errorKeyArchival=The Smart Card Server can not restore the security keys onto your smart card due to a server misconfiguration. +errorConnTKS=The Smart Card server cannot contact its security key server,which is required for processing. +errorFailUpdateTokenDB=The Smart Card Server cannot reset the status of your smart card. +errorCertRevocation=The Smart Card Server cannot mark the security keys on your smart card as revoked. +errorNotOwnToken=The Smart Card Server cannot process a smart card which you do not own. +errorESCMisconfigured=The Smart Card Manager has been misconfigured. +errorESCNoCommCardReader=The Smart Card Manager cannot initiate communications with the smart card. +errorESCNoTokenSession=The Smart Card Manager cannot establish a communications session with the smart card. +errorESCNoTalkTPS=The Smart Card Manager cannot initiate communications with the Smart Card Server. +errorESCNoTalkTokenReader=The Smart Card Manager cannot finalize communications with the smart card. #ESC text in general Alert messages errorCoolKeyIsAuth=coolkey.GetCoolKeyIsAuthenticated() failed! errorAuthCoolKey=coolkey.AuthenticateCoolKey failed! From fedora-directory-commits at redhat.com Thu Jun 7 21:21:19 2007 From: fedora-directory-commits at redhat.com (Jack Magne (jmagne)) Date: Thu, 7 Jun 2007 17:21:19 -0400 Subject: [Fedora-directory-commits] esc/src/lib/coolkey CoolKey.cpp, 1.6, 1.7 CoolKey.h, 1.5, 1.6 CoolKeyHandler.cpp, 1.3, 1.4 Message-ID: <200706072121.l57LLJDi003398@cvs-int.fedora.redhat.com> Author: jmagne Update of /cvs/dirsec/esc/src/lib/coolkey In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3367 Modified Files: CoolKey.cpp CoolKey.h CoolKeyHandler.cpp Log Message: New log file support #206783, r. mharmsen. Index: CoolKey.cpp =================================================================== RCS file: /cvs/dirsec/esc/src/lib/coolkey/CoolKey.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- CoolKey.cpp 7 May 2007 23:51:46 -0000 1.6 +++ CoolKey.cpp 7 Jun 2007 21:21:17 -0000 1.7 @@ -16,6 +16,7 @@ * END COPYRIGHT BLOCK **/ #define FORCE_PR_LOG 1 +#define LINE_BUF_SIZE 512 #include "SlotUtils.h" @@ -46,6 +47,161 @@ HRESULT ClearActiveKeyList(void); ActiveKeyNode *GetNodeInActiveKeyList(const CoolKey *aKey); +class CoolKeyLogger { +public: + + CoolKeyLogger(char *logFileName, int maxNumLines); + ~CoolKeyLogger(); + + void LogMsg(int logLevel, const char *fmt, ...); + void LogMsg(int logLevel,const char *msg, va_list argp); + + void init(); + + int IsInitialized() { return initialized; } + +private: + + void LockLog(); + void UnlockLog(); + + PRLock *logLock; + + int maxLines; + + char *pathName; + PRFileDesc *fd; + + int initialized; + +}; + +CoolKeyLogger::CoolKeyLogger(char *logFileName, int maxNumLines) +{ + fd = NULL; + logLock = NULL; + + maxLines = maxNumLines; + if(logFileName) + pathName = strdup(logFileName); + initialized = 0; +} + +CoolKeyLogger::~CoolKeyLogger() +{ + char tBuff[56]; + + PR_LOG( coolKeyLog, PR_LOG_DEBUG, ("%s ~CoolKeyLogger:\n",GetTStamp(tBuff,56))); + LockLog(); + + PR_Close(fd); + + fd = NULL; + + UnlockLog(); + + PR_DestroyLock(logLock); + + logLock = NULL; + + if(pathName) + free(pathName); + + pathName = NULL; +} + +void CoolKeyLogger::LockLog() +{ + PR_Lock(logLock); +} + +void CoolKeyLogger::UnlockLog() +{ + PR_Unlock(logLock); +} + +void CoolKeyLogger::init() +{ + char tBuff[56]; + + PRFileInfo info; + + if( !pathName) + return; + + logLock = PR_NewLock(); + + PRStatus rv = PR_GetFileInfo(pathName,&info); + + int fileSize = 0; + + if(rv == PR_SUCCESS) + { + fileSize = info.size; + PR_LOG( coolKeyLog, PR_LOG_DEBUG, ("%s File info size %d! \n",GetTStamp(tBuff,56),fileSize)); + } + + //Assume average line size of about 40 + + if((fileSize / 40) > maxLines) + { + + PR_LOG( coolKeyLog, PR_LOG_DEBUG, ("%s Number of lines too big, truncate file %d! \n",GetTStamp(tBuff,56),fileSize / 80)); + + fd = PR_Open(pathName, PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0600); + } + else + { + fd = PR_Open(pathName, PR_WRONLY | PR_CREATE_FILE | PR_APPEND, 0600); + } + + if(!fd) + return; + + initialized = 1; + + return; +} + +void CoolKeyLogger::LogMsg(int logLevel, const char *fmt, ...) +{ + va_list ap; + char line[LINE_BUF_SIZE]; + + if(!initialized) + return; + + va_start(ap, fmt); + + int end = PR_vsnprintf(line, sizeof(line)-1, fmt, ap); + + LockLog(); + + PR_Write(fd,line,end); + + UnlockLog(); + + va_end(ap); +} + +void CoolKeyLogger::LogMsg(int logLevel, const char *msg, va_list argp) +{ + char line[LINE_BUF_SIZE]; + + if(!initialized) + return; + + int end = PR_vsnprintf(line, sizeof(line)-1, msg, argp); + + LockLog(); + + PR_Write(fd,line,end); + + UnlockLog(); +} + +static CoolKeyLogger *g_Log = NULL; + COOLKEY_API HRESULT CoolKeyInit(const char *aAppDir) { char tBuff[56]; @@ -92,6 +248,9 @@ g_NSSManager = 0; } + if(g_Log) + delete g_Log ; + return S_OK; } @@ -903,7 +1062,7 @@ assert(cardCtxt); if (!cardCtxt) { - PR_LOG( coolKeyLog, PR_LOG_ERROR, ("%s Attempting to get key issuer info. Can't create Card Context !.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Attempting to get key issuer info. Can't create Card Context !.\n",GetTStamp(tBuff,56)); result = E_FAIL; goto done; } @@ -911,7 +1070,7 @@ conn = CKYCardConnection_Create(cardCtxt); assert(conn); if (!conn) { - PR_LOG( coolKeyLog, PR_LOG_ERROR, ("%s Attempting to get key issuer info. Can't create Card Connection!\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Attempting to get key issuer info. Can't create Card Connection!\n",GetTStamp(tBuff,56)); result = E_FAIL; goto done; } @@ -919,14 +1078,14 @@ readerName = GetReaderNameForKeyID(aKey); assert(readerName); if (!readerName) { - PR_LOG( coolKeyLog, PR_LOG_ERROR, ("%s Attempting to get key issuer info. Can't get reader name!\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Attempting to get key issuer info. Can't get reader name!\n",GetTStamp(tBuff,56)); result = E_FAIL; goto done; } status = CKYCardConnection_Connect(conn, readerName); if (status != CKYSUCCESS) { - PR_LOG( coolKeyLog, PR_LOG_ERROR, ("%s Attempting to get key issuer info. Can't connect to Card!\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Attempting to get key issuer info. Can't connect to Card!\n",GetTStamp(tBuff,56)); result = E_FAIL; goto done; @@ -938,7 +1097,7 @@ apduRC = 0; status = CKYApplet_SelectCoolKeyManager(conn, &apduRC); if (status != CKYSUCCESS) { - PR_LOG( coolKeyLog, PR_LOG_ERROR, ("%s Attempting to get key issuer info. Can't select CoolKey manager!\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Attempting to get key issuer info. Can't select CoolKey manager!\n",GetTStamp(tBuff,56)); goto done; } @@ -946,7 +1105,7 @@ &apduRC); if(status != CKYSUCCESS) { - PR_LOG( coolKeyLog, PR_LOG_ERROR, ("%s Attempting to get key issuer info. Error actually getting IssuerInfo!\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Attempting to get key issuer info. Error actually getting IssuerInfo!\n",GetTStamp(tBuff,56)); result = E_FAIL; goto done; } @@ -1153,6 +1312,42 @@ return res; } +HRESULT CoolKeyInitializeLog(char *logFileName, int maxNumLines) +{ + if(g_Log) + return S_OK; + + g_Log = new CoolKeyLogger(logFileName,maxNumLines); + + if(g_Log) + g_Log->init(); + else + return E_FAIL; + + if(g_Log->IsInitialized()) + return S_OK; + else + return E_FAIL; +} + +HRESULT CoolKeyLogMsg(int logLevel, const char *fmt, ...) +{ + + if(!g_Log) + return S_OK; + + va_list ap; + + + va_start(ap, fmt); + + g_Log->LogMsg(logLevel,fmt,ap); + + va_end(ap); + + return S_OK; +} + //Utility function to get Time Stamp char *GetTStamp(char *aTime,int aSize) { Index: CoolKey.h =================================================================== RCS file: /cvs/dirsec/esc/src/lib/coolkey/CoolKey.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CoolKey.h 7 May 2007 23:51:46 -0000 1.5 +++ CoolKey.h 7 Jun 2007 21:21:17 -0000 1.6 @@ -176,6 +176,11 @@ COOLKEY_API int CoolKeyGetAppletVer(const CoolKey *aKey, const bool isMajor); +COOLKEY_API HRESULT CoolKeyInitializeLog(char *logFileName, int maxNumLines); + +COOLKEY_API HRESULT CoolKeyLogMsg(int logLevel, const char *fmt, ...); + + //Utility time function char *GetTStamp(char *aTime,int aSize); } Index: CoolKeyHandler.cpp =================================================================== RCS file: /cvs/dirsec/esc/src/lib/coolkey/CoolKeyHandler.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CoolKeyHandler.cpp 24 Feb 2007 02:16:41 -0000 1.3 +++ CoolKeyHandler.cpp 7 Jun 2007 21:21:17 -0000 1.4 @@ -453,7 +453,7 @@ const char *readerName = NULL; if (!aKey || aKey->mKeyType != eCKType_CoolKey || !aKey->mKeyID) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Cannot begin CoolKey operation. Insuficient input parameters. \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Cannot begin CoolKey operation. Insuficient input parameters. \n",GetTStamp(tBuff,56)); goto done; } @@ -466,14 +466,14 @@ if (!readerName) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Cannot begin CoolKey operation. Cannot locate card reader name! \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Cannot begin CoolKey operation. Cannot locate card reader name! \n",GetTStamp(tBuff,56)); goto done; } mDataLock = PR_NewLock(); if (!mDataLock) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Cannot begin CoolKey operation. Cannnot initialize internal locking mechanism.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Cannot begin CoolKey operation. Cannnot initialize internal locking mechanism.\n",GetTStamp(tBuff,56)); return E_FAIL; } @@ -481,7 +481,7 @@ mDataCondVar = PR_NewCondVar(mDataLock); if (!mDataCondVar) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Cannot begin CoolKey operation. Cannot initialize internal syncronization mechanism.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Cannot begin CoolKey operation. Cannot initialize internal syncronization mechanism.\n",GetTStamp(tBuff,56)); return E_FAIL; } @@ -493,7 +493,7 @@ if(!mCharHostName || !mRAUrl) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Cannot begin CoolKey operation. Didn't collect proper config information.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Cannot begin CoolKey operation. Didn't collect proper config information.\n",GetTStamp(tBuff,56)); error_no = config_error_no; goto done; } @@ -502,7 +502,7 @@ mCardContext = CKYCardContext_Create(SCARD_SCOPE_USER); if (!mCardContext) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Cannot begin CoolKey operation. Cannot create card context! \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Cannot begin CoolKey operation. Cannot create card context! \n",GetTStamp(tBuff,56)); error_no = CARD_CONTEXT_ERROR; goto done; } @@ -510,7 +510,7 @@ mPDUWriter = new PDUWriterThread(this); if (!mPDUWriter) { error_no = PDU_WRITER_ERROR; - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Cannot begin CoolKey operation. Cannot create internal PDU writer thread!\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Cannot begin CoolKey operation. Cannot create internal PDU writer thread!\n",GetTStamp(tBuff,56)); goto done; } @@ -581,7 +581,7 @@ if(!keyID) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR,("%s Collecting CoolKey preferences. Cannot get keyID , cannot proceed. \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR,"%s Collecting CoolKey preferences. Cannot get keyID , cannot proceed. \n",GetTStamp(tBuff,56)); return; } @@ -621,7 +621,7 @@ if(!tps_url) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Collecting CoolKey preferences. Cannot find value for the TPS URL. \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Collecting CoolKey preferences. Cannot find value for the TPS URL. \n",GetTStamp(tBuff,56)); return; } @@ -651,7 +651,7 @@ pos = tps_url_str.find(non_ssl_str,0); if(pos == string::npos) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Collecting CoolKey preferences. TPS URL has specified an illegal protocol! \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Collecting CoolKey preferences. TPS URL has specified an illegal protocol! \n",GetTStamp(tBuff,56)); return; } @@ -692,7 +692,7 @@ if(!host_name_port_str.length()) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Collecting CoolKey preferences. Bad hostname and port value!.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg(PR_LOG_ERROR, "%s Collecting CoolKey preferences. Bad hostname and port value!.\n",GetTStamp(tBuff,56)); return; } @@ -1198,7 +1198,7 @@ PR_LOG( coolKeyLogHN, PR_LOG_DEBUG, ("%s CoolKeyHandler::ProcessTokenPDU:\n",GetTStamp(tBuff,56))); if(!req || !context) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Processing HTTP message. Bad input data. \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Processing HTTP message. Bad input data. \n",GetTStamp(tBuff,56)); return; } @@ -1210,7 +1210,7 @@ if(size == 0) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Processing HTTP message. Can't extract PDU data from message! \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg(PR_LOG_ERROR, "%s Processing HTTP message. Can't extract PDU data from message! \n",GetTStamp(tBuff,56)); context->HttpDisconnect(); return; } @@ -1231,10 +1231,10 @@ CKYStatus status = CKYCardConnection_ExchangeAPDU(context->GetCardConnection(), requestAPDU, &response); if (status != CKYSUCCESS) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, - ("%s Processing HTTP message. Can't write apdu to card! status %d response[0] %x response[1] %x error %d \n" + CoolKeyLogMsg( PR_LOG_ERROR, + "%s Processing HTTP message. Can't write apdu to card! status %d response[0] %x response[1] %x error %d \n" ,GetTStamp(tBuff,56) ,status,CKYBuffer_GetChar(&response,0),CKYBuffer_GetChar(&response,1), - CKYCardConnection_GetLastError(context->GetCardConnection()))); + CKYCardConnection_GetLastError(context->GetCardConnection())); context->HttpDisconnect(ERR_CONN_TOKEN); @@ -1248,7 +1248,7 @@ if(pduSizeRet == 0 || !pduDataRet ) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Processing HTTP message. No PDU response from card! \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Processing HTTP message. No PDU response from card! \n",GetTStamp(tBuff,56)); context->HttpDisconnect(ERR_CONN_TOKEN); return; } @@ -1267,7 +1267,7 @@ if(res == 0) { - PR_LOG( coolKeyLogHN, PR_LOG_ERROR, ("%s Processing HTTP message. Write back to TPS failed , disconnecting. \n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ERROR, "%s Processing HTTP message. Write back to TPS failed , disconnecting. \n",GetTStamp(tBuff,56)); context->HttpDisconnect(); } else @@ -1619,32 +1619,33 @@ case ENROLL: if (result == 0) { - PR_LOG( coolKeyLogHN, PR_LOG_ALWAYS, ("%s Key Enrollment success.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg(PR_LOG_ALWAYS,"%s Key Enrollment success.\n",GetTStamp(tBuff,56)); CoolKeyAuthenticate(context->GetAutoCoolKey(), context->GetPIN()); CoolKeyNotify(context->GetAutoCoolKey(), eCKState_EnrollmentComplete, context->GetScreenName() == NULL ? 1 : 0); } else { - PR_LOG( coolKeyLogHN, PR_LOG_ALWAYS, ("%s Key Enrollment failure. Error: %d.\n",GetTStamp(tBuff,56),description)); + CoolKeyLogMsg( PR_LOG_ALWAYS, "%s Key Enrollment failure. Error: %d.\n",GetTStamp(tBuff,56),description); CoolKeyNotify(context->GetAutoCoolKey(), eCKState_EnrollmentError, description); // XXX: Need INIT_FAILED error code! } break; case RESET_PIN: if (result == 0) { - PR_LOG( coolKeyLogHN, PR_LOG_ALWAYS, ("%s Key Reset Password success.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg(PR_LOG_ALWAYS,"%s Key Reset Password success.\n",GetTStamp(tBuff,56)); + CoolKeyAuthenticate(context->GetAutoCoolKey(), context->GetPIN()); CoolKeyNotify(context->GetAutoCoolKey(), eCKState_PINResetComplete, 0); } else { - PR_LOG( coolKeyLogHN, PR_LOG_ALWAYS, ("%s Key Reset Password failure. Error: %d.\n",GetTStamp(tBuff,56),description)); + CoolKeyLogMsg(PR_LOG_ALWAYS, "%s Key Reset Password failure. Error: %d.\n",GetTStamp(tBuff,56),description); CoolKeyNotify(context->GetAutoCoolKey(), eCKState_PINResetError, description); // XXX: Need PIN_RESET_FAILED error code! } break; case FORMAT: if (result == 0) { - PR_LOG( coolKeyLogHN, PR_LOG_ALWAYS, ("%s Key Format success.\n",GetTStamp(tBuff,56))); + CoolKeyLogMsg( PR_LOG_ALWAYS, "%s Key Format success.\n",GetTStamp(tBuff,56)); CoolKeyNotify(context->GetAutoCoolKey(), eCKState_FormatComplete, 0); } else { - PR_LOG( coolKeyLogHN, PR_LOG_ALWAYS, ("%s Key Format failure. Error: %d.\n",GetTStamp(tBuff,56),description)); + CoolKeyLogMsg( PR_LOG_ALWAYS, "%s Key Format failure. Error: %d.\n",GetTStamp(tBuff,56),description); CoolKeyNotify(context->GetAutoCoolKey(), eCKState_FormatError, description); // XXX: Need FORMAT_FAILED error code! } break; From fedora-directory-commits at redhat.com Thu Jun 7 21:23:57 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 7 Jun 2007 17:23:57 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src create_instance.c, 1.56, 1.57 create_instance.h, 1.16, 1.17 ds_newinst.pl.in, 1.5, 1.6 Message-ID: <200706072123.l57LNv8X003758@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3722/ldap/admin/src Modified Files: create_instance.c create_instance.h ds_newinst.pl.in Log Message: Resolves: bug 239765 Description: Allow mimimum schema in ds_newinst.pl Fix Description: Fixed by abartlet. Add a new configuration param to create_instance - install_full_schema. By default this is 1, meaning the traditional behavior of installing all of the schema. If set to 0, this will only install the 00core.ldif schema file. This also required enhancements to ds_newinst.pl as well as a bug fix to allow passing in a 0 value. Reviewed by: nhosoi, rmeggins Index: create_instance.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- create_instance.c 16 May 2007 19:45:26 -0000 1.56 +++ create_instance.c 7 Jun 2007 21:23:54 -0000 1.57 @@ -300,6 +300,7 @@ conf->upgradingServer = 0; conf->start_server = "1"; + conf->install_full_schema = 1; conf->admin_domain = NULL; conf->config_ldap_url = NULL; conf->user_ldap_url = NULL; @@ -3530,14 +3531,27 @@ fclose(srcf); fclose(f); - /* - * /PACKAGE_NAME/schema to schema_dir - */ - PR_snprintf(src, sizeof(src), "%s%c%s%cschema", - cf->sysconfdir, FILE_PATHSEP, cf->package_name, FILE_PATHSEP); - if (NULL != (t = ds_copy_group_files_using_mode_owner(src, cf->schema_dir, 0, NEWFILE_MODE, pw))) - return t; - + if (cf->install_full_schema) { + /* + * /PACKAGE_NAME/schema to schema_dir + */ + PR_snprintf(src, sizeof(src), "%s%c%s%cschema", + cf->sysconfdir, FILE_PATHSEP, cf->package_name, FILE_PATHSEP); + if (NULL != (t = ds_copy_group_files_using_mode_owner(src, cf->schema_dir, 0, NEWFILE_MODE, pw))) + return t; + } else { + PR_snprintf(src, sizeof(src), "%s%c%s%cschema%c00core.ldif", + cf->sysconfdir, FILE_PATHSEP, cf->package_name, FILE_PATHSEP, FILE_PATHSEP); + PR_snprintf(dest, sizeof(dest), "%s%c00core.ldif", + cf->schema_dir, FILE_PATHSEP); + if( (t = create_instance_copy(src, dest, NEWFILE_MODE, 0 )) ) { + return t; + } else { + if (pw) { + chownfile(pw, dest); + } + } + } #if defined (BUILD_PRESENCE) PR_snprintf(src, sizeof(src), "%s%c%s%c/config/presence", cf->sysconfdir, FILE_PATHSEP, cf->package_name, FILE_PATHSEP); @@ -4490,6 +4504,9 @@ return 1; } cf->start_server = ds_a_get_cgi_var("start_server", NULL, NULL); + if (temp = ds_a_get_cgi_var("install_full_schema", NULL, NULL)) { + cf->install_full_schema = atoi(temp); + } cf->secserv = ds_a_get_cgi_var("secserv", NULL, NULL); if (cf->secserv && strcmp(cf->secserv, "off")) cf->secservport = ds_a_get_cgi_var("secservport", NULL, NULL); Index: create_instance.h =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- create_instance.h 1 Mar 2007 03:34:23 -0000 1.16 +++ create_instance.h 7 Jun 2007 21:23:54 -0000 1.17 @@ -185,6 +185,7 @@ #if defined(ENABLE_LDAPI) char *ldapifilepath; #endif + int install_full_schema; } server_config_s; Index: ds_newinst.pl.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_newinst.pl.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ds_newinst.pl.in 1 Mar 2007 03:34:23 -0000 1.5 +++ ds_newinst.pl.in 7 Jun 2007 21:23:54 -0000 1.6 @@ -54,7 +54,7 @@ my $content = ""; my $firsttime = 1; while (my ($kk, $vv) = each %{$args}) { - next if (!$kk || !$vv); + next if (!defined($kk) || !defined($vv)); if ($firsttime) { $firsttime = 0; } else { @@ -277,14 +277,29 @@ $cgiargs{install_ldif_file} = $table{slapd}->{InstallLdifFile}; # if for some reason you do not want the server started after instance creation -# the following line can be commented out - NOTE that if you are creating the +# then you can set +# [slapd] +# start_server = 0 +# NOTE that if you are creating the # Configuration DS, it will be started anyway + if (defined($table{"slapd"}->{"start_server"})) { $cgiargs{start_server} = $table{"slapd"}->{"start_server"}; } else { # default is on $cgiargs{start_server} = 1; } +# if for some reason you do not want the full schema to be installed, +# (such as needing to replace much of it with an AD-like schema), then set +# [slapd] +# install_full_schema = 0 + +if (defined($table{"slapd"}->{"install_full_schema"})) { + $cgiargs{install_full_schema} = $table{"slapd"}->{"install_full_schema"}; +} else { + # server-side default is on +} + my $sroot = $cgiargs{sroot}; my $prog = "@bindir@/ds_newinst"; From fedora-directory-commits at redhat.com Thu Jun 7 22:40:17 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 7 Jun 2007 18:40:17 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src cfg_sspt.c, 1.11, 1.12 create_instance.c, 1.57, 1.58 ds_newinst.pl.in, 1.6, 1.7 Message-ID: <200706072240.l57MeHG0025213@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25184/ldapserver/ldap/admin/src Modified Files: cfg_sspt.c create_instance.c ds_newinst.pl.in Log Message: Resolves: bug 243205 Description: allow instance creation with no .inf file; allow pre-hashed RootDNPwd Reviewed by: nhosoi (Thanks!) Fix Description: You can now use ds_newinst.pl without (or with) a .inf file like this: ds_newinst.pl General.SuiteSpotUserID=nobody slapd.ServerPort=3890 .... The parameters can be supplied via the command line. The format of the parameter is section.param=value. Normal shell quoting rules apply, so you still have to do something like this: ds_newinst.pl "slapd.Suffix=dc=example, dc=com" for embedded spaces and the like. If you supply a filename (or '-'), it must be the first argument after ds_newinst.pl. If you then supply additional arguments after the filename, these will override the settings in the given inf file. So, for example, you could reuse the same .inf file, except provide a different hostname: ds_newinst.pl basefile.inf General.FullMachineName=bar.example.com This allows you to use the same base .inf file for several machines, and only change certain parameters on a per-machine basis. ds_newinst.pl will now fill in some default values - it will use Net::Domain::hostfqdn for FullMachineName, and your login ID for SuiteSpotUserID (however, not if running ds_newinst.pl as root), and will construct the Suffix and ServerIdentifier based on the FullMachineName. RootDN will default to cn=Directory Manager. ServerRoot is no longer required. Another enhancement is the ability to provide a pre-hashed password for the RootDNPwd parameter, to avoid having to pass around the clear text directory manager password. However, some caveats apply. If the password begins with one of the well known hash algorithms (e.g. {SHA, {SSHA, etc.), ds_newinst will assume it is already hashed. This may cause problems if users expect to be able to provide a clear text password such as {SSHA}text, but I seriously doubt anyone does that (famous last words . . .). Another problem is that the code as it currently stands uses the clear text password to bind to the server after starting the server to add some additional entries and ACIs. This cannot be done if a pre-hashed password is provided (but we're working on a solution to that problem too). write_ldap_info() is no longer needed. Finally, a couple of minor bug fixes. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes. There will be some documentation changes required. Index: cfg_sspt.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/cfg_sspt.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- cfg_sspt.c 10 Nov 2006 23:44:33 -0000 1.11 +++ cfg_sspt.c 7 Jun 2007 22:40:14 -0000 1.12 @@ -1362,39 +1362,6 @@ return connection; } -static int -write_ldap_info(SLAPD_CONFIG* slapd, char* base, char* admnm) -{ - FILE* fp; - int ret = 0; - - char* fmt = "%s/shared/config/ldap.conf"; - char* infoFileName = PR_smprintf(fmt, slapd->slapd_server_root); - - if ((fp = fopen(infoFileName, "w")) == NULL) - { - ret = -1; - } - else - { - fprintf(fp, "url\tldap://%s:%d/", - slapd->host, slapd->port); - - if (base) - fprintf(fp, "%s", base); - - fprintf(fp, "\n"); - - fprintf(fp, "admnm\t%s\n", admnm); - - fclose(fp); - } - - PR_smprintf_free(infoFileName); - - return ret; -} - #ifdef TEST_CONFIG int config_configEntry(LDAP* connection, QUERY_VARS* query) @@ -1630,12 +1597,6 @@ value_hostPreferencesOU, 0, 0, 0, 0); } - - /* - ** Write the ldap.info file and the SuiteSpot.ldif file - */ - - write_ldap_info(slapd, query->suffix, query->ssAdmID); } #ifdef TEST_CONFIG Index: create_instance.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- create_instance.c 7 Jun 2007 21:23:54 -0000 1.57 +++ create_instance.c 7 Jun 2007 22:40:14 -0000 1.58 @@ -144,7 +144,6 @@ static char *ds_gen_gw_conf(char *sroot, char *cs_path, server_config_s *cf, int conf_type); static char *install_ds(char *sroot, server_config_s *cf, char *param_name); -static int write_ldap_info(char *slapd_server_root, server_config_s *cf); #if defined (BUILD_PRESENCE) static char *gen_presence_init_script(char *sroot, server_config_s *cf, char *cs_path); @@ -4123,9 +4122,6 @@ } } - /* write ldap.conf */ - write_ldap_info( sroot, cf ); - #ifdef XP_UNIX ds_become_localuser_name (cf->servuser); #endif @@ -4143,6 +4139,17 @@ } #endif /* XP_WIN32 */ + /* if an already hashed password is given, we cannot do the configure_suitespot() + stuff below, because that requires the clear text password in order to + bind to the server. This also means that default entries and default + acis will not be added to the server. + */ + if (cf->rootpw == cf->roothashedpw) { + if (status) + return make_error ("Could not configure server (%d).", status); + return NULL; + } + memset( &query_vars, 0, sizeof(query_vars) ); if (!cf->use_existing_user_ds) query_vars.suffix = create_instance_strdup( cf->suffix ); @@ -4199,48 +4206,6 @@ return(NULL); } -/* write_ldap_info() : writes ldap.conf */ - -static int -write_ldap_info( char *slapd_server_root, server_config_s *cf) -{ - FILE* fp; - int ret = 0; - - char* fmt = "%s/shared/config/ldap.conf"; - char* infoFileName; - - if (!slapd_server_root) { - return -1; - } - - infoFileName = PR_smprintf(fmt, slapd_server_root); - - if ((fp = fopen(infoFileName, "w")) == NULL) - { - ret = -1; - } - else - { - fprintf(fp, "url\tldap://%s:%d/", - cf->servname, atoi(cf->servport)); - - if (cf->suffix) - fprintf(fp, "%s", cf->suffix); - - fprintf(fp, "\n"); - - if (cf->cfg_sspt_uid) { - fprintf(fp, "admnm\t%s\n", cf->cfg_sspt_uid); - } - - fclose(fp); - } - PR_smprintf_free(infoFileName); - - return ret; -} - /* ----------- Create a new server from configuration variables ----------- */ @@ -4542,8 +4507,17 @@ cf->rootpw = pw1; } - /* Encode the password in SSHA by default */ - cf->roothashedpw = (char *)ds_salted_sha1_pw_enc (cf->rootpw); + if (strchr(cf->rootpw, '}') && + (!PL_strncasecmp(cf->rootpw, "{SHA", 4) || + !PL_strncasecmp(cf->rootpw, "{SSHA", 5) || + !PL_strncasecmp(cf->rootpw, "{CRYPT}", 7) || + !PL_strncasecmp(cf->rootpw, "{MD5}", 5))) { + /* assume the password is already hashed */ + cf->roothashedpw = cf->rootpw; + } else { /* assume cleartext password */ + /* Encode the password in SSHA by default */ + cf->roothashedpw = (char *)ds_salted_sha1_pw_enc (cf->rootpw); + } } cf->admin_domain = ds_a_get_cgi_var("admin_domain", NULL, NULL); @@ -4555,7 +4529,7 @@ } if ((temp = ds_a_get_cgi_var("use_existing_user_ds", NULL, NULL))) { - cf->use_existing_config_ds = atoi(temp); + cf->use_existing_user_ds = atoi(temp); } else { cf->use_existing_user_ds = 0; /* we are creating it */ } Index: ds_newinst.pl.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_newinst.pl.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ds_newinst.pl.in 7 Jun 2007 21:23:54 -0000 1.6 +++ ds_newinst.pl.in 7 Jun 2007 22:40:14 -0000 1.7 @@ -35,6 +35,7 @@ # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK +use Net::Domain qw(hostfqdn); use IPC::Open2; use Symbol; use CGI::Util qw(escape); @@ -43,9 +44,28 @@ sub usage { my $msg = shift; - print "Error: $msg\n"; - print "Usage: $0 [-|filename.inf]\n"; - print "Use - to read from stdin\n"; + print <{$dkey} = $source->{$ssec}->{$skey}; } -my $filename = $ARGV[0]; -usage("$filename not found") if ($filename ne "-" && ! -f $filename); +sub readInfFile { + my $filename = shift; + my $fh; + if ($filename eq "-") { + $fh = \*STDIN; + } else { + open(IN, $filename) or usage("could not open file $filename: $!"); + $fh = \*IN; + } + while (<$fh>) { + # e.g. [General] + if (/^\[(.*?)\]/) { + $curSection = $1; + } elsif (/^\s*$/) { + next; # skip blank lines + } elsif (/^\s*\#/) { + next; # skip comment lines + } elsif (/^\s*(.*?)\s*=\s*(.*?)\s*$/) { + $table{$curSection}->{$1} = $2; + } + } + if ($filename ne "-") { + close IN; + } +} + +usage("No arguments given") if (!@ARGV); + +# process command line arguments +for (@ARGV) { + if (/^(\w+).(\w+)=(.*)$/) { # e.g. section.param=value + $table{$1}->{$2} = $3; + } else { # file? + readInfFile($_); + } +} -my $curSection; -# each key in the table is a section name -# the value is a hash ref of the items in that section -# in that hash ref, each key is the config param name, -# and the value is the config param value -my %table = (); - -my $fh; -if ($filename eq "-") { - $fh = \*STDIN; -} else { - open(IN, $filename); - $fh = \*IN; +#printhash (\%table); + +# set default values +if (!$table{General}->{FullMachineName}) { + $table{General}->{FullMachineName} = hostfqdn; } -while (<$fh>) { - # e.g. [General] - if (/^\[(.*?)\]/) { - $curSection = $1; - } elsif (/^\s*$/) { - next; # skip blank lines - } elsif (/^\s*\#/) { - next; # skip comment lines - } elsif (/^\s*(.*?)\s*=\s*(.*?)\s*$/) { - $table{$curSection}->{$1} = $2; - } + +if (!$table{General}->{SuiteSpotUserID}) { + if ($> != 0) { # if not root, use the user's uid + $table{General}->{SuiteSpotUserID} = getlogin; + } + # otherwise, the uid must be specified } -if ($filename ne "-") { - close IN; + +if (!$table{slapd}->{RootDN}) { + $table{slapd}->{RootDN} = "cn=Directory Manager"; } -#printhash (\%table); +if (!$table{slapd}->{Suffix}) { + my $suffix = $table{General}->{FullMachineName}; + # convert fqdn to dc= domain components + $suffix = "dc=$suffix"; + $suffix =~ s/\./, dc=/g; + $table{slapd}->{Suffix} = $suffix; +} + +if (!$table{slapd}->{ServerIdentifier}) { + my $servid = $table{General}->{FullMachineName}; + # strip out the leftmost domain component + $servid =~ s/\..*$//; + $table{slapd}->{ServerIdentifier} = $servid; +} # next, construct a hash table with our arguments my %cgiargs = (); my $package_name = "@package_name@"; - # the following items are always required -addAndCheck(\%cgiargs, "sroot", \%table, "General", "ServerRoot"); addAndCheck(\%cgiargs, "servname", \%table, "General", "FullMachineName"); addAndCheck(\%cgiargs, "servuser", \%table, "General", "SuiteSpotUserID"); addAndCheck(\%cgiargs, "rootdn", \%table, "slapd", "RootDN"); @@ -185,6 +241,12 @@ addAndCheck(\%cgiargs, "servid", \%table, "slapd", "ServerIdentifier"); addAndCheck(\%cgiargs, "suffix", \%table, "slapd", "Suffix"); +if (defined($table{"General"}->{"ServerRoot"})) { + $cgiargs{"sroot"} = $table{"General"}->{"ServerRoot"}; +} else { + $cgiargs{"sroot"} = '@serverdir@'; +} + # either servport or ldapifilepath must be specified - the server must # listen to something . . . my $canlisten = 0; @@ -200,7 +262,7 @@ $cgiargs{"ldapifilepath"} = $table{"slapd"}->{"ldapifilepath"}; } if (! $canlisten) { - usage("Either ServerPort or ldapifilepath must be specified in the slapd section of $filename"); + usage("Either ServerPort or ldapifilepath must be specified in the slapd section"); } # the following items are optional @@ -227,6 +289,15 @@ } else { $cgiargs{"config_dir"} = "@instconfigdir@/slapd-" . $table{"slapd"}->{"ServerIdentifier"}; } + +# check to see if this instance already exists +if (-d $cgiargs{"config_dir"}) { + print STDERR "Error: the server already exists at ", $cgiargs{"config_dir"}, "\n"; + print STDERR "Please remove it first if you really want to recreate it,\n"; + print STDERR "or use a different ServerIdentifier to create another instance.\n"; + exit 1; +} + # port number for Admin Server - used to configure some web apps $cgiargs{adminport} = $table{admin}->{Port}; @@ -300,15 +371,12 @@ # server-side default is on } -my $sroot = $cgiargs{sroot}; - my $prog = "@bindir@/ds_newinst"; if (! -x $prog) { $prog = "@libdir@/$package_name/ds_newinst"; } -my $rc = &cgiFake($sroot, $verbose, - $prog, \%cgiargs); +my $rc = &cgiFake($verbose, $prog, \%cgiargs); if (!$rc) { print "Success! Your new directory server instance was created\n"; @@ -316,6 +384,8 @@ print "Error: Could not create new directory server instance\n"; } +exit $rc; + sub printhash { my $table = shift; From fedora-directory-commits at redhat.com Fri Jun 8 01:09:18 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 7 Jun 2007 21:09:18 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.am, 1.39, 1.40 configure.ac, 1.28, 1.29 aclocal.m4, 1.31, 1.32 configure, 1.42, 1.43 missing, 1.24, 1.25 install-sh, 1.24, 1.25 depcomp, 1.24, 1.25 compile, 1.24, 1.25 Makefile.in, 1.46, 1.47 config.sub, 1.23, 1.24 config.guess, 1.23, 1.24 Message-ID: <200706080109.l5819IeM021044@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20988/ldapserver Modified Files: Makefile.am configure.ac aclocal.m4 configure missing install-sh depcomp compile Makefile.in config.sub config.guess Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server Fix Description: This adds the setup related perl modules, scripts, and resource files to the DS base code. This will allow a user to interactively setup (create an instance of) a directory server. This will also form the base of the work to add the console and admin server related setup code. New files/directories: $libdir/fedora-ds/perl - this is where the perl modules (Setup.pm, etc.) will be installed. $bindir/setup-ds.pl - the script to use to interactively create an instance of directory server. This has use lib '$libdir/fedora-ds/perl' hard coded into it at build time, in order to find the "private" setup perl modules. If you invoke this script in silent mode (setup-ds.pl -s) then it is exactly the same as just using ds_newinst.pl. $sysconfdir/fedora-ds/property/setup-ds.res - Resources for setup-ds.pl and the associated modules. I also fixed a problem with the libns-dshttpd linkage. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes. All of these new items will need to be documented. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.am,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- Makefile.am 16 May 2007 19:45:26 -0000 1.39 +++ Makefile.am 8 Jun 2007 01:09:14 -0000 1.40 @@ -74,6 +74,7 @@ taskdir = $(datadir)@scripttemplatedir@ initdir = $(sysconfdir)@initdir@ instconfigdir = @instconfigdir@ +perldir = $(libdir)@perldir@ #------------------------ # Build Products @@ -167,7 +168,21 @@ wrappers/cl-dump \ ldap/admin/src/scripts/cl-dump.pl \ wrappers/repl-monitor \ - ldap/admin/src/scripts/repl-monitor.pl + ldap/admin/src/scripts/repl-monitor.pl \ + ldap/admin/src/scripts/setup-ds.pl + +perl_SCRIPTS = ldap/admin/src/scripts/SetupLog.pm \ + ldap/admin/src/scripts/Resource.pm \ + ldap/admin/src/scripts/Util.pm \ + ldap/admin/src/scripts/Setup.pm \ + ldap/admin/src/scripts/SetupDialogs.pm \ + ldap/admin/src/scripts/Inf.pm \ + ldap/admin/src/scripts/DialogManager.pm \ + ldap/admin/src/scripts/Dialog.pm \ + ldap/admin/src/scripts/DSDialogs.pm \ + ldap/admin/src/scripts/Setup.pm + +property_DATA = ldap/admin/src/scripts/setup-ds.res task_SCRIPTS = ldap/admin/src/scripts/template-bak2db \ ldap/admin/src/scripts/template-db2bak \ @@ -327,7 +342,7 @@ $(libldaputil_a_SOURCES) libns_dshttpd_la_CPPFLAGS = -I$(srcdir)/include/base $(AM_CPPFLAGS) -I$(srcdir)/lib/ldaputil @ldapsdk_inc@ @nss_inc@ @nspr_inc@ -libns_dshttpd_la_LIBADD = $(LDAPSDK_LINK) $(NSS_LINK) $(NSPR_LINK) +libns_dshttpd_la_LIBADD = $(LDAPSDK_LINK) $(SASL_LINK) $(NSS_LINK) $(NSPR_LINK) #------------------------ # libslapd @@ -997,7 +1012,11 @@ -e 's, at package_name\@,$(PACKAGE_NAME),g' \ -e 's, at instconfigdir\@,$(instconfigdir),g' \ -e 's, at ECHO_N\@,$(ECHO_N),g' \ - -e 's, at ECHO_C\@,$(ECHO_C),g' + -e 's, at ECHO_C\@,$(ECHO_C),g' \ + -e 's, at brand\@,$(brand),g' \ + -e 's, at capbrand\@,$(capbrand),g' \ + -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at perldir\@,$(perldir),g' else fixupcmd = sed \ -e 's, at bindir\@,$(bindir),g' \ @@ -1023,7 +1042,11 @@ -e 's, at package_name\@,$(PACKAGE_NAME),g' \ -e 's, at instconfigdir\@,$(instconfigdir),g' \ -e 's, at ECHO_N\@,$(ECHO_N),g' \ - -e 's, at ECHO_C\@,$(ECHO_C),g' + -e 's, at ECHO_C\@,$(ECHO_C),g' \ + -e 's, at brand\@,$(brand),g' \ + -e 's, at capbrand\@,$(capbrand),g' \ + -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at perldir\@,$(perldir),g' endif %: %.in Index: configure.ac =================================================================== RCS file: /cvs/dirsec/ldapserver/configure.ac,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- configure.ac 16 May 2007 19:45:26 -0000 1.28 +++ configure.ac 8 Jun 2007 01:09:15 -0000 1.29 @@ -139,6 +139,10 @@ # the default prefix - override with --prefix or --with-fhs AC_PREFIX_DEFAULT([/opt/$PACKAGE_NAME]) +brand=fedora +capbrand=Fedora +vendor="Fedora Project" + m4_include(m4/fhs.m4) # installation paths - by default, we store everything @@ -186,6 +190,8 @@ propertydir=/$PACKAGE_NAME/property # relative to sysconfdir schemadir=/$PACKAGE_NAME/schema +# relative to libdir +perldir=/$PACKAGE_NAME/perl AC_SUBST(configdir) AC_SUBST(sampledatadir) @@ -194,6 +200,7 @@ AC_SUBST(serverdir) AC_SUBST(serverplugindir) AC_SUBST(scripttemplatedir) +AC_SUBST(perldir) # check for --with-instconfigdir AC_MSG_CHECKING(for --with-instconfigdir) @@ -332,6 +339,10 @@ AC_SUBST(netsnmp_libdir) AC_SUBST(netsnmp_link) +AC_SUBST(brand) +AC_SUBST(capbrand) +AC_SUBST(vendor) + AC_DEFINE([LDAP_DEBUG], [1], [LDAP debug flag]) AC_DEFINE([LDAP_DONT_USE_SMARTHEAP], [1], [Don't use smartheap]) Index: configure =================================================================== RCS file: /cvs/dirsec/ldapserver/configure,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- configure 16 May 2007 19:45:26 -0000 1.42 +++ configure 8 Jun 2007 01:09:15 -0000 1.43 @@ -465,7 +465,7 @@ #endif" ac_default_prefix=/opt/$PACKAGE_NAME -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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link 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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -23054,6 +23054,10 @@ # the default prefix - override with --prefix or --with-fhs +brand=fedora +capbrand=Fedora +vendor="Fedora Project" + # BEGIN COPYRIGHT BLOCK # Copyright (C) 2006 Red Hat, Inc. # All rights reserved. @@ -23177,6 +23181,9 @@ propertydir=/$PACKAGE_NAME/property # relative to sysconfdir schemadir=/$PACKAGE_NAME/schema +# relative to libdir +perldir=/$PACKAGE_NAME/perl + @@ -25147,6 +25154,10 @@ + + + + cat >>confdefs.h <<\_ACEOF #define LDAP_DEBUG 1 _ACEOF @@ -25978,6 +25989,7 @@ s, at serverdir@,$serverdir,;t t s, at serverplugindir@,$serverplugindir,;t t s, at scripttemplatedir@,$scripttemplatedir,;t t +s, at perldir@,$perldir,;t t s, at instconfigdir@,$instconfigdir,;t t s, at WINNT_TRUE@,$WINNT_TRUE,;t t s, at WINNT_FALSE@,$WINNT_FALSE,;t t @@ -26022,6 +26034,9 @@ s, at netsnmp_lib@,$netsnmp_lib,;t t s, at netsnmp_libdir@,$netsnmp_libdir,;t t s, at netsnmp_link@,$netsnmp_link,;t t +s, at brand@,$brand,;t t +s, at capbrand@,$capbrand,;t t +s, at vendor@,$vendor,;t t s, at LTLIBOBJS@,$LTLIBOBJS,;t t CEOF Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- Makefile.in 16 May 2007 19:45:26 -0000 1.46 +++ Makefile.in 8 Jun 2007 01:09:15 -0000 1.47 @@ -94,8 +94,9 @@ am__installdirs = "$(DESTDIR)$(serverdir)" \ "$(DESTDIR)$(serverplugindir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(initdir)" "$(DESTDIR)$(taskdir)" \ - "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" \ + "$(DESTDIR)$(initdir)" "$(DESTDIR)$(perldir)" \ + "$(DESTDIR)$(taskdir)" "$(DESTDIR)$(configdir)" \ + "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" \ "$(DESTDIR)$(sampledatadir)" "$(DESTDIR)$(schemadir)" serverLTLIBRARIES_INSTALL = $(INSTALL) serverpluginLTLIBRARIES_INSTALL = $(INSTALL) @@ -268,7 +269,8 @@ libhttp_client_plugin_la_OBJECTS = \ $(am_libhttp_client_plugin_la_OBJECTS) libns_dshttpd_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) am__objects_1 = lib/ldaputil/libns_dshttpd_la-cert.lo \ lib/ldaputil/libns_dshttpd_la-certmap.lo \ lib/ldaputil/libns_dshttpd_la-dbconf.lo \ @@ -711,8 +713,10 @@ $(am__DEPENDENCIES_1) binSCRIPT_INSTALL = $(INSTALL_SCRIPT) initSCRIPT_INSTALL = $(INSTALL_SCRIPT) +perlSCRIPT_INSTALL = $(INSTALL_SCRIPT) taskSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(bin_SCRIPTS) $(init_SCRIPTS) $(task_SCRIPTS) +SCRIPTS = $(bin_SCRIPTS) $(init_SCRIPTS) $(perl_SCRIPTS) \ + $(task_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -786,10 +790,11 @@ $(rsearch_bin_SOURCES) configDATA_INSTALL = $(INSTALL_DATA) nodist_propertyDATA_INSTALL = $(INSTALL_DATA) +propertyDATA_INSTALL = $(INSTALL_DATA) sampledataDATA_INSTALL = $(INSTALL_DATA) schemaDATA_INSTALL = $(INSTALL_DATA) -DATA = $(config_DATA) $(nodist_property_DATA) $(sampledata_DATA) \ - $(schema_DATA) +DATA = $(config_DATA) $(nodist_property_DATA) $(property_DATA) \ + $(sampledata_DATA) $(schema_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -892,11 +897,13 @@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ +brand = @brand@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +capbrand = @capbrand@ #------------------------ # Install Paths @@ -952,6 +959,7 @@ nss_lib = @nss_lib@ nss_libdir = @nss_libdir@ oldincludedir = @oldincludedir@ +perldir = $(libdir)@perldir@ prefix = @prefix@ program_transform_name = @program_transform_name@ propertydir = $(sysconfdir)@propertydir@ @@ -969,6 +977,7 @@ svrcore_lib = @svrcore_lib@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +vendor = @vendor@ # look for included m4 files in the ./m4/ directory ACLOCAL_AMFLAGS = -I m4 @@ -1092,8 +1101,21 @@ wrappers/cl-dump \ ldap/admin/src/scripts/cl-dump.pl \ wrappers/repl-monitor \ - ldap/admin/src/scripts/repl-monitor.pl + ldap/admin/src/scripts/repl-monitor.pl \ + ldap/admin/src/scripts/setup-ds.pl + +perl_SCRIPTS = ldap/admin/src/scripts/SetupLog.pm \ + ldap/admin/src/scripts/Resource.pm \ + ldap/admin/src/scripts/Util.pm \ + ldap/admin/src/scripts/Setup.pm \ + ldap/admin/src/scripts/SetupDialogs.pm \ + ldap/admin/src/scripts/Inf.pm \ + ldap/admin/src/scripts/DialogManager.pm \ + ldap/admin/src/scripts/Dialog.pm \ + ldap/admin/src/scripts/DSDialogs.pm \ + ldap/admin/src/scripts/Setup.pm +property_DATA = ldap/admin/src/scripts/setup-ds.res task_SCRIPTS = ldap/admin/src/scripts/template-bak2db \ ldap/admin/src/scripts/template-db2bak \ ldap/admin/src/scripts/template-db2index \ @@ -1243,7 +1265,7 @@ $(libldaputil_a_SOURCES) libns_dshttpd_la_CPPFLAGS = -I$(srcdir)/include/base $(AM_CPPFLAGS) -I$(srcdir)/lib/ldaputil @ldapsdk_inc@ @nss_inc@ @nspr_inc@ -libns_dshttpd_la_LIBADD = $(LDAPSDK_LINK) $(NSS_LINK) $(NSPR_LINK) +libns_dshttpd_la_LIBADD = $(LDAPSDK_LINK) $(SASL_LINK) $(NSS_LINK) $(NSPR_LINK) #------------------------ # libslapd @@ -1883,7 +1905,11 @@ @BUNDLE_FALSE@ -e 's, at package_name\@,$(PACKAGE_NAME),g' \ @BUNDLE_FALSE@ -e 's, at instconfigdir\@,$(instconfigdir),g' \ @BUNDLE_FALSE@ -e 's, at ECHO_N\@,$(ECHO_N),g' \ - at BUNDLE_FALSE@ -e 's, at ECHO_C\@,$(ECHO_C),g' + at BUNDLE_FALSE@ -e 's, at ECHO_C\@,$(ECHO_C),g' \ + at BUNDLE_FALSE@ -e 's, at brand\@,$(brand),g' \ + at BUNDLE_FALSE@ -e 's, at capbrand\@,$(capbrand),g' \ + at BUNDLE_FALSE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + at BUNDLE_FALSE@ -e 's, at perldir\@,$(perldir),g' # these are for the config files and scripts that we need to generate and replace @@ -1916,7 +1942,11 @@ @BUNDLE_TRUE@ -e 's, at package_name\@,$(PACKAGE_NAME),g' \ @BUNDLE_TRUE@ -e 's, at instconfigdir\@,$(instconfigdir),g' \ @BUNDLE_TRUE@ -e 's, at ECHO_N\@,$(ECHO_N),g' \ - at BUNDLE_TRUE@ -e 's, at ECHO_C\@,$(ECHO_C),g' + at BUNDLE_TRUE@ -e 's, at ECHO_C\@,$(ECHO_C),g' \ + at BUNDLE_TRUE@ -e 's, at brand\@,$(brand),g' \ + at BUNDLE_TRUE@ -e 's, at capbrand\@,$(capbrand),g' \ + at BUNDLE_TRUE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + at BUNDLE_TRUE@ -e 's, at perldir\@,$(perldir),g' all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-am @@ -3753,6 +3783,25 @@ echo " rm -f '$(DESTDIR)$(initdir)/$$f'"; \ rm -f "$(DESTDIR)$(initdir)/$$f"; \ done +install-perlSCRIPTS: $(perl_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(perldir)" || $(mkdir_p) "$(DESTDIR)$(perldir)" + @list='$(perl_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(perlSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(perldir)/$$f'"; \ + $(perlSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(perldir)/$$f"; \ + else :; fi; \ + done + +uninstall-perlSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(perl_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(perldir)/$$f'"; \ + rm -f "$(DESTDIR)$(perldir)/$$f"; \ + done install-taskSCRIPTS: $(task_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(taskdir)" || $(mkdir_p) "$(DESTDIR)$(taskdir)" @@ -8768,6 +8817,23 @@ echo " rm -f '$(DESTDIR)$(propertydir)/$$f'"; \ rm -f "$(DESTDIR)$(propertydir)/$$f"; \ done +install-propertyDATA: $(property_DATA) + @$(NORMAL_INSTALL) + test -z "$(propertydir)" || $(mkdir_p) "$(DESTDIR)$(propertydir)" + @list='$(property_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(propertyDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(propertydir)/$$f'"; \ + $(propertyDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(propertydir)/$$f"; \ + done + +uninstall-propertyDATA: + @$(NORMAL_UNINSTALL) + @list='$(property_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(propertydir)/$$f'"; \ + rm -f "$(DESTDIR)$(propertydir)/$$f"; \ + done install-sampledataDATA: $(sampledata_DATA) @$(NORMAL_INSTALL) test -z "$(sampledatadir)" || $(mkdir_p) "$(DESTDIR)$(sampledatadir)" @@ -8984,7 +9050,7 @@ all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) \ $(DATA) config.h installdirs: - for dir in "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(serverplugindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(taskdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(sampledatadir)" "$(DESTDIR)$(schemadir)"; do \ + for dir in "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(serverplugindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(taskdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(sampledatadir)" "$(DESTDIR)$(schemadir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: $(BUILT_SOURCES) @@ -9113,9 +9179,10 @@ info-am: install-data-am: install-configDATA install-initSCRIPTS \ - install-nodist_propertyDATA install-sampledataDATA \ - install-schemaDATA install-serverLTLIBRARIES \ - install-serverpluginLTLIBRARIES install-taskSCRIPTS + install-nodist_propertyDATA install-perlSCRIPTS \ + install-propertyDATA install-sampledataDATA install-schemaDATA \ + install-serverLTLIBRARIES install-serverpluginLTLIBRARIES \ + install-taskSCRIPTS install-exec-am: install-binPROGRAMS install-binSCRIPTS \ install-sbinPROGRAMS @@ -9148,7 +9215,8 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ uninstall-configDATA uninstall-info-am uninstall-initSCRIPTS \ - uninstall-nodist_propertyDATA uninstall-sampledataDATA \ + uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ + uninstall-propertyDATA uninstall-sampledataDATA \ uninstall-sbinPROGRAMS uninstall-schemaDATA \ uninstall-serverLTLIBRARIES uninstall-serverpluginLTLIBRARIES \ uninstall-taskSCRIPTS @@ -9165,7 +9233,8 @@ install-binPROGRAMS install-binSCRIPTS install-configDATA \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-initSCRIPTS install-man \ - install-nodist_propertyDATA install-sampledataDATA \ + install-nodist_propertyDATA install-perlSCRIPTS \ + install-propertyDATA install-sampledataDATA \ install-sbinPROGRAMS install-schemaDATA \ install-serverLTLIBRARIES install-serverpluginLTLIBRARIES \ install-strip install-taskSCRIPTS installcheck installcheck-am \ @@ -9174,7 +9243,8 @@ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \ uninstall-configDATA uninstall-info-am uninstall-initSCRIPTS \ - uninstall-nodist_propertyDATA uninstall-sampledataDATA \ + uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ + uninstall-propertyDATA uninstall-sampledataDATA \ uninstall-sbinPROGRAMS uninstall-schemaDATA \ uninstall-serverLTLIBRARIES uninstall-serverpluginLTLIBRARIES \ uninstall-taskSCRIPTS From fedora-directory-commits at redhat.com Fri Jun 8 01:09:18 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 7 Jun 2007 21:09:18 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts DSDialogs.pm, NONE, 1.1 Dialog.pm, NONE, 1.1 DialogManager.pm, NONE, 1.1 Inf.pm, NONE, 1.1 Resource.pm, NONE, 1.1 Setup.pm.in, NONE, 1.1 SetupDialogs.pm, NONE, 1.1 SetupLog.pm, NONE, 1.1 Util.pm, NONE, 1.1 setup-ds.pl.in, NONE, 1.1 setup-ds.res.in, NONE, 1.1 Message-ID: <200706080109.l5819IwU021050@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20988/ldapserver/ldap/admin/src/scripts Added Files: DSDialogs.pm Dialog.pm DialogManager.pm Inf.pm Resource.pm Setup.pm.in SetupDialogs.pm SetupLog.pm Util.pm setup-ds.pl.in setup-ds.res.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server Fix Description: This adds the setup related perl modules, scripts, and resource files to the DS base code. This will allow a user to interactively setup (create an instance of) a directory server. This will also form the base of the work to add the console and admin server related setup code. New files/directories: $libdir/fedora-ds/perl - this is where the perl modules (Setup.pm, etc.) will be installed. $bindir/setup-ds.pl - the script to use to interactively create an instance of directory server. This has use lib '$libdir/fedora-ds/perl' hard coded into it at build time, in order to find the "private" setup perl modules. If you invoke this script in silent mode (setup-ds.pl -s) then it is exactly the same as just using ds_newinst.pl. $sysconfdir/fedora-ds/property/setup-ds.res - Resources for setup-ds.pl and the associated modules. I also fixed a problem with the libns-dshttpd linkage. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes. All of these new items will need to be documented. --- NEW FILE DSDialogs.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package DSDialogs; use strict; use Net::Domain qw(hostname hostfqdn); use DialogManager; use Setup; use Dialog; use Util; my $dsport = new Dialog ( $TYPICAL, 'dialog_dsport_text', sub { my $self = shift; my $port = $self->{manager}->{inf}->{slapd}->{ServerPort}; if (!defined($port)) { $port = 389; } if (!portAvailable($port)) { $port = getAvailablePort(); } return $port; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; if ($ans !~ /\d+/) { $self->{manager}->alert("dialog_dsport_error", $ans); } elsif (!portAvailable($ans)) { $self->{manager}->alert("dialog_dsport_error", $ans); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{slapd}->{ServerPort} = $ans; } return $res; }, ['dialog_dsport_prompt'] ); my $dsserverid = new Dialog ( $TYPICAL, 'dialog_dsserverid_text', sub { my $self = shift; my $serverid = $self->{manager}->{inf}->{slapd}->{ServerIdentifier}; if (!defined($serverid)) { $serverid = $self->{manager}->{inf}->{General}->{FullMachineName}; if (!defined($serverid)) { $serverid = hostname; } else { # strip out the leftmost domain component $serverid =~ s/\..*$//; } } return $serverid; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; my $path = $self->{manager}->{setup}->{configdir} . "/slapd-" . $ans; if ($ans !~ /^[0-9a-zA-Z_-]+$/) { $self->{manager}->alert("dialog_dsserverid_error", $ans); } elsif (-d $path) { $self->{manager}->alert("dialog_dsserverid_inuse", $ans); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{slapd}->{ServerIdentifier} = $ans; } return $res; }, ['dialog_dsserverid_prompt'] ); my $dssuffix = new Dialog ( $TYPICAL, 'dialog_dssuffix_text', sub { my $self = shift; my $suffix = $self->{manager}->{inf}->{slapd}->{Suffix}; if (!defined($suffix)) { $suffix = $self->{manager}->{inf}->{General}->{FullMachineName}; if (!defined($suffix)) { $suffix = hostfqdn; } # convert fqdn to dc= domain components $suffix = "dc=$suffix"; $suffix =~ s/\./, dc=/g; } return $suffix; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; if (!isValidDN($ans)) { $self->{manager}->alert("dialog_dssuffix_error", $ans); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{slapd}->{Suffix} = $ans; } return $res; }, ['dialog_dssuffix_prompt'] ); my $dsrootdn = new Dialog ( $EXPRESS, 'dialog_dsrootdn_text', sub { my $self = shift; my $index = shift; my $rootdn; if ($index == 0) { # return undef for password defaults $rootdn = $self->{manager}->{inf}->{slapd}->{RootDN}; if (!defined($rootdn)) { $rootdn = "cn=Directory Manager"; } } return $rootdn; }, sub { my $self = shift; my $ans = shift; my $index = shift; my $res = $DialogManager::SAME; if ($index == 0) { # verify DN if (!isValidDN($ans)) { $self->{manager}->alert("dialog_dsrootdn_error", $ans); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{slapd}->{RootDN} = $ans; } } elsif ($index == 1) { # verify initial password my $test = $ans; if ($test) { $test =~ s/\s//g; } if (!$ans or (length($ans) < 8)) { $self->{manager}->alert("dialog_dsrootpw_tooshort", 8); } elsif (length($test) != length($ans)) { $self->{manager}->alert("dialog_dsrootpw_invalid"); } else { $res = $DialogManager::NEXT; $self->{firstpassword} = $ans; # save for next index } } elsif ($index == 2) { # verify second password if ($ans ne $self->{firstpassword}) { $self->{manager}->alert("dialog_dsrootpw_nomatch"); } else { $self->{manager}->{inf}->{slapd}->{RootDNPwd} = $ans; $res = $DialogManager::NEXT; } } return $res; }, ['dialog_dsrootdn_prompt'], ['dialog_dsrootpw_prompt1', 1], ['dialog_dsrootpw_prompt2', 1] ); my $dssample = new DialogYesNo ( $CUSTOM, 'dialog_dssample_text', 0, sub { my $self = shift; my $ans = shift; my $res = $self->handleResponse($ans); if ($res == $DialogManager::NEXT) { $self->{manager}->{inf}->{slapd}->{AddSampleEntries} = ($self->isYes() ? 'Yes' : 'No'); } return $res; }, ['dialog_dssample_prompt'], ); my $dspopulate = new Dialog ( $CUSTOM, 'dialog_dspopulate_text', sub { my $self = shift; my $val = $self->{manager}->{inf}->{slapd}->{InstallLdifFile}; if (!defined($val)) { $val = 'none'; } return $val; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; if ($ans eq 'none') { $self->{manager}->{inf}->{slapd}->{InstallLdifFile} = 'none'; $self->{manager}->{inf}->{slapd}->{AddOrgEntries} = 'No'; $res = $DialogManager::NEXT; } elsif ($ans eq 'suggest') { $self->{manager}->{inf}->{slapd}->{InstallLdifFile} = 'suggest'; $self->{manager}->{inf}->{slapd}->{AddOrgEntries} = 'Yes'; $res = $DialogManager::NEXT; } else { # a file if (! -f $ans) { $self->{manager}->alert("dialog_dspopulate_error", $ans); } else { $self->{manager}->{inf}->{slapd}->{InstallLdifFile} = $ans; $self->{manager}->{inf}->{slapd}->{AddOrgEntries} = 'No'; $res = $DialogManager::NEXT; } } return $res; }, ['dialog_dspopulate_prompt'] ); sub getDialogs { return ($dsport, $dsserverid, $dssuffix, $dsrootdn, $dssample, $dspopulate); } 1; --- NEW FILE Dialog.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package Dialog; use DialogManager; #require Exporter; #@ISA = qw(Exporter); #@EXPORT = qw(); # NOTE: This "class" is an "abstract" class. There are two methods which # must be provided by subclasses: # $ans = $dialog->defaultAns($promptindex); # where $promptindex is the index into the array of prompts given when # constructing the Dialog object # The dialog will typically use a default answer either hardcoded in # or from some key in the setup cache (.inf) file # # $resp = $dialog->handleResponse($ans, $index); # The dialog uses this method to perform validation of the input, set the value # in the setup cache, display errors or warnings, and tell the dialog manager # if the prompt needs to be redisplayed, or if there was an unrecoverable error # $resp should be $SAME to reprompt, $ERR to abort, or $NEXT to continue # the $ans and defaultAns should be in the native charset, so the dialog # may have to convert to/from utf8 as needed. # a dialog consists of a title, some explanatory text, and one or more prompts # each prompt has a default value. An example of a dialog with more than # one prompt would be a dialog asking the user for the new root DN and password - # in that case, there would be 3 prompts - one for the DN, one for the password, # and one to verify the password # The text and prompts are given as resource keys. Usually the resource value # will be a simple string, in which case the resource key is passed in as a simple # string. However, if the resource string contains replaceable parameters, the # resource key is passed as an array ref consisting of the resource key as the # first element and the parameters to use for replacement as the subsequent # array elements e.g. # $foo = new Dialog(['RESOURCE_KEY_CONFIG_LDAP_URL', $secure, $host, $port, $suffix], ...); # but usually for simple cases like this: # $foo = new Dialog('RESOURCE_KEY_WELCOME', ...); # The manager contains the context for all of the dialogs - the setup type, the resource # file, setup log, other context shared among the dialogs # the type is the setup type - 1, 2, or 3 for express, typical, or custom # type is used to say which types use this dialog sub new { my $type = shift; my $self = {}; $self->{type} = shift; $self->{text} = shift; $self->{defaultAns} = shift; $self->{handleResp} = shift; $self->{prompts} = \@_; $self = bless $self, $type; return $self; } sub setManager { my $self = shift; $self->{"manager"} = shift; } # returns true if this dialog is to be displayed for the current setup type # false otherwise sub isDisplayed { my $self = shift; return $self->{type} <= $self->{"manager"}->{type}; } # each prompt looks like this: # [ 'resource key', is pwd ] # The resource key is the string key of the resource # is pwd is optional - if present, the prompt is for a password # and should not echo the answer # e.g. # ['RESOURCE_USERNAME'], ['RESOURCE_PASSWORD', 1], ['RESOURCE_PASSWORD_AGAIN', 1] sub run { my $self = shift; my $resp = $DialogManager::SAME; # display the dialog text if ($self->isDisplayed()) { $self->{manager}->showText($self->{text}); } # display each prompt for this dialog my $index = 0; my @prompts = @{$self->{prompts}}; for (my $index = 0; $index < @prompts; ++$index) { my $prompt = $prompts[$index]; my $defaultans = $self->{defaultAns}($self, $index); my $ans; if ($self->isDisplayed()) { $ans = $self->{manager}->showPrompt($prompt->[0], $defaultans, $prompt->[1]); } else { $ans = $defaultans; } # see if this is the special BACK response, and finish if so if ($self->{"manager"}->isBack($ans)) { $resp = $DialogManager::BACK; last; } # figure out what action to take based on the users response # this will set values in the setup info file # this will also validate input, and display errors if the # input is not correct - in that case, the resp will be # SAME to reprompt, or ERR if unrecoverable # NOTE: user cannot BACK from prompt to prompt - BACK # always means BACK to the previous dialog $resp = $self->{handleResp}($self, $ans, $index); if ($resp == $DialogManager::SAME) { if (!$self->isDisplayed()) { $self->{manager}->alert('dialog_use_different_type'); $resp = $DialogManager::ERR; } else { $index--; # reprompt } } elsif ($resp == $DialogManager::ERR) { last; } } return $resp; } package DialogYesNo; @ISA = qw(Dialog); sub new { my $type = shift; my $setuptype = shift; my $text = shift; my $defaultIsYes = shift; my $handler = shift || \&handleResponse; my $prompt = shift || ['prompt_yes_no']; my $self = Dialog->new($setuptype, $text, \&defaultAns, $handler, $prompt); $self->{defaultIsYes} = $defaultIsYes; $self = bless $self, $type; return $self; } sub setDefaultYes { my $self = shift; $self->{default} = $self->{"manager"}->getText("yes"); } sub setDefaultNo { my $self = shift; $self->{default} = $self->{"manager"}->getText("no"); } sub defaultAns { my $self = shift; if (exists($self->{ans})) { return $self->{ans}; } if (!exists($self->{default})) { if ($self->{defaultIsYes}) { $self->{default} = $self->{"manager"}->getText("yes"); } else { $self->{default} = $self->{"manager"}->getText("no"); } } return $self->{default}; } sub isYes { my $self = shift; return $self->{ans} eq $self->{"manager"}->getText("yes"); } sub handleResponse { my $self = shift; my $ans = shift; my $resp = $DialogManager::SAME; my $yes = $self->{"manager"}->getText("yes"); my $nno = $self->{"manager"}->getText("no"); # the regexp allows us to use y or ye or yes for "yes" if ($nno =~ /^$ans/) { $resp = $DialogManager::NEXT; $self->{ans} = $nno; } elsif ($yes =~ /^$ans/) { $resp = $DialogManager::NEXT; $self->{ans} = $yes; } else { $self->{"manager"}->alert("yes_no_error"); } return $resp; } ############################################################################# # Mandatory TRUE return value. # 1; --- NEW FILE DialogManager.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package DialogManager; use Exporter (); @ISA = qw(Exporter); @EXPORT = qw($BACK $SAME $NEXT $ERR); @EXPORT_OK = qw($BACK $SAME $NEXT $ERR); use Dialog; use SetupLog; # Dialog responses $BACK = -1; $SAME = 0; $NEXT = 1; $ERR = 2; # The DialogManager controls the flow of the dialogs and contains context shared # among all of the dialogs (resources, logs, current setup type, etc.) # all of these are optional sub new { my $type = shift; my $self = {}; $self->{setup} = shift; $self->{res} = shift; $self->{type} = shift; $self->{log} = $self->{setup}->{log}; $self->{inf} = $self->{setup}->{inf}; $self = bless $self, $type; return $self; } sub getType { my $self = shift; return $self->{type}; } sub setType { my $self = shift; $self->{type} = shift; } sub addDialog { my $self = shift; for my $dialog (@_) { $dialog->setManager($self); push @{$self->{dialogs}}, $dialog; } } # see if the user answered with the special BACK answer sub isBack { my $self = shift; my $ans = shift; # the word "back" if ($ans =~ /back/i) { return 1; } # a Ctrl-B sequence if ($ans eq '') { return 1; } return 0; } sub log { my $self = shift; if (!$self->{log}) { print @_; } else { $self->{log}->logMessage($INFO, "Setup", @_); } } sub getText { my $self = shift; return $self->{res}->getText(@_); } sub handleError { my $self = shift; my $msg = $self->{res}->getText('setup_err_exit'); $self->{log}->logMessage($FATAL, "Setup", $msg); } sub showText { my $self = shift; my $msg = shift; my $text = $self->getText($msg); print "\n", ("=" x 78), "\n"; # display it, print $text; # log it $self->log($text); } sub showPrompt { my $self = shift; my $msg = shift; my $defaultans = shift; my $ispwd = shift; my $text = $self->getText($msg); # display it, print $text; # log it $self->log($text . "\n"); # display the default answer if ($defaultans) { print " [$defaultans]"; } print ": "; # if we are prompting for a password, disable console echo if ($ispwd) { system("stty -echo"); } # read the answer my $ans = ; # if we are prompting for a password, enable console echo if ($ispwd) { system("stty echo"); print "\n"; } chop($ans); # trim trailing newline # see if this is the special BACK response, and finish if so if ($self->isBack($ans)) { $self->log("BACK\n"); return $ans; } if (!length($ans)) { $ans = $defaultans; } # log the response, if not a password if (!$ispwd) { $self->log($ans . "\n"); } return $ans; } sub alert { my $self = shift; my $msg = $self->{res}->getText(@_); print $msg; $self->{log}->logMessage($WARN, "Setup", $msg); } sub run { my $self = shift; my $done; my $index = 0; my $incr = 1; my $rc = 0; while (!$done) { my $dialog = $self->{dialogs}->[$index]; my $resp = $NEXT; $resp = $dialog->run(); if ($resp == $BACK) { $incr = -1; } elsif ($resp == $NEXT) { $incr = 1; } elsif ($resp == $SAME) { $incr = 0; } else { $self->handleError($resp); $done = 1; $rc = 1; } $index += $incr; if ($index < 0) { $index = 0; } elsif ($index >= @{$self->{dialogs}}) { $done = 1; } } return $rc; } ############################################################################# # Mandatory TRUE return value. # 1; --- NEW FILE Inf.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # manages inf files - gets values # given keys package Inf; #require Exporter; #@ISA = qw(Exporter); #@EXPORT = qw(); sub new { my $type = shift; my $self = {}; $self->{filename} = shift; $self = bless $self, $type; if ($self->{filename}) { $self->read(); } return $self; } sub read { # each key in the table is a section name # the value is a hash ref of the items in that section # in that hash ref, each key is the config param name, # and the value is the config param value my $self = shift; my $filename = shift; my $curSection; if ($filename) { $self->{filename} = $filename; } else { $filename = $self->{filename}; } open INF, $filename or die "Error: could not open inf file $filename: $!"; while () { # e.g. [General] if (/^\[(.*?)\]/) { $curSection = $1; } elsif (/^\s*$/) { next; # skip blank lines } elsif (/^\s*\#/) { next; # skip comment lines } elsif (/^\s*(.*?)\s*=\s*(.*?)\s*$/) { $self->{$curSection}->{$1} = $2; } } close INF; } sub section { my $self = shift; my $key = shift; if (!exists($self->{$key})) { print "Error: unknown inf section $key\n"; return undef; } return $self->{$key}; } sub writeSection { my $self = shift; my $name = shift; my $fh = shift; my $section = $self->{$name}; if (ref($section) eq 'HASH') { print $fh "[$name]\n"; for my $key (keys %{$section}) { if (defined($section->{$key})) { print $fh "$key = ", $section->{$key}, "\n"; } } } } sub write { my $self = shift; my $filename = shift; if ($filename) { $self->{filename} = $filename; } else { $filename = $self->{filename}; } open INF, ">$filename" or die "Error: could not write inf file $filename: $!"; # write General section first $self->writeSection('General', \*INF); print INF "\n"; for my $key (keys %{$self}) { next if ($key eq 'General'); $self->writeSection($key, \*INF); print INF "\n"; } close INF; } ############################################################################# # Mandatory TRUE return value. # 1; --- NEW FILE Resource.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # manages resource bundle files - gets values # given keys package Resource; use strict; #require Exporter; #@ISA = qw(Exporter); #@EXPORT = qw(); sub new { my $type = shift; my $self = {}; $self->{filename} = shift; $self = bless $self, $type; if ($self->{filename}) { $self->read(); } return $self; } sub read { my $self = shift; my $filename = shift; if ($filename) { $self->{filename} = $filename; } else { $filename = $self->{filename}; } open RES, $filename or die "Error: could not open resource file $filename: $!"; while () { next if (/^\s*$/); # skip blank lines next if (/^\s*\#/); # skip comment lines # read name = value pairs like this # bol whitespace* name whitespace* '=' whitespace* value eol # the value will include any trailing whitespace if (/^\s*(.*?)\s*=\s*(.*?)$/) { $self->{res}->{$1} = $2; # replace \n with real newline $self->{res}->{$1} =~ s/\\n/\n/g; } } close RES; } # given a resource key and optional args, return the value # $text = $res->getText('key'); # or # $text = $res->getText('key', @args); # or # $text = $res->getText($arrayref) # where $arrayref is ['key', @args] sub getText { my $self = shift; my $key = shift; my @args = @_; if (ref($key) eq 'ARRAY') { my $tmpkey = shift @{$key}; @args = @{$key}; $key = $tmpkey; } if (!exists($self->{res}->{$key})) { print "Error: unknown resource key $key\n"; return undef; } if (!defined($self->{res}->{$key})) { print "Error: resource key $key has no value\n"; return undef; } # see if the args themselves are resource keys for (my $ii = 0; $ii < @args; ++$ii) { if (exists($self->{res}->{$args[$ii]})) { $args[$ii] = $self->{res}->{$args[$ii]}; } } my $text = sprintf $self->{res}->{$key}, @args; return $text; } ############################################################################# # Mandatory TRUE return value. # 1; --- NEW FILE Setup.pm.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # ########################### # # This perl module provides a way to set up a new installation after # the binaries have already been extracted. This is typically after # using native packaging support to install the package e.g. RPM, # pkgadd, depot, etc. This script will show the license, readme, # dsktune, then run the usual setup pre and post installers. # ########################## package Setup; use Exporter (); @ISA = qw(Exporter); @EXPORT = qw($SILENT $EXPRESS $TYPICAL $CUSTOM); @EXPORT_OK = qw($SILENT $EXPRESS $TYPICAL $CUSTOM); # tempfiles use File::Temp qw(tempfile tempdir); # hostname use Net::Domain qw(hostfqdn); # load perldap use Mozilla::LDAP::Conn; use Mozilla::LDAP::Utils qw(normalizeDN); use Mozilla::LDAP::API qw(ldap_explode_dn); use Mozilla::LDAP::LDIF; use Getopt::Long; use File::Temp qw(tempfile tempdir); use SetupLog; # the setup types $SILENT = 0; $EXPRESS = 1; $TYPICAL = 2; $CUSTOM = 3; # process command line options Getopt::Long::Configure(qw(bundling)); # bundling allows -ddddd sub VersionMessage { print "@capbrand@ Directory Server Setup Program Version @PACKAGE_VERSION@\n"; } sub HelpMessage { print < sub { VersionMessage(); HelpMessage(); exit 0 }, 'version|v' => sub { VersionMessage(); exit 0 }, 'debug|d+' => \$debuglevel, 'silent|s' => \$silent, 'file|f=s' => \$inffile, 'keepcache|k' => \$keep, 'preonly|p' => \$preonly, 'logfile|l=s' => \$logfile ); $self->{debuglevel} = $debuglevel; $self->{silent} = $silent; $self->{inffile} = $inffile; $self->{keep} = $keep; $self->{preonly} = $preonly; $self->{logfile} = $logfile; $self->{log} = new SetupLog($self->{logfile}); if (!$self->{inffile}) { my ($fh, $filename) = tempfile("setupXXXXXX", UNLINK => !$keep, SUFFIX => ".inf", OPEN => 0, DIR => File::Spec->tmpdir); $self->{inffile} = $filename; $self->{inf} = new Inf; $self->{inf}->{filename} = $self->{inffile}; } else { $self->{inf} = new Inf($self->{inffile}); $self->{keep} = 1; # do not delete user supplied inf file } # see if user passed in default inf values - also, command line # arguments override those passed in via an inf file - this # allows the reuse of .inf files with some parameters overridden for (@ARGV) { if (/^(\w+).(\w+)=(.*)$/) { # e.g. section.param=value $self->{inf}->{$1}->{$2} = $3; } else { # error print STDERR "Error: unknown command line option $_\n"; usage(); exit 1; } } $self->{configdir} = $ENV{DS_CONFIG_DIR} || "@instconfigdir@"; $self = bless $self, $type; return $self; } # log only goes the the logfile sub log { my $self = shift; my $level = shift; $self->{log}->logMessage($level, "Setup", @_); } # msg does to the screen and optionally to the log file # if you use msg like this: # msg(0, "some message") # it will go only to the screen # if you use msg like this: # msg($WARN, "some message") # it will go to the screen and to the log at the $WARN level sub msg { my $self = shift; my $level = shift; my @text = @_; if (!$level && @text) { # e.g. msg(0, "string") - no logging } elsif ($level and @text and grep {/^$level$/} $self->{log}->levels()) { # e.g. msg($WARN, "string") - print and log } else { # log at default INFO level unshift @text, $level; $level = $INFO; } if ($level) { $self->log($level, @text); } print @text; } sub doExit { my $self = shift; $self->msg($FATAL, "Exiting . . .\n"); $self->msg("Log file is " . $self->{log}->{filename} . "\n"); exit 1; } ############################################################################# # Mandatory TRUE return value. # 1; --- NEW FILE SetupDialogs.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package SetupDialogs; use strict; use DialogManager; use Setup; use Dialog; use Net::Domain qw(hostfqdn); my $welcome = new DialogYesNo ( $EXPRESS, ['dialog_welcome_text', 'brand', 'brand'], 1, sub { my $self = shift; my $ans = shift; my $res = $self->handleResponse($ans); if ($res == $DialogManager::NEXT) { $res = $DialogManager::ERR if (!$self->isYes()); } return $res; }, ['dialog_welcome_prompt'], ); my $license = new DialogYesNo ( $EXPRESS, 'dialog_license_text', 0, sub { my $self = shift; my $ans = shift; my $res = $self->handleResponse($ans); if ($res == $DialogManager::NEXT) { $res = $DialogManager::ERR if (!$self->isYes()); } return $res; }, ['dialog_license_prompt'] ); my $setuptype = new Dialog ( $EXPRESS, 'dialog_setuptype_text', sub { my $self = shift; return $self->{manager}->getType(); }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; if ($ans < $EXPRESS or $ans > $CUSTOM) { $self->{manager}->alert("dialog_setuptype_error"); } else { $res = $DialogManager::NEXT; $self->{manager}->setType($ans); } return $res; }, ['dialog_setuptype_prompt'] ); my $hostdlg = new Dialog ( $TYPICAL, 'dialog_hostname_text', sub { my $self = shift; return $self->{manager}->{inf}->{General}->{FullMachineName} || hostfqdn; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::NEXT; if ($ans !~ /\./) { $self->{manager}->alert("dialog_hostname_warning", $ans); } $self->{manager}->{inf}->{General}->{FullMachineName} = $ans; return $res; }, ['dialog_hostname_prompt'] ); # must verify that the user or uid specified by the user to run the server as # is a valid uid sub verifyUserChoice { my $self = shift; my $ans = shift; my $res = $DialogManager::NEXT; # convert numeric uid to string my $strans = $ans; if ($ans =~ /^\d/) { # numeric - convert to string $strans = getpwuid $ans; if (!$strans) { $self->{manager}->alert("dialog_ssuser_error", $ans); return $DialogManager::SAME; } } if ($> != 0) { # if not root, the user must be our uid my $username = getlogin; if ($strans ne $username) { $self->{manager}->alert("dialog_ssuser_must_be_same", $username); return $DialogManager::SAME; } } else { # user is root - verify id my $nuid = getpwnam $strans; if (!defined($nuid)) { $self->{manager}->alert("dialog_ssuser_error", $ans); return $DialogManager::SAME; } if (!$nuid) { $self->{manager}->alert("dialog_ssuser_root_warning"); } } $self->{manager}->{inf}->{General}->{SuiteSpotUserID} = $ans; return $res; } # must verify that the given group is one of the groups the given user # belongs to sub verifyGroupChoice { my $self = shift; my $ans = shift; my $res = $DialogManager::NEXT; my ($dummy, $memstr); my $strgrp; my $numgrp; if ($ans =~ /^\d/) { # numeric $numgrp = $ans; ($strgrp, $dummy, $dummy, $memstr) = getgrgid $ans; } else { $strgrp = $ans; ($dummy, $dummy, $numgrp, $memstr) = getgrnam $ans; } if (!defined($strgrp) or !defined($numgrp)) { $self->{manager}->alert("dialog_ssgroup_error", $ans); return $DialogManager::SAME; } # get the user id, and then get the user's default group id my $uid = $self->{manager}->{inf}->{General}->{SuiteSpotUserID}; my $usergid; if ($uid =~ /^\d/) { # numeric ($uid, $dummy, $dummy, $usergid, $dummy) = getpwuid $uid; } else { # string ($uid, $dummy, $dummy, $usergid, $dummy) = getpwnam $uid; } if ($numgrp == $usergid) { $self->{manager}->{inf}->{General}->{SuiteSpotGroup} = $ans; } elsif ($memstr) { # see if the user is in the member list if ($memstr =~ /\b$uid\b/) { # uid exactly matches one of the users in the member string $self->{manager}->{inf}->{General}->{SuiteSpotGroup} = $ans; } else { # no match $self->{manager}->alert("dialog_ssgroup_no_match", $self->{manager}->{inf}->{General}->{SuiteSpotUserID}, $ans, $memstr); $res = $DialogManager::SAME; } } else { # user not in group $self->{manager}->alert("dialog_ssgroup_no_user", $self->{manager}->{inf}->{General}->{SuiteSpotUserID}, $ans); $res = $DialogManager::SAME; } return $res; } my $usergroup = new Dialog ( $TYPICAL, 'dialog_ssuser_text', sub { my $self = shift; my $index = shift; if ($index == 0) { my $username = $self->{manager}->{inf}->{General}->{SuiteSpotUserID}; if (!$username) { if ($> == 0) { # if root, use the default user $username = "\@defaultuser\@"; } else { # if not root, use the user's uid $username = getlogin; } } return $username; } else { # group my $groupname = $self->{manager}->{inf}->{General}->{SuiteSpotGroup}; if (!$groupname) { if ($> == 0) { # if root, use the default group $groupname = "\@defaultgroup\@"; } else { # if not root, use the user's gid $groupname = getgrgid $(; } } return $groupname; } }, sub { my $self = shift; my $ans = shift; my $index = shift; if ($index == 0) { return verifyUserChoice($self, $ans); } else { return verifyGroupChoice($self, $ans); } }, ['dialog_ssuser_prompt'], ['dialog_ssgroup_prompt'] ); sub getDialogs { return ($welcome, $license, $setuptype, $hostdlg, $usergroup); } 1; --- NEW FILE SetupLog.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # This implements SetupLog from setuputil InstallLog in perl # package SetupLog; use Exporter (); @ISA = qw(Exporter); @EXPORT = qw($FATAL $START $SUCCESS $WARN $INFO $DEBUG); @EXPORT_OK = qw($FATAL $START $SUCCESS $WARN $INFO $DEBUG); use POSIX qw(strftime); # tempfiles use File::Temp qw(tempfile tempdir); # exported variables $FATAL = "Fatal"; $START = "Start"; $SUCCESS = "Success"; $WARN = "Warning"; $INFO = "Info"; $DEBUG = "Debug"; sub new { my $type = shift; my $filename = shift; my $self = {}; my $fh; if (!$filename) { ($fh, $filename) = tempfile("setupXXXXXX", UNLINK => 0, SUFFIX => ".log", DIR => File::Spec->tmpdir); } else { open LOGFILE, ">$filename" or die "Error: could not open logfile $filename: $!"; $fh = \*LOGFILE; } $self->{fh} = $fh; $self->{filename} = $filename; $self = bless $self, $type; return $self; } sub logMessage { my ($self, $level, $who, $msg, @rest) = @_; if (!$self->{fh}) { return; } my $string = strftime "[%y/%m/%d:%H:%M:%S] - ", localtime; $string .= "[$who] $level "; $string .= sprintf $msg, @rest; print { $self->{fh} } $string; } sub levels { my $self = shift; return ($FATAL, $START, $SUCCESS, $WARN, $INFO, $DEBUG); } ############################################################################# # Mandatory TRUE return value. # 1; --- NEW FILE Util.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package Util; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(portAvailable getAvailablePort isValidDN); @EXPORT_OK = qw(portAvailable getAvailablePort isValidDN); use strict; use Socket; # return true if the given port number is available, false otherwise sub portAvailable { my $port = shift; my $proto = getprotobyname('tcp'); my $rc = socket(SOCK, PF_INET, SOCK_STREAM, $proto); if ($rc == 1) { $rc = bind(SOCK, sockaddr_in($port, INADDR_ANY)); } close(SOCK); return $rc and ($rc == 1); } # returns a randomly assigned port number, or -1 # if not able to find an available port sub getAvailablePort { my $MINPORT = 1024; my $MAXPORT = 65535; srand( time() ^ ($$ + ($$ << 15)) ); while (1) { my $port = $MINPORT + int(rand($MAXPORT-$MINPORT)); if (portAvailable($port)) { return $port; } } } sub isValidDN { my $dn = shift; return ($dn =~ /^[0-9a-zA-Z_-]+=.*$/); } 1; --- NEW FILE setup-ds.pl.in --- #!/usr/bin/env perl # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # use lib '@perldir@'; use strict; use Setup; use Inf; use Resource; use DialogManager; my $setup = new Setup; if (!$setup->{silent}) { my $res = new Resource("@propertydir@/setup-ds.res"); my $dialogmgr = new DialogManager($setup, $res, $TYPICAL); require SetupDialogs; require DSDialogs; my @dialogs = SetupDialogs->getDialogs(); push @dialogs, DSDialogs->getDialogs(); $dialogmgr->addDialog(@dialogs); my $rc = $dialogmgr->run(); if ($rc) { $setup->doExit(); } $setup->{inf}->write(); } system("@bindir@/ds_newinst.pl $setup->{inffile}"); if (!$setup->{keep}) { unlink $setup->{inffile}; } $setup->doExit(); --- NEW FILE setup-ds.res.in --- # ------------ Global Resources ----------- brand = @capbrand@ yes = yes no = no yes_no_error = Please answer "yes" or "no"\n\n setup_err_exit = Setup cannot proceed. Exiting.\n\n dialog_use_different_type = When using Silent or Express mode, some of the\ndialogs are skipped, but validation is still performed\non the default or given answers. You should run this program again and\nchoose Typical or Custom mode in order to provide a valid input\nfor the problem dialog.\n\n # ------------ Welcome Dialog Resource ------------ dialog_welcome_text = This program will setup the %s Directory Server.\n\nIt is recommended that you have "root" privilege to setup the software.\nTips for using this program:\n - Press "Enter" to choose the default and go to the next screen\n - Type "Control-B" then "Enter" to go back to the previous screen\n - Type "Control-C" to cancel the setup program\n - You can enter multiple items using commas to separate them.\n For example: 1, 2, 3 \n\n # %s -> brand dialog_welcome_prompt = Would you like to continue with setup? # ----------- License Dialog Resource ----------- dialog_license_text = BY SETTING UP AND USING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY\nAND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE\nLICENSE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS\nOF THIS AGREEMENT, PLEASE DO NOT SETUP OR USE THIS SOFTWARE.\n\n dialog_license_prompt = Do you agree to the license terms? # ----------- Setup Type Dialog Resource ---------------- dialog_setuptype_text = Choose a setup type:\n\n 1. Express\n Allows you to quickly setup the servers using the most\n common options and pre-defined defaults. Useful for quick\n evaluation of the products.\n\n 2. Typical\n Allows you to specify common defaults and options.\n\n 3. Custom\n Allows you to specify more advanced options. This is \n recommended for experienced server administrators only.\n\nTo accept the default shown in brackets, press the Enter key.\n\n dialog_setuptype_prompt = Choose a setup type dialog_setuptype_error = Invalid setup type\n\n # ----------- HostName Dialog Resource ---------------- dialog_hostname_text = Enter the fully qualified domain name of the computer\non which you're setting up server software. Using the form\n.\nExample: eros.example.com.\n\nTo accept the default shown in brackets, press the Enter key.\n\n dialog_hostname_prompt = Computer name dialog_hostname_warning = The hostname %s does not look like a\nfully qualified host and domain name.\nIf you feel you have made a mistake,\nplease go back to this dialog and enter another name.\n\n # ----------- SSUser Dialog Resource ---------------- dialog_ssuser_text = The server must run as a specific user in a specific group.\nIt is strongly recommended that this user should have no privileges\non the computer (i.e. a non-root user). The Administration Server\nwill give this user/group some permissions in specific paths/files\nto perform server-specific operations.\n\nIf you have not yet created a user and group for the server,\ncreate this user and group using your native operating\nsystem utilities.\n\n dialog_ssuser_prompt = System User dialog_ssuser_error = The user '%s' is invalid.\n\n dialog_ssuser_must_be_same = Since you are not running setup as root, the System User must be the same as your userid '%s'.\n\n dialog_ssuser_root_warning = You are strongly discouraged to use a non-root user for the server uid.\nIf you feel you have made a mistake,\nplease go back to this dialog and enter another system user.\n\n dialog_ssgroup_prompt = System Group dialog_ssgroup_error = The group '%s' is invalid.\n\n dialog_ssgroup_no_match = The system user '%s' does not belong to the group '%s'.\n\nThis is the list of users of the given group: %s\n\n dialog_ssgroup_no_user = The system user '%s' does not belong to the group '%s'.\n\n # ----------- DS port Dialog Resource ---------------- dialog_dsport_text = The standard directory server network port number is 389. However, if\nyou are not logged as the superuser, or port 389 is in use, the\ndefault value will be a random unused port number greater than 1024.\nIf you want to use port 389, make sure that you are logged in as the\nsuperuser, that port 389 is not in use.\n\n dialog_dsport_prompt = Directory server network port dialog_dsport_error = The port %s is in use or not available. Please choose another port.\n\n # ----------- DS server ID Dialog Resource ---------------- dialog_dsserverid_text = Each instance of a directory server requires a unique identifier.\nThis identifier is used to name the various\ninstance specific files and directories in the file system,\nas well as for other uses as a server instance identifier.\n\n dialog_dsserverid_prompt = Directory server identifier dialog_dsserverid_error = The server identifier '%s' is not valid. Please choose another one.\n\n dialog_dsserverid_inuse = The server identifier '%s' is already in use. Please choose another one.\n\n # ----------- DS suffix Dialog Resource ---------------- dialog_dssuffix_text = The suffix is the root of your directory tree. The suffix must be a valid DN.\nIt is recommended that you use the dc=domaincomponent suffix convention.\nFor example, if your domain is example.com,\nyou should use dc=example,dc=com for your suffix.\nSetup will create this initial suffix for you,\nbut you may have more than one suffix.\nUse the directory server utilities to create additional suffixes.\n\n dialog_dssuffix_prompt = Suffix dialog_dssuffix_error = The suffix '%s' is not a valid DN. Please choose another one.\n\n # ----------- DS Root DN and password Dialog Resource ---------------- dialog_dsrootdn_text = Certain directory server operations require an administrative user.\nThis user is referred to as the Directory Manager and typically has a\nbind Distinguished Name (DN) of cn=Directory Manager.\nYou will also be prompted for the password for this user. The password must\nbe at least 8 characters long, and contain no spaces.\n\n dialog_dsrootdn_prompt = Directory Manager DN dialog_dsrootdn_error = The input '%s' is not a valid DN. Please choose another one.\n\n dialog_dsrootpw_prompt1 = Password dialog_dsrootpw_prompt2 = Password (again) dialog_dsrootpw_invalid = The password contains invalid characters. Please choose another one.\n\n dialog_dsrootpw_tooshort = The password must be at least %s characters long. Please choose another one.\n\n dialog_dsrootpw_nomatch = The passwords do not match. Please try again.\n\n # ----------- DS Sample Data Dialog Resource ---------------- dialog_dssample_text = You may install some sample entries in this directory instance. These\nentries will be installed in a separate suffix and will not interfere\nwith the normal operation of the directory server.\n\n dialog_dssample_prompt = Do you want to install the sample entries? # ----------- DS Populate Data Dialog Resource ---------------- dialog_dspopulate_text = You may wish to populate your new directory instance with some data.\n"You may already have a file in LDIF format to use or some suggested\nentries can be added. If you want to import entries from an LDIF\nfile, you may type in the full path and filename at the prompt. If\nyou want the setup program to add the suggested entries, type the\nword suggest at the prompt. The suggested entries are common\ncontainer entries under your specified suffix, such as ou=People and\nou=Groups, which are commonly used to hold the entries for the persons\nand groups in your organization. If you do not want to add any of\nthese entries, type the word none at the prompt.\n\n dialog_dspopulate_prompt = Type the full path and filename, the word suggest, or the word none dialog_dspopulate_error = The file '%s' was not found. Please choose another one.\n\n From fedora-directory-commits at redhat.com Fri Jun 8 20:36:55 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 8 Jun 2007 16:36:55 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Resource.pm, 1.1, 1.2 setup-ds.res.in, 1.1, 1.2 Message-ID: <200706082036.l58KatIW025295@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25137/ldapserver/ldap/admin/src/scripts Modified Files: Resource.pm setup-ds.res.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server Fix Description: The Resource class needs to support more than 1 resource file e.g. for ds-base and ds-admin. The property dir should be under $datadir. Property files are data files, not really config files. Added a shared_lib_suffix token Fixed some wording errors in the resource file. Platforms tested: RHEL4 Flag Day: no Doc impact: No new doc impact from previous commits for this bug. Index: Resource.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Resource.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Resource.pm 8 Jun 2007 01:09:16 -0000 1.1 +++ Resource.pm 8 Jun 2007 20:36:53 -0000 1.2 @@ -51,41 +51,44 @@ my $type = shift; my $self = {}; - $self->{filename} = shift; + while (@_) { + push @{$self->{filenames}}, shift; + } $self = bless $self, $type; - if ($self->{filename}) { + if (@{$self->{filenames}}) { $self->read(); } return $self; } +# the resource files are read in order given. Definitions from +# later files override the same definitions in earlier files. sub read { my $self = shift; - my $filename = shift; - if ($filename) { - $self->{filename} = $filename; - } else { - $filename = $self->{filename}; - } - - open RES, $filename or die "Error: could not open resource file $filename: $!"; - while () { - next if (/^\s*$/); # skip blank lines - next if (/^\s*\#/); # skip comment lines - # read name = value pairs like this - # bol whitespace* name whitespace* '=' whitespace* value eol - # the value will include any trailing whitespace - if (/^\s*(.*?)\s*=\s*(.*?)$/) { - $self->{res}->{$1} = $2; - # replace \n with real newline - $self->{res}->{$1} =~ s/\\n/\n/g; + while (@_) { + push @{$self->{filenames}}, shift; + } + + for my $filename (@{$self->{filenames}}) { + open RES, $filename or die "Error: could not open resource file $filename: $!"; + while () { + next if (/^\s*$/); # skip blank lines + next if (/^\s*\#/); # skip comment lines + # read name = value pairs like this + # bol whitespace* name whitespace* '=' whitespace* value eol + # the value will include any trailing whitespace + if (/^\s*(.*?)\s*=\s*(.*?)$/) { + $self->{res}->{$1} = $2; + # replace \n with real newline + $self->{res}->{$1} =~ s/\\n/\n/g; + } } - } - close RES; + close RES; + } } # given a resource key and optional args, return the value Index: setup-ds.res.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/setup-ds.res.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setup-ds.res.in 8 Jun 2007 01:09:16 -0000 1.1 +++ setup-ds.res.in 8 Jun 2007 20:36:53 -0000 1.2 @@ -34,12 +34,12 @@ dialog_hostname_warning = The hostname %s does not look like a\nfully qualified host and domain name.\nIf you feel you have made a mistake,\nplease go back to this dialog and enter another name.\n\n # ----------- SSUser Dialog Resource ---------------- -dialog_ssuser_text = The server must run as a specific user in a specific group.\nIt is strongly recommended that this user should have no privileges\non the computer (i.e. a non-root user). The Administration Server\nwill give this user/group some permissions in specific paths/files\nto perform server-specific operations.\n\nIf you have not yet created a user and group for the server,\ncreate this user and group using your native operating\nsystem utilities.\n\n +dialog_ssuser_text = The server must run as a specific user in a specific group.\nIt is strongly recommended that this user should have no privileges\non the computer (i.e. a non-root user). The setup procedure\nwill give this user/group some permissions in specific paths/files\nto perform server-specific operations.\n\nIf you have not yet created a user and group for the server,\ncreate this user and group using your native operating\nsystem utilities.\n\n dialog_ssuser_prompt = System User dialog_ssuser_error = The user '%s' is invalid.\n\n dialog_ssuser_must_be_same = Since you are not running setup as root, the System User must be the same as your userid '%s'.\n\n -dialog_ssuser_root_warning = You are strongly discouraged to use a non-root user for the server uid.\nIf you feel you have made a mistake,\nplease go back to this dialog and enter another system user.\n\n +dialog_ssuser_root_warning = You are strongly encouraged to use a non-root user for the server uid.\nIf you feel you have made a mistake,\nplease go back to this dialog and enter another system user.\n\n dialog_ssgroup_prompt = System Group dialog_ssgroup_error = The group '%s' is invalid.\n\n dialog_ssgroup_no_match = The system user '%s' does not belong to the group '%s'.\n\nThis is the list of users of the given group: %s\n\n From fedora-directory-commits at redhat.com Fri Jun 8 20:36:55 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 8 Jun 2007 16:36:55 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.am, 1.40, 1.41 configure.ac, 1.29, 1.30 aclocal.m4, 1.32, 1.33 configure, 1.43, 1.44 missing, 1.25, 1.26 install-sh, 1.25, 1.26 depcomp, 1.25, 1.26 compile, 1.25, 1.26 config.sub, 1.24, 1.25 config.guess, 1.24, 1.25 Makefile.in, 1.47, 1.48 Message-ID: <200706082036.l58KatOM025281@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25137/ldapserver Modified Files: Makefile.am configure.ac aclocal.m4 configure missing install-sh depcomp compile config.sub config.guess Makefile.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server Fix Description: The Resource class needs to support more than 1 resource file e.g. for ds-base and ds-admin. The property dir should be under $datadir. Property files are data files, not really config files. Added a shared_lib_suffix token Fixed some wording errors in the resource file. Platforms tested: RHEL4 Flag Day: no Doc impact: No new doc impact from previous commits for this bug. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.am,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- Makefile.am 8 Jun 2007 01:09:14 -0000 1.40 +++ Makefile.am 8 Jun 2007 20:36:52 -0000 1.41 @@ -67,7 +67,7 @@ #------------------------ configdir = $(sysconfdir)@configdir@ sampledatadir = $(datadir)@sampledatadir@ -propertydir = $(sysconfdir)@propertydir@ +propertydir = $(datadir)@propertydir@ schemadir = $(sysconfdir)@schemadir@ serverdir = $(libdir)@serverdir@ serverplugindir = $(libdir)@serverplugindir@ @@ -76,6 +76,8 @@ instconfigdir = @instconfigdir@ perldir = $(libdir)@perldir@ +shared_lib_suffix = @shared_lib_suffix@ + #------------------------ # Build Products #------------------------ @@ -1016,7 +1018,8 @@ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ - -e 's, at perldir\@,$(perldir),g' + -e 's, at perldir\@,$(perldir),g' \ + -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' else fixupcmd = sed \ -e 's, at bindir\@,$(bindir),g' \ @@ -1046,7 +1049,8 @@ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ - -e 's, at perldir\@,$(perldir),g' + -e 's, at perldir\@,$(perldir),g' \ + -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' endif %: %.in Index: configure.ac =================================================================== RCS file: /cvs/dirsec/ldapserver/configure.ac,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- configure.ac 8 Jun 2007 01:09:15 -0000 1.29 +++ configure.ac 8 Jun 2007 20:36:52 -0000 1.30 @@ -186,8 +186,8 @@ # Shared paths for all layouts # relative to sysconfdir configdir=/$PACKAGE_NAME/config -# relative to sysconfdir -propertydir=/$PACKAGE_NAME/property +# location of property/resource files, relative to datadir +propertydir=/$PACKAGE_NAME/properties # relative to sysconfdir schemadir=/$PACKAGE_NAME/schema # relative to libdir @@ -223,6 +223,7 @@ # cygnus, mingw, or the like and using cmd.exe as the shell AM_CONDITIONAL([WINNT], false) +shared_lib_suffix=.so # Deal with platform dependent defines # relative to sysconfdir initdir=/rc.d @@ -260,6 +261,7 @@ AC_DEFINE([OS_hpux], [1], [OS HP-UX]) AC_DEFINE([_POSIX_C_SOURCE], [199506L], [POSIX revision]) AC_DEFINE([_HPUX_SOURCE], [1], [Source namespace]) + shared_lib_suffix=.sl platform="hpux" ;; sparc-sun-solaris*) @@ -295,6 +297,7 @@ ;; esac AC_SUBST(initdir) +AC_SUBST(shared_lib_suffix) AM_CONDITIONAL(HPUX,test "$platform" = "hpux") AM_CONDITIONAL(SOLARIS,test "$platform" = "solaris") Index: configure =================================================================== RCS file: /cvs/dirsec/ldapserver/configure,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- configure 8 Jun 2007 01:09:15 -0000 1.43 +++ configure 8 Jun 2007 20:36:52 -0000 1.44 @@ -465,7 +465,7 @@ #endif" ac_default_prefix=/opt/$PACKAGE_NAME -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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor 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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -23177,8 +23177,8 @@ # Shared paths for all layouts # relative to sysconfdir configdir=/$PACKAGE_NAME/config -# relative to sysconfdir -propertydir=/$PACKAGE_NAME/property +# location of property/resource files, relative to datadir +propertydir=/$PACKAGE_NAME/properties # relative to sysconfdir schemadir=/$PACKAGE_NAME/schema # relative to libdir @@ -23228,6 +23228,7 @@ fi +shared_lib_suffix=.so # Deal with platform dependent defines # relative to sysconfdir initdir=/rc.d @@ -23361,6 +23362,7 @@ #define _HPUX_SOURCE 1 _ACEOF + shared_lib_suffix=.sl platform="hpux" ;; sparc-sun-solaris*) @@ -23446,6 +23448,7 @@ + if test "$platform" = "hpux"; then HPUX_TRUE= HPUX_FALSE='#' @@ -25999,6 +26002,7 @@ s, at LIBCSTD@,$LIBCSTD,;t t s, at LIBCRUN@,$LIBCRUN,;t t s, at initdir@,$initdir,;t t +s, at shared_lib_suffix@,$shared_lib_suffix,;t t s, at HPUX_TRUE@,$HPUX_TRUE,;t t s, at HPUX_FALSE@,$HPUX_FALSE,;t t s, at SOLARIS_TRUE@,$SOLARIS_TRUE,;t t Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- Makefile.in 8 Jun 2007 01:09:15 -0000 1.47 +++ Makefile.in 8 Jun 2007 20:36:52 -0000 1.48 @@ -962,7 +962,7 @@ perldir = $(libdir)@perldir@ prefix = @prefix@ program_transform_name = @program_transform_name@ -propertydir = $(sysconfdir)@propertydir@ +propertydir = $(datadir)@propertydir@ sampledatadir = $(datadir)@sampledatadir@ sasl_inc = @sasl_inc@ sasl_lib = @sasl_lib@ @@ -972,6 +972,7 @@ scripttemplatedir = @scripttemplatedir@ serverdir = $(libdir)@serverdir@ serverplugindir = $(libdir)@serverplugindir@ +shared_lib_suffix = @shared_lib_suffix@ sharedstatedir = @sharedstatedir@ svrcore_inc = @svrcore_inc@ svrcore_lib = @svrcore_lib@ @@ -1909,7 +1910,8 @@ @BUNDLE_FALSE@ -e 's, at brand\@,$(brand),g' \ @BUNDLE_FALSE@ -e 's, at capbrand\@,$(capbrand),g' \ @BUNDLE_FALSE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ - at BUNDLE_FALSE@ -e 's, at perldir\@,$(perldir),g' + at BUNDLE_FALSE@ -e 's, at perldir\@,$(perldir),g' \ + at BUNDLE_FALSE@ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' # these are for the config files and scripts that we need to generate and replace @@ -1946,7 +1948,8 @@ @BUNDLE_TRUE@ -e 's, at brand\@,$(brand),g' \ @BUNDLE_TRUE@ -e 's, at capbrand\@,$(capbrand),g' \ @BUNDLE_TRUE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ - at BUNDLE_TRUE@ -e 's, at perldir\@,$(perldir),g' + at BUNDLE_TRUE@ -e 's, at perldir\@,$(perldir),g' \ + at BUNDLE_TRUE@ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-am From fedora-directory-commits at redhat.com Fri Jun 8 22:49:20 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 8 Jun 2007 18:49:20 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src ASDialogs.pm.in, NONE, 1.1 setup-ds-admin.pl.in, NONE, 1.1 setup-ds-admin.res.in, NONE, 1.1 Message-ID: <200706082249.l58MnKHF020962@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20908/adminserver/admserv/newinst/src Added Files: ASDialogs.pm.in setup-ds-admin.pl.in setup-ds-admin.res.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server Reviewed by: nkinder (Thanks!) Fix Description: This adds the admin server specific setup "ui" and main script driver. Some of the values are currently missing because they don't yet have ui support. These are commented out in setup-ds-admin.pl. But at least this gives us the framework to add support for config DS creation, server registration, and other post config stuff. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes, along with the rest of the new setup stuff. --- NEW FILE ASDialogs.pm.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package ASDialogs; use strict; use DialogManager; use Setup; use Dialog; use Util; my $asport = new Dialog ( $TYPICAL, 'dialog_asport_text', sub { my $self = shift; my $port = $self->{manager}->{inf}->{admin}->{Port}; if (!defined($port)) { $port = @admservport@; } if (!portAvailable($port)) { $port = getAvailablePort(); } return $port; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; if ($ans !~ /\d+/) { $self->{manager}->alert("dialog_asport_error", $ans); } elsif (!portAvailable($ans)) { $self->{manager}->alert("dialog_asport_error", $ans); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{admin}->{Port} = $ans; } return $res; }, ['dialog_asport_prompt'] ); my $ashostip = new Dialog ( $CUSTOM, 'dialog_ashostip_text', sub { my $self = shift; return $self->{manager}->{inf}->{admin}->{ServerIpAddress}; }, sub { my $self = shift; my $ans = shift; $self->{manager}->{inf}->{admin}->{ServerIpAddress} = shift; return $DialogManager::NEXT; }, ['dialog_ashostip_prompt'] ); # must verify that the user or uid specified by the user to run the server as # is a valid uid sub verifyUserChoice { my $self = shift; my $ans = shift; my $res = $DialogManager::NEXT; # convert numeric uid to string my $strans = $ans; if ($ans =~ /^\d/) { # numeric - convert to string $strans = getpwuid $ans; if (!$strans) { $self->{manager}->alert("dialog_assysuser_error", $ans); return $DialogManager::SAME; } } if ($> != 0) { # if not root, the user must be our uid my $username = getlogin; if ($strans ne $username) { $self->{manager}->alert("dialog_assysuser_must_be_same", $username); return $DialogManager::SAME; } } else { # user is root - verify id my $nuid = getpwnam $strans; if (!defined($nuid)) { $self->{manager}->alert("dialog_assysuser_error", $ans); return $DialogManager::SAME; } if (!$nuid) { $self->{manager}->alert("dialog_assysuser_root_warning"); } } $self->{manager}->{inf}->{admin}->{SysUser} = $ans; return $res; } my $assysuser = new Dialog ( $CUSTOM, 'dialog_assysuser_text', sub { my $self = shift; my $user = $self->{manager}->{inf}->{admin}->{SysUser}; if (!defined($user)) { $user = $self->{manager}->{inf}->{General}->{SuiteSpotUserID}; } if (!defined($user)) { if ($> == 0) { # if root, use the default user $user = "@httpduser@"; } else { # if not root, use the user's uid $user = getlogin; } } return $user; }, sub { my $self = shift; my $ans = shift; return verifyUserChoice($self, $ans); }, ['dialog_assysuser_prompt'] ); sub getDialogs { return ($asport, $ashostip, $assysuser); } 1; --- NEW FILE setup-ds-admin.pl.in --- #!/usr/bin/env perl # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # use lib '@perldir@'; use strict; use Setup; use SetupLog; use Inf; use Resource; use DialogManager; my $setup = new Setup; if (!$setup->{silent}) { my $res = new Resource("@propertydir@/setup-ds.res", "@propertydir@/setup-ds-admin.res"); my $dialogmgr = new DialogManager($setup, $res, $TYPICAL); require SetupDialogs; require DSDialogs; require ASDialogs; my @dialogs = SetupDialogs->getDialogs(); push @dialogs, DSDialogs->getDialogs(); push @dialogs, ASDialogs->getDialogs(); $dialogmgr->addDialog(@dialogs); my $rc = $dialogmgr->run(); if ($rc) { $setup->doExit(); } # these values are currently missing - have no UI support - ServerAdminID and Pwd # are supposed to be derived from ConfigDirectoryAdminID and Pwd # $setup->{inf}->{admin}->{ServerAdminID} = "admin"; # $setup->{inf}->{admin}->{ServerAdminPwd} = "admin"; # $setup->{inf}->{General}->{ConfigDirectoryLdapURL} = "ldap://localhost.localdomain:1100/o=NetscapeRoot"; # $setup->{inf}->{General}->{ConfigDirectoryAdminID} = "admin"; # $setup->{inf}->{General}->{ConfigDirectoryAdminPwd} = "admin"; # $setup->{inf}->{General}->{AdminDomain} = "localdomain"; $setup->{inf}->write(); } # create a directory server instance if (system("@bindir@/ds_newinst.pl $setup->{inffile}")) { print STDERR "Failed to create directory server instance\n"; $setup->{log}->logMessage($FATAL, "Setup", "Failed to create directory server instance"); } # configure the admin server instance if (system("@cmdbindir@/ds-admin-update -f $setup->{inffile}")) { print STDERR "Failed to configure administration server\n"; $setup->{log}->logMessage($FATAL, "Setup", "Failed to configure administration server"); } END { if (!$setup->{keep}) { unlink $setup->{inffile}; } $setup->doExit(); } --- NEW FILE setup-ds-admin.res.in --- # this overrides the default # ------------ Welcome Dialog Resource ------------ dialog_welcome_text = This program will setup the %s Directory and Administration Servers.\n\nIt is recommended that you have "root" privilege to setup the software.\nTips for using this program:\n - Press "Enter" to choose the default and go to the next screen\n - Type "Control-B" then "Enter" to go back to the previous screen\n - Type "Control-C" to cancel the setup program\n - You can enter multiple items using commas to separate them.\n For example: 1, 2, 3 \n\n # %s -> brand # this overrides the default # ----------- SSUser Dialog Resource ---------------- dialog_ssuser_text = The servers must run as a specific user in a specific group.\nIt is strongly recommended that this user should have no privileges\non the computer (i.e. a non-root user). The setup procedure\nwill give this user/group some permissions in specific paths/files\nto perform server-specific operations.\n\nIf you have not yet created a user and group for the servers,\ncreate this user and group using your native operating\nsystem utilities.\n\n # ----------- AS port Dialog Resource ---------------- dialog_asport_text = The Administration Server is separate from any of your web or application\nservers since it listens to a different port and access to it is\nrestricted.\n\nPick a port number between 1024 and 65535 to run your Administration\nServer on. You should NOT use a port number which you plan to\nrun a web or application server on, rather, select a number which you\nwill remember and which will not be used for anything else.\n\nThe default in brackets was randomly selected from the available\nports on your system.\n\n dialog_asport_prompt = Administration port dialog_asport_error = The port %s is in use or not available. Please choose another port.\n\n # ----------- AS host IP Dialog Resource ---------------- dialog_ashostip_text = If you want to configure the Administration Server to bind\nto a specific IP address, enter the address below.\n\n dialog_ashostip_prompt = IP address # ----------- AS sys user Dialog Resource ---------------- dialog_assysuser_text = The Administration Server program runs as a certain user on your\nsystem. This user must have permission to modify files and directories\nfor your Directory server as well as the Administration server. You\nare strongly encouraged to use a non-privileged (i.e. non-root) user.\n\n dialog_assysuser_prompt = Run Administration Server as dialog_assysuser_error = The user '%s' is invalid.\n\n dialog_assysuser_must_be_same = Since you are not running setup as root, the user must be the same as your userid '%s'.\n\n dialog_assysuser_root_warning = You are strongly encouraged to use a non-root user for\nthe server uid. If you feel you have made a mistake,\nplease go back to this dialog and enter another user.\n\n From fedora-directory-commits at redhat.com Fri Jun 8 22:49:20 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 8 Jun 2007 18:49:20 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.6, 1.7 configure.ac, 1.4, 1.5 aclocal.m4, 1.4, 1.5 configure, 1.5, 1.6 missing, 1.3, 1.4 install-sh, 1.3, 1.4 depcomp, 1.3, 1.4 config.sub, 1.3, 1.4 config.guess, 1.3, 1.4 compile, 1.3, 1.4 Makefile.in, 1.6, 1.7 Message-ID: <200706082249.l58MnKX7020971@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20908/adminserver Modified Files: Makefile.am configure.ac aclocal.m4 configure missing install-sh depcomp config.sub config.guess compile Makefile.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server Reviewed by: nkinder (Thanks!) Fix Description: This adds the admin server specific setup "ui" and main script driver. Some of the values are currently missing because they don't yet have ui support. These are commented out in setup-ds-admin.pl. But at least this gives us the framework to add support for config DS creation, server registration, and other post config stuff. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes, along with the rest of the new setup stuff. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Makefile.am 21 May 2007 15:52:25 -0000 1.6 +++ Makefile.am 8 Jun 2007 22:49:18 -0000 1.7 @@ -81,6 +81,7 @@ ldifdir = $(datadir)@ldifdir@ admmoddir = $(libdir)@admmoddir@ infdir = $(datadir)@infdir@ +perldir = $(libdir)@perldir@ libbase_a_SOURCES = lib/base/file.cpp lib/base/nscperror.c \ lib/base/system.cpp lib/base/nscputil.cpp @@ -127,8 +128,12 @@ cgibin_SCRIPTS = admserv/cgi-src40/Cgi.pm nodist_cmdbin_SCRIPTS = admserv/cfgstuff/start-ds-admin admserv/cfgstuff/stop-ds-admin admserv/cfgstuff/restart-ds-admin +cmdbin_SCRIPTS = admserv/newinst/src/setup-ds-admin.pl + cmdbin_PROGRAMS = ds-admin-config ds-admin-remove ds-admin-update +perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm + libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) # source files for our CGI programs @@ -244,8 +249,10 @@ admserv/cgi-src40/viewlog_root.res MOSTLYCLEANFILES += $(RESOURCE_BUNDLES_ROOT) -# property file installation is handled specially +# ICU resource file installation is handled specially nodist_property_DATA = $(RESOURCE_BUNDLES_ROOT) +# regular property files go here +property_DATA = admserv/newinst/src/setup-ds-admin.res # French resource bundles (for the French localization in the future) #RESOURCE_BUNDLES_FR = foo_fr.res @@ -270,6 +277,7 @@ # ADMConfigDir = /etc/packagename fixupcmd = sed \ -e 's, at HTTPD\@,$(HTTPD),g' \ + -e 's, at bindir\@,$(bindir),g' \ -e 's, at cgibindir\@,$(cgibindir),g' \ -e 's, at cmdbindir\@,$(cmdbindir),g' \ -e 's, at moddir\@,$(moddir),g' \ @@ -303,7 +311,8 @@ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ - -e 's, at mimemagic\@,$(mimemagic),g' + -e 's, at mimemagic\@,$(mimemagic),g' \ + -e 's, at perldir\@,$(perldir),g' # because the source may be either httpd.conf.in or httpd-2.2.conf.in admserv/cfgstuff/httpd.conf: $(HTTPD_CONF_SRC) Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- configure.ac 21 May 2007 15:52:25 -0000 1.4 +++ configure.ac 8 Jun 2007 22:49:18 -0000 1.5 @@ -142,6 +142,9 @@ # relative to libdir admmoddir=/$PACKAGE_BASE_NAME/modules +# relative to libdir +perldir=/$PACKAGE_BASE_NAME/perl + # write out paths for binary components AC_SUBST(PACKAGE_BASE_NAME) AC_SUBST(nspr_inc) @@ -191,6 +194,7 @@ AC_SUBST(admmoddir) AC_SUBST(nssmoddir) AC_SUBST(infdir) +AC_SUBST(perldir) AC_SUBST(brand) AC_SUBST(capbrand) Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- configure 21 May 2007 15:52:25 -0000 1.5 +++ configure 8 Jun 2007 22:49:18 -0000 1.6 @@ -468,7 +468,7 @@ ac_default_prefix=/opt/$PACKAGE_BASE_NAME ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -24736,6 +24736,9 @@ # relative to libdir admmoddir=/$PACKAGE_BASE_NAME/modules +# relative to libdir +perldir=/$PACKAGE_BASE_NAME/perl + # write out paths for binary components @@ -24790,6 +24793,7 @@ + # WINNT should be true if building on Windows system not using # cygnus, mingw, or the like and using cmd.exe as the shell @@ -25655,6 +25659,7 @@ s, at admmoddir@,$admmoddir,;t t s, at nssmoddir@,$nssmoddir,;t t s, at infdir@,$infdir,;t t +s, at perldir@,$perldir,;t t s, at brand@,$brand,;t t s, at capbrand@,$capbrand,;t t s, at vendor@,$vendor,;t t Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Makefile.in 21 May 2007 15:52:25 -0000 1.6 +++ Makefile.in 8 Jun 2007 22:49:18 -0000 1.7 @@ -79,10 +79,12 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" \ "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cgibindir)" \ - "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(helpdir)" \ + "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cmdbindir)" \ + "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" \ "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" \ "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" \ - "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" + "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" \ + "$(DESTDIR)$(propertydir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) libds_admin_serv_la_LIBADD = @@ -182,8 +184,11 @@ viewlog_OBJECTS = $(am_viewlog_OBJECTS) viewlog_DEPENDENCIES = $(am__DEPENDENCIES_1) cgibinSCRIPT_INSTALL = $(INSTALL_SCRIPT) +cmdbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) nodist_cmdbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(cgibin_SCRIPTS) $(nodist_cmdbin_SCRIPTS) +perlSCRIPT_INSTALL = $(INSTALL_SCRIPT) +SCRIPTS = $(cgibin_SCRIPTS) $(cmdbin_SCRIPTS) $(nodist_cmdbin_SCRIPTS) \ + $(perl_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -236,9 +241,10 @@ ldifDATA_INSTALL = $(INSTALL_DATA) nodist_configDATA_INSTALL = $(INSTALL_DATA) nodist_propertyDATA_INSTALL = $(INSTALL_DATA) +propertyDATA_INSTALL = $(INSTALL_DATA) DATA = $(dist_help_DATA) $(dist_html_DATA) $(dist_icon_DATA) \ $(inf_DATA) $(ldif_DATA) $(nodist_config_DATA) \ - $(nodist_property_DATA) + $(nodist_property_DATA) $(property_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = mod_admserv mod_restartd @@ -400,6 +406,7 @@ nssmoddir = @nssmoddir@ nsspcache = @nsspcache@ oldincludedir = @oldincludedir@ +perldir = $(libdir)@perldir@ piddir = $(localstatedir)@piddir@ pidfile = @pidfile@ prefix = @prefix@ @@ -488,6 +495,8 @@ inf_DATA = admserv/newinst/src/admin.inf cgibin_SCRIPTS = admserv/cgi-src40/Cgi.pm nodist_cmdbin_SCRIPTS = admserv/cfgstuff/start-ds-admin admserv/cfgstuff/stop-ds-admin admserv/cfgstuff/restart-ds-admin +cmdbin_SCRIPTS = admserv/newinst/src/setup-ds-admin.pl +perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) # source files for our CGI programs @@ -594,8 +603,10 @@ admserv/cgi-src40/sec-activate_root.res \ admserv/cgi-src40/viewlog_root.res -# property file installation is handled specially +# ICU resource file installation is handled specially nodist_property_DATA = $(RESOURCE_BUNDLES_ROOT) +# regular property files go here +property_DATA = admserv/newinst/src/setup-ds-admin.res # these are for the config files and scripts that we need to generate and replace # the paths and other tokens with the real values set during configure/make @@ -605,6 +616,7 @@ # ADMConfigDir = /etc/packagename fixupcmd = sed \ -e 's, at HTTPD\@,$(HTTPD),g' \ + -e 's, at bindir\@,$(bindir),g' \ -e 's, at cgibindir\@,$(cgibindir),g' \ -e 's, at cmdbindir\@,$(cmdbindir),g' \ -e 's, at moddir\@,$(moddir),g' \ @@ -638,7 +650,8 @@ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ - -e 's, at mimemagic\@,$(mimemagic),g' + -e 's, at mimemagic\@,$(mimemagic),g' \ + -e 's, at perldir\@,$(perldir),g' all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive @@ -999,6 +1012,25 @@ echo " rm -f '$(DESTDIR)$(cgibindir)/$$f'"; \ rm -f "$(DESTDIR)$(cgibindir)/$$f"; \ done +install-cmdbinSCRIPTS: $(cmdbin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" + @list='$(cmdbin_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(cmdbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(cmdbindir)/$$f'"; \ + $(cmdbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(cmdbindir)/$$f"; \ + else :; fi; \ + done + +uninstall-cmdbinSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(cmdbin_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(cmdbindir)/$$f'"; \ + rm -f "$(DESTDIR)$(cmdbindir)/$$f"; \ + done install-nodist_cmdbinSCRIPTS: $(nodist_cmdbin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" @@ -1018,6 +1050,25 @@ echo " rm -f '$(DESTDIR)$(cmdbindir)/$$f'"; \ rm -f "$(DESTDIR)$(cmdbindir)/$$f"; \ done +install-perlSCRIPTS: $(perl_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(perldir)" || $(mkdir_p) "$(DESTDIR)$(perldir)" + @list='$(perl_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(perlSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(perldir)/$$f'"; \ + $(perlSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(perldir)/$$f"; \ + else :; fi; \ + done + +uninstall-perlSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(perl_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(perldir)/$$f'"; \ + rm -f "$(DESTDIR)$(perldir)/$$f"; \ + done mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -1402,6 +1453,23 @@ echo " rm -f '$(DESTDIR)$(propertydir)/$$f'"; \ rm -f "$(DESTDIR)$(propertydir)/$$f"; \ done +install-propertyDATA: $(property_DATA) + @$(NORMAL_INSTALL) + test -z "$(propertydir)" || $(mkdir_p) "$(DESTDIR)$(propertydir)" + @list='$(property_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(propertyDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(propertydir)/$$f'"; \ + $(propertyDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(propertydir)/$$f"; \ + done + +uninstall-propertyDATA: + @$(NORMAL_UNINSTALL) + @list='$(property_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(propertydir)/$$f'"; \ + rm -f "$(DESTDIR)$(propertydir)/$$f"; \ + done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -1683,7 +1751,7 @@ config.h installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive @@ -1744,10 +1812,12 @@ info-am: install-data-am: install-cgibinPROGRAMS install-cgibinSCRIPTS \ - install-cmdbinPROGRAMS install-dist_helpDATA \ - install-dist_htmlDATA install-dist_iconDATA install-infDATA \ - install-ldifDATA install-nodist_cmdbinSCRIPTS \ - install-nodist_configDATA install-nodist_propertyDATA + install-cmdbinPROGRAMS install-cmdbinSCRIPTS \ + install-dist_helpDATA install-dist_htmlDATA \ + install-dist_iconDATA install-infDATA install-ldifDATA \ + install-nodist_cmdbinSCRIPTS install-nodist_configDATA \ + install-nodist_propertyDATA install-perlSCRIPTS \ + install-propertyDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook @@ -1780,11 +1850,13 @@ ps-am: uninstall-am: uninstall-cgibinPROGRAMS uninstall-cgibinSCRIPTS \ - uninstall-cmdbinPROGRAMS uninstall-dist_helpDATA \ - uninstall-dist_htmlDATA uninstall-dist_iconDATA \ - uninstall-infDATA uninstall-info-am uninstall-ldifDATA \ - uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ - uninstall-nodist_configDATA uninstall-nodist_propertyDATA + uninstall-cmdbinPROGRAMS uninstall-cmdbinSCRIPTS \ + uninstall-dist_helpDATA uninstall-dist_htmlDATA \ + uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ + uninstall-ldifDATA uninstall-libLTLIBRARIES \ + uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ + uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ + uninstall-propertyDATA uninstall-info: uninstall-info-recursive @@ -1797,24 +1869,28 @@ distclean-libtool distclean-recursive distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-cgibinPROGRAMS \ - install-cgibinSCRIPTS install-cmdbinPROGRAMS install-data \ - install-data-am install-data-hook install-dist_helpDATA \ - install-dist_htmlDATA install-dist_iconDATA install-exec \ - install-exec-am install-infDATA install-info install-info-am \ - install-ldifDATA install-libLTLIBRARIES install-man \ + install-cgibinSCRIPTS install-cmdbinPROGRAMS \ + install-cmdbinSCRIPTS install-data install-data-am \ + install-data-hook install-dist_helpDATA install-dist_htmlDATA \ + install-dist_iconDATA install-exec install-exec-am \ + install-infDATA install-info install-info-am install-ldifDATA \ + install-libLTLIBRARIES install-man \ install-nodist_cmdbinSCRIPTS install-nodist_configDATA \ - install-nodist_propertyDATA install-strip installcheck \ + install-nodist_propertyDATA install-perlSCRIPTS \ + install-propertyDATA install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am \ uninstall-cgibinPROGRAMS uninstall-cgibinSCRIPTS \ - uninstall-cmdbinPROGRAMS uninstall-dist_helpDATA \ - uninstall-dist_htmlDATA uninstall-dist_iconDATA \ - uninstall-infDATA uninstall-info-am uninstall-ldifDATA \ - uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ - uninstall-nodist_configDATA uninstall-nodist_propertyDATA + uninstall-cmdbinPROGRAMS uninstall-cmdbinSCRIPTS \ + uninstall-dist_helpDATA uninstall-dist_htmlDATA \ + uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ + uninstall-ldifDATA uninstall-libLTLIBRARIES \ + uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ + uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ + uninstall-propertyDATA define NL \\n From fedora-directory-commits at redhat.com Fri Jun 8 23:19:21 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Fri, 8 Jun 2007 19:19:21 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd saslbind.c, 1.23, 1.24 Message-ID: <200706082319.l58NJLEs031552@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/ldapserver/ldap/servers/slapd In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31128/ldap/servers/slapd Modified Files: saslbind.c Log Message: Resolves: 240583 Summary: Added SASL support to ldclt as well as some thread-safety fixes for ns-slapd when using SASL. Index: saslbind.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/saslbind.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- saslbind.c 27 Feb 2007 02:57:30 -0000 1.23 +++ saslbind.c 8 Jun 2007 23:19:18 -0000 1.24 @@ -54,38 +54,33 @@ /* * utility functions needed by the sasl library */ - -int sasl_os_gethost(char *buf, int len) -{ - int rc; - - rc = gethostname(buf, len); - LDAPDebug(LDAP_DEBUG_TRACE, "sasl_os_gethost %s\n", buf, 0, 0); - return ( rc == 0 ? SASL_OK : SASL_FAIL ); -} - -void *sasl_mutex_alloc(void) +void *nssasl_mutex_alloc(void) { return PR_NewLock(); } -int sasl_mutex_lock(void *mutex) +int nssasl_mutex_lock(void *mutex) { PR_Lock(mutex); return SASL_OK; } -int sasl_mutex_unlock(void *mutex) +int nssasl_mutex_unlock(void *mutex) { if (PR_Unlock(mutex) == PR_SUCCESS) return SASL_OK; return SASL_FAIL; } -void sasl_mutex_free(void *mutex) +void nssasl_mutex_free(void *mutex) { PR_DestroyLock(mutex); } +void nssasl_free(void *ptr) +{ + slapi_ch_free(&ptr); +} + /* * sasl library callbacks */ @@ -603,6 +598,20 @@ LDAPDebug(LDAP_DEBUG_TRACE, "sasl service fqdn is: %s\n", serverfqdn, 0, 0); + /* Set SASL memory allocation callbacks */ + sasl_set_alloc( + (sasl_malloc_t *)slapi_ch_malloc, + (sasl_calloc_t *)slapi_ch_calloc, + (sasl_realloc_t *)slapi_ch_realloc, + (sasl_free_t *)nssasl_free ); + + /* Set SASL mutex callbacks */ + sasl_set_mutex( + (sasl_mutex_alloc_t *)nssasl_mutex_alloc, + (sasl_mutex_lock_t *)nssasl_mutex_lock, + (sasl_mutex_unlock_t *)nssasl_mutex_unlock, + (sasl_mutex_free_t *)nssasl_mutex_free); + result = sasl_server_init(ids_sasl_callbacks, "iDS"); if (result != SASL_OK) { From fedora-directory-commits at redhat.com Fri Jun 8 23:19:21 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Fri, 8 Jun 2007 19:19:21 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd/tools ldaptool-sasl.c, NONE, 1.1 ldaptool-sasl.h, NONE, 1.1 ldaptool.h, NONE, 1.1 Message-ID: <200706082319.l58NJMuv031555@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/tools In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31128/ldap/servers/slapd/tools Added Files: ldaptool-sasl.c ldaptool-sasl.h ldaptool.h Log Message: Resolves: 240583 Summary: Added SASL support to ldclt as well as some thread-safety fixes for ns-slapd when using SASL. --- NEW FILE ldaptool-sasl.c --- /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is Sun LDAP C SDK. * * The Initial Developer of the Original Code is Sun Microsystems, Inc. * * Portions created by Sun Microsystems, Inc are Copyright (C) 2005 * Sun Microsystems, Inc. All Rights Reserved. * * Contributor(s): * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ /* * File for ldaptool routines for SASL */ #include #include "ldaptool.h" #include "ldaptool-sasl.h" #include #include #if defined(HPUX) #include /* for tcgetattr and tcsetattr */ #endif /* HPUX */ #define SASL_PROMPT "Interact" typedef struct { char *mech; char *authid; char *username; char *passwd; char *realm; } ldaptoolSASLdefaults; static int get_default(ldaptoolSASLdefaults *defaults, sasl_interact_t *interact, unsigned flags); static int get_new_value(sasl_interact_t *interact, unsigned flags); /* WIN32 does not have getlogin() so roll our own */ #if defined( _WINDOWS ) || defined( _WIN32 ) #include "LMCons.h" static char *getlogin() { LPTSTR lpszSystemInfo; /* pointer to system information string */ DWORD cchBuff = UNLEN; /* size of user name */ static TCHAR tchBuffer[UNLEN + 1]; /* buffer for expanded string */ lpszSystemInfo = tchBuffer; GetUserName(lpszSystemInfo, &cchBuff); return lpszSystemInfo; } #endif /* _WINDOWS || _WIN32 */ /* Note that it is important to use "" (the empty string, length 0) as the default username value for non-interactive cases. This allows the sasl library to find the best possible default. For example, if using GSSAPI, you want the default value for the username to be extracted from the Kerberos tgt. The sasl library will do that for you if you set the default username to "". */ void * ldaptool_set_sasl_defaults ( LDAP *ld, unsigned flags, char *mech, char *authid, char *username, char *passwd, char *realm ) { ldaptoolSASLdefaults *defaults; char *login = NULL; if ((defaults = calloc(sizeof(ldaptoolSASLdefaults), 1)) == NULL) { return NULL; } /* Try to get the login name */ if ((login = getlogin()) == NULL) { login = ""; } if (mech) { defaults->mech = strdup(mech); } else { ldap_get_option(ld, LDAP_OPT_X_SASL_MECH, &defaults->mech); } if (authid) { /* use explicit passed in value */ defaults->authid = strdup(authid); } else { /* use option value if any */ ldap_get_option(ld, LDAP_OPT_X_SASL_AUTHCID, &defaults->authid); if (!defaults->authid) { /* Default to the login name that is running the command */ defaults->authid = strdup( login ); } } if (username) { /* use explicit passed in value */ defaults->username = strdup(username); } else { /* use option value if any */ ldap_get_option(ld, LDAP_OPT_X_SASL_AUTHZID, &defaults->username); if (!defaults->username && (flags == LDAP_SASL_INTERACTIVE)) { /* Default to the login name that is running the command */ defaults->username = strdup( login ); } else if (!defaults->username) { /* not interactive - use default sasl value */ defaults->username = strdup( "" ); } } if (passwd) defaults->passwd = strdup (passwd); else defaults->passwd = strdup (""); if (realm) { defaults->realm = realm; } else { ldap_get_option(ld, LDAP_OPT_X_SASL_REALM, &defaults->realm); } return defaults; } void ldaptool_free_defaults( void *defaults ) { ldaptoolSASLdefaults *sasl_defaults = defaults; if (sasl_defaults) { if (sasl_defaults->mech) free (sasl_defaults->mech); if (sasl_defaults->authid) free (sasl_defaults->authid); if (sasl_defaults->username) free (sasl_defaults->username); if (sasl_defaults->passwd) free (sasl_defaults->passwd); free (sasl_defaults); sasl_defaults = NULL; } } int ldaptool_sasl_interact( LDAP *ld, unsigned flags, void *defaults, void *prompts ) { sasl_interact_t *interact = NULL; ldaptoolSASLdefaults *sasldefaults = defaults; int rc; if (prompts == NULL) { return (LDAP_PARAM_ERROR); } for (interact = prompts; interact->id != SASL_CB_LIST_END; interact++) { /* Obtain the default value */ if ((rc = get_default(sasldefaults, interact, flags)) != LDAP_SUCCESS) { return (rc); } /* always prompt in interactive mode - only prompt in automatic mode if there is no default - never prompt in quiet mode */ if ( (flags == LDAP_SASL_INTERACTIVE) || ((interact->result == NULL) && (flags == LDAP_SASL_AUTOMATIC)) ) { if ((rc = get_new_value(interact, flags)) != LDAP_SUCCESS) return (rc); } } return (LDAP_SUCCESS); } static int get_default(ldaptoolSASLdefaults *defaults, sasl_interact_t *interact, unsigned flags) { const char *defvalue = interact->defresult; if (defaults != NULL) { switch( interact->id ) { case SASL_CB_AUTHNAME: defvalue = defaults->authid; break; case SASL_CB_USER: defvalue = defaults->username; break; case SASL_CB_PASS: defvalue = defaults->passwd; break; case SASL_CB_GETREALM: defvalue = defaults->realm; break; } } if (defvalue != NULL) { interact->result = defvalue; if ((char *)interact->result == NULL) return (LDAP_NO_MEMORY); interact->len = strlen((char *)(interact->result)); } return (LDAP_SUCCESS); } /* * This function should always be called in LDAP_SASL_INTERACTIVE mode, or * in LDAP_SASL_AUTOMATIC mode when there is no default value. This function * will print out the challenge, default value, and prompt to get the value. * If there is a default value, the user can just press Return/Enter at the * prompt to use the default value. If there is no default, and the user * didn't enter anything, this will return "" (the empty string) as the * value. */ static int get_new_value(sasl_interact_t *interact, unsigned flags) { char *newvalue = NULL, str[1024]; int len = 0; if ((interact->id == SASL_CB_ECHOPROMPT) || (interact->id == SASL_CB_NOECHOPROMPT)) { if (interact->challenge) { fprintf(stderr, "Challenge: %s\n", interact->challenge); } } if (interact->result) { fprintf(stderr, "Default: %s\n", (char *)interact->result); } snprintf(str, sizeof(str), "%s:", interact->prompt?interact->prompt:SASL_PROMPT); str[sizeof(str)-1] = '\0'; /* Get the new value */ if ((interact->id == SASL_CB_PASS) || (interact->id == SASL_CB_NOECHOPROMPT)) { if ((newvalue = ldaptool_getpass( str )) == NULL) { return (LDAP_UNAVAILABLE); } len = strlen(newvalue); } else { fputs(str, stderr); if ((newvalue = fgets(str, sizeof(str), stdin)) == NULL) { return (LDAP_UNAVAILABLE); } len = strlen(str); if ((len > 0) && (str[len - 1] == '\n')) { str[len - 1] = '\0'; len--; } } if (len > 0) { /* user typed in something - use it */ if (interact->result) { free((void *)interact->result); } interact->result = strdup(newvalue); memset(newvalue, '\0', len); if (interact->result == NULL) { return (LDAP_NO_MEMORY); } interact->len = len; } else { /* use default or "" */ if (!interact->result) { interact->result = ""; } interact->len = strlen(interact->result); } return (LDAP_SUCCESS); } /* * Implements getpass like functionality for supported platforms. * * It is the callers responsibility to zero out the memory used * to store the password and to free it when it's finished with * it. */ char * ldaptool_getpass ( const char *prompt ) { char *pass; #if defined(_WIN32) char pbuf[257]; fputs(prompt,stdout); fflush(stdout); if (fgets(pbuf,256,stdin) == NULL) { pass = NULL; } else { char *tmp; tmp = strchr(pbuf,'\n'); if (tmp) *tmp = '\0'; tmp = strchr(pbuf,'\r'); if (tmp) *tmp = '\0'; pass = strdup(pbuf); } #else #if defined(SOLARIS) /* 256 characters on Solaris */ pass = (char *)getpassphrase(prompt); #else #if defined(HPUX) /* HP-UX has deprecated their password asking function, so we have * to resort to doing it the hard way . . . */ char pbuf[257]; struct termios termstat; tcflag_t savestat; /* Only perform terminal manipulation if stdin is a terminal */ int havetty = isatty(fileno(stdin)); fputs(prompt, stdout); fflush(stdout); if(havetty) { if(tcgetattr(fileno(stdin), &termstat) < 0) { perror( "tcgetattr" ); exit( LDAP_LOCAL_ERROR ); } savestat = termstat.c_lflag; termstat.c_lflag &= ~(ECHO | ECHOE | ECHOK); termstat.c_lflag |= (ICANON | ECHONL); if(tcsetattr(fileno(stdin), TCSANOW, &termstat) < 0) { perror( "tcsetattr" ); exit( LDAP_LOCAL_ERROR ); } } if (fgets(pbuf,256,stdin) == NULL) { pass = NULL; } else { char *tmp; pass = NULL; tmp = strchr(pbuf,'\n'); if (tmp) *tmp = '\0'; pass = strdup(pbuf); } if(havetty) { termstat.c_lflag = savestat; if(tcsetattr(fileno(stdin), TCSANOW, &termstat) < 0) { perror( "tcgetattr" ); exit( LDAP_LOCAL_ERROR ); } } #else /* limited to 16 chars on Tru64, 32 on AIX */ pass = (char *)getpass(prompt); #endif #endif #endif return pass; } --- NEW FILE ldaptool-sasl.h --- /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is Sun LDAP C SDK. * * The Initial Developer of the Original Code is Sun Microsystems, Inc. * * Portions created by Sun Microsystems, Inc are Copyright (C) 2005 * Sun Microsystems, Inc. All Rights Reserved. * * Contributor(s): * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ /* * Include file for ldaptool routines for SASL */ void *ldaptool_set_sasl_defaults ( LDAP *ld, unsigned flags, char *mech, char *authid, char *username, char *passwd, char *realm ); void ldaptool_free_defaults( void *defaults ); int ldaptool_sasl_interact ( LDAP *ld, unsigned flags, void *defaults, void *p ); char * ldaptool_getpass ( const char *prompt ); --- NEW FILE ldaptool.h --- /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is Mozilla Communicator client code, released * March 31, 1998. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by the Initial Developer are Copyright (C) 1998-1999 * the Initial Developer. All Rights Reserved. * * Contributor(s): * * Alternatively, the contents of this file may be used under the terms of * either of the GNU General Public License Version 2 or later (the "GPL"), * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ #ifndef _LDAPTOOL_H #define _LDAPTOOL_H /* XXX:mhein The following is a workaround for the redefinition of */ /* const problem on OSF. Fix to be provided by NSS */ /* This is a pretty benign workaround for us which */ /* should not cause problems in the future even if */ /* we forget to take it out :-) */ #ifdef OSF1V4D #ifndef __STDC__ # define __STDC__ #endif /* __STDC__ */ #endif /* OSF1V4D */ #include #include #include #include #ifdef AIX #include #endif #ifdef SCOOS #include #endif #ifdef _WINDOWS #define WIN32_LEAN_AND_MEAN #include extern int getopt (int argc, char *const *argv, const char *optstring); #include /* for _mktemp() */ #define LDAPTOOL_MKTEMP( p ) _mktemp( p ) #else #include #include #include #define LDAPTOOL_MKTEMP( p ) mktemp( p ) #endif #ifdef LINUX #include /* not always included from unistd.h */ #endif #include #ifndef SCOOS #include #endif #include #include #if defined(NET_SSL) #include #endif #include #include #include #include #if defined(NET_SSL) #include #endif #include #ifdef __cplusplus extern "C" { #endif /* * shared macros, structures, etc. */ #define LDAPTOOL_RESULT_IS_AN_ERROR( rc ) \ ( (rc) != LDAP_SUCCESS && (rc) != LDAP_COMPARE_TRUE \ && (rc) != LDAP_COMPARE_FALSE ) #define LDAPTOOL_DEFSEP "=" /* used by ldapcmp and ldapsearch */ #define LDAPTOOL_DEFHOST "localhost" #define LDAPTOOL_DEFSSLSTRENGTH LDAPSSL_AUTH_CERT #define LDAPTOOL_DEFCERTDBPATH "." #define LDAPTOOL_DEFKEYDBPATH "." #define LDAPTOOL_DEFREFHOPLIMIT 5 #define LDAPTOOL_SAFEREALLOC( ptr, size ) ( ptr == NULL ? malloc( size ) : \ realloc( ptr, size )) /* this defines the max number of control requests for the tools */ #define CONTROL_REQUESTS 50 /* * globals (defined in common.c) */ extern char *ldaptool_host; extern char *ldaptool_host2; extern int ldaptool_port; extern int ldaptool_port2; extern int ldaptool_verbose; extern int ldaptool_not; extern int ldaptool_nobind; extern int ldaptool_noconv_passwd; extern char *ldaptool_progname; extern FILE *ldaptool_fp; extern char *ldaptool_charset; extern LDAPControl *ldaptool_request_ctrls[]; #ifdef LDAP_DEBUG extern int ldaptool_dbg_lvl; #define LDAPToolDebug(lvl,fmt,arg1,arg2,arg3) if (lvl & ldaptool_dbg_lvl) { fprintf(stderr,fmt,arg1,arg2,arg3); } #else #define LDAPToolDebug(lvl,fmt,arg1,arg2,arg3) #endif /* LDAP_DEBUG */ /* * function prototypes */ void ldaptool_common_usage( int two_hosts ); int ldaptool_process_args( int argc, char **argv, char *extra_opts, int two_hosts, void (*extra_opt_callback)( int option, char *optarg )); LDAP *ldaptool_ldap_init( int second_host ); void ldaptool_bind( LDAP *ld ); void ldaptool_cleanup( LDAP *ld ); int ldaptool_print_lderror( LDAP *ld, char *msg, int check4ssl ); #define LDAPTOOL_CHECK4SSL_NEVER 0 #define LDAPTOOL_CHECK4SSL_ALWAYS 1 #define LDAPTOOL_CHECK4SSL_IF_APPROP 2 /* if appropriate */ LDAPControl *ldaptool_create_manage_dsait_control( void ); void ldaptool_print_referrals( char **refs ); int ldaptool_print_extended_response( LDAP *ld, LDAPMessage *res, char *msg ); LDAPControl *ldaptool_create_proxyauth_control( LDAP *ld ); LDAPControl *ldaptool_create_geteffectiveRights_control ( LDAP *ld, const char *authzid, const char **attrlist ); void ldaptool_add_control_to_array( LDAPControl *ctrl, LDAPControl **array); void ldaptool_reset_control_array( LDAPControl **array ); char *ldaptool_get_tmp_dir( void ); char *ldaptool_local2UTF8( const char *s, const char *desc ); char *ldaptool_getpass( const char *prompt ); char *ldaptool_read_password( FILE *mod_password_fp ); int ldaptool_berval_is_ascii( const struct berval *bvp ); int ldaptool_sasl_bind_s( LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp, char *msg ); int ldaptool_simple_bind_s( LDAP *ld, const char *dn, const char *passwd, LDAPControl **serverctrls, LDAPControl **clientctrls, char *msg ); int ldaptool_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls, char *msg ); int ldaptool_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, char *msg ); int ldaptool_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls, char *msg ); int ldaptool_rename_s( LDAP *ld, const char *dn, const char *newrdn, const char *newparent, int deleteoldrdn, LDAPControl **serverctrls, LDAPControl **clientctrls, char *msg ); int ldaptool_compare_ext_s( LDAP *ld, const char *dn, const char *attrtype, const struct berval *bvalue, LDAPControl **serverctrls, LDAPControl **clientctrls, char *msg ); int ldaptool_boolean_str2value ( const char *s, int strict ); int ldaptool_parse_ctrl_arg ( char *ctrl_arg, char sep, char **ctrl_oid, int *ctrl_criticality, char **ctrl_value, int *vlen); FILE *ldaptool_open_file ( const char *filename, const char * mode); #ifdef __cplusplus } #endif #endif /* LDAPTOOL_H */ From fedora-directory-commits at redhat.com Fri Jun 8 23:19:22 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Fri, 8 Jun 2007 19:19:22 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd/tools/ldclt ldapfct.c, 1.2, 1.3 ldclt.c, 1.3, 1.4 ldclt.h, 1.2, 1.3 ldclt.use, 1.1, 1.2 ldcltU.c, 1.2, 1.3 scalab01.c, 1.2, 1.3 Message-ID: <200706082319.l58NJMCk031560@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31128/ldap/servers/slapd/tools/ldclt Modified Files: ldapfct.c ldclt.c ldclt.h ldclt.use ldcltU.c scalab01.c Log Message: Resolves: 240583 Summary: Added SASL support to ldclt as well as some thread-safety fixes for ns-slapd when using SASL. Index: ldapfct.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/ldapfct.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ldapfct.c 10 Nov 2006 23:45:50 -0000 1.2 +++ ldapfct.c 8 Jun 2007 23:19:19 -0000 1.3 @@ -254,6 +254,9 @@ #include "ldclt.h" /* This tool's include file */ #include "utils.h" /* Utilities functions */ /*JLS 14-11-00*/ +#include +#include "ldaptool-sasl.h" + @@ -656,7 +659,6 @@ */ if (tttctx->ldapCtx == NULL) { -#ifdef LDCLTSSL /* * SSL is enabled ? */ @@ -703,7 +705,6 @@ } } } else { -#endif /* * connection initialization in normal, unencrypted mode */ @@ -719,9 +720,7 @@ fflush (stdout); return (-1); } -#ifdef LDCLTSSL } -#endif if (mctx.mode & LDAP_V2) v2v3 = LDAP_VERSION2; @@ -752,7 +751,8 @@ * below in this function ? * 03-05-01 : no cleanup I think, cf M2_RNDBINDFILE */ - if ((mctx.bindDN == NULL) && (!(mctx.mod2 & M2_RNDBINDFILE))) /*JLS 03-05-01*/ + if ((mctx.bindDN == NULL) && ((!(mctx.mod2 & M2_RNDBINDFILE)) + && (!(mctx.mod2 & M2_SASLAUTH)))) { /*JLS 05-03-01*/ tttctx->binded = 1; /*JLS 05-03-01*/ return (0); /*JLS 05-03-01*/ @@ -761,7 +761,6 @@ /* * Maybe we should bind ? */ -#ifdef LDCLTSSL /* * for SSL client authentication, SASL BIND is used */ @@ -804,10 +803,50 @@ return (-1); /*JLS 18-12-00*/ } /*JLS 18-12-00*/ } - } - else - { -#endif /* LDCLTSSL */ + } else if ((mctx.mod2 & M2_SASLAUTH) && ((!(tttctx->binded)) || + (mctx.mode & BIND_EACH_OPER))) { + void *defaults; + LDAPControl **rctrls = NULL; + + if ( mctx.sasl_mech == NULL) { + fprintf( stderr, "Please specify the SASL mechanism name when " + "using SASL options\n"); + return (-1); + } + + if ( mctx.sasl_secprops != NULL) { + ret = ldap_set_option( tttctx->ldapCtx, LDAP_OPT_X_SASL_SECPROPS, + (void *) mctx.sasl_secprops ); + + if ( ret != LDAP_SUCCESS ) { + fprintf( stderr, "Unable to set LDAP_OPT_X_SASL_SECPROPS: %s\n", + mctx.sasl_secprops ); + return (-1); + } + } + + defaults = ldaptool_set_sasl_defaults( tttctx->ldapCtx, mctx.sasl_flags, mctx.sasl_mech, + mctx.sasl_authid, mctx.sasl_username, mctx.passwd, mctx.sasl_realm ); + if (defaults == NULL) { + perror ("malloc"); + exit (LDAP_NO_MEMORY); + } + + ret = ldap_sasl_interactive_bind_ext_s( tttctx->ldapCtx, mctx.bindDN, mctx.sasl_mech, + NULL, NULL, mctx.sasl_flags, + ldaptool_sasl_interact, defaults, NULL ); + if (ret != LDAP_SUCCESS ) { + tttctx->binded = 0; + if (!(mctx.mode & QUIET)) + ldap_perror( tttctx->ldapCtx, "Bind Error" ); + if (addErrorStat (ret) < 0) + return (-1); + } else { + tttctx->binded = 1; + } + + ldaptool_free_defaults( defaults ); + } else { if (((mctx.bindDN != NULL) || (mctx.mod2 & M2_RNDBINDFILE)) && /*03-05-01*/ ((!(tttctx->binded)) || (mctx.mode & BIND_EACH_OPER))) { @@ -857,9 +896,7 @@ } /*JLS 18-12-00*/ } } -#ifdef LDCLTSSL } -#endif /* * Normal end @@ -1769,7 +1806,6 @@ if (mctx.mode & VERY_VERBOSE) /*JLS 14-12-00*/ printf ("ldclt[%d]: T%03d: must connect to the server.\n", mctx.pid, tttctx->thrdNum); -#ifdef LDCLTSSL /* * SSL is enabled ? */ @@ -1815,7 +1851,6 @@ } } } else { -#endif /* * connection initialization in normal, unencrypted mode */ @@ -1827,9 +1862,7 @@ fflush (stdout); return (-1); } -#ifdef LDCLTSSL } -#endif if (mctx.mode & LDAP_V2) v2v3 = LDAP_VERSION2; @@ -1848,7 +1881,6 @@ /* * Bind to the server */ -#ifdef LDCLTSSL /* * for SSL client authentication, SASL BIND is used */ @@ -1867,7 +1899,6 @@ return (-1); } } else { -#endif ret = ldap_simple_bind_s (cnx, tttctx->bufBindDN, tttctx->bufPasswd); if (ret != LDAP_SUCCESS) { @@ -1882,9 +1913,7 @@ return (-1); } } -#ifdef LDCLTSSL } -#endif /* * Create the entry @@ -3276,7 +3305,9 @@ */ if (connectToServer (tttctx) < 0) return (-1); - if (!(tttctx->binded)) + + /* don't count failed binds unless counteach option is used */ + if (!(tttctx->binded) && !(mctx.mode & COUNT_EACH)) return (0); if (incrementNbOpers (tttctx) < 0) Index: ldclt.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/ldclt.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ldclt.c 10 Nov 2006 23:45:50 -0000 1.3 +++ ldclt.c 8 Jun 2007 23:19:20 -0000 1.4 @@ -1644,7 +1644,6 @@ } } -#ifdef LDCLTSSL /* * SSL is enabled ? */ @@ -1677,7 +1676,6 @@ } } } -#endif /* LDCLTSSL */ /* * Specific scenarios initialization... @@ -1753,6 +1751,8 @@ printf (" ssl"); if (mctx.mode & CLTAUTH) printf (" ssl_with_client_authentication"); /* BK 23-11-00*/ + if (mctx.mod2 & M2_SASLAUTH) + printf (" saslauth"); if (mctx.mode & SMOOTHSHUTDOWN) /*JLS 17-11-00*/ printf (" smoothshutdown"); /*JLS 17-11-00*/ if (mctx.mode & DONT_SLEEP_DOWN) /*JLS 14-03-01*/ @@ -1857,6 +1857,104 @@ +/* **************************************************************************** + FUNCTION : saslSetParam + PURPOSE : Sets SASL parameters + INPUT : saslarg = value to decode + OUTPUT : None. + RETURN : -1 if error, 0 otherwise. + DESCRIPTION : Copied from Mozilla LDAP C SDK (common.c) + *****************************************************************************/ +int +saslSetParam ( + char *saslarg) +{ + char *attr = NULL; + int argnamelen; + + if (saslarg == NULL) { + fprintf (stderr, "Error: missing SASL argument\n"); + return (-1); + } + + attr = strchr(saslarg, '='); + if (attr == NULL) { + fprintf( stderr, "Didn't find \"=\" character in %s\n", saslarg); + return (-1); + } + + argnamelen = attr - saslarg; + attr++; + + if (!strncasecmp(saslarg, "secProp", argnamelen)) { + if ( mctx.sasl_secprops != NULL ) { + fprintf( stderr, "secProp previously specified\n"); + return (-1); + } + if (( mctx.sasl_secprops = strdup(attr)) == NULL ) { + perror ("malloc"); + exit (LDAP_NO_MEMORY); + } + } else if (!strncasecmp(saslarg, "realm", argnamelen)) { + if ( mctx.sasl_realm != NULL ) { + fprintf( stderr, "Realm previously specified\n"); + return (-1); + } + if (( mctx.sasl_realm = strdup(attr)) == NULL ) { + perror ("malloc"); + exit (LDAP_NO_MEMORY); + } + } else if (!strncasecmp(saslarg, "authzid", argnamelen)) { + if (mctx.sasl_username != NULL) { + fprintf( stderr, "Authorization name previously specified\n"); + return (-1); + } + if (( mctx.sasl_username = strdup(attr)) == NULL ) { + perror ("malloc"); + exit (LDAP_NO_MEMORY); + } + } else if (!strncasecmp(saslarg, "authid", argnamelen)) { + if ( mctx.sasl_authid != NULL ) { + fprintf( stderr, "Authentication name previously specified\n"); + return (-1); + } + if (( mctx.sasl_authid = strdup(attr)) == NULL) { + perror ("malloc"); + exit (LDAP_NO_MEMORY); + } + } else if (!strncasecmp(saslarg, "mech", argnamelen)) { + if ( mctx.sasl_mech != NULL ) { + fprintf( stderr, "Mech previously specified\n"); + return (-1); + } + if (( mctx.sasl_mech = strdup(attr)) == NULL) { + perror ("malloc"); + exit (LDAP_NO_MEMORY); + } + } else if (!strncasecmp(saslarg, "flags", argnamelen)) { + int len = strlen(attr); + if (len && !strncasecmp(attr, "automatic", len)) { + mctx.sasl_flags = LDAP_SASL_AUTOMATIC; + } else if (len && !strncasecmp(attr, "interactive", len)) { + mctx.sasl_flags = LDAP_SASL_INTERACTIVE; + } else if (len && !strncasecmp(attr, "quiet", len)) { + mctx.sasl_flags = LDAP_SASL_QUIET; + } else { + fprintf(stderr, "Invalid SASL flags value [%s]: must be one of " + "automatic, interactive, or quiet\n", attr); + return (-1); + } + } else { + fprintf (stderr, "Invalid SASL attribute name %s\n", saslarg); + return (-1); + } + return 0; +} + + + + + /* New function */ /*JLS 08-03-01*/ /* **************************************************************************** FUNCTION : decodeReferralParams @@ -2480,46 +2578,52 @@ /* * Initialization */ - mctx.attrlistNb = 0; /*JLS 15-03-01*/ - mctx.attrsonly = DEF_ATTRSONLY; /*JLS 03-01-01*/ - mctx.baseDN = "o=sun,c=us"; - mctx.baseDNLow = -1; /*JLS 13-11-00*/ - mctx.baseDNHigh = -1; /*JLS 13-11-00*/ - mctx.bindDN = NULL; - mctx.bindDNLow = -1; /*JLS 05-01-01*/ - mctx.bindDNHigh = -1; /*JLS 05-01-01*/ - mctx.dlf = NULL; /*JLS 23-03-01*/ - mctx.exitStatus = EXIT_OK; /*JLS 25-08-00*/ - mctx.filter = NULL; - mctx.globStatsCnt = DEF_GLOBAL_NB; /*JLS 08-08-00*/ - mctx.hostname = "localhost"; - mctx.ignErrNb = 0; - mctx.images = NULL; /*JLS 17-11-00*/ - mctx.imagesDir = DEF_IMAGES_PATH; /*JLS 16-11-00*/ - mctx.inactivMax = DEF_INACTIV_MAX; - mctx.maxErrors = DEF_MAX_ERRORS; - mctx.mode = NOTHING; - mctx.mod2 = NOTHING; - mctx.nbNoActivity = 0; - mctx.nbSamples = -1; - mctx.nbThreads = DEF_NB_THREADS; - mctx.opListTail = NULL; - mctx.passwd = NULL; - mctx.pid = getpid(); - mctx.port = DEF_PORT; - mctx.randomLow = -1; - mctx.randomHigh = -1; - mctx.referral = DEF_REFERRAL; /*JLS 08-03-01*/ - mctx.sampling = DEF_SAMPLING; - mctx.scope = DEF_SCOPE; - mctx.slaveConn = 0; - mctx.slavesNb = 0; - mctx.timeout = DEF_TIMEOUT; - mctx.totalReq = -1; - mctx.waitSec = 0; - s1ctx.cnxduration = SCALAB01_DEF_CNX_DURATION; /*JLS 12-01-01*/ - s1ctx.maxcnxnb = SCALAB01_DEF_MAX_CNX; /*JLS 12-01-01*/ - s1ctx.wait = SCALAB01_DEF_WAIT_TIME; /*JLS 12-01-01*/ + mctx.attrlistNb = 0; /*JLS 15-03-01*/ + mctx.attrsonly = DEF_ATTRSONLY; /*JLS 03-01-01*/ + mctx.baseDN = "dc=example,dc=com"; + mctx.baseDNLow = -1; /*JLS 13-11-00*/ + mctx.baseDNHigh = -1; /*JLS 13-11-00*/ + mctx.bindDN = NULL; + mctx.bindDNLow = -1; /*JLS 05-01-01*/ + mctx.bindDNHigh = -1; /*JLS 05-01-01*/ + mctx.dlf = NULL; /*JLS 23-03-01*/ + mctx.exitStatus = EXIT_OK; /*JLS 25-08-00*/ + mctx.filter = NULL; + mctx.globStatsCnt = DEF_GLOBAL_NB; /*JLS 08-08-00*/ + mctx.hostname = "localhost"; + mctx.ignErrNb = 0; + mctx.images = NULL; /*JLS 17-11-00*/ + mctx.imagesDir = DEF_IMAGES_PATH; /*JLS 16-11-00*/ + mctx.inactivMax = DEF_INACTIV_MAX; + mctx.maxErrors = DEF_MAX_ERRORS; + mctx.mode = NOTHING; + mctx.mod2 = NOTHING; + mctx.nbNoActivity = 0; + mctx.nbSamples = -1; + mctx.nbThreads = DEF_NB_THREADS; + mctx.opListTail = NULL; + mctx.passwd = NULL; + mctx.pid = getpid(); + mctx.port = DEF_PORT; + mctx.randomLow = -1; + mctx.randomHigh = -1; + mctx.referral = DEF_REFERRAL; /*JLS 08-03-01*/ + mctx.sampling = DEF_SAMPLING; + mctx.sasl_authid = NULL; + mctx.sasl_flags = LDAP_SASL_QUIET; + mctx.sasl_mech = NULL; + mctx.sasl_realm = NULL; + mctx.sasl_secprops = NULL; + mctx.sasl_username = NULL; + mctx.scope = DEF_SCOPE; + mctx.slaveConn = 0; + mctx.slavesNb = 0; + mctx.timeout = DEF_TIMEOUT; + mctx.totalReq = -1; + mctx.waitSec = 0; + s1ctx.cnxduration = SCALAB01_DEF_CNX_DURATION; /*JLS 12-01-01*/ + s1ctx.maxcnxnb = SCALAB01_DEF_MAX_CNX; /*JLS 12-01-01*/ + s1ctx.wait = SCALAB01_DEF_WAIT_TIME; /*JLS 12-01-01*/ /* * Initiates the object *NOW* @@ -2534,7 +2638,7 @@ * Get options */ while ((opt_ret = getopt (argc, argv, - "a:b:D:e:E:f:h:i:I:n:N:p:qQr:R:s:S:t:T:vVw:W:Z:H")) != EOF) + "a:b:D:e:E:f:h:i:I:n:N:o:p:qQr:R:s:S:t:T:vVw:W:Z:H")) != EOF) switch (opt_ret) { case 'a': @@ -2584,6 +2688,11 @@ case 'N': mctx.nbSamples = atoi (optarg); break; + case 'o': + if (saslSetParam (optarg) < 0) + ldcltExit (EXIT_PARAMS); + mctx.mod2 |= M2_SASLAUTH; + break; case 'p': mctx.port = atoi (optarg); break; Index: ldclt.h =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/ldclt.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ldclt.h 10 Nov 2006 23:45:50 -0000 1.2 +++ ldclt.h 8 Jun 2007 23:19:20 -0000 1.3 @@ -282,6 +282,7 @@ #define M2_APPEND 0x00000008 /* -e append */ /*JLS 05-04-01*/ #define M2_RNDBINDFILE 0x00000010 /* -e randombinddnfromfile *//*JLS 03-05-01*/ #define M2_BINDONLY 0x00000020 /* -e bindonly */ /*JLS 04-05-01*/ +#define M2_SASLAUTH 0x00000040 /* -o : SASL authentication */ /* * Combinatory defines @@ -536,6 +537,7 @@ char *keydbpin; /* key DB password */ /* BK 23-11-00*/ int lastVal; /* To build filters */ /*JLS 14-03-01*/ ldclt_mutex_t lastVal_mutex; /* Protect lastVal */ /*JLS 14-03-01*/ + int ldapauth; /* Used to indicate auth type */ int maxErrors; /* Max allowed errors */ unsigned int mode; /* Running mode */ unsigned int mod2; /* Running mode - 2 */ /*JLS 19-03-01*/ @@ -560,6 +562,12 @@ char *rndBindFname; /* Rnd bind file name *//*JLS 03-05-01*/ int referral; /* Referral followed */ /*JLS 08-03-01*/ int sampling; /* Sampling frequency */ + char *sasl_authid; + unsigned sasl_flags; + char *sasl_mech; + char *sasl_realm; + char *sasl_secprops; + char *sasl_username; int scope; /* Searches scope */ int slaveConn; /* Slave has connected */ char *slaves[MAX_SLAVES]; /* Slaves list */ Index: ldclt.use =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/ldclt.use,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ldclt.use 11 Jan 2006 01:54:30 -0000 1.1 +++ ldclt.use 8 Jun 2007 23:19:20 -0000 1.2 @@ -1,6 +1,6 @@ usage: ldclt [-qQvV] [-E ] [-b ] [-h ] [-p ] [-t ] - [-D ] [-w ] + [-D ] [-w ] [-o ] [-e ] [-a ] [-n ] [-i ] [-N ] [-I ] [-T ] @@ -14,7 +14,7 @@ The valid options are: -a Asynchronous mode, with max pending operations. - -b Give the base DN to use. Default "o=sun,c=us". + -b Give the base DN to use. Default "dc=example,dc=com". -D Bind DN. See -w -E Max errors allowed. Default 1000. -e Execution parameters: @@ -68,6 +68,7 @@ -I Ignore errors (cf. -E). Default none. -n Number of threads. Default 10. -N Number of samples (10 seconds each). Default infinite. + -o SASL Options. -p Server port. Default 389. -P Master port (to check replication). Default 16000. -q Quiet mode. See option -I. Index: ldcltU.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/ldcltU.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ldcltU.c 10 Nov 2006 23:45:50 -0000 1.2 +++ ldcltU.c 8 Jun 2007 23:19:20 -0000 1.3 @@ -32,7 +32,7 @@ * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. - * Copyright (C) 2006 Red Hat, Inc. + * Copyright (C) 2007 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ @@ -47,7 +47,7 @@ /* * usage: ldclt [-qQvV] [-E ] * [-b ] [-h ] [-p ] [-t ] - * [-D ] [-w ] + * [-D ] [-w ] [-o ] * [-e ] [-a ] * [-n ] [-i ] [-N ] * [-I ] [-T ] @@ -61,7 +61,7 @@ * * The valid options are: * -a Asynchronous mode, with max pending operations. - * -b Give the base DN to use. Default "o=sun,c=us". + * -b Give the base DN to use. Default "dc=example,dc=com". * -D Bind DN. See -w * -E Max errors allowed. Default 1000. * -e Execution parameters: @@ -116,6 +116,7 @@ * -I Ignore errors (cf. -E). Default none. * -n Number of threads. Default 10. * -N Number of samples (10 seconds each). Default infinite. + * -o SASL Option. * -p Server port. Default 389. * -P Master port (to check replication). Default 16000. * -q Quiet mode. See option -I. @@ -137,7 +138,7 @@ (void) printf ("\n"); (void) printf ("usage: ldclt [-qQvV] [-E ]\n"); (void) printf (" [-b ] [-h ] [-p ] [-t ]\n"); - (void) printf (" [-D ] [-w ]\n"); + (void) printf (" [-D ] [-w ] [-o ]\n"); (void) printf (" [-e ] [-a ]\n"); (void) printf (" [-n ] [-i ] [-N ]\n"); (void) printf (" [-I ] [-T ]\n"); @@ -206,6 +207,7 @@ (void) printf (" -I Ignore errors (cf. -E). Default none.\n"); (void) printf (" -n Number of threads. Default 10.\n"); (void) printf (" -N Number of samples (10 seconds each). Default infinite.\n"); + (void) printf (" -o SASL Option.\n"); (void) printf (" -p Server port. Default 389.\n"); (void) printf (" -P Master port (to check replication). Default 16000.\n"); (void) printf (" -q Quiet mode. See option -I.\n"); Index: scalab01.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/ldclt/scalab01.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- scalab01.c 10 Nov 2006 23:45:50 -0000 1.2 +++ scalab01.c 8 Jun 2007 23:19:20 -0000 1.3 @@ -513,7 +513,6 @@ /* * Create the LDAP context */ -#ifdef LDCLTSSL /* * SSL is enabled ? */ @@ -558,7 +557,6 @@ } else { -#endif /* * Connection initialization in normal, unencrypted mode */ @@ -573,9 +571,7 @@ fflush (stdout); return (-1); } -#ifdef LDCLTSSL } -#endif /* * Set the LDAP version and other options... @@ -598,7 +594,6 @@ /* * Now we could bind */ -#ifdef LDCLTSSL /* * for SSL client authentication, SASL BIND is used */ @@ -620,7 +615,6 @@ } else { -#endif /* LDCLTSSL */ strcpy (bindDN, SCALAB01_SUPER_USER_RDN); strcat (bindDN, ","); strcat (bindDN, mctx.baseDN); @@ -640,9 +634,7 @@ fflush (stdout); return (-1); } -#ifdef LDCLTSSL } -#endif /* * Normal end... From fedora-directory-commits at redhat.com Fri Jun 8 23:19:20 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Fri, 8 Jun 2007 19:19:20 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.am, 1.41, 1.42 Makefile.in, 1.48, 1.49 aclocal.m4, 1.33, 1.34 configure, 1.44, 1.45 ltmain.sh, 1.15, 1.16 Message-ID: <200706082319.l58NJoeY031592@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31128 Modified Files: Makefile.am Makefile.in aclocal.m4 configure ltmain.sh Log Message: Resolves: 240583 Summary: Added SASL support to ldclt as well as some thread-safety fixes for ns-slapd when using SASL. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.am,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- Makefile.am 8 Jun 2007 20:36:52 -0000 1.41 +++ Makefile.am 8 Jun 2007 23:19:16 -0000 1.42 @@ -867,7 +867,8 @@ #------------------------ # ldclt #------------------------ -ldclt_bin_SOURCES = ldap/servers/slapd/tools/ldclt/data.c \ +ldclt_bin_SOURCES = ldap/servers/slapd/tools/ldaptool-sasl.c \ + ldap/servers/slapd/tools/ldclt/data.c \ ldap/servers/slapd/tools/ldclt/ldapfct.c \ ldap/servers/slapd/tools/ldclt/ldclt.c \ ldap/servers/slapd/tools/ldclt/ldcltU.c \ @@ -883,7 +884,7 @@ ldclt_bin_SOURCES += ldap/servers/slapd/tools/ldclt/opCheck.c endif -ldclt_bin_CPPFLAGS = $(AM_CPPFLAGS) @ldapsdk_inc@ @nss_inc@ @nspr_inc@ +ldclt_bin_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/ldap/servers/slapd/tools @ldapsdk_inc@ @sasl_inc@ @nss_inc@ @nspr_inc@ ldclt_bin_LDADD = $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(LIBNSL) $(LIBSOCKET) $(LIBDL) #------------------------ Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- Makefile.in 8 Jun 2007 20:36:52 -0000 1.48 +++ Makefile.in 8 Jun 2007 23:19:16 -0000 1.49 @@ -588,7 +588,8 @@ ldap/servers/slapd/ldap_agent_bin-agtmmap.$(OBJEXT) ldap_agent_bin_OBJECTS = $(am_ldap_agent_bin_OBJECTS) ldap_agent_bin_DEPENDENCIES = $(am__DEPENDENCIES_1) -am__ldclt_bin_SOURCES_DIST = ldap/servers/slapd/tools/ldclt/data.c \ +am__ldclt_bin_SOURCES_DIST = ldap/servers/slapd/tools/ldaptool-sasl.c \ + ldap/servers/slapd/tools/ldclt/data.c \ ldap/servers/slapd/tools/ldclt/ldapfct.c \ ldap/servers/slapd/tools/ldclt/ldclt.c \ ldap/servers/slapd/tools/ldclt/ldcltU.c \ @@ -602,6 +603,7 @@ ldap/servers/slapd/tools/ldclt/opCheck.c @SOLARIS_TRUE at am__objects_3 = ldap/servers/slapd/tools/ldclt/ldclt_bin-opCheck.$(OBJEXT) am_ldclt_bin_OBJECTS = \ + ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.$(OBJEXT) \ ldap/servers/slapd/tools/ldclt/ldclt_bin-data.$(OBJEXT) \ ldap/servers/slapd/tools/ldclt/ldclt_bin-ldapfct.$(OBJEXT) \ ldap/servers/slapd/tools/ldclt/ldclt_bin-ldclt.$(OBJEXT) \ @@ -872,7 +874,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOLARIS_FALSE = @SOLARIS_FALSE@ @@ -1780,7 +1781,8 @@ #------------------------ # ldclt #------------------------ -ldclt_bin_SOURCES = ldap/servers/slapd/tools/ldclt/data.c \ +ldclt_bin_SOURCES = ldap/servers/slapd/tools/ldaptool-sasl.c \ + ldap/servers/slapd/tools/ldclt/data.c \ ldap/servers/slapd/tools/ldclt/ldapfct.c \ ldap/servers/slapd/tools/ldclt/ldclt.c \ ldap/servers/slapd/tools/ldclt/ldcltU.c \ @@ -1791,7 +1793,7 @@ ldap/servers/slapd/tools/ldclt/utils.c \ ldap/servers/slapd/tools/ldclt/version.c \ ldap/servers/slapd/tools/ldclt/workarounds.c $(am__append_1) -ldclt_bin_CPPFLAGS = $(AM_CPPFLAGS) @ldapsdk_inc@ @nss_inc@ @nspr_inc@ +ldclt_bin_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/ldap/servers/slapd/tools @ldapsdk_inc@ @sasl_inc@ @nss_inc@ @nspr_inc@ ldclt_bin_LDADD = $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(LIBNSL) $(LIBSOCKET) $(LIBDL) #------------------------ @@ -3553,6 +3555,9 @@ ldap-agent-bin$(EXEEXT): $(ldap_agent_bin_OBJECTS) $(ldap_agent_bin_DEPENDENCIES) @rm -f ldap-agent-bin$(EXEEXT) $(LINK) $(ldap_agent_bin_LDFLAGS) $(ldap_agent_bin_OBJECTS) $(ldap_agent_bin_LDADD) $(LIBS) +ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.$(OBJEXT): \ + ldap/servers/slapd/tools/$(am__dirstamp) \ + ldap/servers/slapd/tools/$(DEPDIR)/$(am__dirstamp) ldap/servers/slapd/tools/ldclt/$(am__dirstamp): @$(mkdir_p) ldap/servers/slapd/tools/ldclt @: > ldap/servers/slapd/tools/ldclt/$(am__dirstamp) @@ -4492,6 +4497,7 @@ -rm -f ldap/servers/slapd/tools/ldclt/ldclt_bin-utils.$(OBJEXT) -rm -f ldap/servers/slapd/tools/ldclt/ldclt_bin-version.$(OBJEXT) -rm -f ldap/servers/slapd/tools/ldclt/ldclt_bin-workarounds.$(OBJEXT) + -rm -f ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.$(OBJEXT) -rm -f ldap/servers/slapd/tools/ldif_bin-ldif.$(OBJEXT) -rm -f ldap/servers/slapd/tools/migratecred_bin-migratecred.$(OBJEXT) -rm -f ldap/servers/slapd/tools/mmldif_bin-mmldif.$(OBJEXT) @@ -4988,6 +4994,7 @@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/back-ldbm/$(DEPDIR)/libback_ldbm_la-vlv_key.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/back-ldbm/$(DEPDIR)/libback_ldbm_la-vlv_srch.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/tools/$(DEPDIR)/ldif_bin-ldif.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/tools/$(DEPDIR)/migratecred_bin-migratecred.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/tools/$(DEPDIR)/mmldif_bin-mmldif.Po at am__quote@ @@ -7672,6 +7679,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ldap_agent_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/slapd/ldap_agent_bin-agtmmap.obj `if test -f 'ldap/servers/slapd/agtmmap.c'; then $(CYGPATH_W) 'ldap/servers/slapd/agtmmap.c'; else $(CYGPATH_W) '$(srcdir)/ldap/servers/slapd/agtmmap.c'; fi` +ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.o: ldap/servers/slapd/tools/ldaptool-sasl.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ldclt_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.o -MD -MP -MF "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Tpo" -c -o ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.o `test -f 'ldap/servers/slapd/tools/ldaptool-sasl.c' || echo '$(srcdir)/'`ldap/servers/slapd/tools/ldaptool-sasl.c; \ + at am__fastdepCC_TRUE@ then mv -f "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Tpo" "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Po"; else rm -f "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/slapd/tools/ldaptool-sasl.c' object='ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ldclt_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.o `test -f 'ldap/servers/slapd/tools/ldaptool-sasl.c' || echo '$(srcdir)/'`ldap/servers/slapd/tools/ldaptool-sasl.c + +ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.obj: ldap/servers/slapd/tools/ldaptool-sasl.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ldclt_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.obj -MD -MP -MF "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Tpo" -c -o ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.obj `if test -f 'ldap/servers/slapd/tools/ldaptool-sasl.c'; then $(CYGPATH_W) 'ldap/servers/slapd/tools/ldaptool-sasl.c'; else $(CYGPATH_W) '$(srcdir)/ldap/servers/slapd/tools/ldaptool-sasl.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Tpo" "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Po"; else rm -f "ldap/servers/slapd/tools/$(DEPDIR)/ldclt_bin-ldaptool-sasl.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/slapd/tools/ldaptool-sasl.c' object='ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ldclt_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.obj `if test -f 'ldap/servers/slapd/tools/ldaptool-sasl.c'; then $(CYGPATH_W) 'ldap/servers/slapd/tools/ldaptool-sasl.c'; else $(CYGPATH_W) '$(srcdir)/ldap/servers/slapd/tools/ldaptool-sasl.c'; fi` + ldap/servers/slapd/tools/ldclt/ldclt_bin-data.o: ldap/servers/slapd/tools/ldclt/data.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ldclt_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/slapd/tools/ldclt/ldclt_bin-data.o -MD -MP -MF "ldap/servers/slapd/tools/ldclt/$(DEPDIR)/ldclt_bin-data.Tpo" -c -o ldap/servers/slapd/tools/ldclt/ldclt_bin-data.o `test -f 'ldap/servers/slapd/tools/ldclt/data.c' || echo '$(srcdir)/'`ldap/servers/slapd/tools/ldclt/data.c; \ @am__fastdepCC_TRUE@ then mv -f "ldap/servers/slapd/tools/ldclt/$(DEPDIR)/ldclt_bin-data.Tpo" "ldap/servers/slapd/tools/ldclt/$(DEPDIR)/ldclt_bin-data.Po"; else rm -f "ldap/servers/slapd/tools/ldclt/$(DEPDIR)/ldclt_bin-data.Tpo"; exit 1; fi Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/ldapserver/aclocal.m4,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- aclocal.m4 8 Jun 2007 20:36:52 -0000 1.33 +++ aclocal.m4 8 Jun 2007 23:19:17 -0000 1.34 @@ -1578,27 +1578,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4288,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4421,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4437,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4517,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6353,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,7 +6385,6 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/ldapserver/configure,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- configure 8 Jun 2007 20:36:52 -0000 1.44 +++ configure 8 Jun 2007 23:19:17 -0000 1.45 @@ -465,7 +465,7 @@ #endif" ac_default_prefix=/opt/$PACKAGE_NAME -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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3835,7 +3835,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3870,7 +3869,6 @@ fi SED=$lt_cv_path_SED - echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4311,7 +4309,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4314 "configure"' > conftest.$ac_ext + echo '#line 4312 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5446,7 +5444,7 @@ # Provide some information about the compiler. -echo "$as_me:5449:" \ +echo "$as_me:5447:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6509,11 +6507,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6512: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6510: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6516: \$? = $ac_status" >&5 + echo "$as_me:6514: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6777,11 +6775,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6780: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6778: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6784: \$? = $ac_status" >&5 + echo "$as_me:6782: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6881,11 +6879,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6884: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6882: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6888: \$? = $ac_status" >&5 + echo "$as_me:6886: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8346,31 +8344,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 8353 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9247,7 +9224,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11667: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11697: \$? = $ac_status" >&5 + echo "$as_me:11671: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11794,11 +11768,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11797: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11771: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11801: \$? = $ac_status" >&5 + echo "$as_me:11775: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12326,31 +12300,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 12333 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12734,9 +12687,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -12870,11 +12820,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. @@ -12886,7 +12836,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12966,7 +12916,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13388,11 +13338,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13391: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13341: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13395: \$? = $ac_status" >&5 + echo "$as_me:13345: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13492,11 +13442,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13495: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13445: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13499: \$? = $ac_status" >&5 + echo "$as_me:13449: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14937,31 +14887,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 14944 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15345,9 +15274,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -15481,11 +15407,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. @@ -15497,7 +15423,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15577,7 +15503,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15719,11 +15645,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15722: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15648: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15726: \$? = $ac_status" >&5 + echo "$as_me:15652: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15987,11 +15913,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15990: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15916: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15994: \$? = $ac_status" >&5 + echo "$as_me:15920: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16091,11 +16017,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16094: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16020: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16098: \$? = $ac_status" >&5 + echo "$as_me:16024: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17556,31 +17482,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 17563 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17964,9 +17869,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18100,11 +18002,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. @@ -18116,7 +18018,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18196,7 +18098,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18448,9 +18350,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18584,11 +18483,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. @@ -18600,7 +18499,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18680,7 +18579,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -25959,7 +25858,6 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t -s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t Index: ltmain.sh =================================================================== RCS file: /cvs/dirsec/ldapserver/ltmain.sh,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- ltmain.sh 16 May 2007 20:07:47 -0000 1.15 +++ ltmain.sh 8 Jun 2007 23:19:17 -0000 1.16 @@ -46,16 +46,10 @@ VERSION=1.5.22 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes. +if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi # Check that we have a working $echo. @@ -111,14 +105,12 @@ # These must not be set unconditionally because not all systems understand # e.g. LANG=C (notably SCO). # We save the old values to restore during execute mode. -for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - $lt_var=C - export $lt_var - fi" -done +if test "${LC_ALL+set}" = set; then + save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL +fi +if test "${LANG+set}" = set; then + save_LANG="$LANG"; LANG=C; export LANG +fi # Make sure IFS has a sensible default lt_nl=' @@ -144,8 +136,6 @@ preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" -extracted_archives= -extracted_serial=0 ##################################### # Shell function definitions: @@ -337,17 +327,7 @@ *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - extracted_serial=`expr $extracted_serial + 1` - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" + my_xdir="$my_gentop/$my_xlib" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" @@ -778,7 +758,6 @@ *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; - *.obj) xform=obj ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` @@ -1159,9 +1138,8 @@ for arg do case $arg in - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) + -all-static | -static) + if test "X$arg" = "X-all-static"; then if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 fi @@ -1169,20 +1147,12 @@ dlopen_self=$dlopen_self_static fi prefer_static_libs=yes - ;; - -static) + else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac + fi build_libtool_libs=no build_old_libs=yes break @@ -1742,7 +1712,7 @@ continue ;; - -static | -static-libtool-libs) + -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects @@ -2520,9 +2490,7 @@ if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. @@ -3218,7 +3186,7 @@ # which has an extra 1 added just for fun # case $version_type in - darwin|linux|osf|windows|none) + darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" @@ -3442,11 +3410,11 @@ fi # Eliminate all temporary directories. -# for path in $notinst_path; do -# lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` -# deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` -# dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` -# done + for path in $notinst_path; do + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` + done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. @@ -3547,12 +3515,13 @@ int main() { return 0; } EOF $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs + if test "$?" -eq 0 ; then ldd_output=`ldd conftest` for i in $deplibs; do name=`expr $i : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then + if test "$name" != "" && test "$name" -ne "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) @@ -3591,7 +3560,9 @@ # If $name is empty we are operating on a -L argument. if test "$name" != "" && test "$name" != "0"; then $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + $LTCC $LTCFLAGS -o conftest conftest.c $i + # Did it work? + if test "$?" -eq 0 ; then ldd_output=`ldd conftest` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in @@ -3623,7 +3594,7 @@ droppeddeps=yes $echo $echo "*** Warning! Library $i is needed by this library but I was not able to" - $echo "*** make it link in! You will probably need to install it or some" + $echo "*** make it link in! You will probably need to install it or some" $echo "*** library that it depends on before this library will be fully" $echo "*** functional. Installing it before continuing would be even better." fi @@ -4268,14 +4239,12 @@ reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. + # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" generated="$generated $gentop" @@ -4723,16 +4692,16 @@ case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` else - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` fi ;; * ) - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; esac ;; @@ -4747,13 +4716,13 @@ # really was required. # Nullify the symbol file. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. @@ -4840,7 +4809,7 @@ if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= @@ -4877,7 +4846,7 @@ fi done relink_command="(cd `pwd`; $relink_command)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. @@ -5284,18 +5253,6 @@ Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi - # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH @@ -5438,7 +5395,7 @@ ;; esac $echo >> $output "\ - \$echo \"\$0: cannot exec \$program \$*\" + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit $EXIT_FAILURE fi else @@ -5624,7 +5581,7 @@ done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi @@ -5969,9 +5926,9 @@ if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 @@ -6180,7 +6137,7 @@ file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : @@ -6456,15 +6413,12 @@ fi # Restore saved environment variables - for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - + if test "${save_LC_ALL+set}" = set; then + LC_ALL="$save_LC_ALL"; export LC_ALL + fi + if test "${save_LANG+set}" = set; then + LANG="$save_LANG"; export LANG + fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" @@ -6821,9 +6775,9 @@ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE + try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX - try to export only the symbols matching REGEX + try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened @@ -6837,11 +6791,9 @@ -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries + -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] + specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. From fedora-directory-commits at redhat.com Sat Jun 9 00:27:22 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 8 Jun 2007 20:27:22 -0400 Subject: [Fedora-directory-commits] adminutil/include/libadminutil admutil.h, 1.7, 1.8 Message-ID: <200706090027.l590RMi8013035@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminutil/include/libadminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12965/include/libadminutil Modified Files: admutil.h Log Message: Resolves: Bug 237356 Summary: Move DS Admin Code into Admin Server (Comment #42) Description: In the effort of using adminutil instead of the each server's local library (e.g., libds_admin), post_begin equivalent used in the DS code checks the return value from the function. Changing the return type from void to int to adjust. Index: admutil.h =================================================================== RCS file: /cvs/dirsec/adminutil/include/libadminutil/admutil.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- admutil.h 15 May 2007 00:53:33 -0000 1.7 +++ admutil.h 9 Jun 2007 00:27:19 -0000 1.8 @@ -444,7 +444,7 @@ /* Initialize a form "post" using the POST method. Send this fn "stdin". */ /* form_post.c */ -PR_IMPLEMENT(void) post_begin(FILE *in); +PR_IMPLEMENT(int) post_begin(FILE *in); /* Turn a variable string into a vars vector. */ /* form_post.c */ From fedora-directory-commits at redhat.com Sat Jun 9 00:27:22 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 8 Jun 2007 20:27:22 -0400 Subject: [Fedora-directory-commits] adminutil/lib/libadminutil form_post.c, 1.6, 1.7 Message-ID: <200706090027.l590RMFj013041@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminutil/lib/libadminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12965/lib/libadminutil Modified Files: form_post.c Log Message: Resolves: Bug 237356 Summary: Move DS Admin Code into Admin Server (Comment #42) Description: In the effort of using adminutil instead of the each server's local library (e.g., libds_admin), post_begin equivalent used in the DS code checks the return value from the function. Changing the return type from void to int to adjust. Index: form_post.c =================================================================== RCS file: /cvs/dirsec/adminutil/lib/libadminutil/form_post.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- form_post.c 15 May 2007 00:53:33 -0000 1.6 +++ form_post.c 9 Jun 2007 00:27:20 -0000 1.7 @@ -176,13 +176,14 @@ return rstr; } -PR_IMPLEMENT(void) +PR_IMPLEMENT(int) post_begin(FILE *in) { char *vars = NULL, *tmp = NULL; int cl; char buf1[BUFSIZ]; char buf2[BUFSIZ]; + int rc = 0; if(!(tmp = getenv("CONTENT_LENGTH"))) { if (admutil_i18nResource) { @@ -201,6 +202,7 @@ "Your browser sent no content length with a POST command. Please be sure to use a fully compliant browser.", NULL); } + rc = 1; } cl = atoi(tmp); @@ -220,6 +222,7 @@ "Could not allocate enough memory to read in the POST parameters.", NULL); } + rc = 1; } if( !(fread(vars, 1, cl, in)) ) { @@ -237,12 +240,14 @@ "The POST variables could not be read from stdin.", NULL); } + rc = 1; } vars[cl] = '\0'; input = string_to_vec(vars); PL_strfree(vars); /* string_to_vec dups it */ + return rc; } PR_IMPLEMENT(void) From fedora-directory-commits at redhat.com Mon Jun 11 14:13:57 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Mon, 11 Jun 2007 10:13:57 -0400 Subject: [Fedora-directory-commits] ldapserver/m4 mozldap.m4,1.8,1.9 Message-ID: <200706111413.l5BEDvjV006066@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/m4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6026/ldapserver/m4 Modified Files: mozldap.m4 Log Message: Resolves: bug 243639 Description: --with-ldapsdk-bin required for configure argument Fix Description: In m4/mozldap.m4, there is a code to check whether ldapsdk_bindir is specified, but you can't specify it except for --with-ldapsdk argument or using pkg-config. So using --with-ldapsdk-lib and --with-ldapsdk-inc requires the additional argument '--with-ldapsdk-bin'. Index: mozldap.m4 =================================================================== RCS file: /cvs/dirsec/ldapserver/m4/mozldap.m4,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- mozldap.m4 6 Feb 2007 15:51:22 -0000 1.8 +++ mozldap.m4 11 Jun 2007 14:13:54 -0000 1.9 @@ -70,6 +70,21 @@ ], AC_MSG_RESULT(no)) +# check for --with-ldapsdk-bin +AC_MSG_CHECKING(for --with-ldapsdk-bin) +AC_ARG_WITH(ldapsdk-bin, [ --with-ldapsdk-bin=PATH Mozilla LDAP SDK binary directory], +[ + if test -d "$withval" + then + AC_MSG_RESULT([using $withval]) + ldapsdk_bindir="$withval" + else + echo + AC_MSG_ERROR([$withval not found]) + fi +], +AC_MSG_RESULT(no)) + # if LDAPSDK is not found yet, try pkg-config # last resort @@ -82,7 +97,7 @@ elif $PKG_CONFIG --exists mozldap; then mozldappkg=mozldap else - AC_MSG_ERROR([LDAPSDK not found, specify with --with-ldapsdk[-inc|-lib].]) + AC_MSG_ERROR([LDAPSDK not found, specify with --with-ldapsdk[-inc|-lib|-bin].]) fi ldapsdk_inc=`$PKG_CONFIG --cflags-only-I $mozldappkg` ldapsdk_lib=`$PKG_CONFIG --libs-only-L $mozldappkg` @@ -92,7 +107,7 @@ fi fi if test -z "$ldapsdk_inc" -o -z "$ldapsdk_lib"; then - AC_MSG_ERROR([LDAPSDK not found, specify with --with-ldapsdk[-inc|-lib].]) + AC_MSG_ERROR([LDAPSDK not found, specify with --with-ldapsdk[-inc|-lib|-bin].]) fi dnl default path for the ldap c sdk tools (see [210947] for more details) if test -z "$ldapsdk_bindir" ; then From fedora-directory-commits at redhat.com Mon Jun 11 14:13:57 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Mon, 11 Jun 2007 10:13:57 -0400 Subject: [Fedora-directory-commits] ldapserver aclocal.m4, 1.34, 1.35 configure, 1.45, 1.46 missing, 1.26, 1.27 install-sh, 1.26, 1.27 depcomp, 1.26, 1.27 compile, 1.26, 1.27 Makefile.in, 1.49, 1.50 config.sub, 1.25, 1.26 config.guess, 1.25, 1.26 Message-ID: <200706111413.l5BEDvWa006074@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6026/ldapserver Modified Files: aclocal.m4 configure missing install-sh depcomp compile Makefile.in config.sub config.guess Log Message: Resolves: bug 243639 Description: --with-ldapsdk-bin required for configure argument Fix Description: In m4/mozldap.m4, there is a code to check whether ldapsdk_bindir is specified, but you can't specify it except for --with-ldapsdk argument or using pkg-config. So using --with-ldapsdk-lib and --with-ldapsdk-inc requires the additional argument '--with-ldapsdk-bin'. Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/ldapserver/aclocal.m4,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- aclocal.m4 8 Jun 2007 23:19:17 -0000 1.34 +++ aclocal.m4 11 Jun 2007 14:13:54 -0000 1.35 @@ -1578,10 +1578,27 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4288,6 +4305,9 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -4421,11 +4441,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) +predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) +postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -4437,7 +4457,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4517,7 +4537,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6353,6 +6373,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6385,6 +6406,7 @@ done ]) SED=$lt_cv_path_SED +AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/ldapserver/configure,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- configure 8 Jun 2007 23:19:17 -0000 1.45 +++ configure 11 Jun 2007 14:13:55 -0000 1.46 @@ -465,7 +465,7 @@ #endif" ac_default_prefix=/opt/$PACKAGE_NAME -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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor 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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1072,6 +1072,7 @@ --with-ldapsdk=PATH Mozilla LDAP SDK directory --with-ldapsdk-inc=PATH Mozilla LDAP SDK include directory --with-ldapsdk-lib=PATH Mozilla LDAP SDK library directory + --with-ldapsdk-bin=PATH Mozilla LDAP SDK binary directory --with-db=PATH Berkeley DB directory --with-sasl=PATH Use sasl from supplied path --with-sasl-inc=PATH SASL include file directory @@ -3835,6 +3836,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3869,6 +3871,7 @@ fi SED=$lt_cv_path_SED + echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4309,7 +4312,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4312 "configure"' > conftest.$ac_ext + echo '#line 4315 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5444,7 +5447,7 @@ # Provide some information about the compiler. -echo "$as_me:5447:" \ +echo "$as_me:5450:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6507,11 +6510,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6510: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6513: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6514: \$? = $ac_status" >&5 + echo "$as_me:6517: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6775,11 +6778,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6778: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6781: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6782: \$? = $ac_status" >&5 + echo "$as_me:6785: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6879,11 +6882,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6882: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6885: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6886: \$? = $ac_status" >&5 + echo "$as_me:6889: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8344,10 +8347,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 8354 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9224,7 +9248,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11694: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11671: \$? = $ac_status" >&5 + echo "$as_me:11698: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11768,11 +11795,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11771: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11798: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11775: \$? = $ac_status" >&5 + echo "$as_me:11802: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12300,10 +12327,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 12334 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12687,6 +12735,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -12820,11 +12871,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_CXX +predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_CXX +postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -12836,7 +12887,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12916,7 +12967,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13338,11 +13389,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13341: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13392: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13345: \$? = $ac_status" >&5 + echo "$as_me:13396: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13442,11 +13493,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13445: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13496: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13449: \$? = $ac_status" >&5 + echo "$as_me:13500: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14887,10 +14938,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 14945 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15274,6 +15346,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -15407,11 +15482,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_F77 +predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_F77 +postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -15423,7 +15498,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77 +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15503,7 +15578,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15645,11 +15720,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15648: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15723: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15652: \$? = $ac_status" >&5 + echo "$as_me:15727: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15913,11 +15988,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15916: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15991: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15920: \$? = $ac_status" >&5 + echo "$as_me:15995: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16017,11 +16092,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16020: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16095: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16024: \$? = $ac_status" >&5 + echo "$as_me:16099: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17482,10 +17557,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 17564 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17869,6 +17965,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -18002,11 +18101,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_GCJ +predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_GCJ +postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18018,7 +18117,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18098,7 +18197,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18350,6 +18449,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -18483,11 +18585,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_RC +predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_RC +postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18499,7 +18601,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18579,7 +18681,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -23807,6 +23909,31 @@ echo "${ECHO_T}no" >&6 fi; +# check for --with-ldapsdk-bin +echo "$as_me:$LINENO: checking for --with-ldapsdk-bin" >&5 +echo $ECHO_N "checking for --with-ldapsdk-bin... $ECHO_C" >&6 + +# Check whether --with-ldapsdk-bin or --without-ldapsdk-bin was given. +if test "${with_ldapsdk_bin+set}" = set; then + withval="$with_ldapsdk_bin" + + if test -d "$withval" + then + echo "$as_me:$LINENO: result: using $withval" >&5 +echo "${ECHO_T}using $withval" >&6 + ldapsdk_bindir="$withval" + else + echo + { { echo "$as_me:$LINENO: error: $withval not found" >&5 +echo "$as_me: error: $withval not found" >&2;} + { (exit 1); exit 1; }; } + fi + +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi; + # if LDAPSDK is not found yet, try pkg-config # last resort @@ -23858,8 +23985,8 @@ elif $PKG_CONFIG --exists mozldap; then mozldappkg=mozldap else - { { echo "$as_me:$LINENO: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib." >&5 -echo "$as_me: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib." >&2;} + { { echo "$as_me:$LINENO: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib|-bin." >&5 +echo "$as_me: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib|-bin." >&2;} { (exit 1); exit 1; }; } fi ldapsdk_inc=`$PKG_CONFIG --cflags-only-I $mozldappkg` @@ -23871,8 +23998,8 @@ fi fi if test -z "$ldapsdk_inc" -o -z "$ldapsdk_lib"; then - { { echo "$as_me:$LINENO: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib." >&5 -echo "$as_me: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib." >&2;} + { { echo "$as_me:$LINENO: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib|-bin." >&5 +echo "$as_me: error: LDAPSDK not found, specify with --with-ldapsdk-inc|-lib|-bin." >&2;} { (exit 1); exit 1; }; } fi if test -z "$ldapsdk_bindir" ; then @@ -25858,6 +25985,7 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t +s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- Makefile.in 8 Jun 2007 23:19:16 -0000 1.49 +++ Makefile.in 11 Jun 2007 14:13:55 -0000 1.50 @@ -874,6 +874,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOLARIS_FALSE = @SOLARIS_FALSE@ From fedora-directory-commits at redhat.com Mon Jun 11 17:22:39 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 11 Jun 2007 13:22:39 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/lib dsalib_confs.c, 1.7, 1.8 Message-ID: <200706111722.l5BHMd6h011937@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/admin/lib In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11857/ldap/admin/lib Modified Files: dsalib_confs.c Log Message: Resolves: #243488 Summary: Use mozldap6 ldif_parse_line API Changes: 1) Removed ldif.h from the DS tree. 2) Eliminated the 5-th arg of ldif_parse_line (errmsg) and the errmsg related code. Index: dsalib_confs.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/lib/dsalib_confs.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- dsalib_confs.c 10 Nov 2006 23:44:32 -0000 1.7 +++ dsalib_confs.c 11 Jun 2007 17:22:37 -0000 1.8 @@ -78,22 +78,16 @@ char *type, *value; int vlen = 0; int rc; - char *errmsg = NULL; if ( *line == '\n' || *line == '\0' ) { break; } /* this call modifies line */ - rc = ldif_parse_line(line, &type, &value, &vlen, &errmsg); + rc = ldif_parse_line(line, &type, &value, &vlen); if (rc != 0) { - if ( errmsg != NULL ) { - ds_send_error(errmsg, 0); - PR_smprintf_free(errmsg); - } else { ds_send_error("Unknown error processing config file", 0); - } free(begin); return NULL; } @@ -160,7 +154,7 @@ * Use ldif_parse_line() so continuation markers are * handled correctly, etc. */ - char *errmsg, *type = NULL, *value = NULL, *tmpvalue = NULL; + char *type = NULL, *value = NULL, *tmpvalue = NULL; int ldif_rc, tmpvlen = 0; char *tmpline = strdup(line); @@ -171,19 +165,15 @@ return(NULL); } - ldif_rc = ldif_parse_line( tmpline, &type, &tmpvalue, - &tmpvlen, &errmsg ); + ldif_rc = ldif_parse_line( tmpline, &type, &tmpvalue, &tmpvlen ); if (ldif_rc < 0) { - ds_send_error(errmsg, 0 /* do not print errno */); + ds_send_error("Unknown error processing config file", 0); } else if (ldif_rc == 0) { /* value returned in place */ value = strdup(tmpvalue); } else { /* malloc'd value */ value = tmpvalue; } free(tmpline); - if (errmsg) { - PR_smprintf_free(errmsg); - } return value; } } From fedora-directory-commits at redhat.com Mon Jun 11 17:22:39 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 11 Jun 2007 13:22:39 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/plugins/replication cl5_api.c, 1.14, 1.15 replutil.c, 1.9, 1.10 Message-ID: <200706111722.l5BHMdBI011944@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/replication In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11857/ldap/servers/plugins/replication Modified Files: cl5_api.c replutil.c Log Message: Resolves: #243488 Summary: Use mozldap6 ldif_parse_line API Changes: 1) Removed ldif.h from the DS tree. 2) Eliminated the 5-th arg of ldif_parse_line (errmsg) and the errmsg related code. Index: cl5_api.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/replication/cl5_api.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- cl5_api.c 15 Mar 2007 21:40:34 -0000 1.14 +++ cl5_api.c 11 Jun 2007 17:22:37 -0000 1.15 @@ -4988,21 +4988,15 @@ next = ldifEntry; while ((line = ldif_getline(&next)) != NULL) { - char *errmsg = NULL; - if ( *line == '\n' || *line == '\0' ) { break; } /* this call modifies ldifEntry */ - rc = ldif_parse_line(line, &type, &value, &vlen, &errmsg); + rc = ldif_parse_line(line, &type, &value, &vlen); if (rc != 0) { - if ( errmsg != NULL ) { - slapi_log_error(SLAPI_LOG_PARSE, repl_plugin_name_cl, "%s", errmsg); - PR_smprintf_free(errmsg ); - } slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name_cl, "_cl5LDIF2Operation: warning - failed to parse ldif line\n"); continue; Index: replutil.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/replication/replutil.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- replutil.c 10 Nov 2006 23:45:17 -0000 1.9 +++ replutil.c 11 Jun 2007 17:22:37 -0000 1.10 @@ -428,8 +428,6 @@ slapi_mod_init (&mod, 0); while (line) { - char * errmsg = NULL; - if (strcasecmp (line, "-") == 0) { if (slapi_mod_isvalid (&mod)) @@ -446,14 +444,10 @@ break; } - rc = ldif_parse_line(line, &type, &value, &vlen, &errmsg); + rc = ldif_parse_line(line, &type, &value, &vlen); if (rc != 0) { /* ONREPL - log warning */ - if ( errmsg != NULL ) { - slapi_log_error( SLAPI_LOG_PARSE, repl_plugin_name, "%s", errmsg ); - PR_smprintf_free(errmsg ); - } slapi_log_error( SLAPI_LOG_REPL, repl_plugin_name, "Failed to parse the ldif line.\n"); continue; From fedora-directory-commits at redhat.com Mon Jun 11 17:22:40 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 11 Jun 2007 13:22:40 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd entry.c, 1.12, 1.13 fedse.c, 1.9, 1.10 Message-ID: <200706111722.l5BHMei9011951@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/servers/slapd In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11857/ldap/servers/slapd Modified Files: entry.c fedse.c Log Message: Resolves: #243488 Summary: Use mozldap6 ldif_parse_line API Changes: 1) Removed ldif.h from the DS tree. 2) Eliminated the 5-th arg of ldif_parse_line (errmsg) and the errmsg related code. Index: entry.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/entry.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- entry.c 10 Nov 2006 23:45:40 -0000 1.12 +++ entry.c 11 Jun 2007 17:22:37 -0000 1.13 @@ -203,27 +203,17 @@ int maxvals; int del_maxvals; char *type; - char *errmsg = NULL; if ( *s == '\n' || *s == '\0' ) { break; } - if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen, &errmsg )) < 0 ) { - if ( errmsg != NULL ) { - LDAPDebug( LDAP_DEBUG_PARSE, "%s", errmsg, 0, 0 ); - /* the memory below was not allocated by the slapi_ch_ functions */ - PR_smprintf_free(errmsg ); - } + if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen )) < 0 ) { LDAPDebug( LDAP_DEBUG_TRACE, "<= str2entry_fast NULL (parse_line)\n", 0, 0, 0 ); continue; } - /* We don't use errmsg anywhere later. free it to avoid leaking... */ - /* the memory below was not allocated by the slapi_ch_ functions */ - slapi_ch_free( (void**)&errmsg ); - /* * Extract the attribute and value CSNs from the attribute type. */ @@ -581,7 +571,6 @@ int i, j; char *next=NULL; char *valuecharptr=NULL; - char *errmsg = NULL; int retmalloc = 0; int rc; int fast_dup_check = 0; @@ -617,21 +606,12 @@ break; } - if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen, &errmsg )) < 0 ) { - if ( errmsg != NULL ) { - LDAPDebug( LDAP_DEBUG_PARSE, "%s", errmsg, 0, 0 ); - /* the memory below was not allocated by the slapi_ch_ functions */ - PR_smprintf_free(errmsg ); - } + if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen )) < 0 ) { LDAPDebug( LDAP_DEBUG_TRACE, "<= slapi_str2entry NULL (parse_line)\n", 0, 0, 0 ); continue; } - /* We don't use errmsg anywhere later. free it to avoid leaking... */ - /* the memory below was not allocated by the slapi_ch_ functions */ - slapi_ch_free( (void**)&errmsg ); - /* * Extract the attribute and value CSNs from the attribute type. */ Index: fedse.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/fedse.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- fedse.c 10 Nov 2006 23:45:40 -0000 1.9 +++ fedse.c 11 Jun 2007 17:22:37 -0000 1.10 @@ -1735,7 +1735,6 @@ { static int twiddle= -1; char *type, *value, *copy; - char *errmsg = NULL; int vlen; struct berval bv; struct berval *bvals[2]; @@ -1745,12 +1744,7 @@ bvals[0] = &bv; bvals[1] = NULL; copy= slapi_ch_strdup(easter_egg_photos[twiddle%NUM_EASTER_EGG_PHOTOS]); - if ( (retmalloc = ldif_parse_line(copy, &type, &value, &vlen, &errmsg)) < 0 ) { - if ( errmsg != NULL ) { - slapi_log_error( SLAPI_LOG_PARSE, "dse", "%s", errmsg ); - /* the memory below was not allocated by the slapi_ch_ functions */ - PR_smprintf_free(errmsg ); - } + if ( (retmalloc = ldif_parse_line(copy, &type, &value, &vlen)) < 0 ) { return SLAPI_DSE_CALLBACK_ERROR; } bv.bv_val = value; @@ -1760,7 +1754,6 @@ slapi_ch_free((void**)©); twiddle++; /* the memory below was not allocated by the slapi_ch_ functions */ - slapi_ch_free( (void**)&errmsg ); if (retmalloc) slapi_ch_free( (void**)&value ); return SLAPI_DSE_CALLBACK_OK; } From fedora-directory-commits at redhat.com Mon Jun 11 17:22:40 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 11 Jun 2007 13:22:40 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/include ldif.h,1.5,NONE Message-ID: <200706111722.l5BHMeoe011962@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/include In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11857/ldap/include Removed Files: ldif.h Log Message: Resolves: #243488 Summary: Use mozldap6 ldif_parse_line API Changes: 1) Removed ldif.h from the DS tree. 2) Eliminated the 5-th arg of ldif_parse_line (errmsg) and the errmsg related code. --- ldif.h DELETED --- From fedora-directory-commits at redhat.com Mon Jun 11 17:22:40 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 11 Jun 2007 13:22:40 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd/back-ldbm import-threads.c, 1.12, 1.13 Message-ID: <200706111722.l5BHMeH1011957@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11857/ldap/servers/slapd/back-ldbm Modified Files: import-threads.c Log Message: Resolves: #243488 Summary: Use mozldap6 ldif_parse_line API Changes: 1) Removed ldif.h from the DS tree. 2) Eliminated the 5-th arg of ldif_parse_line (errmsg) and the errmsg related code. Index: import-threads.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/import-threads.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- import-threads.c 10 Nov 2006 23:45:39 -0000 1.12 +++ import-threads.c 11 Jun 2007 17:22:38 -0000 1.13 @@ -283,21 +283,16 @@ offset = s - str; mystr = ms = slapi_ch_strdup(str); while ( (s = ldif_getline( &ms )) != NULL ) { - char *errmsg = NULL; - if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen, &errmsg )) >= 0 ) { + if ( (retmalloc = ldif_parse_line( s, &type, &valuecharptr, &valuelen )) >= 0 ) { if (!strcasecmp(type, "version")) { my_version = atoi(valuecharptr); *(str + offset) = '#'; /* the memory below was not allocated by the slapi_ch_ functions */ - if (errmsg) PR_smprintf_free(errmsg); if (retmalloc) slapi_ch_free((void **) &valuecharptr); break; } - } else if ( errmsg != NULL ) { - LDAPDebug( LDAP_DEBUG_PARSE, "%s", errmsg, 0, 0 ); } /* the memory below was not allocated by the slapi_ch_ functions */ - if (errmsg) slapi_ch_free((void **) &errmsg); if (retmalloc) slapi_ch_free((void **) &valuecharptr); } From fedora-directory-commits at redhat.com Tue Jun 12 21:08:22 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 12 Jun 2007 17:08:22 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Dialog.pm, 1.1, 1.2 Setup.pm.in, 1.1, 1.2 Message-ID: <200706122108.l5CL8Mq5030764@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30745/ldapserver/ldap/admin/src/scripts Modified Files: Dialog.pm Setup.pm.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server Fix Description: 1) Need to have $SILENT be greater than $CUSTOM so that dialog hiding works properly. 2) Need to have the ability to hide or show individual prompts in a dialog e.g. if using TLS/SSL, need to ask for the CA certificate filename, otherwise, not. 3) Need the ability to call a function to get the default yes or no answer for DialogYesNo 4) DialogYesNo should match answer case insensitively Index: Dialog.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Dialog.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Dialog.pm 8 Jun 2007 01:09:16 -0000 1.1 +++ Dialog.pm 12 Jun 2007 21:08:20 -0000 1.2 @@ -107,12 +107,18 @@ } # each prompt looks like this: -# [ 'resource key', is pwd ] +# [ 'resource key', is pwd, hide ] # The resource key is the string key of the resource # is pwd is optional - if present, the prompt is for a password # and should not echo the answer +# hide is optional - if present and true, the prompt will not be displayed - this +# is useful in cases where you may want to display or hide a subprompt depending +# on the response to a main prompt # e.g. # ['RESOURCE_USERNAME'], ['RESOURCE_PASSWORD', 1], ['RESOURCE_PASSWORD_AGAIN', 1] +# e.g. +# ['USE_SECURITY'], ['CA_CERTIFICATE', 0, 0] +# you can set the 0 to a 1 if the user has chosen to use security sub run { my $self = shift; my $resp = $DialogManager::SAME; @@ -129,7 +135,7 @@ my $prompt = $prompts[$index]; my $defaultans = $self->{defaultAns}($self, $index); my $ans; - if ($self->isDisplayed()) { + if ($self->isDisplayed() && !$promtpt->[2]) { $ans = $self->{manager}->showPrompt($prompt->[0], $defaultans, $prompt->[1]); } else { $ans = $defaultans; @@ -201,7 +207,13 @@ return $self->{ans}; } if (!exists($self->{default})) { - if ($self->{defaultIsYes}) { + my $isyes; + if (ref($self->{defaultIsYes}) eq 'CODE') { + $isyes = &{$self->{defaultIsYes}}($self); + } else { + $isyes = $self->{defaultIsYes}; + } + if ($isyes) { $self->{default} = $self->{"manager"}->getText("yes"); } else { $self->{default} = $self->{"manager"}->getText("no"); @@ -223,10 +235,10 @@ my $nno = $self->{"manager"}->getText("no"); # the regexp allows us to use y or ye or yes for "yes" - if ($nno =~ /^$ans/) { + if ($nno =~ /^$ans/i) { $resp = $DialogManager::NEXT; $self->{ans} = $nno; - } elsif ($yes =~ /^$ans/) { + } elsif ($yes =~ /^$ans/i) { $resp = $DialogManager::NEXT; $self->{ans} = $yes; } else { Index: Setup.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Setup.pm.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Setup.pm.in 8 Jun 2007 01:09:16 -0000 1.1 +++ Setup.pm.in 12 Jun 2007 21:08:20 -0000 1.2 @@ -71,10 +71,10 @@ use SetupLog; # the setup types -$SILENT = 0; $EXPRESS = 1; $TYPICAL = 2; $CUSTOM = 3; +$SILENT = 4; # process command line options Getopt::Long::Configure(qw(bundling)); # bundling allows -ddddd From fedora-directory-commits at redhat.com Tue Jun 12 22:26:25 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Tue, 12 Jun 2007 18:26:25 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/libraries/libutil Makefile, 1.7, NONE getopt.c, 1.2, NONE ntdebug.c, 1.6, NONE ntevent.c, 1.7, NONE ntreg.c, 1.5, NONE ntresource.h, 1.5, NONE ntstubs.c, 1.6, NONE Message-ID: <200706122226.l5CMQPX3008516@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/ldapserver/ldap/libraries/libutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8501 Removed Files: Makefile getopt.c ntdebug.c ntevent.c ntreg.c ntresource.h ntstubs.c Log Message: Summary: Removed unused source files. --- Makefile DELETED --- --- getopt.c DELETED --- --- ntdebug.c DELETED --- --- ntevent.c DELETED --- --- ntreg.c DELETED --- --- ntresource.h DELETED --- --- ntstubs.c DELETED --- From fedora-directory-commits at redhat.com Wed Jun 13 01:27:00 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 12 Jun 2007 21:27:00 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src cfg_sspt.c, 1.12, 1.13 addindex.c, 1.7, NONE ds_bak2db.c, 1.5, NONE ds_db2bak.c, 1.6, NONE ds_db2ldif.c, 1.5, NONE ds_ldif2db.c, 1.7, NONE ds_listdb.c, 1.5, NONE ds_remove.c, 1.8, NONE ds_rmdb.c, 1.7, NONE ds_snmpctrl.c, 1.6, NONE restart.c, 1.5, NONE shutdown.c, 1.5, NONE start.c, 1.6, NONE vlvindex.c, 1.5, NONE Message-ID: <200706130127.l5D1R0OJ009547@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9522 Modified Files: cfg_sspt.c Removed Files: addindex.c ds_bak2db.c ds_db2bak.c ds_db2ldif.c ds_ldif2db.c ds_listdb.c ds_remove.c ds_rmdb.c ds_snmpctrl.c restart.c shutdown.c start.c vlvindex.c Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (Comment #54) Description: 1) eliminated the code adding o=netscaperoot related entries from cfg_sspt.c. 2) moving DS task CGIs to the adminserver. Index: cfg_sspt.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/cfg_sspt.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- cfg_sspt.c 7 Jun 2007 22:40:14 -0000 1.12 +++ cfg_sspt.c 13 Jun 2007 01:26:58 -0000 1.13 @@ -93,14 +93,11 @@ char* const name_st = "st"; char* const name_l = "l"; -char* const value_configAdminGroupCN = "Configuration Administrators"; -char* const value_configAdminGroupRDN = "cn=Configuration Administrators"; -char* const value_configAdminCN = "Configuration Administrator"; -char* const value_configAdminSN = "Administrator"; -char* const value_configAdminGN = "Configuration"; -char* const value_globalPreferencesOU = "Global Preferences"; -char* const value_hostPreferencesOU = "Host Preferences"; -char* const value_netscapeConfigDesc = "Standard branch for configuration information"; +char* const name_netscaperootDN = "o=NetscapeRoot"; + +char* const value_configAdminCN = "Configuration Administrator"; +char* const value_configAdminSN = "Administrator"; +char* const value_configAdminGN = "Configuration"; char* const value_peopleOU = "People"; char* const value_peopleDesc = "Standard branch for people (uid) entries"; char* const value_groupsOU = "Groups"; @@ -112,14 +109,6 @@ char* dbg_log_file = "ds_sscfg.log"; -char* const name_netscaperoot = "NetscapeRoot"; -char* const name_netscaperootDN = "o=NetscapeRoot"; -char* const name_topology = "TopologyManagement"; -char* const name_topologyRDN = "ou=TopologyManagement"; -char* const value_topologyDESC = "Branch for Configuration Administration users and groups"; -char* const name_administratorsOU = "Administrators"; -char* const name_administratorsRDN = "ou=Administrators"; -char* const value_administratorsDESC = "Standard branch for Configuration Administrator (uid) entries"; char* const name_localDAGroup = "Directory Administrators"; char* const value_localDAGroupDesc = "Entities with administrative access to this directory server"; @@ -994,70 +983,6 @@ return ret; } -static int -create_NetscapeRoot(LDAP* ld, const char *DN) -{ -/* - dn: o=NetscapeRoot - o: NetscapeRoot - objectclass: top - objectclass: organization - */ - int err; - int ret = 0; - -#ifdef CGI_DEBUG - debug_log (dbg_log_file, "create_NetscapeRoot()\n"); -#endif - - if (ld == NULL) - { - return -1; - } - - if (!entry_exists(ld, DN)) - { - LDAPMod* attrs[4]; - LDAPMod attr[3]; - char* objectClasses[4]; - char* names[2]; - - attrs[0] = &attr[0]; - attrs[3] = NULL; - attr[0].mod_op = LDAP_MOD_ADD; - attr[0].mod_type = name_objectClass; - attr[0].mod_values = objectClasses; - objectClasses[0] = class_top; - objectClasses[1] = class_organization; - objectClasses[2] = NULL; - attrs[1] = &attr[1]; - attr[1].mod_op = LDAP_MOD_ADD; - attr[1].mod_type = name_o; - attr[1].mod_values = names; - names[0] = name_netscaperoot; - names[1] = NULL; - attrs[2] = NULL; - - /* fprintf (stdout, "ldap_add_s(%s)
\n", DN); fflush (stdout); */ - - err = ldap_add_s (ld, DN, attrs); - - if (err != LDAP_SUCCESS) - { - char* explanation = PR_smprintf("Unable to create %s." - " (%s (%i) returned from ldap_add_s(%s))", - name_netscaperoot, ldap_err2string (err), err, - DN); - ds_report_warning (DS_NETWORK_ERROR, " can't create NetscapeRoot", - explanation); - PR_smprintf_free (explanation); - ret = 1; - } - - } - - return ret; -} #ifdef TEST_CONFIG static int @@ -1405,28 +1330,6 @@ if (!(connection = do_bind (slapd, query->rootDN, query->rootPW))) return 1; - /* parent dn of admin uid entry */ - if (query->netscaperoot) { - parentDN = make_dn("%s, %s, %s", name_administratorsRDN, - name_topologyRDN, query->netscaperoot, NULLSTR); - } - - if (query->config_admin_uid) { - getUIDFromDN(query->config_admin_uid, realuid); - if (realuid[0]) { - /* admid is already a DN */ - configAdminDN = strdup(query->config_admin_uid); - } else if (parentDN) { - /* create a DN for admid */ - configAdminDN = make_dn(DN_formatUID, query->config_admin_uid, parentDN, NULLSTR); - } else { - /* create one from scratch */ - configAdminDN = make_dn("%s=%s, %s, %s, %s", name_uid, query->config_admin_uid, - name_administratorsRDN, name_topologyRDN, - name_netscaperootDN, NULLSTR); - } - } - if (query->suffix) { status = create_base(connection, query->suffix); @@ -1448,16 +1351,6 @@ if (!status) { - /* - Give the Configuration Admin group access to the root DSE entries - */ - if (query->netscaperoot) { - adminGroupDN = make_dn("%s, %s=%s, %s, %s", value_configAdminGroupRDN, - name_ou, value_groupsOU, - name_topologyRDN, - query->netscaperoot, NULLSTR); - } - if (query->suffix) { localDAGroupDN = make_dn("cn=%s, %s", name_localDAGroup, @@ -1491,114 +1384,6 @@ } } - if (query->cfg_sspt) - { - /* create and set ACIs for o=netscaperoot entry */ - if (!status) - status = create_NetscapeRoot(connection, query->netscaperoot); - - if (!status) - status = add_aci_v(connection, query->netscaperoot, - ACI_config_admin_group_allow_all, - value_configAdminGroupRDN, - name_ou, value_groupsOU, name_topologyRDN, - query->netscaperoot, NULLSTR); - - if (!status) - status = add_aci_v(connection, query->netscaperoot, - ACI_anonymous_allow_with_filter, - query->netscaperoot, NULLSTR); - - if (!status) - status = add_aci_v(connection, query->netscaperoot, ACI_group_expansion, - query->netscaperoot, NULLSTR); - - /* create "topologyOU, netscaperoot" entry and set ACIs */ - if (!status) - { - char *dn = make_dn("%s, %s", name_topologyRDN, - query->netscaperoot, NULLSTR); - status = create_organizational_unit(connection, NULL, dn, - value_topologyDESC, - 0, 0, 0); - - if (!status) - add_aci(connection, dn, ACI_anonymous_allow); - - free(dn); - } - - /* create "ou=Groups, ..." */ - if (!status) - { - char *dn = make_dn("%s=%s, %s, %s", name_ou, value_groupsOU, - name_topologyRDN, query->netscaperoot, NULLSTR); - status = create_organizational_unit (connection, NULL, dn, - value_groupsDesc, 0, 0, 0); - free(dn); - } - - /* create "ou=Administrators, ..." */ - if (!status) - { - char *dn = make_dn("%s, %s, %s", name_administratorsRDN, - name_topologyRDN, query->netscaperoot, NULLSTR); - status = create_organizational_unit (connection, NULL, dn, - value_administratorsDESC, - 0, 0, 0); - free(dn); - } - - /* create "cn=Configuration Administrators, ou=Groups, ..." */ - if (!status) - { - char *dn = make_dn("%s=%s, %s, %s", name_ou, value_groupsOU, - name_topologyRDN, - query->netscaperoot, NULLSTR); - status = create_group (connection, dn, value_configAdminGroupCN); - free(dn); - } - - /* create the ss admin user */ - if (!status && !is_root_user(query->ssAdmID, query)) - { - /* group to add the uid to */ - char *groupdn = make_dn("%s, %s=%s, %s, %s", value_configAdminGroupRDN, - name_ou, value_groupsOU, name_topologyRDN, - query->netscaperoot, NULLSTR); - create_ssadmin_user(connection, parentDN, - query->ssAdmID, query->ssAdmPW1); - - status = add_group_member (connection, groupdn, - name_uniqueMember, configAdminDN); - free (groupdn); - } - - admin_domainDN = make_dn("%s=%s, %s", name_ou, query->admin_domain, - query->netscaperoot, NULLSTR); - - if (!status) - status = create_organizational_unit (connection, 0, - admin_domainDN, - value_netscapeConfigDesc, - class_adminDomain, - name_adminDomain, - query->admin_domain); - - if (!status) { - status = create_organizational_unit(connection, - admin_domainDN, - value_globalPreferencesOU, 0, - 0, 0, 0); - } - if (!status) { - status = create_organizational_unit(connection, - admin_domainDN, - value_hostPreferencesOU, 0, - 0, 0, 0); - } - } - #ifdef TEST_CONFIG if (!status && query->testconfig) status = create_configEntry(connection); --- addindex.c DELETED --- --- ds_bak2db.c DELETED --- --- ds_db2bak.c DELETED --- --- ds_db2ldif.c DELETED --- --- ds_ldif2db.c DELETED --- --- ds_listdb.c DELETED --- --- ds_remove.c DELETED --- --- ds_rmdb.c DELETED --- --- ds_snmpctrl.c DELETED --- --- restart.c DELETED --- --- shutdown.c DELETED --- --- start.c DELETED --- --- vlvindex.c DELETED --- From fedora-directory-commits at redhat.com Wed Jun 13 01:30:24 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 12 Jun 2007 21:30:24 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cgi-ds - New directory Message-ID: <200706130130.l5D1UO5Z009714@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/cgi-ds In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9699/cgi-ds Log Message: Directory /cvs/dirsec/adminserver/admserv/cgi-ds added to the repository From fedora-directory-commits at redhat.com Wed Jun 13 01:31:34 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 12 Jun 2007 21:31:34 -0400 Subject: [Fedora-directory-commits] adminserver/lib/libdsa - New directory Message-ID: <200706130131.l5D1VYfo011495@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/lib/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11480/lib/libdsa Log Message: Directory /cvs/dirsec/adminserver/lib/libdsa added to the repository From fedora-directory-commits at redhat.com Wed Jun 13 01:32:02 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 12 Jun 2007 21:32:02 -0400 Subject: [Fedora-directory-commits] adminserver/include/libdsa - New directory Message-ID: <200706130132.l5D1W2iq011525@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/include/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11510/include/libdsa Log Message: Directory /cvs/dirsec/adminserver/include/libdsa added to the repository From fedora-directory-commits at redhat.com Wed Jun 13 01:37:19 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 12 Jun 2007 21:37:19 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cgi-ds addindex.c, NONE, 1.1 ds_bak2db.c, NONE, 1.1 ds_db2bak.c, NONE, 1.1 ds_db2ldif.c, NONE, 1.1 ds_ldif2db.c, NONE, 1.1 ds_listdb.c, NONE, 1.1 ds_remove.c, NONE, 1.1 ds_rmdb.c, NONE, 1.1 ds_snmpctrl.c, NONE, 1.1 init_ds_env.c, NONE, 1.1 init_ds_env.h, NONE, 1.1 restart.c, NONE, 1.1 shutdown.c, NONE, 1.1 start.c, NONE, 1.1 vlvindex.c, NONE, 1.1 Message-ID: <200706130137.l5D1bJ6Y011639@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/cgi-ds In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11558/admserv/cgi-ds Added Files: addindex.c ds_bak2db.c ds_db2bak.c ds_db2ldif.c ds_ldif2db.c ds_listdb.c ds_remove.c ds_rmdb.c ds_snmpctrl.c init_ds_env.c init_ds_env.h restart.c shutdown.c start.c vlvindex.c Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (Comment #54 -- adminserver side) Description: moving DS task CGIs to the adminserver with libdsa. --- NEW FILE addindex.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * addindex.c: Creates one or more indexes for specified attributes * * Rob Weltman */ #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include #include "nspr.h" int main(int argc, char *argv[]) { int status; char *attributes; char *attrs; char **attrList; int nAttrs; char *nextAttr = NULL; char *backendName; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; /* * Get value of the "attributes" variable. */ attributes = get_cgi_var("attributes", NULL, NULL); if ( (NULL == attributes) || (strlen(attributes) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "attributes", NULL, NULL ); return 1; } backendName = get_cgi_var("backendID", NULL, NULL); if ( (NULL == backendName) || (strlen(backendName) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "backendName", NULL, NULL ); return 1; } attrs = strdup( attributes ); if (attrs == NULL) { rpt_err(DS_MEMORY_ERROR, "Out of memory!", NULL, NULL); return 1; } /* Allocate for worst possible case */ attrList = (char **)malloc(sizeof(*attrList) * (strlen(attrs)+1)); nAttrs = 0; /* strtok() is not MT safe, but it is okay to call here because this is a command line */ attrList[nAttrs++] = strtok( attrs, " " ); do { nextAttr = strtok( NULL, " " ); attrList[nAttrs++] = nextAttr; } while( nextAttr != NULL ); ds_send_status((nAttrs > 1) ? "Creating indexes ..." : "Creating index ..."); status = ds_addindex( attrList, backendName ); if ( !status ) { rpt_success((nAttrs > 1) ? "Success! The indexes have been created." : "Success! The index has been created."); status = 0; } else { char msg[BIG_LINE]; PR_snprintf( msg, sizeof(msg), "[%s] %s", backendName, attributes); rpt_err( status, msg, NULL, NULL ); status = 1; } return status; } --- NEW FILE ds_bak2db.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Restores a database. * * Anil Bhavnani * Removed all HTML output for DS 4.0: Rob Weltman */ #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include int main(int argc, char *argv[]) { int isrunning; char *filename = NULL; int status; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; /* * Get value of the "filename" variable. */ filename = get_cgi_var("filename", NULL, NULL); if ( (NULL == filename) || (strlen(filename) < 1) ) { fprintf(stdout, "Environment variable filename not defined.\n"); rpt_err( DS_UNDEFINED_VARIABLE, "filename", NULL, NULL ); return 1; } /* Check if server is up */ isrunning = ds_get_updown_status(); /* Stop it, if so */ if (isrunning != DS_SERVER_DOWN) { status = ds_bring_down_server(); if(status != DS_SERVER_DOWN) { rpt_err( DS_SERVER_MUST_BE_DOWN, filename, NULL, NULL ); return 1; } } ds_send_status("restoring database ..."); status = ds_bak2db(filename); if ( !status ) { rpt_success("Success! The database has been restored."); status = 0; } else { rpt_err( status, filename, NULL, NULL ); status = 1; } /* Restart the server if we brought it down */ if (isrunning != DS_SERVER_DOWN) { if(ds_bring_up_server(1) != DS_SERVER_UP) { ds_send_status( "An error occurred during startup" ); } } return status; } --- NEW FILE ds_db2bak.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Backs up the database. * * Anil Bhavnani * Removed all HTML output for DS 4.0: Rob Weltman */ #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include #ifdef XP_UNIX #include #endif #include "nspr.h" int main(int argc, char *argv[]) { char *filename = NULL; int status; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; /* * Get value of the "filename" variable. */ filename = get_cgi_var("filename", NULL, NULL); if ( (NULL == filename) || (strlen(filename) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "filename", NULL, NULL ); return 1; } ds_become_localuser (ds_get_config (DS_REAL_CONFIG)); #define NEWDIR_MODE 0755 /* Attempt to detect up front if file cannot be written */ status = -1; /* Attempt to create the backup directory */ if ( 0 == ds_mkdir_p(filename, NEWDIR_MODE) ) { char foo[256]; FILE *f; /* Now attempt to create a file there (the directory might already have existed */ PR_snprintf( foo, sizeof(foo), "%s%c%s", filename, FILE_PATHSEP, "foo" ); f = fopen(foo, "w"); if ( NULL != f ) { status = 0; fclose( f ); unlink( foo ); } } if ( status ) { rpt_err( DS_CANNOT_CREATE_FILE, filename, NULL, NULL ); return 1; } ds_send_status("backing up database ..."); status = ds_db2bak( filename ); /* prints errors as needed */ if ( !status ) { rpt_success("Success! The database has been backed up."); return 0; } else { rpt_err( status, filename, NULL, NULL ); return 1; } } --- NEW FILE ds_db2ldif.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Converts the database into an ldif file. * * Anil Bhavnani * Removed all HTML output for DS 4.0: Rob Weltman */ #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include #ifdef XP_UNIX #include #endif int main(int argc, char *argv[]) { char *filename = NULL; char *subtree = NULL; int status; FILE *f; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; /* * Get value of the "filename" variable. */ filename = get_cgi_var("filename", NULL, NULL); if ( (NULL == filename) || (strlen(filename) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "filename", NULL, NULL ); return 1; } ds_become_localuser (ds_get_config (DS_REAL_CONFIG)); /* Attempt to detect up front if file cannot be written */ f = fopen(filename, "w"); if ( NULL != f ) { fclose( f ); unlink( filename ); } else { rpt_err( DS_CANNOT_CREATE_FILE, filename, NULL, NULL ); return 1; } /* * Get value of the "subtree" variable. */ subtree = get_cgi_var("subtree", NULL, NULL); ds_send_status("creating LDIF file ..."); if ( (subtree != NULL) && (*subtree != 0) ) { char *escaped = ds_escape_for_shell( subtree ); status = ds_db2ldif_subtree(filename, escaped); free( escaped ); } else { status = ds_db2ldif(filename); /* prints errors as needed */ } if ( !status ) { rpt_success("Success! The database has been exported."); return 0; } else { rpt_err( status, filename, NULL, NULL ); return 1; } } --- NEW FILE ds_ldif2db.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * ds_ldif2db.c: Converts an ldif file into a database. * * Anil Bhavnani * Removed all HTML output for DS 4.0: Rob Weltman */ #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include #ifdef XP_UNIX #include #endif #ifdef XP_WIN32 #include #endif int main(int argc, char *argv[]) { int isrunning; char *filename = NULL; char *saveconfig = NULL; int preserve; int status; setbuf(stdout, 0); #ifdef DEBUG_CGI freopen("\\tmp\\stderr.out", "w", stderr); #else dup2(fileno(stdout), fileno(stderr)); #endif /* DEBUG_CGI */ fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; /* * Get value of the "filename" variable. */ filename = get_cgi_var("filename", NULL, NULL); if ( (NULL == filename) || (strlen(filename) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "filename", NULL, NULL ); return 1; } #ifdef DEBUG_CGI fprintf(stderr, "filename=%s\n", filename); #endif /* DEBUG_CGI */ /* * Get value of the "saveconfig" variable. */ saveconfig = get_cgi_var("saveconfig", NULL, NULL); preserve = ( (saveconfig == NULL) || !(strcmp(saveconfig,"true")) ); #ifdef DEBUG_CGI fprintf(stderr, "preserve=%d\n", preserve); #endif /* DEBUG_CGI */ /* Check if server is up */ isrunning = ds_get_updown_status(); #ifdef DEBUG_CGI fprintf(stderr, "isrunning=%d\n", isrunning); #endif /* DEBUG_CGI */ /* Stop it, if so */ if (isrunning != DS_SERVER_DOWN) { status = ds_bring_down_server(); #ifdef DEBUG_CGI fprintf(stderr, "status=%d\n", status); #endif /* DEBUG_CGI */ if(status != DS_SERVER_DOWN) { rpt_err( DS_SERVER_MUST_BE_DOWN, filename, NULL, NULL ); return 1; } } ds_send_status("creating database ..."); if ( preserve ) status = ds_ldif2db_preserve(filename); /* prints errors as needed */ else status = ds_ldif2db(filename); /* prints errors as needed */ if ( !status ) { rpt_success("Success! The database has been imported."); status = 0; } else { rpt_err( status, filename, NULL, NULL ); status = 1; } /* Restart the server if we brought it down */ if (isrunning != DS_SERVER_DOWN) { int retval; if((retval=ds_bring_up_server(1)) != DS_SERVER_UP) { ds_send_status( "An error occurred during startup" ); } } return status; } --- NEW FILE ds_listdb.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * List the database backup directories. * No HTML - this is for DS 4.0. * * Rob Weltman */ #include #include #include "dsalib.h" int main(int argc, char *argv[], char *envp[]) { char **bak_dirs; ds_become_localuser (ds_get_config (DS_REAL_CONFIG)); /* Tell the receiver we are about to start sending data */ fprintf(stdout, "\n"); bak_dirs = ds_get_bak_dirs(); if ( bak_dirs != NULL ) /* no error */ { char **cur_file = bak_dirs; while ( *cur_file != NULL ) { fprintf(stdout, "%s\n", *cur_file); cur_file++; } } ds_become_original(); return 0; } --- NEW FILE ds_remove.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Remove the server * * Prasanta Behera */ #ifdef XP_WIN32 #include #include #include "regparms.h" extern BOOL DeleteServer(LPCSTR pszServiceId); #endif #include #include #include #include "libadminutil/admutil.h" #ifdef XP_UNIX #include #include #include #include #include #include #else #endif /* WIN32? */ #include #include "dsalib.h" #include "init_ds_env.h" #include "nspr.h" /* this will be set to 1 if we need to retry the rm -rf of the instance directory again */ static int try_rm_rf_again = 0; static int rm_rf_err_func(const char *path, const char *op, void *arg) { PRInt32 errcode = PR_GetError(); char *msg; const char *errtext; if (!errcode || (errcode == PR_UNKNOWN_ERROR)) { errcode = PR_GetOSError(); errtext = ds_system_errmsg(); } else { errtext = PR_ErrorToString(errcode, PR_LANGUAGE_I_DEFAULT); } /* ignore "file or directory already removed" errors */ if (errcode != PR_FILE_NOT_FOUND_ERROR) { msg = PR_smprintf("%s %s: error code %d (%s)", op, path, errcode, errtext); ds_send_error(msg, 0); PR_smprintf_free(msg); } /* On Windows and HPUX, if the file/directory to remove is opened by another application, it cannot be removed and will generate a busy error This usually happens when we attempt to stop slapd then remove the instance directory, but for some reason the process still has some open files In this case, we need to wait for some period of time then attempt to remove the instance directory again */ if (errcode == PR_FILE_IS_BUSY_ERROR) { try_rm_rf_again = 1; return 0; /* just abort the operation */ } #ifdef XP_WIN32 /* on windows, err 145 means dir not empty 145 The directory is not empty. ERROR_DIR_NOT_EMPTY If there was a busy file, it wasn't able to be removed, so when we go to remove the directory, it won't be empty */ if (errcode == ERROR_DIR_NOT_EMPTY) { if (try_rm_rf_again) { return 0; /* don't continue */ } } #else /* unix */ if (errcode == EEXIST) { /* not empty */ if (try_rm_rf_again) { return 0; /* don't continue */ } } #endif return 1; /* just continue */ } int main(int argc, char *argv[]) { int status = -1; char *servername; char *installroot; int isRunning; #ifndef __LP64__ #if defined(__hpux) && !defined(__ia64) _main(); #endif #endif #ifdef XP_WIN32 if ( getenv("DEBUG_DSINST") ) DebugBreak(); #endif /* case 1: being called as program -f inffile */ if (argc > 2 && argv[1][0] == '-' && argv[1][1] == 'f') { FILE *infFile = fopen(argv[2], "r"); if (!infFile) { ds_report_error (DS_INCORRECT_USAGE, argv[2], "This file could not be opened. A valid file must be given."); status = 1; return status; } else fclose(infFile); #if 0 ds_uninst_set_cgi_env(argv[2]); #else fprintf(stdout, "Call Uninstall\n"); #endif } else if (getenv("REQUEST_METHOD")) { /* case 2: called as a CGI */ fprintf(stdout, "Content-type: text/html\n\n"); fflush(stdout); } else { /* case 3: run from the command line */ /* when being run from the command line, we require many command line arguments */ /* we need to do 2 or three things: 1 - stop the server and remove the server instance directory 2 - remove the server's information from the config ds 3 - On Windows, remove the registry information We require the instance name as an argument. We also need the following: For 1, we need the server root For 2, we need the config ds host, port, admin domain, admin dn, admin password For 3, just the instance name There are two other arguments that are optional. -force will ignore errors and just keep going. On Windows, -allreg will clean up all known registry information for all instances of DS on this machine */ } if ( init_ds_env() ) { return 1; } /* * Get the server path to delete. * serverpath = //slapd- */ if (!(servername = get_cgi_var("InstanceName", NULL, NULL))) servername = ds_get_server_name(); /* Check again if the serevr is down or not */ if((isRunning = ds_get_updown_status()) == DS_SERVER_UP) { if ((status = ds_bring_down_server()) != DS_SERVER_DOWN) { char buf[1024]; PR_snprintf(buf, sizeof(buf), "Could not stop server: error %d", status); ds_report_error (DS_GENERAL_FAILURE, servername, buf); return 1; } } if (servername) { char line[1024]; int busy_retries = 3; /* if busy, retry this many times */ installroot = ds_get_install_root(); /* We may get busy errors if files are in use when we try to remove them, so if that happens, sleep for 30 seconds and try again */ status = ds_rm_rf(installroot, rm_rf_err_func, NULL); while (status && try_rm_rf_again && busy_retries) { PR_snprintf(line, sizeof(line), "Some files or directories in %s are still in use. Will sleep for 30 seconds and try again.", installroot); ds_show_message(line); PR_Sleep(PR_SecondsToInterval(30)); try_rm_rf_again = 0; --busy_retries; status = ds_rm_rf(installroot, rm_rf_err_func, NULL); } if (status) { PR_snprintf(line, sizeof(line), "Could not remove %s. Please check log messages and try again.", installroot); ds_send_error(line, 0); } } #ifdef XP_WIN32 if (servername) { status += ds_remove_reg_key(HKEY_LOCAL_MACHINE, "%s\\%s\\%s\\%s", KEY_SOFTWARE_NETSCAPE, DS_NAME_SHORT, DS_VERSION, servername); /* also try to remove version key in case this is the last instance */ status += ds_remove_reg_key(HKEY_LOCAL_MACHINE, "%s\\%s\\%s", KEY_SOFTWARE_NETSCAPE, DS_NAME_SHORT, DS_VERSION); /* also try to remove product key in case this is the last instance */ status += ds_remove_reg_key(HKEY_LOCAL_MACHINE, "%s\\%s", KEY_SOFTWARE_NETSCAPE, DS_NAME_SHORT); /* also need to remove service */ if (!DeleteServer(servername)) { status += 1; } /* Remove Event Log Key */ status += ds_remove_reg_key(HKEY_LOCAL_MACHINE, "%s\\%s\\%s", KEY_SERVICES, KEY_EVENTLOG_APP, servername); } #endif if (status == 0) { char buf[1024]; PR_snprintf(buf, sizeof(buf), "Server %s was successfully removed", servername); ds_show_message(buf); rpt_success(""); } else { char buf[1024]; PR_snprintf(buf, sizeof(buf), "Could not remove server %s", servername); ds_send_error(buf, 0); } return status; } --- NEW FILE ds_rmdb.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Delete backed-up database files. * * Anil Bhavnani * Removed all HTML output for DS 4.0: Rob Weltman */ #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include #ifdef XP_UNIX #include #endif #ifdef XP_WIN32 #include #endif #include "nspr.h" #ifndef MAXPATHLEN #define MAXPATHLEN 1024 #endif int main(int argc, char *argv[], char *envp[]) { char *del_file = NULL; char **bak_files; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; ds_become_localuser (ds_get_config (DS_REAL_CONFIG)); /* * Get value of the "deletefile" variable. */ del_file = get_cgi_var("deletefile", NULL, NULL); if ( (NULL == del_file) || (strlen(del_file) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "deletefile", NULL, NULL ); return 1; } bak_files = ds_get_file_list( del_file ); if ( bak_files == NULL ) { rpt_err( DS_NO_SUCH_FILE, del_file, NULL, NULL ); return 1; } else { int j; char buf[ MAXPATHLEN ]; for ( j = 0; bak_files[ j ] != NULL; j++ ) { PR_snprintf( buf, sizeof(buf), "%s/%s", del_file, bak_files[ j ]); if ( unlink(buf) != 0 ) { rpt_err( DS_CANNOT_DELETE_FILE, buf, NULL, NULL ); return 1; } } if ( rmdir( del_file ) < 0 ) { rpt_err( DS_CANNOT_DELETE_FILE, del_file, NULL, NULL ); return 1; } } rpt_success("Success! Deleted directory."); return 0; } --- NEW FILE ds_snmpctrl.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * snmpctrl.c - start/stop/restart LDAP-based SNMP subagent * * Steve Ross -- 08/12/97 * */ #include #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include "nspr.h" #if !defined(_WIN32) #include #include #include #include #include #include #else #include #endif #define SUBAGT_PATH "bin/slapd/server" #define SUBAGT_NAME "ns-ldapagt" #define START 1 #define STOP 2 #define RESTART 3 #define NSLDAPAGT_PID "NSLDAPAGT.LK" #ifdef __cplusplus extern "C" { #endif int nsldapagt_is_running(void); int nsldapagt_shutdown(void); int nsldapagt_start(void); int nsldapagt_restart(void); #ifdef __cplusplus } #endif int main(int argc, char *argv[]) { char *action_type = NULL; int status = 1; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; action_type = get_cgi_var("ACTION", "Missing Command", "Need to specify Start, Stop, or Restart"); if (!action_type) return 1; if (!strcmp(action_type, "START")) { status = nsldapagt_start(); } else if (!strcmp(action_type, "STOP")) { status = nsldapagt_shutdown(); } else if (!strcmp(action_type, "RESTART")) { status = nsldapagt_restart(); } else { status = DS_UNKNOWN_SNMP_COMMAND; } if ( !status ) { rpt_success("Success!"); return 0; } else { rpt_err( status, action_type, NULL, NULL ); return 1; } } #if !defined(_WIN32) int get_nsldapagt_pid(pid_t *pid) { char *SLAPD_ROOT; char path[PATH_MAX]; FILE *fp; *pid = -1; SLAPD_ROOT = ds_get_install_root(); PR_snprintf(path, sizeof(path), "%s/logs/%s", SLAPD_ROOT, NSLDAPAGT_PID); if (!ds_file_exists(path)) { return(-1); } if ((fp = fopen(path, "r")) != (FILE *) NULL) { if ((fscanf(fp, "%d\n", (int *) pid)) != -1) { (void) fclose(fp); return(0); } } (void) fclose(fp); return(-1); } #endif #if defined(_WIN32) BOOL isServiceRunning(LPCTSTR szServiceId) { BOOL bReturn = FALSE; DWORD dwError = 0; SC_HANDLE schService = NULL; SC_HANDLE schSCManager = NULL; SERVICE_STATUS lpss; if((schSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS))) { if((schService = OpenService(schSCManager, szServiceId, SERVICE_ALL_ACCESS))) { bReturn = ControlService(schService, SERVICE_CONTROL_INTERROGATE , &lpss); if(SERVICE_RUNNING == lpss.dwCurrentState) { bReturn = TRUE; } CloseServiceHandle(schService); } dwError = GetLastError(); CloseServiceHandle(schSCManager); } return(bReturn); } #endif /* * This routine returns: * 0 if nsldapagt is NOT running * 1 if nsldapagt is actually running */ int nsldapagt_is_running() { #if defined(_WIN32) if (FALSE == isServiceRunning("SNMP") ) { return(0); } #else pid_t pid; if (get_nsldapagt_pid(&pid) != 0) { return(0); } if (kill(pid, 0) == -1) { return(0); } #endif return(1); } #if !defined(_WIN32) /* * This routine returns: * 0 if magt is NOT running * 1 if magt is actually running * * The run state is determined whether one can successfully bind to the * smux port. * * this is for UNIX only */ int smux_master_is_running() { struct servent *pse; struct protoent *ppe; struct sockaddr_in sin; int s; sin.sin_family = AF_INET; sin.sin_addr.s_addr = INADDR_ANY; if ((pse = getservbyname("smux", "tcp"))) { sin.sin_port = ntohs(pse->s_port); } else { sin.sin_port = 199; } if ((ppe = getprotobyname("tcp")) == 0) { return(0); } if ((s = socket(AF_INET, SOCK_STREAM, ppe->p_proto)) < 0) { return(0); } /* bind expects port number to be in network order we should do this for all platforms, not just OSF. */ sin.sin_port = htons(sin.sin_port); if (bind(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) { close(s); return(1); } else { } close(s); return(0); } #endif int nsldapagt_start() { if (nsldapagt_is_running()) { return(0); } #if defined(_WIN32) /* NT version -- just try to start the SNMP service */ /* Bug 612322: redirecting the output to null device */ system("net start SNMP > nul"); #else /* * Check if smux master agent is running before firing off the subagent! */ if (!smux_master_is_running()) { return(-1); } else { char *NETSITE_ROOT = getenv("NETSITE_ROOT"); char *SLAPD_ROOT = ds_get_install_root(); char command[1024]; PR_snprintf(command, sizeof(command), "cd %s/%s; ./%s -d %s", NETSITE_ROOT, SUBAGT_PATH, SUBAGT_NAME, SLAPD_ROOT); (void) system(command); sleep(2); } #endif if (!nsldapagt_is_running()) { return(-1); } return(0); } int nsldapagt_shutdown() { if (!nsldapagt_is_running()) { rpt_success("NOT_RUNNING"); exit(0); } else { int status = -1; #if defined(_WIN32) /* NT version -- just try to stop the SNMP service */ /* Bug 612322: redirecting the output to null device */ status = system("net stop SNMP > nul"); #else /* UNIX version */ pid_t pid; if (get_nsldapagt_pid(&pid) == 0) { if (kill(pid, SIGTERM) == 0) { sleep(2); if (!nsldapagt_is_running()) { status = 0; } } } #endif return(status); } return(0); } int nsldapagt_restart() { int status; if ( (status = nsldapagt_shutdown()) != 0 ) return status; else return nsldapagt_start(); } --- NEW FILE init_ds_env.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Set up environment for CGIs. * * Rob Weltman */ #include #include #include #include "libadminutil/admutil.h" #include "libadminutil/distadm.h" #include "init_ds_env.h" #include "dsalib.h" #include "prprf.h" int init_ds_env() { char *m = getenv("REQUEST_METHOD"); char *qs = NULL; int proceed = 0; (void)ADMUTIL_Init(); if ( m != NULL ) { if( !strcmp(m, "GET") ) { qs = GET_QUERY_STRING(); if ( qs && *qs ) { get_begin(qs); } proceed = 1; } else if(!strcmp(m, "POST")) { if (post_begin(stdin)) { proceed = 0; } else { proceed = 1; } } } if(!proceed) { char msg[2000]; PR_snprintf(msg, sizeof(msg), "ErrorString: REQUEST_METHOD=%s," "QUERY_STRING=%s\n", (m == NULL) ? "" : m, (qs == NULL) ? "" : qs); rpt_err( GENERAL_FAILURE, msg, "", "" ); return 1; } return 0; } --- NEW FILE init_ds_env.h --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Set up environment for CGIs. * * Rob Weltman */ extern int init_ds_env(); --- NEW FILE restart.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * restart.c: Stops and the starts up the server. * */ #include #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #ifdef XP_WIN32 #define sleep(sec) Sleep(sec) #endif int main(int argc, char *argv[]) { int status = -1; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; if (DS_SERVER_UP == ds_get_updown_status()) { status = ds_bring_down_server(); if(status != DS_SERVER_DOWN) { rpt_err( status, "", NULL, NULL ); return 1; } } status = ds_bring_up_server(1); if(status == DS_SERVER_UP) { rpt_success("Success! The server has been restarted."); return 0; } else { rpt_err( status, "", NULL, NULL ); return 1; } } --- NEW FILE shutdown.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * shutdown.c: Kills the server. * * DS changes: Anil Bhavnani * Removed all HTML output for DS 4.0: Rob Weltman * Mike McCool */ #include #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" int main(int argc, char *argv[]) { int status = -1; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; status = ds_bring_down_server(); if(status == DS_SERVER_DOWN) { rpt_success("Success! The server has been shut down."); return 0; } else { rpt_err( status, "", NULL, NULL ); return 1; } } --- NEW FILE start.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * start.c: Starts up the server. * * DS changes: Anil Bhavnani * Removed all HTML output for DS 4.0: Rob Weltman * Mike McCool */ #include #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" int main(int argc, char *argv[]) { int status = -1; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 0; status = ds_bring_up_server(1); if(status == DS_SERVER_UP) { rpt_success("Success! The server has been started."); return 0; } else { rpt_err( status, "", NULL, NULL ); return 1; } } --- NEW FILE vlvindex.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * vlvindex.c: Creates a VLV index for a given search * * Rob Weltman */ #include #include #include "libadminutil/admutil.h" #include "dsalib.h" #include "init_ds_env.h" #include int main(int argc, char *argv[]) { int status; char *backendNames = NULL; char *attributes = NULL; char *tmparg = NULL; char **attrList = NULL; char **backendList = NULL; int nItem = 0; char *nextItem = NULL; int i=0; fprintf(stdout, "Content-type: text/html\n\n"); if ( init_ds_env() ) return 1; ds_send_status("Creating vlv index ..."); /* * Get var's value */ backendNames = get_cgi_var("backendID", NULL, NULL); if ( (NULL == backendNames) || (strlen(backendNames) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "backendID", NULL, NULL ); return 1; } attributes = get_cgi_var("vlvTags", NULL, NULL); if ( (NULL == attributes) || (strlen(attributes) < 1) ) { rpt_err( DS_UNDEFINED_VARIABLE, "vlvTags", NULL, NULL ); return 1; } tmparg = strdup( attributes ); nItem = 0; for(i=0 ; i < strlen(attributes) ; i++) { if ( tmparg[i] == ';' ) nItem++; } /* Allocate for worst possible case */ attrList = (char **)malloc(sizeof(*attrList) * (nItem + 2) ); nItem = 0; /* strtok() is not MT safe, but it is okay to call here because this is a command line */ attrList[nItem++] = strtok( tmparg, ";" ); do { nextItem = strtok( NULL, ";" ); attrList[nItem++] = nextItem; } while( nextItem != NULL ); tmparg = strdup( backendNames ); nItem = 0; for(i=0;i Author: nhosoi Update of /cvs/dirsec/adminserver/include/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11558/include/libdsa Added Files: dsalib.h dsalib_pw.h dsalib_schema.h Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (Comment #54 -- adminserver side) Description: moving DS task CGIs to the adminserver with libdsa. --- NEW FILE dsalib.h --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #ifndef __dsalib_h #define __dsalib_h #include #include #include #ifdef HPUX #include /* for PATH_MAX */ #endif /* error types */ #define DS_FILE_ERROR 0 #define DS_MEMORY_ERROR 1 #define DS_SYSTEM_ERROR 2 #define DS_INCORRECT_USAGE 3 #define DS_ELEM_MISSING 4 #define DS_REGISTRY_DATABASE_ERROR 5 #define DS_NETWORK_ERROR 6 #define DS_GENERAL_FAILURE 7 #define DS_WARNING 8 /* The upper bound on error types */ #define DS_MAX_ERROR 9 /* The default error type (in case something goes wrong */ #define DS_DEFAULT_ERROR 3 #ifndef BIG_LINE #define BIG_LINE 1024 #endif #ifndef PATH_MAX #if defined( _WIN32 ) #define PATH_MAX _MAX_PATH #else #define PATH_MAX 256 #endif /* _WIN32 */ #endif /* PATH_MAX */ #ifndef HTML_ERRCOLOR #define HTML_ERRCOLOR "#AA0000" #endif #ifndef CONTENT_NAME #define CONTENT_NAME "content" #endif /* config file/path info */ #define DS_CONFIG_DIR "DS_CONFIG_DIR" #define DS_CONFIG_FILE "dse.ldif" #define DS_ORIGCONFIG_FILE "dse_original.ldif" #define DS_CONFIG_LOCKDIR "nsslapd-lockdir:" #define DS_CONFIG_ERRLOG "nsslapd-errorlog:" #ifdef XP_UNIX #define FILE_PATHSEP '/' #define FILE_PATHSEPP "/" #define FILE_PARENT "../" #define WSACleanup() #elif defined(XP_WIN32) #define FILE_PATHSEP '/' #define FILE_PATHSEPP "\\\\" #define FILE_PARENT "..\\" #endif /* XP_WIN32 */ #define PATH_SIZE 1024 #define ERR_SIZE 8192 /* NT doesn't strictly need these, but the libadmin API which is emulated below uses them. */ #define NEWSCRIPT_MODE 0755 #define NEWFILE_MODE 0644 #define NEWDIR_MODE 0755 #if defined( XP_WIN32 ) #define DS_EXPORT_SYMBOL __declspec( dllexport ) #else #define DS_EXPORT_SYMBOL #endif #if defined( XP_WIN32 ) #define ENQUOTE "\"" #else #define ENQUOTE "" #endif #ifndef FILE_SEP #ifdef XP_WIN32 #define FILE_SEP '\\' #else #define FILE_SEP '/' #endif #endif #if defined( XP_WIN32 ) #define PATH_FOR_PLATFORM(_path) ds_unixtodospath(_path) #else #define PATH_FOR_PLATFORM(_path) #endif #define START_SCRIPT "start-slapd" #define RESTART_SCRIPT "restart-slapd" #define STOP_SCRIPT "stop-slapd" #if defined( XP_WIN32 ) #define SLAPD_NAME "slapd" #else #define SLAPD_NAME "ns-slapd" #endif #define MOCHA_NAME "JavaScript" /* * Return values from ds_get_updown_status() */ #define DS_SERVER_UP 1 #define DS_SERVER_DOWN 0 #define DS_SERVER_UNKNOWN -1 /* * Return values from ds_bring_up_server() */ #define DS_SERVER_ALREADY_UP -2 #define DS_SERVER_ALREADY_DOWN -3 #define DS_SERVER_PORT_IN_USE -4 #define DS_SERVER_MAX_SEMAPHORES -5 #define DS_SERVER_CORRUPTED_DB -6 #define DS_SERVER_NO_RESOURCES -7 #define DS_SERVER_COULD_NOT_START -8 /* * Other return values */ #define DS_UNKNOWN_ERROR -1 #define DS_NO_SERVER_ROOT -10 #define DS_CANNOT_EXEC -11 #define DS_CANNOT_OPEN_STAT_FILE -12 #define DS_NULL_PARAMETER -13 #define DS_SERVER_MUST_BE_DOWN -14 #define DS_CANNOT_OPEN_BACKUP_FILE -15 #define DS_NOT_A_DIRECTORY -16 #define DS_CANNOT_CREATE_DIRECTORY -17 #define DS_CANNOT_OPEN_LDIF_FILE -18 #define DS_IS_A_DIRECTORY -19 #define DS_CANNOT_CREATE_FILE -20 #define DS_UNDEFINED_VARIABLE -21 #define DS_NO_SUCH_FILE -22 #define DS_CANNOT_DELETE_FILE -23 #define DS_UNKNOWN_SNMP_COMMAND -24 #define DS_NON_NUMERIC_VALUE -25 #define DS_NO_LOGFILE_NAME -26 #define DS_CANNOT_OPEN_LOG_FILE -27 #define DS_HAS_TOBE_READONLY_MODE -28 #define DS_INVALID_LDIF_FILE -29 /* * Types of config files. */ #define DS_REAL_CONFIG 1 #define DS_TMP_CONFIG 2 /* * Maximum numeric value we will accept in admin interface * We may at some point need per-option bounds, but for now, * there's just one global maximum. */ #define DS_MAX_NUMERIC_VALUE 4294967295 /* 2^32 - 1 */ /* Use our own macro for rpt_err, so we can put our own error code in NMC_STATUS */ #undef rpt_err #define rpt_err(CODE, STR1, STR2, STR3) \ fprintf( stdout, "NMC_ErrInfo: %s\n", (STR1) ); \ fprintf( stdout, "NMC_STATUS: %d\n", CODE ) /* * Flags for ds_display_config() */ #define DS_DISP_HRB 1 /* horizontal line to begin with */ #define DS_DISP_HRE 2 /* horizontal line to end with */ #define DS_DISP_TB 4 /* table begin */ #define DS_DISP_TE 8 /* table end */ #define DS_DISP_EOL 16 /* End Of Line */ #define DS_DISP_NOMT 32 /* display only non empty */ #define DS_DISP_NOIN 64 /* display with no input field */ #define DS_DISP_HELP 128 /* display with a help button */ #define DS_DISP_PLAIN 256 /* No table, no nothin */ #define DS_SIMPLE (DS_DISP_EOL | DS_DISP_NOIN | DS_DISP_HELP) /* * dci_type for ds_cfg_info */ #define DS_ATTR_STRING 1 #define DS_ATTR_NUMBER 2 #define DS_ATTR_ONOFF 3 #define DS_ATTR_LIMIT 4 /* a number where -1 is displayed as blank */ struct ds_cfg_info { char *dci_varname; char *dci_display; int dci_type; char *dci_help; }; extern struct ds_cfg_info ds_cfg_info[]; #define LDBM_DATA_SIZE 5 /*ldbm specific backend information*/ struct ldbm_data { char *tv[LDBM_DATA_SIZE][2]; /*type and value*/ }; /* * varname for ds_showparam() * NOTE: these must be kept in synch with the ds_cfg_info array defined * in ../lib/dsalib_conf.c */ #define DS_LOGLEVEL 0 #define DS_REFERRAL 1 #define DS_AUDITFILE 2 #define DS_LOCALHOST 3 #define DS_PORT 4 #define DS_SECURITY 5 #define DS_SECURE_PORT 6 #define DS_SSL3CIPHERS 7 #define DS_PASSWDHASH 8 #define DS_ACCESSLOG 9 #define DS_ERRORLOG 10 #define DS_ROOTDN 11 #define DS_ROOTPW 12 #define DS_SUFFIX 13 #define DS_LOCALUSER 14 #define DS_CFG_MAX 15 /* MUST be one greater than the last option */ /* These control how long we wait for the server to start up or shutdown */ #define SERVER_START_TIMEOUT 600 /* seconds */ #define SERVER_STOP_TIMEOUT SERVER_START_TIMEOUT /* same as start timeout */ typedef int (*DS_RM_RF_ERR_FUNC)(const char *path, const char *op, void *arg); #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ extern DS_EXPORT_SYMBOL char *ds_get_server_root(); extern DS_EXPORT_SYMBOL char *ds_get_install_root(); extern DS_EXPORT_SYMBOL char *ds_get_admserv_based_root(); extern DS_EXPORT_SYMBOL void ds_log_debug_message(char *msg); extern DS_EXPORT_SYMBOL void ds_log_env(char **envp); extern DS_EXPORT_SYMBOL int ds_get_updown_status(); extern DS_EXPORT_SYMBOL void ds_print_startstop(int stop); extern DS_EXPORT_SYMBOL int ds_bring_up_server_install(int verbose, char *root, char *errorlog); extern DS_EXPORT_SYMBOL int ds_bring_up_server(int verbose); extern DS_EXPORT_SYMBOL char *ds_get_server_name(); extern DS_EXPORT_SYMBOL void ds_send_error(char *errstr, int print_errno); extern DS_EXPORT_SYMBOL void ds_send_status(char *str); extern DS_EXPORT_SYMBOL char *ds_get_cgi_var(char *cgi_var_name); extern DS_EXPORT_SYMBOL char *ds_get_cgi_var_simple(int index); extern DS_EXPORT_SYMBOL char *ds_get_cgi_multiple(char *cgi_var_name); extern DS_EXPORT_SYMBOL char *ds_get_errors_name(); extern DS_EXPORT_SYMBOL char *ds_get_access_name(); extern DS_EXPORT_SYMBOL char *ds_get_audit_name(); extern DS_EXPORT_SYMBOL char *ds_get_logfile_name(int config_type); extern DS_EXPORT_SYMBOL int ds_bring_down_server(); extern DS_EXPORT_SYMBOL void ds_print_server_status(int isrunning); extern DS_EXPORT_SYMBOL int ds_get_file_size(char *fileName); extern DS_EXPORT_SYMBOL void ds_display_tail(char *fileName, int timeOut, int startSeek, char *doneMsg, char *lastLine); extern DS_EXPORT_SYMBOL int ds_ldif2db_preserve(char *file); extern DS_EXPORT_SYMBOL int ds_ldif2db(char *file); extern DS_EXPORT_SYMBOL int ds_ldif2db_backend_subtree(char *file, char *backend, char *subtree); extern DS_EXPORT_SYMBOL int ds_db2ldif(char *file); extern DS_EXPORT_SYMBOL int ds_vlvindex(char **backendList, char **attrList); extern DS_EXPORT_SYMBOL int ds_addindex(char **attrList, char *backendName); extern DS_EXPORT_SYMBOL int ds_db2ldif_subtree(char *file, char *subtree); extern DS_EXPORT_SYMBOL char **ds_get_bak_dirs(); extern DS_EXPORT_SYMBOL int ds_db2bak(char *file); extern DS_EXPORT_SYMBOL int ds_bak2db(char *file); extern DS_EXPORT_SYMBOL int ds_get_monitor(int frontend, char *port); extern DS_EXPORT_SYMBOL int ds_get_bemonitor(char *bemdn, char *port); extern DS_EXPORT_SYMBOL int ds_client_access(char *port, char *dn); extern DS_EXPORT_SYMBOL char **ds_get_config(int type); extern DS_EXPORT_SYMBOL char *ds_get_config_dir(); extern DS_EXPORT_SYMBOL void ds_set_config_dir(char *config_dir); extern DS_EXPORT_SYMBOL char *ds_get_run_dir(); extern DS_EXPORT_SYMBOL void ds_set_run_dir(char *run_dir); extern DS_EXPORT_SYMBOL char *ds_get_bak_dir(); extern DS_EXPORT_SYMBOL void ds_set_bak_dir(char *bak_dir); extern DS_EXPORT_SYMBOL char *ds_get_pwenc(char *passwd_hash, char *password); extern DS_EXPORT_SYMBOL int ds_check_config(int type); extern DS_EXPORT_SYMBOL int ds_check_pw(char *pwhash, char *pwclear); extern DS_EXPORT_SYMBOL int ds_set_config(char *change_file_name); extern DS_EXPORT_SYMBOL char **ds_get_conf_from_file(FILE *conf); extern DS_EXPORT_SYMBOL void ds_display_config(char **ds_config); extern DS_EXPORT_SYMBOL char *ds_get_var_name(int varnum); extern DS_EXPORT_SYMBOL int ds_showparam(char **ds_config, int varname, int phase, int occurance, char *dispname, int size, int maxlength, unsigned flags, char *url); extern DS_EXPORT_SYMBOL void ds_show_pwmaxage(char *value); extern DS_EXPORT_SYMBOL void ds_show_pwhash(char *value); extern DS_EXPORT_SYMBOL char *ds_get_value(char **ds_config, char *parm, int phase, int occurance); extern DS_EXPORT_SYMBOL void ds_apply_cfg_changes(int param_list[], int changed); extern DS_EXPORT_SYMBOL int ds_commit_cfg_changes(); extern DS_EXPORT_SYMBOL int ds_config_updated(); extern DS_EXPORT_SYMBOL void ds_display_header(char *font_size, char *header); extern DS_EXPORT_SYMBOL void ds_display_message(char *font_size, char *header); extern DS_EXPORT_SYMBOL void ds_print_file_form(char *action, char *fileptr, char *full_fileptr); extern DS_EXPORT_SYMBOL char *ds_get_file_meaning(char *file); extern DS_EXPORT_SYMBOL void ds_print_file_name(char *fileptr); extern DS_EXPORT_SYMBOL int ds_file_exists(char *filename); extern DS_EXPORT_SYMBOL int ds_cp_file(char *sfile, char *dfile, int mode); extern DS_EXPORT_SYMBOL time_t ds_get_mtime(char *filename); extern DS_EXPORT_SYMBOL char *ds_get_config_value( int option ); extern DS_EXPORT_SYMBOL char **ds_get_file_list( char *dir ); extern DS_EXPORT_SYMBOL char *ds_get_tmp_dir(); extern DS_EXPORT_SYMBOL void ds_unixtodospath(char *szText); extern DS_EXPORT_SYMBOL void ds_timetofname(char *szText); extern DS_EXPORT_SYMBOL void ds_dostounixpath(char *szText); extern DS_EXPORT_SYMBOL int ds_saferename(char *szSrc, char *szTarget); extern DS_EXPORT_SYMBOL char *get_specific_help_button(char *help_link, char *dispname, char *helpinfo); /* Change the DN to a canonical format (in place); return DN. */ extern DS_EXPORT_SYMBOL char* dn_normalize (char* DN); /* Change the DN to a canonical format (in place) and convert to v3; return DN. */ extern DS_EXPORT_SYMBOL char* dn_normalize_convert (char* DN); /* if dn contains an unescaped quote return true */ extern DS_EXPORT_SYMBOL int ds_dn_uses_LDAPv2_quoting(const char *dn); /* Return a copy of the DN, but with optional whitespace inserted. */ extern DS_EXPORT_SYMBOL char* ds_dn_expand (char* DN); /* Return the value if it can be stored 'as is' in a config file. If it requires enquoting, allocate and return its enquoted form. The caller should free() the returned pointer iff it's != value. On Windows, we don't want to double up on "\" characters in filespecs, so we need to pass in the value type */ extern DS_EXPORT_SYMBOL char* ds_enquote_config_value (int paramnum, char* value); /* * Bring up a javascript alert. */ extern DS_EXPORT_SYMBOL void ds_alert_user(char *header, char *message); /* Construct and return the DN that corresponds to the give DNS name. The caller should free() the returned pointer. */ extern DS_EXPORT_SYMBOL char* ds_DNS_to_DN (char* DNS); /* Construct and return the DN of the LDAP server's own entry. The caller must NOT free() the returned pointer. */ extern DS_EXPORT_SYMBOL char* ds_get_config_DN (char** ds_config); /* Encode characters, as described in RFC 1738 section 2.2, if they're 'unsafe' (as defined in RFC 1738), or '?' or (as defined in RFC 1779). The caller should free() the returned pointer. */ extern DS_EXPORT_SYMBOL char* ds_URL_encode (const char*); /* Decode characters, as described in RFC 1738 section 2.2. The caller should free() the returned pointer. */ extern DS_EXPORT_SYMBOL char* ds_URL_decode (const char*); /* Encode all characters, even if 'safe' */ extern DS_EXPORT_SYMBOL char* ds_encode_all (const char*); /* Change the effective UID and GID of this process to those associated with the given localuser (if any). */ extern DS_EXPORT_SYMBOL char* ds_become_localuser_name (char* localuser); /* Change the effective UID and GID of this process to those associated with ds_config's localuser (if any). */ extern DS_EXPORT_SYMBOL char* ds_become_localuser (char** ds_config); /* Change the effective UID and GID of this process back to what they were before calling ds_become_localuser(). */ extern DS_EXPORT_SYMBOL char* ds_become_original(); extern DS_EXPORT_SYMBOL char* ds_makeshort(char *filepath); extern DS_EXPORT_SYMBOL int ds_search_file(char *filename, char *searchstring, char **returnstring); /* Display an error to the user and exit from a CGI */ extern DS_EXPORT_SYMBOL void ds_report_error(int type, char *errmsg, char *details); /* Display a warning to the user */ extern DS_EXPORT_SYMBOL void ds_report_warning(int type, char *errmsg, char *details); /* These functions are used by the program to alter the output behaviour if not executing in a CGI context */ extern DS_EXPORT_SYMBOL int ds_get_formatted_output(void); extern DS_EXPORT_SYMBOL void ds_set_formatted_output(int val); /* show a message to be parsed by the non-HTML front end */ extern DS_EXPORT_SYMBOL void ds_show_message(const char *message); /* show a key/value pair to be parsed by the non-HTML front end */ extern DS_EXPORT_SYMBOL void ds_show_key_value(char *key, char *value); extern DS_EXPORT_SYMBOL void ds_submit(char *helptarget) ; extern DS_EXPORT_SYMBOL char *ds_get_helpbutton(char *topic); extern DS_EXPORT_SYMBOL void alter_startup_line(char *startup_line); extern DS_EXPORT_SYMBOL int ds_dir_exists(char *fn); extern DS_EXPORT_SYMBOL int ds_mkdir(char *dir, int mode); extern DS_EXPORT_SYMBOL char *ds_mkdir_p(char *dir, int mode); extern DS_EXPORT_SYMBOL char *ds_salted_sha1_pw_enc (char* pwd); extern DS_EXPORT_SYMBOL char * ds_escape_for_shell( char *s ); extern DS_EXPORT_SYMBOL char **ds_string_to_vec(char *s); extern DS_EXPORT_SYMBOL char *ds_system_errmsg(void); extern DS_EXPORT_SYMBOL int ds_exec_and_report(char *cmd); /* remove a directory hierarchy - if the error function is given, it will be called upon error (e.g. directory not readable, cannot remove file, etc.) - if the callback function returns 0, this means to abort the removal, otherwise, continue */ extern DS_EXPORT_SYMBOL int ds_rm_rf(const char *dir, DS_RM_RF_ERR_FUNC ds_rm_rf_err_func, void *arg); /* remove a registry key and report an error message if unsuccessful */ extern DS_EXPORT_SYMBOL int ds_remove_reg_key(void *base, const char *format, ...); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __dsalib_h */ --- NEW FILE dsalib_pw.h --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #ifndef __dsalib_pw_h #define __dsalib_pw_h extern DS_EXPORT_SYMBOL void dsparm_help_button(char *var_name, char *dispname, char *helpinfo); extern DS_EXPORT_SYMBOL LDAP* bind_as_root (char** cfg, char* rootdn, char* rootpw); extern DS_EXPORT_SYMBOL void get_pw_policy(char*** pValue, char** cfg); extern DS_EXPORT_SYMBOL void ds_showpw( char** cfg); #endif /* __dsalib_pw_h */ --- NEW FILE dsalib_schema.h --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Routines to parse schema LDIF * * -atom * */ #ifndef __DSALIB_SCHEMA_H #define __DSALIB_SCHEMA_H__ /************************************************************************ BNF for attributes and objectclasses: AttributeTypeDescription = "(" whsp numericoid whsp ; AttributeType identifier [ "NAME" qdescrs ] ; name used in AttributeType [ "DESC" qdstring ] ; description [ "OBSOLETE" whsp ] [ "SUP" woid ] ; derived from this other ; AttributeType [ "EQUALITY" woid ; Matching Rule name [ "ORDERING" woid ; Matching Rule name [ "SUBSTR" woid ] ; Matching Rule name [ "SYNTAX" whsp noidlen whsp ] ; see section 4.3 [ "SINGLE-VALUE" whsp ] ; default multi-valued [ "COLLECTIVE" whsp ] ; default not collective [ "NO-USER-MODIFICATION" whsp ]; default user modifiable [ "USAGE" whsp AttributeUsage ]; default user applications whsp ")" ObjectClassDescription = "(" whsp numericoid whsp ; ObjectClass identifier [ "NAME" qdescrs ] [ "DESC" qdstring ] [ "OBSOLETE" whsp ] [ "SUP" oids ] ; Superior ObjectClasses [ ( "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" ) whsp ] ; default structural [ "MUST" oids ] ; AttributeTypes [ "MAY" oids ] ; AttributeTypes whsp ")" ************************************************************************/ /* * ds_check_valid_oid: check to see if an oid is valid. * Oids should only contain digits and dots. * * returns 1 if valid, 0 if not */ DS_EXPORT_SYMBOL int ds_check_valid_oid (char *oid); /* * ds_check_valid_name: check to see if an attribute name or an objectclass * name is valid. A valid name contains only digits, letters, or hyphens * * returns 1 if valid, 0 if not * */ DS_EXPORT_SYMBOL int ds_check_valid_name (char *name); /* * ds_get_oc_desc: * * Input : pointer to string containing an ObjectClassDescription * Returns : pointer to string containing objectclass DESC * * The caller must free the return value * */ DS_EXPORT_SYMBOL char * ds_get_oc_desc (char *oc); /* * ds_get_oc_name: * * Input : pointer to string containing an ObjectClassDescription * Returns: pointer to string containing objectclass name. * * The caller must free the return value * */ DS_EXPORT_SYMBOL char *ds_get_oc_name (char *o); /* * ds_get_attr_name: * * Input : pointer to string containing an AttributeTypeDescription * Returns: pointer to string containing an attribute name. * * The caller must free the return value * */ DS_EXPORT_SYMBOL char *ds_get_attr_name (char *a); /* * ds_get_oc_superior: * * Input : pointer to string containing an ObjectClassDescription * Returns: pointer to string containing the objectclass's SUP (superior/parent) * objectclass * * The caller must free the return value * */ DS_EXPORT_SYMBOL char *ds_get_oc_superior (char *o); /* * ds_get_attr_desc: * * Input : Pointer to string containing an AttributeTypeDescription * Returns: Pointer to string containing the attribute's description * * The caller must free the return value * */ DS_EXPORT_SYMBOL char *ds_get_attr_desc (char *a); /* * ds_get_attr_syntax: * * Input: Pointer to string containing an AttributeTypeDescription * Returns: Pointer to string containing the attribute's syntax * * The caller must free the return value * */ DS_EXPORT_SYMBOL char *ds_get_attr_syntax (char *a); /* * ds_get_attr_oid: * * Input : Pointer to string containing an AttributeTypeDescription * Returns: Pointer to string containing an attribute's oid * * The caller must free the return value * */ DS_EXPORT_SYMBOL char *ds_get_attr_oid (char *a); /* * ds_get_attr_name: * * Input : Pointer to string containing an AttributeTypeDescription * Returns: Pointer to string containing the attribute's name * * The caller must free the return value * */ DS_EXPORT_SYMBOL char *ds_get_attr_name (char *a); /* * syntax_oid_to_english: convert an attribute syntax oid to something more * human readable * * Input : string containing numeric OID for a attribute syntax * Returns: Human readable string */ DS_EXPORT_SYMBOL char *syntax_oid_to_english (char *oid); /* StripSpaces: Remove all leading and trailing spaces from a string */ DS_EXPORT_SYMBOL char *StripSpaces (char **s); /* ds_print_required_attrs: * * input: pointer to string containing an ObjectClassDescription * * prints JavaScript array containing the required attributes of an objectclass * The array name is oc__requires */ DS_EXPORT_SYMBOL void ds_print_required_attrs (char *o); /* ds_print_allowed_attrs: * * input: pointer to string containing an ObjectClassDescription * * prints JavaScript array containing the allowed attributes of an objectclass * The array name is oc__allows */ DS_EXPORT_SYMBOL void ds_print_allowed_attrs (char *o); /* ds_print_oc_oid: * * input: pointer to string containing an ObjectClassDescription * * prints JavaScript string containing an objectclass oid * The variable name is oc__oid */ DS_EXPORT_SYMBOL void ds_print_oc_oid (char *o); /* ds_print_oc_superior: * * input: pointer to string containing an ObjectClassDescription * * prints JavaScript string containing an objectclass superior * The variable name is oc__superior */ DS_EXPORT_SYMBOL void ds_print_oc_superior (char *o); /* underscore2hyphen: * transform underscores to hyphens in a string */ DS_EXPORT_SYMBOL char *underscore2hyphen (char *src); /* hyphen2underscore: * transform hyphens to underscores in a string */ DS_EXPORT_SYMBOL char *hyphen2underscore (char *src); #endif /* __DSALIB_SCHEMA_H__ */ From fedora-directory-commits at redhat.com Wed Jun 13 01:37:19 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 12 Jun 2007 21:37:19 -0400 Subject: [Fedora-directory-commits] adminserver/lib/libdsa dsalib_conf.c, NONE, 1.1 dsalib_confs.c, NONE, 1.1 dsalib_db.c, NONE, 1.1 dsalib_debug.c, NONE, 1.1 dsalib_dn.c, NONE, 1.1 dsalib_filename.c, NONE, 1.1 dsalib_ldif.c, NONE, 1.1 dsalib_location.c, NONE, 1.1 dsalib_pw.c, NONE, 1.1 dsalib_tailf.c, NONE, 1.1 dsalib_updown.c, NONE, 1.1 dsalib_util.c, NONE, 1.1 Message-ID: <200706130137.l5D1bJgm011649@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/lib/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11558/lib/libdsa Added Files: dsalib_conf.c dsalib_confs.c dsalib_db.c dsalib_debug.c dsalib_dn.c dsalib_filename.c dsalib_ldif.c dsalib_location.c dsalib_pw.c dsalib_tailf.c dsalib_updown.c dsalib_util.c Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (Comment #54 -- adminserver side) Description: moving DS task CGIs to the adminserver with libdsa. --- NEW FILE dsalib_conf.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #include #endif #include #include #include #include #include "dsalib.h" #include #include "nspr.h" #define CONF_SUFFIX "cn=config" DS_EXPORT_SYMBOL char * ds_get_var_name(int varnum) { if ( (varnum >= DS_CFG_MAX) || (varnum < 0) ) return(NULL); /* failure */ return(ds_cfg_info[varnum].dci_varname); } /* * Get config info. */ DS_EXPORT_SYMBOL char ** ds_get_config(int type) { char conffile[PATH_MAX]; char *configdir; FILE *sf = NULL; char **conf_list = NULL; if ( (type != DS_REAL_CONFIG) && (type != DS_TMP_CONFIG) ) { ds_send_error("Invalid config file type.", 0); return(NULL); } if ( (configdir = ds_get_config_dir()) == NULL ) { ds_send_error("Cannot find configuration directory.", 0); return(NULL); } PR_snprintf(conffile, PATH_MAX, "%s/%s", configdir, DS_CONFIG_FILE); if ( !(sf = fopen(conffile, "r")) ) { ds_send_error("could not read config file.", 1); return(NULL); } conf_list = ds_get_conf_from_file(sf); fclose(sf); if (!conf_list) { ds_send_error("failed to read the config file successfully.", 0); return(NULL); } return(conf_list); } /* * NOTE: the ordering of the following array elements must be kept in sync * with the ordering of the #defines in ../include/dsalib.h. */ struct ds_cfg_info ds_cfg_info[] = { {"nsslapd-errorlog-level" }, {"nsslapd-referral" }, {"nsslapd-auditlog" }, {"nsslapd-localhost" }, {"nsslapd-port" }, {"nsslapd-security" }, {"nsslapd-secureport" }, {"nsslapd-ssl3ciphers"}, {"passwordstoragescheme"}, {"nsslapd-accesslog"}, {"nsslapd-errorlog"}, {"nsslapd-rootdn"}, {"nsslapd-rootpwstoragescheme"}, {"nsslapd-suffix"}, {"nsslapd-localuser"}, {0} }; /* * Open the config file and look for option "option". Return its * value, or NULL if the option was not found. */ DS_EXPORT_SYMBOL char * ds_get_config_value( int option ) { char **all, *value; int i; char *attr = ds_get_var_name(option); if (attr == NULL) return NULL; all = ds_get_config( DS_REAL_CONFIG ); if ( all == NULL ) { return NULL; } for ( i = 0; all[ i ] != NULL; i++ ) { if (( value = strchr( all[ i ], ':' )) != NULL ) { *value = '\0'; ++value; while (*value && isspace(*value)) ++value; } if ( !strcasecmp( attr, all[ i ] )) { return strdup( value ); } } return NULL; } static size_t count_quotes (const char* s) { size_t count = 0; const char* t = s; if (t) while ((t = strpbrk (t, "\"\\")) != NULL) { ++count; ++t; } return count; } DS_EXPORT_SYMBOL char* ds_enquote_config_value (int paramnum, char* s) { char* result; char* brkcharset = "\"\\ \t\r\n"; char *encoded_quote = "22"; /* replace quote with \22 */ int encoded_quote_len = strlen(encoded_quote); char *begin = s; if (*s && ! strpbrk (s, brkcharset) && ! (paramnum == DS_AUDITFILE || paramnum == DS_ACCESSLOG || #if defined( XP_WIN32 ) paramnum == DS_SUFFIX || #endif paramnum == DS_ERRORLOG)) { result = s; } else { char* t = malloc (strlen (s) + count_quotes (s) + 3); result = t; *t++ = '"'; while (*s) { switch (*s) { case '"': /* convert escaped quotes by replacing the quote with escape code e.g. 22 so that \" is converted to \22 "*/ if ((s > begin) && (*(s - 1) == '\\')) { strcpy(t, encoded_quote); t += encoded_quote_len; } else /* unescaped ", just replace with \22 "*/ { *t++ = '\\'; strcpy(t, encoded_quote); t += encoded_quote_len; } ++s; break; default: *t++ = *s++; /* just copy it */ break; } } *t++ = '"'; *t = '\0'; } return result; } DS_EXPORT_SYMBOL char* ds_DNS_to_DN (char* DNS) { static const char* const RDN = "dc="; char* DN; char* dot; size_t components; if (DNS == NULL || *DNS == '\0') { return strdup (""); } components = 1; for (dot = strchr (DNS, '.'); dot != NULL; dot = strchr (dot + 1, '.')) { ++components; } DN = malloc (strlen (DNS) + (components * strlen(RDN)) + 1); strcpy (DN, RDN); for (dot = strchr (DNS, '.'); dot != NULL; dot = strchr (dot + 1, '.')) { *dot = '\0'; strcat (DN, DNS); strcat (DN, ","); strcat (DN, RDN); DNS = dot + 1; *dot = '.'; } strcat (DN, DNS); dn_normalize (DN); return DN; } --- NEW FILE dsalib_confs.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Some of the simple conf stuff here. Must not call any * libadmin functions! This is needed by ds_config.c */ #if defined( XP_WIN32 ) #include #endif #include "dsalib.h" #include #include #include #include #include #include #include "nspr.h" #include "plstr.h" /* * Read the configuration info into a null-terminated list of strings. */ DS_EXPORT_SYMBOL char ** ds_get_conf_from_file(FILE *conf) { static char config_entry[] = "dn: cn=config"; static int cfg_ent_len = sizeof(config_entry)-1; int listsize = 0; char **conf_list = NULL; char *entry = 0; int lineno = 0; while ((entry = ldif_get_entry(conf, &lineno))) { char *begin = entry; if (!PL_strncasecmp(entry, config_entry, cfg_ent_len)) { char *line = entry; while ((line = ldif_getline(&entry))) { char *type, *value; int vlen = 0; int rc; if ( *line == '\n' || *line == '\0' ) { break; } /* this call modifies line */ rc = ldif_parse_line(line, &type, &value, &vlen); if (rc != 0) { ds_send_error("Unknown error processing config file", 0); free(begin); return NULL; } listsize++; conf_list = (char **) realloc(conf_list, ((listsize + 1) * sizeof(char *))); /* this is the format expected by ds_get_config_value */ conf_list[listsize - 1] = PR_smprintf("%s:%s", type, value); conf_list[listsize] = NULL; /* always null terminated */ } } free(begin); } return(conf_list); } /* * Returns 1 if parm is in confline else 0 */ static int ds_parm_in_line(char *confline, char *parm) { int parm_size; if ( confline == NULL ) return(0); if ( parm == NULL ) return(0); parm_size = strlen(parm); if ( parm_size == (int)NULL ) return(0); if ( PL_strncasecmp(confline, parm, parm_size) == 0 ) if ( ((int) strlen(confline)) > parm_size ) if ( confline[parm_size] == ':' ) return(1); return(0); } /* * Gets the string that corresponds to the parameter supplied from the * list of config lines. Returns a malloc'd string. */ DS_EXPORT_SYMBOL char * ds_get_value(char **ds_config, char *parm, int phase, int occurance) { char *line; int line_num = 0; int cur_phase = 0; int cur_occurance = 0; if ( (parm == NULL) || (ds_config == NULL) ) return(NULL); if ( (phase < 0) || (occurance < 1) ) return(NULL); line = ds_config[line_num]; while ( line != NULL ) { if ( ds_parm_in_line(line, "database") ) cur_phase++; if ( ds_parm_in_line(line, parm) ) { /* found it */ if ( phase == cur_phase ) if ( ++cur_occurance == occurance ) { /* * Use ldif_parse_line() so continuation markers are * handled correctly, etc. */ char *type = NULL, *value = NULL, *tmpvalue = NULL; int ldif_rc, tmpvlen = 0; char *tmpline = strdup(line); if ( NULL == tmpline ) { ds_send_error( "ds_get_value() failed: strdup() returned NULL\n", 1 /* print errno */ ); return(NULL); } ldif_rc = ldif_parse_line( tmpline, &type, &tmpvalue, &tmpvlen ); if (ldif_rc < 0) { ds_send_error("Unknown error processing config file", 0); } else if (ldif_rc == 0) { /* value returned in place */ value = strdup(tmpvalue); } else { /* malloc'd value */ value = tmpvalue; } free(tmpline); return value; } } line_num++; line = ds_config[line_num]; } return(NULL); } --- NEW FILE dsalib_db.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #include #include #endif #include "dsalib.h" #include #include #include #include #include #if !defined( XP_WIN32 ) #include #include #else #define popen _popen #define pclose _pclose #endif #include "nspr.h" /* * Get a listing of backup directories * Return NULL for errors and a NULL list for an empty list. */ DS_EXPORT_SYMBOL char ** ds_get_bak_dirs() { char format_str[PATH_MAX]; char *root; int i = 0; char **bak_dirs = NULL; char *bakdir = NULL; if ( (root = ds_get_install_root()) == NULL ) { ds_send_error("Cannot find server root directory.", 0); return(bak_dirs); } if ( (bakdir = ds_get_bak_dir()) == NULL ) { ds_send_error("Cannot find backup directory.", 0); return(bak_dirs); } PR_snprintf( format_str, PATH_MAX, "%s", bakdir ); bak_dirs = ds_get_file_list( format_str ); if( bak_dirs ) { while( bak_dirs[i] != NULL ) { /* Prepend the filename with the install root */ char filename[PATH_MAX]; PR_snprintf( filename, PATH_MAX, "%s%c%s", bakdir, FILE_SEP, bak_dirs[i] ); free( bak_dirs[i] ); bak_dirs[i] = strdup( filename ); #if defined( XP_WIN32 ) ds_dostounixpath( bak_dirs[i] ); #endif i++; } } return(bak_dirs); } /* * Restore a database based on a backup directory name. * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_bak2db(char *file) { char startup_line[BIG_LINE]; char statfile[PATH_MAX]; char *tmp_dir; char *root; int haderror = 0; int error = -1; int status; FILE *sf = NULL; struct stat fstats; if ( file == NULL ) { return DS_NULL_PARAMETER; } status = ds_get_updown_status(); if ( status == DS_SERVER_UP ) { return DS_SERVER_MUST_BE_DOWN; } if ( (root = ds_get_install_root()) == NULL ) { return DS_NO_SERVER_ROOT; } if ( file[strlen(file) - 1] == '\n' ) /* strip out returns */ file[strlen(file) - 1] = '\0'; if( stat( file, &fstats ) == -1 && errno == ENOENT ) { return DS_CANNOT_OPEN_BACKUP_FILE; } else if( !(fstats.st_mode & S_IFDIR) ) { return DS_NOT_A_DIRECTORY; } tmp_dir = ds_get_tmp_dir(); PR_snprintf(statfile, PATH_MAX, "%s%cbak2db.%d", tmp_dir, FILE_SEP, (int)getpid()); PR_snprintf(startup_line, BIG_LINE, "%s%cbak2db " "%s%s%s > " "%s%s%s 2>&1", root, FILE_SEP, ENQUOTE, file, ENQUOTE, ENQUOTE, statfile, ENQUOTE ); alter_startup_line(startup_line); fflush(0); error = system(startup_line); fflush(0); if ( error == -1 ) { return DS_CANNOT_EXEC; } fflush(0); if( !(sf = fopen(statfile, "r")) ) { return DS_CANNOT_OPEN_STAT_FILE; } while ( fgets(startup_line, BIG_LINE, sf) ) { if ((strstr(startup_line, "- Restoring file")) || (strstr(startup_line, "- Checkpointing"))) { ds_show_message(startup_line); } else { haderror = 1; ds_send_error(startup_line, 0); } } fclose(sf); unlink(statfile); if ( haderror ) return DS_UNKNOWN_ERROR; return 0; } /* * Create a backup based on a file name. * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_db2bak(char *file) { char startup_line[BIG_LINE]; char statfile[PATH_MAX]; char *tmp_dir; char *root; int haderror = 0; int error = -1; FILE *sf = NULL; int lite = 0; #ifdef XP_WIN32 time_t ltime; #endif if ( (root = ds_get_install_root()) == NULL ) { return DS_NO_SERVER_ROOT; } if ( (file == NULL) || (strlen(file) == 0) ) file = NULL; tmp_dir = ds_get_tmp_dir(); PR_snprintf(statfile, PATH_MAX, "%s%cdb2bak.%d", tmp_dir, FILE_SEP, (int)getpid()); #if defined( XP_WIN32 ) if( file == NULL ) { file = malloc( BIG_LINE ); time( <ime ); PR_snprintf( file, BIG_LINE, "%s", ctime( <ime ) ); ds_timetofname( file ); } /* Check if the directory exists or can be created */ if ( !ds_file_exists( file ) ) { char *errmsg = ds_mkdir_p( file, NEWDIR_MODE ); if( errmsg != NULL ) { /* ds_send_error(errmsg, 10); */ return DS_CANNOT_CREATE_DIRECTORY; } } #endif /* DBDB: note on the following line. * Originally this had quotes round the directory name. * I found that this made the script not work becuase * a path of the form "foo"/bar/"baz" was passed to slapd. * the c runtime didn't like this. Perhaps there's a simple * solution, but for now I've modified this line here to * not quote the directory name. This means that backup * directories can't have spaces in them. */ PR_snprintf(startup_line, sizeof(startup_line), "%s%cdb2bak " "%s%s%s > " "%s%s%s 2>&1", root, FILE_SEP, ENQUOTE, (file == NULL) ? "" : file, ENQUOTE, ENQUOTE, statfile, ENQUOTE); PATH_FOR_PLATFORM( startup_line ); alter_startup_line(startup_line); fflush(0); error = system(startup_line); if ( error == -1 ) { return DS_CANNOT_EXEC; } if( !(sf = fopen(statfile, "r")) ) { return DS_CANNOT_OPEN_STAT_FILE; } while ( fgets(startup_line, BIG_LINE, sf) ) { if (strstr(startup_line, " - Backing up file") || strstr(startup_line, " - Checkpointing database")) { ds_show_message(startup_line); } else { haderror = 1; if (strstr ( startup_line, "restricted mode")) { lite = 1; } ds_send_error(startup_line, 0); } } fclose(sf); unlink(statfile); if ( lite && haderror ) return DS_HAS_TOBE_READONLY_MODE; if ( haderror ) return DS_UNKNOWN_ERROR; return 0; } static void process_and_report( char *line, int line_size, FILE *cmd ) { while(fgets(line, line_size, cmd)) { /* Strip off line feeds */ int ind = strlen( line ) - 1; while ( (ind >= 0) && ((line[ind] == '\n') || (line[ind] == '\r')) ) { line[ind] = 0; ind--; } if ( ind < 1 ) { continue; } ds_send_status(line); } } static int exec_and_report( char *startup_line ) { FILE *cmd = NULL; char line[BIG_LINE]; int haderror = 0; PATH_FOR_PLATFORM( startup_line ); alter_startup_line(startup_line); /* fprintf( stdout, "Launching <%s>\n", startup_line ); */ fflush(0); cmd = popen(startup_line, "r"); if(!cmd) { return DS_CANNOT_EXEC; } process_and_report( line, sizeof(line), cmd ); pclose(cmd); /* ** The VLV indexing code prints OK, ** if the index was successfully created. */ if (strcmp(line,"OK")==0) { haderror = 0; } else { haderror = DS_UNKNOWN_ERROR; } return haderror; } /* * Create a vlv index * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_vlvindex(char **backendList, char **vlvList) { char startup_line[BIG_LINE]; char *root; char *instroot; char **vlvc = NULL; root = ds_get_server_root(); instroot = ds_get_install_root(); if ( (root == NULL) || (instroot == NULL) ) { return DS_NO_SERVER_ROOT; } PR_snprintf(startup_line, sizeof(startup_line), "%s/bin/slapd/server/%s db2index " "-D %s%s/%s " "-n %s ", root, SLAPD_NAME, ENQUOTE, instroot, ENQUOTE, backendList[0]); /* Create vlv TAG */ vlvc=vlvList; while( *vlvc != NULL ) { PR_snprintf( startup_line, sizeof(startup_line), "%s -T %s%s%s", startup_line,"\"",*vlvc,"\"" ); vlvc++; } return exec_and_report( startup_line ); } /* * Create one or more indexes * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_addindex(char **attrList, char *backendName) { char startup_line[BIG_LINE]; char *root; char *instroot; root = ds_get_server_root(); instroot = ds_get_install_root(); if ( (root == NULL) || (instroot == NULL) ) { return DS_NO_SERVER_ROOT; } PR_snprintf(startup_line, sizeof(startup_line), "%s/bin/slapd/server/%s db2index " "-D %s%s%s " "-n %s", root, SLAPD_NAME, ENQUOTE, instroot, ENQUOTE, backendName); while( *attrList != NULL ) { PR_snprintf( startup_line, sizeof(startup_line), "%s -t %s", startup_line, *attrList ); attrList++; } return exec_and_report( startup_line ); } --- NEW FILE dsalib_debug.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #endif #include "dsalib.h" #include #include #include #include "nspr.h" #include "plstr.h" #if defined( XP_WIN32 ) int ldap_debug = 0; #endif DS_EXPORT_SYMBOL void ds_log_env(char **envp) { FILE *file; char admin_logfile[PATH_MAX], *tmp_dir; tmp_dir = ds_get_tmp_dir(); PL_strncpyz( admin_logfile, tmp_dir, sizeof(admin_logfile) ); #if defined( XP_WIN32 ) if( tmp_dir ) { free( tmp_dir ); tmp_dir = NULL; } #endif PL_strcatn( admin_logfile, sizeof(admin_logfile), "/admin.log"); file = fopen(admin_logfile, "a+"); if (file != NULL) { int i; for ( i = 0; envp[i] != (char *) 0; i++ ) { char envstr[200]; PR_snprintf(envstr, sizeof(envstr), "%s\n", envp[i]); fwrite(envstr, strlen(envstr), 1, file); } fclose(file); } } DS_EXPORT_SYMBOL void ds_log_debug_message(char *msg) { FILE *file; char admin_logfile[PATH_MAX], *tmp_dir; tmp_dir = ds_get_tmp_dir(); memset( admin_logfile, 0, sizeof( admin_logfile ) ); PL_strncpyz( admin_logfile, tmp_dir, sizeof(admin_logfile) ); #if defined( XP_WIN32 ) if( tmp_dir ) { free( tmp_dir ); tmp_dir = NULL; } #endif PL_strcatn( admin_logfile, sizeof(admin_logfile), "/admin.log"); file = fopen(admin_logfile, "a+"); if (file != NULL) { fwrite(msg, strlen(msg), 1, file); fclose(file); } } --- NEW FILE dsalib_dn.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #else #include #endif #include #include "dsalib.h" #include #define DNSEPARATOR(c) (c == ',' || c == ';') #define SEPARATOR(c) (c == ',' || c == ';' || c == '+') #define SPACE(c) (c == ' ' || c == '\n') #define NEEDSESCAPE(c) (c == '\\' || c == '"') #define B4TYPE 0 #define INTYPE 1 #define B4EQUAL 2 #define B4VALUE 3 #define INVALUE 4 #define INQUOTEDVALUE 5 #define B4SEPARATOR 6 DS_EXPORT_SYMBOL char* dn_normalize( char *dn ) { char *d, *s; int state, gotesc; /* Debug( LDAP_DEBUG_TRACE, "=> dn_normalize \"%s\"\n", dn, 0, 0 ); */ gotesc = 0; state = B4TYPE; for ( d = s = dn; *s; s++ ) { switch ( state ) { case B4TYPE: if ( ! SPACE( *s ) ) { state = INTYPE; *d++ = *s; } break; case INTYPE: if ( *s == '=' ) { state = B4VALUE; *d++ = *s; } else if ( SPACE( *s ) ) { state = B4EQUAL; } else { *d++ = *s; } break; case B4EQUAL: if ( *s == '=' ) { state = B4VALUE; *d++ = *s; } else if ( ! SPACE( *s ) ) { /* not a valid dn - but what can we do here? */ *d++ = *s; } break; case B4VALUE: if ( *s == '"' ) { state = INQUOTEDVALUE; *d++ = *s; } else if ( ! SPACE( *s ) ) { state = INVALUE; *d++ = *s; } break; case INVALUE: if ( !gotesc && SEPARATOR( *s ) ) { while ( SPACE( *(d - 1) ) ) d--; state = B4TYPE; if ( *s == '+' ) { *d++ = *s; } else { *d++ = ','; } } else if ( gotesc && !NEEDSESCAPE( *s ) && !SEPARATOR( *s ) ) { *--d = *s; d++; } else { *d++ = *s; } break; case INQUOTEDVALUE: if ( !gotesc && *s == '"' ) { state = B4SEPARATOR; *d++ = *s; } else if ( gotesc && !NEEDSESCAPE( *s ) ) { *--d = *s; d++; } else { *d++ = *s; } break; case B4SEPARATOR: if ( SEPARATOR( *s ) ) { state = B4TYPE; if ( *s == '+' ) { *d++ = *s; } else { *d++ = ','; } } break; default: break; } if ( *s == '\\' ) { gotesc = 1; } else { gotesc = 0; } } *d = '\0'; /* Debug( LDAP_DEBUG_TRACE, "<= dn_normalize \"%s\"\n", dn, 0, 0 ); */ return( dn ); } DS_EXPORT_SYMBOL char* ds_dn_expand (char* dn) { char* edn; size_t i = 0; char* s; int state = B4TYPE; int gotesc = 0; if (dn == NULL) return NULL; edn = strdup (dn); if (edn == NULL) return NULL; for (s = dn; *s != '\0'; ++s, ++i) { switch (state) { case B4TYPE: if ( ! SPACE (*s)) { state = INTYPE; } break; case INTYPE: if (*s == '=') { state = B4VALUE; } else if (SPACE (*s)) { state = B4EQUAL; } break; case B4EQUAL: if (*s == '=') { state = B4VALUE; } break; case B4VALUE: if (*s == '"') { state = INQUOTEDVALUE; } else if ( ! SPACE (*s)) { state = INVALUE; } break; case INQUOTEDVALUE: if (gotesc) { if ( ! NEEDSESCAPE (*s)) { --i; memmove (edn+i, edn+i+1, strlen (edn+i)); } } else { if (*s == '"') { state = B4SEPARATOR; } } break; case INVALUE: if (gotesc) { if ( ! NEEDSESCAPE (*s) && ! SEPARATOR (*s)) { --i; memmove (edn+i, edn+i+1, strlen (edn+i)); } break; } case B4SEPARATOR: if (SEPARATOR (*s)) { state = B4TYPE; if ( ! SPACE (s[1])) { /* insert a space following edn[i] */ edn = (char*) realloc (edn, strlen (edn)+2); ++i; memmove (edn+i+1, edn+i, strlen (edn+i)+1); edn[i] = ' '; } } break; default: break; } gotesc = (*s == '\\'); } return edn; } int hexchar2int( char c ) { if ( '0' <= c && c <= '9' ) { return( c - '0' ); } if ( 'a' <= c && c <= 'f' ) { return( c - 'a' + 10 ); } if ( 'A' <= c && c <= 'F' ) { return( c - 'A' + 10 ); } return( -1 ); } /* * substr_dn_normalize - map a DN to a canonical form. * The DN is read from *dn through *(end-1) and normalized in place. * The new end is returned; that is, the canonical form is in * *dn through *(the_return_value-1). */ /* The goals of this function are: * 1. be compatible with previous implementations. Especially, enable * a server running this code to find database index keys that were * computed by Directory Server 3.0 with a prior version of this code. * 2. Normalize in place; that is, avoid allocating memory to contain * the canonical form. * 3. eliminate insignificant differences; that is, any two DNs are * not significantly different if and only if their canonical forms * are identical (ignoring upper/lower case). * 4. handle a DN in the syntax defined by RFC 2253. * 5. handle a DN in the syntax defined by RFC 1779. * * Goals 3 through 5 are not entirely achieved by this implementation, * because it can't be done without violating goal 1. Specifically, * DNs like cn="a,b" and cn=a\,b are not mapped to the same canonical form, * although they're not significantly different. Likewise for any pair * of DNs that differ only in their choice of quoting convention. * A previous version of this code changed all DNs to the most compact * quoting convention, but that violated goal 1, since Directory Server * 3.0 did not. * * Also, this implementation handles the \xx convention of RFC 2253 and * consequently violates RFC 1779, according to which this type of quoting * would be interpreted as a sequence of 2 numerals (not a single byte). */ DS_EXPORT_SYMBOL char * dn_normalize_convert( char *dn ) { /* \xx is changed to \c. \c is changed to c, unless this would change its meaning. All values that contain 2 or more separators are "enquoted"; all other values are not enquoted. */ char *value, *value_separator; char *d, *s; char *end; int gotesc = 0; int state = B4TYPE; if (NULL == dn) return dn; end = dn + strlen(dn); for ( d = s = dn; s != end; s++ ) { switch ( state ) { case B4TYPE: if ( ! SPACE( *s ) ) { state = INTYPE; *d++ = *s; } break; case INTYPE: if ( *s == '=' ) { state = B4VALUE; *d++ = *s; } else if ( SPACE( *s ) ) { state = B4EQUAL; } else { *d++ = *s; } break; case B4EQUAL: if ( *s == '=' ) { state = B4VALUE; *d++ = *s; } else if ( ! SPACE( *s ) ) { /* not a valid dn - but what can we do here? */ *d++ = *s; } break; case B4VALUE: if ( *s == '"' || ! SPACE( *s ) ) { value_separator = NULL; value = d; state = ( *s == '"' ) ? INQUOTEDVALUE : INVALUE; *d++ = *s; } break; case INVALUE: if ( gotesc ) { if ( SEPARATOR( *s ) ) { if ( value_separator ) value_separator = dn; else value_separator = d; } else if ( ! NEEDSESCAPE( *s ) ) { --d; /* eliminate the \ */ } } else if ( SEPARATOR( *s ) ) { while ( SPACE( *(d - 1) ) ) d--; if ( value_separator == dn ) { /* 2 or more separators */ /* convert to quoted value: */ auto char *L = NULL; auto char *R; for ( R = value; (R = strchr( R, '\\' )) && (R < d); L = ++R ) { if ( SEPARATOR( R[1] )) { if ( L == NULL ) { auto const size_t len = R - value; if ( len > 0 ) memmove( value+1, value, len ); *value = '"'; /* opening quote */ value = R + 1; } else { auto const size_t len = R - L; if ( len > 0 ) { memmove( value, L, len ); value += len; } --d; } } } memmove( value, L, d - L + 1 ); *d++ = '"'; /* closing quote */ } state = B4TYPE; *d++ = (*s == '+') ? '+' : ','; break; } *d++ = *s; break; case INQUOTEDVALUE: if ( gotesc ) { if ( ! NEEDSESCAPE( *s ) ) { --d; /* eliminate the \ */ } } else if ( *s == '"' ) { state = B4SEPARATOR; if ( value_separator == dn /* 2 or more separators */ || SPACE( value[1] ) || SPACE( d[-1] ) ) { *d++ = *s; } else { /* convert to non-quoted value: */ if ( value_separator == NULL ) { /* no separators */ memmove ( value, value+1, (d-value)-1 ); --d; } else { /* 1 separator */ memmove ( value, value+1, (value_separator-value)-1 ); *(value_separator - 1) = '\\'; } } break; } if ( SEPARATOR( *s )) { if ( value_separator ) value_separator = dn; else value_separator = d; } *d++ = *s; break; case B4SEPARATOR: if ( SEPARATOR( *s ) ) { state = B4TYPE; *d++ = (*s == '+') ? '+' : ','; } break; default: /* LDAPDebug( LDAP_DEBUG_ANY, "slapi_dn_normalize - unknown state %d\n", state, 0, 0 );*/ break; } if ( *s != '\\' ) { gotesc = 0; } else { gotesc = 1; if ( s+2 < end ) { auto int n = hexchar2int( s[1] ); if ( n >= 0 ) { auto int n2 = hexchar2int( s[2] ); if ( n2 >= 0 ) { n = (n << 4) + n2; if (n == 0) { /* don't change \00 */ *d++ = *++s; *d++ = *++s; gotesc = 0; } else { /* change \xx to a single char */ ++s; *(unsigned char*)(s+1) = n; } } } } } } /* Trim trailing spaces */ while ( d != dn && *(d - 1) == ' ' ) d--; *d = 0; return( dn ); } /* if dn contains an unescaped quote return true */ DS_EXPORT_SYMBOL int ds_dn_uses_LDAPv2_quoting(const char *dn) { const char ESC = '\\'; const char Q = '"'; int ret = 0; const char *p = 0; /* check dn for a even number (incl. 0) of ESC followed by Q */ if (!dn) return ret; p = strchr(dn, Q); if (p) { int nESC = 0; for (--p; (p >= dn) && (*p == ESC); --p) ++nESC; if (!(nESC % 2)) ret = 1; } return ret; } --- NEW FILE dsalib_filename.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #endif #include "dsalib.h" #include #include #include #include #include "nspr.h" static char * get_month_str(int month) { static char *month_str[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; if ( (month < 1) || (month > 12) ) return("Unknown month"); return(month_str[month - 1]); } /* * Returns a string describing the meaning of the filename. * Two different formats are supported. */ DS_EXPORT_SYMBOL char * ds_get_file_meaning(char *file) { static char meaning[BIG_LINE]; #define FILE_EXPECTED_SIZE1 14 #define FILE_EXPECTED_SIZE2 17 char *name; char *tmp; int i; int month; int day; int hour; int minute; int sec; int year; /* * Expect a file name in format 06041996123401 (FILE_EXPECTED_SIZE1) * which should return "Jun 4 12:34:01 1996" * OR 1996_06_04_123401 * which should return "Jun 4 12:34:01 1996" */ if ( file == NULL ) return(NULL); name = strdup(file); if ( name == NULL ) return(NULL); if ( (tmp = strrchr(name, '.')) != NULL ) *tmp = '\0'; if ( strlen(name) == FILE_EXPECTED_SIZE1 ) { for ( i = 0; i < FILE_EXPECTED_SIZE1; i++ ) if ( !isdigit(name[i]) ) return(NULL); if ( (sscanf(name, "%2d%2d%4d%2d%2d%2d", &month, &day, &year, &hour, &minute, &sec)) == -1 ) return(NULL); } else if ( strlen(name) == FILE_EXPECTED_SIZE2 ) { for ( i = 0; i < FILE_EXPECTED_SIZE2; i++ ) if ( !isdigit(name[i]) ) if ( name[i] != '_' ) return(NULL); if ( (sscanf(name, "%4d_%2d_%2d_%2d%2d%2d", &year, &month, &day, &hour, &minute, &sec)) == -1 ) return(NULL); } else return(NULL); if ( (month < 1) || (month > 12) ) return(NULL); if ( (day < 1) || (day > 31) ) return(NULL); if ( (year < 1000) || (year > 2100) ) return(NULL); if ( (hour < 0) || (hour > 24) ) return(NULL); if ( (minute < 0) || (minute > 60) ) return(NULL); if ( (sec < 0) || (sec > 60) ) return(NULL); PR_snprintf(meaning, sizeof(meaning), "%s % 2d %02d:%02d:%02d %4d", get_month_str(month), day, hour, minute, sec, year); return(meaning); } --- NEW FILE dsalib_ldif.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #include #include #define popen _popen #define pclose _pclose #else #include #endif #include "dsalib.h" #include #include #include #include #include #include #include "nspr.h" #include "plstr.h" #ifndef XP_WIN32 #define SCRIPT_SUFFIX "" /* shell scripts have no suffix */ #else #define SCRIPT_SUFFIX ".bat" /* batch file suffix */ #endif static int process_and_report( char *line, int line_size, FILE *cmd ) { int err = 0; while(fgets(line, line_size, cmd)) { /* Strip off line feeds */ int ind = strlen( line ) - 1; #ifdef DEBUG_CGI fprintf(stderr, "read line=[%s] ind=%d\n", line, ind); #endif /* DEBUG_CGI */ fprintf( stdout, ": %s", line ); fflush(0); while ( (ind >= 0) && ((line[ind] == '\n') || (line[ind] == '\r')) ) { line[ind] = 0; ind--; } if ( ind < 1 ) { continue; } ds_send_status(line); if ( (strstr(line, "bad LDIF") != NULL) ) { #ifdef DEBUG_CGI fprintf(stderr, "invalid ldif file\n"); #endif /* DEBUG_CGI */ err = DS_INVALID_LDIF_FILE; } else if ( 0 == err ) { if ( (strstr(line, "err=") != NULL) ) { #ifdef DEBUG_CGI fprintf(stderr, "unknown error\n"); #endif /* DEBUG_CGI */ err = DS_UNKNOWN_ERROR; } } } #ifdef DEBUG_CGI fprintf(stderr, "process_and_report finished err=%d\n", err); #endif /* DEBUG_CGI */ return err; } static int exec_and_report( char *startup_line ) { FILE *cmd = NULL; char line[BIG_LINE]; int haderror = 0; PATH_FOR_PLATFORM( startup_line ); alter_startup_line(startup_line); fflush(stdout); cmd = popen(startup_line, "r"); if(!cmd) { printf("could not open pipe [%s]: %d\n", startup_line, errno); #ifdef DEBUG_CGI fprintf(stderr, "could not open pipe [%s]: %d\n", startup_line, errno); #endif /* DEBUG_CGI */ return DS_CANNOT_EXEC; } haderror = process_and_report( line, sizeof(line), cmd ); pclose(cmd); return haderror; } /* * Execute a shell command. * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_exec_and_report( char *startup_line ) { return exec_and_report( startup_line ); } /* * Create a database based on a file name. * 0: success * anything else: failure */ static int importldif(char *file, int preserve, char *backend, char *subtree) { char startup_line[BIG_LINE]; char *root; int haderror = 0; int i = 0, error = -1; int status; struct stat fstats; char errbuf[ BIG_LINE ]; char **db_files = NULL, *changelogdir = NULL; int rc; errbuf[ 0 ] = '\0'; if ( file == NULL ) { #ifdef DEBUG_CGI fprintf(stderr, "importldif: null file\n"); #endif /* DEBUG_CGI */ return DS_NULL_PARAMETER; } status = ds_get_updown_status(); if ( status == DS_SERVER_UP ) { #ifdef DEBUG_CGI fprintf(stderr, "importldif: server is not down\n"); #endif /* DEBUG_CGI */ return DS_SERVER_MUST_BE_DOWN; } if ( (root = ds_get_install_root()) == NULL ) { #ifdef DEBUG_CGI fprintf(stderr, "importldif: could not get server root\n"); #endif /* DEBUG_CGI */ return DS_NO_SERVER_ROOT; } if ( file[strlen(file) - 1] == '\n' ) /* strip out returns */ file[strlen(file) - 1] = '\0'; /* Make sure the file exists and is not a directory: 34347 */ if( stat( file, &fstats ) == -1 && errno == ENOENT ) { #ifdef DEBUG_CGI fprintf(stderr, "importldif: could not open %s\n", file); #endif /* DEBUG_CGI */ return DS_CANNOT_OPEN_LDIF_FILE; } else if( fstats.st_mode & S_IFDIR ) { #ifdef DEBUG_CGI fprintf(stderr, "importldif: not a file %s\n", file); #endif /* DEBUG_CGI */ return DS_IS_A_DIRECTORY; } if ( preserve ) { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -i %s%s%s", root, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, file, ENQUOTE); } else if (backend) { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -n %s%s%s -i %s%s%s", root, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, backend, ENQUOTE, ENQUOTE, file, ENQUOTE); } else if (subtree) { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -s %s%s%s -i %s%s%s", root, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, subtree, ENQUOTE, ENQUOTE, file, ENQUOTE); } else { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -i %s%s%s -noconfig", root, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, file, ENQUOTE); } alter_startup_line(startup_line); fflush(stdout); #ifdef DEBUG_CGI fprintf(stderr, "importldif: executing %s\n", startup_line); #endif /* DEBUG_CGI */ error = exec_and_report(startup_line); /*error = system(startup_line);*/ if ( error != 0 ) { #ifdef DEBUG_CGI fprintf(stderr, "importldif: error=%d\n", error); #endif /* DEBUG_CGI */ return error; } /* Remove the changelog database, if present */ changelogdir = ds_get_config_value(0xdeadbeef); if ( changelogdir != NULL ) { db_files = ds_get_file_list( changelogdir ); if ( db_files != NULL ) { ds_send_status("Removing changelog database..."); } for ( i = 0; db_files != NULL && db_files[ i ] != NULL; i++ ) { char sbuf[ BIG_LINE ]; char filename[ BIG_LINE ]; if ( strlen( db_files[ i ]) > 0 ) { PR_snprintf( filename, BIG_LINE, "%s%c%s", changelogdir, FILE_SEP, db_files[ i ]); PR_snprintf(sbuf, BIG_LINE, "Removing %s", filename); ds_send_status( sbuf ); rc = unlink( filename); if ( rc != 0 ) { PR_snprintf( errbuf, BIG_LINE, "Warning: some files in %s could not " "be removed\n", changelogdir ); haderror++; } } } } if ( strlen( errbuf ) > 0 ) { ds_send_error( errbuf, 0 ); } return error; } /* * Create a database based on a file name. * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_ldif2db(char *file) { return importldif( file, 0, NULL, NULL ); } /* * Create a database based on a file name. * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_ldif2db_preserve(char *file) { return importldif( file, 1, NULL, NULL ); } /* * import an ldif file into a named backend or subtree * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_ldif2db_backend_subtree(char *file, char *backend, char *subtree) { return importldif( file, 0, backend, subtree ); } /* * Create a LDIF file based on a file name. * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_db2ldif_subtree(char *file, char *subtree) { char startup_line[BIG_LINE]; char statfile[PATH_MAX]; char outfile[PATH_MAX]; char scriptfile[PATH_MAX]; char *tmp_dir; char *root; int haderror = 0; int error = -1; FILE *sf = NULL; if ( (root = ds_get_install_root()) == NULL ) { return DS_NO_SERVER_ROOT; } if ( (file == NULL) || (strlen(file) == 0) ) file = NULL; tmp_dir = ds_get_tmp_dir(); PR_snprintf(statfile, PATH_MAX, "%s%cdb2ldif.%d", tmp_dir, FILE_SEP, (int) getpid()); #if defined( XP_WIN32 ) if( file == NULL ) { time_t ltime; file = malloc( BIG_LINE ); time( <ime ); PR_snprintf( file, BIG_LINE, "%s", ctime( <ime ) ); ds_timetofname( file ); } #endif if ( file == NULL ) *outfile = 0; else PL_strncpyz( outfile, file, sizeof(outfile) ); PR_snprintf(scriptfile, PATH_MAX, "%s%cdb2ldif", root, FILE_SEP); PATH_FOR_PLATFORM( outfile ); PATH_FOR_PLATFORM( scriptfile ); if ( subtree == NULL ) { PR_snprintf(startup_line, sizeof(startup_line), "%s " "%s%s%s > " "%s%s%s 2>&1", scriptfile, ENQUOTE, outfile, ENQUOTE, ENQUOTE, statfile, ENQUOTE); } else { PR_snprintf(startup_line, sizeof(startup_line), "%s " "%s%s%s " "-s \"%s\" > " "%s%s%s 2>&1", scriptfile, ENQUOTE, outfile, ENQUOTE, subtree, ENQUOTE, statfile, ENQUOTE); } fflush(0); alter_startup_line(startup_line); error = system(startup_line); if ( error == -1 ) { return DS_CANNOT_EXEC; } sf = fopen(statfile, "r"); if( sf ) { while ( fgets(startup_line, BIG_LINE, sf) ) { /* The db2ldif process will usually print out a summary at the end, but that is not an error */ char *ptr = strstr(startup_line, "Processed"); if (ptr && strstr(ptr, "entries.")) { ds_show_message(startup_line); } else { haderror = 1; ds_send_error(startup_line, 0); } } fclose(sf); unlink(statfile); } if ( haderror ) return DS_UNKNOWN_ERROR; return 0; } /* * Create a LDIF file based on a file name. * 0: success * anything else: failure */ DS_EXPORT_SYMBOL int ds_db2ldif(char *file) { return ds_db2ldif_subtree(file, NULL); } --- NEW FILE dsalib_location.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #endif #include "dsalib.h" #include #include #include #include "nspr.h" #include "plstr.h" /* * Returns the server root. Info is * returned in a static area. The caller must copy it * for reuse if needed. */ DS_EXPORT_SYMBOL char * ds_get_server_root() { char *root; if ( (root = getenv("NETSITE_ROOT")) == NULL ) return(NULL); /* WIN32: Needed to take care of embedded space, */ /* otherwise system() call fails */ root = ds_makeshort( root ); return root; } /* * Returns the install location of the server. Info is * returned in a static area. The caller must copy it * for reuse if needed. */ DS_EXPORT_SYMBOL char * ds_get_install_root() { char *root; char *ds_name; static char install_root[PATH_MAX]; if ( (root = ds_get_server_root()) == NULL ) return(NULL); if ( (ds_name = ds_get_server_name()) == NULL ) return(NULL); PR_snprintf(install_root, sizeof(install_root), "%s/%s", root, ds_name); return(install_root); } /* * Returns the config file location of the server. Info is * returned in a static area. The caller must copy it * for reuse if needed. */ DS_EXPORT_SYMBOL char * ds_get_config_dir() { return getenv("DS_CONFIG_DIR"); } /* * set config_dir to environment variable DS_CONFIG_DIR * to retrieve the value using ds_get_config_dir later. */ DS_EXPORT_SYMBOL void ds_set_config_dir(char *config_dir) { static char env[PATH_MAX]; PR_snprintf(env, sizeof(env), "DS_CONFIG_DIR=%s", config_dir); putenv(env); } /* * Returns the run dir of the server, where pid files are put. * Info is returned in a static area. The caller must copy it * for reuse if needed. */ DS_EXPORT_SYMBOL char * ds_get_run_dir() { return getenv("DS_RUN_DIR"); } /* * set run_dir to environment variable DS_RUN_DIR * to retrieve the value using ds_get_run_dir later. */ DS_EXPORT_SYMBOL void ds_set_run_dir(char *run_dir) { static char env[PATH_MAX]; PR_snprintf(env, sizeof(env), "DS_RUN_DIR=%s", run_dir); putenv(env); } /* * Returns the bakup dir of the server, where db backup files are put. * Info is returned in a static area. The caller must copy it * for reuse if needed. */ DS_EXPORT_SYMBOL char * ds_get_bak_dir() { return getenv("DS_BAK_DIR"); } /* * set bak_dir to environment variable DS_BAK_DIR * to retrieve the value using ds_get_bak_dir later. */ DS_EXPORT_SYMBOL void ds_set_bak_dir(char *bak_dir) { static char env[PATH_MAX]; PR_snprintf(env, sizeof(env), "DS_BAK_DIR=%s", bak_dir); putenv(env); } /* * Returns the tmp dir of the server, where tmp files are put. * Info is returned in a static area. The caller must copy it * for reuse if needed. */ DS_EXPORT_SYMBOL char * ds_get_tmp_dir() { return getenv("DS_TMP_DIR"); } /* * set bak_dir to environment variable DS_TMP_DIR * to retrieve the value using ds_get_tmp_dir later. */ DS_EXPORT_SYMBOL void ds_set_tmp_dir(char *tmp_dir) { static char env[PATH_MAX]; PR_snprintf(env, sizeof(env), "DS_TMP_DIR=%s", tmp_dir); putenv(env); } /* * Returns the install location of the server under the admserv * directory. */ DS_EXPORT_SYMBOL char * ds_get_admserv_based_root() { char *root; char *ds_name; static char install_root[PATH_MAX]; if ( (root = getenv("ADMSERV_ROOT")) == NULL ) return(NULL); if ( (ds_name = ds_get_server_name()) == NULL ) return(NULL); PR_snprintf(install_root, sizeof(install_root), "%s/%s", root, ds_name); return(install_root); } DS_EXPORT_SYMBOL char * ds_get_server_name() { if( getenv("SERVER_NAMES") ) return( getenv("SERVER_NAMES") ); else { static char logfile[PATH_MAX]; char *buf; char *out = logfile; buf = getenv("SCRIPT_NAME"); if ( buf && (*buf == '/') ) buf++; while ( *buf && (*buf != '/') ) { *out++ = *buf++; } *out = 0; return logfile; } } DS_EXPORT_SYMBOL char * ds_get_logfile_name(int config_type) { char *filename; char **ds_config = NULL; static char logfile[PATH_MAX+1]; if ( (ds_config = ds_get_config(DS_REAL_CONFIG)) == NULL ) { /* For DS 4.0, no error output if file doesn't exist - that's a normal situation */ /* ds_send_error("ds_get_config(DS_REAL_CONFIG) == NULL", 0); */ return(NULL); } filename = ds_get_value(ds_config, ds_get_var_name(config_type), 0, 1); if ( filename == NULL ) { /* For DS 4.0, no error output if file doesn't exist - that's a normal situation */ /* ds_send_error("ds_get_logfile_name: filename == NULL", 0); */ return(NULL); } if ( ((int) strlen(filename)) >= PATH_MAX ) { ds_send_error("ds_get_logfile_name: filename too long", 0); free(filename); return(NULL); } PL_strncpyz(logfile, filename, sizeof(logfile)); free(filename); return(logfile); } DS_EXPORT_SYMBOL char * ds_get_errors_name() { return( ds_get_logfile_name(DS_ERRORLOG) ); } DS_EXPORT_SYMBOL char * ds_get_access_name() { return( ds_get_logfile_name(DS_ACCESSLOG) ); } DS_EXPORT_SYMBOL char * ds_get_audit_name() { return( ds_get_logfile_name(DS_AUDITFILE) ); } --- NEW FILE dsalib_pw.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif /* * Adjust password policy management related variables. * * Valerie Chu */ #include #include #include #include #include #include "ldap.h" #include "ldif.h" #include "sechash.h" #include "dsalib.h" #include "dsalib_pw.h" #include "prtime.h" #include "prlong.h" #include "prmem.h" #include #include #define SHA1_SALT_LENGTH 8 /* number of bytes of data in salt */ #define PWD_HASH_PREFIX_START '{' #define PWD_HASH_PREFIX_END '}' #define SALTED_SHA1_SCHEME_NAME "SSHA" #define SALTED_SHA1_NAME_LEN 4 /* WARNING: The following code is blatantly copied from the server pwdstorage ssha_pwd.c plugin. It would be nice to share this code with the server. The problem is that the server wants to use slapi_ch_malloc to allocate the memory for the returned password - this function is not available outside the server (as in the setup programs that also want to hash the password) We need to figure out a way to put this code into a library in such a way that the memory allocation functions to use can be passed in or set beforehand. */ static void ssha_rand_array(void *randx, size_t len) { PK11_RandomUpdate(randx, len); PK11_GenerateRandom((unsigned char *)randx, (int)len); } /* * A salted SHA1 hash * if salt is null, no salt is used (this is for backward compatibility) */ SECStatus sha1_salted_hash(unsigned char *hash_out, char *pwd, struct berval *salt) { PK11Context *ctx; unsigned int outLen; SECStatus rc; if (salt && salt->bv_len) { ctx = PK11_CreateDigestContext(SEC_OID_SHA1); if (ctx == NULL) { rc = SECFailure; } else { PK11_DigestBegin(ctx); PK11_DigestOp(ctx, (unsigned char*)pwd, strlen(pwd)); PK11_DigestOp(ctx, (unsigned char*)(salt->bv_val), salt->bv_len); PK11_DigestFinal(ctx, hash_out, &outLen, SHA1_LENGTH); PK11_DestroyContext(ctx, 1); if (outLen == SHA1_LENGTH) rc = SECSuccess; else rc = SECFailure; } } else { /*backward compatibility*/ rc = PK11_HashBuf(SEC_OID_SHA1, hash_out, (unsigned char *)pwd, strlen(pwd)); } return rc; } char * salted_sha1_pw_enc( char *pwd ) { unsigned char hash[ SHA1_LENGTH + SHA1_SALT_LENGTH ]; unsigned char *salt = hash + SHA1_LENGTH; struct berval saltval; char *enc; saltval.bv_val = (void*)salt; saltval.bv_len = SHA1_SALT_LENGTH; /* generate a new random salt */ /* Note: the uninitialized salt array provides a little extra entropy * to the random array generation, but it is not really needed since * PK11_GenerateRandom takes care of seeding. In any case, it doesn't * hurt. */ ssha_rand_array( salt, SHA1_SALT_LENGTH ); /* SHA1 hash the user's key */ if ( sha1_salted_hash( hash, pwd, &saltval ) != SECSuccess ) { return( NULL ); } if (( enc = PR_Malloc( 3 + SALTED_SHA1_NAME_LEN + LDIF_BASE64_LEN(sizeof(hash)))) == NULL ) { return( NULL ); } sprintf( enc, "%c%s%c", PWD_HASH_PREFIX_START, SALTED_SHA1_SCHEME_NAME, PWD_HASH_PREFIX_END ); (void)ldif_base64_encode( hash, enc + 2 + SALTED_SHA1_NAME_LEN, sizeof(hash), -1 ); return( enc ); } DS_EXPORT_SYMBOL char * ds_salted_sha1_pw_enc (char* pwd) { return( salted_sha1_pw_enc(pwd) ); } --- NEW FILE dsalib_tailf.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #endif #include #include #include #include #include #include "dsalib.h" #include "prthread.h" #include "plstr.h" /* * Function: adjustFile * Property: Adjust the file offset to the "tail" of the file * Called by: DisplayTail * Return: -1 for error, else file size */ static int adjustFile(FILE *fp, int curSize) { struct stat statBuf; int fd = fileno(fp); if ( fstat(fd, &statBuf) == -1 ) return(-1); if ( statBuf.st_size < curSize ) /* file has shrunk! */ { if ( fseek(fp, 0L, 0) == -1 ) /* get back to the beginning */ return(-1); } curSize = (int) statBuf.st_size; if ( !curSize ) curSize = 1; return(curSize); } /* * Function: wrapLines * Property: wrap lines at 50 characters. When a wrap point is encountered, * insert the string "\n", since the buffer is going to be placed * inside a JavaScript alert() call. * Called by: ds_display_tail * Return: pointer to wrapped buffer. Caller should free. */ static char * wrapLines( char *buf ) { char *src = buf; char *obuf, *dst; int lwidth = 0; obuf = malloc( strlen( buf ) * 2 ); /* conservative */ if ( obuf == NULL ) { return NULL; } dst = obuf; while ( *src != '\0' ) { if (( ++lwidth > 50 ) && isspace( *src )) { *dst++ = '\\'; *dst++ = 'n'; lwidth = 0; src++; } else { *dst++ = *src++; } } *dst = '\0'; return obuf; } DS_EXPORT_SYMBOL int ds_get_file_size(char *fileName) { struct stat statBuf; if ( fileName == NULL ) return(0); if ( stat(fileName, &statBuf) == -1 ) return(0); return(statBuf.st_size); } /* * Function: ds_display_tail * Property: follow the tail and display it for timeOut secs or until the line * read from the file contains the string doneMsg; the lastLine, if not null, * will be filled in with the last line read from the file; this is useful * for determining why the server failed to start e.g. port in use, ran out * of semaphores, database is corrupted, etc. * Calls: adjustFile */ DS_EXPORT_SYMBOL void ds_display_tail(char *fileName, int timeOut, int startSeek, char *doneMsg, char *lastLine) { FILE *fp = NULL; int fd; char msgBuf[BIG_LINE]; struct stat statBuf; int curSize; int i = timeOut; if (lastLine != NULL) lastLine[0] = 0; if ( fileName == NULL ) return; /* * Open the file. * Try to keep reading it assuming that it may get truncated. */ while (i && !fp) { fp = fopen(fileName, "r"); if (!fp) { PR_Sleep(PR_SecondsToInterval(1)); --i; /* need to print something so http connection doesn't timeout and also to let the user know something is happening . . . */ if (!(i % 10)) { ds_send_status("Attempting to obtain server status . . ."); } } } if (!i || !fp) return; fd = fileno(fp); if ( fstat(fd, &statBuf) == -1 ) { (void) fclose(fp); return; } curSize = (int) statBuf.st_size; if ( startSeek < curSize ) curSize = startSeek; if ( curSize > 0 ) if ( fseek(fp, curSize, SEEK_SET) == -1 ) { (void) fclose(fp); return; } if ( !curSize ) curSize = 1; /* ensure minimum */ while ( i ) { int newCurSize; newCurSize = curSize = adjustFile(fp, curSize); if ( curSize == -1 ) { (void) fclose(fp); return; } while ( fgets(msgBuf, sizeof(msgBuf), fp) ) { char *tmp; if (lastLine != NULL) PL_strncpyz(lastLine, msgBuf, BIG_LINE); if ( (tmp = strchr(msgBuf, ((int) '\n'))) != NULL ) *tmp = '\0'; /* strip out real newlines from here */ ds_send_status(msgBuf); if ( (strstr(msgBuf, "WARNING: ") != NULL) || (strstr(msgBuf, "ERROR: ") != NULL) ) { char *wrapBuf; wrapBuf = wrapLines( msgBuf ); if ( wrapBuf != NULL ) { ds_send_error(wrapBuf, 5); } else { ds_send_error(msgBuf, 5); } } if ( (doneMsg != NULL) && (strstr(msgBuf, doneMsg)) ) { (void) fclose(fp); return; } newCurSize = adjustFile(fp, newCurSize); if ( newCurSize == -1 ) { (void) fclose(fp); return; } } if ( ferror(fp) ) { (void) fclose(fp); return; } clearerr(fp); /* clear eof condition */ PR_Sleep(PR_SecondsToInterval(1)); if ( newCurSize != curSize ) i = timeOut; /* keep going till no more changes */ else i--; } (void) fclose(fp); } --- NEW FILE dsalib_updown.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #include #include "regparms.h" #else #include #include #include #endif #include #include #include #include #include "dsalib.h" #include #include "nspr.h" #if defined( XP_WIN32 ) SC_HANDLE schService; SC_HANDLE schSCManager; int StartServer(); int StopandRestartServer(); int StopServer(); int StopNetscapeProgram(); int StartNetscapeProgram(); int StopNetscapeService(); int StartNetscapeService(); void WaitForServertoStop(); #endif /* * Get status for the Directory Server. * 0 -- down * 1 -- up * -1 -- unknown */ #if !defined( XP_WIN32 ) static pid_t server_pid; DS_EXPORT_SYMBOL int ds_get_updown_status() { char pid_file_name[BIG_LINE]; char *rundir; FILE *pidfile; int ipid = -1; int status = 0; if ( (rundir = ds_get_run_dir()) == NULL ) { fprintf(stderr, "ds_get_updown_status: could not get install root\n"); return(DS_SERVER_UNKNOWN); } PR_snprintf(pid_file_name, BIG_LINE, "%s/%s.pid", rundir, ds_get_server_name()); pidfile = fopen(pid_file_name, "r"); if ( pidfile == NULL ) { /* fprintf(stderr, "ds_get_updown_status: could not open pid file=%s errno=%d\n", pid_file_name, errno); */ return(DS_SERVER_DOWN); } status = fscanf(pidfile, "%d\n", &ipid); fclose(pidfile); if ( status == -1 ) { fprintf(stderr, "ds_get_updown_status: pidfile=%s server_pid=%d errno=%d\n", pid_file_name, ipid, errno); unlink(pid_file_name); /* junk in file? */ return(DS_SERVER_DOWN); } server_pid = (pid_t) ipid; if ( (status = kill(server_pid, 0)) != 0 && errno != EPERM ) { /* we should get ESRCH if the server is down, anything else may be a real problem */ if (errno != ESRCH) { fprintf(stderr, "ds_get_updown_status: pidfile=%s server_pid=%d status=%d errno=%d\n", pid_file_name, server_pid, status, errno); } unlink(pid_file_name); /* pid does not exist! */ return(DS_SERVER_DOWN); } return(DS_SERVER_UP); } #else DS_EXPORT_SYMBOL int ds_get_updown_status() { char *ds_name = ds_get_server_name(); HANDLE hServerDoneEvent = NULL; /* watchdog.c creates a global event of this same name */ if((hServerDoneEvent = OpenEvent(EVENT_ALL_ACCESS, TRUE, ds_name)) != NULL) { CloseHandle(hServerDoneEvent); return(DS_SERVER_UP); } if(GetLastError() == ERROR_ACCESS_DENIED) /* it exists */ return(DS_SERVER_UP); /* assume it's not running. */ return(DS_SERVER_DOWN); } #endif /* This function does not require calling ds_get_config(), but requires that that information be passed in. This is very useful for starting the server during installation, because we already have all of the configuration information in memory, we don't need to read it in */ DS_EXPORT_SYMBOL int ds_bring_up_server_install(int verbose, char *root, char *errorlog) { #if !defined( XP_WIN32 ) char startup_line[BIG_LINE]; char statfile[PATH_MAX]; char *tmp_dir; #endif int error = -1; int status = DS_SERVER_DOWN; int cur_size = 0; FILE *sf = NULL; char msgBuf[BIG_LINE] = {0}; int secondsToWaitForServer = 600; char *serverStartupString = "slapd started."; status = ds_get_updown_status(); if ( status == DS_SERVER_UP ) return(DS_SERVER_ALREADY_UP); if (!root || !errorlog) return(DS_SERVER_UNKNOWN); if (verbose) { ds_send_status("starting up server ..."); cur_size = ds_get_file_size(errorlog); } #if !defined( XP_WIN32 ) tmp_dir = ds_get_tmp_dir(); PR_snprintf(statfile, PATH_MAX, "%s%cstartup.%d", tmp_dir, FILE_SEP, (int)getpid()); PR_snprintf(startup_line, BIG_LINE, "%s%c%s > %s 2>&1", root, FILE_SEP, START_SCRIPT, statfile); alter_startup_line(startup_line); error = system(startup_line); if (error == -1) error = DS_SERVER_DOWN; /* could not start server */ else error = DS_SERVER_UP; /* started server */ #else error = StartServer(); #endif if (error != DS_SERVER_UP) { #if !defined( XP_WIN32 ) FILE* fp = fopen(statfile, "r"); if (fp) { while(fgets(msgBuf, BIG_LINE, fp)) ds_send_status(msgBuf); fclose(fp); } #endif return DS_SERVER_COULD_NOT_START; } if (verbose) { /* * Stop in N secs or whenever the startup message comes up. * Do whichever happens first. msgBuf will contain the last * line read from the errorlog. */ ds_display_tail(errorlog, secondsToWaitForServer, cur_size, serverStartupString, msgBuf); } if ( error != DS_SERVER_UP ) { int retval = DS_SERVER_UNKNOWN; if (strstr(msgBuf, "semget")) retval = DS_SERVER_MAX_SEMAPHORES; else if (strstr(msgBuf, "Back-End Initialization Failed")) retval = DS_SERVER_CORRUPTED_DB; else if (strstr(msgBuf, "not initialized... exiting")) retval = DS_SERVER_CORRUPTED_DB; else if (strstr(msgBuf, "address is in use")) retval = DS_SERVER_PORT_IN_USE; #if defined( XP_WIN32 ) /* on NT, if we run out of resources, there will not even be an error log */ else if (msgBuf[0] == 0) { retval = DS_SERVER_NO_RESOURCES; } #endif if (verbose) ds_send_error("error in starting server.", 1); return(retval); } if (verbose) { #if !defined( XP_WIN32 ) if( !(sf = fopen(statfile, "r")) ) { ds_send_error("could not read status file.", 1); return(DS_SERVER_UNKNOWN); } while ( fgets(startup_line, BIG_LINE, sf) ) ds_send_error(startup_line, 0); fclose(sf); unlink(statfile); #endif status = DS_SERVER_UNKNOWN; if (strstr(msgBuf, "semget")) status = DS_SERVER_MAX_SEMAPHORES; else if (strstr(msgBuf, "Back-End Initialization Failed")) status = DS_SERVER_CORRUPTED_DB; else if (strstr(msgBuf, "not initialized... exiting")) status = DS_SERVER_CORRUPTED_DB; else if (strstr(msgBuf, "address is in use")) status = DS_SERVER_PORT_IN_USE; #if defined( XP_WIN32 ) /* on NT, if we run out of resources, there will not even be an error log */ else if (msgBuf[0] == 0) { status = DS_SERVER_NO_RESOURCES; } #endif } else { int tries; for (tries = 0; tries < secondsToWaitForServer; tries++) { if (ds_get_updown_status() == DS_SERVER_UP) break; PR_Sleep(PR_SecondsToInterval(1)); } if (verbose) { char str[100]; PR_snprintf(str, sizeof(str), "Had to retry %d times", tries); ds_send_status(str); } } if ( (status == DS_SERVER_DOWN) || (status == DS_SERVER_UNKNOWN) ) status = ds_get_updown_status(); return(status); } /* * Start the Directory Server and return status. * Do not start if the server is already started. * 0 -- down * 1 -- up * -1 -- unknown * -2 -- already up */ DS_EXPORT_SYMBOL int ds_bring_up_server(int verbose) { char *root; int status; char *errorlog; status = ds_get_updown_status(); if ( status == DS_SERVER_UP ) return(DS_SERVER_ALREADY_UP); if ( (root = ds_get_install_root()) == NULL ) return(DS_SERVER_UNKNOWN); errorlog = ds_get_config_value(DS_ERRORLOG); if ( errorlog == NULL ) { errorlog = ds_get_errors_name(); /* fallback */ } return ds_bring_up_server_install(verbose, root, errorlog); } DS_EXPORT_SYMBOL int ds_bring_down_server() { char *root; int status; int cur_size; char *errorlog; status = ds_get_updown_status(); /* set server_pid too! */ if ( status != DS_SERVER_UP ) { ds_send_error("The server is not up.", 0); return(DS_SERVER_ALREADY_DOWN); } if ( (root = ds_get_install_root()) == NULL ) { ds_send_error("Could not get the server root directory.", 0); return(DS_SERVER_UNKNOWN); } ds_send_status("shutting down server ..."); if (!(errorlog = ds_get_errors_name())) { ds_send_error("Could not get the error log filename.", 0); return DS_SERVER_UNKNOWN; } cur_size = ds_get_file_size(errorlog); #if !defined( XP_WIN32 ) if ( (kill(server_pid, SIGTERM)) != 0) { if (errno == EPERM) { ds_send_error("Not permitted to kill server.", 0); fprintf (stdout, "[%s]: kill (%li, SIGTERM) failed with errno = EPERM.
\n", ds_get_server_name(), (long)server_pid); } else { ds_send_error("error in killing server.", 1); } return(DS_SERVER_UNKNOWN); } #else if( StopServer() == DS_SERVER_DOWN ) { ds_send_status("shutdown: server shut down"); } else { ds_send_error("error in killing server.", 1); return(DS_SERVER_UNKNOWN); } #endif /* * Wait up to SERVER_STOP_TIMEOUT seconds for the stopped message to * appear in the error log. */ ds_display_tail(errorlog, SERVER_STOP_TIMEOUT, cur_size, "slapd stopped.", NULL); /* in some cases, the server will tell us it's down when it's really not, so give the OS a chance to remove it from the process table */ PR_Sleep(PR_SecondsToInterval(1)); return(ds_get_updown_status()); } #if defined( XP_WIN32 ) static BOOLEAN IsService() { #if 0 CHAR ServerKey[512], *ValueString; HKEY hServerKey; DWORD dwType, ValueLength, Result; PR_snprintf(ServerKey,sizeof(ServerKey), "%s\\%s", COMPANY_KEY, PRODUCT_KEY); Result = RegOpenKey(HKEY_LOCAL_MACHINE, ServerKey, &hServerKey); if (Result != ERROR_SUCCESS) { return TRUE; } ValueLength = 512; ValueString = (PCHAR)malloc(ValueLength); Result = RegQueryValueEx(hServerKey, IS_SERVICE_KEY, NULL, &dwType, ValueString, &ValueLength); if (Result != ERROR_SUCCESS) { return TRUE; } if (strcmp(ValueString, "yes")) { return FALSE; } else { return TRUE; } #else return TRUE; #endif } #if 0 NSAPI_PUBLIC BOOLEAN IsAdminService() { CHAR AdminKey[512], *ValueString; HKEY hAdminKey; DWORD dwType, ValueLength, Result; PR_snprintf(AdminKey,sizeof(AdminKey), "%s\\%s", COMPANY_KEY, ADMIN_REGISTRY_ROOT_KEY); Result = RegOpenKey(HKEY_LOCAL_MACHINE, AdminKey, &hAdminKey); if (Result != ERROR_SUCCESS) { return TRUE; } ValueLength = 512; ValueString = (PCHAR)malloc(ValueLength); Result = RegQueryValueEx(hAdminKey, IS_SERVICE_KEY, NULL, &dwType, ValueString, &ValueLength); if (Result != ERROR_SUCCESS) { return TRUE; } if (strcmp(ValueString, "yes")) { return FALSE; } else { return TRUE; } } #endif int StartServer() { CHAR ErrorString[512]; BOOLEAN Service; /* Figure out if the server is a service or an exe */ Service = IsService(); if(Service) { if (!(schSCManager = OpenSCManager( NULL, // machine (NULL == local) NULL, // database (NULL == default) SC_MANAGER_ALL_ACCESS // access required ))) { PR_snprintf(ErrorString, sizeof(ErrorString), "Error: Could not open the ServiceControlManager:%d " "Please restart the server %s from the Services Program Item " "in the Control Panel", ds_get_server_name(), GetLastError()); ds_send_error(ErrorString, 0); return(DS_SERVER_UNKNOWN); } return(StartNetscapeService()); } else { return(StartNetscapeProgram()); } } int StopandRestartServer() { CHAR ErrorString[512]; BOOLEAN Service; /* First figure out if the server is a service or an exe */ Service = IsService(); if(Service) { if (!(schSCManager = OpenSCManager( NULL, // machine (NULL == local) NULL, // database (NULL == default) SC_MANAGER_ALL_ACCESS // access required ))) { PR_snprintf(ErrorString, sizeof(ErrorString), "Error: Could not restart server." "Please restart the server %s from the Services Program Item " "in the Control Panel", ds_get_server_name()); ds_send_error(ErrorString, 0); return(DS_SERVER_UNKNOWN); } if (StopNetscapeService() != DS_SERVER_DOWN) return(DS_SERVER_UNKNOWN); return(StartNetscapeService()); } else { if (StopNetscapeProgram() != DS_SERVER_DOWN) return(DS_SERVER_UNKNOWN); return(StartNetscapeProgram()); } } int StopServer() { CHAR ErrorString[512]; BOOLEAN Service; /* First figure out if the server is a service or an exe */ Service = IsService(); if(Service) { if (!(schSCManager = OpenSCManager( NULL, // machine (NULL == local) NULL, // database (NULL == default) SC_MANAGER_ALL_ACCESS // access required ))) { PR_snprintf(ErrorString, sizeof(ErrorString), "Error: Could not open the ServiceControlManager:%d " "Please restart the server %s from the Services Program Item " "in the Control Panel", ds_get_server_name(), GetLastError()); ds_send_error(ErrorString, 0); return(DS_SERVER_UNKNOWN); } return(StopNetscapeService()); } else { return(StopNetscapeProgram()); } } int StartNetscapeProgram() { char line[BIG_LINE], cmd[BIG_LINE]; char *tmp = ds_get_install_root(); CHAR ErrorString[512]; STARTUPINFO siStartInfo; PROCESS_INFORMATION piProcInfo; FILE *CmdFile; ZeroMemory(line, sizeof(line)); PR_snprintf(line, BIG_LINE, "%s\\startsrv.bat", tmp); CmdFile = fopen(line, "r"); if (!CmdFile) { PR_snprintf(ErrorString, sizeof(ErrorString), "Error:Tried to start server %s " ": Could not open the startup script %s :Error %d. Please " "run startsrv.bat from the server's root directory.", ds_get_server_name(), line, errno); ds_send_error(ErrorString, 0); return(DS_SERVER_DOWN); } ZeroMemory(cmd, sizeof(cmd)); if (!fread(cmd, 1, BIG_LINE, CmdFile)) { PR_snprintf(ErrorString, sizeof(ErrorString), "Error:Tried to start server %s " ": Could not read the startup script %s :Error %d. Please " "run startsrv.bat from the server's root directory.", ds_get_server_name(), line, errno); ds_send_error(ErrorString, 0); return(DS_SERVER_DOWN); } ZeroMemory(&siStartInfo, sizeof(STARTUPINFO)); siStartInfo.cb = sizeof(STARTUPINFO); siStartInfo.lpReserved = siStartInfo.lpReserved2 = NULL; siStartInfo.cbReserved2 = 0; siStartInfo.lpDesktop = NULL; if (!CreateProcess(NULL, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &siStartInfo, &piProcInfo)) { PR_snprintf(ErrorString, sizeof(ErrorString), "Error:Tried to start server %s " ": Could not start up the startup script %s :Error %d. Please " "run startsrv.bat from the server's root directory.", ds_get_server_name(), line, GetLastError()); ds_send_error(ErrorString, 0); return(DS_SERVER_DOWN); } CloseHandle(piProcInfo.hProcess); CloseHandle(piProcInfo.hThread); return(DS_SERVER_UP); } int StopNetscapeProgram() { HANDLE hEvent; CHAR ErrorString[512]; char *servid = ds_get_server_name(); hEvent = CreateEvent(NULL, TRUE, FALSE, servid); if(!SetEvent(hEvent)) { PR_snprintf(ErrorString, sizeof(ErrorString), "Tried to stop existing server %s" ": Could not signal it to stop :Error %d", servid, GetLastError()); ds_send_error(ErrorString, 0); return(DS_SERVER_UNKNOWN); } return(DS_SERVER_DOWN); } int StopNetscapeService() { BOOL ret; SERVICE_STATUS ServiceStatus; DWORD Error; CHAR ErrorString[512]; char *serviceName = ds_get_server_name(); schService = OpenService(schSCManager, serviceName, SERVICE_ALL_ACCESS); if (schService == NULL) { PR_snprintf(ErrorString, sizeof(ErrorString), "Tried to open service" " %s: Error %d (%s). Please" " stop the server from the Services Item in the Control Panel", serviceName, GetLastError(), ds_system_errmsg()); ds_send_error(ErrorString, 0); return(DS_SERVER_UP); } ret = ControlService(schService, SERVICE_CONTROL_STOP, &ServiceStatus); Error = GetLastError(); /* if ControlService returns with ERROR_SERVICE_CANNOT_ACCEPT_CTRL and the server status indicates that it is either shutdown or in the process of shutting down, then just wait for it to stop as usual */ if (ret || ((Error == ERROR_SERVICE_CANNOT_ACCEPT_CTRL) && ((ServiceStatus.dwCurrentState == SERVICE_STOPPED) || (ServiceStatus.dwCurrentState == SERVICE_STOP_PENDING)))) { CloseServiceHandle(schService); /* We make sure that the service is stopped */ WaitForServertoStop(); return(DS_SERVER_DOWN); } else if (Error != ERROR_SERVICE_NOT_ACTIVE) { PR_snprintf(ErrorString, sizeof(ErrorString), "Tried to stop service" " %s: Error %d (%s)." " Please stop the server from the Services Item in the" " Control Panel", serviceName, Error, ds_system_errmsg()); ds_send_error(ErrorString, 0); return(DS_SERVER_UNKNOWN); } return(DS_SERVER_DOWN); } int StartNetscapeService() { CHAR ErrorString[512]; int retries = 0; char *serviceName = ds_get_server_name(); schService = OpenService( schSCManager, // SCManager database serviceName, // name of service SERVICE_ALL_ACCESS); if (schService == NULL) { CloseServiceHandle(schService); PR_snprintf(ErrorString, sizeof(ErrorString),"Tried to start" " the service %s: Error %d. Please" " start the server from the Services Item in the Control Panel", serviceName, GetLastError()); ds_send_error(ErrorString, 0); return(DS_SERVER_DOWN); } if (!StartService(schService, 0, NULL)) { CloseServiceHandle(schService); PR_snprintf(ErrorString, sizeof(ErrorString), "StartService:Could not start " "the Directory service %s: Error %d. Please restart the server " "from the Services Item in the Control Panel", serviceName, GetLastError()); ds_send_error(ErrorString, 0); return(DS_SERVER_DOWN); } CloseServiceHandle(schService); return(DS_SERVER_UP); } void WaitForServertoStop() { HANDLE hServDoneSemaphore; int result,retries = 0; char *serviceName = ds_get_server_name(); char *newServiceName; RETRY: newServiceName = PR_smprintf("NS_%s", serviceName); hServDoneSemaphore = CreateSemaphore( NULL, // security attributes 0, // initial count for semaphore 1, // maximum count for semaphore newServiceName); PR_smprintf_free(newServiceName); if ( hServDoneSemaphore == NULL) { result = GetLastError(); if (result == ERROR_INVALID_HANDLE) { if (retries < SERVER_STOP_TIMEOUT) { retries++; Sleep(1000); goto RETRY; } } else { /* We aren't too interested in why the creation failed * if it is not because of another instance */ return; } } // hServDoneSemaphore == NULL CloseHandle(hServDoneSemaphore); return; } #endif --- NEW FILE dsalib_util.c --- /** BEGIN COPYRIGHT BLOCK * This Program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; version 2 of the License. * * This Program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA. * * In addition, as a special exception, Red Hat, Inc. gives You the additional * right to link the code of this Program with code not covered under the GNU * General Public License ("Non-GPL Code") and to distribute linked combinations * including the two, subject to the limitations in this paragraph. Non-GPL Code * permitted under this exception must only link to the code of this Program * through those well defined interfaces identified in the file named EXCEPTION * found in the source code files (the "Approved Interfaces"). The files of * Non-GPL Code may instantiate templates or use macros or inline functions from * the Approved Interfaces without causing the resulting work to be covered by * the GNU General Public License. Only Red Hat, Inc. may make changes or * additions to the list of Approved Interfaces. You must obey the GNU General * Public License in all respects for all of the Program code and other code used * in conjunction with the Program except the Non-GPL Code covered by this * exception. If you modify this file, you may extend this exception to your * version of the file, but you are not obligated to do so. If you do not wish to * provide this exception without modification, you must delete this exception * statement from your version and license this file solely under the GPL without * exception. * * * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ #ifdef HAVE_CONFIG_H # include #endif #if defined( XP_WIN32 ) #include #include #else /* XP_WIN32 */ # if defined( AIXV4 ) # include # else /* AIXV4 */ # include # endif /* AIXV4 */ #include #include #include #endif /* XP_WIN3 */ #include "dsalib.h" #include #include #include #include #include #include #include "nspr.h" #include "plstr.h" #define COPY_BUFFER_SIZE 4096 /* This is the separator string to use when outputting key/value pairs to be read by the non-HTML front end (Java console) */ static const char *SEPARATOR = ":"; /* from AdmTask.java */ #define LOGFILEENVVAR "DEBUG_LOGFILE" /* used for logfp */ static int internal_rm_rf(const char *path, DS_RM_RF_ERR_FUNC ds_rm_rf_err_func, void *arg); /* return a FILE * opened in append mode to the log file caller must use fclose to close it */ static FILE * get_logfp(void) { FILE *logfp = NULL; char *logfile = getenv(LOGFILEENVVAR); if (logfile) { logfp = fopen(logfile, "a"); } return logfp; } DS_EXPORT_SYMBOL int ds_file_exists(char *filename) { struct stat finfo; if ( filename == NULL ) return 0; if ( stat(filename, &finfo) == 0 ) /* successful */ return 1; else return 0; } DS_EXPORT_SYMBOL int ds_mkdir(char *dir, int mode) { if(!ds_file_exists(dir)) { #ifdef XP_UNIX if(mkdir(dir, mode) == -1) #else /* XP_WIN32 */ if(!CreateDirectory(dir, NULL)) #endif /* XP_WIN32 */ return -1; } return 0; } DS_EXPORT_SYMBOL char * ds_mkdir_p(char *dir, int mode) { static char errmsg[ERR_SIZE]; struct stat fi; char *t; #ifdef XP_UNIX t = dir + 1; #else /* XP_WIN32 */ t = dir + 3; #endif /* XP_WIN32 */ while(1) { t = strchr(t, FILE_PATHSEP); if(t) *t = '\0'; if(stat(dir, &fi) == -1) { if(ds_mkdir(dir, mode) == -1) { PR_snprintf(errmsg, sizeof(errmsg), "mkdir %s failed (%s)", dir, ds_system_errmsg()); return errmsg; } } if(t) *t++ = FILE_PATHSEP; else break; } return NULL; } /* * Given the name of a directory, return a NULL-terminated array of * the file names contained in that directory. Returns NULL if the directory * does not exist or an error occurs, and returns an array with a * single NULL string if the directory exists but is empty. The caller * is responsible for freeing the returned array of strings. * File names "." and ".." are not returned. */ #if !defined( XP_WIN32 ) DS_EXPORT_SYMBOL char ** ds_get_file_list( char *dir ) { DIR *dirp; struct dirent *direntp; char **ret = NULL; int nfiles = 0; if (( dirp = opendir( dir )) == NULL ) { return NULL; } if (( ret = malloc( sizeof( char * ))) == NULL ) { return NULL; }; while (( direntp = readdir( dirp )) != NULL ) { if ( strcmp( direntp->d_name, "." ) && strcmp( direntp->d_name, ".." )) { if (( ret = (char **) realloc( ret, sizeof( char * ) * ( nfiles + 2 ))) == NULL ); ret[ nfiles ] = strdup( direntp->d_name ); nfiles++; } } (void) closedir( dirp ); ret[ nfiles ] = NULL; return ret; } #else DS_EXPORT_SYMBOL char ** ds_get_file_list( char *dir ) { char szWildcardFileSpec[MAX_PATH]; char **ret = NULL; long hFile; struct _finddata_t fileinfo; int nfiles = 0; if( ( dir == NULL ) || (strlen( dir ) == 0) ) return NULL; if( ( ret = malloc( sizeof( char * ) ) ) == NULL ) return NULL; PL_strncpyz(szWildcardFileSpec, dir, sizeof(szWildcardFileSpec)); PL_strcatn(szWildcardFileSpec, sizeof(szWildcardFileSpec), "/*"); hFile = _findfirst( szWildcardFileSpec, &fileinfo); if( hFile == -1 ) return NULL; if( ( strcmp( fileinfo.name, "." ) != 0 ) && ( strcmp( fileinfo.name, ".." ) != 0 ) ) { ret[ nfiles++ ] = strdup( fileinfo.name ); } while( _findnext( hFile, &fileinfo ) == 0 ) { if( ( strcmp( fileinfo.name, "." ) != 0 ) && ( strcmp( fileinfo.name, ".." ) != 0 ) ) { if( ( ret = (char **) realloc( ret, sizeof( char * ) * ( nfiles + 2 ) ) ) != NULL ) ret[ nfiles++ ] = strdup( fileinfo.name); } } _findclose( hFile ); ret[ nfiles ] = NULL; return ret; } #endif /* ( XP_WIN32 ) */ DS_EXPORT_SYMBOL time_t ds_get_mtime(char *filename) { struct stat fi; if ( stat(filename, &fi) ) return 0; return fi.st_mtime; } /* * Copy files: return is * 1: success * 0: failure * Print errors as needed. */ DS_EXPORT_SYMBOL int ds_cp_file(char *sfile, char *dfile, int mode) { #if defined( XP_WIN32 ) return( CopyFile( sfile, dfile, FALSE ) ); /* Copy even if dfile exists */ #else int sfd, dfd, len; struct stat fi; char copy_buffer[COPY_BUFFER_SIZE]; unsigned long read_len; char error[BIG_LINE]; /* Make sure we're in the right umask */ umask(022); if( (sfd = open(sfile, O_RDONLY)) == -1) { PR_snprintf(error, sizeof(error), "Can't open file %s for reading.", sfile); ds_send_error(error, 1); return(0); } fstat(sfd, &fi); if (!(S_ISREG(fi.st_mode))) { PR_snprintf(error, sizeof(error), "File %s is not a regular file.", sfile); ds_send_error(error, 1); close(sfd); return(0); } len = fi.st_size; if( (dfd = open(dfile, O_RDWR | O_CREAT | O_TRUNC, mode)) == -1) { PR_snprintf(error, sizeof(error), "can't write to file %s", dfile); ds_send_error(error, 1); close(sfd); return(0); } while (len) { read_len = len>COPY_BUFFER_SIZE?COPY_BUFFER_SIZE:len; if ( (read_len = read(sfd, copy_buffer, read_len)) == -1) { PR_snprintf(error, sizeof(error), "Error reading file %s for copy.", sfile); ds_send_error(error, 1); close(sfd); close(dfd); return(0); } if ( write(dfd, copy_buffer, read_len) != read_len) { PR_snprintf(error, sizeof(error), "Error writing file %s for copy.", dfile); ds_send_error(error, 1); close(sfd); close(dfd); return(0); } len -= read_len; } close(sfd); close(dfd); return(1); #endif } DS_EXPORT_SYMBOL void ds_unixtodospath(char *szText) { if(szText) { while(*szText) { if( *szText == '/' ) *szText = '\\'; szText++; } } } /* converts '\' chars to '/' */ DS_EXPORT_SYMBOL void ds_dostounixpath(char *szText) { if(szText) { while(*szText) { if( *szText == '\\' ) *szText = '/'; szText++; } } } /* converts ':' chars to ' ' */ DS_EXPORT_SYMBOL void ds_timetofname(char *szText) { if(szText) { /* Replace trailing newline */ szText[ strlen( szText ) -1 ] = 0; while(*szText) { if( *szText == ':' || *szText == ' ' ) *szText = '_'; szText++; } } } /* Effects a rename in 2 steps, needed on NT because if the target of a rename() already exists, the rename() will fail. */ DS_EXPORT_SYMBOL int ds_saferename(char *szSrc, char *szTarget) { #ifdef XP_WIN32 int iRetVal; char *szTmpFile; struct stat buf; #endif if( !szSrc || !szTarget ) return 1; #if defined( XP_WIN32 ) szTmpFile = mktemp("slrnXXXXXX" ); if( stat( szTarget, &buf ) == 0 ) { /* Target file exists */ if( !szTmpFile ) return 1; if( !ds_cp_file( szTarget, szTmpFile, 0644) ) return( 1 ); unlink( szTarget ); if( (iRetVal = rename( szSrc, szTarget )) != 0 ) { /* Failed to rename, copy back. */ ds_cp_file( szTmpFile, szTarget, 0644); } /* Now remove temp file */ unlink( szTmpFile ); } else iRetVal = rename(szSrc, szTarget); return iRetVal; #else return rename(szSrc, szTarget); #endif } DS_EXPORT_SYMBOL char* ds_encode_all (const char* s) { char* r; size_t l; size_t i; if (s == NULL || *s == '\0') { return strdup (""); } l = strlen (s); r = malloc (l * 3 + 1); for (i = 0; *s != '\0'; ++s) { r[i++] = '%'; sprintf (r + i, "%.2X", 0xFF & (unsigned int)*s); i += 2; } r[i] = '\0'; return r; } DS_EXPORT_SYMBOL char* ds_URL_encode (const char* s) { char* r; size_t l; size_t i; if (s == NULL || *s == '\0') { return strdup (""); } l = strlen (s) + 1; r = malloc (l); for (i = 0; *s != '\0'; ++s) { if (*s >= 0x20 && *s <= 0x7E && strchr (" <>\"#%{}[]|\\^~`?,;=+\n", *s) == NULL) { if (l - i <= 1) r = realloc (r, l *= 2); r[i++] = *s; } else { /* encode *s */ if (l - i <= 3) r = realloc (r, l *= 2); r[i++] = '%'; sprintf (r + i, "%.2X", 0xFF & (unsigned int)*s); i += 2; } } r[i] = '\0'; return r; } DS_EXPORT_SYMBOL char* ds_URL_decode (const char* original) { char* r = strdup (original); char* s; for (s = r; *s != '\0'; ++s) { if (*s == '+') { *s = ' '; } else if (*s == '%' && isxdigit(s[1]) && isxdigit(s[2])) { memmove (s, s+1, 2); s[2] = '\0'; *s = (char)strtoul (s, NULL, 16); memmove (s+1, s+3, strlen (s+3) + 1); } } return r; } #if !defined( XP_WIN32 ) #include /* errno */ #include /* getpwnam */ static int saved_uid_valid = 0; static uid_t saved_uid; static int saved_gid_valid = 0; static gid_t saved_gid; #if defined( HPUX ) #define SETEUID(id) setresuid((uid_t) -1, id, (uid_t) -1) #else #define SETEUID(id) seteuid(id) #endif #endif DS_EXPORT_SYMBOL char* ds_become_localuser_name (char *localuser) { #if !defined( XP_WIN32 ) if (localuser != NULL) { struct passwd* pw = getpwnam (localuser); if (pw == NULL) { fprintf (stderr, "getpwnam(%s) == NULL; errno %d", localuser, errno); fprintf (stderr, "\n"); fflush (stderr); } else { if ( ! saved_uid_valid) saved_uid = geteuid(); if ( ! saved_gid_valid) saved_gid = getegid(); if (setgid (pw->pw_gid) == 0) { saved_gid_valid = 1; } else { fprintf (stderr, "setgid(%li) != 0; errno %d", (long)pw->pw_gid, errno); fprintf (stderr, "\n"); fflush (stderr); } if (SETEUID (pw->pw_uid) == 0) { saved_uid_valid = 1; } else { fprintf (stderr, "seteuid(%li) != 0; errno %d", (long)pw->pw_uid, errno); fprintf (stderr, "\n"); fflush (stderr); } } } return NULL; #else return NULL; #endif } DS_EXPORT_SYMBOL char* ds_become_localuser (char **ds_config) { #if !defined( XP_WIN32 ) char* localuser = ds_get_value (ds_config, ds_get_var_name(DS_LOCALUSER), 0, 1); if (localuser != NULL) { char *rv = ds_become_localuser_name(localuser); free(localuser); return rv; } return NULL; #else return NULL; #endif } DS_EXPORT_SYMBOL char* ds_become_original (char **ds_config) { #if !defined( XP_WIN32 ) if (saved_uid_valid) { if (SETEUID (saved_uid) == 0) { saved_uid_valid = 0; } else { fprintf (stderr, "seteuid(%li) != 0; errno %d
n", (long)saved_uid, errno); fflush (stderr); } } if (saved_gid_valid) { if (setgid (saved_gid) == 0) { saved_gid_valid = 0; } else { fprintf (stderr, "setgid(%li) != 0; errno %d
\n", (long)saved_gid, errno); fflush (stderr); } } return NULL; #else return NULL; #endif } /* * When a path containing a long filename is passed to system(), the call * fails. Therfore, we need to use the short version of the path, when * constructing the path to pass to system(). */ DS_EXPORT_SYMBOL char* ds_makeshort( char * filepath ) { #if defined( XP_WIN32 ) char *shortpath = malloc( MAX_PATH ); DWORD dwStatus; if( shortpath ) { dwStatus = GetShortPathName( filepath, shortpath, MAX_PATH ); return( shortpath ); } #endif return filepath; } /* returns 1 if string "searchstring" found in file "filename" */ /* if found, returnstring is allocated and filled with the line */ /* caller should release the memory */ DS_EXPORT_SYMBOL int ds_search_file(char *filename, char *searchstring, char **returnstring) { struct stat finfo; FILE * sf; char big_line[BIG_LINE]; if( filename == NULL ) return 0; if( stat(filename, &finfo) != 0 ) /* successful */ return 0; if( !(sf = fopen(filename, "r")) ) return 0; while ( fgets(big_line, BIG_LINE, sf) ) { if( strstr( big_line, searchstring ) != NULL ) { *returnstring = (char *)malloc(strlen(big_line) + 1); if (NULL != *returnstring) { strcpy(*returnstring, big_line); } fclose(sf); return 1; } } fclose(sf); return 0; } /* * on linux when running as root, doing something like * system("date > out.log 2>&1") will fail, because of an * ambigious redirect. This works for /bin/sh, but not /bin/csh or /bin/tcsh * * using this would turn * system("date > out.log 2>&1"); * into * system("/bin/sh/ -c \"date > out.log 2>&1\"") * */ DS_EXPORT_SYMBOL void alter_startup_line(char *startup_line) { #if (defined Linux && !defined LINUX2_4) char temp_startup_line[BIG_LINE+40]; PR_snprintf(temp_startup_line, sizeof(temp_startup_line), "/bin/sh -c \"%s\"", startup_line); PL_strncpyz(startup_line, temp_startup_line, BIG_LINE); #else /* do nothing */ #endif /* Linux */ } DS_EXPORT_SYMBOL void ds_send_error(char *errstr, int print_errno) { FILE *logfp; fprintf(stdout, "error%s%s\n", SEPARATOR, errstr); if (print_errno && errno) fprintf(stdout, "system_errno%s%d\n", SEPARATOR, errno); fflush(stdout); if ((logfp = get_logfp())) { fprintf(logfp, "error%s%s\n", SEPARATOR, errstr); if (print_errno && errno) fprintf(logfp, "system_errno%s%d\n", SEPARATOR, errno); fclose(logfp); } } DS_EXPORT_SYMBOL void ds_send_status(char *str) { FILE *logfp; fprintf(stdout, "[%s]: %s\n", ds_get_server_name(), str); fflush(stdout); if ((logfp = get_logfp())) { fprintf(logfp, "[%s]: %s\n", ds_get_server_name(), str); fclose(logfp); } } /* type and doexit are unused I'm not sure what type is supposed to be used for removed the doexit code because we don't want to exit abruptly anymore, we must exit by returning an exit code from the return in main() */ static void report_error(int type, char *msg, char *details, int doexit) { char error[BIG_LINE*4] = {0}; if (msg) { PL_strcatn(error, BIG_LINE*4, msg); PL_strcatn(error, BIG_LINE*4, SEPARATOR); } if (details) PL_strcatn(error, BIG_LINE*4, details); ds_send_error(error, 1); } DS_EXPORT_SYMBOL void ds_report_error(int type, char *msg, char *details) { /* richm - changed exit flag to 0 - we must not exit abruptly, we should instead exit by returning a code as the return value of main - this ensures that callers are properly notified of the status */ report_error(type, msg, details, 0); } DS_EXPORT_SYMBOL void ds_report_warning(int type, char *msg, char *details) { report_error(type, msg, details, 0); } DS_EXPORT_SYMBOL void ds_show_message(const char *message) { FILE *logfp; printf("%s\n", message); fflush(stdout); if ((logfp = get_logfp())) { fprintf(logfp, "%s\n", message); fclose(logfp); } return; } DS_EXPORT_SYMBOL void ds_show_key_value(char *key, char *value) { FILE *logfp; printf("%s%s%s\n", key, SEPARATOR, value); if ((logfp = get_logfp())) { fprintf(logfp, "%s%s%s\n", key, SEPARATOR, value); fclose(logfp); } return; } /* Stolen from the Admin Server dsgw_escape_for_shell */ DS_EXPORT_SYMBOL char * ds_escape_for_shell( char *s ) { char *escaped; char tmpbuf[4]; size_t x,l; if ( s == NULL ) { return( s ); } l = 3 * strlen( s ) + 1; escaped = malloc( l ); memset( escaped, 0, l ); for ( x = 0; s[x]; x++ ) { if (( (unsigned char)s[x] & 0x80 ) == 0 ) { strncat( escaped, &s[x], 1 ); } else { /* not an ASCII character - escape it */ sprintf( tmpbuf, "\\%x", (unsigned)(((unsigned char)(s[x])) & 0xff) ); strcat( escaped, tmpbuf ); } } return( escaped ); } DS_EXPORT_SYMBOL char * ds_system_errmsg(void) { static char static_error[BUFSIZ]; char *lmsg = 0; /* Local message pointer */ size_t msglen = 0; int sys_error = 0; #ifdef XP_WIN32 LPTSTR sysmsg = 0; #endif /* Grab the OS error message */ #ifdef XP_WIN32 sys_error = GetLastError(); #else sys_error = errno; #endif #if defined(XP_WIN32) msglen = FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, GetLastError(), LOCALE_SYSTEM_DEFAULT, (LPTSTR)&sysmsg, 0, 0); if (msglen > 0) lmsg = sysmsg; SetLastError(0); #else lmsg = strerror(errno); errno = 0; #endif if (!lmsg) static_error[0] = 0; else { /* At this point lmsg points to something. */ int min = 0; msglen = strlen(lmsg); min = msglen > BUFSIZ ? BUFSIZ : msglen; strncpy(static_error, lmsg, min-1); static_error[min-1] = 0; } #ifdef XP_WIN32 /* NT's FormatMessage() dynamically allocated the msg; free it */ if (sysmsg) LocalFree(sysmsg); #endif return static_error; } #ifndef MAXPATHLEN #define MAXPATHLEN 1024 #endif enum { DB_DIRECTORY = 0, DB_LOGDIRECTORY, DB_CHANGELOGDIRECTORY, DB_HOME_DIRECTORY }; static int is_fullpath(char *path) { int len; if (NULL == path || '\0' == *path) return 0; if (FILE_PATHSEP == *path) /* UNIX */ return 1; len = strlen(path); if (len > 2) { if (':' == path[1] && ('/' == path[2] || '\\' == path[2])) /* Windows */ return 1; } return 0; } static void rm_db_dirs(char *fullpath, DS_RM_RF_ERR_FUNC ds_rm_rf_err_func, void *arg) { FILE *fp = fopen(fullpath, "r"); char buf[2][MAXPATHLEN]; char *bufp, *nextbufp; char *retp; int readit = 0; if (fp == NULL) { ds_rm_rf_err_func(fullpath, "opening the config file", arg); return; } bufp = buf[0]; *bufp = '\0'; nextbufp = buf[1]; *nextbufp = '\0'; while (readit || (retp = fgets(bufp, MAXPATHLEN, fp)) != NULL) { int len = strlen(bufp); int type = -1; char *p, *q; if (strstr(bufp, "nsslapd-directory")) type = DB_DIRECTORY; else if (strstr(bufp, "nsslapd-db-home-directory")) type = DB_HOME_DIRECTORY; else if (strstr(bufp, "nsslapd-db-logdirectory")) type = DB_LOGDIRECTORY; else if (strstr(bufp, "nsslapd-changelogdir")) type = DB_CHANGELOGDIRECTORY; else { readit = 0; continue; } p = bufp + len; while ((retp = fgets(nextbufp, MAXPATHLEN, fp)) != NULL) { int thislen; if (*nextbufp == ' ') { thislen = strlen(nextbufp); len += thislen; if (len < MAXPATHLEN) { strncpy(p, nextbufp, thislen); p += thislen; } /* else too long as a path. ignore it */ } else break; } if (retp == NULL) /* done */ break; p = strchr(bufp, ':'); if (p == NULL) { char *tmpp = bufp; bufp = nextbufp; nextbufp = tmpp; readit = 1; continue; } while (*(++p) == ' ') ; q = p + strlen(p) - 1; while (*q == ' ' || *q == '\t' || *q == '\n') q--; *(q+1) = '\0'; switch (type) { case DB_DIRECTORY: case DB_LOGDIRECTORY: case DB_CHANGELOGDIRECTORY: if (is_fullpath(p)) internal_rm_rf(p, ds_rm_rf_err_func, NULL); break; case DB_HOME_DIRECTORY: internal_rm_rf(p, ds_rm_rf_err_func, NULL); break; } } fclose(fp); } static char * get_dir_from_startslapd(char *loc, char *keyword) { char *returnstr = NULL; char *ptr = NULL; char *confdir = NULL; if (ds_search_file(loc, keyword, &returnstr) > 0 && returnstr) { ptr = strchr(returnstr, '='); if (NULL != ptr) { confdir = strdup(++ptr); } free(returnstr); } return confdir; } static char * get_dir_from_config(char *config_dir, char *config_attr) { char *configfile = NULL; char *returnstr = NULL; char *ptr = NULL; char *dir = NULL; configfile = PR_smprintf("%s%c%s", config_dir, FILE_PATHSEP, DS_CONFIG_FILE); if (configfile && ds_search_file(configfile, config_attr, &returnstr) > 0 && returnstr) { ptr = strchr(returnstr, ':'); if (NULL != ptr) { while (' ' == *ptr || '\t' == *ptr) ptr++; dir = strdup(ptr); } free(returnstr); PR_smprintf_free(configfile); } return dir; } /* this function will recursively remove a directory hierarchy from the file system, like "rm -rf" In order to handle errors, the user supplies a callback function. When an error occurs, the callback function is called with the file or directory name and the system errno. The callback function should return TRUE if it wants to continue or FALSE if it wants the remove aborted. The error callback should use PR_GetError and/or PR_GetOSError to determine the cause of the failure */ /* you could locate db dirs non standard location we should remove them, as well. */ static int internal_rm_rf(const char *path, DS_RM_RF_ERR_FUNC ds_rm_rf_err_func, void *arg) { struct PRFileInfo prfi; int retval = 0; if (PR_GetFileInfo(path, &prfi) != PR_SUCCESS) { if (!ds_rm_rf_err_func(path, "reading directory", arg)) { return 1; } } if (prfi.type == PR_FILE_DIRECTORY) { PRDir *dir; PRDirEntry *dirent; if (!(dir = PR_OpenDir(path))) { if (!ds_rm_rf_err_func(path, "opening directory", arg)) { return 1; } return 0; } while ((dirent = PR_ReadDir(dir, PR_SKIP_BOTH))) { char *fullpath = PR_smprintf("%s%c%s", path, FILE_PATHSEP, dirent->name); if (PR_GetFileInfo(fullpath, &prfi) != PR_SUCCESS) { if (!ds_rm_rf_err_func(fullpath, "reading file", arg)) { PR_smprintf_free(fullpath); PR_CloseDir(dir); return 1; } /* else just continue */ } else if (prfi.type == PR_FILE_DIRECTORY) { retval = internal_rm_rf(fullpath, ds_rm_rf_err_func, arg); if (retval) { /* non zero return means stop */ PR_smprintf_free(fullpath); break; } } else { /* FHS changes the directory structure. * Config dir is no longer in the instance dir. * The info should be found in start-slapd, * therefore get the path from the file here. */ if (0 == strcmp(dirent->name, "start-slapd")) { char *config_dir = ds_get_config_dir(); char *run_dir = ds_get_run_dir(); if (NULL == config_dir || '\0' == *config_dir) { config_dir = get_dir_from_startslapd(fullpath, DS_CONFIG_DIR); } if (NULL == run_dir || '\0' == *run_dir) { char *ptr = NULL; run_dir = get_dir_from_startslapd(fullpath, PIDFILE); ptr = strrchr(run_dir, FILE_PATHSEP); if (NULL != ptr) { *ptr = '\0'; /* equiv to dirname */ } } if (NULL != run_dir) { internal_rm_rf(run_dir, ds_rm_rf_err_func, NULL); free(run_dir); } if (NULL != config_dir) { char *lock_dir = get_dir_from_config(config_dir, DS_CONFIG_LOCKDIR); char *err_log = get_dir_from_config(config_dir, DS_CONFIG_ERRLOG); if (NULL != lock_dir) { internal_rm_rf(lock_dir, ds_rm_rf_err_func, NULL); free(lock_dir); } if (NULL != err_log) { char *ptr = strrchr(err_log, FILE_PATHSEP); if (NULL != ptr) { *ptr = '\0'; /* equiv to 'dirname' */ internal_rm_rf(err_log, ds_rm_rf_err_func, NULL); } free(err_log); } /* removing db dirs */ rm_db_dirs(config_dir, ds_rm_rf_err_func, arg); /* removing config dir */ internal_rm_rf(config_dir, ds_rm_rf_err_func, NULL); } } /* * When the file is the config file, * check if db dir is in the instance dir or not. * If db dir exists in the instance dir, it's an old structure. * Let's clean the old db here, as well. */ if (0 == strcmp(dirent->name, DS_CONFIG_FILE)) { rm_db_dirs(fullpath, ds_rm_rf_err_func, arg); } if (PR_Delete(fullpath) != PR_SUCCESS) { if (!ds_rm_rf_err_func(fullpath, "deleting file", arg)) { PR_smprintf_free(fullpath); PR_CloseDir(dir); return 1; } } } PR_smprintf_free(fullpath); } PR_CloseDir(dir); if (PR_RmDir(path) != PR_SUCCESS) { if (!ds_rm_rf_err_func(path, "removing directory", arg)) { retval = 1; } } } return retval; } static int default_err_func(const char *path, const char *op, void *arg) { PRInt32 errcode = PR_GetError(); char *msg; const char *errtext; if (!errcode || (errcode == PR_UNKNOWN_ERROR)) { errcode = PR_GetOSError(); errtext = ds_system_errmsg(); } else { errtext = PR_ErrorToString(errcode, PR_LANGUAGE_I_DEFAULT); } msg = PR_smprintf("%s %s: error code %d (%s)", op, path, errcode, errtext); ds_send_error(msg, 0); PR_smprintf_free(msg); return 1; /* just continue */ } /* dir: instance dir, e.g., "$NETSITE_ROOT/slapd-" */ DS_EXPORT_SYMBOL int ds_rm_rf(const char *dir, DS_RM_RF_ERR_FUNC ds_rm_rf_err_func, void *arg) { struct PRFileInfo prfi; if (!dir) { ds_send_error("Could not remove NULL directory name", 1); return 1; } if (!ds_rm_rf_err_func) { ds_rm_rf_err_func = default_err_func; } if (PR_GetFileInfo(dir, &prfi) != PR_SUCCESS) { if (ds_rm_rf_err_func(dir, "reading directory", arg)) { return 0; } else { return 1; } } if (prfi.type != PR_FILE_DIRECTORY) { char *msg = PR_smprintf("Cannot remove directory %s because it is not a directory", dir); ds_send_error(msg, 0); PR_smprintf_free(msg); return 1; } return internal_rm_rf(dir, ds_rm_rf_err_func, arg); } DS_EXPORT_SYMBOL int ds_remove_reg_key(void *base, const char *format, ...) { int rc = 0; #ifdef XP_WIN32 int retries = 3; HKEY hkey = (HKEY)base; char *key; va_list ap; va_start(ap, format); key = PR_vsmprintf(format, ap); va_end(ap); do { if (ERROR_SUCCESS != RegDeleteKey(hkey, key)) { rc = GetLastError(); if (rc == ERROR_BADKEY || rc == ERROR_CANTOPEN || rc == ERROR_CANTREAD || rc == ERROR_CANTWRITE || rc == ERROR_KEY_DELETED || rc == ERROR_ALREADY_EXISTS || rc == ERROR_NO_MORE_FILES) { rc = 0; /* key already deleted - no error */ } else if ((retries > 1) && (rc == ERROR_IO_PENDING)) { /* the key is busy - lets wait and try again */ PR_Sleep(PR_SecondsToInterval(3)); retries--; } else { char *errmsg = PR_smprintf("Could not remove registry key %s - error %d (%s)", key, rc, ds_system_errmsg()); ds_send_error(errmsg, 0); PR_smprintf_free(errmsg); break; /* no retry, just fail */ } } } while (rc && retries); PR_smprintf_free(key); #endif return rc; } From fedora-directory-commits at redhat.com Wed Jun 13 17:48:37 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 13 Jun 2007 13:48:37 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src register_param.map.in, NONE, 1.1 register_server.pl.in, NONE, 1.1 Message-ID: <200706131748.l5DHmb9s018121@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17988/admserv/newinst/src Added Files: register_param.map.in register_server.pl.in Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (Comment #58) Description: adding the server registeration script and its data files --- NEW FILE register_param.map.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # register_param.map: # This file is used by the register_server.pl script to register the server # info to the Configuration Directory Server. The server info is stored in # the (template) ldif files located in @ldifdir at . In case a server entry has # %...% format parameters, this map table is used to resolve it and replace # the parameter with the value defined in this file. # # [Parameter resolution rules] # * If the right-hand value is in ` (backquote), the value is eval'ed by perl. # The output should be stored in $returnvalue to pass to the internal hash. # * If the right-hand value is in " (doublequote), the value is passed as is. # * If the right-hand value is not in any quote, the value should be found # in either of the setup inf file (static) or the install inf file (dynamic). # * Variables surrounded by @ (e.g., @configdir@) are replaced with the # system path at the compile time. # * The right-hand value can contain variables surrounded by % (e.g., %asid%) # which refers the right-hand value (key) of this map file. # fqdn = `use Net::Domain qw(hostfqdn); $returnvalue = hostfqdn();` domain = `use Net::Domain qw(hostdomain); $returnvalue = hostdomain();` brand = Brand normbrand = NormBrand hostname = `use Net::Domain qw(hostname); $returnvalue = hostname();` vendor = Vendor uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = ; chomp $returnvalue; close(UNAMEA);` uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = ; chomp $returnvalue; close(UNAMEM);` configroot = "CONFIG ROOT -- replace me" as_uid = ServerAdminID as_passwd = ServerAdminPwd asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_port = Port admpw = "@configdir@/admpw" as_error = "@logdir@/errors" as_access = "@logdir@/access" as_pid = "@pidfile@" as_console_jar = "%normbrand%-admserv-%as_version%.jar" as_help_path = "@helpdir@" as_user = SysUser as_version = Version as_buildnum = BuildNumber as_installedlocation = "AS INSTALLED LOCATION -- replace me" as_serverroot = "AS SERVER ROOT-- replace me" as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" ds_version = Version dsid = ServerIdentifier ds_user = SuiteSpotUserID ds_port = ServerPort ds_secure_port ="636" rootdn = RootDN ds_suffix = Suffix ds_buildnum = BuildNumber ds_passwd = RootDNPwd ds_console_jar ="%normbrand%-ds-%ds_version%.jar" ds_installedlocation = "DS INSTALLED LOCATION -- replace me" ds_serverroot = "DS SERVER ROOT-- replace me" ds_sie = "cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" --- NEW FILE register_server.pl.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # Usage: register_server.pl [ -h ] [ -p ] [ -D ] \ # -w [ -d ] \ # -i -m ... # # Description: Store server info stored in the ldiffiles to the Configuration # Directory Server replacing the macros with the defined values # in the map file. # # -h : configuration server host (localhost, by default) # -p : configuration server port (389) # -D : configuration server's rootdn ("cn=Directory Manager") # -w : configuration server's rootdn password # -d : the directory where static .inf files are located # ("/usr/share/fedora-ds/inf") # -i : dynamic .inf file(s) # -m : map file name # ...: ldif file(s) or template ldif file(s) to be stored in # the Configuration Directory Server use Getopt::Std; use Net::Domain qw(hostname); # PERLDAP modules use Mozilla::LDAP::Conn; use Mozilla::LDAP::Entry; # Setup Inf module use Inf; # process map table # [map table sample] # fqdn = FullMachineName # hostname = `use Sys::Hostname; $returnvalue = hostname();` # ds_console_jar ="%normbrand%-ds-%ds_version%.jar" # # * If the right-hand value is in ` (backquote), the value is eval'ed by perl. # The output should be stored in $returnvalue to pass to the internal hash. # * If the right-hand value is in " (doublequote), the value is passed as is. # * If the right-hand value is not in any quote, the value should be found # in either of the setup inf file (static) or the install inf file (dynamic). # * Variables surrounded by @ (e.g., @admin_confdir@) are replaced with the # system path at the compile time. # * The right-hand value can contain variables surrounded by % (e.g., %asid%) # which refers the right-hand value (key) of this map file. sub process_maptbl { ($mapper, @infdata) = @_; foreach $section (keys %{$mapper}) { my $thissection = \%{%{$mapper}->{$section}}; foreach $key (keys %{$thissection}) { my $value = $thissection->{$key}; if ($value =~ /^\"/) { $value =~ tr/\"//d; $thissection->{$key} = $value; } elsif ($value =~ /^\`/) { $value =~ tr/\`//d; eval $value; $thissection->{$key} = $returnvalue; } else { my $infsection; foreach my $thisinf (@infdata) { foreach my $section0 (keys %{$thisinf}) { $infsection = \%{%{$thisinf}->{$section0}}; if ("" ne $infsection->{$value}) { $thissection->{$key} = $infsection->{$value}; goto nextkey; } } } if ("" eq $infsection->{$value}) { print "ERROR: $value not found in the .inf files\n"; return NULL; } } nextkey: } } return $mapper; } # delete the subtree starting from the passed entry sub delete_all { my ($conn, $bentry) = @_; my $sentry = $conn->search($bentry->{dn}, "subtree", "(objectclass=*)", 0, ("dn")); while ($sentry) { push @mystack, ($sentry); $sentry = $conn->nextEntry(); } # reverse order my $myentry = pop @mystack; while ($myentry) { $conn->delete($myentry->{dn}); $rc = $conn->getErrorCode(); if ( $rc ne 0 ) { $conn->printError(); print "ERROR: unable to delete entry, error code: $rc\n"; return 1; } $myentry = pop @mystack; } return 0; } @ignorelist = ( "modifyTimestamp", "createTimestamp", "installationTimestamp", "creatorsName", "modifiersName", "numSubordinates" ); @speciallist = ( "uniqueMember" ); sub is_in_array { my ($val, $array) = @_; foreach my $elem ($array) { if ( lc($val) eq lc($elem) ) { return 1; } } return 0; } # compare 2 entries # return 0 if they match 100% (exception: @ignorelist). # return 1 if they match except @speciallist. # return -1 if they do not match. sub comp_entries { my ($e0, $e1) = @_; $rc = 0; foreach $akey ( keys %{$e0} ) { next if ( 1 == is_in_array($akey, @ignorelist) ); $aval0 = $e0->{$akey}; $aval1 = $e1->{$akey}; my $amin; my $amax; if ( $#aval0 != $#aval1 ) { if ( 1 == is_in_array($akey, @speciallist) ) { $rc = 1; if ( $#aval0 < $#aval1 ) { $amin = $#aval0; $amax = $#aval1; } else { $amin = $#aval1; $amax = $#aval0; } } else { $rc = -1; return $rc; } } @sval0 = sort { $a cmp $b } @{$aval0}; @sval1 = sort { $a cmp $b } @{$aval1}; for ( my $i = 0; $i <= $amin; $i++ ) { my $isspecial = -1; if ( $sval0[$i] ne $sval1[$i] ) { if ( 0 > $isspecial ) { $isspecial = is_in_array($akey, @speciallist); } if ( $isspecial ) { $rc = 1; } else { $rc = -1; return $rc; } } } } return $rc; } # if the entry does not exist on the server, add the entry. # otherwise, do nothing sub check_and_add_entry { my ($conn, $aentry) = @_; my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)"); do { my $needtoadd = 1; my $needtomod = 0; my $rval = -1; if ( NULL != $sentry && !$confds_fresh ) { $rval = comp_entries( $sentry, $aentry ); } if ( 0 == $rval && !$confds_fresh ) { # the identical entry exists on the configuration DS. # no need to add the entry. $needtoadd = 0; goto out; } elsif ( 1 == $rval && !$confds_fresh ) { $needtoadd = 0; $needtomod = 1; } elsif ( NULL != $sentry && "" ne $sentry->{dn} ) { # $confds_fresh || $rval == -1 # an entry having the same DN exists, but the attributes do not # match. remove the entry and the subtree underneath. if ( $confds_verbose ) { print "Deleting an entry dn: $sentry->{dn} ...\n"; } $rval = delete_all($conn, $sentry); if ( 0 != $rval ) { return 1; } } if ( 1 == $needtoadd ) { $conn->add($aentry); my $rc = $conn->getErrorCode(); if ( $rc != 0 ) { print "ERROR: adding an entry $aentry->{dn} failed, error code: $rc\n"; print "[entry]\n"; $aentry->printLDIF(); $conn->close(); return 1; } # if ( $confds_verbose ) # { # print "Entry $aentry->{dn} is added\n"; # } } elsif ( 1 == $needtomod ) # $sentry exists { foreach $attr ( @speciallist ) { foreach $nval ( @{$aentry->{$attr}} ) { $sentry->addValue( $attr, $nval ); } } $conn->update($sentry); my $rc = $conn->getErrorCode(); if ( $rc != 0 ) { print "ERROR: updating an entry $sentry->{dn} failed, error code: $rc\n"; print "[entry]\n"; $aentry->printLDIF(); $conn->close(); return 1; } } if ( NULL != $sentry ) { $sentry = $conn->nextEntry(); # supposed to have no more entries } } until ( NULL == $sentry ); out: return 0; } # register server info from the template ldif files sub register_serverinfo { my ($conn, $mapper, @ldiffiles) = @_; my $thissection = \%{%{$mapper}->{""}}; foreach my $ldiffile (@ldiffiles) { open(MYLDIF, "< $ldiffile") or die "Can't open $ldiffile : $!"; if ( $confds_verbose ) { print "Processing $ldiffile ...\n"; } my $entry = NULL; while ( my $l = ) { chop $l; if ( "$l" eq "" ) { next if ( NULL == $entry ); check_and_add_entry($conn, $entry); $entry->DESTROY(); $entry = NULL; } elsif ( "$l" =~ /^dn:/ ) { $entry = new Mozilla::LDAP::Entry(); my ($h, $dn) = split(/: /, $l, 2); # Need to repeat to handle nested subst my $origdn = $dn; while ( $dn =~ /%([A-Za-z_]+)%/ ) { $dn =~ s{%([A-Za-z_]+)%}{$thissection->{$1} || "SERVER_INFO_NOTFOUND"}ge; } if ( $dn =~ /SERVER_INFO_NOTFOUND/ ) { print "ERROR: \"$origdn\" mapped to \"$dn\".\n"; print "Make sure that %value% replaced by SERVER_INFO_NOTFOUND exists in $mapfile.\n"; return 1; } $entry->setDN($dn); } else { my ($key, $value) = split(/: /, $l, 2); # Need to repeat to handle nested subst my $origvalue = $value; while ( $value =~ /%([A-Za-z_]+)%/ ) { $value =~ s{%([A-Za-z_]+)%}{$thissection->{$1} || "SERVER_INFO_NOTFOUND"}ge; } if ( $value =~ /SERVER_INFO_NOTFOUND/ ) { print "ERROR: \"$origvalue\" mapped to \"$value\"\n"; print "Make sure that %value% replaced by SERVER_INFO_NOTFOUND exists in $mapfile.\n"; return 1; } $entry->addValue( $key, "$value" ) } } close(MYLDIF); if ( NULL != $entry ) { check_and_add_entry($conn, $entry); $entry->DESTROY(); $entry = NULL; } } return 0; } $USAGE = "$0 [ -Fv ] [ -h ] [ -p ] [ -D ] \ -w [ -d ] \ -i ... -m ... Description: Store server info stored in the ldiffiles to the Configuration Directory Server replacing the macros with the defined values in the map file. -H: help (print this message) -v: verbose -F: Fresh registration; i.e., removing the existing server info. -h : configuration server host (localhost, by default) -p : configuration server port (389) -D : configuration server's rootdn (\"cn=Directory Manager\") -w : configuration server's rootdn password -d : the directory where static .inf files are located (\"/usr/share/@PACKAGE_BASE_NAME@/inf\") -i : dynamic .inf file(s) -m : map file name ...: ldif files or template ldif files to be stored in the Configuration Directory Server"; if ($#ARGV < 0 || !getopts('HFvh:p:D:w:d:m:i:') || $opt_H) { print "Usage: $USAGE\n"; exit 1; } $confds_verbose = $opt_v; $confds_fresh = $opt_F; $confds_host = $opt_h; if ( "" eq $confds_host ) { $confds_host = hostname(); } $confds_port = $opt_p; if ( "" eq $confds_port ) { $confds_port = 389; } $confds_rootdn = $opt_D; if ( "" eq $confds_rootdn ) { $confds_rootdn = "cn=Directory Manager"; } $confds_rootdnpw = $opt_w; if ( "" eq $confds_rootdnpw ) { print "ERROR: No root dn password\n"; print "usage: $USAGE\n"; exit 1; } my $infdir = $opt_d; if ( "" eq $infdir ) { $infdir = "/usr/share/@PACKAGE_BASE_NAME@/inf"; } my @inffiles = (); if ( "" eq $opt_i ) { print "ERROR: No dynamic .inf files\n"; print "usage: $USAGE\n"; exit 1; } else { @inffiles = split(/[ ]/, $opt_i); } my @ldiffiles = @ARGV; if ( 0 > $#ldiffiles ) { print "ERROR: No root ldif files\n"; print "usage: $USAGE\n"; exit 1; } $mapfile = $opt_m; if ( "" eq $mapfile ) { print "ERROR: No mapfile\n"; print "usage: $USAGE\n"; exit 1; } if ( ! -r $mapfile ) { print "ERROR: Cannot read $mapfile\n"; print "usage: $USAGE\n"; exit 1; } # reading info files @infdata = (); opendir(DIR, $infdir) or die "Cannot open install inf dir $infdir: $!"; while (defined($file = readdir(DIR))) { next if ( !("$file" =~ /\.inf$/) ); my $inffile = $infdir."/".$file; my $infdatum = new Inf($inffile); push(@infdata, ($infdatum)); } closedir(DIR); # open the ldap connection $conn = new Mozilla::LDAP::Conn( $confds_host, $confds_port, $confds_rootdn, $confds_rootdnpw ); if ( NULL == $conn ) { print "ERROR: Cannot connect to the server\n"; exit 1; } # eval map table for each dynamic .inf file foreach my $thisinf (@inffiles) { my $mapper = new Inf($mapfile); my $infdatum = new Inf($thisinf); push(@infdata, ($infdatum)); $mapper = process_maptbl($mapper, @infdata); if ( NULL eq $mapper ) { print "ERROR: failed to generate mapper\n"; exit 1; } # register server info my $rc = register_serverinfo($conn, $mapper, @ldiffiles); if ( 0 != $rc ) { print "ERROR: failed to register server info\n"; return 1; } pop @infdata; # in case handling multiple server instances, # need to turn it off from the second loop. $confds_fresh = 0; } $conn->close(); exit 0; From fedora-directory-commits at redhat.com Wed Jun 13 17:48:38 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 13 Jun 2007 13:48:38 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 00nsroot_backend.ldif.tmpl, NONE, 1.1 01nsroot.ldif.tmpl, NONE, 1.1 02globalpreferences.ldif.tmpl, NONE, 1.1 10dsdata.ldif.tmpl, NONE, 1.1 11dstasks.ldif.tmpl, NONE, 1.1 20asdata.ldif.tmpl, NONE, 1.1 21astasks.ldif.tmpl, NONE, 1.1 22ascommands.ldif.tmpl, NONE, 1.1 Message-ID: <200706131748.l5DHmcob018126@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17988/admserv/schema/ldif Added Files: 00nsroot_backend.ldif.tmpl 01nsroot.ldif.tmpl 02globalpreferences.ldif.tmpl 10dsdata.ldif.tmpl 11dstasks.ldif.tmpl 20asdata.ldif.tmpl 21astasks.ldif.tmpl 22ascommands.ldif.tmpl Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (Comment #58) Description: adding the server registeration script and its data files --- NEW FILE 00nsroot_backend.ldif.tmpl --- dn: cn="o=NetscapeRoot",cn=mapping tree,cn=config objectClass: top objectClass: extensibleObject objectClass: nsMappingTree cn: "o=NetscapeRoot" nsslapd-state: backend nsslapd-backend: NetscapeRoot --- NEW FILE 01nsroot.ldif.tmpl --- dn: o=NetscapeRoot objectClass: top objectClass: organization o: NetscapeRoot aci: (targetattr="*")(version 3.0; acl "Enable Configuration Administrator Group modification"; allow (all) groupdn="ldap:///cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot";) aci: (targetattr="*")(targetfilter=(o=NetscapeRoot))(version 3.0; acl "Default anonymous access"; allow (read, search) userdn="ldap:///anyone";) aci: (targetattr="*")(version 3.0; acl "Enable Group Expansion"; allow (read, search, compare) groupdnattr="uniquemember";) dn: ou=TopologyManagement, o=NetscapeRoot objectClass: top objectClass: organizationalunit ou: TopologyManagement description: Branch for Configuration Administration users and groups aci: (targetattr!="userPassword")(version 3.0; acl "Enable anonymous access"; allow (read, search, compare)userdn="ldap:///anyone";) dn: ou=Groups, ou=TopologyManagement, o=NetscapeRoot objectClass: top objectClass: organizationalunit ou: Groups description: Standard Branch for group entries dn: ou=Administrators, ou=TopologyManagement, o=NetscapeRoot objectClass: top objectClass: organizationalunit ou: Administrators description: Standard branch for Configuration Administrator (uid) entries dn: cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot objectClass: top objectClass: groupofuniquenames cn: Configuration Administrators uniqueMember: uid=%as_uid%,ou=Administrators, ou=TopologyManagement, o=NetscapeRoot dn: uid=%as_uid%, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot objectClass: top objectClass: person objectClass: organizationalperson objectClass: inetorgperson cn: Configuration Administrator sn: Administrator givenName: Configuration uid: %as_uid% userPassword: %as_passwd% dn: ou=localdomain, o=NetscapeRoot objectClass: top objectClass: organizationalunit objectClass: nsadmindomain ou: localdomain description: Standard branch for configuration information nsAdminDomainName: localdomain dn: ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalUnit objectClass: nsadmindomain ou: %domain% description: Standard branch for configuration information nsAdminDomainName: %domain% dn: ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalunit ou: Global Preferences dn: ou=Host Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalunit ou: Host Preferences dn: ou=UserPreferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalUnit ou: UserPreferences dn: cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsHost objectClass: groupOfUniqueNames cn: %fqdn% serverHostName: %fqdn% nsOsVersion: %uname_a% nsHardwarePlatform: %uname_m% uniqueMember: cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot dn: cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsAdminGroup objectClass: groupOfUniqueNames objectClass: nsDirectoryInfo objectClass: top nsAdminGroupName: Server Group nsConfigRoot: %configroot% nsDirectoryInfoRef: cn=UserDirectory, ou=Global Preferences, ou=%domain%, o=NetscapeRoot nsAdminSIEDN: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot cn: Server Group uniqueMember: cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot uniqueMember: cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot --- NEW FILE 02globalpreferences.ldif.tmpl --- dn: ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalUnit objectClass: extensibleObject ou: admin nsmerge: ADD_IF_EMPTY dn: ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalunit objectClass: extensibleObject ou: %as_version% nsmerge: ADD_IF_EMPTY dn: cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: extensibleObject cn: ResourceEditorExtension nsmerge: ADD_IF_EMPTY dn: cn=nsroledefinition, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: nsroledefinition objectClass: top objectClass: extensibleObject objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.roledit.ResEditorRoleInfo@%ds_console_jar% nsClassname: com.netscape.admin.dirserv.roledit.ResEditorRoleMembers@%ds_console_jar% nsClassname: com.netscape.admin.dirserv.roledit.ResEditorRoleAccountPage@%ds_console_jar% nsmerge: {nsclassname}MULTI_MERGE dn: cn=cossuperdefinition, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: cossuperdefinition objectClass: top objectClass: extensibleObject objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.cosedit.ResEditorCosInfo@%ds_console_jar% nsClassname: com.netscape.admin.dirserv.cosedit.ResEditorCosAttributes@%ds_console_jar% nsClassname: com.netscape.admin.dirserv.cosedit.ResEditorCosTemplate@%ds_console_jar% nsmerge: {nsclassname}MULTI_MERGE dn: cn=UserDirectory, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsDirectoryInfo cn: UserDirectory nsDirectoryURL: ldap://%fqdn%:%ds_port%/%ds_suffix% nsDirectoryFailoverList: dn: cn=Common, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsGlobalParameters objectClass: extensibleObject cn: common nsUniqueAttribute: uid nsUserIDFormat: firstletter_lastname nsUserRDNComponent: uid nsGroupRDNComponent: cn nsmerge: {nsuniqueattribute}ADD_IF_EMPTY nsmerge: {nsuseridformat}ADD_IF_EMPTY nsmerge: {nsuserrdncomponent}ADD_IF_EMPTY nsmerge: {nsgrouprdncomponent}ADD_IF_EMPTY dn: cn=Client, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsAdminGlobalParameters objectClass: extensibleObject cn: Client nsAdminEndUserHTMLIndex: [--Category:general,General][--Option:edit.cgi?userpinfo,Personal Information][--Option:edit.cgi?userpasswd,Password] nsNickName: admin,,%brand% Administration Server nsNickName: slapd,slapd,%brand% Directory Server nsNickName: cert,cert,%brand% Certificate Server nsmerge: {nsadminenduserhtmlindex}MULTI_MERGE nsmerge: {nsnickname}MULTI_MERGE dn: cn=PublicViews, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsAdminConsoleUser cn: PublicViews dn: cn=CustomView, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef cn: CustomView dn: cn=inetorgPerson, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: inetorgPerson objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension objectClass: top objectClass: extensibleObject objectClass: nsAdminObject nsClassname: com.netscape.management.client.ug.ResEditorUserPage nsClassname: com.netscape.management.client.ug.ResEditorAccountPage nsClassname: com.netscape.management.client.ug.LanguagePage nsClassname: com.netscape.management.client.ug.ResEditorNTUser nsClassname: com.netscape.management.client.ug.ResEditorPosixUser nsmerge: {nsclassname}MULTI_MERGE dn: cn=organizationalPerson, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: organizationalPerson objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension objectClass: top objectClass: extensibleObject objectClass: nsAdminObject nsClassname: com.netscape.management.client.ug.ResEditorUserPage nsClassname: com.netscape.management.client.ug.ResEditorAccountPage nsClassname: com.netscape.management.client.ug.LanguagePage nsmerge: {nsclassname}MULTI_MERGE dn: cn=groupofuniquenames, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: groupofuniquenames objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension objectClass: top objectClass: extensibleObject objectClass: nsAdminObject nsClassname: com.netscape.management.client.ug.ResEditorGroupInfo nsClassname: com.netscape.management.client.ug.ResEditorGroupMembers nsClassname: com.netscape.management.client.ug.ResEditorAccountPage nsClassname: com.netscape.management.client.ug.LanguagePage nsmerge: {nsclassname}MULTI_MERGE dn: cn=organizationalunit, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: organizationalunit objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension objectClass: top objectClass: extensibleObject objectClass: nsAdminObject nsClassname: com.netscape.management.client.ug.OUPage nsClassname: com.netscape.management.client.ug.LanguagePage nsmerge: {nsclassname}MULTI_MERGE dn: cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef cn: DefaultObjectClassesContainer dn: cn=user, cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsdefaultObjectClasses cn: user nsDefaultObjectClass: top nsDefaultObjectClass: person nsDefaultObjectClass: organizationalPerson nsDefaultObjectClass: inetorgperson dn: cn=group, cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsdefaultObjectClasses cn: group nsDefaultObjectClass: top nsDefaultObjectClass: groupofuniquenames dn: cn=ou, cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsdefaultObjectClasses cn: ou nsDefaultObjectClass: top nsDefaultObjectClass: organizationalunit dn: cn=topologyplugin, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: extensibleObject cn: topologyplugin nsmerge: ADD_IF_EMPTY dn: cn=defaultplugin, cn=topologyplugin, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nstopologyplugin objectClass: extensibleObject objectClass: nsAdminObject cn: defaultplugin nsClassname: com.netscape.management.client.topology.DefaultTopologyPlugin nsmerge: {nsclassname}MULTI_MERGE dn: cn=UI,ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: UI objectClass: top objectClass: nsAdminConsoleUser --- NEW FILE 10dsdata.ldif.tmpl --- dn: cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsApplication objectClass: groupOfUniqueNames objectClass: top cn: %brand% Directory Server nsProductName: %brand% Directory Server nsProductVersion: %ds_version% nsNickName: slapd nsBuildNumber: %ds_buildnum% nsVendor: %vendor% nsInstalledLocation: %ds_installedlocation% nsExpirationDate: 0 nsBuildSecurity: domestic uniqueMember: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot nsServerMigrationClassname: com.netscape.admin.dirserv.task.MigrateCreate@%ds_console_jar%@cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot nsServerCreationClassname: com.netscape.admin.dirserv.task.MigrateCreate@%ds_console_jar%@cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot dn: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: netscapeServer objectClass: nsDirectoryServer objectClass: nsResourceRef objectClass: nsConfig objectClass: groupOfUniqueNames objectClass: top nsServerSecurity: off nsServerID: slapd-%dsid% nsBindDN: %rootdn% nsBaseDN: %ds_suffix% serverRoot: %ds_serverroot% nsServerPort: %ds_port% nsSecureServerPort: %ds_secure_port% serverProductName: Directory Server (%hostname%) serverVersionNumber: %ds_version% nsSuiteSpotUser: %ds_user% serverHostName: %fqdn% cn: slapd-%dsid% uniqueMember: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot userPassword: %ds_passwd% dn: cn=configuration,cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsResourceRef objectClass: nsAdminObject objectClass: nsDirectoryInfo objectClass: top cn: configuration nsClassname: com.netscape.admin.dirserv.DSAdmin@%ds_console_jar%@cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot nsJarfilename: @ds_console_jar@ nsDirectoryInfoRef: cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot --- NEW FILE 11dstasks.ldif.tmpl --- dn: cn=Tasks, %ds_sie% objectClass: top objectClass: nsResourceRef cn: Tasks dn: cn=Operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstaskgroup nsTaskLabel: Operation Tasks Group cn: Operation dn: cn=task summary, cn=Operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nsConfig description: start stop restart Backup Restore KeyCert Authenticate CompleteImport CompleteExport cn: task summary dn: cn=start, cn=Operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.Start@%ds_console_jar%@%as_sie% nsExecRef: ds_start cn: start dn: cn=stop, cn=Operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.Stop@%ds_console_jar%@%as_sie% nsExecRef: ds_shutdown cn: stop dn: cn=restart, cn=Operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.Restart@%ds_console_jar%@%as_sie% nsExecRef: ds_restart cn: restart dn: cn=Backup, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.Backup@%ds_console_jar%@%as_sie% nsExecRef: ds_db2bak cn: Backup dn: cn=Restore, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.Restore@%ds_console_jar%@%as_sie% nsExecRef: ds_bak2db cn: Restore dn: cn=KeyCert, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.KeyCert@%ds_console_jar%@%as_sie% cn: KeyCert dn: cn=Authenticate, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.Authenticate@%ds_console_jar%@%as_sie% cn: Authenticate dn: cn=CompleteImport, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.CompleteImport@%ds_console_jar%@%as_sie% cn: CompleteImport dn: cn=CompleteExport, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsClassname: com.netscape.admin.dirserv.task.CompleteExport@%ds_console_jar%@%as_sie% cn: CompleteExport dn: cn=Export, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_db2ldif cn: Export dn: cn=Import, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_ldif2db cn: Import dn: cn=ViewLog, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: perl?ds_viewlog.pl cn: ViewLog dn: cn=ListBackups, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_listdb cn: ListBackups dn: cn=Remove, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_remove cn: Remove dn: cn=CreateVLVIndex, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_vlvindex cn: CreateVLVIndex dn: cn=AddIndex, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_addindex cn: AddIndex dn: cn=SNMPCtrl, cn=operation, cn=Tasks, %ds_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_snmpctrl cn: SNMPCtrl dn: cn=Tasks, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef cn: Tasks dn: cn=Operation, cn=Tasks, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nstaskgroup nsTaskLabel: Operation Tasks Group cn: Operation dn: cn=Migrate, cn=Operation, cn=Tasks, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: perl?migrateInstance cn: Migrate dn: cn=Create, cn=Operation, cn=Tasks, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ds_newinst cn: Create dn: cn=GetConfigInfo, cn=Operation, cn=Tasks, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: perl?getConfigInfo cn: GetConfigInfo dn: cn=MigrateLocalDB, cn=Operation, cn=Tasks, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: perl?migrateLocalDB cn: MigrateLocalDB --- NEW FILE 20asdata.ldif.tmpl --- dn: cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsApplication objectClass: groupOfUniqueNames cn: %brand% Administration Server nsVendor: %vendor% nsProductName: %brand% Administration Server nsNickName: admin nsProductVersion: %as_version% nsBuildNumber: %as_buildnum% nsInstalledLocation: %as_installedlocation% nsBuildSecurity: domestic nsServerMigrationClassname: com.netscape.management.admserv.AdminServerProduct @%as_console_jar% uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot dn: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: netscapeServer objectClass: nsAdminServer objectClass: nsResourceRef objectClass: groupOfUniqueNames cn: admin-serv-%asid% nsServerID: admin-serv serverRoot: %as_serverroot% serverProductName: Administration Server serverHostName: %fqdn% uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot userPassword: %as_passwd% dn: cn=configuration, cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsConfig objectClass: nsAdminConfig objectClass: nsAdminObject objectClass: nsDirectoryInfo objectClass: top cn: Configuration nsServerPort: %as_port% nsSuiteSpotUser: %as_user% nsServerAddress: nsAdminEnableEnduser: on nsAdminEnableDSGW: on nsDirectoryInfoRef: cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot nsAdminUsers: %admpw% nsErrorLog: %as_error% nsPidLog: %as_pid% nsAccessLog: %as_access nsAdminCacheLifetime: 600 nsAdminAccessHosts: *.%domain% nsAdminAccessAddresses: * nsAdminOneACLDir: adminacl nsDefaultAcceptLanguage: en nsClassname: com.netscape.management.admserv.AdminServer@%as_console_jar%@cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot --- NEW FILE 21astasks.ldif.tmpl --- dn: cn=Tasks, %as_sie% objectClass: top objectClass: nsResourceRef cn: Tasks dn: cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstaskgroup nsTaskLabel: Operation Tasks Group cn: Operation dn: cn=Stop, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/stopadm.html nsExecRef: stopsrv nsClassname: com.netscape.management.admserv.task.Stop@%as_console_jar%@%as_sie% cn: Stop dn: cn=Restart, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/restartadm.html nsExecRef: restartsrv nsClassname: com.netscape.management.admserv.task.Restart@%as_console_jar%@%as_sie% cn: Restart dn: cn=Authenticate, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask nsHelpRef: %as_help_path%/userauth.html nsExecRef: userauth cn: Authenticate dn: cn=ListOldServers, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: listOldSrvs cn: ListOldServers dn: cn=StartConfigDS, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask nsExecRef: start_config_ds cn: StartConfigDS dn: cn=MigrateConfig, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: migrateConfig cn: MigrateConfig dn: cn=MergeConfig, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: mergeConfig cn: MergeConfig dn: cn=StatusPing, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: statusping nsLogSuppress: true cn: StatusPing dn: cn=Configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstaskgroup nsTaskLabel: Configuration Tasks Group cn: Configuration dn: cn=ServerSetup, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: config nsClassname: com.netscape.management.admserv.task.ServerSetup@%as_console_jar%@%as_sie% cn: ServerSetup dn: cn=DirectorySetup, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: dsconfig cn: DirectorySetup dn: cn=UGDirectorySetup, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: ugdsconfig cn: UGDirectorySetup dn: cn=AccessSetup, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: admpw cn: AccessSetup dn: cn=Logging, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/logging.html nsExecRef: config nsClassname: com.netscape.management.admserv.task.Logging@%as_console_jar%@%as_sie% cn: Logging dn: cn=SecurityOp, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsExecRef: security cn: SecurityOp dn: cn=CertSetup, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/certrequest.html nsClassname: com.netscape.management.admserv.task.CertSetup@%as_console_jar%@%as_sie% cn: CertSetup dn: cn=SSLActivate, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/ssl_activate.html nsExecRef: sec-activate cn: SSLActivate dn: cn=ReadLog, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/logging.html nsExecRef: ReadLog cn: ReadLog dn: cn=HTMLAdmin, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/htmladmin.html nsExecRef: htmladmin cn: HTMLAdmin dn: cn=StatPingServ, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/statpingserv.html nsExecRef: statpingserv cn: StatPingServ dn: cn=ViewData, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/viewdata.html nsExecRef: viewdata cn: ViewData dn: cn=ViewLog, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/viewlog.html nsExecRef: viewlog cn: ViewLog dn: cn=MonReplication, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/monreplication.html nsExecRef: monreplication cn: MonReplication dn: cn=repl-monitor-cgi.pl, cn=configuration, cn=Tasks, %as_sie% objectClass: top objectClass: nstask objectClass: nsAdminObject nsHelpRef: %as_help_path%/monreplication.html nsExecRef: perl?repl-monitor-cgi.pl cn: repl-monitor-cgi.pl --- NEW FILE 22ascommands.ldif.tmpl --- dn: cn=Commands, %as_sie% objectClass: top objectClass: nsResourceRef cn: Commands dn: cn=sync-task-sie-data, cn=Commands, %as_sie% objectClass: top objectClass: nstask nsHelpRef: %as_help_path%/sync-task-sie-data.html nsExecRef: runtime cn: sync-task-sie-data dn: cn=change-sie-password, cn=Commands, %as_sie% objectClass: top objectClass: nstask nsExecRef: runtime cn: change-sie-password From fedora-directory-commits at redhat.com Wed Jun 13 17:48:37 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 13 Jun 2007 13:48:37 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.7, 1.8 Makefile.in, 1.7, 1.8 aclocal.m4, 1.5, 1.6 configure, 1.6, 1.7 ltmain.sh, 1.2, 1.3 Message-ID: <200706131748.l5DHmbgi018113@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17988 Modified Files: Makefile.am Makefile.in aclocal.m4 configure ltmain.sh Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (Comment #58) Description: adding the server registeration script and its data files Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Makefile.am 8 Jun 2007 22:49:18 -0000 1.7 +++ Makefile.am 13 Jun 2007 17:48:34 -0000 1.8 @@ -111,20 +111,32 @@ lib_LTLIBRARIES = libds-admin-serv.la +noinst_LIBRARIES = libdsa.a + DEFAULT_LIBS = libds-admin-serv.la @adminutil_lib@ -ladmsslutil at adminutil_ver@ -ladminutil at adminutil_ver@ \ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap60 -lprldap60 -lldap60 -lldif60 \ @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 SETUPUTIL_LIBS = @setuputil_lib@ -ldsinstall -ldif_DATA = admserv/schema/ldif/admintasks.ldif admserv/schema/ldif/adminglobal.ldif +ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ + admserv/schema/ldif/01nsroot.ldif.tmpl \ + admserv/schema/ldif/02globalpreferences.ldif.tmpl \ + admserv/schema/ldif/10dsdata.ldif.tmpl \ + admserv/schema/ldif/11dstasks.ldif.tmpl \ + admserv/schema/ldif/20asdata.ldif.tmpl \ + admserv/schema/ldif/21astasks.ldif.tmpl \ + admserv/schema/ldif/22ascommands.ldif.tmpl -inf_DATA = admserv/newinst/src/admin.inf +inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map cgibin_PROGRAMS = mergeConfig admpw security ugdsconfig ReadLog start_config_ds \ config statpingserv viewdata dsconfig monreplication restartsrv \ - statusping viewlog htmladmin sec-activate stopsrv download help + statusping viewlog htmladmin sec-activate stopsrv download help \ + ds_start ds_restart ds_shutdown ds_ldif2db ds_db2ldif ds_bak2db \ + ds_db2bak ds_listdb ds_rmdb ds_remove ds_snmpctrl ds_vlvindex ds_addindex +bin_SCRIPTS = admserv/newinst/src/register_server.pl cgibin_SCRIPTS = admserv/cgi-src40/Cgi.pm nodist_cmdbin_SCRIPTS = admserv/cfgstuff/start-ds-admin admserv/cfgstuff/stop-ds-admin admserv/cfgstuff/restart-ds-admin @@ -136,6 +148,22 @@ libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) +libdsa_a_SOURCES = lib/libdsa/dsalib_conf.c \ + lib/libdsa/dsalib_debug.c \ + lib/libdsa/dsalib_ldif.c \ + lib/libdsa/dsalib_tailf.c \ + lib/libdsa/dsalib_confs.c \ + lib/libdsa/dsalib_dn.c \ + lib/libdsa/dsalib_location.c \ + lib/libdsa/dsalib_updown.c \ + lib/libdsa/dsalib_db.c \ + lib/libdsa/dsalib_filename.c \ + lib/libdsa/dsalib_pw.c \ + lib/libdsa/dsalib_util.c + +libdsa_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include/libdsa @ldapsdk_inc@ @nss_inc@ @nspr_inc@ +libdsa_a_LIBADD = $(LDAPSDK_LINK) $(SASL_LINK) $(NSS_LINK) $(NSPR_LINK) + # source files for our CGI programs download_SOURCES = admserv/cgi-src40/download.c @@ -189,6 +217,59 @@ sec_activate_LDADD = $(DEFAULT_LIBS) stopsrv_LDADD = $(DEFAULT_LIBS) +# ds admin interfaces +ds_start_SOURCES = admserv/cgi-ds/start.c admserv/cgi-ds/init_ds_env.c +ds_start_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_start_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_restart_SOURCES = admserv/cgi-ds/restart.c admserv/cgi-ds/init_ds_env.c +ds_restart_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_restart_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_shutdown_SOURCES = admserv/cgi-ds/shutdown.c admserv/cgi-ds/init_ds_env.c +ds_shutdown_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_shutdown_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_ldif2db_SOURCES = admserv/cgi-ds/ds_ldif2db.c admserv/cgi-ds/init_ds_env.c +ds_ldif2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_ldif2db_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_db2ldif_SOURCES = admserv/cgi-ds/ds_db2ldif.c admserv/cgi-ds/init_ds_env.c +ds_db2ldif_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_db2ldif_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_bak2db_SOURCES = admserv/cgi-ds/ds_bak2db.c admserv/cgi-ds/init_ds_env.c +ds_bak2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_bak2db_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_db2bak_SOURCES = admserv/cgi-ds/ds_db2bak.c admserv/cgi-ds/init_ds_env.c +ds_db2bak_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_db2bak_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_listdb_SOURCES = admserv/cgi-ds/ds_listdb.c admserv/cgi-ds/init_ds_env.c +ds_listdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_listdb_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_rmdb_SOURCES = admserv/cgi-ds/ds_rmdb.c admserv/cgi-ds/init_ds_env.c +ds_rmdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_rmdb_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_remove_SOURCES = admserv/cgi-ds/ds_remove.c admserv/cgi-ds/init_ds_env.c +ds_remove_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_remove_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_snmpctrl_SOURCES = admserv/cgi-ds/ds_snmpctrl.c admserv/cgi-ds/init_ds_env.c +ds_snmpctrl_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_snmpctrl_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_vlvindex_SOURCES = admserv/cgi-ds/vlvindex.c admserv/cgi-ds/init_ds_env.c +ds_vlvindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_vlvindex_LDADD = libdsa.a $(DEFAULT_LIBS) + +ds_addindex_SOURCES = admserv/cgi-ds/addindex.c admserv/cgi-ds/init_ds_env.c +ds_addindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_addindex_LDADD = libdsa.a $(DEFAULT_LIBS) + # setup special ds_admin_config_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) @curses_lib@ ds_admin_remove_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) @@ -307,10 +388,12 @@ -e 's, at instancename\@,$(instancename),g' \ -e 's, at BUILD_NUM\@,$(BUILDNUM),g' \ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ + -e 's, at PACKAGE_BASE_NAME\@,$(PACKAGE_BASE_NAME),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ + -e 's, at helpdir\@,$(helpdir),g' \ -e 's, at mimemagic\@,$(mimemagic),g' \ -e 's, at perldir\@,$(perldir),g' Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Makefile.in 8 Jun 2007 22:49:18 -0000 1.7 +++ Makefile.in 13 Jun 2007 17:48:34 -0000 1.8 @@ -17,6 +17,7 @@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ @@ -47,7 +48,11 @@ viewdata$(EXEEXT) dsconfig$(EXEEXT) monreplication$(EXEEXT) \ restartsrv$(EXEEXT) statusping$(EXEEXT) viewlog$(EXEEXT) \ htmladmin$(EXEEXT) sec-activate$(EXEEXT) stopsrv$(EXEEXT) \ - download$(EXEEXT) help$(EXEEXT) + download$(EXEEXT) help$(EXEEXT) ds_start$(EXEEXT) \ + ds_restart$(EXEEXT) ds_shutdown$(EXEEXT) ds_ldif2db$(EXEEXT) \ + ds_db2ldif$(EXEEXT) ds_bak2db$(EXEEXT) ds_db2bak$(EXEEXT) \ + ds_listdb$(EXEEXT) ds_rmdb$(EXEEXT) ds_remove$(EXEEXT) \ + ds_snmpctrl$(EXEEXT) ds_vlvindex$(EXEEXT) ds_addindex$(EXEEXT) cmdbin_PROGRAMS = ds-admin-config$(EXEEXT) ds-admin-remove$(EXEEXT) \ ds-admin-update$(EXEEXT) DIST_COMMON = README $(am__configure_deps) $(dist_help_DATA) \ @@ -71,6 +76,24 @@ mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = +LIBRARIES = $(noinst_LIBRARIES) +ARFLAGS = cru +libdsa_a_AR = $(AR) $(ARFLAGS) +libdsa_a_DEPENDENCIES = +am__dirstamp = $(am__leading_dot)dirstamp +am_libdsa_a_OBJECTS = lib/libdsa/libdsa_a-dsalib_conf.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_debug.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_ldif.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_tailf.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_confs.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_dn.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_location.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_updown.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_db.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_filename.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_pw.$(OBJEXT) \ + lib/libdsa/libdsa_a-dsalib_util.$(OBJEXT) +libdsa_a_OBJECTS = $(am_libdsa_a_OBJECTS) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -78,17 +101,16 @@ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" \ - "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cgibindir)" \ - "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cmdbindir)" \ - "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" \ - "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" \ - "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" \ - "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" \ - "$(DESTDIR)$(propertydir)" + "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" \ + "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" \ + "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" \ + "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" \ + "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" \ + "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) libds_admin_serv_la_LIBADD = -am__dirstamp = $(am__leading_dot)dirstamp am__objects_1 = lib/base/file.lo lib/base/nscperror.lo \ lib/base/system.lo lib/base/nscputil.lo am__objects_2 = lib/libsi18n/coreres.lo lib/libsi18n/getlang.lo \ @@ -135,6 +157,64 @@ ds_admin_update_OBJECTS = $(am_ds_admin_update_OBJECTS) ds_admin_update_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) +am_ds_addindex_OBJECTS = \ + admserv/cgi-ds/ds_addindex-addindex.$(OBJEXT) \ + admserv/cgi-ds/ds_addindex-init_ds_env.$(OBJEXT) +ds_addindex_OBJECTS = $(am_ds_addindex_OBJECTS) +ds_addindex_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_bak2db_OBJECTS = admserv/cgi-ds/ds_bak2db-ds_bak2db.$(OBJEXT) \ + admserv/cgi-ds/ds_bak2db-init_ds_env.$(OBJEXT) +ds_bak2db_OBJECTS = $(am_ds_bak2db_OBJECTS) +ds_bak2db_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_db2bak_OBJECTS = admserv/cgi-ds/ds_db2bak-ds_db2bak.$(OBJEXT) \ + admserv/cgi-ds/ds_db2bak-init_ds_env.$(OBJEXT) +ds_db2bak_OBJECTS = $(am_ds_db2bak_OBJECTS) +ds_db2bak_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_db2ldif_OBJECTS = \ + admserv/cgi-ds/ds_db2ldif-ds_db2ldif.$(OBJEXT) \ + admserv/cgi-ds/ds_db2ldif-init_ds_env.$(OBJEXT) +ds_db2ldif_OBJECTS = $(am_ds_db2ldif_OBJECTS) +ds_db2ldif_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_ldif2db_OBJECTS = \ + admserv/cgi-ds/ds_ldif2db-ds_ldif2db.$(OBJEXT) \ + admserv/cgi-ds/ds_ldif2db-init_ds_env.$(OBJEXT) +ds_ldif2db_OBJECTS = $(am_ds_ldif2db_OBJECTS) +ds_ldif2db_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_listdb_OBJECTS = admserv/cgi-ds/ds_listdb-ds_listdb.$(OBJEXT) \ + admserv/cgi-ds/ds_listdb-init_ds_env.$(OBJEXT) +ds_listdb_OBJECTS = $(am_ds_listdb_OBJECTS) +ds_listdb_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_remove_OBJECTS = admserv/cgi-ds/ds_remove-ds_remove.$(OBJEXT) \ + admserv/cgi-ds/ds_remove-init_ds_env.$(OBJEXT) +ds_remove_OBJECTS = $(am_ds_remove_OBJECTS) +ds_remove_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_restart_OBJECTS = admserv/cgi-ds/ds_restart-restart.$(OBJEXT) \ + admserv/cgi-ds/ds_restart-init_ds_env.$(OBJEXT) +ds_restart_OBJECTS = $(am_ds_restart_OBJECTS) +ds_restart_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_rmdb_OBJECTS = admserv/cgi-ds/ds_rmdb-ds_rmdb.$(OBJEXT) \ + admserv/cgi-ds/ds_rmdb-init_ds_env.$(OBJEXT) +ds_rmdb_OBJECTS = $(am_ds_rmdb_OBJECTS) +ds_rmdb_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_shutdown_OBJECTS = \ + admserv/cgi-ds/ds_shutdown-shutdown.$(OBJEXT) \ + admserv/cgi-ds/ds_shutdown-init_ds_env.$(OBJEXT) +ds_shutdown_OBJECTS = $(am_ds_shutdown_OBJECTS) +ds_shutdown_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_snmpctrl_OBJECTS = \ + admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.$(OBJEXT) \ + admserv/cgi-ds/ds_snmpctrl-init_ds_env.$(OBJEXT) +ds_snmpctrl_OBJECTS = $(am_ds_snmpctrl_OBJECTS) +ds_snmpctrl_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_start_OBJECTS = admserv/cgi-ds/ds_start-start.$(OBJEXT) \ + admserv/cgi-ds/ds_start-init_ds_env.$(OBJEXT) +ds_start_OBJECTS = $(am_ds_start_OBJECTS) +ds_start_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +am_ds_vlvindex_OBJECTS = \ + admserv/cgi-ds/ds_vlvindex-vlvindex.$(OBJEXT) \ + admserv/cgi-ds/ds_vlvindex-init_ds_env.$(OBJEXT) +ds_vlvindex_OBJECTS = $(am_ds_vlvindex_OBJECTS) +ds_vlvindex_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) am_dsconfig_OBJECTS = admserv/cgi-src40/dsconfig.$(OBJEXT) dsconfig_OBJECTS = $(am_dsconfig_OBJECTS) dsconfig_DEPENDENCIES = $(am__DEPENDENCIES_1) @@ -183,12 +263,13 @@ am_viewlog_OBJECTS = admserv/cgi-src40/viewlog.$(OBJEXT) viewlog_OBJECTS = $(am_viewlog_OBJECTS) viewlog_DEPENDENCIES = $(am__DEPENDENCIES_1) +binSCRIPT_INSTALL = $(INSTALL_SCRIPT) cgibinSCRIPT_INSTALL = $(INSTALL_SCRIPT) cmdbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) nodist_cmdbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) perlSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(cgibin_SCRIPTS) $(cmdbin_SCRIPTS) $(nodist_cmdbin_SCRIPTS) \ - $(perl_SCRIPTS) +SCRIPTS = $(bin_SCRIPTS) $(cgibin_SCRIPTS) $(cmdbin_SCRIPTS) \ + $(nodist_cmdbin_SCRIPTS) $(perl_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -208,21 +289,33 @@ CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(libds_admin_serv_la_SOURCES) $(ReadLog_SOURCES) \ - $(admpw_SOURCES) $(config_SOURCES) $(download_SOURCES) \ - $(ds_admin_config_SOURCES) $(ds_admin_remove_SOURCES) \ - $(ds_admin_update_SOURCES) $(dsconfig_SOURCES) $(help_SOURCES) \ - $(htmladmin_SOURCES) $(mergeConfig_SOURCES) \ +SOURCES = $(libdsa_a_SOURCES) $(libds_admin_serv_la_SOURCES) \ + $(ReadLog_SOURCES) $(admpw_SOURCES) $(config_SOURCES) \ + $(download_SOURCES) $(ds_admin_config_SOURCES) \ + $(ds_admin_remove_SOURCES) $(ds_admin_update_SOURCES) \ + $(ds_addindex_SOURCES) $(ds_bak2db_SOURCES) \ + $(ds_db2bak_SOURCES) $(ds_db2ldif_SOURCES) \ + $(ds_ldif2db_SOURCES) $(ds_listdb_SOURCES) \ + $(ds_remove_SOURCES) $(ds_restart_SOURCES) $(ds_rmdb_SOURCES) \ + $(ds_shutdown_SOURCES) $(ds_snmpctrl_SOURCES) \ + $(ds_start_SOURCES) $(ds_vlvindex_SOURCES) $(dsconfig_SOURCES) \ + $(help_SOURCES) $(htmladmin_SOURCES) $(mergeConfig_SOURCES) \ $(monreplication_SOURCES) $(restartsrv_SOURCES) \ $(sec_activate_SOURCES) $(security_SOURCES) \ $(start_config_ds_SOURCES) $(statpingserv_SOURCES) \ $(statusping_SOURCES) $(stopsrv_SOURCES) $(ugdsconfig_SOURCES) \ $(viewdata_SOURCES) $(viewlog_SOURCES) -DIST_SOURCES = $(libds_admin_serv_la_SOURCES) $(ReadLog_SOURCES) \ - $(admpw_SOURCES) $(config_SOURCES) $(download_SOURCES) \ - $(ds_admin_config_SOURCES) $(ds_admin_remove_SOURCES) \ - $(ds_admin_update_SOURCES) $(dsconfig_SOURCES) $(help_SOURCES) \ - $(htmladmin_SOURCES) $(mergeConfig_SOURCES) \ +DIST_SOURCES = $(libdsa_a_SOURCES) $(libds_admin_serv_la_SOURCES) \ + $(ReadLog_SOURCES) $(admpw_SOURCES) $(config_SOURCES) \ + $(download_SOURCES) $(ds_admin_config_SOURCES) \ + $(ds_admin_remove_SOURCES) $(ds_admin_update_SOURCES) \ + $(ds_addindex_SOURCES) $(ds_bak2db_SOURCES) \ + $(ds_db2bak_SOURCES) $(ds_db2ldif_SOURCES) \ + $(ds_ldif2db_SOURCES) $(ds_listdb_SOURCES) \ + $(ds_remove_SOURCES) $(ds_restart_SOURCES) $(ds_rmdb_SOURCES) \ + $(ds_shutdown_SOURCES) $(ds_snmpctrl_SOURCES) \ + $(ds_start_SOURCES) $(ds_vlvindex_SOURCES) $(dsconfig_SOURCES) \ + $(help_SOURCES) $(htmladmin_SOURCES) $(mergeConfig_SOURCES) \ $(monreplication_SOURCES) $(restartsrv_SOURCES) \ $(sec_activate_SOURCES) $(security_SOURCES) \ $(start_config_ds_SOURCES) $(statpingserv_SOURCES) \ @@ -322,7 +415,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -486,18 +578,43 @@ -DLDIFDIR=\"$(ldifdir)\" -DBUILD_NUM=$(BUILDNUM) \ -DINFDIR=\"$(infdir)\" -DCGIBINDIR=\"$(cgibindir)\" lib_LTLIBRARIES = libds-admin-serv.la +noinst_LIBRARIES = libdsa.a DEFAULT_LIBS = libds-admin-serv.la @adminutil_lib@ -ladmsslutil at adminutil_ver@ -ladminutil at adminutil_ver@ \ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap60 -lprldap60 -lldap60 -lldif60 \ @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 SETUPUTIL_LIBS = @setuputil_lib@ -ldsinstall -ldif_DATA = admserv/schema/ldif/admintasks.ldif admserv/schema/ldif/adminglobal.ldif -inf_DATA = admserv/newinst/src/admin.inf +ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ + admserv/schema/ldif/01nsroot.ldif.tmpl \ + admserv/schema/ldif/02globalpreferences.ldif.tmpl \ + admserv/schema/ldif/10dsdata.ldif.tmpl \ + admserv/schema/ldif/11dstasks.ldif.tmpl \ + admserv/schema/ldif/20asdata.ldif.tmpl \ + admserv/schema/ldif/21astasks.ldif.tmpl \ + admserv/schema/ldif/22ascommands.ldif.tmpl + +inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map +bin_SCRIPTS = admserv/newinst/src/register_server.pl cgibin_SCRIPTS = admserv/cgi-src40/Cgi.pm nodist_cmdbin_SCRIPTS = admserv/cfgstuff/start-ds-admin admserv/cfgstuff/stop-ds-admin admserv/cfgstuff/restart-ds-admin cmdbin_SCRIPTS = admserv/newinst/src/setup-ds-admin.pl perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) +libdsa_a_SOURCES = lib/libdsa/dsalib_conf.c \ + lib/libdsa/dsalib_debug.c \ + lib/libdsa/dsalib_ldif.c \ + lib/libdsa/dsalib_tailf.c \ + lib/libdsa/dsalib_confs.c \ + lib/libdsa/dsalib_dn.c \ + lib/libdsa/dsalib_location.c \ + lib/libdsa/dsalib_updown.c \ + lib/libdsa/dsalib_db.c \ + lib/libdsa/dsalib_filename.c \ + lib/libdsa/dsalib_pw.c \ + lib/libdsa/dsalib_util.c + +libdsa_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include/libdsa @ldapsdk_inc@ @nss_inc@ @nspr_inc@ +libdsa_a_LIBADD = $(LDAPSDK_LINK) $(SASL_LINK) $(NSS_LINK) $(NSPR_LINK) # source files for our CGI programs download_SOURCES = admserv/cgi-src40/download.c @@ -550,6 +667,47 @@ sec_activate_LDADD = $(DEFAULT_LIBS) stopsrv_LDADD = $(DEFAULT_LIBS) +# ds admin interfaces +ds_start_SOURCES = admserv/cgi-ds/start.c admserv/cgi-ds/init_ds_env.c +ds_start_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_start_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_restart_SOURCES = admserv/cgi-ds/restart.c admserv/cgi-ds/init_ds_env.c +ds_restart_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_restart_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_shutdown_SOURCES = admserv/cgi-ds/shutdown.c admserv/cgi-ds/init_ds_env.c +ds_shutdown_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_shutdown_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_ldif2db_SOURCES = admserv/cgi-ds/ds_ldif2db.c admserv/cgi-ds/init_ds_env.c +ds_ldif2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_ldif2db_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_db2ldif_SOURCES = admserv/cgi-ds/ds_db2ldif.c admserv/cgi-ds/init_ds_env.c +ds_db2ldif_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_db2ldif_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_bak2db_SOURCES = admserv/cgi-ds/ds_bak2db.c admserv/cgi-ds/init_ds_env.c +ds_bak2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_bak2db_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_db2bak_SOURCES = admserv/cgi-ds/ds_db2bak.c admserv/cgi-ds/init_ds_env.c +ds_db2bak_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_db2bak_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_listdb_SOURCES = admserv/cgi-ds/ds_listdb.c admserv/cgi-ds/init_ds_env.c +ds_listdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_listdb_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_rmdb_SOURCES = admserv/cgi-ds/ds_rmdb.c admserv/cgi-ds/init_ds_env.c +ds_rmdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_rmdb_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_remove_SOURCES = admserv/cgi-ds/ds_remove.c admserv/cgi-ds/init_ds_env.c +ds_remove_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_remove_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_snmpctrl_SOURCES = admserv/cgi-ds/ds_snmpctrl.c admserv/cgi-ds/init_ds_env.c +ds_snmpctrl_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_snmpctrl_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_vlvindex_SOURCES = admserv/cgi-ds/vlvindex.c admserv/cgi-ds/init_ds_env.c +ds_vlvindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_vlvindex_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_addindex_SOURCES = admserv/cgi-ds/addindex.c admserv/cgi-ds/init_ds_env.c +ds_addindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) +ds_addindex_LDADD = libdsa.a $(DEFAULT_LIBS) + # setup special ds_admin_config_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) @curses_lib@ ds_admin_remove_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) @@ -646,10 +804,12 @@ -e 's, at instancename\@,$(instancename),g' \ -e 's, at BUILD_NUM\@,$(BUILDNUM),g' \ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ + -e 's, at PACKAGE_BASE_NAME\@,$(PACKAGE_BASE_NAME),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ + -e 's, at helpdir\@,$(helpdir),g' \ -e 's, at mimemagic\@,$(mimemagic),g' \ -e 's, at perldir\@,$(perldir),g' @@ -708,6 +868,49 @@ distclean-hdr: -rm -f config.h stamp-h1 + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +lib/libdsa/$(am__dirstamp): + @$(mkdir_p) lib/libdsa + @: > lib/libdsa/$(am__dirstamp) +lib/libdsa/$(DEPDIR)/$(am__dirstamp): + @$(mkdir_p) lib/libdsa/$(DEPDIR) + @: > lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_conf.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_debug.$(OBJEXT): \ + lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_ldif.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_tailf.$(OBJEXT): \ + lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_confs.$(OBJEXT): \ + lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_dn.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_location.$(OBJEXT): \ + lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_updown.$(OBJEXT): \ + lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_db.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_filename.$(OBJEXT): \ + lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_pw.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +lib/libdsa/libdsa_a-dsalib_util.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ + lib/libdsa/$(DEPDIR)/$(am__dirstamp) +libdsa.a: $(libdsa_a_OBJECTS) $(libdsa_a_DEPENDENCIES) + -rm -f libdsa.a + $(libdsa_a_AR) libdsa.a $(libdsa_a_OBJECTS) $(libdsa_a_LIBADD) + $(RANLIB) libdsa.a install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @@ -904,6 +1107,129 @@ ds-admin-update$(EXEEXT): $(ds_admin_update_OBJECTS) $(ds_admin_update_DEPENDENCIES) @rm -f ds-admin-update$(EXEEXT) $(CXXLINK) $(ds_admin_update_LDFLAGS) $(ds_admin_update_OBJECTS) $(ds_admin_update_LDADD) $(LIBS) +admserv/cgi-ds/$(am__dirstamp): + @$(mkdir_p) admserv/cgi-ds + @: > admserv/cgi-ds/$(am__dirstamp) +admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp): + @$(mkdir_p) admserv/cgi-ds/$(DEPDIR) + @: > admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_addindex-addindex.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_addindex-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_addindex$(EXEEXT): $(ds_addindex_OBJECTS) $(ds_addindex_DEPENDENCIES) + @rm -f ds_addindex$(EXEEXT) + $(LINK) $(ds_addindex_LDFLAGS) $(ds_addindex_OBJECTS) $(ds_addindex_LDADD) $(LIBS) +admserv/cgi-ds/ds_bak2db-ds_bak2db.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_bak2db-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_bak2db$(EXEEXT): $(ds_bak2db_OBJECTS) $(ds_bak2db_DEPENDENCIES) + @rm -f ds_bak2db$(EXEEXT) + $(LINK) $(ds_bak2db_LDFLAGS) $(ds_bak2db_OBJECTS) $(ds_bak2db_LDADD) $(LIBS) +admserv/cgi-ds/ds_db2bak-ds_db2bak.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_db2bak-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_db2bak$(EXEEXT): $(ds_db2bak_OBJECTS) $(ds_db2bak_DEPENDENCIES) + @rm -f ds_db2bak$(EXEEXT) + $(LINK) $(ds_db2bak_LDFLAGS) $(ds_db2bak_OBJECTS) $(ds_db2bak_LDADD) $(LIBS) +admserv/cgi-ds/ds_db2ldif-ds_db2ldif.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_db2ldif-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_db2ldif$(EXEEXT): $(ds_db2ldif_OBJECTS) $(ds_db2ldif_DEPENDENCIES) + @rm -f ds_db2ldif$(EXEEXT) + $(LINK) $(ds_db2ldif_LDFLAGS) $(ds_db2ldif_OBJECTS) $(ds_db2ldif_LDADD) $(LIBS) +admserv/cgi-ds/ds_ldif2db-ds_ldif2db.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_ldif2db-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_ldif2db$(EXEEXT): $(ds_ldif2db_OBJECTS) $(ds_ldif2db_DEPENDENCIES) + @rm -f ds_ldif2db$(EXEEXT) + $(LINK) $(ds_ldif2db_LDFLAGS) $(ds_ldif2db_OBJECTS) $(ds_ldif2db_LDADD) $(LIBS) +admserv/cgi-ds/ds_listdb-ds_listdb.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_listdb-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_listdb$(EXEEXT): $(ds_listdb_OBJECTS) $(ds_listdb_DEPENDENCIES) + @rm -f ds_listdb$(EXEEXT) + $(LINK) $(ds_listdb_LDFLAGS) $(ds_listdb_OBJECTS) $(ds_listdb_LDADD) $(LIBS) +admserv/cgi-ds/ds_remove-ds_remove.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_remove-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_remove$(EXEEXT): $(ds_remove_OBJECTS) $(ds_remove_DEPENDENCIES) + @rm -f ds_remove$(EXEEXT) + $(LINK) $(ds_remove_LDFLAGS) $(ds_remove_OBJECTS) $(ds_remove_LDADD) $(LIBS) +admserv/cgi-ds/ds_restart-restart.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_restart-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_restart$(EXEEXT): $(ds_restart_OBJECTS) $(ds_restart_DEPENDENCIES) + @rm -f ds_restart$(EXEEXT) + $(LINK) $(ds_restart_LDFLAGS) $(ds_restart_OBJECTS) $(ds_restart_LDADD) $(LIBS) +admserv/cgi-ds/ds_rmdb-ds_rmdb.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_rmdb-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_rmdb$(EXEEXT): $(ds_rmdb_OBJECTS) $(ds_rmdb_DEPENDENCIES) + @rm -f ds_rmdb$(EXEEXT) + $(LINK) $(ds_rmdb_LDFLAGS) $(ds_rmdb_OBJECTS) $(ds_rmdb_LDADD) $(LIBS) +admserv/cgi-ds/ds_shutdown-shutdown.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_shutdown-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_shutdown$(EXEEXT): $(ds_shutdown_OBJECTS) $(ds_shutdown_DEPENDENCIES) + @rm -f ds_shutdown$(EXEEXT) + $(LINK) $(ds_shutdown_LDFLAGS) $(ds_shutdown_OBJECTS) $(ds_shutdown_LDADD) $(LIBS) +admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_snmpctrl-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_snmpctrl$(EXEEXT): $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_DEPENDENCIES) + @rm -f ds_snmpctrl$(EXEEXT) + $(LINK) $(ds_snmpctrl_LDFLAGS) $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_LDADD) $(LIBS) +admserv/cgi-ds/ds_start-start.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_start-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_start$(EXEEXT): $(ds_start_OBJECTS) $(ds_start_DEPENDENCIES) + @rm -f ds_start$(EXEEXT) + $(LINK) $(ds_start_LDFLAGS) $(ds_start_OBJECTS) $(ds_start_LDADD) $(LIBS) +admserv/cgi-ds/ds_vlvindex-vlvindex.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +admserv/cgi-ds/ds_vlvindex-init_ds_env.$(OBJEXT): \ + admserv/cgi-ds/$(am__dirstamp) \ + admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) +ds_vlvindex$(EXEEXT): $(ds_vlvindex_OBJECTS) $(ds_vlvindex_DEPENDENCIES) + @rm -f ds_vlvindex$(EXEEXT) + $(LINK) $(ds_vlvindex_LDFLAGS) $(ds_vlvindex_OBJECTS) $(ds_vlvindex_LDADD) $(LIBS) admserv/cgi-src40/dsconfig.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) @@ -993,6 +1319,25 @@ viewlog$(EXEEXT): $(viewlog_OBJECTS) $(viewlog_DEPENDENCIES) @rm -f viewlog$(EXEEXT) $(LINK) $(viewlog_LDFLAGS) $(viewlog_OBJECTS) $(viewlog_LDADD) $(LIBS) +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ + else :; fi; \ + done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done install-cgibinSCRIPTS: $(cgibin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(cgibindir)" || $(mkdir_p) "$(DESTDIR)$(cgibindir)" @@ -1072,6 +1417,32 @@ mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_addindex-addindex.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_addindex-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_bak2db-ds_bak2db.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_bak2db-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_db2bak-ds_db2bak.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_db2bak-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_db2ldif-ds_db2ldif.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_db2ldif-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_ldif2db-ds_ldif2db.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_ldif2db-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_listdb-ds_listdb.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_listdb-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_remove-ds_remove.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_remove-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_restart-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_restart-restart.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_rmdb-ds_rmdb.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_rmdb-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_shutdown-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_shutdown-shutdown.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_snmpctrl-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_start-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_start-start.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_vlvindex-init_ds_env.$(OBJEXT) + -rm -f admserv/cgi-ds/ds_vlvindex-vlvindex.$(OBJEXT) -rm -f admserv/cgi-src40/ReadLog.$(OBJEXT) -rm -f admserv/cgi-src40/admpw.$(OBJEXT) -rm -f admserv/cgi-src40/config.$(OBJEXT) @@ -1121,6 +1492,18 @@ -rm -f lib/libadmin/template.lo -rm -f lib/libadmin/util.$(OBJEXT) -rm -f lib/libadmin/util.lo + -rm -f lib/libdsa/libdsa_a-dsalib_conf.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_confs.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_db.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_debug.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_dn.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_filename.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_ldif.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_location.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_pw.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_tailf.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_updown.$(OBJEXT) + -rm -f lib/libdsa/libdsa_a-dsalib_util.$(OBJEXT) -rm -f lib/libsi18n/coreres.$(OBJEXT) -rm -f lib/libsi18n/coreres.lo -rm -f lib/libsi18n/getlang.$(OBJEXT) @@ -1137,6 +1520,32 @@ distclean-compile: -rm -f *.tab.c + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/ReadLog.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/admpw.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/config.Po at am__quote@ @@ -1173,6 +1582,18 @@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libadmin/$(DEPDIR)/referer.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libadmin/$(DEPDIR)/template.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libadmin/$(DEPDIR)/util.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libsi18n/$(DEPDIR)/coreres.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libsi18n/$(DEPDIR)/getlang.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libsi18n/$(DEPDIR)/getstrprop.Plo at am__quote@ @@ -1204,6 +1625,538 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +lib/libdsa/libdsa_a-dsalib_conf.o: lib/libdsa/dsalib_conf.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_conf.c' object='lib/libdsa/libdsa_a-dsalib_conf.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c + +lib/libdsa/libdsa_a-dsalib_conf.obj: lib/libdsa/dsalib_conf.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_conf.c' object='lib/libdsa/libdsa_a-dsalib_conf.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi` + +lib/libdsa/libdsa_a-dsalib_debug.o: lib/libdsa/dsalib_debug.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_debug.c' object='lib/libdsa/libdsa_a-dsalib_debug.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c + +lib/libdsa/libdsa_a-dsalib_debug.obj: lib/libdsa/dsalib_debug.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_debug.c' object='lib/libdsa/libdsa_a-dsalib_debug.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi` + +lib/libdsa/libdsa_a-dsalib_ldif.o: lib/libdsa/dsalib_ldif.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_ldif.c' object='lib/libdsa/libdsa_a-dsalib_ldif.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c + +lib/libdsa/libdsa_a-dsalib_ldif.obj: lib/libdsa/dsalib_ldif.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_ldif.c' object='lib/libdsa/libdsa_a-dsalib_ldif.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi` + +lib/libdsa/libdsa_a-dsalib_tailf.o: lib/libdsa/dsalib_tailf.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_tailf.c' object='lib/libdsa/libdsa_a-dsalib_tailf.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c + +lib/libdsa/libdsa_a-dsalib_tailf.obj: lib/libdsa/dsalib_tailf.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_tailf.c' object='lib/libdsa/libdsa_a-dsalib_tailf.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi` + +lib/libdsa/libdsa_a-dsalib_confs.o: lib/libdsa/dsalib_confs.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_confs.c' object='lib/libdsa/libdsa_a-dsalib_confs.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c + +lib/libdsa/libdsa_a-dsalib_confs.obj: lib/libdsa/dsalib_confs.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_confs.c' object='lib/libdsa/libdsa_a-dsalib_confs.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi` + +lib/libdsa/libdsa_a-dsalib_dn.o: lib/libdsa/dsalib_dn.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_dn.c' object='lib/libdsa/libdsa_a-dsalib_dn.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c + +lib/libdsa/libdsa_a-dsalib_dn.obj: lib/libdsa/dsalib_dn.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_dn.c' object='lib/libdsa/libdsa_a-dsalib_dn.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi` + +lib/libdsa/libdsa_a-dsalib_location.o: lib/libdsa/dsalib_location.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_location.c' object='lib/libdsa/libdsa_a-dsalib_location.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c + +lib/libdsa/libdsa_a-dsalib_location.obj: lib/libdsa/dsalib_location.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_location.c' object='lib/libdsa/libdsa_a-dsalib_location.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi` + +lib/libdsa/libdsa_a-dsalib_updown.o: lib/libdsa/dsalib_updown.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_updown.c' object='lib/libdsa/libdsa_a-dsalib_updown.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c + +lib/libdsa/libdsa_a-dsalib_updown.obj: lib/libdsa/dsalib_updown.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_updown.c' object='lib/libdsa/libdsa_a-dsalib_updown.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi` + +lib/libdsa/libdsa_a-dsalib_db.o: lib/libdsa/dsalib_db.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_db.c' object='lib/libdsa/libdsa_a-dsalib_db.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c + +lib/libdsa/libdsa_a-dsalib_db.obj: lib/libdsa/dsalib_db.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_db.c' object='lib/libdsa/libdsa_a-dsalib_db.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi` + +lib/libdsa/libdsa_a-dsalib_filename.o: lib/libdsa/dsalib_filename.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_filename.c' object='lib/libdsa/libdsa_a-dsalib_filename.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c + +lib/libdsa/libdsa_a-dsalib_filename.obj: lib/libdsa/dsalib_filename.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_filename.c' object='lib/libdsa/libdsa_a-dsalib_filename.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi` + +lib/libdsa/libdsa_a-dsalib_pw.o: lib/libdsa/dsalib_pw.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_pw.c' object='lib/libdsa/libdsa_a-dsalib_pw.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c + +lib/libdsa/libdsa_a-dsalib_pw.obj: lib/libdsa/dsalib_pw.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_pw.c' object='lib/libdsa/libdsa_a-dsalib_pw.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi` + +lib/libdsa/libdsa_a-dsalib_util.o: lib/libdsa/dsalib_util.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_util.c' object='lib/libdsa/libdsa_a-dsalib_util.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c + +lib/libdsa/libdsa_a-dsalib_util.obj: lib/libdsa/dsalib_util.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_util.c' object='lib/libdsa/libdsa_a-dsalib_util.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi` + +admserv/cgi-ds/ds_addindex-addindex.o: admserv/cgi-ds/addindex.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/addindex.c' object='admserv/cgi-ds/ds_addindex-addindex.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c + +admserv/cgi-ds/ds_addindex-addindex.obj: admserv/cgi-ds/addindex.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/addindex.c' object='admserv/cgi-ds/ds_addindex-addindex.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi` + +admserv/cgi-ds/ds_addindex-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_addindex-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_addindex-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_addindex-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_bak2db-ds_bak2db.o: admserv/cgi-ds/ds_bak2db.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_bak2db.c' object='admserv/cgi-ds/ds_bak2db-ds_bak2db.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c + +admserv/cgi-ds/ds_bak2db-ds_bak2db.obj: admserv/cgi-ds/ds_bak2db.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_bak2db.c' object='admserv/cgi-ds/ds_bak2db-ds_bak2db.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi` + +admserv/cgi-ds/ds_bak2db-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_bak2db-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_bak2db-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_bak2db-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_db2bak-ds_db2bak.o: admserv/cgi-ds/ds_db2bak.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2bak.c' object='admserv/cgi-ds/ds_db2bak-ds_db2bak.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c + +admserv/cgi-ds/ds_db2bak-ds_db2bak.obj: admserv/cgi-ds/ds_db2bak.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2bak.c' object='admserv/cgi-ds/ds_db2bak-ds_db2bak.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi` + +admserv/cgi-ds/ds_db2bak-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2bak-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_db2bak-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2bak-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o: admserv/cgi-ds/ds_db2ldif.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2ldif.c' object='admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c + +admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj: admserv/cgi-ds/ds_db2ldif.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2ldif.c' object='admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi` + +admserv/cgi-ds/ds_db2ldif-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2ldif-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_db2ldif-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2ldif-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o: admserv/cgi-ds/ds_ldif2db.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_ldif2db.c' object='admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c + +admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj: admserv/cgi-ds/ds_ldif2db.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_ldif2db.c' object='admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi` + +admserv/cgi-ds/ds_ldif2db-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_ldif2db-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_ldif2db-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_ldif2db-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_listdb-ds_listdb.o: admserv/cgi-ds/ds_listdb.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_listdb.c' object='admserv/cgi-ds/ds_listdb-ds_listdb.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c + +admserv/cgi-ds/ds_listdb-ds_listdb.obj: admserv/cgi-ds/ds_listdb.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_listdb.c' object='admserv/cgi-ds/ds_listdb-ds_listdb.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi` + +admserv/cgi-ds/ds_listdb-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_listdb-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_listdb-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_listdb-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_remove-ds_remove.o: admserv/cgi-ds/ds_remove.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_remove.c' object='admserv/cgi-ds/ds_remove-ds_remove.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c + +admserv/cgi-ds/ds_remove-ds_remove.obj: admserv/cgi-ds/ds_remove.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_remove.c' object='admserv/cgi-ds/ds_remove-ds_remove.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi` + +admserv/cgi-ds/ds_remove-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_remove-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_remove-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_remove-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_restart-restart.o: admserv/cgi-ds/restart.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/restart.c' object='admserv/cgi-ds/ds_restart-restart.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c + +admserv/cgi-ds/ds_restart-restart.obj: admserv/cgi-ds/restart.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/restart.c' object='admserv/cgi-ds/ds_restart-restart.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi` + +admserv/cgi-ds/ds_restart-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_restart-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_restart-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_restart-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_rmdb-ds_rmdb.o: admserv/cgi-ds/ds_rmdb.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_rmdb.c' object='admserv/cgi-ds/ds_rmdb-ds_rmdb.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c + +admserv/cgi-ds/ds_rmdb-ds_rmdb.obj: admserv/cgi-ds/ds_rmdb.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_rmdb.c' object='admserv/cgi-ds/ds_rmdb-ds_rmdb.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi` + +admserv/cgi-ds/ds_rmdb-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_rmdb-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_rmdb-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_rmdb-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_shutdown-shutdown.o: admserv/cgi-ds/shutdown.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/shutdown.c' object='admserv/cgi-ds/ds_shutdown-shutdown.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c + +admserv/cgi-ds/ds_shutdown-shutdown.obj: admserv/cgi-ds/shutdown.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/shutdown.c' object='admserv/cgi-ds/ds_shutdown-shutdown.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi` + +admserv/cgi-ds/ds_shutdown-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_shutdown-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_shutdown-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_shutdown-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o: admserv/cgi-ds/ds_snmpctrl.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_snmpctrl.c' object='admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c + +admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj: admserv/cgi-ds/ds_snmpctrl.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_snmpctrl.c' object='admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi` + +admserv/cgi-ds/ds_snmpctrl-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_snmpctrl-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_start-start.o: admserv/cgi-ds/start.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/start.c' object='admserv/cgi-ds/ds_start-start.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c + +admserv/cgi-ds/ds_start-start.obj: admserv/cgi-ds/start.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/start.c' object='admserv/cgi-ds/ds_start-start.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi` + +admserv/cgi-ds/ds_start-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_start-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_start-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_start-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + +admserv/cgi-ds/ds_vlvindex-vlvindex.o: admserv/cgi-ds/vlvindex.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/vlvindex.c' object='admserv/cgi-ds/ds_vlvindex-vlvindex.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c + +admserv/cgi-ds/ds_vlvindex-vlvindex.obj: admserv/cgi-ds/vlvindex.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/vlvindex.c' object='admserv/cgi-ds/ds_vlvindex-vlvindex.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi` + +admserv/cgi-ds/ds_vlvindex-init_ds_env.o: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_vlvindex-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + +admserv/cgi-ds/ds_vlvindex-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_vlvindex-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + .cc.o: @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ @@ -1747,11 +2700,11 @@ exit 1; } >&2 check-am: all-am check: check-recursive -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ - config.h +all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) \ + $(DATA) config.h installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive @@ -1775,6 +2728,8 @@ distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -rm -f admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) + -rm -f admserv/cgi-ds/$(am__dirstamp) -rm -f admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) -rm -f admserv/cgi-src40/$(am__dirstamp) -rm -f admserv/newinst/src/$(DEPDIR)/$(am__dirstamp) @@ -1783,6 +2738,8 @@ -rm -f lib/base/$(am__dirstamp) -rm -f lib/libadmin/$(DEPDIR)/$(am__dirstamp) -rm -f lib/libadmin/$(am__dirstamp) + -rm -f lib/libdsa/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/libdsa/$(am__dirstamp) -rm -f lib/libsi18n/$(DEPDIR)/$(am__dirstamp) -rm -f lib/libsi18n/$(am__dirstamp) @@ -1792,11 +2749,12 @@ clean: clean-recursive clean-am: clean-cgibinPROGRAMS clean-cmdbinPROGRAMS clean-generic \ - clean-libLTLIBRARIES clean-libtool mostlyclean-am + clean-libLTLIBRARIES clean-libtool clean-noinstLIBRARIES \ + mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf admserv/cgi-src40/$(DEPDIR) admserv/newinst/src/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf admserv/cgi-ds/$(DEPDIR) admserv/cgi-src40/$(DEPDIR) admserv/newinst/src/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libdsa/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags @@ -1821,7 +2779,7 @@ @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook -install-exec-am: install-libLTLIBRARIES +install-exec-am: install-binSCRIPTS install-libLTLIBRARIES install-info: install-info-recursive @@ -1832,7 +2790,7 @@ maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf admserv/cgi-src40/$(DEPDIR) admserv/newinst/src/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf admserv/cgi-ds/$(DEPDIR) admserv/cgi-src40/$(DEPDIR) admserv/newinst/src/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libdsa/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -1849,26 +2807,27 @@ ps-am: -uninstall-am: uninstall-cgibinPROGRAMS uninstall-cgibinSCRIPTS \ - uninstall-cmdbinPROGRAMS uninstall-cmdbinSCRIPTS \ - uninstall-dist_helpDATA uninstall-dist_htmlDATA \ - uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ - uninstall-ldifDATA uninstall-libLTLIBRARIES \ - uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ - uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ - uninstall-propertyDATA +uninstall-am: uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ + uninstall-cgibinSCRIPTS uninstall-cmdbinPROGRAMS \ + uninstall-cmdbinSCRIPTS uninstall-dist_helpDATA \ + uninstall-dist_htmlDATA uninstall-dist_iconDATA \ + uninstall-infDATA uninstall-info-am uninstall-ldifDATA \ + uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ + uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ + uninstall-perlSCRIPTS uninstall-propertyDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-cgibinPROGRAMS clean-cmdbinPROGRAMS \ clean-generic clean-libLTLIBRARIES clean-libtool \ - clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \ - dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \ - distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-recursive distclean-tags \ - distcleancheck distdir distuninstallcheck dvi dvi-am html \ - html-am info info-am install install-am install-cgibinPROGRAMS \ + clean-noinstLIBRARIES clean-recursive ctags ctags-recursive \ + dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \ + dist-zip distcheck distclean distclean-compile \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-recursive distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-binSCRIPTS install-cgibinPROGRAMS \ install-cgibinSCRIPTS install-cmdbinPROGRAMS \ install-cmdbinSCRIPTS install-data install-data-am \ install-data-hook install-dist_helpDATA install-dist_htmlDATA \ @@ -1883,14 +2842,14 @@ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am \ - uninstall-cgibinPROGRAMS uninstall-cgibinSCRIPTS \ - uninstall-cmdbinPROGRAMS uninstall-cmdbinSCRIPTS \ - uninstall-dist_helpDATA uninstall-dist_htmlDATA \ - uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ - uninstall-ldifDATA uninstall-libLTLIBRARIES \ - uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ - uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ - uninstall-propertyDATA + uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ + uninstall-cgibinSCRIPTS uninstall-cmdbinPROGRAMS \ + uninstall-cmdbinSCRIPTS uninstall-dist_helpDATA \ + uninstall-dist_htmlDATA uninstall-dist_iconDATA \ + uninstall-infDATA uninstall-info-am uninstall-ldifDATA \ + uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ + uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ + uninstall-perlSCRIPTS uninstall-propertyDATA define NL \\n Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- aclocal.m4 8 Jun 2007 22:49:18 -0000 1.5 +++ aclocal.m4 13 Jun 2007 17:48:34 -0000 1.6 @@ -1578,27 +1578,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4288,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4421,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4437,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4517,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6353,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,7 +6385,6 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- configure 8 Jun 2007 22:49:18 -0000 1.6 +++ configure 13 Jun 2007 17:48:34 -0000 1.7 @@ -468,7 +468,7 @@ ac_default_prefix=/opt/$PACKAGE_BASE_NAME ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3824,7 +3824,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3859,7 +3858,6 @@ fi SED=$lt_cv_path_SED - echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4300,7 +4298,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4303 "configure"' > conftest.$ac_ext + echo '#line 4301 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5435,7 +5433,7 @@ # Provide some information about the compiler. -echo "$as_me:5438:" \ +echo "$as_me:5436:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6498,11 +6496,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6501: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6499: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6505: \$? = $ac_status" >&5 + echo "$as_me:6503: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6766,11 +6764,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6769: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6767: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6773: \$? = $ac_status" >&5 + echo "$as_me:6771: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6870,11 +6868,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6873: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6871: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6877: \$? = $ac_status" >&5 + echo "$as_me:6875: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8335,31 +8333,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 8342 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9236,7 +9213,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11656: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11686: \$? = $ac_status" >&5 + echo "$as_me:11660: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11783,11 +11757,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11786: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11760: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11790: \$? = $ac_status" >&5 + echo "$as_me:11764: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12315,31 +12289,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 12322 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12723,9 +12676,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -12859,11 +12809,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. @@ -12875,7 +12825,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12955,7 +12905,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13377,11 +13327,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13380: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13330: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13384: \$? = $ac_status" >&5 + echo "$as_me:13334: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13481,11 +13431,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13484: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13434: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13488: \$? = $ac_status" >&5 + echo "$as_me:13438: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14926,31 +14876,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 14933 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15334,9 +15263,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -15470,11 +15396,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. @@ -15486,7 +15412,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15566,7 +15492,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15708,11 +15634,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15711: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15637: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15715: \$? = $ac_status" >&5 + echo "$as_me:15641: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15976,11 +15902,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15979: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15905: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15983: \$? = $ac_status" >&5 + echo "$as_me:15909: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16080,11 +16006,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16083: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16009: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16087: \$? = $ac_status" >&5 + echo "$as_me:16013: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17545,31 +17471,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 17552 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17953,9 +17858,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18089,11 +17991,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. @@ -18105,7 +18007,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18185,7 +18087,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18437,9 +18339,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18573,11 +18472,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. @@ -18589,7 +18488,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18669,7 +18568,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -25594,7 +25493,6 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t -s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t Index: ltmain.sh =================================================================== RCS file: /cvs/dirsec/adminserver/ltmain.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ltmain.sh 11 May 2007 19:44:04 -0000 1.2 +++ ltmain.sh 13 Jun 2007 17:48:34 -0000 1.3 @@ -46,16 +46,10 @@ VERSION=1.5.22 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes. +if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi # Check that we have a working $echo. @@ -111,14 +105,12 @@ # These must not be set unconditionally because not all systems understand # e.g. LANG=C (notably SCO). # We save the old values to restore during execute mode. -for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - $lt_var=C - export $lt_var - fi" -done +if test "${LC_ALL+set}" = set; then + save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL +fi +if test "${LANG+set}" = set; then + save_LANG="$LANG"; LANG=C; export LANG +fi # Make sure IFS has a sensible default lt_nl=' @@ -144,8 +136,6 @@ preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" -extracted_archives= -extracted_serial=0 ##################################### # Shell function definitions: @@ -337,17 +327,7 @@ *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - extracted_serial=`expr $extracted_serial + 1` - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" + my_xdir="$my_gentop/$my_xlib" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" @@ -778,7 +758,6 @@ *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; - *.obj) xform=obj ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` @@ -1159,9 +1138,8 @@ for arg do case $arg in - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) + -all-static | -static) + if test "X$arg" = "X-all-static"; then if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 fi @@ -1169,20 +1147,12 @@ dlopen_self=$dlopen_self_static fi prefer_static_libs=yes - ;; - -static) + else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac + fi build_libtool_libs=no build_old_libs=yes break @@ -1742,7 +1712,7 @@ continue ;; - -static | -static-libtool-libs) + -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects @@ -2520,9 +2490,7 @@ if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. @@ -3218,7 +3186,7 @@ # which has an extra 1 added just for fun # case $version_type in - darwin|linux|osf|windows|none) + darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" @@ -3442,11 +3410,11 @@ fi # Eliminate all temporary directories. -# for path in $notinst_path; do -# lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` -# deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` -# dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` -# done + for path in $notinst_path; do + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` + done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. @@ -3547,12 +3515,13 @@ int main() { return 0; } EOF $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs + if test "$?" -eq 0 ; then ldd_output=`ldd conftest` for i in $deplibs; do name=`expr $i : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then + if test "$name" != "" && test "$name" -ne "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) @@ -3591,7 +3560,9 @@ # If $name is empty we are operating on a -L argument. if test "$name" != "" && test "$name" != "0"; then $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + $LTCC $LTCFLAGS -o conftest conftest.c $i + # Did it work? + if test "$?" -eq 0 ; then ldd_output=`ldd conftest` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in @@ -3623,7 +3594,7 @@ droppeddeps=yes $echo $echo "*** Warning! Library $i is needed by this library but I was not able to" - $echo "*** make it link in! You will probably need to install it or some" + $echo "*** make it link in! You will probably need to install it or some" $echo "*** library that it depends on before this library will be fully" $echo "*** functional. Installing it before continuing would be even better." fi @@ -4268,14 +4239,12 @@ reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. + # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" generated="$generated $gentop" @@ -4723,16 +4692,16 @@ case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` else - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` fi ;; * ) - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; esac ;; @@ -4747,13 +4716,13 @@ # really was required. # Nullify the symbol file. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. @@ -4840,7 +4809,7 @@ if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= @@ -4877,7 +4846,7 @@ fi done relink_command="(cd `pwd`; $relink_command)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. @@ -5284,18 +5253,6 @@ Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi - # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH @@ -5438,7 +5395,7 @@ ;; esac $echo >> $output "\ - \$echo \"\$0: cannot exec \$program \$*\" + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit $EXIT_FAILURE fi else @@ -5624,7 +5581,7 @@ done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi @@ -5969,9 +5926,9 @@ if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 @@ -6180,7 +6137,7 @@ file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : @@ -6456,15 +6413,12 @@ fi # Restore saved environment variables - for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - + if test "${save_LC_ALL+set}" = set; then + LC_ALL="$save_LC_ALL"; export LC_ALL + fi + if test "${save_LANG+set}" = set; then + LANG="$save_LANG"; export LANG + fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" @@ -6821,9 +6775,9 @@ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE + try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX - try to export only the symbols matching REGEX + try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened @@ -6837,11 +6791,9 @@ -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries + -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] + specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. From fedora-directory-commits at redhat.com Wed Jun 13 20:03:08 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 13 Jun 2007 16:03:08 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 01nsroot.ldif.tmpl, 1.1, 1.2 Message-ID: <200706132003.l5DK38lM025766@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25735 Modified Files: 01nsroot.ldif.tmpl Log Message: Removed an unnecessary entry. Index: 01nsroot.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/01nsroot.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 01nsroot.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 01nsroot.ldif.tmpl 13 Jun 2007 20:03:06 -0000 1.2 @@ -42,14 +42,6 @@ uid: %as_uid% userPassword: %as_passwd% -dn: ou=localdomain, o=NetscapeRoot -objectClass: top -objectClass: organizationalunit -objectClass: nsadmindomain -ou: localdomain -description: Standard branch for configuration information -nsAdminDomainName: localdomain - dn: ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalUnit From fedora-directory-commits at redhat.com Wed Jun 13 20:23:19 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:23:19 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/theme - New directory Message-ID: <200706132023.l5DKNJSh031790@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/theme In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31772/theme Log Message: Directory /cvs/dirsec/console/src/com/netscape/management/client/theme added to the repository From fedora-directory-commits at redhat.com Wed Jun 13 20:23:48 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:23:48 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/theme/images - New directory Message-ID: <200706132023.l5DKNmOV031812@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/theme/images In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31797/images Log Message: Directory /cvs/dirsec/console/src/com/netscape/management/client/theme/images added to the repository From fedora-directory-commits at redhat.com Wed Jun 13 20:33:13 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:13 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/theme theme.properties, NONE, 1.1 Message-ID: <200706132033.l5DKXDY8005203@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/theme In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/theme Added Files: theme.properties Log Message: 244051 - move brand-specifics to a new jar --- NEW FILE theme.properties --- # BEGIN COPYRIGHT BLOCK # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation version # 2.1 of the License. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # END COPYRIGHT BLOCK # console-title=Fedora Management Console console-useragent=Fedora-Management-Console login-title=Fedora Management Console Login banner-console=Fedora Management Console 1.0.3 defaultAbout-dialogTitle=Fedora Management Console 1.0.3 defaultAbout-productLogo=com/netscape/management/client/themed/images/logo32.gif defaultAbout-productLicense=Fedora is a trademark of Red Hat, Inc. in the United States and other countries and is used by permission. CertInstallTypePage-defaultServerName=Fedora Server CertInstallTypePage-defaultSIE=Fedora Server Instance From fedora-directory-commits at redhat.com Wed Jun 13 20:33:13 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:13 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/theme/images ConsoleBanner.gif, NONE, 1.1 OldServer.gif, NONE, 1.1 logo16.gif, NONE, 1.1 logo32.gif, NONE, 1.1 Message-ID: <200706132033.l5DKXDfI005208@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/theme/images In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/theme/images Added Files: ConsoleBanner.gif OldServer.gif logo16.gif logo32.gif Log Message: 244051 - move brand-specifics to a new jar From fedora-directory-commits at redhat.com Wed Jun 13 20:33:13 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:13 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/ug PickerEditorResource.properties, 1.1.1.1, 1.2 Message-ID: <200706132033.l5DKXDFl005222@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/ug In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/ug Modified Files: PickerEditorResource.properties Log Message: 244051 - move brand-specifics to a new jar Index: PickerEditorResource.properties =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/ug/PickerEditorResource.properties,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- PickerEditorResource.properties 18 Jul 2005 00:34:21 -0000 1.1.1.1 +++ PickerEditorResource.properties 13 Jun 2007 20:33:11 -0000 1.2 @@ -377,7 +377,7 @@ CALPage-displayName=Licenses CALPage-ID=Licenses CALPage-Title=To facilitate tracking of all Client Access Licenses (CAL), please indicate whether -CALPage-Title2=this user has been granted a license for any of the following Fedora products. +CALPage-Title2=this user has been granted a license for any of the following products. CALPage-product=Products List CALPage-license=License From fedora-directory-commits at redhat.com Wed Jun 13 20:33:13 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:13 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/topology TopologyInitializer.java, 1.1.1.1, 1.2 Message-ID: <200706132033.l5DKXDQc005215@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/topology In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/topology Modified Files: TopologyInitializer.java Log Message: 244051 - move brand-specifics to a new jar Index: TopologyInitializer.java =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/topology/TopologyInitializer.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- TopologyInitializer.java 18 Jul 2005 00:34:19 -0000 1.1.1.1 +++ TopologyInitializer.java 13 Jun 2007 20:33:11 -0000 1.2 @@ -62,9 +62,9 @@ consoleInfo = info; - setFrameTitle("Fedora Management Console"); // not localized because it is product name - setMinimizedImage( new RemoteImage("com/netscape/management/client/images/logo16.gif").getImage()); - setBannerImage( new RemoteImage("com/netscape/management/client/images/ConsoleBanner.gif").getImage()); + setFrameTitle(new ResourceSet("com.netscape.management.client.console.console").getString("console", "title")); // not localized because it is product name + setMinimizedImage( new RemoteImage("com/netscape/management/client/theme/images/logo16.gif").getImage()); + setBannerImage( new RemoteImage("com/netscape/management/client/theme/images/ConsoleBanner.gif").getImage()); uip = new UIPermissions(LDAPUtil.getAdminGlobalParameterEntry()); uip.addPermission(PERMID_UGTAB, getPermString("UGTabName"), getPermString("UGTabDesc")); From fedora-directory-commits at redhat.com Wed Jun 13 20:33:10 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:10 -0400 Subject: [Fedora-directory-commits] console build.properties, 1.9, 1.10 build.xml, 1.12, 1.13 startconsole, 1.5, 1.6 Message-ID: <200706132033.l5DKXeiO005227@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061 Modified Files: build.properties build.xml startconsole Log Message: 244051 - move brand-specifics to a new jar Index: build.properties =================================================================== RCS file: /cvs/dirsec/console/build.properties,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- build.properties 29 Sep 2006 17:17:19 -0000 1.9 +++ build.properties 13 Jun 2007 20:33:08 -0000 1.10 @@ -39,3 +39,7 @@ base.core=${console.brand}-base base.name=${base.core}-${console.dotversion} base.gen.name=${base.core}-${console.dotgenversion} + +theme.core=${console.brand}-theme +theme.name=${theme.core}-${console.dotversion} +theme.gen.name=${theme.core}-${console.dotgenversion} Index: build.xml =================================================================== RCS file: /cvs/dirsec/console/build.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- build.xml 24 Mar 2006 19:05:16 -0000 1.12 +++ build.xml 13 Jun 2007 20:33:08 -0000 1.13 @@ -213,6 +213,12 @@ + + + + + + @@ -255,6 +261,7 @@ + @@ -266,6 +273,9 @@ + + + Index: startconsole =================================================================== RCS file: /cvs/dirsec/console/startconsole,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- startconsole 29 Nov 2005 18:36:50 -0000 1.5 +++ startconsole 13 Jun 2007 20:33:08 -0000 1.6 @@ -26,7 +26,8 @@ exit 1 fi +THEME_JAR=/usr/share/java/fedora-theme-1.0.3_en.jar # # Launch the Console # -java -ms8m -mx64m -cp /usr/share/java/jss3.jar:/usr/share/java/ldapjdk.jar:/usr/share/java/fedora-base-1.0.jar:/usr/share/java/fedora-mcc-1.0.jar:/usr/share/java/fedora-mcc-1.0_en.jar:/usr/share/java/fedora-nmclf-1.0.jar:/usr/share/java/fedora-nmclf-1.0_en.jar -Djava.library.path=/usr/lib -Djava.util.prefs.systemRoot="$HOME/.fedora-console" -Djava.util.prefs.userRoot="$HOME/.fedora-console" com.netscape.management.client.console.Console $* +java -ms8m -mx64m -cp /usr/share/java/jss3.jar:/usr/share/java/ldapjdk.jar:/usr/share/java/fedora-base-1.0.3.jar:/usr/share/java/fedora-mcc-1.0.3.jar:/usr/share/java/fedora-mcc-1.0.3_en.jar:/usr/share/java/fedora-nmclf-1.0.3.jar:/usr/share/java/fedora-nmclf-1.0.3_en.jar:$THEME_JAR -Djava.library.path=/usr/lib -Djava.util.prefs.systemRoot="$HOME/.fedora-console" -Djava.util.prefs.userRoot="$HOME/.fedora-console" com.netscape.management.client.console.Console $* From fedora-directory-commits at redhat.com Wed Jun 13 20:33:10 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:10 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client default.properties, 1.5, 1.6 defaultLicense.properties, 1.5, 1.6 Message-ID: <200706132033.l5DKXfKM005231@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client Modified Files: default.properties defaultLicense.properties Log Message: 244051 - move brand-specifics to a new jar Index: default.properties =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/default.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- default.properties 29 Sep 2006 17:17:20 -0000 1.5 +++ default.properties 13 Jun 2007 20:33:08 -0000 1.6 @@ -123,5 +123,5 @@ fontTab-fontProfile=Font Profile fontTab-table_tt=Font table of screen elements and corresponding sample font -banner-console=Fedora Management Console 1.0.3 +#banner-console=Fedora Management Console 1.0.3 Index: defaultLicense.properties =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/defaultLicense.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- defaultLicense.properties 29 Sep 2006 17:17:20 -0000 1.5 +++ defaultLicense.properties 13 Jun 2007 20:33:08 -0000 1.6 @@ -17,9 +17,9 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # END COPYRIGHT BLOCK # -defaultAbout-dialogTitle=Fedora Management Console 1.0.3 -defaultAbout-productLogo=com/netscape/management/client/images/logo32.gif +#defaultAbout-dialogTitle=Fedora Management Console 1.0.3 +#defaultAbout-productLogo=com/netscape/management/client/images/logo32.gif defaultAbout-productCopyright=Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.\nCopyright (C) 2005 Red Hat, Inc.\nAll rights reserved. -defaultAbout-productLicense=Fedora is a trademark of Red Hat, Inc. in the United States and other countries and is used by permission. +#defaultAbout-productLicense=Fedora is a trademark of Red Hat, Inc. in the United States and other countries and is used by permission. defaultAbout-vendorsList=sun defaultAbout-vendor-sun-license=Java is a trademark or registered trademark of Sun Microsystems, Inc in the United States and other countries.\n\nJavaScript is a trademark of Sun Microsystems, Inc. used under license for technology invented and implemented by Netscape. From fedora-directory-commits at redhat.com Wed Jun 13 20:33:11 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:11 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/comm HttpChannel.java, 1.1.1.1, 1.2 HttpsChannel.java, 1.2, 1.3 Message-ID: <200706132033.l5DKXf39005235@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/comm In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/comm Modified Files: HttpChannel.java HttpsChannel.java Log Message: 244051 - move brand-specifics to a new jar Index: HttpChannel.java =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/comm/HttpChannel.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- HttpChannel.java 18 Jul 2005 00:34:12 -0000 1.1.1.1 +++ HttpChannel.java 13 Jun 2007 20:33:08 -0000 1.2 @@ -38,6 +38,7 @@ import java.lang.reflect.Method; import java.io.UTFDataFormatException; +import com.netscape.management.client.util.*; import com.netscape.management.client.util.Debug; import com.netscape.management.client.util.IProgressListener; import com.netscape.management.client.util.Permissions; @@ -60,6 +61,8 @@ final static protected int defaultExpectedLineLength = 128; + public static ResourceSet _resource_theme = new ResourceSet("com.netscape.management.client.theme.theme"); + static protected int defaultBufferLength = 512; protected Thread thread = null; @@ -271,9 +274,11 @@ writeLine("Connection: Keep-Alive"); try { String consoleVersion = VersionInfo.getVersionNumber(); - writeLine("User-Agent: Fedora-Management-Console/" + consoleVersion); + writeLine("User-Agent: "+ + _resource_theme.getString("console","useragent")+ "/" + consoleVersion); } catch (Exception e) { - writeLine("User-Agent: Fedora-Management-Console/"); + writeLine("User-Agent:"+ + _resource_theme.getString("console","useragent")+ "/"); } writeLine("Accept-Language: " + language); Index: HttpsChannel.java =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/comm/HttpsChannel.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- HttpsChannel.java 8 Feb 2006 22:13:12 -0000 1.2 +++ HttpsChannel.java 13 Jun 2007 20:33:08 -0000 1.3 @@ -128,7 +128,7 @@ if (isWin && _frame == null) { _frame = new JFrame(); // Set the icon image so that login dialog will inherit it - _frame.setIconImage( new RemoteImage("com/netscape/management/client/images/logo16.gif").getImage()); + _frame.setIconImage( new RemoteImage("com/netscape/management/client/theme/images/logo16.gif").getImage()); } return _frame; } From fedora-directory-commits at redhat.com Wed Jun 13 20:33:11 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:11 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/console Console.java, 1.7, 1.8 console.properties, 1.5, 1.6 Message-ID: <200706132033.l5DKXffW005239@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/console In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/console Modified Files: Console.java console.properties Log Message: 244051 - move brand-specifics to a new jar Index: Console.java =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/Console.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Console.java 29 Sep 2006 17:17:25 -0000 1.7 +++ Console.java 13 Jun 2007 20:33:09 -0000 1.8 @@ -85,6 +85,7 @@ public static ConsoleInfo _info; public static String _consoleAdminURL; public static ResourceSet _resource = new ResourceSet("com.netscape.management.client.console.console"); + public static ResourceSet _resource_theme = new ResourceSet("com.netscape.management.client.theme.console"); // // private values @@ -527,7 +528,7 @@ _frame = new JFrame(); // Set the icon image so that login dialog will inherit it - _frame.setIconImage( new RemoteImage("com/netscape/management/client/images/logo16.gif").getImage()); + _frame.setIconImage( new RemoteImage("com/netscape/management/client/theme/images/logo16.gif").getImage()); ModalDialogUtil.setWindowLocation(_frame); @@ -1557,7 +1558,7 @@ } Debug.println(0, - "Fedora-Management-Console/" + + _resource_theme.getString("console","useragent")+"/" + _resource.getString("console","displayVersion") + " B" + VersionInfo.getBuildNumber()); Index: console.properties =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/console.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- console.properties 29 Sep 2006 17:17:25 -0000 1.5 +++ console.properties 13 Jun 2007 20:33:09 -0000 1.6 @@ -17,14 +17,15 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # END COPYRIGHT BLOCK # -console-title=Fedora Management Console +#console-title=Fedora Management Console +#console-useragent=Fedora-Management-Console console-displayVersion=1.0.3 login-username=User ID: login-password=Password: login-url=Administration URL: -login-title=Fedora Management Console Login -login-copyright=Copyright (C) 2005 Fedora Project +#login-title=Fedora Management Console Login +login-copyright=Copyright (C) Red Hat, Inc. login-help=manual/en/console/help/login.htm login-passwordDialogTitle=Bind Password @@ -66,7 +67,7 @@ # Class loading dialog # -ClassLoadingDlg-text=New java class files are available. In order to have\nall the new features for the Fedora Management Console, you need to download the following class files.\nDo you want to do it now? +ClassLoadingDlg-text=New java class files are available. In order to have\nall the new features for the console, you need to download the following class files.\nDo you want to do it now? ClassLoadingDlg-title=Getting jar class # From fedora-directory-commits at redhat.com Wed Jun 13 20:33:11 2007 From: fedora-directory-commits at redhat.com (Christina Fu (cfu)) Date: Wed, 13 Jun 2007 16:33:11 -0400 Subject: [Fedora-directory-commits] console/src/com/netscape/management/client/security CertInstallTypePage.java, 1.1.1.1, 1.2 KeyCertUtility.java, 1.1.1.1, 1.2 KeyCertWizardResource.properties, 1.1.1.1, 1.2 Message-ID: <200706132033.l5DKXftH005244@cvs-int.fedora.redhat.com> Author: cfu Update of /cvs/dirsec/console/src/com/netscape/management/client/security In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5061/src/com/netscape/management/client/security Modified Files: CertInstallTypePage.java KeyCertUtility.java KeyCertWizardResource.properties Log Message: 244051 - move brand-specifics to a new jar Index: CertInstallTypePage.java =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/security/CertInstallTypePage.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- CertInstallTypePage.java 18 Jul 2005 00:34:16 -0000 1.1.1.1 +++ CertInstallTypePage.java 13 Jun 2007 20:33:09 -0000 1.2 @@ -31,12 +31,13 @@ JTextField forServer, certName; ResourceSet resource = KeyCertUtility.getResourceSet(); + ResourceSet resource_theme = KeyCertUtility.getResourceSetTheme(); public void pageShown() { IDataCollectionModel dataModel = getDataModel(); - forServer.setText((String)(dataModel.getValue("serverType", resource.getString("CertInstallTypePage", "defaultServerName"))) + + forServer.setText((String)(dataModel.getValue("serverType", resource_theme.getString("CertInstallTypePage", "defaultServerName"))) + " (" + - (String)(dataModel.getValue("sie", resource.getString("CertInstallTypePage", "defaultSIE"))) + + (String)(dataModel.getValue("sie", resource_theme.getString("CertInstallTypePage", "defaultSIE"))) + ")"); if (dataModel.getValue("certtype").equals(Integer.toString(CertInstallWizard.CA))) { Index: KeyCertUtility.java =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/security/KeyCertUtility.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- KeyCertUtility.java 18 Jul 2005 00:34:17 -0000 1.1.1.1 +++ KeyCertUtility.java 13 Jun 2007 20:33:09 -0000 1.2 @@ -48,6 +48,16 @@ return _resource; } + static ResourceSet _resource_theme = null; + public static ResourceSet getResourceSetTheme() { + if (_resource_theme == null) { + _resource_theme = new ResourceSet("com.netscape.management.client.theme.theme"); + + } + + return _resource_theme; + } + static Help _help = null; public static Help getHelp() { if (_help == null) { Index: KeyCertWizardResource.properties =================================================================== RCS file: /cvs/dirsec/console/src/com/netscape/management/client/security/KeyCertWizardResource.properties,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- KeyCertWizardResource.properties 18 Jul 2005 00:34:17 -0000 1.1.1.1 +++ KeyCertWizardResource.properties 13 Jun 2007 20:33:09 -0000 1.2 @@ -30,7 +30,7 @@ CertMigrateAliasSelectionPage-help=admin CertMigrateAliasSelectionPage-title=Alias Selection -CertMigrateAliasSelectionPage-explain=The Fedora server contains one or more certificate aliases +CertMigrateAliasSelectionPage-explain=The server contains one or more certificate aliases CertMigrateAliasSelectionPage-selectLabel=Select the alias to import from: CertMigrateAliasSelectionPage-enterPwd=Enter the password for the certificiate database for the selected alias: CertMigrateAliasSelectionPage-nameLabel=Name @@ -158,8 +158,8 @@ CertInstallTypePage-thisServerLabel=Server Certificate CertInstallTypePage-certChainLabel =Certificate Chain CertInstallTypePage-caLabel=Trusted Certificate Authority -CertInstallTypePage-defaultServerName=Fedora Server -CertInstallTypePage-defaultSIE=Fedora Server Instance +#CertInstallTypePage-defaultServerName=Fedora Server +#CertInstallTypePage-defaultSIE=Fedora Server Instance # Cert Install Trust Page From fedora-directory-commits at redhat.com Fri Jun 15 17:02:32 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 13:02:32 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/newinst slapd.inf.in, NONE, 1.1 slapd.inf, 1.8, NONE Message-ID: <200706151702.l5FH2Wvx004147@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/cm/newinst In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29421/ldap/cm/newinst Added Files: slapd.inf.in Removed Files: slapd.inf Log Message: Resolves: 237356 Summary: Move DS Admin Code into Admin Server (Comment #62) Description: providing slapd.inf having the DS static info for the setup/config --- NEW FILE slapd.inf.in --- # # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # [General] Name=@capbrand@ Directory Suite Components=slapd [slapd] Name= @capbrand@ Directory Server InstanceNamePrefix= Directory Server NickName= slapd Version= @PACKAGE_VERSION@ Compatible= 1.0 BuildNumber= @BUILDNUM@ Expires= 0 Security= domestic Vendor= @vendor@ Description= @capbrand@ Directory Server ProductName=Directory Server IsDirLite=false PrePreInstall= dsktune PreInstall= ns-config PostInstall= bin/slapd/admin/bin/ns-update PreUninstall= bin/slapd/admin/bin/uninstall PostUninstall= Checked=True Mandatory=False IsLdap=True --- slapd.inf DELETED --- From fedora-directory-commits at redhat.com Fri Jun 15 17:02:31 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 13:02:31 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.am, 1.42, 1.43 Makefile.in, 1.50, 1.51 aclocal.m4, 1.35, 1.36 configure, 1.46, 1.47 configure.ac, 1.30, 1.31 Message-ID: <200706151702.l5FH2VoL004139@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29421 Modified Files: Makefile.am Makefile.in aclocal.m4 configure configure.ac Log Message: Resolves: 237356 Summary: Move DS Admin Code into Admin Server (Comment #62) Description: providing slapd.inf having the DS static info for the setup/config Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.am,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- Makefile.am 8 Jun 2007 23:19:16 -0000 1.42 +++ Makefile.am 15 Jun 2007 17:02:28 -0000 1.43 @@ -75,6 +75,7 @@ initdir = $(sysconfdir)@initdir@ instconfigdir = @instconfigdir@ perldir = $(libdir)@perldir@ +infdir = $(datadir)@infdir@ shared_lib_suffix = @shared_lib_suffix@ @@ -106,7 +107,7 @@ libpassthru-plugin.la libpresence-plugin.la \ libpwdstorage-plugin.la libreferint-plugin.la libreplication-plugin.la \ libretrocl-plugin.la libroles-plugin.la libstatechange-plugin.la libsyntax-plugin.la \ - libviews-plugin.la $(LIBPAM_PASSTHRU_PLUGIN) $(LIBDNA_PLUGIN) $(LIBBITWISE_PLUGIN) + libviews-plugin.la $(LIBPAM_PASSTHRU_PLUGIN) $(LIBDNA_PLUGIN) $(LIBBITWISE_PLUGIN) nodist_property_DATA = ns-slapd.properties @@ -216,6 +217,8 @@ init_SCRIPTS = wrappers/$(PACKAGE_NAME) +inf_DATA = ldap/cm/newinst/slapd.inf + #//////////////////////////////////////////////////////////////// # # Server Strings @@ -1018,7 +1021,9 @@ -e 's, at ECHO_C\@,$(ECHO_C),g' \ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ + -e 's, at vendor\@,$(vendor),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ -e 's, at perldir\@,$(perldir),g' \ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' else @@ -1049,7 +1054,9 @@ -e 's, at ECHO_C\@,$(ECHO_C),g' \ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ + -e 's, at vendor\@,$(vendor),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ -e 's, at perldir\@,$(perldir),g' \ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' endif Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- Makefile.in 11 Jun 2007 14:13:55 -0000 1.50 +++ Makefile.in 15 Jun 2007 17:02:28 -0000 1.51 @@ -96,8 +96,9 @@ "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(initdir)" "$(DESTDIR)$(perldir)" \ "$(DESTDIR)$(taskdir)" "$(DESTDIR)$(configdir)" \ - "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" \ - "$(DESTDIR)$(sampledatadir)" "$(DESTDIR)$(schemadir)" + "$(DESTDIR)$(infdir)" "$(DESTDIR)$(propertydir)" \ + "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(sampledatadir)" \ + "$(DESTDIR)$(schemadir)" serverLTLIBRARIES_INSTALL = $(INSTALL) serverpluginLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(server_LTLIBRARIES) $(serverplugin_LTLIBRARIES) @@ -333,6 +334,10 @@ lib/libsi18n/libns_dshttpd_la-reshash.lo \ lib/libsi18n/libns_dshttpd_la-txtfile.lo $(am__objects_1) libns_dshttpd_la_OBJECTS = $(am_libns_dshttpd_la_OBJECTS) +libothercrypto_plugin_la_LIBADD = +am_libothercrypto_plugin_la_OBJECTS = ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo +libothercrypto_plugin_la_OBJECTS = \ + $(am_libothercrypto_plugin_la_OBJECTS) libpam_passthru_plugin_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libpam_passthru_plugin_la_OBJECTS = ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo \ ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptdebug.lo \ @@ -354,6 +359,9 @@ libpresence_plugin_la_LIBADD = am_libpresence_plugin_la_OBJECTS = ldap/servers/plugins/presence/libpresence_plugin_la-presence.lo libpresence_plugin_la_OBJECTS = $(am_libpresence_plugin_la_OBJECTS) +libpwderror_plugin_la_LIBADD = +am_libpwderror_plugin_la_OBJECTS = ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo +libpwderror_plugin_la_OBJECTS = $(am_libpwderror_plugin_la_OBJECTS) libpwdstorage_plugin_la_LIBADD = am_libpwdstorage_plugin_la_OBJECTS = ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo \ ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-crypt_pwd.lo \ @@ -554,6 +562,10 @@ am_libviews_plugin_la_OBJECTS = \ ldap/servers/plugins/views/libviews_plugin_la-views.lo libviews_plugin_la_OBJECTS = $(am_libviews_plugin_la_OBJECTS) +libxor_plugin_la_LIBADD = +am_libxor_plugin_la_OBJECTS = \ + ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo +libxor_plugin_la_OBJECTS = $(am_libxor_plugin_la_OBJECTS) binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS) @@ -748,19 +760,21 @@ $(libdna_plugin_la_SOURCES) $(libds_admin_la_SOURCES) \ $(libhttp_client_plugin_la_SOURCES) \ $(libns_dshttpd_la_SOURCES) \ + $(libothercrypto_plugin_la_SOURCES) \ $(libpam_passthru_plugin_la_SOURCES) \ $(libpassthru_plugin_la_SOURCES) \ $(libpresence_plugin_la_SOURCES) \ + $(libpwderror_plugin_la_SOURCES) \ $(libpwdstorage_plugin_la_SOURCES) \ $(libreferint_plugin_la_SOURCES) \ $(libreplication_plugin_la_SOURCES) \ $(libretrocl_plugin_la_SOURCES) $(libroles_plugin_la_SOURCES) \ $(libslapd_la_SOURCES) $(libstatechange_plugin_la_SOURCES) \ $(libsyntax_plugin_la_SOURCES) $(libviews_plugin_la_SOURCES) \ - $(dbscan_bin_SOURCES) $(ds_newinst_bin_SOURCES) \ - $(dsktune_bin_SOURCES) $(infadd_bin_SOURCES) \ - $(ldap_agent_bin_SOURCES) $(ldclt_bin_SOURCES) \ - $(ldif_bin_SOURCES) $(makstrdb_SOURCES) \ + $(libxor_plugin_la_SOURCES) $(dbscan_bin_SOURCES) \ + $(ds_newinst_bin_SOURCES) $(dsktune_bin_SOURCES) \ + $(infadd_bin_SOURCES) $(ldap_agent_bin_SOURCES) \ + $(ldclt_bin_SOURCES) $(ldif_bin_SOURCES) $(makstrdb_SOURCES) \ $(migratecred_bin_SOURCES) $(mmldif_bin_SOURCES) \ $(ns_slapd_SOURCES) $(pwdhash_bin_SOURCES) \ $(rsearch_bin_SOURCES) @@ -774,29 +788,32 @@ $(libdna_plugin_la_SOURCES) $(libds_admin_la_SOURCES) \ $(libhttp_client_plugin_la_SOURCES) \ $(libns_dshttpd_la_SOURCES) \ + $(libothercrypto_plugin_la_SOURCES) \ $(libpam_passthru_plugin_la_SOURCES) \ $(libpassthru_plugin_la_SOURCES) \ $(libpresence_plugin_la_SOURCES) \ + $(libpwderror_plugin_la_SOURCES) \ $(libpwdstorage_plugin_la_SOURCES) \ $(libreferint_plugin_la_SOURCES) \ $(libreplication_plugin_la_SOURCES) \ $(libretrocl_plugin_la_SOURCES) $(libroles_plugin_la_SOURCES) \ $(libslapd_la_SOURCES) $(libstatechange_plugin_la_SOURCES) \ $(libsyntax_plugin_la_SOURCES) $(libviews_plugin_la_SOURCES) \ - $(dbscan_bin_SOURCES) $(ds_newinst_bin_SOURCES) \ - $(dsktune_bin_SOURCES) $(infadd_bin_SOURCES) \ - $(ldap_agent_bin_SOURCES) $(am__ldclt_bin_SOURCES_DIST) \ - $(ldif_bin_SOURCES) $(makstrdb_SOURCES) \ - $(migratecred_bin_SOURCES) $(mmldif_bin_SOURCES) \ - $(am__ns_slapd_SOURCES_DIST) $(pwdhash_bin_SOURCES) \ - $(rsearch_bin_SOURCES) + $(libxor_plugin_la_SOURCES) $(dbscan_bin_SOURCES) \ + $(ds_newinst_bin_SOURCES) $(dsktune_bin_SOURCES) \ + $(infadd_bin_SOURCES) $(ldap_agent_bin_SOURCES) \ + $(am__ldclt_bin_SOURCES_DIST) $(ldif_bin_SOURCES) \ + $(makstrdb_SOURCES) $(migratecred_bin_SOURCES) \ + $(mmldif_bin_SOURCES) $(am__ns_slapd_SOURCES_DIST) \ + $(pwdhash_bin_SOURCES) $(rsearch_bin_SOURCES) configDATA_INSTALL = $(INSTALL_DATA) +infDATA_INSTALL = $(INSTALL_DATA) nodist_propertyDATA_INSTALL = $(INSTALL_DATA) propertyDATA_INSTALL = $(INSTALL_DATA) sampledataDATA_INSTALL = $(INSTALL_DATA) schemaDATA_INSTALL = $(INSTALL_DATA) -DATA = $(config_DATA) $(nodist_property_DATA) $(property_DATA) \ - $(sampledata_DATA) $(schema_DATA) +DATA = $(config_DATA) $(inf_DATA) $(nodist_property_DATA) \ + $(property_DATA) $(sampledata_DATA) $(schema_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -874,7 +891,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOLARIS_FALSE = @SOLARIS_FALSE@ @@ -937,6 +953,7 @@ icu_inc = @icu_inc@ icu_lib = @icu_lib@ includedir = @includedir@ +infdir = $(datadir)@infdir@ infodir = @infodir@ initdir = $(sysconfdir)@initdir@ install_sh = @install_sh@ @@ -1037,13 +1054,17 @@ @enable_pam_passthru_TRUE at LIBPAM_PASSTHRU_PLUGIN = libpam-passthru-plugin.la @enable_dna_TRUE at LIBDNA_PLUGIN = libdna-plugin.la @enable_bitwise_TRUE at LIBBITWISE_PLUGIN = libbitwise-plugin.la +LIBXOR_PLUGIN = libxor-plugin.la +LIBPWDERROR_PLUGIN = libpwderror-plugin.la +LIBOTHERCRYPTO_PLUGIN = libothercrypto-plugin.la serverplugin_LTLIBRARIES = libacl-plugin.la libattr-unique-plugin.la \ libback-ldbm.la libchainingdb-plugin.la libcos-plugin.la libdes-plugin.la \ libdistrib-plugin.la libhttp-client-plugin.la libcollation-plugin.la \ libpassthru-plugin.la libpresence-plugin.la \ libpwdstorage-plugin.la libreferint-plugin.la libreplication-plugin.la \ libretrocl-plugin.la libroles-plugin.la libstatechange-plugin.la libsyntax-plugin.la \ - libviews-plugin.la $(LIBPAM_PASSTHRU_PLUGIN) $(LIBDNA_PLUGIN) $(LIBBITWISE_PLUGIN) + libviews-plugin.la $(LIBPAM_PASSTHRU_PLUGIN) $(LIBDNA_PLUGIN) $(LIBBITWISE_PLUGIN) \ + $(LIBXOR_PLUGIN) $(LIBPWDERROR_PLUGIN) $(LIBOTHERCRYPTO_PLUGIN) nodist_property_DATA = ns-slapd.properties noinst_LIBRARIES = libavl.a libldaputil.a @@ -1148,6 +1169,7 @@ $(srcdir)/ldap/admin/src/scripts/template-migrateTo7 init_SCRIPTS = wrappers/$(PACKAGE_NAME) +inf_DATA = ldap/cm/newinst/slapd.inf #//////////////////////////////////////////////////////////////// # @@ -1729,6 +1751,27 @@ libbitwise_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) libbitwise_plugin_la_LDFLAGS = -avoid-version +#------------------------ +# libxor-plugin +#------------------------ +libxor_plugin_la_SOURCES = ldap/servers/plugins/xor/xorplugin.c +libxor_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) +libxor_plugin_la_LDFLAGS = -avoid-version + +#------------------------ +# libpwderror-plugin +#------------------------ +libpwderror_plugin_la_SOURCES = ldap/servers/plugins/pwderror/pwderror-plugin.c +libpwderror_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) +libpwderror_plugin_la_LDFLAGS = -avoid-version + +#------------------------ +# libothercrypto-plugin +#------------------------ +libothercrypto_plugin_la_SOURCES = ldap/servers/plugins/othercrypto/othercrypto.c +libothercrypto_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) +libothercrypto_plugin_la_LDFLAGS = -avoid-version + #//////////////////////////////////////////////////////////////// # # Programs @@ -1912,7 +1955,9 @@ @BUNDLE_FALSE@ -e 's, at ECHO_C\@,$(ECHO_C),g' \ @BUNDLE_FALSE@ -e 's, at brand\@,$(brand),g' \ @BUNDLE_FALSE@ -e 's, at capbrand\@,$(capbrand),g' \ + at BUNDLE_FALSE@ -e 's, at vendor\@,$(vendor),g' \ @BUNDLE_FALSE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + at BUNDLE_FALSE@ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ @BUNDLE_FALSE@ -e 's, at perldir\@,$(perldir),g' \ @BUNDLE_FALSE@ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' @@ -1950,7 +1995,9 @@ @BUNDLE_TRUE@ -e 's, at ECHO_C\@,$(ECHO_C),g' \ @BUNDLE_TRUE@ -e 's, at brand\@,$(brand),g' \ @BUNDLE_TRUE@ -e 's, at capbrand\@,$(capbrand),g' \ + at BUNDLE_TRUE@ -e 's, at vendor\@,$(vendor),g' \ @BUNDLE_TRUE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + at BUNDLE_TRUE@ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ @BUNDLE_TRUE@ -e 's, at perldir\@,$(perldir),g' \ @BUNDLE_TRUE@ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' @@ -2766,6 +2813,17 @@ lib/ldaputil/$(DEPDIR)/$(am__dirstamp) libns-dshttpd.la: $(libns_dshttpd_la_OBJECTS) $(libns_dshttpd_la_DEPENDENCIES) $(CXXLINK) -rpath $(serverdir) $(libns_dshttpd_la_LDFLAGS) $(libns_dshttpd_la_OBJECTS) $(libns_dshttpd_la_LIBADD) $(LIBS) +ldap/servers/plugins/othercrypto/$(am__dirstamp): + @$(mkdir_p) ldap/servers/plugins/othercrypto + @: > ldap/servers/plugins/othercrypto/$(am__dirstamp) +ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp): + @$(mkdir_p) ldap/servers/plugins/othercrypto/$(DEPDIR) + @: > ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp) +ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo: \ + ldap/servers/plugins/othercrypto/$(am__dirstamp) \ + ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp) +libothercrypto-plugin.la: $(libothercrypto_plugin_la_OBJECTS) $(libothercrypto_plugin_la_DEPENDENCIES) + $(LINK) -rpath $(serverplugindir) $(libothercrypto_plugin_la_LDFLAGS) $(libothercrypto_plugin_la_OBJECTS) $(libothercrypto_plugin_la_LIBADD) $(LIBS) ldap/servers/plugins/pam_passthru/$(am__dirstamp): @$(mkdir_p) ldap/servers/plugins/pam_passthru @: > ldap/servers/plugins/pam_passthru/$(am__dirstamp) @@ -2823,6 +2881,17 @@ ldap/servers/plugins/presence/$(DEPDIR)/$(am__dirstamp) libpresence-plugin.la: $(libpresence_plugin_la_OBJECTS) $(libpresence_plugin_la_DEPENDENCIES) $(LINK) -rpath $(serverplugindir) $(libpresence_plugin_la_LDFLAGS) $(libpresence_plugin_la_OBJECTS) $(libpresence_plugin_la_LIBADD) $(LIBS) +ldap/servers/plugins/pwderror/$(am__dirstamp): + @$(mkdir_p) ldap/servers/plugins/pwderror + @: > ldap/servers/plugins/pwderror/$(am__dirstamp) +ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp): + @$(mkdir_p) ldap/servers/plugins/pwderror/$(DEPDIR) + @: > ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp) +ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo: \ + ldap/servers/plugins/pwderror/$(am__dirstamp) \ + ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp) +libpwderror-plugin.la: $(libpwderror_plugin_la_OBJECTS) $(libpwderror_plugin_la_DEPENDENCIES) + $(LINK) -rpath $(serverplugindir) $(libpwderror_plugin_la_LDFLAGS) $(libpwderror_plugin_la_OBJECTS) $(libpwderror_plugin_la_LIBADD) $(LIBS) ldap/servers/plugins/pwdstorage/$(am__dirstamp): @$(mkdir_p) ldap/servers/plugins/pwdstorage @: > ldap/servers/plugins/pwdstorage/$(am__dirstamp) @@ -3411,6 +3480,17 @@ ldap/servers/plugins/views/$(DEPDIR)/$(am__dirstamp) libviews-plugin.la: $(libviews_plugin_la_OBJECTS) $(libviews_plugin_la_DEPENDENCIES) $(LINK) -rpath $(serverplugindir) $(libviews_plugin_la_LDFLAGS) $(libviews_plugin_la_OBJECTS) $(libviews_plugin_la_LIBADD) $(LIBS) +ldap/servers/plugins/xor/$(am__dirstamp): + @$(mkdir_p) ldap/servers/plugins/xor + @: > ldap/servers/plugins/xor/$(am__dirstamp) +ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp): + @$(mkdir_p) ldap/servers/plugins/xor/$(DEPDIR) + @: > ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp) +ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo: \ + ldap/servers/plugins/xor/$(am__dirstamp) \ + ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp) +libxor-plugin.la: $(libxor_plugin_la_OBJECTS) $(libxor_plugin_la_DEPENDENCIES) + $(LINK) -rpath $(serverplugindir) $(libxor_plugin_la_LDFLAGS) $(libxor_plugin_la_OBJECTS) $(libxor_plugin_la_LIBADD) $(LIBS) install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @@ -3960,6 +4040,8 @@ -rm -f ldap/servers/plugins/http/libhttp_client_plugin_la-http_client.lo -rm -f ldap/servers/plugins/http/libhttp_client_plugin_la-http_impl.$(OBJEXT) -rm -f ldap/servers/plugins/http/libhttp_client_plugin_la-http_impl.lo + -rm -f ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.$(OBJEXT) + -rm -f ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo -rm -f ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.$(OBJEXT) -rm -f ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo -rm -f ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptdebug.$(OBJEXT) @@ -3982,6 +4064,8 @@ -rm -f ldap/servers/plugins/passthru/libpassthru_plugin_la-ptutil.lo -rm -f ldap/servers/plugins/presence/libpresence_plugin_la-presence.$(OBJEXT) -rm -f ldap/servers/plugins/presence/libpresence_plugin_la-presence.lo + -rm -f ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.$(OBJEXT) + -rm -f ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo -rm -f ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.$(OBJEXT) -rm -f ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo -rm -f ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-crypt_pwd.$(OBJEXT) @@ -4160,6 +4244,8 @@ -rm -f ldap/servers/plugins/uiduniq/libattr_unique_plugin_la-uid.lo -rm -f ldap/servers/plugins/views/libviews_plugin_la-views.$(OBJEXT) -rm -f ldap/servers/plugins/views/libviews_plugin_la-views.lo + -rm -f ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.$(OBJEXT) + -rm -f ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo -rm -f ldap/servers/slapd/back-ldbm/libback_ldbm_la-ancestorid.$(OBJEXT) -rm -f ldap/servers/slapd/back-ldbm/libback_ldbm_la-ancestorid.lo -rm -f ldap/servers/slapd/back-ldbm/libback_ldbm_la-archive.$(OBJEXT) @@ -4714,6 +4800,7 @@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/dna/$(DEPDIR)/libdna_plugin_la-dna.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/http/$(DEPDIR)/libhttp_client_plugin_la-http_client.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/http/$(DEPDIR)/libhttp_client_plugin_la-http_impl.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptdebug.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptimpl.Plo at am__quote@ @@ -4725,6 +4812,7 @@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/passthru/$(DEPDIR)/libpassthru_plugin_la-ptpreop.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/passthru/$(DEPDIR)/libpassthru_plugin_la-ptutil.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/presence/$(DEPDIR)/libpresence_plugin_la-presence.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-crypt_pwd.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-md5_pwd.Plo at am__quote@ @@ -4814,6 +4902,7 @@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/uiduniq/$(DEPDIR)/libattr_unique_plugin_la-7bit.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/uiduniq/$(DEPDIR)/libattr_unique_plugin_la-uid.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/views/$(DEPDIR)/libviews_plugin_la-views.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/$(DEPDIR)/ldap_agent_bin-agtmmap.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/$(DEPDIR)/libslapd_la-add.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/$(DEPDIR)/libslapd_la-agtmmap.Plo at am__quote@ @@ -6245,6 +6334,13 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libns_dshttpd_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/ldaputil/libns_dshttpd_la-vtable.lo `test -f 'lib/ldaputil/vtable.c' || echo '$(srcdir)/'`lib/ldaputil/vtable.c +ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo: ldap/servers/plugins/othercrypto/othercrypto.c + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libothercrypto_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo -MD -MP -MF "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Tpo" -c -o ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo `test -f 'ldap/servers/plugins/othercrypto/othercrypto.c' || echo '$(srcdir)/'`ldap/servers/plugins/othercrypto/othercrypto.c; \ + at am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Tpo" "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Plo"; else rm -f "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/plugins/othercrypto/othercrypto.c' object='ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libothercrypto_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo `test -f 'ldap/servers/plugins/othercrypto/othercrypto.c' || echo '$(srcdir)/'`ldap/servers/plugins/othercrypto/othercrypto.c + ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo: ldap/servers/plugins/pam_passthru/pam_ptconfig.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpam_passthru_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo -MD -MP -MF "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Tpo" -c -o ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo `test -f 'ldap/servers/plugins/pam_passthru/pam_ptconfig.c' || echo '$(srcdir)/'`ldap/servers/plugins/pam_passthru/pam_ptconfig.c; \ @am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Tpo" "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Plo"; else rm -f "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Tpo"; exit 1; fi @@ -6322,6 +6418,13 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpresence_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/presence/libpresence_plugin_la-presence.lo `test -f 'ldap/servers/plugins/presence/presence.c' || echo '$(srcdir)/'`ldap/servers/plugins/presence/presence.c +ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo: ldap/servers/plugins/pwderror/pwderror-plugin.c + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpwderror_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo -MD -MP -MF "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Tpo" -c -o ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo `test -f 'ldap/servers/plugins/pwderror/pwderror-plugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/pwderror/pwderror-plugin.c; \ + at am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Tpo" "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Plo"; else rm -f "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/plugins/pwderror/pwderror-plugin.c' object='ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpwderror_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo `test -f 'ldap/servers/plugins/pwderror/pwderror-plugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/pwderror/pwderror-plugin.c + ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo: ldap/servers/plugins/pwdstorage/clear_pwd.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpwdstorage_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo -MD -MP -MF "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Tpo" -c -o ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo `test -f 'ldap/servers/plugins/pwdstorage/clear_pwd.c' || echo '$(srcdir)/'`ldap/servers/plugins/pwdstorage/clear_pwd.c; \ @am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Tpo" "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Plo"; else rm -f "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Tpo"; exit 1; fi @@ -7526,6 +7629,13 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libviews_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/views/libviews_plugin_la-views.lo `test -f 'ldap/servers/plugins/views/views.c' || echo '$(srcdir)/'`ldap/servers/plugins/views/views.c +ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo: ldap/servers/plugins/xor/xorplugin.c + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libxor_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo -MD -MP -MF "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Tpo" -c -o ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo `test -f 'ldap/servers/plugins/xor/xorplugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/xor/xorplugin.c; \ + at am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Tpo" "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Plo"; else rm -f "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Tpo"; exit 1; fi + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/plugins/xor/xorplugin.c' object='ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libxor_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo `test -f 'ldap/servers/plugins/xor/xorplugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/xor/xorplugin.c + ldap/servers/slapd/tools/dbscan_bin-dbscan.o: ldap/servers/slapd/tools/dbscan.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dbscan_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/slapd/tools/dbscan_bin-dbscan.o -MD -MP -MF "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Tpo" -c -o ldap/servers/slapd/tools/dbscan_bin-dbscan.o `test -f 'ldap/servers/slapd/tools/dbscan.c' || echo '$(srcdir)/'`ldap/servers/slapd/tools/dbscan.c; \ @am__fastdepCC_TRUE@ then mv -f "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Tpo" "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Po"; else rm -f "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Tpo"; exit 1; fi @@ -8783,9 +8893,11 @@ -rm -rf ldap/servers/plugins/distrib/.libs ldap/servers/plugins/distrib/_libs -rm -rf ldap/servers/plugins/dna/.libs ldap/servers/plugins/dna/_libs -rm -rf ldap/servers/plugins/http/.libs ldap/servers/plugins/http/_libs + -rm -rf ldap/servers/plugins/othercrypto/.libs ldap/servers/plugins/othercrypto/_libs -rm -rf ldap/servers/plugins/pam_passthru/.libs ldap/servers/plugins/pam_passthru/_libs -rm -rf ldap/servers/plugins/passthru/.libs ldap/servers/plugins/passthru/_libs -rm -rf ldap/servers/plugins/presence/.libs ldap/servers/plugins/presence/_libs + -rm -rf ldap/servers/plugins/pwderror/.libs ldap/servers/plugins/pwderror/_libs -rm -rf ldap/servers/plugins/pwdstorage/.libs ldap/servers/plugins/pwdstorage/_libs -rm -rf ldap/servers/plugins/referint/.libs ldap/servers/plugins/referint/_libs -rm -rf ldap/servers/plugins/replication/.libs ldap/servers/plugins/replication/_libs @@ -8797,6 +8909,7 @@ -rm -rf ldap/servers/plugins/syntaxes/.libs ldap/servers/plugins/syntaxes/_libs -rm -rf ldap/servers/plugins/uiduniq/.libs ldap/servers/plugins/uiduniq/_libs -rm -rf ldap/servers/plugins/views/.libs ldap/servers/plugins/views/_libs + -rm -rf ldap/servers/plugins/xor/.libs ldap/servers/plugins/xor/_libs -rm -rf ldap/servers/slapd/.libs ldap/servers/slapd/_libs -rm -rf ldap/servers/slapd/back-ldbm/.libs ldap/servers/slapd/back-ldbm/_libs -rm -rf lib/base/.libs lib/base/_libs @@ -8825,6 +8938,23 @@ echo " rm -f '$(DESTDIR)$(configdir)/$$f'"; \ rm -f "$(DESTDIR)$(configdir)/$$f"; \ done +install-infDATA: $(inf_DATA) + @$(NORMAL_INSTALL) + test -z "$(infdir)" || $(mkdir_p) "$(DESTDIR)$(infdir)" + @list='$(inf_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(infDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(infdir)/$$f'"; \ + $(infDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(infdir)/$$f"; \ + done + +uninstall-infDATA: + @$(NORMAL_UNINSTALL) + @list='$(inf_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(infdir)/$$f'"; \ + rm -f "$(DESTDIR)$(infdir)/$$f"; \ + done install-nodist_propertyDATA: $(nodist_property_DATA) @$(NORMAL_INSTALL) test -z "$(propertydir)" || $(mkdir_p) "$(DESTDIR)$(propertydir)" @@ -9075,7 +9205,7 @@ all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) \ $(DATA) config.h installdirs: - for dir in "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(serverplugindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(taskdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(sampledatadir)" "$(DESTDIR)$(schemadir)"; do \ + for dir in "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(serverplugindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(taskdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(sampledatadir)" "$(DESTDIR)$(schemadir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: $(BUILT_SOURCES) @@ -9122,12 +9252,16 @@ -rm -f ldap/servers/plugins/dna/$(am__dirstamp) -rm -f ldap/servers/plugins/http/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/http/$(am__dirstamp) + -rm -f ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp) + -rm -f ldap/servers/plugins/othercrypto/$(am__dirstamp) -rm -f ldap/servers/plugins/pam_passthru/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/pam_passthru/$(am__dirstamp) -rm -f ldap/servers/plugins/passthru/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/passthru/$(am__dirstamp) -rm -f ldap/servers/plugins/presence/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/presence/$(am__dirstamp) + -rm -f ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp) + -rm -f ldap/servers/plugins/pwderror/$(am__dirstamp) -rm -f ldap/servers/plugins/pwdstorage/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/pwdstorage/$(am__dirstamp) -rm -f ldap/servers/plugins/referint/$(DEPDIR)/$(am__dirstamp) @@ -9150,6 +9284,8 @@ -rm -f ldap/servers/plugins/uiduniq/$(am__dirstamp) -rm -f ldap/servers/plugins/views/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/views/$(am__dirstamp) + -rm -f ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp) + -rm -f ldap/servers/plugins/xor/$(am__dirstamp) -rm -f ldap/servers/slapd/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/slapd/$(am__dirstamp) -rm -f ldap/servers/slapd/back-ldbm/$(DEPDIR)/$(am__dirstamp) @@ -9188,7 +9324,7 @@ distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/$(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/se! rvers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/othercrypto/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwderror/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/! $(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/plugins/xor/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/servers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags @@ -9203,9 +9339,10 @@ info-am: -install-data-am: install-configDATA install-initSCRIPTS \ - install-nodist_propertyDATA install-perlSCRIPTS \ - install-propertyDATA install-sampledataDATA install-schemaDATA \ +install-data-am: install-configDATA install-infDATA \ + install-initSCRIPTS install-nodist_propertyDATA \ + install-perlSCRIPTS install-propertyDATA \ + install-sampledataDATA install-schemaDATA \ install-serverLTLIBRARIES install-serverpluginLTLIBRARIES \ install-taskSCRIPTS @@ -9221,7 +9358,7 @@ maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/$(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/se! rvers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/othercrypto/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwderror/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/! $(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/plugins/xor/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/servers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -9239,12 +9376,12 @@ ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-configDATA uninstall-info-am uninstall-initSCRIPTS \ - uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ - uninstall-propertyDATA uninstall-sampledataDATA \ - uninstall-sbinPROGRAMS uninstall-schemaDATA \ - uninstall-serverLTLIBRARIES uninstall-serverpluginLTLIBRARIES \ - uninstall-taskSCRIPTS + uninstall-configDATA uninstall-infDATA uninstall-info-am \ + uninstall-initSCRIPTS uninstall-nodist_propertyDATA \ + uninstall-perlSCRIPTS uninstall-propertyDATA \ + uninstall-sampledataDATA uninstall-sbinPROGRAMS \ + uninstall-schemaDATA uninstall-serverLTLIBRARIES \ + uninstall-serverpluginLTLIBRARIES uninstall-taskSCRIPTS .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool \ @@ -9257,22 +9394,22 @@ dvi-am html html-am info info-am install install-am \ install-binPROGRAMS install-binSCRIPTS install-configDATA \ install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-initSCRIPTS install-man \ - install-nodist_propertyDATA install-perlSCRIPTS \ - install-propertyDATA install-sampledataDATA \ - install-sbinPROGRAMS install-schemaDATA \ + install-infDATA install-info install-info-am \ + install-initSCRIPTS install-man install-nodist_propertyDATA \ + install-perlSCRIPTS install-propertyDATA \ + install-sampledataDATA install-sbinPROGRAMS install-schemaDATA \ install-serverLTLIBRARIES install-serverpluginLTLIBRARIES \ install-strip install-taskSCRIPTS installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-configDATA uninstall-info-am uninstall-initSCRIPTS \ - uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ - uninstall-propertyDATA uninstall-sampledataDATA \ - uninstall-sbinPROGRAMS uninstall-schemaDATA \ - uninstall-serverLTLIBRARIES uninstall-serverpluginLTLIBRARIES \ - uninstall-taskSCRIPTS + uninstall-configDATA uninstall-infDATA uninstall-info-am \ + uninstall-initSCRIPTS uninstall-nodist_propertyDATA \ + uninstall-perlSCRIPTS uninstall-propertyDATA \ + uninstall-sampledataDATA uninstall-sbinPROGRAMS \ + uninstall-schemaDATA uninstall-serverLTLIBRARIES \ + uninstall-serverpluginLTLIBRARIES uninstall-taskSCRIPTS dirver.h: Makefile Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/ldapserver/aclocal.m4,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- aclocal.m4 11 Jun 2007 14:13:54 -0000 1.35 +++ aclocal.m4 15 Jun 2007 17:02:29 -0000 1.36 @@ -1578,27 +1578,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4288,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4421,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4437,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4517,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6353,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,7 +6385,6 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/ldapserver/configure,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- configure 11 Jun 2007 14:13:55 -0000 1.46 +++ configure 15 Jun 2007 17:02:29 -0000 1.47 @@ -465,7 +465,7 @@ #endif" ac_default_prefix=/opt/$PACKAGE_NAME -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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir infdir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3836,7 +3836,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3871,7 +3870,6 @@ fi SED=$lt_cv_path_SED - echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4312,7 +4310,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4315 "configure"' > conftest.$ac_ext + echo '#line 4313 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5447,7 +5445,7 @@ # Provide some information about the compiler. -echo "$as_me:5450:" \ +echo "$as_me:5448:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6510,11 +6508,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6513: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6511: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6517: \$? = $ac_status" >&5 + echo "$as_me:6515: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6778,11 +6776,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6781: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6779: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6785: \$? = $ac_status" >&5 + echo "$as_me:6783: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6882,11 +6880,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6885: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6883: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6889: \$? = $ac_status" >&5 + echo "$as_me:6887: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8347,31 +8345,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 8354 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9248,7 +9225,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11668: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11698: \$? = $ac_status" >&5 + echo "$as_me:11672: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11795,11 +11769,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11798: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11772: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11802: \$? = $ac_status" >&5 + echo "$as_me:11776: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12327,31 +12301,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 12334 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12735,9 +12688,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -12871,11 +12821,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. @@ -12887,7 +12837,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12967,7 +12917,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13389,11 +13339,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13392: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13342: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13396: \$? = $ac_status" >&5 + echo "$as_me:13346: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13493,11 +13443,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13496: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13446: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13500: \$? = $ac_status" >&5 + echo "$as_me:13450: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14938,31 +14888,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 14945 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15346,9 +15275,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -15482,11 +15408,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. @@ -15498,7 +15424,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15578,7 +15504,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15720,11 +15646,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15723: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15649: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15727: \$? = $ac_status" >&5 + echo "$as_me:15653: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15988,11 +15914,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15991: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15917: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15995: \$? = $ac_status" >&5 + echo "$as_me:15921: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16092,11 +16018,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16095: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16021: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16099: \$? = $ac_status" >&5 + echo "$as_me:16025: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17557,31 +17483,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 17564 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17965,9 +17870,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18101,11 +18003,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. @@ -18117,7 +18019,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18197,7 +18099,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18449,9 +18351,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18585,11 +18484,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. @@ -18601,7 +18500,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18681,7 +18580,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -23157,6 +23056,8 @@ serverdir= # relative to libdir serverplugindir=/plugins + # relative to datadir + infdir=/inf else if test "$with_fhs" = "yes"; then ac_default_prefix=/usr @@ -23173,6 +23074,8 @@ serverdir=/$PACKAGE_NAME # relative to libdir serverplugindir=/$PACKAGE_NAME/plugins + # relative to datadir + infdir=/$PACKAGE_NAME/inf fi # Shared paths for all layouts @@ -23194,6 +23097,7 @@ + # check for --with-instconfigdir echo "$as_me:$LINENO: checking for --with-instconfigdir" >&5 echo $ECHO_N "checking for --with-instconfigdir... $ECHO_C" >&6 @@ -25985,7 +25889,6 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t -s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t @@ -26019,6 +25922,7 @@ s, at serverplugindir@,$serverplugindir,;t t s, at scripttemplatedir@,$scripttemplatedir,;t t s, at perldir@,$perldir,;t t +s, at infdir@,$infdir,;t t s, at instconfigdir@,$instconfigdir,;t t s, at WINNT_TRUE@,$WINNT_TRUE,;t t s, at WINNT_FALSE@,$WINNT_FALSE,;t t Index: configure.ac =================================================================== RCS file: /cvs/dirsec/ldapserver/configure.ac,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- configure.ac 8 Jun 2007 20:36:52 -0000 1.30 +++ configure.ac 15 Jun 2007 17:02:29 -0000 1.31 @@ -163,6 +163,8 @@ serverdir= # relative to libdir serverplugindir=/plugins + # relative to datadir + infdir=/inf else if test "$with_fhs" = "yes"; then ac_default_prefix=/usr @@ -181,6 +183,8 @@ serverdir=/$PACKAGE_NAME # relative to libdir serverplugindir=/$PACKAGE_NAME/plugins + # relative to datadir + infdir=/$PACKAGE_NAME/inf fi # Shared paths for all layouts @@ -201,6 +205,7 @@ AC_SUBST(serverplugindir) AC_SUBST(scripttemplatedir) AC_SUBST(perldir) +AC_SUBST(infdir) # check for --with-instconfigdir AC_MSG_CHECKING(for --with-instconfigdir) From fedora-directory-commits at redhat.com Fri Jun 15 17:06:39 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 13:06:39 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/common setup.inf.in, NONE, 1.1 setup.inf, 1.6, NONE Message-ID: <200706151706.l5FH6dlq004273@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/common In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4249 Added Files: setup.inf.in Removed Files: setup.inf Log Message: Resolves: 237356 Summary: Move DS Admin Code into Admin Server (Comment #63) Description: providing setup.inf having the static server info for the setup/config --- NEW FILE setup.inf.in --- # BEGIN COPYRIGHT BLOCK # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK # # Sample Fedora Server Package Information File # # Components: lists the components to be installed as specified # in subsequent sections. If the section or the ComponentInfoFile # does note exist the setup program will ignore the component [General] Name = @capbrand@ Server Products Vendor = @capbrand@ Project Description = @capbrand@ Server Products Installation Version = @PACKAGE_VERSION@ Brand = @capbrand@ NormBrand = @brand@ --- setup.inf DELETED --- From fedora-directory-commits at redhat.com Fri Jun 15 17:10:13 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 13:10:13 -0400 Subject: [Fedora-directory-commits] adminserver/wrappers - New directory Message-ID: <200706151710.l5FHADlm004396@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/wrappers In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4381/wrappers Log Message: Directory /cvs/dirsec/adminserver/wrappers added to the repository From fedora-directory-commits at redhat.com Fri Jun 15 17:13:04 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 13:13:04 -0400 Subject: [Fedora-directory-commits] adminserver/wrappers initscript.in, NONE, 1.1 Message-ID: <200706151713.l5FHD4UE004961@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/wrappers In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4913/wrappers Added Files: initscript.in Log Message: Resolves: #244325 Summary: init script for the Admin Server --- NEW FILE initscript.in --- #!/bin/sh # # @package_name@ This starts and stops @package_name@ # # chkconfig: - 21 79 # description: @package_name@ Admin Server # processname: @sbindir@/httpd # piddir: @localstatedir@/run/@PACKAGE_BASE_NAME@ # # Source function library. if [ -f /etc/rc.d/init.d/functions ] ; then . /etc/rc.d/init.d/functions fi # Source networking configuration. if [ -f /etc/sysconfig/network ] ; then . /etc/sysconfig/network fi # Check that networking is up. if [ "${NETWORKING}" = "no" ] then echo "Networking is down" exit 0 fi # Solaris echo cannot use -n - linux echo by default cannot use \c echo_n() { echo @ECHO_N@ "$*@ECHO_C@" } # failure and success are not defined on some platforms type failure > /dev/null 2>&1 || { failure() { echo_n " FAILED" } } type success > /dev/null 2>&1 || { success() { echo_n " SUCCESS" } } # On Solaris /var/run is in tmpfs and gets wiped out upon reboot # we have to recreate the /var/run/@package_name@ directory # We also have to make sure that the directory is writable # by the directory server process # the argument to this function is the server instance directory, # which must have a dse.ldif file in it fix_pid_dir_ownership() { if [ -d $piddir ] ; then owner=`grep \^sysuser @instconfigdir@/admin-serv/adm.conf | awk '{print $2}'` dirowner=`ls -ld $piddir | awk '{print $3}'` dirgrp=`ls -ld $piddir | awk '{print $4}'` if [ "$owner" != "$dirowner" ]; then groups $owner | grep $dirgrp > /dev/null 2>&1 rc=$? if [ $rc -eq 0 ]; then chmod 770 $piddir else echo_n "$piddir is not writable for $owner" failure; echo exit 1 fi fi else mkdir -p $piddir owner=`grep \^nsslapd-localuser $1/dse.ldif | awk '{print $2}'` if [ -n "$owner" ] ; then chown $owner $piddir chmod 700 $piddir fi fi } start_script=@sbindir@/start-ds-admin restart_script=@sbindir@/restart-ds-admin stop_script=@sbindir@/stop-ds-admin exec=`grep "^HTTPD=" $start_script | awk -F= '{print $2}'` prog="@package_name@" # PID directory piddir="@localstatedir@/run/@PACKAGE_BASE_NAME@" # PID file pidfile=$piddir/admin-serv.pid [ -f $exec ] || exit 0 umask 077 start() { if [ ! -f $start_script ]; then echo_n "*** Error: $start_script does not exist" failure; echo exit 1 fi echo "Starting $prog: " # Start every slapd instance that isn't already running # the server creates pidfile and writes the pid to it when it is fully # started and available to serve clients server_running=0 if [ -f $pidfile ]; then pid=`cat $pidfile` if kill -0 $pid > /dev/null 2>&1 ; then echo_n " already running" success; echo server_running=1 else echo_n " not running, but pid file exists - attempt to start anyway..." rm -f $pidfile fi fi server_started=0 if [ $server_running -eq 0 ] ; then rm -f $pidfile fix_pid_dir_ownership $start_script if [ $? -eq 0 ]; then server_started=1 # well, perhaps not running, but started ok else failure; echo fi fi if [ $server_started -eq 1 ] ; then loop_counter=1 # wait for 10 minutes (600 times 1 seconds) max_count=600 while test $loop_counter -le $max_count ; do loop_counter=`expr $loop_counter + 1` if test ! -f $pidfile ; then sleep 1 else pid=`cat $pidfile` break fi done if kill -0 $pid > /dev/null 2>&1 && test -f $pidfile ; then success; echo else echo_n "*** Error: $prog failed to start" failure; echo fi fi } stop() { if [ ! -f $stop_script ]; then echo_n "$stop_script does not exist" failure; echo exit 1 fi echo "Shutting down $prog: " if [ -f $pidfile ]; then pid=`cat $pidfile` server_stopped=0 if kill -0 $pid > /dev/null 2>&1 ; then kill $pid if [ $? -eq 0 ]; then server_stopped=1 else failure; echo fi fi if [ $server_stopped -eq 1 ] ; then loop_counter=1 # wait for 10 minutes (600 times 1 second) max_count=600 while test $loop_counter -le $max_count; do loop_counter=`expr $loop_counter + 1` if kill -0 $pid > /dev/null 2>&1 ; then sleep 1 else if test -f $pidfile ; then rm -f $pidfile fi break fi done if test -f $pidfile ; then echo_n "*** Error: $prog failed to stop" failure; echo else success; echo rm -f $pidfile fi fi fi } restart() { stop start } status() { if [ -f $pidfile ]; then pid=`cat $pidfile` if kill -0 $pid > /dev/null 2>&1 ; then echo "$prog (pid $pid) is running..." else echo "$prog dead but pid file exists" fi else echo "$prog is stopped" fi } case "$1" in start|stop|restart|reload|status) $1 ;; condrestart) [ ! -f $lockfile ] || restart ;; *) echo Unknown command $1 echo "Usage: $0 {start|stop|status|restart|condrestart}" exit 2 esac From fedora-directory-commits at redhat.com Fri Jun 15 17:13:04 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 13:13:04 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.8, 1.9 Makefile.in, 1.8, 1.9 configure, 1.7, 1.8 configure.ac, 1.5, 1.6 Message-ID: <200706151713.l5FHD4jI004954@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4913 Modified Files: Makefile.am Makefile.in configure configure.ac Log Message: Resolves: #244325 Summary: init script for the Admin Server Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Makefile.am 13 Jun 2007 17:48:34 -0000 1.8 +++ Makefile.am 15 Jun 2007 17:13:02 -0000 1.9 @@ -119,6 +119,8 @@ SETUPUTIL_LIBS = @setuputil_lib@ -ldsinstall +init_SCRIPTS = wrappers/$(PACKAGE_NAME) + ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ admserv/schema/ldif/01nsroot.ldif.tmpl \ admserv/schema/ldif/02globalpreferences.ldif.tmpl \ @@ -128,7 +130,7 @@ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl -inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map +inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map admserv/newinst/common/setup.inf cgibin_PROGRAMS = mergeConfig admpw security ugdsconfig ReadLog start_config_ds \ config statpingserv viewdata dsconfig monreplication restartsrv \ @@ -357,8 +359,12 @@ # i.e. it literally copies in '${prefix}' rather than expanding it out - we want this instead: # ADMConfigDir = /etc/packagename fixupcmd = sed \ + -e 's, at ECHO_C\@,$(ECHO_C),g' \ + -e 's, at ECHO_N\@,$(ECHO_N),g' \ -e 's, at HTTPD\@,$(HTTPD),g' \ -e 's, at bindir\@,$(bindir),g' \ + -e 's, at sbindir\@,$(sbindir),g' \ + -e 's, at localstatedir\@,$(localstatedir),g' \ -e 's, at cgibindir\@,$(cgibindir),g' \ -e 's, at cmdbindir\@,$(cmdbindir),g' \ -e 's, at moddir\@,$(moddir),g' \ @@ -388,6 +394,7 @@ -e 's, at instancename\@,$(instancename),g' \ -e 's, at BUILD_NUM\@,$(BUILDNUM),g' \ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ + -e 's, at package_name\@,$(PACKAGE_NAME),g' \ -e 's, at PACKAGE_BASE_NAME\@,$(PACKAGE_BASE_NAME),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ -e 's, at brand\@,$(brand),g' \ @@ -395,6 +402,8 @@ -e 's, at vendor\@,$(vendor),g' \ -e 's, at helpdir\@,$(helpdir),g' \ -e 's, at mimemagic\@,$(mimemagic),g' \ + -e 's, at initdir\@,$(initdir),g' \ + -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' \ -e 's, at perldir\@,$(perldir),g' # because the source may be either httpd.conf.in or httpd-2.2.conf.in @@ -405,3 +414,7 @@ % : %.in if [ ! -d $(dir $@) ] ; then mkdir -p $(dir $@) ; fi $(fixupcmd) $< > $@ + +%/$(PACKAGE_NAME): %/initscript.in + if [ ! -d $(dir $@) ] ; then mkdir -p $(dir $@) ; fi + $(fixupcmd) $^ > $@ Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Makefile.in 13 Jun 2007 17:48:34 -0000 1.8 +++ Makefile.in 15 Jun 2007 17:13:02 -0000 1.9 @@ -103,11 +103,12 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" \ "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" \ - "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" \ - "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" \ - "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" \ - "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" \ - "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" + "$(DESTDIR)$(initdir)" "$(DESTDIR)$(cmdbindir)" \ + "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" \ + "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" \ + "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" \ + "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" \ + "$(DESTDIR)$(propertydir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) libds_admin_serv_la_LIBADD = @@ -266,10 +267,11 @@ binSCRIPT_INSTALL = $(INSTALL_SCRIPT) cgibinSCRIPT_INSTALL = $(INSTALL_SCRIPT) cmdbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) +initSCRIPT_INSTALL = $(INSTALL_SCRIPT) nodist_cmdbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) perlSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(cgibin_SCRIPTS) $(cmdbin_SCRIPTS) \ - $(nodist_cmdbin_SCRIPTS) $(perl_SCRIPTS) + $(init_SCRIPTS) $(nodist_cmdbin_SCRIPTS) $(perl_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -472,6 +474,7 @@ includedir = @includedir@ infdir = $(datadir)@infdir@ infodir = @infodir@ +initdir = $(sysconfdir)@initdir@ install_sh = @install_sh@ instancename = @instancename@ instconfigdir = @instconfigdir@ @@ -509,6 +512,7 @@ setuputil_inc = @setuputil_inc@ setuputil_lib = @setuputil_lib@ setuputil_libdir = @setuputil_libdir@ +shared_lib_suffix = @shared_lib_suffix@ sharedstatedir = @sharedstatedir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ @@ -551,7 +555,6 @@ @MOD_RESTARTD_TRUE at MOD_RESTARTD_SUB = mod_restartd SUBDIRS = $(MOD_ADMSERV_SUB) $(MOD_RESTARTD_SUB) helpdir = $(manualdir)/help -initdir = $(sysconfdir)@initdir@ configdir = $(instconfigdir)/$(instancename) # same as configdir for now securitydir = $(configdir) @@ -584,6 +587,7 @@ @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 SETUPUTIL_LIBS = @setuputil_lib@ -ldsinstall +init_SCRIPTS = wrappers/$(PACKAGE_NAME) ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ admserv/schema/ldif/01nsroot.ldif.tmpl \ admserv/schema/ldif/02globalpreferences.ldif.tmpl \ @@ -593,7 +597,7 @@ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl -inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map +inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map admserv/newinst/common/setup.inf bin_SCRIPTS = admserv/newinst/src/register_server.pl cgibin_SCRIPTS = admserv/cgi-src40/Cgi.pm nodist_cmdbin_SCRIPTS = admserv/cfgstuff/start-ds-admin admserv/cfgstuff/stop-ds-admin admserv/cfgstuff/restart-ds-admin @@ -773,8 +777,12 @@ # i.e. it literally copies in '${prefix}' rather than expanding it out - we want this instead: # ADMConfigDir = /etc/packagename fixupcmd = sed \ + -e 's, at ECHO_C\@,$(ECHO_C),g' \ + -e 's, at ECHO_N\@,$(ECHO_N),g' \ -e 's, at HTTPD\@,$(HTTPD),g' \ -e 's, at bindir\@,$(bindir),g' \ + -e 's, at sbindir\@,$(sbindir),g' \ + -e 's, at localstatedir\@,$(localstatedir),g' \ -e 's, at cgibindir\@,$(cgibindir),g' \ -e 's, at cmdbindir\@,$(cmdbindir),g' \ -e 's, at moddir\@,$(moddir),g' \ @@ -804,6 +812,7 @@ -e 's, at instancename\@,$(instancename),g' \ -e 's, at BUILD_NUM\@,$(BUILDNUM),g' \ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ + -e 's, at package_name\@,$(PACKAGE_NAME),g' \ -e 's, at PACKAGE_BASE_NAME\@,$(PACKAGE_BASE_NAME),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ -e 's, at brand\@,$(brand),g' \ @@ -811,6 +820,8 @@ -e 's, at vendor\@,$(vendor),g' \ -e 's, at helpdir\@,$(helpdir),g' \ -e 's, at mimemagic\@,$(mimemagic),g' \ + -e 's, at initdir\@,$(initdir),g' \ + -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' \ -e 's, at perldir\@,$(perldir),g' all: config.h @@ -1376,6 +1387,25 @@ echo " rm -f '$(DESTDIR)$(cmdbindir)/$$f'"; \ rm -f "$(DESTDIR)$(cmdbindir)/$$f"; \ done +install-initSCRIPTS: $(init_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(initdir)" || $(mkdir_p) "$(DESTDIR)$(initdir)" + @list='$(init_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(initSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(initdir)/$$f'"; \ + $(initSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(initdir)/$$f"; \ + else :; fi; \ + done + +uninstall-initSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(init_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(initdir)/$$f'"; \ + rm -f "$(DESTDIR)$(initdir)/$$f"; \ + done install-nodist_cmdbinSCRIPTS: $(nodist_cmdbin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" @@ -2704,7 +2734,7 @@ $(DATA) config.h installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive @@ -2772,10 +2802,10 @@ install-data-am: install-cgibinPROGRAMS install-cgibinSCRIPTS \ install-cmdbinPROGRAMS install-cmdbinSCRIPTS \ install-dist_helpDATA install-dist_htmlDATA \ - install-dist_iconDATA install-infDATA install-ldifDATA \ - install-nodist_cmdbinSCRIPTS install-nodist_configDATA \ - install-nodist_propertyDATA install-perlSCRIPTS \ - install-propertyDATA + install-dist_iconDATA install-infDATA install-initSCRIPTS \ + install-ldifDATA install-nodist_cmdbinSCRIPTS \ + install-nodist_configDATA install-nodist_propertyDATA \ + install-perlSCRIPTS install-propertyDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook @@ -2811,10 +2841,11 @@ uninstall-cgibinSCRIPTS uninstall-cmdbinPROGRAMS \ uninstall-cmdbinSCRIPTS uninstall-dist_helpDATA \ uninstall-dist_htmlDATA uninstall-dist_iconDATA \ - uninstall-infDATA uninstall-info-am uninstall-ldifDATA \ - uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ - uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ - uninstall-perlSCRIPTS uninstall-propertyDATA + uninstall-infDATA uninstall-info-am uninstall-initSCRIPTS \ + uninstall-ldifDATA uninstall-libLTLIBRARIES \ + uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ + uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ + uninstall-propertyDATA uninstall-info: uninstall-info-recursive @@ -2832,24 +2863,25 @@ install-cmdbinSCRIPTS install-data install-data-am \ install-data-hook install-dist_helpDATA install-dist_htmlDATA \ install-dist_iconDATA install-exec install-exec-am \ - install-infDATA install-info install-info-am install-ldifDATA \ - install-libLTLIBRARIES install-man \ - install-nodist_cmdbinSCRIPTS install-nodist_configDATA \ - install-nodist_propertyDATA install-perlSCRIPTS \ - install-propertyDATA install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-recursive \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am \ + install-infDATA install-info install-info-am \ + install-initSCRIPTS install-ldifDATA install-libLTLIBRARIES \ + install-man install-nodist_cmdbinSCRIPTS \ + install-nodist_configDATA install-nodist_propertyDATA \ + install-perlSCRIPTS install-propertyDATA install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ + pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ uninstall-cgibinSCRIPTS uninstall-cmdbinPROGRAMS \ uninstall-cmdbinSCRIPTS uninstall-dist_helpDATA \ uninstall-dist_htmlDATA uninstall-dist_iconDATA \ - uninstall-infDATA uninstall-info-am uninstall-ldifDATA \ - uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ - uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ - uninstall-perlSCRIPTS uninstall-propertyDATA + uninstall-infDATA uninstall-info-am uninstall-initSCRIPTS \ + uninstall-ldifDATA uninstall-libLTLIBRARIES \ + uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ + uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ + uninstall-propertyDATA define NL \\n @@ -2890,6 +2922,10 @@ % : %.in if [ ! -d $(dir $@) ] ; then mkdir -p $(dir $@) ; fi $(fixupcmd) $< > $@ + +%/$(PACKAGE_NAME): %/initscript.in + if [ ! -d $(dir $@) ] ; then mkdir -p $(dir $@) ; fi + $(fixupcmd) $^ > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- configure 13 Jun 2007 17:48:34 -0000 1.7 +++ configure 15 Jun 2007 17:13:02 -0000 1.8 @@ -468,7 +468,7 @@ ac_default_prefix=/opt/$PACKAGE_BASE_NAME ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS initdir shared_lib_suffix HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -23195,6 +23195,25 @@ localstatedir='/var' fi +shared_lib_suffix=.so +initdir=/rc.d +case $host in + *-*-linux*) + initdir=/rc.d/init.d + ;; + ia64-hp-hpux*) + ;; + hppa*-hp-hpux*) + shared_lib_suffix=.sl + ;; + sparc-sun-solaris*) + initdir=/init.d + ;; + *) +esac + + + # Check for web server # BEGIN COPYRIGHT BLOCK # Copyright (C) 2006 Red Hat, Inc. @@ -24663,6 +24682,7 @@ + # write out paths for data/config files @@ -25507,6 +25527,8 @@ s, at ac_ct_F77@,$ac_ct_F77,;t t s, at LIBTOOL@,$LIBTOOL,;t t s, at LIBOBJS@,$LIBOBJS,;t t +s, at initdir@,$initdir,;t t +s, at shared_lib_suffix@,$shared_lib_suffix,;t t s, at HTTPD@,$HTTPD,;t t s, at APXS@,$APXS,;t t s, at PKG_CONFIG@,$PKG_CONFIG,;t t Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- configure.ac 8 Jun 2007 22:49:18 -0000 1.5 +++ configure.ac 15 Jun 2007 17:13:02 -0000 1.6 @@ -80,6 +80,25 @@ localstatedir='/var' fi +shared_lib_suffix=.so +initdir=/rc.d +case $host in + *-*-linux*) + initdir=/rc.d/init.d + ;; + ia64-hp-hpux*) + ;; + hppa*-hp-hpux*) + shared_lib_suffix=.sl + ;; + sparc-sun-solaris*) + initdir=/init.d + ;; + *) +esac +AC_SUBST(initdir) +AC_SUBST(shared_lib_suffix) + # Check for web server m4_include(m4/httpd.m4) @@ -146,6 +165,7 @@ perldir=/$PACKAGE_BASE_NAME/perl # write out paths for binary components +AC_SUBST(PACKAGE_NAME) AC_SUBST(PACKAGE_BASE_NAME) AC_SUBST(nspr_inc) AC_SUBST(nspr_lib) From fedora-directory-commits at redhat.com Fri Jun 15 20:22:16 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 16:22:16 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.in,1.51,1.52 Message-ID: <200706152022.l5FKMGZ4011895@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11878 Modified Files: Makefile.in Log Message: Summary: Move DS Admin Code into Admin Server (Comment #62) Description: providing slapd.inf having the DS static info for the setup/config Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- Makefile.in 15 Jun 2007 17:02:28 -0000 1.51 +++ Makefile.in 15 Jun 2007 20:22:14 -0000 1.52 @@ -334,10 +334,6 @@ lib/libsi18n/libns_dshttpd_la-reshash.lo \ lib/libsi18n/libns_dshttpd_la-txtfile.lo $(am__objects_1) libns_dshttpd_la_OBJECTS = $(am_libns_dshttpd_la_OBJECTS) -libothercrypto_plugin_la_LIBADD = -am_libothercrypto_plugin_la_OBJECTS = ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo -libothercrypto_plugin_la_OBJECTS = \ - $(am_libothercrypto_plugin_la_OBJECTS) libpam_passthru_plugin_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libpam_passthru_plugin_la_OBJECTS = ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo \ ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptdebug.lo \ @@ -359,9 +355,6 @@ libpresence_plugin_la_LIBADD = am_libpresence_plugin_la_OBJECTS = ldap/servers/plugins/presence/libpresence_plugin_la-presence.lo libpresence_plugin_la_OBJECTS = $(am_libpresence_plugin_la_OBJECTS) -libpwderror_plugin_la_LIBADD = -am_libpwderror_plugin_la_OBJECTS = ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo -libpwderror_plugin_la_OBJECTS = $(am_libpwderror_plugin_la_OBJECTS) libpwdstorage_plugin_la_LIBADD = am_libpwdstorage_plugin_la_OBJECTS = ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo \ ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-crypt_pwd.lo \ @@ -562,10 +555,6 @@ am_libviews_plugin_la_OBJECTS = \ ldap/servers/plugins/views/libviews_plugin_la-views.lo libviews_plugin_la_OBJECTS = $(am_libviews_plugin_la_OBJECTS) -libxor_plugin_la_LIBADD = -am_libxor_plugin_la_OBJECTS = \ - ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo -libxor_plugin_la_OBJECTS = $(am_libxor_plugin_la_OBJECTS) binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS) @@ -760,21 +749,19 @@ $(libdna_plugin_la_SOURCES) $(libds_admin_la_SOURCES) \ $(libhttp_client_plugin_la_SOURCES) \ $(libns_dshttpd_la_SOURCES) \ - $(libothercrypto_plugin_la_SOURCES) \ $(libpam_passthru_plugin_la_SOURCES) \ $(libpassthru_plugin_la_SOURCES) \ $(libpresence_plugin_la_SOURCES) \ - $(libpwderror_plugin_la_SOURCES) \ $(libpwdstorage_plugin_la_SOURCES) \ $(libreferint_plugin_la_SOURCES) \ $(libreplication_plugin_la_SOURCES) \ $(libretrocl_plugin_la_SOURCES) $(libroles_plugin_la_SOURCES) \ $(libslapd_la_SOURCES) $(libstatechange_plugin_la_SOURCES) \ $(libsyntax_plugin_la_SOURCES) $(libviews_plugin_la_SOURCES) \ - $(libxor_plugin_la_SOURCES) $(dbscan_bin_SOURCES) \ - $(ds_newinst_bin_SOURCES) $(dsktune_bin_SOURCES) \ - $(infadd_bin_SOURCES) $(ldap_agent_bin_SOURCES) \ - $(ldclt_bin_SOURCES) $(ldif_bin_SOURCES) $(makstrdb_SOURCES) \ + $(dbscan_bin_SOURCES) $(ds_newinst_bin_SOURCES) \ + $(dsktune_bin_SOURCES) $(infadd_bin_SOURCES) \ + $(ldap_agent_bin_SOURCES) $(ldclt_bin_SOURCES) \ + $(ldif_bin_SOURCES) $(makstrdb_SOURCES) \ $(migratecred_bin_SOURCES) $(mmldif_bin_SOURCES) \ $(ns_slapd_SOURCES) $(pwdhash_bin_SOURCES) \ $(rsearch_bin_SOURCES) @@ -788,24 +775,22 @@ $(libdna_plugin_la_SOURCES) $(libds_admin_la_SOURCES) \ $(libhttp_client_plugin_la_SOURCES) \ $(libns_dshttpd_la_SOURCES) \ - $(libothercrypto_plugin_la_SOURCES) \ $(libpam_passthru_plugin_la_SOURCES) \ $(libpassthru_plugin_la_SOURCES) \ $(libpresence_plugin_la_SOURCES) \ - $(libpwderror_plugin_la_SOURCES) \ $(libpwdstorage_plugin_la_SOURCES) \ $(libreferint_plugin_la_SOURCES) \ $(libreplication_plugin_la_SOURCES) \ $(libretrocl_plugin_la_SOURCES) $(libroles_plugin_la_SOURCES) \ $(libslapd_la_SOURCES) $(libstatechange_plugin_la_SOURCES) \ $(libsyntax_plugin_la_SOURCES) $(libviews_plugin_la_SOURCES) \ - $(libxor_plugin_la_SOURCES) $(dbscan_bin_SOURCES) \ - $(ds_newinst_bin_SOURCES) $(dsktune_bin_SOURCES) \ - $(infadd_bin_SOURCES) $(ldap_agent_bin_SOURCES) \ - $(am__ldclt_bin_SOURCES_DIST) $(ldif_bin_SOURCES) \ - $(makstrdb_SOURCES) $(migratecred_bin_SOURCES) \ - $(mmldif_bin_SOURCES) $(am__ns_slapd_SOURCES_DIST) \ - $(pwdhash_bin_SOURCES) $(rsearch_bin_SOURCES) + $(dbscan_bin_SOURCES) $(ds_newinst_bin_SOURCES) \ + $(dsktune_bin_SOURCES) $(infadd_bin_SOURCES) \ + $(ldap_agent_bin_SOURCES) $(am__ldclt_bin_SOURCES_DIST) \ + $(ldif_bin_SOURCES) $(makstrdb_SOURCES) \ + $(migratecred_bin_SOURCES) $(mmldif_bin_SOURCES) \ + $(am__ns_slapd_SOURCES_DIST) $(pwdhash_bin_SOURCES) \ + $(rsearch_bin_SOURCES) configDATA_INSTALL = $(INSTALL_DATA) infDATA_INSTALL = $(INSTALL_DATA) nodist_propertyDATA_INSTALL = $(INSTALL_DATA) @@ -1054,17 +1039,13 @@ @enable_pam_passthru_TRUE at LIBPAM_PASSTHRU_PLUGIN = libpam-passthru-plugin.la @enable_dna_TRUE at LIBDNA_PLUGIN = libdna-plugin.la @enable_bitwise_TRUE at LIBBITWISE_PLUGIN = libbitwise-plugin.la -LIBXOR_PLUGIN = libxor-plugin.la -LIBPWDERROR_PLUGIN = libpwderror-plugin.la -LIBOTHERCRYPTO_PLUGIN = libothercrypto-plugin.la serverplugin_LTLIBRARIES = libacl-plugin.la libattr-unique-plugin.la \ libback-ldbm.la libchainingdb-plugin.la libcos-plugin.la libdes-plugin.la \ libdistrib-plugin.la libhttp-client-plugin.la libcollation-plugin.la \ libpassthru-plugin.la libpresence-plugin.la \ libpwdstorage-plugin.la libreferint-plugin.la libreplication-plugin.la \ libretrocl-plugin.la libroles-plugin.la libstatechange-plugin.la libsyntax-plugin.la \ - libviews-plugin.la $(LIBPAM_PASSTHRU_PLUGIN) $(LIBDNA_PLUGIN) $(LIBBITWISE_PLUGIN) \ - $(LIBXOR_PLUGIN) $(LIBPWDERROR_PLUGIN) $(LIBOTHERCRYPTO_PLUGIN) + libviews-plugin.la $(LIBPAM_PASSTHRU_PLUGIN) $(LIBDNA_PLUGIN) $(LIBBITWISE_PLUGIN) nodist_property_DATA = ns-slapd.properties noinst_LIBRARIES = libavl.a libldaputil.a @@ -1751,27 +1732,6 @@ libbitwise_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) libbitwise_plugin_la_LDFLAGS = -avoid-version -#------------------------ -# libxor-plugin -#------------------------ -libxor_plugin_la_SOURCES = ldap/servers/plugins/xor/xorplugin.c -libxor_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) -libxor_plugin_la_LDFLAGS = -avoid-version - -#------------------------ -# libpwderror-plugin -#------------------------ -libpwderror_plugin_la_SOURCES = ldap/servers/plugins/pwderror/pwderror-plugin.c -libpwderror_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) -libpwderror_plugin_la_LDFLAGS = -avoid-version - -#------------------------ -# libothercrypto-plugin -#------------------------ -libothercrypto_plugin_la_SOURCES = ldap/servers/plugins/othercrypto/othercrypto.c -libothercrypto_plugin_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) -libothercrypto_plugin_la_LDFLAGS = -avoid-version - #//////////////////////////////////////////////////////////////// # # Programs @@ -2813,17 +2773,6 @@ lib/ldaputil/$(DEPDIR)/$(am__dirstamp) libns-dshttpd.la: $(libns_dshttpd_la_OBJECTS) $(libns_dshttpd_la_DEPENDENCIES) $(CXXLINK) -rpath $(serverdir) $(libns_dshttpd_la_LDFLAGS) $(libns_dshttpd_la_OBJECTS) $(libns_dshttpd_la_LIBADD) $(LIBS) -ldap/servers/plugins/othercrypto/$(am__dirstamp): - @$(mkdir_p) ldap/servers/plugins/othercrypto - @: > ldap/servers/plugins/othercrypto/$(am__dirstamp) -ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) ldap/servers/plugins/othercrypto/$(DEPDIR) - @: > ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp) -ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo: \ - ldap/servers/plugins/othercrypto/$(am__dirstamp) \ - ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp) -libothercrypto-plugin.la: $(libothercrypto_plugin_la_OBJECTS) $(libothercrypto_plugin_la_DEPENDENCIES) - $(LINK) -rpath $(serverplugindir) $(libothercrypto_plugin_la_LDFLAGS) $(libothercrypto_plugin_la_OBJECTS) $(libothercrypto_plugin_la_LIBADD) $(LIBS) ldap/servers/plugins/pam_passthru/$(am__dirstamp): @$(mkdir_p) ldap/servers/plugins/pam_passthru @: > ldap/servers/plugins/pam_passthru/$(am__dirstamp) @@ -2881,17 +2830,6 @@ ldap/servers/plugins/presence/$(DEPDIR)/$(am__dirstamp) libpresence-plugin.la: $(libpresence_plugin_la_OBJECTS) $(libpresence_plugin_la_DEPENDENCIES) $(LINK) -rpath $(serverplugindir) $(libpresence_plugin_la_LDFLAGS) $(libpresence_plugin_la_OBJECTS) $(libpresence_plugin_la_LIBADD) $(LIBS) -ldap/servers/plugins/pwderror/$(am__dirstamp): - @$(mkdir_p) ldap/servers/plugins/pwderror - @: > ldap/servers/plugins/pwderror/$(am__dirstamp) -ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) ldap/servers/plugins/pwderror/$(DEPDIR) - @: > ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp) -ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo: \ - ldap/servers/plugins/pwderror/$(am__dirstamp) \ - ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp) -libpwderror-plugin.la: $(libpwderror_plugin_la_OBJECTS) $(libpwderror_plugin_la_DEPENDENCIES) - $(LINK) -rpath $(serverplugindir) $(libpwderror_plugin_la_LDFLAGS) $(libpwderror_plugin_la_OBJECTS) $(libpwderror_plugin_la_LIBADD) $(LIBS) ldap/servers/plugins/pwdstorage/$(am__dirstamp): @$(mkdir_p) ldap/servers/plugins/pwdstorage @: > ldap/servers/plugins/pwdstorage/$(am__dirstamp) @@ -3480,17 +3418,6 @@ ldap/servers/plugins/views/$(DEPDIR)/$(am__dirstamp) libviews-plugin.la: $(libviews_plugin_la_OBJECTS) $(libviews_plugin_la_DEPENDENCIES) $(LINK) -rpath $(serverplugindir) $(libviews_plugin_la_LDFLAGS) $(libviews_plugin_la_OBJECTS) $(libviews_plugin_la_LIBADD) $(LIBS) -ldap/servers/plugins/xor/$(am__dirstamp): - @$(mkdir_p) ldap/servers/plugins/xor - @: > ldap/servers/plugins/xor/$(am__dirstamp) -ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) ldap/servers/plugins/xor/$(DEPDIR) - @: > ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp) -ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo: \ - ldap/servers/plugins/xor/$(am__dirstamp) \ - ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp) -libxor-plugin.la: $(libxor_plugin_la_OBJECTS) $(libxor_plugin_la_DEPENDENCIES) - $(LINK) -rpath $(serverplugindir) $(libxor_plugin_la_LDFLAGS) $(libxor_plugin_la_OBJECTS) $(libxor_plugin_la_LIBADD) $(LIBS) install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @@ -4040,8 +3967,6 @@ -rm -f ldap/servers/plugins/http/libhttp_client_plugin_la-http_client.lo -rm -f ldap/servers/plugins/http/libhttp_client_plugin_la-http_impl.$(OBJEXT) -rm -f ldap/servers/plugins/http/libhttp_client_plugin_la-http_impl.lo - -rm -f ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.$(OBJEXT) - -rm -f ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo -rm -f ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.$(OBJEXT) -rm -f ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo -rm -f ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptdebug.$(OBJEXT) @@ -4064,8 +3989,6 @@ -rm -f ldap/servers/plugins/passthru/libpassthru_plugin_la-ptutil.lo -rm -f ldap/servers/plugins/presence/libpresence_plugin_la-presence.$(OBJEXT) -rm -f ldap/servers/plugins/presence/libpresence_plugin_la-presence.lo - -rm -f ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.$(OBJEXT) - -rm -f ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo -rm -f ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.$(OBJEXT) -rm -f ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo -rm -f ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-crypt_pwd.$(OBJEXT) @@ -4244,8 +4167,6 @@ -rm -f ldap/servers/plugins/uiduniq/libattr_unique_plugin_la-uid.lo -rm -f ldap/servers/plugins/views/libviews_plugin_la-views.$(OBJEXT) -rm -f ldap/servers/plugins/views/libviews_plugin_la-views.lo - -rm -f ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.$(OBJEXT) - -rm -f ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo -rm -f ldap/servers/slapd/back-ldbm/libback_ldbm_la-ancestorid.$(OBJEXT) -rm -f ldap/servers/slapd/back-ldbm/libback_ldbm_la-ancestorid.lo -rm -f ldap/servers/slapd/back-ldbm/libback_ldbm_la-archive.$(OBJEXT) @@ -4800,7 +4721,6 @@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/dna/$(DEPDIR)/libdna_plugin_la-dna.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/http/$(DEPDIR)/libhttp_client_plugin_la-http_client.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/http/$(DEPDIR)/libhttp_client_plugin_la-http_impl.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptdebug.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptimpl.Plo at am__quote@ @@ -4812,7 +4732,6 @@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/passthru/$(DEPDIR)/libpassthru_plugin_la-ptpreop.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/passthru/$(DEPDIR)/libpassthru_plugin_la-ptutil.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/presence/$(DEPDIR)/libpresence_plugin_la-presence.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-crypt_pwd.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-md5_pwd.Plo at am__quote@ @@ -4902,7 +4821,6 @@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/uiduniq/$(DEPDIR)/libattr_unique_plugin_la-7bit.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/uiduniq/$(DEPDIR)/libattr_unique_plugin_la-uid.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/views/$(DEPDIR)/libviews_plugin_la-views.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/$(DEPDIR)/ldap_agent_bin-agtmmap.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/$(DEPDIR)/libslapd_la-add.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at ldap/servers/slapd/$(DEPDIR)/libslapd_la-agtmmap.Plo at am__quote@ @@ -6334,13 +6252,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libns_dshttpd_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/ldaputil/libns_dshttpd_la-vtable.lo `test -f 'lib/ldaputil/vtable.c' || echo '$(srcdir)/'`lib/ldaputil/vtable.c -ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo: ldap/servers/plugins/othercrypto/othercrypto.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libothercrypto_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo -MD -MP -MF "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Tpo" -c -o ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo `test -f 'ldap/servers/plugins/othercrypto/othercrypto.c' || echo '$(srcdir)/'`ldap/servers/plugins/othercrypto/othercrypto.c; \ - at am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Tpo" "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Plo"; else rm -f "ldap/servers/plugins/othercrypto/$(DEPDIR)/libothercrypto_plugin_la-othercrypto.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/plugins/othercrypto/othercrypto.c' object='ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo' libtool=yes @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libothercrypto_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/othercrypto/libothercrypto_plugin_la-othercrypto.lo `test -f 'ldap/servers/plugins/othercrypto/othercrypto.c' || echo '$(srcdir)/'`ldap/servers/plugins/othercrypto/othercrypto.c - ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo: ldap/servers/plugins/pam_passthru/pam_ptconfig.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpam_passthru_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo -MD -MP -MF "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Tpo" -c -o ldap/servers/plugins/pam_passthru/libpam_passthru_plugin_la-pam_ptconfig.lo `test -f 'ldap/servers/plugins/pam_passthru/pam_ptconfig.c' || echo '$(srcdir)/'`ldap/servers/plugins/pam_passthru/pam_ptconfig.c; \ @am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Tpo" "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Plo"; else rm -f "ldap/servers/plugins/pam_passthru/$(DEPDIR)/libpam_passthru_plugin_la-pam_ptconfig.Tpo"; exit 1; fi @@ -6418,13 +6329,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpresence_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/presence/libpresence_plugin_la-presence.lo `test -f 'ldap/servers/plugins/presence/presence.c' || echo '$(srcdir)/'`ldap/servers/plugins/presence/presence.c -ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo: ldap/servers/plugins/pwderror/pwderror-plugin.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpwderror_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo -MD -MP -MF "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Tpo" -c -o ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo `test -f 'ldap/servers/plugins/pwderror/pwderror-plugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/pwderror/pwderror-plugin.c; \ - at am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Tpo" "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Plo"; else rm -f "ldap/servers/plugins/pwderror/$(DEPDIR)/libpwderror_plugin_la-pwderror-plugin.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/plugins/pwderror/pwderror-plugin.c' object='ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo' libtool=yes @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpwderror_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/pwderror/libpwderror_plugin_la-pwderror-plugin.lo `test -f 'ldap/servers/plugins/pwderror/pwderror-plugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/pwderror/pwderror-plugin.c - ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo: ldap/servers/plugins/pwdstorage/clear_pwd.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpwdstorage_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo -MD -MP -MF "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Tpo" -c -o ldap/servers/plugins/pwdstorage/libpwdstorage_plugin_la-clear_pwd.lo `test -f 'ldap/servers/plugins/pwdstorage/clear_pwd.c' || echo '$(srcdir)/'`ldap/servers/plugins/pwdstorage/clear_pwd.c; \ @am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Tpo" "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Plo"; else rm -f "ldap/servers/plugins/pwdstorage/$(DEPDIR)/libpwdstorage_plugin_la-clear_pwd.Tpo"; exit 1; fi @@ -7629,13 +7533,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libviews_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/views/libviews_plugin_la-views.lo `test -f 'ldap/servers/plugins/views/views.c' || echo '$(srcdir)/'`ldap/servers/plugins/views/views.c -ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo: ldap/servers/plugins/xor/xorplugin.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libxor_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo -MD -MP -MF "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Tpo" -c -o ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo `test -f 'ldap/servers/plugins/xor/xorplugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/xor/xorplugin.c; \ - at am__fastdepCC_TRUE@ then mv -f "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Tpo" "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Plo"; else rm -f "ldap/servers/plugins/xor/$(DEPDIR)/libxor_plugin_la-xorplugin.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldap/servers/plugins/xor/xorplugin.c' object='ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo' libtool=yes @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libxor_plugin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ldap/servers/plugins/xor/libxor_plugin_la-xorplugin.lo `test -f 'ldap/servers/plugins/xor/xorplugin.c' || echo '$(srcdir)/'`ldap/servers/plugins/xor/xorplugin.c - ldap/servers/slapd/tools/dbscan_bin-dbscan.o: ldap/servers/slapd/tools/dbscan.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dbscan_bin_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ldap/servers/slapd/tools/dbscan_bin-dbscan.o -MD -MP -MF "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Tpo" -c -o ldap/servers/slapd/tools/dbscan_bin-dbscan.o `test -f 'ldap/servers/slapd/tools/dbscan.c' || echo '$(srcdir)/'`ldap/servers/slapd/tools/dbscan.c; \ @am__fastdepCC_TRUE@ then mv -f "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Tpo" "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Po"; else rm -f "ldap/servers/slapd/tools/$(DEPDIR)/dbscan_bin-dbscan.Tpo"; exit 1; fi @@ -8893,11 +8790,9 @@ -rm -rf ldap/servers/plugins/distrib/.libs ldap/servers/plugins/distrib/_libs -rm -rf ldap/servers/plugins/dna/.libs ldap/servers/plugins/dna/_libs -rm -rf ldap/servers/plugins/http/.libs ldap/servers/plugins/http/_libs - -rm -rf ldap/servers/plugins/othercrypto/.libs ldap/servers/plugins/othercrypto/_libs -rm -rf ldap/servers/plugins/pam_passthru/.libs ldap/servers/plugins/pam_passthru/_libs -rm -rf ldap/servers/plugins/passthru/.libs ldap/servers/plugins/passthru/_libs -rm -rf ldap/servers/plugins/presence/.libs ldap/servers/plugins/presence/_libs - -rm -rf ldap/servers/plugins/pwderror/.libs ldap/servers/plugins/pwderror/_libs -rm -rf ldap/servers/plugins/pwdstorage/.libs ldap/servers/plugins/pwdstorage/_libs -rm -rf ldap/servers/plugins/referint/.libs ldap/servers/plugins/referint/_libs -rm -rf ldap/servers/plugins/replication/.libs ldap/servers/plugins/replication/_libs @@ -8909,7 +8804,6 @@ -rm -rf ldap/servers/plugins/syntaxes/.libs ldap/servers/plugins/syntaxes/_libs -rm -rf ldap/servers/plugins/uiduniq/.libs ldap/servers/plugins/uiduniq/_libs -rm -rf ldap/servers/plugins/views/.libs ldap/servers/plugins/views/_libs - -rm -rf ldap/servers/plugins/xor/.libs ldap/servers/plugins/xor/_libs -rm -rf ldap/servers/slapd/.libs ldap/servers/slapd/_libs -rm -rf ldap/servers/slapd/back-ldbm/.libs ldap/servers/slapd/back-ldbm/_libs -rm -rf lib/base/.libs lib/base/_libs @@ -9252,16 +9146,12 @@ -rm -f ldap/servers/plugins/dna/$(am__dirstamp) -rm -f ldap/servers/plugins/http/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/http/$(am__dirstamp) - -rm -f ldap/servers/plugins/othercrypto/$(DEPDIR)/$(am__dirstamp) - -rm -f ldap/servers/plugins/othercrypto/$(am__dirstamp) -rm -f ldap/servers/plugins/pam_passthru/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/pam_passthru/$(am__dirstamp) -rm -f ldap/servers/plugins/passthru/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/passthru/$(am__dirstamp) -rm -f ldap/servers/plugins/presence/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/presence/$(am__dirstamp) - -rm -f ldap/servers/plugins/pwderror/$(DEPDIR)/$(am__dirstamp) - -rm -f ldap/servers/plugins/pwderror/$(am__dirstamp) -rm -f ldap/servers/plugins/pwdstorage/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/pwdstorage/$(am__dirstamp) -rm -f ldap/servers/plugins/referint/$(DEPDIR)/$(am__dirstamp) @@ -9284,8 +9174,6 @@ -rm -f ldap/servers/plugins/uiduniq/$(am__dirstamp) -rm -f ldap/servers/plugins/views/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/plugins/views/$(am__dirstamp) - -rm -f ldap/servers/plugins/xor/$(DEPDIR)/$(am__dirstamp) - -rm -f ldap/servers/plugins/xor/$(am__dirstamp) -rm -f ldap/servers/slapd/$(DEPDIR)/$(am__dirstamp) -rm -f ldap/servers/slapd/$(am__dirstamp) -rm -f ldap/servers/slapd/back-ldbm/$(DEPDIR)/$(am__dirstamp) @@ -9324,7 +9212,7 @@ distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/othercrypto/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwderror/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/! $(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/plugins/xor/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/servers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/$(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/se! rvers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags @@ -9358,7 +9246,7 @@ maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/othercrypto/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwderror/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/! $(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/plugins/xor/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/servers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/bitwise/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/dna/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/$(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/se! rvers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/servers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic From fedora-directory-commits at redhat.com Fri Jun 15 22:11:17 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 15 Jun 2007 18:11:17 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src create_instance.c, 1.58, 1.59 ds_newinst.pl.in, 1.7, 1.8 Message-ID: <200706152211.l5FMBHBI005495@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5442/ldapserver/ldap/admin/src Modified Files: create_instance.c ds_newinst.pl.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server Reviewed by: nhosoi (Thanks!) Fix Description: 1) Since we moved the o=NetscapeRoot code out of cfg_sspt.c, we no longer need to create the suffix and backend in create_instance.c 2) Added code to enable/disable dialogs e.g. for dialogs that can change the flow conditionally 3) Added code to allow the user to backup to the first prompt on a dialog, for dialogs with many prompts 4) Allow continuation lines in Resource files, instead of having to have embedded \n chars. This allows easier editing and layout. 5) Added an addSuffix function 6) Moved the register_servers.pl code from admin server into DS Util.pm and made it a little more general purpose. Platforms tested: RHEL4 Index: create_instance.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- create_instance.c 7 Jun 2007 22:40:14 -0000 1.58 +++ create_instance.c 15 Jun 2007 22:11:15 -0000 1.59 @@ -3404,12 +3404,6 @@ fprintf(f, "cn: tasks\n"); fprintf(f, "\n"); - /* Entries for the ldbm instances and mapping tree */ - if ( cf->netscaperoot && !cf->use_existing_config_ds) - { - suffix_gen_conf(f, cf->netscaperoot, "NetscapeRoot"); - } - if (!cf->use_existing_user_ds) { suffix_gen_conf(f, cf->suffix, "userRoot"); Index: ds_newinst.pl.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_newinst.pl.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ds_newinst.pl.in 7 Jun 2007 22:40:14 -0000 1.7 +++ ds_newinst.pl.in 15 Jun 2007 22:11:15 -0000 1.8 @@ -189,7 +189,7 @@ # process command line arguments for (@ARGV) { - if (/^(\w+).(\w+)=(.*)$/) { # e.g. section.param=value + if (/^(\w+)\.(\w+)=(.*)$/) { # e.g. section.param=value $table{$1}->{$2} = $3; } else { # file? readInfFile($_); From fedora-directory-commits at redhat.com Fri Jun 15 22:11:18 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 15 Jun 2007 18:11:18 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Dialog.pm, 1.2, 1.3 DialogManager.pm, 1.1, 1.2 Resource.pm, 1.2, 1.3 Setup.pm.in, 1.2, 1.3 Util.pm, 1.1, 1.2 setup-ds.res.in, 1.2, 1.3 Message-ID: <200706152211.l5FMBIeu005503@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5442/ldapserver/ldap/admin/src/scripts Modified Files: Dialog.pm DialogManager.pm Resource.pm Setup.pm.in Util.pm setup-ds.res.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server Reviewed by: nhosoi (Thanks!) Fix Description: 1) Since we moved the o=NetscapeRoot code out of cfg_sspt.c, we no longer need to create the suffix and backend in create_instance.c 2) Added code to enable/disable dialogs e.g. for dialogs that can change the flow conditionally 3) Added code to allow the user to backup to the first prompt on a dialog, for dialogs with many prompts 4) Allow continuation lines in Resource files, instead of having to have embedded \n chars. This allows easier editing and layout. 5) Added an addSuffix function 6) Moved the register_servers.pl code from admin server into DS Util.pm and made it a little more general purpose. Platforms tested: RHEL4 Index: Dialog.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Dialog.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Dialog.pm 12 Jun 2007 21:08:20 -0000 1.2 +++ Dialog.pm 15 Jun 2007 22:11:15 -0000 1.3 @@ -106,6 +106,21 @@ return $self->{type} <= $self->{"manager"}->{type}; } +sub isEnabled { + my $self = shift; + return !defined($self->{disabled}); +} + +sub enable { + my $self = shift; + delete $self->{disabled}; +} + +sub disable { + my $self = shift; + $self->{disabled} = 1; +} + # each prompt looks like this: # [ 'resource key', is pwd, hide ] # The resource key is the string key of the resource @@ -135,7 +150,7 @@ my $prompt = $prompts[$index]; my $defaultans = $self->{defaultAns}($self, $index); my $ans; - if ($self->isDisplayed() && !$promtpt->[2]) { + if ($self->isDisplayed() && !$prompt->[2]) { $ans = $self->{manager}->showPrompt($prompt->[0], $defaultans, $prompt->[1]); } else { $ans = $defaultans; @@ -155,12 +170,14 @@ # NOTE: user cannot BACK from prompt to prompt - BACK # always means BACK to the previous dialog $resp = $self->{handleResp}($self, $ans, $index); - if ($resp == $DialogManager::SAME) { + if (($resp == $DialogManager::SAME) or ($resp == $DialogManager::FIRST)) { if (!$self->isDisplayed()) { $self->{manager}->alert('dialog_use_different_type'); $resp = $DialogManager::ERR; - } else { + } elsif ($resp == $DialogManager::SAME) { $index--; # reprompt + } else { + $index = -1; # reshow first prompt on dialog } } elsif ($resp == $DialogManager::ERR) { last; Index: DialogManager.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DialogManager.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DialogManager.pm 8 Jun 2007 01:09:16 -0000 1.1 +++ DialogManager.pm 15 Jun 2007 22:11:15 -0000 1.2 @@ -46,10 +46,11 @@ use SetupLog; # Dialog responses -$BACK = -1; -$SAME = 0; -$NEXT = 1; -$ERR = 2; +$FIRST = -2; # go back to first prompt on a dialog +$BACK = -1; # go back to previous dialog +$SAME = 0; # reshow the same prompt or dialog +$NEXT = 1; # go to the next dialog +$ERR = 2; # fatal error # The DialogManager controls the flow of the dialogs and contains context shared # among all of the dialogs (resources, logs, current setup type, etc.) @@ -199,18 +200,20 @@ while (!$done) { my $dialog = $self->{dialogs}->[$index]; - my $resp = $NEXT; - $resp = $dialog->run(); - if ($resp == $BACK) { - $incr = -1; - } elsif ($resp == $NEXT) { - $incr = 1; - } elsif ($resp == $SAME) { - $incr = 0; - } else { - $self->handleError($resp); - $done = 1; - $rc = 1; + if ($dialog->isEnabled()) { + my $resp = $NEXT; + $resp = $dialog->run(); + if ($resp == $BACK) { + $incr = -1; + } elsif ($resp == $NEXT) { + $incr = 1; + } elsif (($resp == $SAME) or ($resp == $FIRST)) { + $incr = 0; + } else { + $self->handleError($resp); + $done = 1; + $rc = 1; + } } $index += $incr; if ($index < 0) { Index: Resource.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Resource.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Resource.pm 8 Jun 2007 20:36:53 -0000 1.2 +++ Resource.pm 15 Jun 2007 22:11:15 -0000 1.3 @@ -74,19 +74,45 @@ } for my $filename (@{$self->{filenames}}) { + my $incontinuation = 0; + my $curkey; open RES, $filename or die "Error: could not open resource file $filename: $!"; while () { - next if (/^\s*$/); # skip blank lines - next if (/^\s*\#/); # skip comment lines + my $iscontinuation; + chop; # trim trailing newline + if (/^\s*$/) { # skip blank/empty lines + $incontinuation = 0; + next; + } + if (/^\s*\#/) { # skip comment lines + $incontinuation = 0; + next; + } # read name = value pairs like this # bol whitespace* name whitespace* '=' whitespace* value eol # the value will include any trailing whitespace - if (/^\s*(.*?)\s*=\s*(.*?)$/) { - $self->{res}->{$1} = $2; + if (/\\$/) { + chop; + $iscontinuation = 1; + } + if ($incontinuation) { + $self->{res}->{$curkey} .= "\n" . $_; + } elsif (/^\s*(.*?)\s*=\s*(.*?)$/) { # replace \n with real newline - $self->{res}->{$1} =~ s/\\n/\n/g; + if ($curkey) { + $self->{res}->{$curkey} =~ s/\\n/\n/g; + } + $curkey = $1; + $self->{res}->{$curkey} = $2; + } + if ($iscontinuation) { # if line ends with a backslash, continue the data on the next line + $incontinuation = 1; + } else { + $incontinuation = 0; } } + # replace \n with real newline + $self->{res}->{$curkey} =~ s/\\n/\n/g; close RES; } } Index: Setup.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Setup.pm.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Setup.pm.in 12 Jun 2007 21:08:20 -0000 1.2 +++ Setup.pm.in 15 Jun 2007 22:11:15 -0000 1.3 @@ -147,7 +147,7 @@ # arguments override those passed in via an inf file - this # allows the reuse of .inf files with some parameters overridden for (@ARGV) { - if (/^(\w+).(\w+)=(.*)$/) { # e.g. section.param=value + if (/^(\w+)\.(\w+)=(.*)$/) { # e.g. section.param=value $self->{inf}->{$1}->{$2} = $3; } else { # error print STDERR "Error: unknown command line option $_\n"; @@ -202,6 +202,21 @@ exit 1; } +# get a list of the directory servers in configdir +sub getDirServers { + my $self = shift; + if (!$self->{dirservers}) { + $self->{dirservers} = []; + for my $dir (glob("$self->{configdir}/slapd-*")) { + if (-d $dir) { + push @{$self->{dirservers}}, $dir; + } + } + } + return @{$self->{dirservers}}; +} + + ############################################################################# # Mandatory TRUE return value. # Index: Util.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Util.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Util.pm 8 Jun 2007 01:09:16 -0000 1.1 +++ Util.pm 15 Jun 2007 22:11:15 -0000 1.2 @@ -37,10 +37,18 @@ # package Util; + +use Mozilla::LDAP::Conn; +use Mozilla::LDAP::Utils qw(normalizeDN); +use Mozilla::LDAP::API; # Direct access to C API +use Mozilla::LDAP::LDIF; + require Exporter; @ISA = qw(Exporter); - at EXPORT = qw(portAvailable getAvailablePort isValidDN); - at EXPORT_OK = qw(portAvailable getAvailablePort isValidDN); + at EXPORT = qw(portAvailable getAvailablePort isValidDN addSuffix getMappedEntries + process_maptbl check_and_add_entry getMappedEntries); + at EXPORT_OK = qw(portAvailable getAvailablePort isValidDN addSuffix getMappedEntries + process_maptbl check_and_add_entry getMappedEntries); use strict; @@ -79,4 +87,526 @@ return ($dn =~ /^[0-9a-zA-Z_-]+=.*$/); } +sub debug { + print @_, "\n"; +} + +# delete the subtree starting from the passed entry +sub delete_all +{ + my ($conn, $bentry) = @_; + my $sentry = $conn->search($bentry->{dn}, + "subtree", "(objectclass=*)", 0, ("dn")); + my @mystack = (); + while ($sentry) { + push @mystack, $sentry->getDN(); + $sentry = $conn->nextEntry(); + } + # reverse order + my $dn = pop @mystack; + while ($dn) { + $conn->delete($dn); + my $rc = $conn->getErrorCode(); + if ( $rc != 0 ) { + $conn->printError(); + print "ERROR: unable to delete entry $dn, error code: $rc\n"; + return 1; + } + $dn = pop @mystack; + } + return 0; +} + +my %ignorelist = ( + "modifytimestamp", "modifyTimestamp", + "createtimestamp", "createTimestamp", + "installationtimestamp", "installationTimestamp", + "creatorsname", "creatorsName", + "modifiersname", "modifiersName", + "numsubordinates", "numSubordinates" +); + +my %speciallist = ( + "uniquemember", 1 +); + +# compare 2 entries +# return 0 if they match 100% (exception: %ignorelist). +# return 1 if they match except %speciallist. +# return -1 if they do not match. +sub comp_entries +{ + my ($e0, $e1) = @_; + my $rc = 0; + foreach my $akey ( keys %{$e0} ) + { + next if ( $ignorelist{lc($akey)} ); + my $aval0 = $e0->{$akey}; + my $aval1 = $e1->{$akey}; + my $amin; + my $amax; + my $a0max = $#{$aval0}; + my $a1max = $#{$aval1}; + if ( $a0max != $a1max ) + { + if ( $speciallist{lc($akey)} ) + { + $rc = 1; + if ( $a0max < $a1max ) + { + $amin = $a0max; + $amax = $a1max; + } + else + { + $amin = $a1max; + $amax = $a0max; + } + } + else + { + $rc = -1; + return $rc; + } + } + my @sval0 = sort { $a cmp $b } @{$aval0}; + my @sval1 = sort { $a cmp $b } @{$aval1}; + for ( my $i = 0; $i <= $amin; $i++ ) + { + my $isspecial = -1; + if ( $sval0[$i] ne $sval1[$i] ) + { + if ( 0 > $isspecial ) + { + $isspecial = $speciallist{lc($akey)}; + } + if ( $isspecial ) + { + $rc = 1; + } + else + { + $rc = -1; + return $rc; + } + } + } + } + return $rc; +} + +# if the entry does not exist on the server, add the entry. +# otherwise, do nothing +# you can use this as the callback to getMappedEntries, so +# that for each entry in the ldif file being processed, you +# can call this subroutine to add or update the entry +# use like this: +# getMappedEntries($mapper, \@ldiffiles, \&check_and_add_entry, +# [$conn, $fresh, $verbose]); +# where $conn is a perldap Conn +# $fresh if true will update the entry if it exists +# $verbose prints out more info +sub check_and_add_entry +{ + my ($context, $aentry) = @_; + my $conn = $context->[0]; + my $fresh = $context->[1]; + my $verbose = $context->[2]; + my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)"); + do + { + my $needtoadd = 1; + my $needtomod = 0; + my $rval = -1; + if ( $sentry && !$fresh ) + { + $rval = comp_entries( $sentry, $aentry ); + } + if ( 0 == $rval && !$fresh ) + { + # the identical entry exists on the configuration DS. + # no need to add the entry. + $needtoadd = 0; + goto out; + } + elsif ( (1 == $rval) && !$fresh ) + { + $needtoadd = 0; + $needtomod = 1; + } + elsif ( $sentry && $sentry->{dn} ) + { + # $fresh || $rval == -1 + # an entry having the same DN exists, but the attributes do not + # match. remove the entry and the subtree underneath. + if ( $verbose ) + { + print "Deleting an entry dn: $sentry->{dn} ...\n"; + } + $rval = delete_all($conn, $sentry); + if ( 0 != $rval ) + { + return 0; + } + } + + if ( 1 == $needtoadd ) + { + $conn->add($aentry); + my $rc = $conn->getErrorCode(); + if ( $rc != 0 ) + { + print "ERROR: adding an entry $aentry->{dn} failed, error code: $rc\n"; + print "[entry]\n"; + $aentry->printLDIF(); + $conn->close(); + return 0; + } +# if ( $verbose ) +# { +# print "Entry $aentry->{dn} is added\n"; +# } + } + elsif ( 1 == $needtomod ) # $sentry exists + { + foreach my $attr ( keys %speciallist ) + { + foreach my $nval ( @{$aentry->{$attr}} ) + { + $sentry->addValue( $attr, $nval ); + } + } + $conn->update($sentry); + my $rc = $conn->getErrorCode(); + if ( $rc != 0 ) + { + print "ERROR: updating an entry $sentry->{dn} failed, error code: $rc\n"; + print "[entry]\n"; + $aentry->printLDIF(); + $conn->close(); + return 0; + } + } + if ( $sentry ) + { + $sentry = $conn->nextEntry(); # supposed to have no more entries + } + } until ( !$sentry ); +out: + return 1; +} + +# the default callback used with getMappedEntries +# just adds the given entry to the given list +sub cbaddent { + my $list = shift; + my $ent = shift; + push @{$list}, $ent; + return 1; +} + +# given a mapper and a list of LDIF files, produce a list of +# perldap Entry objects which have had their tokens subst-ed +# with values from the mapper +# An optional callback can be supplied. Each entry will be +# given to this callback. The callback should return a list +# of localizable errors. If no callback is supplied, the +# entries will be returned in a list. +# Arguments: +# mapper - a hash ref - the keys are the tokens to replace +# and the values are the replacements +# ldiffiles - an array ref - the list of LDIF files to +# operate on +# callback (optional) - a code ref - a ref to a subroutine +# that will be called with each entry - see below +# context (optional) - this will be passed as the first +# argument to your given callback - see below +# errs (optional) - an array ref - This is how errors +# are returned to the caller - see below +# Callback: +# The callback sub will be called for each entry after +# the entry has been converted. The callback will be +# called with the given context as the first argument +# and the Mozilla::LDAP::Entry as the second argument, +# and an errs array ref as the third argument. The +# callback should return true to continue processing, +# or false if a fatal error was encountered that should +# abort processing of any further. +# Errors: +# This function should return an array of errors in the +# format described below, for use with Resource::getText(). +# If the callback returns any errors +# Return: +# The return value is a list of entries. +# Example usage: +# sub handle_entries { +# my $context = shift; +# my $entry = shift; +# .... do something with entry .... +# .... if $context is Mozilla::LDAP::Conn, $conn->add($entry); ... +# .... report errors .... +# if ($fatalerror) { +# return 0; +# } else { +# return 1; +# } +# } +# $mapper = {foo => 'bar', baz => 'biff'}; +# @ldiffiles = ('foo.ldif', 'bar.ldif', ..., 'biff.ldif'); +# $conn = new Mozilla::LDAP::Conn(...); +# @entries = getMappedEntries($mapper, \@ldiffiles, \&handle_entries, $conn); +# Note that this will return 0 entries since a callback was used. +# The simpler example is this: +# @entries = getMappedEntries($mapper, \@ldiffiles); +# +sub getMappedEntries { + my $mapper = shift; + my $ldiffiles = shift; + my $callback = shift || \&cbaddent; # default - just add entry to @entries + my @entries = (); + my $context = shift || \@entries; + my $error; + + if (!ref($ldiffiles)) { + $ldiffiles = [ $ldiffiles ]; + } + + foreach my $ldiffile (@{$ldiffiles}) { + open(MYLDIF, "< $ldiffile") or die "Can't open $ldiffile : $!"; + my $in = new Mozilla::LDAP::LDIF(*MYLDIF); + debug("Processing $ldiffile ..."); + ENTRY: while (my $entry = Mozilla::LDAP::LDIF::readOneEntry($in)) { + # first, fix the DN + my $dn = $entry->getDN(); + my $origdn = $dn; + while ( $dn =~ /%([\w_-]+)%/ ) { + if (exists($mapper->{$1})) { + $dn =~ s{%([\w_-]+)%}{$mapper->{$1}}ge; + } else { + print "ERROR: \"$origdn\" mapped to \"$dn\".\n"; + print "The LDIF file $ldiffile contains a token $1 for which there is no mapper.\n"; + print "Please check $ldiffile and your mapper to make sure all tokens are handled correctly.\n"; + $error = 1; + last ENTRY; + } + } + $entry->setDN($dn); + # next, fix all of the values in all of the attributes + foreach my $attr (keys %{$entry}) { + my @newvalues = (); + foreach my $value ($entry->getValues($attr)) { + # Need to repeat to handle nested subst + my $origvalue = $value; + while ( $value =~ /%([\w_-]+)%/ ) { + if (exists($mapper->{$1})) { + $value =~ s{%([\w_-]+)%}{$mapper->{$1}}ge; + } else { + print "ERROR: \"$origvalue\" mapped to \"$value\".\n"; + print "The LDIF file $ldiffile contains a token $1 for which there is no mapper.\n"; + print "Please check $ldiffile and your mapper to make sure all tokens are handled correctly.\n"; + $error = 1; + last ENTRY; + } + } + push @newvalues, $value; + } + $entry->setValues( $attr, @newvalues ); + } + + if (!&{$callback}($context, $entry)) { + print "There was an error processing entry ", $entry->getDN(), "\n"; + print "Cannot continue processing entries.\n"; + $error = 1; + last ENTRY; + } + + } + close(MYLDIF); + last if ($error); # do not process any more ldiffiles if an error occurred + } + + return @entries; +} + +# you should only use this function if you know for sure +# that the suffix and backend do not already exist +# use addSuffix instead +sub newSuffixAndBackend { + my $context = shift; + my $suffix = shift; + my $bename = shift; + my $nsuffix = normalizeDN($suffix); + my @errs; + + my $dn = "cn=$bename, cn=ldbm database, cn=plugins, cn=config"; + my $entry = new Mozilla::LDAP::Entry(); + $entry->setDN($dn); + $entry->setValues('objectclass', 'top', 'extensibleObject', 'nsBackendInstance'); + $entry->setValues('cn', $bename); + $entry->setValues('nsslapd-suffix', $nsuffix); + $context->add($entry); + my $rc = $context->getErrorCode(); + if ($rc) { + return ('error_creating_suffix_backend', $suffix, $bename, $context->getErrorString()); + } + + $entry = new Mozilla::LDAP::Entry(); + $dn = "cn=\"$nsuffix\", cn=mapping tree, cn=config"; + $entry->setDN($dn); + $entry->setValues('objectclass', 'top', 'extensibleObject', 'nsMappingTree'); + $entry->setValues('cn', "\"$nsuffix\""); + $entry->setValues('nsslapd-state', 'backend'); + $entry->setValues('nsslapd-backend', $bename); + $context->add($entry); + $rc = $context->getErrorCode(); + if ($rc) { + return ('error_creating_suffix', $suffix, $context->getErrorString()); + } + + return (); +} + +sub findbecb { + my $entry = shift; + my $attrs = shift; + return $entry->hasValue('objectclass', $attrs->[0], 1) && + $entry->hasValue('cn', $attrs->[1], 1); +} + +sub findBackend { + my $context = shift; + my $bename = shift; + my $ent; + if (ref($context) eq 'Mozilla::LDAP::Conn') { + $ent = $context->search("cn=ldbm database,cn=plugins,cn=config", "one", + "(&(objectclass=nsBackendInstance)(cn=$bename)") + } else { + $ent = $context->search("cn=ldbm database,cn=plugins,cn=config", "one", + \&findbecb, ['nsBackendInstance', $bename]) + } +} + +sub findsuffixcb { + my $entry = shift; + my $attrs = shift; + return $entry->hasValue('cn', $attrs->[0], 1) || + $entry->hasValue('cn', $attrs->[1], 1); +} + +sub findSuffix { + my $context = shift; + my $suffix = shift; + my $nsuffix = normalizeDN($suffix); + my $ent; + if (ref($context) eq 'Mozilla::LDAP::Conn') { + $ent = $context->search("cn=mapping tree,cn=config", "one", + "(|(cn=\"$suffix\")(cn=\"$nsuffix\"))"); + } else { + $ent = $context->search("cn=mapping tree,cn=config", "one", + \&findsuffixcb, ["\"$suffix\"", "\"$nsuffix\""]) + } +} + +sub getUniqueBackendName { + my $context = shift; + my $bename = "backend"; + my $index = 0; + my $ent = findBackend($context, ($bename . $index)); + while ($ent) { + ++$index; + $ent = findBackend($context, ($bename . $index)); + } + + return $bename.$index; +} + +sub addSuffix { + my $context = shift; # Conn + my $suffix = shift; + my $bename = shift; # optional + my $ent; + + if ($bename && ($ent = findBackend($context, $bename))) { + return ('backend_already_exists', $bename, $ent->getDN()); + } + + if ($ent = findSuffix($context, $suffix)) { + return ('suffix_already_exists', $suffix, $ent->getDN()); + } + + if (!$bename) { + $bename = getUniqueBackendName($context); + } + + my @errs = newSuffixAndBackend($context, $suffix, $bename); + + return @errs; +} + +# process map table +# [map table sample] +# fqdn = FullMachineName +# hostname = `use Sys::Hostname; $returnvalue = hostname();` +# ds_console_jar ="%normbrand%-ds-%ds_version%.jar" +# +# * If the right-hand value is in ` (backquote), the value is eval'ed by perl. +# The output should be stored in $returnvalue to pass to the internal hash. +# * If the right-hand value is in " (doublequote), the value is passed as is. +# * If the right-hand value is not in any quote, the value should be found +# in either of the setup inf file (static) or the install inf file (dynamic). +# * Variables surrounded by @ (e.g., @admin_confdir@) are replaced with the +# system path at the compile time. +# * The right-hand value can contain variables surrounded by % (e.g., %asid%) +# which refers the right-hand value (key) of this map file. +# The %token% tokens are replaced in getMappedEntries +sub process_maptbl +{ + my ($mapper, @infdata) = @_; + + if (defined($mapper->{""})) { + $mapper = $mapper->{""}; # side effect of Inf with no sections + } + + KEY: foreach my $key (keys %{$mapper}) + { + my $value = $mapper->{$key}; + if ($value =~ /^\"/) + { + $value =~ tr/\"//d; # value is a regular double quoted string - remove quotes + $mapper->{$key} = $value; + } + elsif ($value =~ /^\`/) + { + $value =~ tr/\`//d; # value is a perl expression to eval + my $returnvalue; # set in eval expression + eval $value; + $mapper->{$key} = $returnvalue; # perl expression sets $returnvalue + } + else + { + # get the value from one of the Inf passed in + my $infsection; + foreach my $thisinf (@infdata) + { + foreach my $section0 (keys %{$thisinf}) + { + $infsection = $thisinf->{$section0}; + next if (!ref($infsection)); + if (defined($infsection->{$value})) + { + $mapper->{$key} = $infsection->{$value}; + next KEY; + } + } + } + if (!defined($infsection->{$value})) + { + print "ERROR: $value not found in the .inf files\n"; + return {}; + } + } + } + return $mapper; +} + 1; Index: setup-ds.res.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/setup-ds.res.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- setup-ds.res.in 8 Jun 2007 20:36:53 -0000 1.2 +++ setup-ds.res.in 15 Jun 2007 22:11:15 -0000 1.3 @@ -79,3 +79,9 @@ dialog_dspopulate_text = You may wish to populate your new directory instance with some data.\n"You may already have a file in LDIF format to use or some suggested\nentries can be added. If you want to import entries from an LDIF\nfile, you may type in the full path and filename at the prompt. If\nyou want the setup program to add the suggested entries, type the\nword suggest at the prompt. The suggested entries are common\ncontainer entries under your specified suffix, such as ou=People and\nou=Groups, which are commonly used to hold the entries for the persons\nand groups in your organization. If you do not want to add any of\nthese entries, type the word none at the prompt.\n\n dialog_dspopulate_prompt = Type the full path and filename, the word suggest, or the word none dialog_dspopulate_error = The file '%s' was not found. Please choose another one.\n\n + +# ----------- miscellaneous ---------------- +backend_already_exists = A database backend with the name '%s' already exists. Config entry DN '%s'. Please choose another backend name. addSuffix can generate a unique backend name if you do not specify a backend name.\n\n +suffix_already_exists = The suffix '%s' already exists. Config entry DN '%s'.\n\n +error_creating_suffix_backend = Could not create the suffix '%s'. There was an error creating the backend database named '%s' for the suffix. Error: %s\n\n +error_creating_suffix = Could not create the suffix '%s'. Error: %s\n\n From fedora-directory-commits at redhat.com Fri Jun 15 22:16:30 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 15 Jun 2007 18:16:30 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src AdminUtil.pm.in, NONE, 1.1 configdsroot.map.in, NONE, 1.1 ConfigDSDialogs.pm, NONE, 1.1 ASDialogs.pm.in, 1.1, 1.2 admin.inf.in, 1.1, 1.2 register_server.pl.in, 1.1, 1.2 setup-ds-admin.pl.in, 1.1, 1.2 setup-ds-admin.res.in, 1.1, 1.2 Message-ID: <200706152216.l5FMGUgB006542@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6427/adminserver/admserv/newinst/src Modified Files: ASDialogs.pm.in admin.inf.in register_server.pl.in setup-ds-admin.pl.in setup-ds-admin.res.in Added Files: AdminUtil.pm.in configdsroot.map.in ConfigDSDialogs.pm Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server Reviewed by: nhosoi (Thanks!) Fix Description: Move the code out of register_servers.pl in to the DS Util.pm module. Added the ConfigDSDialogs. Added code to create the Config DS based on the register_servers code. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes, along with the rest of the new setup stuff. --- NEW FILE AdminUtil.pm.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package AdminUtil; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(getConf createConfigDS); @EXPORT_OK = qw(getConf createConfigDS); # load perldap use Mozilla::LDAP::Conn; use Mozilla::LDAP::Utils qw(normalizeDN); use Mozilla::LDAP::API qw(ldap_url_parse); use Mozilla::LDAP::LDIF; use Util; use Inf; # get the adminutil client configuration (adm.conf) # the file is in LDIF format # just return as a hash ref for easy key/value access # single valued attributes will have a single string value # multi valued attributes will have an array ref value sub getConf { my $dir = shift; my $ret = {}; if (! -d $dir) { warn "Config directory $dir does not exist"; return $ret; } $dir = "$dir/admin-serv"; if (! -d $dir) { warn "Config directory $dir does not exist"; return $ret; } my $fname = "$dir/adm.conf"; if (-f $fname) { open( ADMCONF, "$fname" ) || die "Can't open $fname: $!"; my $in = new Mozilla::LDAP::LDIF(*ADMCONF); while (my $ent = readOneEntry $in) { foreach my $attr (keys %{$ent}) { my @vals = $ent->getValues($attr); if (@vals > 1) { $ret->{$attr} = \@vals; # value is array ref } else { $ret->{$attr} = $vals[0]; # value is single string } } } close ADMCONF; $ret->{configdir} = $dir; } return $ret; } # pset info is from the local.conf file, also in LDIF format sub getPset { my $admConf = shift; my $ret = {}; my $fname = "$admConf->{configdir}/local.conf"; if (-f $fname) { open( LOCALCONF, "$fname" ) || die "Can't open $fname: $!"; my $in = new Mozilla::LDAP::LDIF(*LOCALCONF); while ($ent = readOneEntry $in) { foreach my $attr (keys %{$ent}) { my @vals = $ent->getValues($attr); if (@vals > 1) { $ret->{$attr} = \@vals; # value is array ref } else { $ret->{$attr} = $vals[0]; # value is single string } } } close LOCALCONF; } return $ret; } sub getAdmpw { my $admConf = shift; my $ret = {}; my $fname = "$admConf->{configdir}/admpw"; if (-f $fname) { open( ADMPW, "$fname" ) || die "Can't open $fname: $!"; while (my $line = ) { ($ret->{ServerAdminID}, $ret->{ServerAdminPwd}) = split /:/; last; } close ADMPW; } return $ret; } sub getCertDir { my $configdir = shift; # for now, same as admin server config dir return "$configdir/admin-serv"; } sub getConfigDSConn { my $url = shift; my $id = shift; my $pwd = shift; my $configdir = shift; my $errs = shift; # for output errs - an array ref my $certdir; my $h = ldap_url_parse($url); my $host = $h->{host}; my $port = $h->{port}; my $basedn = $h->{dn}; if ($h->{options} & LDAP_URL_OPT_SECURE) { $certdir = getCertDir($configdir); } # first try anon bind # 3 is LDAPv3 - 1 means use nspr my $conn = new Mozilla::LDAP::Conn($h->{host}, $h->{port}, "", "", $certdir, 0, 3, 1); my $errstr = "Success"; if ($conn) { $errstr = $conn->getErrorString(); } if (!$conn or ($errstr ne "Success")) { if ($conn) { $conn->close(); $conn = 0; } push @{$errs}, 'configds_open_error', $url, (($errstr eq "Success") ? 'unknown error' : $errstr); return $conn; } # if $id is not a dn, look up the dn if ($id !~ /=/) { my $ent = $conn->search($h->{dn}, "sub", "(uid=$id)", 1, 'dn'); $errstr = $conn->getErrorString(); if (!$ent or ($errstr ne "Success")) { $conn->close(); $conn = 0; push @{$errs}, 'configds_finddn_error', $id, $url, (($errstr eq "Success") ? 'unknown error' : $errstr); return $conn; } $id = $ent->getDN(); } if (!$conn->simpleAuth($id, $pwd)) { $errstr = $conn->getErrorString(); $conn->close(); $conn = 0; if ($errstr =~ /constraint/i) { push @{$errs}, 'configds_bindretry_error', $id, $url; } else { push @{$errs}, 'configds_bind_error', $id, $url, (($errstr eq "Success") ? 'unknown error' : $errstr); } } return $conn; } sub verifyAdminDomain { my $conn = shift; my $url = shift; my $domain = shift; my $h = ldap_url_parse($url); my $dn = "ou=$domain, $h->{dn}"; my $ent = $conn->search($dn, "base", "(objectclass=*)", 1, 'dn'); my $errstr = $conn->getErrorString(); if (!$ent or ($errstr ne "Success")) { return ('configds_no_admindomain', $domain, $h->{dn}, (($errstr eq "Success") ? 'unknown error' : $errstr)); } return (); } # Take the slapd server instance specified in the slapd section of the given inf # and make it into a configuration directory server sub createConfigDS { my $inf = shift; my $res = shift; # open a connection to the directory server my $conn = new Mozilla::LDAP::Conn($inf->{General}->{FullMachineName}, $inf->{slapd}->{ServerPort}, $inf->{slapd}->{RootDN}, $inf->{slapd}->{RootDNPwd}); # add the NetscapeRoot suffix my @errs = addSuffix($conn, "o=NetscapeRoot", "NetscapeRoot"); if (@errs) { print $res->getText(@errs); $conn->close(); return 0; } # add the o=NetscapeRoot tree using the mapper and ldif templates my @ldiffiles = ('@ldifdir@/01nsroot.ldif.tmpl', '@ldifdir@/02globalpreferences.ldif.tmpl' ); my $setupinf = new Inf("@infdir@/setup.inf"); my $admininf = new Inf("@infdir@/admin.inf"); my $dsinf = new Inf("@infdir@/slapd.inf"); my $mapper = new Inf("@infdir@/configdsroot.map"); $mapper = process_maptbl($mapper, ($inf, $dsinf, $admininf, $setupinf)); if (!$mapper) { $conn->close(); print $res->getText('error_creating_configds_maptbl'); return 0; } getMappedEntries($mapper, \@ldiffiles, \&check_and_add_entry, [$conn, 1]); $conn->close(); return 1; } --- NEW FILE configdsroot.map.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # Use this map with 01nsroot.ldif.tmpl and 02globalpreferences.ldif.tmpl, to # set up a directory server to be a Configuration Directory Server. This map # tells how to replace %...% tokens in those ldif.tmpl files. # # [Parameter resolution rules] # * If the right-hand value is in ` (backquote), the value is eval'ed by perl. # The output should be stored in $returnvalue to pass to the internal hash. # * If the right-hand value is in " (doublequote), the value is passed as is. # * If the right-hand value is not in any quote, the value should be found # in either of the setup inf file (static) or the install inf file (dynamic). # * Variables surrounded by @ (e.g., @configdir@) are replaced with the # system path at the compile time. # * The right-hand value can contain variables surrounded by % (e.g., %asid%) # which refers the right-hand value (key) of this map file. # fqdn = FullMachineName domain = AdminDomain brand = Brand normbrand = NormBrand uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = ; chomp $returnvalue; close(UNAMEA);` uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = ; chomp $returnvalue; close(UNAMEM);` configroot = "CONFIG ROOT -- replace me" as_uid = ServerAdminID as_passwd = ServerAdminPwd asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_version = Version ds_version = Version ds_port = ServerPort ds_secure_port ="636" ds_suffix = Suffix ds_console_jar ="%normbrand%-ds-%ds_version%.jar" --- NEW FILE ConfigDSDialogs.pm --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package ConfigDSDialogs; use strict; use Net::Domain qw(hostfqdn); use DialogManager; use Setup; use Dialog; use Util; sub verifyConfigDSInfo { my $self = shift; my $url = $self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL}; my $certdir; my @errs; if ($url =~ /^ldaps/) { if (!$self->{manager}->{inf}->{General}->{certdb} and !$self->{manager}->{inf}->{General}->{CACertificate}) { return ('dialog_configdsinfo_nocacert'); } if (!$self->{manager}->{inf}->{General}->{certdb}) { (@errs) = AdminUtil::importCACert($self->{manager}->{setup}->{configdir}, $self->{manager}->{inf}->{General}->{CACertificate}); if (@errs) { return @errs; } } } my $conn = AdminUtil::getConfigDSConn($url, $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminID}, $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminPwd}, $self->{manager}->{setup}->{configdir}, \@errs); if (@errs or !$conn) { $conn->close() if ($conn); return @errs if (@errs); return ('dialog_configdsinfo_unreachable', $url); } (@errs) = AdminUtil::verifyAdminDomain($conn, $url, $self->{manager}->{inf}->{General}->{AdminDomain}); $conn->close(); return @errs; } my $configdsinfo = new Dialog ( $TYPICAL, 'dialog_configdsinfo_text', sub { my $self = shift; my $index = shift; if ($index == 0) { # the url my $url = $self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL}; if (!defined($url)) { my $host = $self->{manager}->{inf}->{General}->{FullMachineName} || hostfqdn; my $port = $self->{manager}->{inf}->{slapd}->{ServerPort} || 389; if (!portAvailable($port)) { $port = getAvailablePort(); } my $suffix = "o=NetscapeRoot"; $url = "ldap://$host:$port/$suffix"; } return $url; } elsif ($index == 1) { # the id return $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminID} || "admin"; } elsif ($index == 2) { # the password return undef; } elsif ($index == 3) { # admin domain my $admindomain = $self->{manager}->{inf}->{General}->{AdminDomain}; if (!defined($admindomain)) { $admindomain = $self->{manager}->{inf}->{General}->{FullMachineName} || hostfqdn; $admindomain =~ s/^.*\.//; # just the domain part } return $admindomain; } else { # the CA cert my $url = $self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL}; if (($url !~ /^ldaps/) or $self->{manager}->{inf}->{General}->{certdb}) { # not using LDAPS, or already have a certdb - hide CA prompt $self->{prompts}->[4]->[2] = 1; } else { $self->{prompts}->[4]->[2] = 0; # unhide CA prompt } return $self->{manager}->{inf}->{General}->{CACertificate}; } }, sub { my $self = shift; my $ans = shift; my $index = shift; my $res = $DialogManager::SAME; if ($index == 0) { # validate URL? $self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL} = $ans; my $url = $self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL}; if (($url !~ /^ldaps/) or $self->{manager}->{inf}->{General}->{certdb}) { # not using LDAPS, or already have a certdb - hide CA prompt $self->{prompts}->[4]->[2] = 1; } else { $self->{prompts}->[4]->[2] = 0; # unhide CA prompt } $res = $DialogManager::NEXT; } elsif ($index == 1) { # id $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminID} = $ans; $res = $DialogManager::NEXT; } elsif ($index == 2) { # pwd my $test = $ans; if ($test) { $test =~ s/\s//g; } if (!$ans or (length($test) != length($ans))) { $self->{manager}->alert("dialog_configdsadmin_invalid"); } else { $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminPwd} = $ans; $res = $DialogManager::NEXT; } } elsif ($index == 3) { # admin domain $self->{manager}->{inf}->{General}->{AdminDomain} = $ans; $res = $DialogManager::NEXT; } else { # CA cert filename if ($ans && length($ans) && ! -f $ans) { $self->{manager}->alert("dialog_configdsinfo_ca_error", $ans); } else { $self->{manager}->{inf}->{General}->{CACertificate} = $ans; $res = $DialogManager::NEXT; } } if (($index == 4) && ($res == $DialogManager::NEXT)) { my (@text) = verifyConfigDSInfo($self); if (@text) { $self->{manager}->alert(@text); $self->{manager}->alert('dialog_configdsinfo_tryagain'); $res = $DialogManager::FIRST; } } return $res; }, ['dialog_configdsinfo_url_prompt'], ['dialog_configdsinfo_id_prompt'], ['dialog_configdsinfo_pwd_prompt', 1], ['dialog_configdsinfo_domain_prompt'], ['dialog_configdsinfo_ca_prompt'] ); my $configdsadmin = new Dialog ( $EXPRESS, 'dialog_configdsadmin_text', sub { my $self = shift; my $index = shift; my $id; if ($index == 0) { # return undef for password defaults $id = $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminID}; if (!defined($id)) { $id = "admin" } } return $id; }, sub { my $self = shift; my $ans = shift; my $index = shift; my $res = $DialogManager::SAME; if ($index == 0) { # verify DN if (($ans =~ /[\x00-\x20\x22\x2b\x2c\x3d\x5c\x7f\x80-\xff]/) && !isValidDN($ans)) { $self->{manager}->alert("dialog_configdsadmin_error", $ans); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminID} = $ans; } } elsif ($index == 1) { # verify initial password my $test = $ans; if ($test) { $test =~ s/\s//g; } if (!$ans or (length($test) != length($ans))) { $self->{manager}->alert("dialog_configdsadmin_invalid"); } else { $res = $DialogManager::NEXT; $self->{firstpassword} = $ans; # save for next index } } elsif ($index == 2) { # verify second password if ($ans ne $self->{firstpassword}) { $self->{manager}->alert("dialog_configdsadmin_nomatch"); } else { $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminPwd} = $ans; $res = $DialogManager::NEXT; } } return $res; }, ['dialog_configdsadmin_prompt'], ['dialog_configdsadmin_pw1_prompt', 1], ['dialog_configdsadmin_pw2_prompt', 1] ); my $configdsadmindomain = new Dialog ( $TYPICAL, 'dialog_configdsadmindomain_text', sub { my $self = shift; my $admindomain = $self->{manager}->{inf}->{General}->{AdminDomain}; if (!defined($admindomain)) { $admindomain = $self->{manager}->{inf}->{General}->{FullMachineName} || hostfqdn; $admindomain =~ s/^.*\.//; # just the domain part } return $admindomain; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; if ($ans =~ /[\x00-\x20\x22\x2b\x2c\x3d\x5c\x7f\x80-\xff]/) { $self->{manager}->alert("dialog_configdsadmindomain_error", $ans); } elsif (isValidDN($ans)) { $self->{manager}->alert("dialog_configdsadmindomain_notadn", $ans); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{General}->{AdminDomain} = $ans; } return $res; }, ['dialog_configdsadmindomain_prompt'] ); my $useconfigds = new DialogYesNo ( $TYPICAL, 'dialog_useconfigds_text', sub { my $self = shift; my $yes = $self->{"manager"}->getText("yes"); my $nno = $self->{"manager"}->getText("no"); my $ret = 0; if (!defined($self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}) and !defined($self->{manager}->{inf}->{slapd}->{UseExistingMC})) { $ret = 0; # implicitly create the config ds } elsif (($yes =~ /^$self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}/i) or !$self->{manager}->{inf}->{slapd}->{UseExistingMC}) { # we have to set up the directory server as the config ds $self->{manager}->{inf}->{slapd}->{SlapdConfigForMC} = "yes"; $self->{manager}->{inf}->{slapd}->{UseExistingMC} = 0; $ret = 0; # explicitly create the config ds } else { $ret = 1; # use an existing config ds and register the servers with that one if (exists($self->{manager}->{inf}->{slapd}->{SlapdConfigForMC})) { delete $self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}; } $self->{manager}->{inf}->{slapd}->{UseExistingMC} = 1; } return $ret; }, sub { my $self = shift; my $ans = shift; my $res = $self->handleResponse($ans); if ($res == $DialogManager::NEXT) { if ($self->isYes()) { if (exists($self->{manager}->{inf}->{slapd}->{SlapdConfigForMC})) { delete $self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}; } $self->{manager}->{inf}->{slapd}->{UseExistingMC} = 1; $configdsinfo->enable(); # use it $configdsadmin->disable(); $configdsadmindomain->disable(); } else { $self->{manager}->{inf}->{slapd}->{SlapdConfigForMC} = "yes"; $self->{manager}->{inf}->{slapd}->{UseExistingMC} = 0; $configdsinfo->disable(); # ignore it $configdsadmin->enable(); $configdsadmindomain->enable(); } } return $res; }, ['dialog_useconfigds_prompt'], ); sub getDialogs { return ($useconfigds, $configdsinfo, $configdsadmin, $configdsadmindomain); } 1; Index: ASDialogs.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/ASDialogs.pm.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ASDialogs.pm.in 8 Jun 2007 22:49:18 -0000 1.1 +++ ASDialogs.pm.in 15 Jun 2007 22:16:28 -0000 1.2 @@ -45,6 +45,28 @@ use Dialog; use Util; +my $asserveradmin = new Dialog ( + $SILENT, # hidden + 'none', + sub { + my $self = shift; + my $id = $self->{manager}->{inf}->{admin}->{ServerAdminID} || + $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminID}; + if (isValidDN($id)) { + $id =~ s/^(.*)=.*/$1/; + } + $self->{manager}->{inf}->{admin}->{ServerAdminID} = $id; + my $pwd = $self->{manager}->{inf}->{admin}->{ServerAdminPwd} || + $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminPwd}; + $self->{manager}->{inf}->{admin}->{ServerAdminPwd} = $pwd; + return $id; + }, + sub { + return $DialogManager::NEXT; + }, + ['none'] +); + my $asport = new Dialog ( $TYPICAL, 'dialog_asport_text', @@ -86,7 +108,11 @@ sub { my $self = shift; my $ans = shift; - $self->{manager}->{inf}->{admin}->{ServerIpAddress} = shift; + if ($ans && (length($ans) > 0)) { + $self->{manager}->{inf}->{admin}->{ServerIpAddress} = $ans; + } elsif (exists($self->{manager}->{inf}->{admin}->{ServerIpAddress})) { + delete $self->{manager}->{inf}->{admin}->{ServerIpAddress}; + } return $DialogManager::NEXT; }, ['dialog_ashostip_prompt'] @@ -154,7 +180,7 @@ ); sub getDialogs { - return ($asport, $ashostip, $assysuser); + return ($asserveradmin, $asport, $ashostip, $assysuser); } 1; Index: admin.inf.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/admin.inf.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- admin.inf.in 15 May 2007 00:30:49 -0000 1.1 +++ admin.inf.in 15 Jun 2007 22:16:28 -0000 1.2 @@ -26,6 +26,7 @@ [admin] Name= @capbrand@ Administration Server Brand= @capbrand@ +NormBrand = @brand@ Vendor=@vendor@ Version= @PACKAGE_VERSION@ NickName= admin Index: register_server.pl.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/register_server.pl.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- register_server.pl.in 13 Jun 2007 17:48:35 -0000 1.1 +++ register_server.pl.in 15 Jun 2007 22:16:28 -0000 1.2 @@ -1,3 +1,4 @@ +#!/usr/bin/env perl # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software @@ -54,351 +55,15 @@ # ...: ldif file(s) or template ldif file(s) to be stored in # the Configuration Directory Server +use lib "@perldir@"; + use Getopt::Std; use Net::Domain qw(hostname); # PERLDAP modules use Mozilla::LDAP::Conn; -use Mozilla::LDAP::Entry; # Setup Inf module use Inf; - -# process map table -# [map table sample] -# fqdn = FullMachineName -# hostname = `use Sys::Hostname; $returnvalue = hostname();` -# ds_console_jar ="%normbrand%-ds-%ds_version%.jar" -# -# * If the right-hand value is in ` (backquote), the value is eval'ed by perl. -# The output should be stored in $returnvalue to pass to the internal hash. -# * If the right-hand value is in " (doublequote), the value is passed as is. -# * If the right-hand value is not in any quote, the value should be found -# in either of the setup inf file (static) or the install inf file (dynamic). -# * Variables surrounded by @ (e.g., @admin_confdir@) are replaced with the -# system path at the compile time. -# * The right-hand value can contain variables surrounded by % (e.g., %asid%) -# which refers the right-hand value (key) of this map file. -sub process_maptbl -{ - ($mapper, @infdata) = @_; - - foreach $section (keys %{$mapper}) - { - my $thissection = \%{%{$mapper}->{$section}}; - foreach $key (keys %{$thissection}) - { - my $value = $thissection->{$key}; - if ($value =~ /^\"/) - { - $value =~ tr/\"//d; - $thissection->{$key} = $value; - } - elsif ($value =~ /^\`/) - { - $value =~ tr/\`//d; - eval $value; - $thissection->{$key} = $returnvalue; - } - else - { - my $infsection; - foreach my $thisinf (@infdata) - { - foreach my $section0 (keys %{$thisinf}) - { - $infsection = \%{%{$thisinf}->{$section0}}; - if ("" ne $infsection->{$value}) - { - $thissection->{$key} = $infsection->{$value}; - goto nextkey; - } - } - } - if ("" eq $infsection->{$value}) - { - print "ERROR: $value not found in the .inf files\n"; - return NULL; - } - } -nextkey: - } - } - return $mapper; -} - -# delete the subtree starting from the passed entry -sub delete_all -{ - my ($conn, $bentry) = @_; - my $sentry = $conn->search($bentry->{dn}, - "subtree", "(objectclass=*)", 0, ("dn")); - while ($sentry) { - push @mystack, ($sentry); - $sentry = $conn->nextEntry(); - } - # reverse order - my $myentry = pop @mystack; - while ($myentry) { - $conn->delete($myentry->{dn}); - $rc = $conn->getErrorCode(); - if ( $rc ne 0 ) { - $conn->printError(); - print "ERROR: unable to delete entry, error code: $rc\n"; - return 1; - } - $myentry = pop @mystack; - } - return 0; -} - - at ignorelist = ( - "modifyTimestamp", - "createTimestamp", - "installationTimestamp", - "creatorsName", - "modifiersName", - "numSubordinates" -); - - at speciallist = ( - "uniqueMember" -); - -sub is_in_array -{ - my ($val, $array) = @_; - foreach my $elem ($array) - { - if ( lc($val) eq lc($elem) ) - { - return 1; - } - } - return 0; -} - -# compare 2 entries -# return 0 if they match 100% (exception: @ignorelist). -# return 1 if they match except @speciallist. -# return -1 if they do not match. -sub comp_entries -{ - my ($e0, $e1) = @_; - $rc = 0; - foreach $akey ( keys %{$e0} ) - { - next if ( 1 == is_in_array($akey, @ignorelist) ); - $aval0 = $e0->{$akey}; - $aval1 = $e1->{$akey}; - my $amin; - my $amax; - if ( $#aval0 != $#aval1 ) - { - if ( 1 == is_in_array($akey, @speciallist) ) - { - $rc = 1; - if ( $#aval0 < $#aval1 ) - { - $amin = $#aval0; - $amax = $#aval1; - } - else - { - $amin = $#aval1; - $amax = $#aval0; - } - } - else - { - $rc = -1; - return $rc; - } - } - @sval0 = sort { $a cmp $b } @{$aval0}; - @sval1 = sort { $a cmp $b } @{$aval1}; - for ( my $i = 0; $i <= $amin; $i++ ) - { - my $isspecial = -1; - if ( $sval0[$i] ne $sval1[$i] ) - { - if ( 0 > $isspecial ) - { - $isspecial = is_in_array($akey, @speciallist); - } - if ( $isspecial ) - { - $rc = 1; - } - else - { - $rc = -1; - return $rc; - } - } - } - } - return $rc; -} - -# if the entry does not exist on the server, add the entry. -# otherwise, do nothing -sub check_and_add_entry -{ - my ($conn, $aentry) = @_; - my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)"); - do - { - my $needtoadd = 1; - my $needtomod = 0; - my $rval = -1; - if ( NULL != $sentry && !$confds_fresh ) - { - $rval = comp_entries( $sentry, $aentry ); - } - if ( 0 == $rval && !$confds_fresh ) - { - # the identical entry exists on the configuration DS. - # no need to add the entry. - $needtoadd = 0; - goto out; - } - elsif ( 1 == $rval && !$confds_fresh ) - { - $needtoadd = 0; - $needtomod = 1; - } - elsif ( NULL != $sentry && "" ne $sentry->{dn} ) - { - # $confds_fresh || $rval == -1 - # an entry having the same DN exists, but the attributes do not - # match. remove the entry and the subtree underneath. - if ( $confds_verbose ) - { - print "Deleting an entry dn: $sentry->{dn} ...\n"; - } - $rval = delete_all($conn, $sentry); - if ( 0 != $rval ) - { - return 1; - } - } - - if ( 1 == $needtoadd ) - { - $conn->add($aentry); - my $rc = $conn->getErrorCode(); - if ( $rc != 0 ) - { - print "ERROR: adding an entry $aentry->{dn} failed, error code: $rc\n"; - print "[entry]\n"; - $aentry->printLDIF(); - $conn->close(); - return 1; - } -# if ( $confds_verbose ) -# { -# print "Entry $aentry->{dn} is added\n"; -# } - } - elsif ( 1 == $needtomod ) # $sentry exists - { - foreach $attr ( @speciallist ) - { - foreach $nval ( @{$aentry->{$attr}} ) - { - $sentry->addValue( $attr, $nval ); - } - } - $conn->update($sentry); - my $rc = $conn->getErrorCode(); - if ( $rc != 0 ) - { - print "ERROR: updating an entry $sentry->{dn} failed, error code: $rc\n"; - print "[entry]\n"; - $aentry->printLDIF(); - $conn->close(); - return 1; - } - } - if ( NULL != $sentry ) - { - $sentry = $conn->nextEntry(); # supposed to have no more entries - } - } until ( NULL == $sentry ); -out: - return 0; -} - -# register server info from the template ldif files -sub register_serverinfo -{ - my ($conn, $mapper, @ldiffiles) = @_; - my $thissection = \%{%{$mapper}->{""}}; - - foreach my $ldiffile (@ldiffiles) - { - open(MYLDIF, "< $ldiffile") or die "Can't open $ldiffile : $!"; - if ( $confds_verbose ) - { - print "Processing $ldiffile ...\n"; - } - my $entry = NULL; - while ( my $l = ) - { - chop $l; - if ( "$l" eq "" ) - { - next if ( NULL == $entry ); - check_and_add_entry($conn, $entry); - $entry->DESTROY(); - $entry = NULL; - } - elsif ( "$l" =~ /^dn:/ ) - { - $entry = new Mozilla::LDAP::Entry(); - my ($h, $dn) = split(/: /, $l, 2); - # Need to repeat to handle nested subst - my $origdn = $dn; - while ( $dn =~ /%([A-Za-z_]+)%/ ) - { - $dn =~ s{%([A-Za-z_]+)%}{$thissection->{$1} || "SERVER_INFO_NOTFOUND"}ge; - } - if ( $dn =~ /SERVER_INFO_NOTFOUND/ ) - { - print "ERROR: \"$origdn\" mapped to \"$dn\".\n"; - print "Make sure that %value% replaced by SERVER_INFO_NOTFOUND exists in $mapfile.\n"; - return 1; - } - $entry->setDN($dn); - } - else - { - my ($key, $value) = split(/: /, $l, 2); - # Need to repeat to handle nested subst - my $origvalue = $value; - while ( $value =~ /%([A-Za-z_]+)%/ ) - { - $value =~ s{%([A-Za-z_]+)%}{$thissection->{$1} || "SERVER_INFO_NOTFOUND"}ge; - } - if ( $value =~ /SERVER_INFO_NOTFOUND/ ) - { - print "ERROR: \"$origvalue\" mapped to \"$value\"\n"; - print "Make sure that %value% replaced by SERVER_INFO_NOTFOUND exists in $mapfile.\n"; - return 1; - } - $entry->addValue( $key, "$value" ) - } - } - close(MYLDIF); - if ( NULL != $entry ) - { - check_and_add_entry($conn, $entry); - $entry->DESTROY(); - $entry = NULL; - } - } - - return 0; -} +use Util; $USAGE = "$0 [ -Fv ] [ -h ] [ -p ] [ -D ] \ @@ -434,7 +99,7 @@ $confds_host = $opt_h; if ( "" eq $confds_host ) { - $confds_host = hostname(); + $confds_host = hostfqdn(); } $confds_port = $opt_p; if ( "" eq $confds_port ) @@ -528,9 +193,9 @@ exit 1; } - # register server info - my $rc = register_serverinfo($conn, $mapper, @ldiffiles); - if ( 0 != $rc ) + my @ents = getMappedEntries($mapper, \@ldiffiles, \&check_and_add_entry, + [$conn, $confds_fresh, $confds_verbose]); + if ( @ents ) { print "ERROR: failed to register server info\n"; return 1; Index: setup-ds-admin.pl.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup-ds-admin.pl.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setup-ds-admin.pl.in 8 Jun 2007 22:49:18 -0000 1.1 +++ setup-ds-admin.pl.in 15 Jun 2007 22:16:28 -0000 1.2 @@ -46,22 +46,77 @@ use Inf; use Resource; use DialogManager; +use AdminUtil; my $setup = new Setup; +my $res = new Resource("@propertydir@/setup-ds.res", + "@propertydir@/setup-ds-admin.res"); + +# see what directory server instances we already have configured +my @dirservers = $setup->getDirServers(); + +# see if there is already a configds +my $admConf = AdminUtil::getConf($setup->{configdir}); + +# set defaults +if ($admConf && %{$admConf}) { + $setup->{inf}->{General}->{ConfigDirectoryLdapURL} = $admConf->{ldapurl}; + $setup->{inf}->{General}->{ConfigDirectoryAdminID} = $admConf->{userdn}; + $setup->{inf}->{General}->{AdminDomain} = $admConf->{AdminDomain}; + $setup->{inf}->{General}->{SuiteSpotUserID} = $admConf->{SuiteSpotUserID}; + $setup->{inf}->{General}->{SuiteSpotGroup} = $admConf->{SuiteSpotGroup}; + + $setup->{inf}->{admin}->{SysUser} = $admConf->{sysuser}; + # read additional config from config DS + my $pset = AdminUtil::getPset($admConf); + if ($pset && %{$pset}) { + $setup->{inf}->{admin}->{Port} = $pset->{"configuration.nsServerPort"}; + $setup->{inf}->{admin}->{ServerIpAddress} = $pset->{"configuration.nsServerAddress"}; + } + my $admpw = AdminUtil::getAdmpw($admConf); + if ($admpw && %{$admpw}) { + $setup->{inf}->{admin}->{ServerAdminID} = $admpw->{ServerAdminID}; + $setup->{inf}->{admin}->{ServerAdminPwd} = $admpw->{ServerAdminPwd}; + } + + # default to using the existing config DS + $setup->{inf}->{slapd}->{UseExistingMC} = 1; + $setup->{inf}->{slapd}->{SlapdConfigForMC} = 0; +} + if (!$setup->{silent}) { - my $res = new Resource("@propertydir@/setup-ds.res", - "@propertydir@/setup-ds-admin.res"); my $dialogmgr = new DialogManager($setup, $res, $TYPICAL); require SetupDialogs; require DSDialogs; + require ConfigDSDialogs; require ASDialogs; my @dialogs = SetupDialogs->getDialogs(); + push @dialogs, ConfigDSDialogs->getDialogs(); push @dialogs, DSDialogs->getDialogs(); push @dialogs, ASDialogs->getDialogs(); + my $readytoproceed = new DialogYesNo ( + $EXPRESS, + 'dialog_readytoproceed_text', + 1, + sub { + my $self = shift; + my $ans = shift; + my $res = $self->handleResponse($ans); + if ($res == $DialogManager::NEXT) { + if (!$self->isYes()) { + $res = $DialogManager::BACK; + } + } + return $res; + }, + ['dialog_readytoproceed_prompt'], + ); + push @dialogs, $readytoproceed; + $dialogmgr->addDialog(@dialogs); my $rc = $dialogmgr->run(); @@ -69,24 +124,34 @@ $setup->doExit(); } -# these values are currently missing - have no UI support - ServerAdminID and Pwd -# are supposed to be derived from ConfigDirectoryAdminID and Pwd -# $setup->{inf}->{admin}->{ServerAdminID} = "admin"; -# $setup->{inf}->{admin}->{ServerAdminPwd} = "admin"; -# $setup->{inf}->{General}->{ConfigDirectoryLdapURL} = "ldap://localhost.localdomain:1100/o=NetscapeRoot"; -# $setup->{inf}->{General}->{ConfigDirectoryAdminID} = "admin"; -# $setup->{inf}->{General}->{ConfigDirectoryAdminPwd} = "admin"; -# $setup->{inf}->{General}->{AdminDomain} = "localdomain"; + print "\n\n"; +} - $setup->{inf}->write(); +if (!$setup->{inf}->{slapd}->{UseExistingMC} or + ($setup->{inf}->{slapd}->{SlapdConfigForMC} =~ /^yes/i)) { + if (!$setup->{inf}->{General}->{ConfigDirectoryLdapURL}) { + $setup->{inf}->{General}->{ConfigDirectoryLdapURL} = + "ldap://" . $setup->{inf}->{General}->{FullMachineName} . + ":" . $setup->{inf}->{slapd}->{ServerPort} . + "/o=NetscapeRoot"; + } } +$setup->{inf}->write(); + # create a directory server instance if (system("@bindir@/ds_newinst.pl $setup->{inffile}")) { print STDERR "Failed to create directory server instance\n"; $setup->{log}->logMessage($FATAL, "Setup", "Failed to create directory server instance"); } +# setup directory server instance to be the configuration DS +if ($setup->{inf}->{slapd}->{SlapdConfigForMC} =~ /yes/i) { + createConfigDS($setup->{inf}, $res); +} + +# register ds instances with config DS + # configure the admin server instance if (system("@cmdbindir@/ds-admin-update -f $setup->{inffile}")) { print STDERR "Failed to configure administration server\n"; Index: setup-ds-admin.res.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup-ds-admin.res.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setup-ds-admin.res.in 8 Jun 2007 22:49:18 -0000 1.1 +++ setup-ds-admin.res.in 15 Jun 2007 22:16:28 -0000 1.2 @@ -22,3 +22,61 @@ dialog_assysuser_error = The user '%s' is invalid.\n\n dialog_assysuser_must_be_same = Since you are not running setup as root, the user must be the same as your userid '%s'.\n\n dialog_assysuser_root_warning = You are strongly encouraged to use a non-root user for\nthe server uid. If you feel you have made a mistake,\nplease go back to this dialog and enter another user.\n\n + +# ----------- Use Config DS Dialog Resource ---------------- +dialog_useconfigds_text = Server information is stored in the configuration directory server.\nThis information is used by the console and administration server to\nconfigure and manage your servers. If you have already set up a\nconfiguration directory server, you should register any servers you\nset up or create with the configuration server. To do so, the\nfollowing information about the configuration server is required: the\nfully qualified host name of the form\n.(e.g. hostname.example.com), the port number\n(default 389), the suffix, the DN and password of a user having\npermission to write the configuration information, usually the\nconfiguration directory administrator, and if you are using security\n(TLS/SSL). If you are using TLS/SSL, specify the TLS/SSL (LDAPS) port\nnumber (default 636) instead of the regular LDAP port number, and\nprovide the CA certificate (in PEM/ASCII format).\n\nIf you do not yet have a configuration directory serve! r, enter 'No' to\nbe prompted to set up one.\n\n + +dialog_useconfigds_prompt = Do you want to register this software with an existing\nconfiguration directory server? + +# ----------- Config DS info Dialog Resource ---------------- +dialog_configdsinfo_text = Please specify the information about your configuration directory\ +server. The following information is required:\ +- host (fully qualified), port (non-secure or secure), suffix,\ + protocol (ldap or ldaps) - this information should be provided in the\ + form of an LDAP url e.g. for non-secure\ +ldap://host.example.com:389/o=NetscapeRoot\ + or for secure\ +ldaps://host.example.com:636/o=NetscapeRoot\ +- admin ID and password\ +- admin domain\ +- a CA certificate file may be required if you choose to use ldaps and\ + security has not yet been configured - the file must be in PEM/ASCII\ + format - specify the absolute path and filename\n\n + +dialog_configdsinfo_url_prompt = Configuration directory server URL +dialog_configdsinfo_id_prompt = Configuration directory server admin ID +dialog_configdsinfo_pwd_prompt = Configuration directory server admin password +dialog_configdsinfo_domain_prompt = Configuration directory server admin domain +dialog_configdsinfo_ca_prompt = CA certificate filename +dialog_configdsinfo_ca_error = '%s' is not a valid CA certificate file. Please choose another one.\n\n +dialog_configdsinfo_nocacert = You chose to use LDAPS but there is no CA certificate or certificate database. Please chose ldap for the protocol or provide a valid CA certificate.\n\n +dialog_configdsinfo_unreachable = The server '%s' is not reachable. Please make sure it is running and listening, or choose another one.\n\n +dialog_configdsinfo_tryagain = Please try again, in case you mis-typed something.\n\n + +# ----------- Config DS admin id and password Dialog Resource ---------------- +dialog_configdsadmin_text = Please enter the administrator ID for the configuration directory\nserver. This is the ID typically used to log in to the console. You\nwill also be prompted for the password.\n\n +dialog_configdsadmin_prompt = Configuration directory server\nadministrator ID +dialog_configdsadmin_pw1_prompt = Password +dialog_configdsadmin_pw2_prompt = Password (again) +dialog_configdsadmin_error = The input '%s' is not a valid ID. Please choose another one.\n\n +dialog_configdsadmin_invalid = The password contains invalid characters. Please choose another one.\n\n +dialog_configdsadmin_nomatch = The passwords do not match. Please try again.\n\n + + +# ----------- Config DS admin domain Dialog Resource ---------------- +dialog_configdsadmindomain_text = The information stored in the configuration directory server can be\nseparated into different Administration Domains. If you are managing\nmultiple software releases at the same time, or managing information\nabout multiple domains, you may use the Administration Domain to keep\nthem separate.\n\nIf you are not using administrative domains, press Enter to select the\ndefault. Otherwise, enter some descriptive, unique name for the\nadministration domain, such as the name of the organization\nresponsible for managing the domain.\n\n + +dialog_configdsadmindomain_prompt = Administration Domain +dialog_configdsadmindomain_error = The string '%s' is not a valid administration domain. Please choose another one.\n\n +dialog_configdsadmindomain_notadn = The administration domain must not be a DN. The string '%s' looks like a DN. Please choose another one.\n\n + +# other messages +configds_open_error = The server '%s' is not reachable. Error: %s\n\n +configds_finddn_error = Could not find the user '%s' in the server '%s'. Error: %s\n\n +configds_bindretry_error = You have made too many unsuccessful attempts to authenticate as '%s' to the server '%s'. Please contact the administrator for that server.\n\n +configds_bind_error = Could not authenticate as user '%s' to server '%s'. Error: %s\n\n +configds_no_admindomain = Could not find the admin domain '%s' under '%s'. Error: %s\n\n + +dialog_readytoproceed_text = The interactive phase is complete. The script will now set up your\ +servers. Enter No or go Back if you want to change something.\n\n +dialog_readytoproceed_prompt = Are you ready to set up your servers? From fedora-directory-commits at redhat.com Fri Jun 15 22:16:31 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 15 Jun 2007 18:16:31 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 10dsdata.ldif.tmpl, 1.1, 1.2 Message-ID: <200706152216.l5FMGVOB006571@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6427/adminserver/admserv/schema/ldif Modified Files: 10dsdata.ldif.tmpl Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server Reviewed by: nhosoi (Thanks!) Fix Description: Move the code out of register_servers.pl in to the DS Util.pm module. Added the ConfigDSDialogs. Added code to create the Config DS based on the register_servers code. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes, along with the rest of the new setup stuff. Index: 10dsdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/10dsdata.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 10dsdata.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 10dsdata.ldif.tmpl 15 Jun 2007 22:16:29 -0000 1.2 @@ -29,7 +29,7 @@ serverRoot: %ds_serverroot% nsServerPort: %ds_port% nsSecureServerPort: %ds_secure_port% -serverProductName: Directory Server (%hostname%) +serverProductName: Directory Server (%dsid%) serverVersionNumber: %ds_version% nsSuiteSpotUser: %ds_user% serverHostName: %fqdn% From fedora-directory-commits at redhat.com Fri Jun 15 22:16:31 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 15 Jun 2007 18:16:31 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.9, 1.10 configure.ac, 1.6, 1.7 aclocal.m4, 1.6, 1.7 configure, 1.8, 1.9 missing, 1.4, 1.5 install-sh, 1.4, 1.5 depcomp, 1.4, 1.5 compile, 1.4, 1.5 Makefile.in, 1.9, 1.10 config.sub, 1.4, 1.5 config.guess, 1.4, 1.5 Message-ID: <200706152216.l5FMGVgo006557@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6427/adminserver Modified Files: Makefile.am configure.ac aclocal.m4 configure missing install-sh depcomp compile Makefile.in config.sub config.guess Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server Reviewed by: nhosoi (Thanks!) Fix Description: Move the code out of register_servers.pl in to the DS Util.pm module. Added the ConfigDSDialogs. Added code to create the Config DS based on the register_servers code. Platforms tested: RHEL4 Flag Day: no Doc impact: Yes, along with the rest of the new setup stuff. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Makefile.am 15 Jun 2007 17:13:02 -0000 1.9 +++ Makefile.am 15 Jun 2007 22:16:28 -0000 1.10 @@ -130,7 +130,10 @@ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl -inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map admserv/newinst/common/setup.inf +inf_DATA = admserv/newinst/src/admin.inf \ + admserv/newinst/common/setup.inf \ + admserv/newinst/src/register_param.map \ + admserv/newinst/src/configdsroot.map cgibin_PROGRAMS = mergeConfig admpw security ugdsconfig ReadLog start_config_ds \ config statpingserv viewdata dsconfig monreplication restartsrv \ @@ -146,7 +149,9 @@ cmdbin_PROGRAMS = ds-admin-config ds-admin-remove ds-admin-update -perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm +perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm \ + admserv/newinst/src/AdminUtil.pm \ + admserv/newinst/src/ConfigDSDialogs.pm libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) @@ -404,7 +409,9 @@ -e 's, at mimemagic\@,$(mimemagic),g' \ -e 's, at initdir\@,$(initdir),g' \ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' \ - -e 's, at perldir\@,$(perldir),g' + -e 's, at perldir\@,$(perldir),g' \ + -e 's, at infdir\@,$(infdir),g' \ + -e 's, at ldifdir\@,$(ldifdir),g' # because the source may be either httpd.conf.in or httpd-2.2.conf.in admserv/cfgstuff/httpd.conf: $(HTTPD_CONF_SRC) Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- configure.ac 15 Jun 2007 17:13:02 -0000 1.6 +++ configure.ac 15 Jun 2007 22:16:28 -0000 1.7 @@ -123,7 +123,7 @@ AC_MSG_CHECKING(for --with-instconfigdir) AC_ARG_WITH(instconfigdir, AS_HELP_STRING([--with-instconfigdir=/path], - [Base directory for instance specific writable configuration directories (default $sysconfdir/$PACKAGE_NAME)]), + [Base directory for instance specific writable configuration directories (default $sysconfdir/$PACKAGE_BASE_NAME)]), [ if test $withval = yes ; then AC_ERROR([Please specify a full path with --with-instconfigdir]) Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- aclocal.m4 13 Jun 2007 17:48:34 -0000 1.6 +++ aclocal.m4 15 Jun 2007 22:16:28 -0000 1.7 @@ -1578,10 +1578,27 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4288,6 +4305,9 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -4421,11 +4441,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) +predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) +postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -4437,7 +4457,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4517,7 +4537,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6353,6 +6373,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6385,6 +6406,7 @@ done ]) SED=$lt_cv_path_SED +AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- configure 15 Jun 2007 17:13:02 -0000 1.8 +++ configure 15 Jun 2007 22:16:28 -0000 1.9 @@ -468,7 +468,7 @@ ac_default_prefix=/opt/$PACKAGE_BASE_NAME ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS initdir shared_lib_suffix HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 initdir shared_lib_suffix HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1072,7 +1072,7 @@ --with-instconfigdir=/path Base directory for instance specific writable configuration directories (default - $sysconfdir/$PACKAGE_NAME) + $sysconfdir/$PACKAGE_BASE_NAME) Some influential environment variables: CXX C++ compiler command @@ -3824,6 +3824,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3858,6 +3859,7 @@ fi SED=$lt_cv_path_SED + echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4298,7 +4300,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4301 "configure"' > conftest.$ac_ext + echo '#line 4303 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5433,7 +5435,7 @@ # Provide some information about the compiler. -echo "$as_me:5436:" \ +echo "$as_me:5438:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6496,11 +6498,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6499: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6501: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6503: \$? = $ac_status" >&5 + echo "$as_me:6505: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6764,11 +6766,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6767: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6769: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6771: \$? = $ac_status" >&5 + echo "$as_me:6773: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6868,11 +6870,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6871: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6873: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6875: \$? = $ac_status" >&5 + echo "$as_me:6877: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8333,10 +8335,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 8342 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9213,7 +9236,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11682: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11660: \$? = $ac_status" >&5 + echo "$as_me:11686: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11757,11 +11783,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11760: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11786: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11764: \$? = $ac_status" >&5 + echo "$as_me:11790: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12289,10 +12315,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 12322 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12676,6 +12723,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -12809,11 +12859,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_CXX +predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_CXX +postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -12825,7 +12875,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12905,7 +12955,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13327,11 +13377,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13330: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13380: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13334: \$? = $ac_status" >&5 + echo "$as_me:13384: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13431,11 +13481,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13434: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13484: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13438: \$? = $ac_status" >&5 + echo "$as_me:13488: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14876,10 +14926,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 14933 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15263,6 +15334,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -15396,11 +15470,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_F77 +predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_F77 +postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -15412,7 +15486,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77 +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15492,7 +15566,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15634,11 +15708,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15637: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15711: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15641: \$? = $ac_status" >&5 + echo "$as_me:15715: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15902,11 +15976,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15905: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15979: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15909: \$? = $ac_status" >&5 + echo "$as_me:15983: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16006,11 +16080,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16009: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16083: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16013: \$? = $ac_status" >&5 + echo "$as_me:16087: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17471,10 +17545,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 17552 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17858,6 +17953,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -17991,11 +18089,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_GCJ +predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_GCJ +postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18007,7 +18105,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18087,7 +18185,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18339,6 +18437,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -18472,11 +18573,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_RC +predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_RC +postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18488,7 +18589,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18568,7 +18669,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -25513,6 +25614,7 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t +s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Makefile.in 15 Jun 2007 17:13:02 -0000 1.9 +++ Makefile.in 15 Jun 2007 22:16:28 -0000 1.10 @@ -417,6 +417,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -597,12 +598,19 @@ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl -inf_DATA = admserv/newinst/src/admin.inf admserv/newinst/src/register_param.map admserv/newinst/common/setup.inf +inf_DATA = admserv/newinst/src/admin.inf \ + admserv/newinst/common/setup.inf \ + admserv/newinst/src/register_param.map \ + admserv/newinst/src/configdsroot.map + bin_SCRIPTS = admserv/newinst/src/register_server.pl cgibin_SCRIPTS = admserv/cgi-src40/Cgi.pm nodist_cmdbin_SCRIPTS = admserv/cfgstuff/start-ds-admin admserv/cfgstuff/stop-ds-admin admserv/cfgstuff/restart-ds-admin cmdbin_SCRIPTS = admserv/newinst/src/setup-ds-admin.pl -perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm +perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm \ + admserv/newinst/src/AdminUtil.pm \ + admserv/newinst/src/ConfigDSDialogs.pm + libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) libdsa_a_SOURCES = lib/libdsa/dsalib_conf.c \ lib/libdsa/dsalib_debug.c \ @@ -822,7 +830,9 @@ -e 's, at mimemagic\@,$(mimemagic),g' \ -e 's, at initdir\@,$(initdir),g' \ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' \ - -e 's, at perldir\@,$(perldir),g' + -e 's, at perldir\@,$(perldir),g' \ + -e 's, at infdir\@,$(infdir),g' \ + -e 's, at ldifdir\@,$(ldifdir),g' all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive From fedora-directory-commits at redhat.com Fri Jun 15 22:35:27 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 15 Jun 2007 18:35:27 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cfgstuff admserv.conf.in, 1.4, 1.5 Message-ID: <200706152235.l5FMZRrk012004@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/cfgstuff In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11786 Modified Files: admserv.conf.in Log Message: Resolves: 237356 Summary: Move DS Admin Code into Admin Server (comment #70) Description: added "SetEnv LD_LIBRARY_PATH" for the CGIs Index: admserv.conf.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cfgstuff/admserv.conf.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- admserv.conf.in 15 May 2007 16:45:44 -0000 1.4 +++ admserv.conf.in 15 Jun 2007 22:35:24 -0000 1.5 @@ -29,6 +29,8 @@ ScriptAlias /dist/ "@cgibindir@/" ScriptAlias /manual/help/ "@cgibindir@/" +SetEnv LD_LIBRARY_PATH @nss_libdir@:@nspr_libdir@ + # all access is explicitly denied by default in httpd.conf # the following Directory directives turn on access for specific # directories From fedora-directory-commits at redhat.com Mon Jun 18 17:14:53 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 18 Jun 2007 13:14:53 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 00nsroot_backend.ldif.tmpl, 1.1, 1.2 Message-ID: <200706181714.l5IHErIr020250@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19938/admserv/schema/ldif Modified Files: 00nsroot_backend.ldif.tmpl Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (comment #72) Index: 00nsroot_backend.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/00nsroot_backend.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 00nsroot_backend.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 00nsroot_backend.ldif.tmpl 18 Jun 2007 17:14:50 -0000 1.2 @@ -1,3 +1,13 @@ +dn: cn=NetscapeRoot, cn=ldbm database, cn=plugins, cn=config +objectClass: top +objectClass: extensibleObject +objectClass: nsBackendInstance +cn: NetscapeRoot +nsslapd-suffix: o=NetscapeRoot +nsslapd-cachesize: -1 +nsslapd-cachememsize: 10485760 +nsslapd-directory: NetscapeRoot + dn: cn="o=NetscapeRoot",cn=mapping tree,cn=config objectClass: top objectClass: extensibleObject From fedora-directory-commits at redhat.com Mon Jun 18 17:14:53 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 18 Jun 2007 13:14:53 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src register_server.pl.in, 1.2, 1.3 Message-ID: <200706181714.l5IHEr82020257@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19938/admserv/newinst/src Modified Files: register_server.pl.in Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server (comment #72) Index: register_server.pl.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/register_server.pl.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- register_server.pl.in 15 Jun 2007 22:16:28 -0000 1.2 +++ register_server.pl.in 18 Jun 2007 17:14:51 -0000 1.3 @@ -58,7 +58,7 @@ use lib "@perldir@"; use Getopt::Std; -use Net::Domain qw(hostname); +use Net::Domain qw(hostname hostfqdn); # PERLDAP modules use Mozilla::LDAP::Conn; # Setup Inf module From fedora-directory-commits at redhat.com Tue Jun 19 18:24:59 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:24:59 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/ldif template-bitwise.ldif.in, NONE, 1.1 template-dnaplugin.ldif.in, NONE, 1.1 template-ldapi-autobind.ldif.in, NONE, 1.1 template-ldapi-default.ldif.in, NONE, 1.1 template-ldapi.ldif.in, NONE, 1.1 template-pampta.ldif.in, NONE, 1.1 template-dse.ldif.in, NONE, 1.1 template-suffix-db.ldif.in, NONE, 1.1 Message-ID: <200706191824.l5JIOxeI014216@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14112/ldapserver/ldap/ldif Added Files: template-bitwise.ldif.in template-dnaplugin.ldif.in template-ldapi-autobind.ldif.in template-ldapi-default.ldif.in template-ldapi.ldif.in template-pampta.ldif.in template-dse.ldif.in template-suffix-db.ldif.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash Reviewed by: nhosoi (Thanks!) Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code. 1) Added LDIF templates for DS config. template-dse.ldif is the core minimal directory server configuration. Values can be replaced with parameters in the same style as used with register_server.pl - %token%. For the plugin entries, the plugin shared library name is now just a name. There is no more full path. The code in dynalib.c handles this case by using the compiled in PLUGINDIR. The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform. All of this allows us to do 2). 2) Added ability to run pwdhash with no server configuration. If no configuration is given, it uses the template-dse.ldif above. And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes. This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum. 3) Added defaultuser and defaultgroup. 4) Added support for continuation lines in Inf files. 5) All user visible messages during setup should be localizable Platforms tested: RHEL4 Flag Day: Yes, autotool file changes. Doc impact: Yes, along with the previous fixes for this bug. --- NEW FILE template-bitwise.ldif.in --- dn: cn=Bitwise Plugin,cn=plugins,cn=config objectClass: top objectClass: nsSlapdPlugin objectClass: extensibleObject cn: Bitwise Plugin nsslapd-pluginPath: libbitwise-plugin nsslapd-pluginInitfunc: bitwise_init nsslapd-pluginType: matchingRule nsslapd-pluginEnabled: on --- NEW FILE template-dnaplugin.ldif.in --- dn: cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject objectclass: nsContainer cn: Distributed Numeric Assignment Plugin nsslapd-plugininitfunc: dna_init nsslapd-plugintype: preoperation nsslapd-pluginenabled: off nsslapd-pluginPath: libdna-plugin --- NEW FILE template-ldapi-autobind.ldif.in --- dn: cn=config changetype: modify replace: nsslapd-ldapiautobind nsslapd-ldapiautobind: on - replace: nsslapd-ldapimaprootdn nsslapd-ldapimaprootdn: %rootdn% - replace: nsslapd-ldapimaptoentries nsslapd-ldapimaptoentries: off - replace: nsslapd-ldapiuidnumbertype nsslapd-ldapiuidnumbertype: uidNumber - replace: nsslapd-ldapigidnumbertype nsslapd-ldapigidnumbertype: gidNumber - replace: nsslapd-ldapientrysearchbase nsslapd-ldapientrysearchbase: %ds_suffix% - replace: nsslapd-ldapiautodnsuffix nsslapd-ldapiautodnsuffix: cn=peercred,cn=external,cn=auth --- NEW FILE template-ldapi-default.ldif.in --- dn: cn=config changetype: modify replace: nsslapd-ldapifilepath nsslapd-ldapifilepath: %run_dir%/slapd-%dsid%.socket - replace: nsslapd-ldapilisten nsslapd-ldapilisten: off - replace: nsslapd-ldapimaprootdn nsslapd-ldapimaprootdn: cn=Directory Manager - replace: nsslapd-ldapimaptoentries nsslapd-ldapimaptoentries: off - replace: nsslapd-ldapiuidnumbertype nsslapd-ldapiuidnumbertype: uidNumber - replace: nsslapd-ldapigidnumbertype nsslapd-ldapigidnumbertype: gidNumber - replace: nsslapd-ldapientrysearchbase nsslapd-ldapientrysearchbase: dc=example, dc=com - replace: nsslapd-ldapiautodnsuffix nsslapd-ldapiautodnsuffix: cn=peercred,cn=external,cn=auth --- NEW FILE template-ldapi.ldif.in --- dn: cn=config changetype: modify replace: nsslapd-ldapifilepath nsslapd-ldapifilepath: %ldapifilepath% - replace: nsslapd-ldapilisten nsslapd-ldapilisten: on --- NEW FILE template-pampta.ldif.in --- dn: cn=PAM Pass Through Auth,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject objectclass: pamConfig cn: PAM Pass Through Auth nsslapd-pluginpath: libpam-passthru-plugin nsslapd-plugininitfunc: pam_passthruauth_init nsslapd-plugintype: preoperation nsslapd-pluginenabled: off nsslapd-pluginLoadGlobal: true nsslapd-plugin-depends-on-type: database pamMissingSuffix: ALLOW pamExcludeSuffix: cn=config pamIDMapMethod: RDN pamIDAttr: notUsedWithRDNMethod pamFallback: FALSE pamSecure: TRUE pamService: ldapserver --- NEW FILE template-dse.ldif.in --- dn: cn=config cn: config objectclass:top objectclass:extensibleObject objectclass:nsslapdConfig nsslapd-schemadir: %schema_dir% nsslapd-lockdir: %lock_dir% nsslapd-tmpdir: %tmp_dir% nsslapd-certdir: %cert_dir% nsslapd-saslpath: %sasl_path% nsslapd-accesslog-logging-enabled: on nsslapd-accesslog-maxlogsperdir: 10 nsslapd-accesslog-mode: 600 nsslapd-accesslog-maxlogsize: 100 nsslapd-accesslog-logrotationtime: 1 nsslapd-accesslog-logrotationtimeunit: day nsslapd-accesslog-logrotationsync-enabled: off nsslapd-accesslog-logrotationsynchour: 0 nsslapd-accesslog-logrotationsyncmin: 0 nsslapd-accesslog: %log_dir%/access nsslapd-enquote-sup-oc: off nsslapd-localhost: %fqdn% nsslapd-schemacheck: 1 nsslapd-rewrite-rfc1274: off nsslapd-return-exact-case: on nsslapd-ssl-check-hostname: on nsslapd-port: %ds_port% nsslapd-localuser: %ds_user% nsslapd-errorlog-logging-enabled: on nsslapd-errorlog-mode: 600 nsslapd-errorlog-maxlogsperdir: 2 nsslapd-errorlog-maxlogsize: 100 nsslapd-errorlog-logrotationtime: 1 nsslapd-errorlog-logrotationtimeunit: week nsslapd-errorlog-logrotationsync-enabled: off nsslapd-errorlog-logrotationsynchour: 0 nsslapd-errorlog-logrotationsyncmin: 0 nsslapd-errorlog: %log_dir%/errors nsslapd-auditlog: %log_dir%/audit nsslapd-auditlog-mode: 600 nsslapd-auditlog-maxlogsize: 100 nsslapd-auditlog-logrotationtime: 1 nsslapd-auditlog-logrotationtimeunit: day nsslapd-rootdn: %rootdn% nsslapd-maxdescriptors: 1024 nsslapd-max-filter-nest-level: 40 nsslapd-rootpw: %ds_passwd% dn: cn=plugins, cn=config objectclass: top objectclass: nsContainer cn: plugins dn: cn=Password Storage Schemes,cn=plugins, cn=config objectclass: top objectclass: nsContainer cn: Password Storage Schemes dn: cn=SSHA,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SSHA nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: ssha_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=SSHA256,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SSHA256 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: ssha256_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=SSHA384,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SSHA384 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: ssha384_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=SSHA512,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SSHA512 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: ssha512_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=SHA,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SHA nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: sha_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=SHA256,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SHA256 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: sha256_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=SHA384,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SHA384 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: sha384_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=SHA512,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SHA512 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: sha512_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=CRYPT,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: CRYPT nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: crypt_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=MD5,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: MD5 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: md5_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=CLEAR,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: CLEAR nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: clear_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=NS-MTA-MD5,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: NS-MTA-MD5 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: ns_mta_md5_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on dn: cn=DES,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: DES nsslapd-pluginpath: libdes-plugin nsslapd-plugininitfunc: des_init nsslapd-plugintype: reverpwdstoragescheme nsslapd-pluginenabled: on nsslapd-pluginarg0: nsmultiplexorcredentials nsslapd-pluginarg1: nsds5ReplicaCredentials nsslapd-pluginid: des-storage-scheme dn: cn=Case Ignore String Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Case Ignore String Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: cis_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Case Exact String Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Case Exact String Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: ces_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Space Insensitive String Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Space Insensitive String Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: sicis_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Binary Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Binary Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: bin_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Octet String Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Octet String Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: octetstring_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Boolean Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Boolean Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: boolean_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Generalized Time Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Generalized Time Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: time_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Telephone Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Telephone Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: tel_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Integer Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Integer Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: int_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Distinguished Name Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Distinguished Name Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: dn_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=OID Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: OID Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: oid_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=URI Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: URI Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: uri_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=JPEG Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: JPEG Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: jpeg_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Country String Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Country String Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: country_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=Postal Address Syntax,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Postal Address Syntax nsslapd-pluginpath: libsyntax-plugin nsslapd-plugininitfunc: postal_init nsslapd-plugintype: syntax nsslapd-pluginenabled: on dn: cn=State Change Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: State Change Plugin nsslapd-pluginpath: libstatechange-plugin nsslapd-plugininitfunc: statechange_init nsslapd-plugintype: postoperation nsslapd-pluginenabled: on dn: cn=Roles Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Roles Plugin nsslapd-pluginpath: libroles-plugin nsslapd-plugininitfunc: roles_init nsslapd-plugintype: object nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: database nsslapd-plugin-depends-on-named: State Change Plugin nsslapd-plugin-depends-on-named: Views dn: cn=ACL Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: ACL Plugin nsslapd-pluginpath: libacl-plugin nsslapd-plugininitfunc: acl_init nsslapd-plugintype: accesscontrol nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: database dn: cn=ACL preoperation,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: ACL preoperation nsslapd-pluginpath: libacl-plugin nsslapd-plugininitfunc: acl_preopInit nsslapd-plugintype: preoperation nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: database dn: cn=Legacy Replication Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Legacy Replication Plugin nsslapd-pluginpath: libreplication-plugin nsslapd-plugininitfunc: replication_legacy_plugin_init nsslapd-plugintype: object nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: database nsslapd-plugin-depends-on-named: Multimaster Replication Plugin nsslapd-plugin-depends-on-named: Class of Service dn: cn=Multimaster Replication Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Multimaster Replication Plugin nsslapd-pluginpath: libreplication-plugin nsslapd-plugininitfunc: replication_multimaster_plugin_init nsslapd-plugintype: object nsslapd-pluginenabled: on nsslapd-plugin-depends-on-named: ldbm database nsslapd-plugin-depends-on-named: DES nsslapd-plugin-depends-on-named: Class of Service dn: cn=Retro Changelog Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Retro Changelog Plugin nsslapd-pluginpath: libretrocl-plugin nsslapd-plugininitfunc: retrocl_plugin_init nsslapd-plugintype: object nsslapd-pluginenabled: off nsslapd-plugin-depends-on-type: database nsslapd-plugin-depends-on-named: Class of Service dn: cn=Class of Service,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Class of Service nsslapd-pluginpath: libcos-plugin nsslapd-plugininitfunc: cos_init nsslapd-plugintype: object nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: database nsslapd-plugin-depends-on-named: State Change Plugin nsslapd-plugin-depends-on-named: Views dn: cn=Views,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Views nsslapd-pluginpath: libviews-plugin nsslapd-plugininitfunc: views_init nsslapd-plugintype: object nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: database nsslapd-plugin-depends-on-named: State Change Plugin dn: cn=referential integrity postoperation,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: referential integrity postoperation nsslapd-pluginpath: libreferint-plugin nsslapd-plugininitfunc: referint_postop_init nsslapd-plugintype: postoperation nsslapd-pluginenabled: off nsslapd-pluginArg0: 0 nsslapd-pluginArg1: %log_dir%/referint nsslapd-pluginArg2: 0 nsslapd-pluginArg3: member nsslapd-pluginArg4: uniquemember nsslapd-pluginArg5: owner nsslapd-pluginArg6: seeAlso nsslapd-plugin-depends-on-type: database dn: cn=attribute uniqueness,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: attribute uniqueness nsslapd-pluginpath: libattr-unique-plugin nsslapd-plugininitfunc: NSUniqueAttr_Init nsslapd-plugintype: preoperation nsslapd-pluginenabled: off nsslapd-pluginarg0: uid nsslapd-pluginarg1: %ds_suffix% nsslapd-plugin-depends-on-type: database dn: cn=7-bit check,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: 7-bit check nsslapd-pluginpath: libattr-unique-plugin nsslapd-plugininitfunc: NS7bitAttr_Init nsslapd-plugintype: preoperation nsslapd-pluginenabled: on nsslapd-pluginarg0: uid nsslapd-pluginarg1: mail nsslapd-pluginarg2: userpassword nsslapd-pluginarg3: , nsslapd-pluginarg4: %ds_suffix% nsslapd-plugin-depends-on-type: database dn: cn=Internationalization Plugin,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Internationalization Plugin nsslapd-pluginpath: libcollation-plugin nsslapd-plugininitfunc: orderingRule_init nsslapd-plugintype: matchingRule nsslapd-pluginenabled: on nsslapd-pluginarg0: @configdir@/slapd-collations.conf dn: cn=HTTP Client,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: HTTP Client nsslapd-pluginpath: libhttp-client-plugin nsslapd-plugininitfunc: http_client_init nsslapd-plugintype: preoperation nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: database dn: cn=Pass Through Authentication,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: Pass Through Authentication nsslapd-pluginpath: libpassthru-plugin nsslapd-plugininitfunc: passthruauth_init nsslapd-plugintype: preoperation nsslapd-pluginenabled: off nsslapd-plugin-depends-on-type: database dn: cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: ldbm database nsslapd-pluginpath: libback-ldbm nsslapd-plugininitfunc: ldbm_back_init nsslapd-plugintype: database nsslapd-pluginenabled: on nsslapd-plugin-depends-on-type: Syntax nsslapd-plugin-depends-on-type: matchingRule dn: cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: extensibleObject cn: config nsslapd-mode: 600 nsslapd-directory: %db_dir% dn: cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: extensibleObject cn: default indexes dn: cn=aci,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: aci nssystemindex: true nsindextype: pres dn: cn=cn,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: cn nssystemindex: false nsindextype: pres nsindextype: eq nsindextype: sub dn: cn=entrydn,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: entrydn nssystemindex: true nsindextype: eq dn: cn=givenName,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: givenName nssystemindex: false nsindextype: pres nsindextype: eq nsindextype: sub dn: cn=mail,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: mail nssystemindex: false nsindextype: pres nsindextype: eq nsindextype: sub dn: cn=mailAlternateAddress,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: mailAlternateAddress nssystemindex: false nsindextype: eq dn: cn=mailHost,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: mailHost nssystemindex: false nsindextype: eq dn: cn=member,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: member nssystemindex: false nsindextype: eq dn: cn=nsCalXItemId,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: nsCalXItemId nssystemindex: false nsindextype: pres nsindextype: eq nsindextype: sub dn: cn=nsLIProfileName,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: nsLIProfileName nssystemindex: false nsindextype: eq dn: cn=nsUniqueId,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: nsUniqueId nssystemindex: true nsindextype: eq dn: cn=nswcalCALID,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: nswcalCALID nssystemindex: false nsindextype: eq dn: cn=numsubordinates,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: numsubordinates nssystemindex: true nsindextype: pres dn: cn=objectclass,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: objectclass nssystemindex: true nsindextype: eq dn: cn=owner,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: owner nssystemindex: false nsindextype: eq dn: cn=parentid,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: parentid nssystemindex: true nsindextype: eq dn: cn=pipstatus,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: pipstatus nssystemindex: false nsindextype: eq dn: cn=pipuid,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: pipuid nssystemindex: false nsindextype: pres dn: cn=seeAlso,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: seeAlso nssystemindex: false nsindextype: eq dn: cn=sn,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: sn nssystemindex: false nsindextype: pres nsindextype: eq nsindextype: sub dn: cn=telephoneNumber,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: telephoneNumber nssystemindex: false nsindextype: pres nsindextype: eq nsindextype: sub dn: cn=uid,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: uid nssystemindex: false nsindextype: eq dn: cn=ntUniqueId,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: ntUniqueId nssystemindex: false nsindextype: eq dn: cn=ntUserDomainId,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: ntUserDomainId nssystemindex: false nsindextype: eq dn: cn=uniquemember,cn=default indexes, cn=config,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: nsIndex cn: uniquemember nssystemindex: false nsindextype: eq dn: cn=monitor, cn=ldbm database, cn=plugins, cn=config objectclass: top objectclass: extensibleObject cn: monitor dn: cn=database, cn=monitor, cn=ldbm database, cn=plugins, cn=config objectclass: top objectclass: extensibleObject cn: database dn: cn=chaining database,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin objectclass: extensibleObject cn: chaining database nsslapd-pluginpath: libchainingdb-plugin nsslapd-plugininitfunc: chaining_back_init nsslapd-plugintype: database nsslapd-pluginenabled: on dn: cn=config,cn=chaining database,cn=plugins,cn=config objectclass: top objectclass: extensibleObject cn: config nsTransmittedControls: 2.16.840.1.113730.3.4.2 nsTransmittedControls: 2.16.840.1.113730.3.4.9 nsTransmittedControls: 1.2.840.113556.1.4.473 nsTransmittedControls: 1.3.6.1.4.1.1466.29539.12 nsPossibleChainingComponents: cn=resource limits,cn=components,cn=config nsPossibleChainingComponents: cn=certificate-based authentication,cn=components,cn=config nsPossibleChainingComponents: cn=ACL Plugin,cn=plugins,cn=config nsPossibleChainingComponents: cn=old plugin,cn=plugins,cn=config nsPossibleChainingComponents: cn=referential integrity postoperation,cn=plugins,cn=config nsPossibleChainingComponents: cn=attribute uniqueness,cn=plugins,cn=config dn: cn=mapping tree,cn=config objectclass: top objectclass: extensibleObject cn: mapping tree dn: cn=tasks,cn=config objectclass: top objectclass: extensibleObject cn: tasks --- NEW FILE template-suffix-db.ldif.in --- # replace the Suffix token with your suffix e.g. dc=example,dc=com # replace the bename token with your backend name e.g. userRoot dn: cn=%ds_bename%,cn=ldbm database,cn=plugins,cn=config objectclass: top objectclass: extensibleObject objectclass: nsBackendInstance nsslapd-suffix: %ds_suffix% cn: %ds_bename% dn: cn="%ds_suffix%",cn=mapping tree,cn=config objectclass: top objectclass: extensibleObject objectclass: nsMappingTree cn: "%ds_suffix%" nsslapd-state: backend nsslapd-backend: %ds_bename% From fedora-directory-commits at redhat.com Tue Jun 19 18:24:59 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:24:59 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.am, 1.43, 1.44 configure.ac, 1.31, 1.32 aclocal.m4, 1.36, 1.37 configure, 1.47, 1.48 missing, 1.27, 1.28 install-sh, 1.27, 1.28 depcomp, 1.27, 1.28 compile, 1.27, 1.28 Makefile.in, 1.52, 1.53 config.sub, 1.26, 1.27 config.guess, 1.26, 1.27 Message-ID: <200706191824.l5JIOxh4014223@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14112/ldapserver Modified Files: Makefile.am configure.ac aclocal.m4 configure missing install-sh depcomp compile Makefile.in config.sub config.guess Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash Reviewed by: nhosoi (Thanks!) Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code. 1) Added LDIF templates for DS config. template-dse.ldif is the core minimal directory server configuration. Values can be replaced with parameters in the same style as used with register_server.pl - %token%. For the plugin entries, the plugin shared library name is now just a name. There is no more full path. The code in dynalib.c handles this case by using the compiled in PLUGINDIR. The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform. All of this allows us to do 2). 2) Added ability to run pwdhash with no server configuration. If no configuration is given, it uses the template-dse.ldif above. And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes. This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum. 3) Added defaultuser and defaultgroup. 4) Added support for continuation lines in Inf files. 5) All user visible messages during setup should be localizable Platforms tested: RHEL4 Flag Day: Yes, autotool file changes. Doc impact: Yes, along with the previous fixes for this bug. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.am,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- Makefile.am 15 Jun 2007 17:02:28 -0000 1.43 +++ Makefile.am 19 Jun 2007 18:24:57 -0000 1.44 @@ -1,10 +1,15 @@ # look for included m4 files in the ./m4/ directory ACLOCAL_AMFLAGS = -I m4 +NULLSTRING := +SPACE := $(NULLSTRING) # the space is between the ) and the # +COLON := $(NULLSTRING):# a colon +QUOTE := $(NULLSTRING)"# a double quote" #------------------------ # Compiler Flags #------------------------ BUILDNUM := $(shell perl $(srcdir)/buildnum.pl) +NQBUILDNUM := $(subst \,,$(subst $(QUOTE),,$(BUILDNUM))) DEBUG_DEFINES = @debug_defs@ DS_DEFINES = -DBUILD_NUM=$(BUILDNUM) DS_INCLUDES = -I$(srcdir)/ldap/include -I$(srcdir)/ldap/servers/slapd -I$(srcdir)/include -I. @@ -21,7 +26,7 @@ PATH_DEFINES = -DLOCALSTATEDIR="\"$(localstatedir)\"" -DSYSCONFDIR="\"$(sysconfdir)\"" \ -DLIBDIR="\"$(libdir)\"" -DBINDIR="\"$(bindir)\"" \ -DDATADIR="\"$(datadir)\"" -DDOCDIR="\"$(docdir)\"" \ - -DSBINDIR="\"$(sbindir)\"" -DPLUGINDIR="\"$(serverplugindir)\"" + -DSBINDIR="\"$(sbindir)\"" -DPLUGINDIR="\"$(serverplugindir)\"" -DTEMPLATEDIR="\"$(sampledatadir)\"" AM_CPPFLAGS = $(DEBUG_DEFINES) $(DS_DEFINES) $(DS_INCLUDES) $(PATH_DEFINES) PLUGIN_CPPFLAGS = $(AM_CPPFLAGS) @ldapsdk_inc@ @nss_inc@ @nspr_inc@ @@ -77,7 +82,8 @@ perldir = $(libdir)@perldir@ infdir = $(datadir)@infdir@ -shared_lib_suffix = @shared_lib_suffix@ +defaultuser=@defaultuser@ +defaultgroup=@defaultgroup@ #------------------------ # Build Products @@ -131,6 +137,14 @@ $(srcdir)/ldap/ldif/roledit.ldif \ $(srcdir)/ldap/ldif/tasks.ldif \ $(srcdir)/ldap/ldif/template.ldif \ + ldap/ldif/template-dse.ldif \ + ldap/ldif/template-suffix-db.ldif \ + ldap/ldif/template-ldapi.ldif \ + ldap/ldif/template-ldapi-default.ldif \ + ldap/ldif/template-ldapi-autobind.ldif \ + ldap/ldif/template-pampta.ldif \ + ldap/ldif/template-dnaplugin.ldif \ + ldap/ldif/template-bitwise.ldif \ $(srcdir)/ldap/servers/slapd/tools/rsearch/scripts/dbgen-FamilyNames \ $(srcdir)/ldap/servers/slapd/tools/rsearch/scripts/dbgen-GivenNames \ $(srcdir)/ldap/servers/slapd/tools/rsearch/scripts/dbgen-OrgUnits @@ -1024,8 +1038,10 @@ -e 's, at vendor\@,$(vendor),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ + -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ -e 's, at perldir\@,$(perldir),g' \ - -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' + -e 's, at defaultuser\@,$(defaultuser),g' \ + -e 's, at defaultgroup\@,$(defaultgroup),g' else fixupcmd = sed \ -e 's, at bindir\@,$(bindir),g' \ @@ -1057,8 +1073,10 @@ -e 's, at vendor\@,$(vendor),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ + -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ -e 's, at perldir\@,$(perldir),g' \ - -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' + -e 's, at defaultuser\@,$(defaultuser),g' \ + -e 's, at defaultgroup\@,$(defaultgroup),g' endif %: %.in Index: configure.ac =================================================================== RCS file: /cvs/dirsec/ldapserver/configure.ac,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- configure.ac 15 Jun 2007 17:02:29 -0000 1.31 +++ configure.ac 19 Jun 2007 18:24:57 -0000 1.32 @@ -197,6 +197,10 @@ # relative to libdir perldir=/$PACKAGE_NAME/perl +# default user, group +defaultuser=nobody +defaultgroup=nobody + AC_SUBST(configdir) AC_SUBST(sampledatadir) AC_SUBST(propertydir) @@ -207,6 +211,9 @@ AC_SUBST(perldir) AC_SUBST(infdir) +AC_SUBST(defaultuser) +AC_SUBST(defaultgroup) + # check for --with-instconfigdir AC_MSG_CHECKING(for --with-instconfigdir) AC_ARG_WITH(instconfigdir, @@ -228,7 +235,6 @@ # cygnus, mingw, or the like and using cmd.exe as the shell AM_CONDITIONAL([WINNT], false) -shared_lib_suffix=.so # Deal with platform dependent defines # relative to sysconfdir initdir=/rc.d @@ -266,7 +272,6 @@ AC_DEFINE([OS_hpux], [1], [OS HP-UX]) AC_DEFINE([_POSIX_C_SOURCE], [199506L], [POSIX revision]) AC_DEFINE([_HPUX_SOURCE], [1], [Source namespace]) - shared_lib_suffix=.sl platform="hpux" ;; sparc-sun-solaris*) @@ -302,7 +307,6 @@ ;; esac AC_SUBST(initdir) -AC_SUBST(shared_lib_suffix) AM_CONDITIONAL(HPUX,test "$platform" = "hpux") AM_CONDITIONAL(SOLARIS,test "$platform" = "solaris") Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/ldapserver/aclocal.m4,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- aclocal.m4 15 Jun 2007 17:02:29 -0000 1.36 +++ aclocal.m4 19 Jun 2007 18:24:57 -0000 1.37 @@ -1578,10 +1578,27 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4288,6 +4305,9 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -4421,11 +4441,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) +predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) +postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -4437,7 +4457,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4517,7 +4537,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6353,6 +6373,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6385,6 +6406,7 @@ done ]) SED=$lt_cv_path_SED +AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/ldapserver/configure,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- configure 15 Jun 2007 17:02:29 -0000 1.47 +++ configure 19 Jun 2007 18:24:57 -0000 1.48 @@ -465,7 +465,7 @@ #endif" ac_default_prefix=/opt/$PACKAGE_NAME -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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir infdir instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir shared_lib_suffix HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor 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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir infdir defaultuser defaultgroup instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3836,6 +3836,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3870,6 +3871,7 @@ fi SED=$lt_cv_path_SED + echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4310,7 +4312,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4313 "configure"' > conftest.$ac_ext + echo '#line 4315 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5445,7 +5447,7 @@ # Provide some information about the compiler. -echo "$as_me:5448:" \ +echo "$as_me:5450:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6508,11 +6510,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6511: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6513: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6515: \$? = $ac_status" >&5 + echo "$as_me:6517: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6776,11 +6778,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6779: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6781: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6783: \$? = $ac_status" >&5 + echo "$as_me:6785: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6880,11 +6882,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6883: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6885: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6887: \$? = $ac_status" >&5 + echo "$as_me:6889: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8345,10 +8347,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 8354 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9225,7 +9248,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11694: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11672: \$? = $ac_status" >&5 + echo "$as_me:11698: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11769,11 +11795,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11772: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11798: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11776: \$? = $ac_status" >&5 + echo "$as_me:11802: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12301,10 +12327,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 12334 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12688,6 +12735,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -12821,11 +12871,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_CXX +predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_CXX +postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -12837,7 +12887,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12917,7 +12967,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13339,11 +13389,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13342: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13392: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13346: \$? = $ac_status" >&5 + echo "$as_me:13396: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13443,11 +13493,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13446: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13496: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13450: \$? = $ac_status" >&5 + echo "$as_me:13500: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14888,10 +14938,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 14945 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15275,6 +15346,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -15408,11 +15482,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_F77 +predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_F77 +postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -15424,7 +15498,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77 +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15504,7 +15578,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15646,11 +15720,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15649: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15723: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15653: \$? = $ac_status" >&5 + echo "$as_me:15727: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15914,11 +15988,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15917: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15991: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15921: \$? = $ac_status" >&5 + echo "$as_me:15995: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16018,11 +16092,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16021: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16095: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16025: \$? = $ac_status" >&5 + echo "$as_me:16099: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17483,10 +17557,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 17564 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17870,6 +17965,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -18003,11 +18101,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_GCJ +predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_GCJ +postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18019,7 +18117,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18099,7 +18197,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18351,6 +18449,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -18484,11 +18585,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_RC +predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_RC +postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18500,7 +18601,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18580,7 +18681,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -23088,6 +23189,13 @@ # relative to libdir perldir=/$PACKAGE_NAME/perl +# default user, group +defaultuser=nobody +defaultgroup=nobody + + + + @@ -23133,7 +23241,6 @@ fi -shared_lib_suffix=.so # Deal with platform dependent defines # relative to sysconfdir initdir=/rc.d @@ -23267,7 +23374,6 @@ #define _HPUX_SOURCE 1 _ACEOF - shared_lib_suffix=.sl platform="hpux" ;; sparc-sun-solaris*) @@ -23353,7 +23459,6 @@ - if test "$platform" = "hpux"; then HPUX_TRUE= HPUX_FALSE='#' @@ -25889,6 +25994,7 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t +s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t @@ -25923,6 +26029,8 @@ s, at scripttemplatedir@,$scripttemplatedir,;t t s, at perldir@,$perldir,;t t s, at infdir@,$infdir,;t t +s, at defaultuser@,$defaultuser,;t t +s, at defaultgroup@,$defaultgroup,;t t s, at instconfigdir@,$instconfigdir,;t t s, at WINNT_TRUE@,$WINNT_TRUE,;t t s, at WINNT_FALSE@,$WINNT_FALSE,;t t @@ -25932,7 +26040,6 @@ s, at LIBCSTD@,$LIBCSTD,;t t s, at LIBCRUN@,$LIBCRUN,;t t s, at initdir@,$initdir,;t t -s, at shared_lib_suffix@,$shared_lib_suffix,;t t s, at HPUX_TRUE@,$HPUX_TRUE,;t t s, at HPUX_FALSE@,$HPUX_FALSE,;t t s, at SOLARIS_TRUE@,$SOLARIS_TRUE,;t t Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- Makefile.in 15 Jun 2007 20:22:14 -0000 1.52 +++ Makefile.in 19 Jun 2007 18:24:57 -0000 1.53 @@ -876,6 +876,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOLARIS_FALSE = @SOLARIS_FALSE@ @@ -920,6 +921,8 @@ db_libdir = @db_libdir@ db_libver = @db_libver@ debug_defs = @debug_defs@ +defaultgroup = @defaultgroup@ +defaultuser = @defaultuser@ enable_bitwise_FALSE = @enable_bitwise_FALSE@ enable_bitwise_TRUE = @enable_bitwise_TRUE@ enable_dna_FALSE = @enable_dna_FALSE@ @@ -976,7 +979,6 @@ scripttemplatedir = @scripttemplatedir@ serverdir = $(libdir)@serverdir@ serverplugindir = $(libdir)@serverplugindir@ -shared_lib_suffix = @shared_lib_suffix@ sharedstatedir = @sharedstatedir@ svrcore_inc = @svrcore_inc@ svrcore_lib = @svrcore_lib@ @@ -986,11 +988,16 @@ # look for included m4 files in the ./m4/ directory ACLOCAL_AMFLAGS = -I m4 +NULLSTRING := +SPACE := $(NULLSTRING) # the space is between the ) and the # +COLON := $(NULLSTRING):# a colon +QUOTE := $(NULLSTRING)"# a double quote" #------------------------ # Compiler Flags #------------------------ BUILDNUM := $(shell perl $(srcdir)/buildnum.pl) +NQBUILDNUM := $(subst \,,$(subst $(QUOTE),,$(BUILDNUM))) DEBUG_DEFINES = @debug_defs@ DS_DEFINES = -DBUILD_NUM=$(BUILDNUM) DS_INCLUDES = -I$(srcdir)/ldap/include -I$(srcdir)/ldap/servers/slapd -I$(srcdir)/include -I. @@ -1007,7 +1014,7 @@ PATH_DEFINES = -DLOCALSTATEDIR="\"$(localstatedir)\"" -DSYSCONFDIR="\"$(sysconfdir)\"" \ -DLIBDIR="\"$(libdir)\"" -DBINDIR="\"$(bindir)\"" \ -DDATADIR="\"$(datadir)\"" -DDOCDIR="\"$(docdir)\"" \ - -DSBINDIR="\"$(sbindir)\"" -DPLUGINDIR="\"$(serverplugindir)\"" + -DSBINDIR="\"$(sbindir)\"" -DPLUGINDIR="\"$(serverplugindir)\"" -DTEMPLATEDIR="\"$(sampledatadir)\"" AM_CPPFLAGS = $(DEBUG_DEFINES) $(DS_DEFINES) $(DS_INCLUDES) $(PATH_DEFINES) PLUGIN_CPPFLAGS = $(AM_CPPFLAGS) @ldapsdk_inc@ @nss_inc@ @nspr_inc@ @@ -1066,6 +1073,14 @@ $(srcdir)/ldap/ldif/roledit.ldif \ $(srcdir)/ldap/ldif/tasks.ldif \ $(srcdir)/ldap/ldif/template.ldif \ + ldap/ldif/template-dse.ldif \ + ldap/ldif/template-suffix-db.ldif \ + ldap/ldif/template-ldapi.ldif \ + ldap/ldif/template-ldapi-default.ldif \ + ldap/ldif/template-ldapi-autobind.ldif \ + ldap/ldif/template-pampta.ldif \ + ldap/ldif/template-dnaplugin.ldif \ + ldap/ldif/template-bitwise.ldif \ $(srcdir)/ldap/servers/slapd/tools/rsearch/scripts/dbgen-FamilyNames \ $(srcdir)/ldap/servers/slapd/tools/rsearch/scripts/dbgen-GivenNames \ $(srcdir)/ldap/servers/slapd/tools/rsearch/scripts/dbgen-OrgUnits @@ -1918,8 +1933,10 @@ @BUNDLE_FALSE@ -e 's, at vendor\@,$(vendor),g' \ @BUNDLE_FALSE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ @BUNDLE_FALSE@ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ + at BUNDLE_FALSE@ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ @BUNDLE_FALSE@ -e 's, at perldir\@,$(perldir),g' \ - at BUNDLE_FALSE@ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' + at BUNDLE_FALSE@ -e 's, at defaultuser\@,$(defaultuser),g' \ + at BUNDLE_FALSE@ -e 's, at defaultgroup\@,$(defaultgroup),g' # these are for the config files and scripts that we need to generate and replace @@ -1958,8 +1975,10 @@ @BUNDLE_TRUE@ -e 's, at vendor\@,$(vendor),g' \ @BUNDLE_TRUE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ @BUNDLE_TRUE@ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ + at BUNDLE_TRUE@ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ @BUNDLE_TRUE@ -e 's, at perldir\@,$(perldir),g' \ - at BUNDLE_TRUE@ -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' + at BUNDLE_TRUE@ -e 's, at defaultuser\@,$(defaultuser),g' \ + at BUNDLE_TRUE@ -e 's, at defaultgroup\@,$(defaultgroup),g' all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-am From fedora-directory-commits at redhat.com Tue Jun 19 18:25:00 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:25:00 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts SetupDialogs.pm.in, NONE, 1.1 Util.pm.in, NONE, 1.1 DialogManager.pm, 1.2, 1.3 Inf.pm, 1.1, 1.2 Setup.pm.in, 1.3, 1.4 setup-ds.res.in, 1.3, 1.4 SetupDialogs.pm, 1.1, NONE Util.pm, 1.2, NONE Message-ID: <200706191825.l5JIP0qB014238@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14112/ldapserver/ldap/admin/src/scripts Modified Files: DialogManager.pm Inf.pm Setup.pm.in setup-ds.res.in Added Files: SetupDialogs.pm.in Util.pm.in Removed Files: SetupDialogs.pm Util.pm Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash Reviewed by: nhosoi (Thanks!) Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code. 1) Added LDIF templates for DS config. template-dse.ldif is the core minimal directory server configuration. Values can be replaced with parameters in the same style as used with register_server.pl - %token%. For the plugin entries, the plugin shared library name is now just a name. There is no more full path. The code in dynalib.c handles this case by using the compiled in PLUGINDIR. The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform. All of this allows us to do 2). 2) Added ability to run pwdhash with no server configuration. If no configuration is given, it uses the template-dse.ldif above. And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes. This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum. 3) Added defaultuser and defaultgroup. 4) Added support for continuation lines in Inf files. 5) All user visible messages during setup should be localizable Platforms tested: RHEL4 Flag Day: Yes, autotool file changes. Doc impact: Yes, along with the previous fixes for this bug. --- NEW FILE SetupDialogs.pm.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package SetupDialogs; use strict; use DialogManager; use Setup; use Dialog; use Net::Domain qw(hostfqdn); my $welcome = new DialogYesNo ( $EXPRESS, ['dialog_welcome_text', 'brand', 'brand'], 1, sub { my $self = shift; my $ans = shift; my $res = $self->handleResponse($ans); if ($res == $DialogManager::NEXT) { $res = $DialogManager::ERR if (!$self->isYes()); } return $res; }, ['dialog_welcome_prompt'], ); my $license = new DialogYesNo ( $EXPRESS, 'dialog_license_text', 0, sub { my $self = shift; my $ans = shift; my $res = $self->handleResponse($ans); if ($res == $DialogManager::NEXT) { $res = $DialogManager::ERR if (!$self->isYes()); } return $res; }, ['dialog_license_prompt'] ); my $setuptype = new Dialog ( $EXPRESS, 'dialog_setuptype_text', sub { my $self = shift; return $self->{manager}->getType(); }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; if ($ans < $EXPRESS or $ans > $CUSTOM) { $self->{manager}->alert("dialog_setuptype_error"); } else { $res = $DialogManager::NEXT; $self->{manager}->setType($ans); } return $res; }, ['dialog_setuptype_prompt'] ); my $hostdlg = new Dialog ( $TYPICAL, 'dialog_hostname_text', sub { my $self = shift; return $self->{manager}->{inf}->{General}->{FullMachineName} || hostfqdn; }, sub { my $self = shift; my $ans = shift; my $res = $DialogManager::NEXT; if ($ans !~ /\./) { $self->{manager}->alert("dialog_hostname_warning", $ans); } $self->{manager}->{inf}->{General}->{FullMachineName} = $ans; return $res; }, ['dialog_hostname_prompt'] ); # must verify that the user or uid specified by the user to run the server as # is a valid uid sub verifyUserChoice { my $self = shift; my $ans = shift; my $res = $DialogManager::NEXT; # convert numeric uid to string my $strans = $ans; if ($ans =~ /^\d/) { # numeric - convert to string $strans = getpwuid $ans; if (!$strans) { $self->{manager}->alert("dialog_ssuser_error", $ans); return $DialogManager::SAME; } } if ($> != 0) { # if not root, the user must be our uid my $username = getlogin; if ($strans ne $username) { $self->{manager}->alert("dialog_ssuser_must_be_same", $username); return $DialogManager::SAME; } } else { # user is root - verify id my $nuid = getpwnam $strans; if (!defined($nuid)) { $self->{manager}->alert("dialog_ssuser_error", $ans); return $DialogManager::SAME; } if (!$nuid) { $self->{manager}->alert("dialog_ssuser_root_warning"); } } $self->{manager}->{inf}->{General}->{SuiteSpotUserID} = $ans; return $res; } # must verify that the given group is one of the groups the given user # belongs to sub verifyGroupChoice { my $self = shift; my $ans = shift; my $res = $DialogManager::NEXT; my ($dummy, $memstr); my $strgrp; my $numgrp; if ($ans =~ /^\d/) { # numeric $numgrp = $ans; ($strgrp, $dummy, $dummy, $memstr) = getgrgid $ans; } else { $strgrp = $ans; ($dummy, $dummy, $numgrp, $memstr) = getgrnam $ans; } if (!defined($strgrp) or !defined($numgrp)) { $self->{manager}->alert("dialog_ssgroup_error", $ans); return $DialogManager::SAME; } # get the user id, and then get the user's default group id my $uid = $self->{manager}->{inf}->{General}->{SuiteSpotUserID}; my $usergid; if ($uid =~ /^\d/) { # numeric ($uid, $dummy, $dummy, $usergid, $dummy) = getpwuid $uid; } else { # string ($uid, $dummy, $dummy, $usergid, $dummy) = getpwnam $uid; } if ($numgrp == $usergid) { $self->{manager}->{inf}->{General}->{SuiteSpotGroup} = $ans; } elsif ($memstr) { # see if the user is in the member list if ($memstr =~ /\b$uid\b/) { # uid exactly matches one of the users in the member string $self->{manager}->{inf}->{General}->{SuiteSpotGroup} = $ans; } else { # no match $self->{manager}->alert("dialog_ssgroup_no_match", $self->{manager}->{inf}->{General}->{SuiteSpotUserID}, $ans, $memstr); $res = $DialogManager::SAME; } } else { # user not in group $self->{manager}->alert("dialog_ssgroup_no_user", $self->{manager}->{inf}->{General}->{SuiteSpotUserID}, $ans); $res = $DialogManager::SAME; } return $res; } my $usergroup = new Dialog ( $TYPICAL, 'dialog_ssuser_text', sub { my $self = shift; my $index = shift; if ($index == 0) { my $username = $self->{manager}->{inf}->{General}->{SuiteSpotUserID}; if (!$username) { if ($> == 0) { # if root, use the default user $username = "@defaultuser@"; } else { # if not root, use the user's uid $username = getlogin; } } return $username; } else { # group my $groupname = $self->{manager}->{inf}->{General}->{SuiteSpotGroup}; if (!$groupname) { if ($> == 0) { # if root, use the default group $groupname = "@defaultgroup@"; } else { # if not root, use the user's gid $groupname = getgrgid $(; } } return $groupname; } }, sub { my $self = shift; my $ans = shift; my $index = shift; if ($index == 0) { return verifyUserChoice($self, $ans); } else { return verifyGroupChoice($self, $ans); } }, ['dialog_ssuser_prompt'], ['dialog_ssgroup_prompt'] ); sub getDialogs { return ($welcome, $license, $setuptype, $hostdlg, $usergroup); } 1; --- NEW FILE Util.pm.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package Util; use Mozilla::LDAP::Conn; use Mozilla::LDAP::Utils qw(normalizeDN); use Mozilla::LDAP::API; # Direct access to C API use Mozilla::LDAP::LDIF; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(portAvailable getAvailablePort isValidDN addSuffix getMappedEntries process_maptbl check_and_add_entry getMappedEntries getHashedPassword); @EXPORT_OK = qw(portAvailable getAvailablePort isValidDN addSuffix getMappedEntries process_maptbl check_and_add_entry getMappedEntries getHashedPassword); use strict; use Socket; # return true if the given port number is available, false otherwise sub portAvailable { my $port = shift; my $proto = getprotobyname('tcp'); my $rc = socket(SOCK, PF_INET, SOCK_STREAM, $proto); if ($rc == 1) { $rc = bind(SOCK, sockaddr_in($port, INADDR_ANY)); } close(SOCK); return $rc and ($rc == 1); } # returns a randomly assigned port number, or -1 # if not able to find an available port sub getAvailablePort { my $MINPORT = 1024; my $MAXPORT = 65535; srand( time() ^ ($$ + ($$ << 15)) ); while (1) { my $port = $MINPORT + int(rand($MAXPORT-$MINPORT)); if (portAvailable($port)) { return $port; } } } sub isValidDN { my $dn = shift; return ($dn =~ /^[0-9a-zA-Z_-]+=.*$/); } sub debug { # print @_, "\n"; } # delete the subtree starting from the passed entry sub delete_all { my ($conn, $bentry) = @_; my $sentry = $conn->search($bentry->{dn}, "subtree", "(objectclass=*)", 0, ("dn")); my @mystack = (); while ($sentry) { push @mystack, $sentry->getDN(); $sentry = $conn->nextEntry(); } # reverse order my $dn = pop @mystack; while ($dn) { $conn->delete($dn); my $rc = $conn->getErrorCode(); if ( $rc != 0 ) { $conn->printError(); print "ERROR: unable to delete entry $dn, error code: $rc\n"; return 1; } $dn = pop @mystack; } return 0; } my %ignorelist = ( "modifytimestamp", "modifyTimestamp", "createtimestamp", "createTimestamp", "installationtimestamp", "installationTimestamp", "creatorsname", "creatorsName", "modifiersname", "modifiersName", "numsubordinates", "numSubordinates" ); my %speciallist = ( "uniquemember", 1 ); # compare 2 entries # return 0 if they match 100% (exception: %ignorelist). # return 1 if they match except %speciallist. # return -1 if they do not match. sub comp_entries { my ($e0, $e1) = @_; my $rc = 0; foreach my $akey ( keys %{$e0} ) { next if ( $ignorelist{lc($akey)} ); my $aval0 = $e0->{$akey}; my $aval1 = $e1->{$akey}; my $a0max = $#{$aval0}; my $a1max = $#{$aval1}; my $amin = $#{$aval0}; if ( $a0max != $a1max ) { if ( $speciallist{lc($akey)} ) { $rc = 1; if ( $a0max < $a1max ) { $amin = $a0max; } else { $amin = $a1max; } } else { $rc = -1; return $rc; } } my @sval0 = sort { $a cmp $b } @{$aval0}; my @sval1 = sort { $a cmp $b } @{$aval1}; for ( my $i = 0; $i <= $amin; $i++ ) { my $isspecial = -1; if ( $sval0[$i] ne $sval1[$i] ) { if ( 0 > $isspecial ) { $isspecial = $speciallist{lc($akey)}; } if ( $isspecial ) { $rc = 1; } else { $rc = -1; return $rc; } } } } return $rc; } # if the entry does not exist on the server, add the entry. # otherwise, do nothing # you can use this as the callback to getMappedEntries, so # that for each entry in the ldif file being processed, you # can call this subroutine to add or update the entry # use like this: # getMappedEntries($mapper, \@ldiffiles, \&check_and_add_entry, # [$conn, $fresh, $verbose]); # where $conn is a perldap Conn # $fresh if true will update the entry if it exists # $verbose prints out more info sub check_and_add_entry { my ($context, $aentry) = @_; my $conn = $context->[0]; my $fresh = $context->[1]; my $verbose = $context->[2]; my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)"); do { my $needtoadd = 1; my $needtomod = 0; my $rval = -1; if ( $sentry && !$fresh ) { $rval = comp_entries( $sentry, $aentry ); } if ( 0 == $rval && !$fresh ) { # the identical entry exists on the configuration DS. # no need to add the entry. $needtoadd = 0; goto out; } elsif ( (1 == $rval) && !$fresh ) { $needtoadd = 0; $needtomod = 1; } elsif ( $sentry && $sentry->{dn} ) { # $fresh || $rval == -1 # an entry having the same DN exists, but the attributes do not # match. remove the entry and the subtree underneath. if ( $verbose ) { print "Deleting an entry dn: $sentry->{dn} ...\n"; } $rval = delete_all($conn, $sentry); if ( 0 != $rval ) { return 0; } } if ( 1 == $needtoadd ) { $conn->add($aentry); my $rc = $conn->getErrorCode(); if ( $rc != 0 ) { print "ERROR: adding an entry $aentry->{dn} failed, error code: $rc\n"; print "[entry]\n"; $aentry->printLDIF(); $conn->close(); return 0; } # if ( $verbose ) # { # print "Entry $aentry->{dn} is added\n"; # } } elsif ( 1 == $needtomod ) # $sentry exists { foreach my $attr ( keys %speciallist ) { foreach my $nval ( @{$aentry->{$attr}} ) { $sentry->addValue( $attr, $nval ); } } $conn->update($sentry); my $rc = $conn->getErrorCode(); if ( $rc != 0 ) { print "ERROR: updating an entry $sentry->{dn} failed, error code: $rc\n"; print "[entry]\n"; $aentry->printLDIF(); $conn->close(); return 0; } } if ( $sentry ) { $sentry = $conn->nextEntry(); # supposed to have no more entries } } until ( !$sentry ); out: return 1; } # the default callback used with getMappedEntries # just adds the given entry to the given list sub cbaddent { my $list = shift; my $ent = shift; push @{$list}, $ent; return 1; } # given a mapper and a list of LDIF files, produce a list of # perldap Entry objects which have had their tokens subst-ed # with values from the mapper # An optional callback can be supplied. Each entry will be # given to this callback. The callback should return a list # of localizable errors. If no callback is supplied, the # entries will be returned in a list. # Arguments: # mapper - a hash ref - the keys are the tokens to replace # and the values are the replacements # ldiffiles - an array ref - the list of LDIF files to # operate on # callback (optional) - a code ref - a ref to a subroutine # that will be called with each entry - see below # context (optional) - this will be passed as the first # argument to your given callback - see below # errs (optional) - an array ref - This is how errors # are returned to the caller - see below # Callback: # The callback sub will be called for each entry after # the entry has been converted. The callback will be # called with the given context as the first argument # and the Mozilla::LDAP::Entry as the second argument, # and an errs array ref as the third argument. The # callback should return true to continue processing, # or false if a fatal error was encountered that should # abort processing of any further. # Errors: # This function should return an array of errors in the # format described below, for use with Resource::getText(). # If the callback returns any errors # Return: # The return value is a list of entries. # Example usage: # sub handle_entries { # my $context = shift; # my $entry = shift; # .... do something with entry .... # .... if $context is Mozilla::LDAP::Conn, $conn->add($entry); ... # .... report errors .... # if ($fatalerror) { # return 0; # } else { # return 1; # } # } # $mapper = {foo => 'bar', baz => 'biff'}; # @ldiffiles = ('foo.ldif', 'bar.ldif', ..., 'biff.ldif'); # $conn = new Mozilla::LDAP::Conn(...); # @entries = getMappedEntries($mapper, \@ldiffiles, \&handle_entries, $conn); # Note that this will return 0 entries since a callback was used. # The simpler example is this: # @entries = getMappedEntries($mapper, \@ldiffiles); # sub getMappedEntries { my $mapper = shift; my $ldiffiles = shift; my $callback = shift || \&cbaddent; # default - just add entry to @entries my @entries = (); my $context = shift || \@entries; my $error; if (!ref($ldiffiles)) { $ldiffiles = [ $ldiffiles ]; } foreach my $ldiffile (@{$ldiffiles}) { open(MYLDIF, "< $ldiffile") or die "Can't open $ldiffile : $!"; my $in = new Mozilla::LDAP::LDIF(*MYLDIF); debug("Processing $ldiffile ..."); ENTRY: while (my $entry = Mozilla::LDAP::LDIF::readOneEntry($in)) { # first, fix the DN my $dn = $entry->getDN(); my $origdn = $dn; while ( $dn =~ /%([\w_-]+)%/ ) { if (exists($mapper->{$1})) { $dn =~ s{%([\w_-]+)%}{$mapper->{$1}}ge; } else { print "ERROR: \"$origdn\" mapped to \"$dn\".\n"; print "The LDIF file $ldiffile contains a token $1 for which there is no mapper.\n"; print "Please check $ldiffile and your mapper to make sure all tokens are handled correctly.\n"; $error = 1; last ENTRY; } } $entry->setDN($dn); # next, fix all of the values in all of the attributes foreach my $attr (keys %{$entry}) { my @newvalues = (); foreach my $value ($entry->getValues($attr)) { # Need to repeat to handle nested subst my $origvalue = $value; while ( $value =~ /%([\w_-]+)%/ ) { if (exists($mapper->{$1})) { $value =~ s{%([\w_-]+)%}{$mapper->{$1}}ge; } else { print "ERROR: \"$origvalue\" mapped to \"$value\".\n"; print "The LDIF file $ldiffile contains a token $1 for which there is no mapper.\n"; print "Please check $ldiffile and your mapper to make sure all tokens are handled correctly.\n"; $error = 1; last ENTRY; } } push @newvalues, $value; } $entry->setValues( $attr, @newvalues ); } if (!&{$callback}($context, $entry)) { print "There was an error processing entry ", $entry->getDN(), "\n"; print "Cannot continue processing entries.\n"; $error = 1; last ENTRY; } } close(MYLDIF); last if ($error); # do not process any more ldiffiles if an error occurred } return @entries; } # you should only use this function if you know for sure # that the suffix and backend do not already exist # use addSuffix instead sub newSuffixAndBackend { my $context = shift; my $suffix = shift; my $bename = shift; my $nsuffix = normalizeDN($suffix); my @errs; my $dn = "cn=$bename, cn=ldbm database, cn=plugins, cn=config"; my $entry = new Mozilla::LDAP::Entry(); $entry->setDN($dn); $entry->setValues('objectclass', 'top', 'extensibleObject', 'nsBackendInstance'); $entry->setValues('cn', $bename); $entry->setValues('nsslapd-suffix', $nsuffix); $context->add($entry); my $rc = $context->getErrorCode(); if ($rc) { return ('error_creating_suffix_backend', $suffix, $bename, $context->getErrorString()); } $entry = new Mozilla::LDAP::Entry(); $dn = "cn=\"$nsuffix\", cn=mapping tree, cn=config"; $entry->setDN($dn); $entry->setValues('objectclass', 'top', 'extensibleObject', 'nsMappingTree'); $entry->setValues('cn', "\"$nsuffix\""); $entry->setValues('nsslapd-state', 'backend'); $entry->setValues('nsslapd-backend', $bename); $context->add($entry); $rc = $context->getErrorCode(); if ($rc) { return ('error_creating_suffix', $suffix, $context->getErrorString()); } return (); } sub findbecb { my $entry = shift; my $attrs = shift; return $entry->hasValue('objectclass', $attrs->[0], 1) && $entry->hasValue('cn', $attrs->[1], 1); } sub findBackend { my $context = shift; my $bename = shift; my $ent; if (ref($context) eq 'Mozilla::LDAP::Conn') { $ent = $context->search("cn=ldbm database,cn=plugins,cn=config", "one", "(&(objectclass=nsBackendInstance)(cn=$bename)") } else { $ent = $context->search("cn=ldbm database,cn=plugins,cn=config", "one", \&findbecb, ['nsBackendInstance', $bename]) } } sub findsuffixcb { my $entry = shift; my $attrs = shift; return $entry->hasValue('cn', $attrs->[0], 1) || $entry->hasValue('cn', $attrs->[1], 1); } sub findSuffix { my $context = shift; my $suffix = shift; my $nsuffix = normalizeDN($suffix); my $ent; if (ref($context) eq 'Mozilla::LDAP::Conn') { $ent = $context->search("cn=mapping tree,cn=config", "one", "(|(cn=\"$suffix\")(cn=\"$nsuffix\"))"); } else { $ent = $context->search("cn=mapping tree,cn=config", "one", \&findsuffixcb, ["\"$suffix\"", "\"$nsuffix\""]) } } sub getUniqueBackendName { my $context = shift; my $bename = "backend"; my $index = 0; my $ent = findBackend($context, ($bename . $index)); while ($ent) { ++$index; $ent = findBackend($context, ($bename . $index)); } return $bename.$index; } sub addSuffix { my $context = shift; # Conn my $suffix = shift; my $bename = shift; # optional my $ent; if ($bename && ($ent = findBackend($context, $bename))) { return ('backend_already_exists', $bename, $ent->getDN()); } if ($ent = findSuffix($context, $suffix)) { return ('suffix_already_exists', $suffix, $ent->getDN()); } if (!$bename) { $bename = getUniqueBackendName($context); } my @errs = newSuffixAndBackend($context, $suffix, $bename); return @errs; } # process map table # [map table sample] # fqdn = FullMachineName # hostname = `use Sys::Hostname; $returnvalue = hostname();` # ds_console_jar ="%normbrand%-ds-%ds_version%.jar" # # * If the right-hand value is in ` (backquote), the value is eval'ed by perl. # The output should be stored in $returnvalue to pass to the internal hash. # * If the right-hand value is in " (doublequote), the value is passed as is. # * If the right-hand value is not in any quote, the value should be found # in either of the setup inf file (static) or the install inf file (dynamic). # * Variables surrounded by @ (e.g., @admin_confdir@) are replaced with the # system path at the compile time. # * The right-hand value can contain variables surrounded by % (e.g., %asid%) # which refers the right-hand value (key) of this map file. # The %token% tokens are replaced in getMappedEntries sub process_maptbl { my ($mapper, @infdata) = @_; if (defined($mapper->{""})) { $mapper = $mapper->{""}; # side effect of Inf with no sections } KEY: foreach my $key (keys %{$mapper}) { my $value = $mapper->{$key}; if ($value =~ /^\"/) { $value =~ tr/\"//d; # value is a regular double quoted string - remove quotes $mapper->{$key} = $value; } elsif ($value =~ /^\`/) { $value =~ tr/\`//d; # value is a perl expression to eval my $returnvalue; # set in eval expression eval $value; $mapper->{$key} = $returnvalue; # perl expression sets $returnvalue } else { # get the value from one of the Inf passed in my $infsection; foreach my $thisinf (@infdata) { foreach my $section0 (keys %{$thisinf}) { $infsection = $thisinf->{$section0}; next if (!ref($infsection)); if (defined($infsection->{$value})) { $mapper->{$key} = $infsection->{$value}; next KEY; } } } if (!defined($infsection->{$value})) { print "ERROR: $value not found in the .inf files\n"; return {}; } } } return $mapper; } sub getHashedPassword { my $pwd = shift; my $alg = shift; if ($pwd =~ /\{\w+\}.+/) { return $pwd; # already hashed } my $cmd = "@bindir@/pwdhash"; if ($alg) { $cmd .= " -s $alg"; } $cmd .= " \'$pwd\'"; my $hashedpwd = `$cmd`; chomp($hashedpwd); return $hashedpwd; } 1; Index: DialogManager.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DialogManager.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DialogManager.pm 15 Jun 2007 22:11:15 -0000 1.2 +++ DialogManager.pm 19 Jun 2007 18:24:57 -0000 1.3 @@ -94,6 +94,10 @@ my $self = shift; my $ans = shift; + if (!$ans) { + return 0; + } + # the word "back" if ($ans =~ /back/i) { return 1; Index: Inf.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Inf.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Inf.pm 8 Jun 2007 01:09:16 -0000 1.1 +++ Inf.pm 19 Jun 2007 18:24:57 -0000 1.2 @@ -67,7 +67,7 @@ # and the value is the config param value my $self = shift; my $filename = shift; - my $curSection; + my $curSection = ""; if ($filename) { $self->{filename} = $filename; @@ -75,17 +75,36 @@ $filename = $self->{filename}; } + my $incontinuation = 0; + my $curkey; open INF, $filename or die "Error: could not open inf file $filename: $!"; while () { - # e.g. [General] - if (/^\[(.*?)\]/) { + my $iscontinuation; + chop; # trim trailing newline + if (/^\s*$/) { # skip blank/empty lines + $incontinuation = 0; + next; + } + if (/^\s*\#/) { # skip comment lines + $incontinuation = 0; + next; + } + if (/\\$/) { # line ends in \ - continued on next line + chop; + $iscontinuation = 1; + } + if ($incontinuation) { + $self->{$curSection}->{$curkey} .= "\n" . $_; # add line in entirety to current value + } elsif (/^\[(.*?)\]/) { # e.g. [General] $curSection = $1; - } elsif (/^\s*$/) { - next; # skip blank lines - } elsif (/^\s*\#/) { - next; # skip comment lines - } elsif (/^\s*(.*?)\s*=\s*(.*?)\s*$/) { - $self->{$curSection}->{$1} = $2; + } elsif (/^\s*(.*?)\s*=\s*(.*?)\s*$/) { # key = value + $curkey = $1; + $self->{$curSection}->{$curkey} = $2; + } + if ($iscontinuation) { # if line ends with a backslash, continue the data on the next line + $incontinuation = 1; + } else { + $incontinuation = 0; } } close INF; Index: Setup.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Setup.pm.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Setup.pm.in 15 Jun 2007 22:11:15 -0000 1.3 +++ Setup.pm.in 19 Jun 2007 18:24:57 -0000 1.4 @@ -111,6 +111,7 @@ sub new { my $type = shift; my $self = {}; + $self->{res} = shift; my ($debuglevel, $silent, $inffile, $keep, $preonly, $logfile); my @otherargs; @@ -147,7 +148,7 @@ # arguments override those passed in via an inf file - this # allows the reuse of .inf files with some parameters overridden for (@ARGV) { - if (/^(\w+)\.(\w+)=(.*)$/) { # e.g. section.param=value + if (/^(\w_-+)\.(\w_-+)=(.*)$/) { # e.g. section.param=value $self->{inf}->{$1}->{$2} = $3; } else { # error print STDERR "Error: unknown command line option $_\n"; @@ -176,6 +177,11 @@ # if you use msg like this: # msg($WARN, "some message") # it will go to the screen and to the log at the $WARN level +# all messages are localizable - you must define a resource key +# the first string passed to this method is a resource key +# additional strings are used as "arguments" to that resource key +# if you want to print un-localizable messages, use debug or write +# directly to the log or screen sub msg { my $self = shift; my $level = shift; @@ -189,16 +195,16 @@ unshift @text, $level; $level = $INFO; } + my $string = $self->{res}->getText(@text); if ($level) { - $self->log($level, @text); + $self->log($level, $string); } - print @text; + print $string; } sub doExit { my $self = shift; - $self->msg($FATAL, "Exiting . . .\n"); - $self->msg("Log file is " . $self->{log}->{filename} . "\n"); + $self->msg($FATAL, 'setup_exiting', $self->{log}->{filename}); exit 1; } Index: setup-ds.res.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/setup-ds.res.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- setup-ds.res.in 15 Jun 2007 22:11:15 -0000 1.3 +++ setup-ds.res.in 19 Jun 2007 18:24:57 -0000 1.4 @@ -85,3 +85,5 @@ suffix_already_exists = The suffix '%s' already exists. Config entry DN '%s'.\n\n error_creating_suffix_backend = Could not create the suffix '%s'. There was an error creating the backend database named '%s' for the suffix. Error: %s\n\n error_creating_suffix = Could not create the suffix '%s'. Error: %s\n\n + +setup_exiting = Exiting . . .\nLog file is '%s'\n\n --- SetupDialogs.pm DELETED --- --- Util.pm DELETED --- From fedora-directory-commits at redhat.com Tue Jun 19 18:25:00 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:25:00 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd dynalib.c, 1.6, 1.7 Message-ID: <200706191825.l5JIP0DQ014256@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/servers/slapd In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14112/ldapserver/ldap/servers/slapd Modified Files: dynalib.c Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash Reviewed by: nhosoi (Thanks!) Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code. 1) Added LDIF templates for DS config. template-dse.ldif is the core minimal directory server configuration. Values can be replaced with parameters in the same style as used with register_server.pl - %token%. For the plugin entries, the plugin shared library name is now just a name. There is no more full path. The code in dynalib.c handles this case by using the compiled in PLUGINDIR. The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform. All of this allows us to do 2). 2) Added ability to run pwdhash with no server configuration. If no configuration is given, it uses the template-dse.ldif above. And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes. This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum. 3) Added defaultuser and defaultgroup. 4) Added support for continuation lines in Inf files. 5) All user visible messages during setup should be localizable Platforms tested: RHEL4 Flag Day: Yes, autotool file changes. Doc impact: Yes, along with the previous fixes for this bug. Index: dynalib.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/dynalib.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- dynalib.c 10 Nov 2006 23:45:40 -0000 1.6 +++ dynalib.c 19 Jun 2007 18:24:58 -0000 1.7 @@ -55,15 +55,36 @@ PRLibrary *dl_handle; } **libs = NULL; -static void symload_report_error( char *libpath, char *symbol, char *plugin, +static void symload_report_error( const char *libpath, char *symbol, char *plugin, int libopen ); +/* construct a full path and name of a plugin + very similar to PR_GetLibraryName except that function inserts + the string "lib" at the beginning of name, making that function + unsuitable for constructing plugin names +*/ +static char *get_plugin_name(const char *dir, const char *name); + +static void free_plugin_name(char *name) +{ + PR_smprintf_free(name); +} + void * sym_load( char *libpath, char *symbol, char *plugin, int report_errors ) { return sym_load_with_flags(libpath, symbol, plugin, report_errors, PR_FALSE, PR_FALSE); } +/* libpath is the pathname from the plugin config entry - it may be an absolute path + or a relative path. It does not have to have the shared lib/dll suffix. The + PR_GetLibraryName function will create the correct library name and path, including + the correct shared library suffix for the platform. So, for example, if you just + pass in "libacl-plugin" as the libpath, and you are running on linux, the code + will first test for the existence of "libacl-plugin", then will construct the full + pathname to load as "PLUGINDIR/libacl-plugin.so" where PLUGINDIR is set during + build time to something like /usr/lib/brand/plugins. +*/ void * sym_load_with_flags( char *libpath, char *symbol, char *plugin, int report_errors, PRBool load_now, PRBool load_global ) { @@ -92,9 +113,17 @@ flags |= PR_LD_GLOBAL; } + if (PR_SUCCESS != PR_Access(libpath, PR_ACCESS_READ_OK)) { + libSpec.value.pathname = get_plugin_name(PLUGINDIR, libpath); + /* then just handle that failure case with symload_report_error below */ + } + if ( (handle = PR_LoadLibraryWithFlags( libSpec, flags )) == NULL ) { if ( report_errors ) { - symload_report_error( libpath, symbol, plugin, 0 /* lib not open */ ); + symload_report_error( libSpec.value.pathname, symbol, plugin, 0 /* lib not open */ ); + } + if (libSpec.value.pathname != libpath) { + free_plugin_name((char *)libSpec.value.pathname); /* cast ok - allocated by get_plugin_name */ } return( NULL ); } @@ -108,14 +137,17 @@ handle = PR_FindSymbol( libs[i]->dl_handle, symbol ); if ( NULL == handle && report_errors ) { - symload_report_error( libpath, symbol, plugin, 1 /* lib open */ ); + symload_report_error( libSpec.value.pathname, symbol, plugin, 1 /* lib open */ ); + } + if (libSpec.value.pathname != libpath) { + free_plugin_name((char *)libSpec.value.pathname); /* cast ok - allocated by PR_GetLibraryName */ } return handle; } static void -symload_report_error( char *libpath, char *symbol, char *plugin, int libopen ) +symload_report_error( const char *libpath, char *symbol, char *plugin, int libopen ) { char *errtext = NULL; PRInt32 errlen, err; @@ -139,3 +171,22 @@ libpath, plugin, 0 ); } } + +/* PR_GetLibraryName does almost everything we need, and unfortunately + a little bit more - it adds "lib" to be beginning of the library + name. So we have to strip that part off. +*/ +static char * +get_plugin_name(const char *path, const char *lib) +{ + char *fullname = PR_GetLibraryName(path, lib); + char *ptr = PL_strrstr(fullname, "/lib"); + + if (ptr) { + ++ptr; /* now points at the "l" */ + /* just copy the remainder of the string on top of here */ + memmove(ptr, ptr+3, strlen(ptr+3)+1); + } + + return fullname; +} From fedora-directory-commits at redhat.com Tue Jun 19 18:25:00 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:25:00 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/newinst slapd.inf.in, 1.1, 1.2 Message-ID: <200706191825.l5JIP0wp014248@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/newinst In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14112/ldapserver/ldap/cm/newinst Modified Files: slapd.inf.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash Reviewed by: nhosoi (Thanks!) Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code. 1) Added LDIF templates for DS config. template-dse.ldif is the core minimal directory server configuration. Values can be replaced with parameters in the same style as used with register_server.pl - %token%. For the plugin entries, the plugin shared library name is now just a name. There is no more full path. The code in dynalib.c handles this case by using the compiled in PLUGINDIR. The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform. All of this allows us to do 2). 2) Added ability to run pwdhash with no server configuration. If no configuration is given, it uses the template-dse.ldif above. And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes. This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum. 3) Added defaultuser and defaultgroup. 4) Added support for continuation lines in Inf files. 5) All user visible messages during setup should be localizable Platforms tested: RHEL4 Flag Day: Yes, autotool file changes. Doc impact: Yes, along with the previous fixes for this bug. Index: slapd.inf.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/cm/newinst/slapd.inf.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- slapd.inf.in 15 Jun 2007 17:02:29 -0000 1.1 +++ slapd.inf.in 19 Jun 2007 18:24:58 -0000 1.2 @@ -47,12 +47,14 @@ NickName= slapd Version= @PACKAGE_VERSION@ Compatible= 1.0 -BuildNumber= @BUILDNUM@ -Expires= 0 -Security= domestic -Vendor= @vendor@ +BuildNumber= @NQBUILD_NUM@ Description= @capbrand@ Directory Server ProductName=Directory Server +Vendor= @vendor@ +# the rest of these are obsolete, but left here for +# compatability with the old setuputil +Expires= 0 +Security= domestic IsDirLite=false PrePreInstall= dsktune PreInstall= ns-config From fedora-directory-commits at redhat.com Tue Jun 19 18:25:01 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:25:01 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd/tools pwenc.c, 1.8, 1.9 Message-ID: <200706191825.l5JIP1B6014264@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/tools In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14112/ldapserver/ldap/servers/slapd/tools Modified Files: pwenc.c Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash Reviewed by: nhosoi (Thanks!) Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code. 1) Added LDIF templates for DS config. template-dse.ldif is the core minimal directory server configuration. Values can be replaced with parameters in the same style as used with register_server.pl - %token%. For the plugin entries, the plugin shared library name is now just a name. There is no more full path. The code in dynalib.c handles this case by using the compiled in PLUGINDIR. The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform. All of this allows us to do 2). 2) Added ability to run pwdhash with no server configuration. If no configuration is given, it uses the template-dse.ldif above. And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes. This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum. 3) Added defaultuser and defaultgroup. 4) Added support for continuation lines in Inf files. 5) All user visible messages during setup should be localizable Platforms tested: RHEL4 Flag Day: Yes, autotool file changes. Doc impact: Yes, along with the previous fixes for this bug. Index: pwenc.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/pwenc.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- pwenc.c 10 Nov 2006 23:45:51 -0000 1.8 +++ pwenc.c 19 Jun 2007 18:24:58 -0000 1.9 @@ -80,7 +80,7 @@ struct pw_scheme *pwdhashscheme; int heflag = 0; -static int slapd_config(const char *configdir); +static int slapd_config(const char *configdir, const char *configfile); static int entry_has_attr_and_value(Slapi_Entry *e, const char *attrname, char *value); static void @@ -124,6 +124,41 @@ } +static slapdFrontendConfig_t * +init_config(char *configdir) +{ + char *abs_configdir = NULL; + char *configfile = NULL; + char errorbuf[SLAPI_DSE_RETURNTEXT_SIZE]; + slapdFrontendConfig_t *slapdFrontendConfig = NULL; + + if (configdir == NULL) { /* use default */ + configdir = TEMPLATEDIR; + configfile = "template-dse.ldif"; + } + /* kexcoff: quite the same as slapd_bootstrap_config */ + FrontendConfig_init(); + + abs_configdir = rel2abspath( configdir ); + if ( config_set_configdir( "configdir (-D)", abs_configdir, + errorbuf, 1) != LDAP_SUCCESS ) { + fprintf( stderr, "%s\n", errorbuf ); + return( NULL ); + } + slapi_ch_free((void **)&abs_configdir); + + slapdFrontendConfig = getFrontendConfig(); + if (0 == slapd_config(slapdFrontendConfig->configdir, configfile)) { + fprintf(stderr, + "The configuration files in directory %s could not be read or were not found. Please refer to the error log or output for more information.\n", + slapdFrontendConfig->configdir); + return(NULL); + } + + return slapdFrontendConfig; +} + + int main( argc, argv ) int argc; @@ -159,31 +194,22 @@ while (( i = getopt( argc, argv, opts )) != EOF ) { switch ( i ) { case 'D': - /* kexcoff: quite the same as slapd_bootstrap_config */ - FrontendConfig_init(); - - configdir = rel2abspath( optarg ); - if ( config_set_configdir( "configdir (-D)", configdir, - errorbuf, 1) != LDAP_SUCCESS ) { - fprintf( stderr, "%s\n", errorbuf ); - return( 1 ); + if (slapdFrontendConfig) { + fprintf(stderr, "The -D configdir argument must be given only once, and must be the first argument given\n"); + usage(name); + return 1; } - slapi_ch_free((void **)&configdir); - - - slapdFrontendConfig = getFrontendConfig(); - if (0 == slapd_config(slapdFrontendConfig->configdir)) { - fprintf(stderr, - "The configuration files in directory %s could not be read or were not found. Please refer to the error log or output for more information.\n", - slapdFrontendConfig->configdir); + if (!(slapdFrontendConfig = init_config(optarg))) { return(1); } break; case 's': /* set hash scheme */ if (!slapdFrontendConfig) { - usage( name ); - return( 1 ); + if (!(slapdFrontendConfig = init_config(NULL))) { + usage( name ); + return(1); + } } if (( pwsp = pw_name2scheme( optarg )) == NULL ) { fprintf( stderr, "%s: unknown hash scheme \"%s\"\n", name, @@ -194,19 +220,23 @@ case 'c': /* compare encoded password to password */ if (!slapdFrontendConfig) { - usage( name ); - return( 1 ); + if (!(slapdFrontendConfig = init_config(NULL))) { + usage( name ); + return(1); + } } cpwd = optarg; break; case 'H': /* password(s) is(are) hex-encoded */ if (!slapdFrontendConfig) { - usage( name ); - return( 1 ); + if (!(slapdFrontendConfig = init_config(NULL))) { + usage( name ); + return(1); } - heflag = 1; - break; + } + heflag = 1; + break; default: usage( name ); @@ -214,8 +244,10 @@ } if (!slapdFrontendConfig) { - usage( name ); - return( 1 ); + if (!(slapdFrontendConfig = init_config(NULL))) { + usage( name ); + return(1); + } } if ( cpwd != NULL ) { @@ -272,7 +304,7 @@ but it only loads password storage scheme plugins */ static int -slapd_config(const char *configdir) +slapd_config(const char *configdir, const char *givenconfigfile) { char configfile[MAXPATHLEN+1]; PRFileInfo prfinfo; @@ -284,7 +316,11 @@ char *lastp = 0; char *entrystr = 0; - PR_snprintf(configfile, sizeof(configfile), "%s/%s", configdir, CONFIG_FILENAME); + if (!givenconfigfile) { + givenconfigfile = CONFIG_FILENAME; + } + + PR_snprintf(configfile, sizeof(configfile), "%s/%s", configdir, givenconfigfile); if ( (rc = PR_GetFileInfo( configfile, &prfinfo )) != PR_SUCCESS ) { fprintf(stderr, From fedora-directory-commits at redhat.com Tue Jun 19 18:32:30 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:32:30 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.10, 1.11 aclocal.m4, 1.7, 1.8 configure, 1.9, 1.10 missing, 1.5, 1.6 install-sh, 1.5, 1.6 depcomp, 1.5, 1.6 config.sub, 1.5, 1.6 config.guess, 1.5, 1.6 compile, 1.5, 1.6 Makefile.in, 1.10, 1.11 Message-ID: <200706191832.l5JIWUEF016571@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16478/adminserver Modified Files: Makefile.am aclocal.m4 configure missing install-sh depcomp config.sub config.guess compile Makefile.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server - admin server setup Reviewed by: nhosoi (Thanks!) Fix Description: This implements support for admin server configuration and reconfiguration, so that we can remove setuputil related code from admserv/newinst/src. The basic flow is this: Ask user basic information. Ask user if they want to either use an existing config ds or setup a new one. If the user selects No, the code will gather information, create the directory server, and set it up to be the configuration DS. Otherwise, it will just create the directory server and register it with the existing config DS. The code will also create and setup and start the admin server, or reconfigure it and restart it as needed. Note that setup-ds-admin.pl assumes that a config DS is to be used. If you want to setup a directory server instance without using a config ds, use setup-ds.pl instead. Platforms tested: RHEL4 Flag Day: Yes - autotool changes Doc impact: Yes. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- Makefile.am 15 Jun 2007 22:16:28 -0000 1.10 +++ Makefile.am 19 Jun 2007 18:32:27 -0000 1.11 @@ -133,7 +133,9 @@ inf_DATA = admserv/newinst/src/admin.inf \ admserv/newinst/common/setup.inf \ admserv/newinst/src/register_param.map \ - admserv/newinst/src/configdsroot.map + admserv/newinst/src/configdsroot.map \ + admserv/newinst/src/adminserver.map \ + admserv/newinst/src/dirserver.map cgibin_PROGRAMS = mergeConfig admpw security ugdsconfig ReadLog start_config_ds \ config statpingserv viewdata dsconfig monreplication restartsrv \ @@ -151,6 +153,7 @@ perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm \ admserv/newinst/src/AdminUtil.pm \ + admserv/newinst/src/AdminServer.pm \ admserv/newinst/src/ConfigDSDialogs.pm libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- Makefile.in 15 Jun 2007 22:16:28 -0000 1.10 +++ Makefile.in 19 Jun 2007 18:32:27 -0000 1.11 @@ -601,7 +601,9 @@ inf_DATA = admserv/newinst/src/admin.inf \ admserv/newinst/common/setup.inf \ admserv/newinst/src/register_param.map \ - admserv/newinst/src/configdsroot.map + admserv/newinst/src/configdsroot.map \ + admserv/newinst/src/adminserver.map \ + admserv/newinst/src/dirserver.map bin_SCRIPTS = admserv/newinst/src/register_server.pl cgibin_SCRIPTS = admserv/cgi-src40/Cgi.pm @@ -609,6 +611,7 @@ cmdbin_SCRIPTS = admserv/newinst/src/setup-ds-admin.pl perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm \ admserv/newinst/src/AdminUtil.pm \ + admserv/newinst/src/AdminServer.pm \ admserv/newinst/src/ConfigDSDialogs.pm libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) From fedora-directory-commits at redhat.com Tue Jun 19 18:32:30 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:32:30 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 10dsdata.ldif.tmpl, 1.2, 1.3 20asdata.ldif.tmpl, 1.1, 1.2 Message-ID: <200706191832.l5JIWUas016589@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16478/adminserver/admserv/schema/ldif Modified Files: 10dsdata.ldif.tmpl 20asdata.ldif.tmpl Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server - admin server setup Reviewed by: nhosoi (Thanks!) Fix Description: This implements support for admin server configuration and reconfiguration, so that we can remove setuputil related code from admserv/newinst/src. The basic flow is this: Ask user basic information. Ask user if they want to either use an existing config ds or setup a new one. If the user selects No, the code will gather information, create the directory server, and set it up to be the configuration DS. Otherwise, it will just create the directory server and register it with the existing config DS. The code will also create and setup and start the admin server, or reconfigure it and restart it as needed. Note that setup-ds-admin.pl assumes that a config DS is to be used. If you want to setup a directory server instance without using a config ds, use setup-ds.pl instead. Platforms tested: RHEL4 Flag Day: Yes - autotool changes Doc impact: Yes. Index: 10dsdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/10dsdata.ldif.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- 10dsdata.ldif.tmpl 15 Jun 2007 22:16:29 -0000 1.2 +++ 10dsdata.ldif.tmpl 19 Jun 2007 18:32:28 -0000 1.3 @@ -36,7 +36,6 @@ cn: slapd-%dsid% uniqueMember: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot -userPassword: %ds_passwd% dn: cn=configuration,cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsResourceRef Index: 20asdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/20asdata.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 20asdata.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 20asdata.ldif.tmpl 19 Jun 2007 18:32:28 -0000 1.2 @@ -26,7 +26,6 @@ serverProductName: Administration Server serverHostName: %fqdn% uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot -userPassword: %as_passwd% dn: cn=configuration, cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsConfig @@ -44,7 +43,7 @@ nsAdminUsers: %admpw% nsErrorLog: %as_error% nsPidLog: %as_pid% -nsAccessLog: %as_access +nsAccessLog: %as_access% nsAdminCacheLifetime: 600 nsAdminAccessHosts: *.%domain% nsAdminAccessAddresses: * From fedora-directory-commits at redhat.com Tue Jun 19 18:32:30 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 14:32:30 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src AdminServer.pm.in, NONE, 1.1 adminserver.map.in, NONE, 1.1 dirserver.map.in, NONE, 1.1 ASDialogs.pm.in, 1.2, 1.3 AdminUtil.pm.in, 1.1, 1.2 ConfigDSDialogs.pm, 1.1, 1.2 setup-ds-admin.pl.in, 1.2, 1.3 setup-ds-admin.res.in, 1.2, 1.3 Message-ID: <200706191832.l5JIWUbn016576@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16478/adminserver/admserv/newinst/src Modified Files: ASDialogs.pm.in AdminUtil.pm.in ConfigDSDialogs.pm setup-ds-admin.pl.in setup-ds-admin.res.in Added Files: AdminServer.pm.in adminserver.map.in dirserver.map.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server - admin server setup Reviewed by: nhosoi (Thanks!) Fix Description: This implements support for admin server configuration and reconfiguration, so that we can remove setuputil related code from admserv/newinst/src. The basic flow is this: Ask user basic information. Ask user if they want to either use an existing config ds or setup a new one. If the user selects No, the code will gather information, create the directory server, and set it up to be the configuration DS. Otherwise, it will just create the directory server and register it with the existing config DS. The code will also create and setup and start the admin server, or reconfigure it and restart it as needed. Note that setup-ds-admin.pl assumes that a config DS is to be used. If you want to setup a directory server instance without using a config ds, use setup-ds.pl instead. Platforms tested: RHEL4 Flag Day: Yes - autotool changes Doc impact: Yes. --- NEW FILE AdminServer.pm.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # package AdminServer; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(createAdminServer reconfigAdminServer registerDSWithConfigDS); @EXPORT_OK = qw(createAdminServer reconfigAdminServer registerDSWithConfigDS); use File::Path; # tempfiles use File::Temp qw(tempfile tempdir); # load perldap use Mozilla::LDAP::Conn; use Mozilla::LDAP::Utils qw(normalizeDN); use Mozilla::LDAP::API qw(ldap_url_parse); use Mozilla::LDAP::LDIF; use Util; use Inf; use Setup; use AdminUtil; sub checkRequiredParameters { my $setup = shift; for my $asparam (qw(Port SysUser ServerAdminID ServerAdminPwd)) { if (!defined($setup->{inf}->{admin}->{$asparam})) { $setup->msg($FATAL, "missing_adminserver_param", $asparam); return 0; } } for my $general (qw(SuiteSpotUserID SuiteSpotGroup ConfigDirectoryLdapURL)) { if (!defined($setup->{inf}->{General}->{$general})) { $setup->msg($FATAL, "missing_general_param", $general); return 0; } } return 1; } sub createASFilesAndDirs { my $setup = shift; my $configdir = shift; my $securitydir = shift; my $logdir = shift; my $rundir = shift; my $uid = getpwnam $setup->{inf}->{admin}->{SysUser}; my $gid = getgrnam $setup->{inf}->{General}->{SuiteSpotGroup}; $setup->msg('create_adminserver_filesdirs'); # these paths are owned exclusively by admin sever for ($configdir, $securitydir, $logdir) { $! = 0; # clear errno if (! -d $_) { mkpath($_, 1, 0700); } else { chmod 0700, $_; } if (! -d $_) { $setup->msg($FATAL, 'error_creating_directory', $_, $!); return 0; } $! = 0; # clear errno chown $uid, -1, $_; if ($!) { $setup->msg($FATAL, 'error_chowning_directory', $_, $setup->{inf}->{admin}->{SysUser}, $!); return 0; } } # these paths are shared by SuiteSpotGroup members $! = 0; # clear errno if (! -d $rundir) { mkpath($rundir, 0, 0770); } else { chmod 0770, $rundir; } if (! -d $rundir) { $setup->msg($FATAL, 'error_creating_directory', $rundir, $!); return 0; } $! = 0; # clear errno chown -1, $gid, $rundir; if ($!) { $setup->msg($FATAL, 'error_chgrping_directory', $rundir, $setup->{inf}->{General}->{SuiteSpotGroup}, $!); return 0; } my @start_slapd; if ($setup->{inf}->{slapd}->{SlapdConfigForMC} =~ /yes/i) { my $slapdid = $setup->{inf}->{slapd}->{ServerIdentifier}; @start_slapd = ('ldapStart', "slapd-$slapdid/start-slapd"); } $setup->msg('updating_admconf'); my $rc = updateAdmConf({ldapurl => $setup->{inf}->{General}->{ConfigDirectoryLdapURL}, SuiteSpotUserID => $setup->{inf}->{General}->{SuiteSpotUserID}, SuiteSpotGroup => $setup->{inf}->{General}->{SuiteSpotGroup}, sysuser => $setup->{inf}->{admin}->{SysUser}, sysgroup => $setup->{inf}->{General}->{SuiteSpotGroup}, AdminDomain => $setup->{inf}->{General}->{AdminDomain}, @start_slapd}, $configdir); if (!$rc) { $setup->msg($FATAL, 'error_updating_admconf', $!); return 0; } $setup->msg('updating_admpw'); $rc = updateAdmpw($setup->{inf}->{admin}->{ServerAdminID}, $setup->{inf}->{admin}->{ServerAdminPwd}, $configdir); if (!$rc) { $setup->msg($FATAL, 'error_updating_admpw'); return 0; } return 1; } # This is how we extract the sie and isie as the as entries are # being added sub registercb { my ($context, $entry) = @_; my $rc = check_and_add_entry([$context->{conn}], $entry); my $setup = $context->{setup}; if ($rc) { if ($entry->hasValue('objectclass', 'nsApplication', 1)) { $context->{isie} = $entry->getDN(); } elsif ($entry->hasValue('objectclass', 'nsAdminServer', 1)) { $context->{sie} = $entry->getDN(); } if ($context->{sie}) { $rc = updateLocalConf($entry, $context->{sie}, $context->{localfh}); if (!$rc) { $setup->msg($FATAL, 'error_updating_localconf_entry', $entry->getDN()); } } } else { $setup->msg($FATAL, 'error_adding_adminserver_config_entry', $entry->getDN()); } return $rc; } sub registerASWithConfigDS { my $setup = shift; my $inf = $setup->{inf}; my $configdir = shift; my @errs; $setup->msg('registering_adminserver'); # open a connection to the configuration directory server my $conn = getConfigDSConn($inf->{General}->{ConfigDirectoryLdapURL}, $inf->{General}->{ConfigDirectoryAdminID}, $inf->{General}->{ConfigDirectoryAdminPwd}, $configdir, \@errs); if (@errs) { $setup->msg($FATAL, @errs); return 0; } # add the Admin Server configuration entries my @ldiffiles = ("@ldifdir@/20asdata.ldif.tmpl", "@ldifdir@/21astasks.ldif.tmpl", "@ldifdir@/22ascommands.ldif.tmpl" ); my $setupinf = new Inf("@infdir@/setup.inf"); my $admininf = new Inf("@infdir@/admin.inf"); my $mapper = new Inf("@infdir@/adminserver.map"); $mapper = process_maptbl($mapper, ($inf, $admininf, $setupinf)); if (!$mapper) { $conn->close(); $setup->msg($FATAL, 'error_creating_adminserver_maptbl'); return 0; } # context will get filled in with isie and sie in registercb my $localconf = "$configdir/local.conf"; my $isnew; if (! -f $localconf) { $isnew = 1; } if (!open(LOCALCONF, ">$localconf")) { $setup->msg($FATAL, 'error_updating_localconf', $localconf, $!); return 0; } my $context = {conn => $conn, localfh => \*LOCALCONF, setup => $setup}; getMappedEntries($mapper, \@ldiffiles, \®istercb, $context); close(LOCALCONF); if ($isnew) { my $admConf = getAdmConf($configdir); my $uid = getpwnam $admConf->{sysuser}; chmod 0600, "$localconf"; chown $uid, -1, "$localconf"; } $setup->msg('updating_admconf_configds'); if ($context->{sie} or $context->{isie}) { if (!updateAdmConf({sie => $context->{sie}, isie => $context->{isie}, userdn => $conn->{adminbinddn}}, $configdir)) { $setup->msg($FATAL, 'error_updating_admconf', $!); return 0; } } $conn->close(); return 1; } # update other config files - these are the fields which users typically want to # change during an install or an upgrade, that also must be synced to the Apache # style config files - we use the config CGI in command line mode because it # already has all of the logic to update the files correctly */ sub updateHttpConfFiles { my $serverAddress = shift; my $port = shift; my $configdir = shift; my $origport = shift; my $admConf = getAdmConf($configdir); my $user = $admConf->{sysuser}; my $cmd = "@cgibindir@/config op=set configuration.nsSuiteSpotUser=\"$user\""; if ($origport && ($port != $origport)) { $cmd .= " configuration.nsServerPort=\"$port\""; } if ($serverAddress) { $cmd .= " configuration.nsServerAddress=\"$serverAddress\""; } if (system($cmd)) { return 0; } return 1; } sub startAdminServer { my $setup = shift; my $configdir = shift; my $logdir = shift; my $rundir = shift; my $isrunning; $pidfile = "$rundir/@pidfile@"; if (-f $pidfile) { open(PIDFILE, $pidfile); my $pid = ; close(PIDFILE); if (kill 0, $pid) { $isrunning = 1; } } my ($fh, $filename) = tempfile("asstartupXXXXXX", UNLINK => 1, SUFFIX => ".log", DIR => File::Spec->tmpdir); close($fh); my $rc; if ($isrunning) { $setup->msg('restarting_adminserver'); $rc = system("@cmdbindir@/restart-ds-admin > $filename 2>&1"); } else { $setup->msg('starting_adminserver'); $rc = system("@cmdbindir@/start-ds-admin > $filename 2>&1"); } open(STARTLOG, "$filename"); while () { $setup->msg('adminserver_startup_output', $_); } close(STARTLOG); unlink($filename); if ($rc) { $setup->msg($FATAL, 'error_starting_adminserver', $rc); return 0; } $setup->msg('success_starting_adminserver'); return 1; } sub createAdminServer { my $setup = shift; my $reconfig = shift; # setup has inf, res, and log if ($reconfig) { $setup->msg('begin_reconfig_adminserver'); } else { $setup->msg('begin_create_adminserver'); } if (!checkRequiredParameters($setup)) { return 0; } my $configdir = $setup->{inf}->{admin}->{config_dir} || $ENV{ADMSERV_CONF_DIR} || $setup->{configdir} . "/admin-serv"; my $securitydir = $setup->{inf}->{admin}->{security_dir} || $configdir; my $logdir = $setup->{inf}->{admin}->{log_dir} || $ENV{ADMSERV_LOG_DIR} || "@logdir@"; my $rundir = $setup->{inf}->{admin}->{run_dir} || $ENV{ADMSERV_PID_DIR} || "@piddir@"; if (!createASFilesAndDirs($setup, $configdir, $securitydir, $logdir, $rundir)) { return 0; } if (!registerASWithConfigDS($setup, $configdir)) { return 0; } $setup->msg('updating_httpconf'); if (!updateHttpConfFiles($setup->{inf}->{admin}->{ServerIpAddress}, $setup->{inf}->{admin}->{Port}, $configdir, $setup->{asorigport})) { $setup->msg($FATAL, 'error_updating_httpconf'); return 0; } if (!startAdminServer($setup, $configdir, $logdir, $rundir)) { return 0; } if ($reconfig) { $setup->msg('end_reconfig_adminserver'); } else { $setup->msg('end_create_adminserver'); } return 1; } sub reconfigAdminServer { my $setup = shift; return createAdminServer($setup, 1); } sub registerDSWithConfigDS { my $setup = shift; my $inf = $setup->{inf}; my $configdir = shift; my @errs; $setup->msg('registering_dirserver'); # open a connection to the configuration directory server my $conn = getConfigDSConn($inf->{General}->{ConfigDirectoryLdapURL}, $inf->{General}->{ConfigDirectoryAdminID}, $inf->{General}->{ConfigDirectoryAdminPwd}, $configdir, \@errs); if (@errs) { $setup->msg($FATAL, @errs); return 0; } # add the Admin Server configuration entries my @ldiffiles = ("@ldifdir@/10dsdata.ldif.tmpl", "@ldifdir@/11dstasks.ldif.tmpl" ); my $setupinf = new Inf("@infdir@/setup.inf"); my $slapdinf = new Inf("@infdir@/slapd.inf"); my $mapper = new Inf("@infdir@/dirserver.map"); $mapper = process_maptbl($mapper, ($inf, $slapdinf, $setupinf)); if (!$mapper) { $conn->close(); $setup->msg($FATAL, 'error_creating_dirserver_maptbl'); return 0; } my $context = [$conn]; getMappedEntries($mapper, \@ldiffiles, \&check_and_add_entry, $context); $conn->close(); return 1; } --- NEW FILE adminserver.map.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # register_param.map: # This file is used by the register_server.pl script to register the server # info to the Configuration Directory Server. The server info is stored in # the (template) ldif files located in @ldifdir at . In case a server entry has # %...% format parameters, this map table is used to resolve it and replace # the parameter with the value defined in this file. # # [Parameter resolution rules] # * If the right-hand value is in ` (backquote), the value is eval'ed by perl. # The output should be stored in $returnvalue to pass to the internal hash. # * If the right-hand value is in " (doublequote), the value is passed as is. # * If the right-hand value is not in any quote, the value should be found # in either of the setup inf file (static) or the install inf file (dynamic). # * Variables surrounded by @ (e.g., @configdir@) are replaced with the # system path at the compile time. # * The right-hand value can contain variables surrounded by % (e.g., %asid%) # which refers the right-hand value (key) of this map file. # fqdn = FullMachineName domain = AdminDomain brand = Brand normbrand = NormBrand hostname = `use Net::Domain qw(hostname); $returnvalue = hostname();` vendor = Vendor asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_port = Port admpw = "@configdir@/admpw" as_error = "@logdir@/errors" as_access = "@logdir@/access" as_pid = "@pidfile@" as_console_jar = "%normbrand%-admserv-%as_version%.jar" as_help_path = "@helpdir@" as_user = SysUser as_version = Version as_buildnum = BuildNumber as_installedlocation = "AS INSTALLED LOCATION -- replace me" as_serverroot = "AS SERVER ROOT-- replace me" as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" --- NEW FILE dirserver.map.in --- # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # register_param.map: # This file is used by the register_server.pl script to register the server # info to the Configuration Directory Server. The server info is stored in # the (template) ldif files located in @ldifdir at . In case a server entry has # %...% format parameters, this map table is used to resolve it and replace # the parameter with the value defined in this file. # # [Parameter resolution rules] # * If the right-hand value is in ` (backquote), the value is eval'ed by perl. # The output should be stored in $returnvalue to pass to the internal hash. # * If the right-hand value is in " (doublequote), the value is passed as is. # * If the right-hand value is not in any quote, the value should be found # in either of the setup inf file (static) or the install inf file (dynamic). # * Variables surrounded by @ (e.g., @configdir@) are replaced with the # system path at the compile time. # * The right-hand value can contain variables surrounded by % (e.g., %asid%) # which refers the right-hand value (key) of this map file. # fqdn = FullMachineName domain = AdminDomain brand = Brand normbrand = NormBrand vendor = Vendor configroot = "CONFIG ROOT -- replace me" asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" ds_version = Version dsid = ServerIdentifier ds_user = SuiteSpotUserID ds_port = ServerPort ds_secure_port ="636" rootdn = RootDN ds_suffix = Suffix ds_buildnum = BuildNumber ds_console_jar ="%normbrand%-ds-%ds_version%.jar" ds_installedlocation = "DS INSTALLED LOCATION -- replace me" ds_serverroot = "DS SERVER ROOT-- replace me" ds_sie = "cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" Index: ASDialogs.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/ASDialogs.pm.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ASDialogs.pm.in 15 Jun 2007 22:16:28 -0000 1.2 +++ ASDialogs.pm.in 19 Jun 2007 18:32:28 -0000 1.3 @@ -76,8 +76,10 @@ if (!defined($port)) { $port = @admservport@; } - if (!portAvailable($port)) { - $port = getAvailablePort(); + if (!$self->{manager}->{setup}->{reconfigas}) { + if (!portAvailable($port)) { + $port = getAvailablePort(); + } } return $port; }, @@ -85,9 +87,10 @@ my $self = shift; my $ans = shift; my $res = $DialogManager::SAME; + my $reconf = $self->{manager}->{setup}->{reconfigas}; if ($ans !~ /\d+/) { $self->{manager}->alert("dialog_asport_error", $ans); - } elsif (!portAvailable($ans)) { + } elsif (!$reconf && !portAvailable($ans)) { $self->{manager}->alert("dialog_asport_error", $ans); } else { $res = $DialogManager::NEXT; Index: AdminUtil.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/AdminUtil.pm.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AdminUtil.pm.in 15 Jun 2007 22:16:28 -0000 1.1 +++ AdminUtil.pm.in 19 Jun 2007 18:32:28 -0000 1.2 @@ -39,51 +39,40 @@ package AdminUtil; require Exporter; @ISA = qw(Exporter); - at EXPORT = qw(getConf createConfigDS); - at EXPORT_OK = qw(getConf createConfigDS); + at EXPORT = qw(getAdmConf getConfigDSConn createConfigDS updateAdmConf updateAdmpw updateLocalConf); + at EXPORT_OK = qw(getAdmConf getConfigDSConn createConfigDS updateAdmConf updateAdmpw updateLocalConf); # load perldap use Mozilla::LDAP::Conn; use Mozilla::LDAP::Utils qw(normalizeDN); -use Mozilla::LDAP::API qw(ldap_url_parse); -use Mozilla::LDAP::LDIF; +use Mozilla::LDAP::API qw(:constant ldap_url_parse ldap_explode_dn); +use Mozilla::LDAP::LDIF qw(enlist_values); use Util; use Inf; +use strict; + # get the adminutil client configuration (adm.conf) # the file is in LDIF format # just return as a hash ref for easy key/value access # single valued attributes will have a single string value # multi valued attributes will have an array ref value -sub getConf { - my $dir = shift; +sub getAdmConf { + my $dir = shift || "@configdir@"; my $ret = {}; - if (! -d $dir) { - warn "Config directory $dir does not exist"; - return $ret; - } - $dir = "$dir/admin-serv"; - if (! -d $dir) { - warn "Config directory $dir does not exist"; - return $ret; - } my $fname = "$dir/adm.conf"; if (-f $fname) { open( ADMCONF, "$fname" ) || die "Can't open $fname: $!"; - my $in = new Mozilla::LDAP::LDIF(*ADMCONF); - while (my $ent = readOneEntry $in) { - foreach my $attr (keys %{$ent}) { - my @vals = $ent->getValues($attr); - if (@vals > 1) { - $ret->{$attr} = \@vals; # value is array ref - } else { - $ret->{$attr} = $vals[0]; # value is single string - } - } + my $in = Mozilla::LDAP::LDIF->new(*ADMCONF, \&read_file_URL_or_name); + my @records = $in->get(undef); # read to end of file + close(ADMCONF); + @records = enlist_values(@records); + for (@records) { # there should only be 1 record + my %h = @{$_}; # cast $_ to an array and use that to init hash + $ret = \%h; } - close ADMCONF; $ret->{configdir} = $dir; } @@ -93,12 +82,20 @@ # pset info is from the local.conf file, also in LDIF format sub getPset { my $admConf = shift; + my $configdir; + if ($admConf) { + if (ref($admConf)) { + $configdir = $admConf->{configdir} || "@configdir@"; + } else { + $configdir = $admConf || "@configdir@"; + } + } my $ret = {}; - my $fname = "$admConf->{configdir}/local.conf"; + my $fname = "$configdir/local.conf"; if (-f $fname) { open( LOCALCONF, "$fname" ) || die "Can't open $fname: $!"; my $in = new Mozilla::LDAP::LDIF(*LOCALCONF); - while ($ent = readOneEntry $in) { + while (my $ent = readOneEntry $in) { foreach my $attr (keys %{$ent}) { my @vals = $ent->getValues($attr); if (@vals > 1) { @@ -116,11 +113,19 @@ sub getAdmpw { my $admConf = shift; + my $configdir; + if ($admConf) { + if (ref($admConf)) { + $configdir = $admConf->{configdir} || "@configdir@"; + } else { + $configdir = $admConf || "@configdir@"; + } + } my $ret = {}; - my $fname = "$admConf->{configdir}/admpw"; + my $fname = "$configdir/admpw"; if (-f $fname) { open( ADMPW, "$fname" ) || die "Can't open $fname: $!"; - while (my $line = ) { + while () { ($ret->{ServerAdminID}, $ret->{ServerAdminPwd}) = split /:/; last; } @@ -144,6 +149,12 @@ my $errs = shift; # for output errs - an array ref my $certdir; + if (!$url or !$id) { + my $admConf = getAdmConf($configdir); + $url = $url || $admConf->{ldapurl}; + $id = $id || $admConf->{userdn}; + } + my $h = ldap_url_parse($url); my $host = $h->{host}; my $port = $h->{port}; @@ -192,8 +203,13 @@ } else { push @{$errs}, 'configds_bind_error', $id, $url, (($errstr eq "Success") ? 'unknown error' : $errstr); } + return $conn; } + $conn->setDefaultRebindProc($id, $pwd, LDAP_AUTH_SIMPLE); + # store the binddn for later use + $conn->{adminbinddn} = $id; + return $conn; } @@ -216,18 +232,18 @@ # and make it into a configuration directory server sub createConfigDS { my $inf = shift; - my $res = shift; + my $errs = shift; # open a connection to the directory server my $conn = new Mozilla::LDAP::Conn($inf->{General}->{FullMachineName}, $inf->{slapd}->{ServerPort}, $inf->{slapd}->{RootDN}, - $inf->{slapd}->{RootDNPwd}); + $inf->{slapd}->{RootDNPwd}, + $inf->{General}->{certdir}); # add the NetscapeRoot suffix - my @errs = addSuffix($conn, "o=NetscapeRoot", "NetscapeRoot"); - if (@errs) { - print $res->getText(@errs); + @{$errs} = addSuffix($conn, "o=NetscapeRoot", "NetscapeRoot"); + if (@{$errs}) { $conn->close(); return 0; } @@ -244,13 +260,136 @@ $mapper = process_maptbl($mapper, ($inf, $dsinf, $admininf, $setupinf)); if (!$mapper) { $conn->close(); - print $res->getText('error_creating_configds_maptbl'); + @{$errs} = ('error_creating_configds_maptbl'); return 0; } getMappedEntries($mapper, \@ldiffiles, \&check_and_add_entry, - [$conn, 1]); + [$conn]); $conn->close(); return 1; } + +sub updateAdmConf { + my $params = shift; # hashref + my $configdir = shift || "@configdir@"; + my $admConf = getAdmConf($configdir); + my $isnew = 0; + if (!$admConf || !%{$admConf}) { + $isnew = 1; # create it + } + + # update values in admConf with the passed in params + while (my ($key,$val) = each %{$params}) { + $admConf->{$key} = $val; + } + + # write it out + my $filename = "$configdir/adm.conf"; + delete $admConf->{configdir}; # don't write this + open(ADMCONF, "> $filename") || die "Can't write $filename: $!"; + while (my ($key,$val) = each %{$admConf}) { + if (ref($val)) { + for my $vv (@{$val}) { + print ADMCONF "$key: $vv\n"; + } + } else { + print ADMCONF "$key: $val\n"; + } + } + close(ADMCONF); + + if ($isnew) { + my $uid = getpwnam $admConf->{sysuser}; + chmod 0600, "$filename"; + chown $uid, -1, "$filename"; + } + + return 1; +} + +sub updateAdmpw { + my $userid = shift; + my $pwd = shift; + my $configdir = shift || "@configdir@"; + my $filename = "$configdir/admpw"; + my $isnew = 0; + if (! -f $filename) { + $isnew = 1; + } + + $pwd = getHashedPassword($pwd, "SHA"); + + open(ADMPW, ">$filename") or die "Error: can't write file $filename: $!"; + print ADMPW "$userid:$pwd\n"; + close(ADMPW); + + if ($isnew) { + my $admConf = getAdmConf($configdir); + my $uid = getpwnam $admConf->{sysuser}; + chmod 0600, "$filename"; + chown $uid, -1, "$filename"; + } + + return 1; +} + +# this is the prefix used for attribute names in the pset file +sub getAttrNamePrefix { + my $dn = shift; + my $rootdn = shift; # the sie DN + + my @dnList = ldap_explode_dn($dn, 1); + my @rootdnList = ldap_explode_dn($rootdn, 1); + + my $attrLen = scalar(@dnList) - scalar(@rootdnList); + my $attrName = ""; + while ($attrLen > 0) { + if ($attrLen == 1) { + $attrName .= $dnList[0]; + } else { + $attrName .= $dnList[$attrLen-1] . "."; + } + $attrLen--; + } + + return $attrName; +} + +# these are attributes not written to the pset +my %nopsetattrs = ( + cn => 'cn', + aci => 'aci' +); + +# This is only used during setup. +# When the admin server is running, changes +# occur online, and the file contains a cache +# of those changes +# but during setup, we need to create the +# local.conf as a bootstrap for the server +sub updateLocalConf { + my $entry = shift; + my $siedn = shift; + my $localfh = shift; + + # convert entry to pset format + my $prefix = getAttrNamePrefix($entry->getDN(), $siedn); + + # write values to file + foreach my $attr (keys %{$entry}) { + next if $nopsetattrs{lc($attr)}; + my $attrName; + if ($prefix) { + $attrName = $prefix . "." . $attr; + } else { + $attrName = $attr; + } + foreach my $val ($entry->getValues($attr)) { + print $localfh "$attrName: $val\n"; + } + } + + return 1; +} Index: ConfigDSDialogs.pm =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/ConfigDSDialogs.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ConfigDSDialogs.pm 15 Jun 2007 22:16:28 -0000 1.1 +++ ConfigDSDialogs.pm 19 Jun 2007 18:32:28 -0000 1.2 @@ -83,7 +83,7 @@ } my $configdsinfo = new Dialog ( - $TYPICAL, + $EXPRESS, 'dialog_configdsinfo_text', sub { my $self = shift; @@ -264,7 +264,7 @@ ); my $useconfigds = new DialogYesNo ( - $TYPICAL, + $EXPRESS, 'dialog_useconfigds_text', sub { my $self = shift; Index: setup-ds-admin.pl.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup-ds-admin.pl.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- setup-ds-admin.pl.in 15 Jun 2007 22:16:28 -0000 1.2 +++ setup-ds-admin.pl.in 19 Jun 2007 18:32:28 -0000 1.3 @@ -47,17 +47,18 @@ use Resource; use DialogManager; use AdminUtil; - -my $setup = new Setup; +use AdminServer; my $res = new Resource("@propertydir@/setup-ds.res", "@propertydir@/setup-ds-admin.res"); +my $setup = new Setup($res); + # see what directory server instances we already have configured my @dirservers = $setup->getDirServers(); # see if there is already a configds -my $admConf = AdminUtil::getConf($setup->{configdir}); +my $admConf = AdminUtil::getAdmConf("$setup->{configdir}/admin-serv"); # set defaults if ($admConf && %{$admConf}) { @@ -71,8 +72,9 @@ # read additional config from config DS my $pset = AdminUtil::getPset($admConf); if ($pset && %{$pset}) { - $setup->{inf}->{admin}->{Port} = $pset->{"configuration.nsServerPort"}; - $setup->{inf}->{admin}->{ServerIpAddress} = $pset->{"configuration.nsServerAddress"}; + $setup->{inf}->{admin}->{Port} = $pset->{"configuration.nsserverport"}; + $setup->{asorigport} = $pset->{"configuration.nsserverport"}; # save orig. port + $setup->{inf}->{admin}->{ServerIpAddress} = $pset->{"configuration.nsserveraddress"}; } my $admpw = AdminUtil::getAdmpw($admConf); if ($admpw && %{$admpw}) { @@ -83,6 +85,7 @@ # default to using the existing config DS $setup->{inf}->{slapd}->{UseExistingMC} = 1; $setup->{inf}->{slapd}->{SlapdConfigForMC} = 0; + $setup->{reconfigas} = 1; # allow AS reconfig } if (!$setup->{silent}) { @@ -105,13 +108,13 @@ sub { my $self = shift; my $ans = shift; - my $res = $self->handleResponse($ans); - if ($res == $DialogManager::NEXT) { + my $resp = $self->handleResponse($ans); + if ($resp == $DialogManager::NEXT) { if (!$self->isYes()) { - $res = $DialogManager::BACK; + $resp = $DialogManager::BACK; } } - return $res; + return $resp; }, ['dialog_readytoproceed_prompt'], ); @@ -123,8 +126,6 @@ if ($rc) { $setup->doExit(); } - - print "\n\n"; } if (!$setup->{inf}->{slapd}->{UseExistingMC} or @@ -139,29 +140,53 @@ $setup->{inf}->write(); +$setup->msg('create_dirserver'); + # create a directory server instance if (system("@bindir@/ds_newinst.pl $setup->{inffile}")) { - print STDERR "Failed to create directory server instance\n"; - $setup->{log}->logMessage($FATAL, "Setup", "Failed to create directory server instance"); + $setup->msg($FATAL, 'error_create_dirserver'); + exit 1; } # setup directory server instance to be the configuration DS if ($setup->{inf}->{slapd}->{SlapdConfigForMC} =~ /yes/i) { - createConfigDS($setup->{inf}, $res); + my @errs = (); + $setup->msg('create_configds'); + if (!createConfigDS($setup->{inf}, \@errs)) { + $setup->msg($FATAL, @errs); + $setup->msg($FATAL, 'error_create_configds'); + exit 1; + } } # register ds instances with config DS +if (!registerDSWithConfigDS($setup)) { + $setup->msg($FATAL, 'error_register_dirserver'); + exit 1; +} + -# configure the admin server instance -if (system("@cmdbindir@/ds-admin-update -f $setup->{inffile}")) { - print STDERR "Failed to configure administration server\n"; - $setup->{log}->logMessage($FATAL, "Setup", "Failed to configure administration server"); +# configure and register the admin server instance +if (!$setup->{reconfigas}) { + if (!createAdminServer($setup)) { + $setup->msg($FATAL, 'error_create_adminserver'); + exit 1; + } +} else { + if (!reconfigAdminServer($setup)) { + $setup->msg($FATAL, 'error_reconfig_adminserver'); + exit 1; + } } +$setup->msg($SUCCESS, 'setup_complete'); + END { - if (!$setup->{keep}) { - unlink $setup->{inffile}; - } + if ($setup) { + if (!$setup->{keep}) { + unlink $setup->{inffile}; + } - $setup->doExit(); + $setup->doExit(); + } } Index: setup-ds-admin.res.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup-ds-admin.res.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- setup-ds-admin.res.in 15 Jun 2007 22:16:28 -0000 1.2 +++ setup-ds-admin.res.in 19 Jun 2007 18:32:28 -0000 1.3 @@ -80,3 +80,44 @@ dialog_readytoproceed_text = The interactive phase is complete. The script will now set up your\ servers. Enter No or go Back if you want to change something.\n\n dialog_readytoproceed_prompt = Are you ready to set up your servers? + +# post install +begin_create_adminserver = Beginning Admin Server creation . . .\n +begin_reconfig_adminserver = Beginning Admin Server reconfiguration . . .\n +create_adminserver_filesdirs = Creating Admin Server files and directories . . .\n +creating_admpw = Could not create the admin server password file '%s': Error %s\n +missing_adminserver_param = Missing required Admin Server setup parameter '%s'. Cannot continue.\n +missing_general_param = Missing required General setup parameter '%s'. Cannot continue.\n +creating_admpw = Could not create the Admin Server password file '%s'. Error %s\n +error_create_dirserver = Failed to create directory server instance\n +error_create_configds = Failed to create the configuration directory server\n +error_create_adminserver = Failed to create and configure the admin server\n +error_creating_directory = Could not create admin server directory '%s'. Error: %s\n +error_chowning_directory = Could not change ownership of directory '%s' to userid '%s': Error: %s\n +error_chgrping_directory = Could not change group of directory '%s' to group '%s': Error: %s\n +updating_admconf = Updating adm.conf . . .\n +error_updating_admconf = Could not update adm.conf. Error: %s\n +updating_admpw = Updating admpw . . .\n +error_updating_admpw = Could not update admpw. Error: %s\n +error_creating_adminserver_maptbl = Could not create the map table for registering the Admin Server with the configuration directory server.\n +error_updating_localconf = Could not update the local admin server configuration file '%s'. Error: %s\n +error_starting_adminserver = Could not start the admin server. Error: %s\n +registering_adminserver = Registering admin server with the configuration directory server . . .\n +error_adding_adminserver_config_entry = Could not add the admin server configuration entry '%s'.\nCheck the configuration directory server access and error log for more details.\n +error_updating_localconf_entry = Could not update the local admin server configuration file for the configuration entry '%s'.\n +updating_admconf_configds = Updating adm.conf with information from configuration directory server . . .\n +updating_httpconf = Updating the configuration for the httpd engine . . .\n +error_updating_httpconf = Could not update the httpd engine configuration.\n +restarting_adminserver = Restarting admin server . . .\n +starting_adminserver = Starting admin server . . .\n +adminserver_startup_output = output: %s +success_starting_adminserver = The admin server was successfully started.\n +end_create_adminserver = Admin server was successfully created, configured, and started.\n +end_reconfig_adminserver = Admin server was successfully reconfigured and started.\n +create_dirserver = Creating directory server . . .\n +create_configds = Creating the configuration directory server . . .\n +setup_complete = Setup is complete.\n\n +error_register_dirserver = Could not register the directory server with the configuration directory server.\n +registering_dirserver = Registering directory server with the configuration directory server . . .\n +error_creating_dirserver_maptbl = Could not create the map table for registering the directory server with the configuration directory server.\n +error_reconfig_adminserver = Could not reconfigure the admin server.\n From fedora-directory-commits at redhat.com Tue Jun 19 20:49:58 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 19 Jun 2007 16:49:58 -0400 Subject: [Fedora-directory-commits] adminserver/m4 fhs.m4,1.1,1.2 Message-ID: <200706192049.l5JKnwjR012482@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/m4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11758/m4 Modified Files: fhs.m4 Log Message: Resolves #244715 Summary: Admin Server support --with-fhs-opt Description: 1. Adjust the Admin Server's prefix to the Directory Server's including the support for "--with-fhs-opt" 2. Fixed a bug: Default prefix (AX_PREFIX_DEFAULT) does not get PACKAGE_BASE_NAME value. Index: fhs.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/m4/fhs.m4,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- fhs.m4 9 May 2007 00:26:38 -0000 1.1 +++ fhs.m4 19 Jun 2007 20:49:55 -0000 1.2 @@ -25,6 +25,7 @@ AC_ARG_WITH(fhs, [ --with-fhs Use FHS layout], [ with_fhs=yes + AC_MSG_RESULT(yes) ], AC_MSG_RESULT(no)) @@ -32,3 +33,19 @@ AC_DEFINE([IS_FHS], [1], [Use FHS layout]) fi +# check for --with-fhs-opt +AC_MSG_CHECKING(for --with-fhs-opt) +AC_ARG_WITH(fhs-opt, [ --with-fhs-opt Use FHS optional layout], +[ + with_fhs_opt=yes + AC_MSG_RESULT(yes) +], +AC_MSG_RESULT(no)) + +if test "$with_fhs_opt" = "yes"; then + AC_DEFINE([IS_FHS_OPT], [1], [Use FHS optional layout]) +fi + +if test "$with_fhs" = "yes" -a "$with_fhs_opt" = "yes"; then + AC_MSG_ERROR([Can't set both --with-fhs and --with-fhs-opt. Please only use one of these options.]) +fi From fedora-directory-commits at redhat.com Tue Jun 19 20:49:57 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 19 Jun 2007 16:49:57 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.11, 1.12 configure.ac, 1.7, 1.8 Makefile.in, 1.11, 1.12 aclocal.m4, 1.8, 1.9 config.h.in, 1.1, 1.2 configure, 1.10, 1.11 Message-ID: <200706192049.l5JKnvFl012473@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11758 Modified Files: Makefile.am configure.ac Makefile.in aclocal.m4 config.h.in configure Log Message: Resolves #244715 Summary: Admin Server support --with-fhs-opt Description: 1. Adjust the Admin Server's prefix to the Directory Server's including the support for "--with-fhs-opt" 2. Fixed a bug: Default prefix (AX_PREFIX_DEFAULT) does not get PACKAGE_BASE_NAME value. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Makefile.am 19 Jun 2007 18:32:27 -0000 1.11 +++ Makefile.am 19 Jun 2007 20:49:55 -0000 1.12 @@ -411,7 +411,6 @@ -e 's, at helpdir\@,$(helpdir),g' \ -e 's, at mimemagic\@,$(mimemagic),g' \ -e 's, at initdir\@,$(initdir),g' \ - -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' \ -e 's, at perldir\@,$(perldir),g' \ -e 's, at infdir\@,$(infdir),g' \ -e 's, at ldifdir\@,$(ldifdir),g' Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- configure.ac 15 Jun 2007 22:16:28 -0000 1.7 +++ configure.ac 19 Jun 2007 20:49:55 -0000 1.8 @@ -58,8 +58,9 @@ AC_CHECK_LIB([curses], [printw], [curses_lib=-lcurses])) PACKAGE_BASE_NAME=`echo $PACKAGE_NAME | sed -e s/-admin//` -# the default prefix - override with --prefix or --with-fhs -AC_PREFIX_DEFAULT([/opt/$PACKAGE_BASE_NAME]) +AC_SUBST(PACKAGE_BASE_NAME) +# the default prefix - override with --prefix or --with-fhs or --with-fhs-opt +AC_PREFIX_DEFAULT([/opt/@PACKAGE_BASE_NAME@]) brand=fedora capbrand=Fedora @@ -70,17 +71,38 @@ # installation paths - by default, configure will just # use /usr as the prefix for everything, which means # /usr/etc and /usr/var. FHS sez to use /etc and /var. -if test "$with_fhs" = "yes"; then - ac_default_prefix=/usr - prefix=$ac_default_prefix - exec_prefix=$prefix -dnl as opposed to the default /usr/etc - sysconfdir='/etc' -dnl as opposed to the default /usr/var - localstatedir='/var' +# The with-fhs-opt option will use the +# prefix, but it's sysconfdir and localstatedir will be +# /etc/opt, and /var/opt. +if test "$with_fhs_opt" = "yes"; then + # Override sysconfdir and localstatedir if FHS optional + # package was requested. + sysconfdir='/etc/opt' + localstatedir='/var/opt' + # relative to datadir + infdir=/inf + htmldir=/html + icondir=/icons + manualdir=/manual + ldifdir=/data +else + if test "$with_fhs" = "yes"; then + ac_default_prefix=/usr + prefix=$ac_default_prefix + exec_prefix=$prefix + dnl as opposed to the default /usr/etc + sysconfdir='/etc' + dnl as opposed to the default /usr/var + localstatedir='/var' + fi +# relative to datadir + infdir=/$PACKAGE_BASE_NAME/inf + htmldir=/$PACKAGE_BASE_NAME/html + icondir=/$PACKAGE_BASE_NAME/icons + manualdir=/$PACKAGE_BASE_NAME/manual + ldifdir=/$PACKAGE_BASE_NAME/data fi -shared_lib_suffix=.so initdir=/rc.d case $host in *-*-linux*) @@ -89,7 +111,6 @@ ia64-hp-hpux*) ;; hppa*-hp-hpux*) - shared_lib_suffix=.sl ;; sparc-sun-solaris*) initdir=/init.d @@ -97,7 +118,6 @@ *) esac AC_SUBST(initdir) -AC_SUBST(shared_lib_suffix) # Check for web server m4_include(m4/httpd.m4) @@ -136,13 +156,6 @@ ]) AC_SUBST(instconfigdir) -# relative to datadir -htmldir=/$PACKAGE_BASE_NAME/html -icondir=/$PACKAGE_BASE_NAME/icons -manualdir=/$PACKAGE_BASE_NAME/manual -ldifdir=/$PACKAGE_BASE_NAME/data -infdir=/$PACKAGE_BASE_NAME/inf - # CGI program directory, relative to libdir cgibindir=/$PACKAGE_BASE_NAME/cgi-bin @@ -166,7 +179,6 @@ # write out paths for binary components AC_SUBST(PACKAGE_NAME) -AC_SUBST(PACKAGE_BASE_NAME) AC_SUBST(nspr_inc) AC_SUBST(nspr_lib) AC_SUBST(nspr_libdir) Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Makefile.in 19 Jun 2007 18:32:27 -0000 1.11 +++ Makefile.in 19 Jun 2007 20:49:55 -0000 1.12 @@ -417,7 +417,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -513,7 +512,6 @@ setuputil_inc = @setuputil_inc@ setuputil_lib = @setuputil_lib@ setuputil_libdir = @setuputil_libdir@ -shared_lib_suffix = @shared_lib_suffix@ sharedstatedir = @sharedstatedir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ @@ -832,7 +830,6 @@ -e 's, at helpdir\@,$(helpdir),g' \ -e 's, at mimemagic\@,$(mimemagic),g' \ -e 's, at initdir\@,$(initdir),g' \ - -e 's, at shared_lib_suffix\@,$(shared_lib_suffix),g' \ -e 's, at perldir\@,$(perldir),g' \ -e 's, at infdir\@,$(infdir),g' \ -e 's, at ldifdir\@,$(ldifdir),g' Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- aclocal.m4 19 Jun 2007 18:32:27 -0000 1.8 +++ aclocal.m4 19 Jun 2007 20:49:55 -0000 1.9 @@ -1578,27 +1578,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4288,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4421,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4437,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4517,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6353,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,7 +6385,6 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: config.h.in =================================================================== RCS file: /cvs/dirsec/adminserver/config.h.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- config.h.in 9 May 2007 00:26:29 -0000 1.1 +++ config.h.in 19 Jun 2007 20:49:55 -0000 1.2 @@ -215,6 +215,9 @@ /* Use FHS layout */ #undef IS_FHS +/* Use FHS optional layout */ +#undef IS_FHS_OPT + /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- configure 19 Jun 2007 18:32:27 -0000 1.10 +++ configure 19 Jun 2007 20:49:55 -0000 1.11 @@ -465,10 +465,10 @@ # include #endif" -ac_default_prefix=/opt/$PACKAGE_BASE_NAME +ac_default_prefix=/opt/@PACKAGE_BASE_NAME@ ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 initdir shared_lib_suffix HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir PACKAGE_BASE_NAME nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS PACKAGE_BASE_NAME initdir HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1051,6 +1051,7 @@ --with-tags[=TAGS] include additional configurations [automatic] --with-fhs Use FHS layout + --with-fhs-opt Use FHS optional layout --with-nspr=PATH Netscape Portable Runtime (NSPR) directory --with-nspr-inc=PATH Netscape Portable Runtime (NSPR) include file directory --with-nspr-lib=PATH Netscape Portable Runtime (NSPR) library directory @@ -3824,7 +3825,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3859,7 +3859,6 @@ fi SED=$lt_cv_path_SED - echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4300,7 +4299,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4303 "configure"' > conftest.$ac_ext + echo '#line 4302 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5435,7 +5434,7 @@ # Provide some information about the compiler. -echo "$as_me:5438:" \ +echo "$as_me:5437:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6498,11 +6497,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6501: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6500: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6505: \$? = $ac_status" >&5 + echo "$as_me:6504: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6766,11 +6765,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6769: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6768: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6773: \$? = $ac_status" >&5 + echo "$as_me:6772: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6870,11 +6869,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6873: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6872: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6877: \$? = $ac_status" >&5 + echo "$as_me:6876: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8335,31 +8334,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 8342 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9236,7 +9214,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11657: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11686: \$? = $ac_status" >&5 + echo "$as_me:11661: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11783,11 +11758,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11786: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11761: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11790: \$? = $ac_status" >&5 + echo "$as_me:11765: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12315,31 +12290,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 12322 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12723,9 +12677,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -12859,11 +12810,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. @@ -12875,7 +12826,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12955,7 +12906,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13377,11 +13328,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13380: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13331: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13384: \$? = $ac_status" >&5 + echo "$as_me:13335: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13481,11 +13432,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13484: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13435: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13488: \$? = $ac_status" >&5 + echo "$as_me:13439: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14926,31 +14877,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 14933 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15334,9 +15264,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -15470,11 +15397,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. @@ -15486,7 +15413,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15566,7 +15493,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15708,11 +15635,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15711: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15638: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15715: \$? = $ac_status" >&5 + echo "$as_me:15642: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15976,11 +15903,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15979: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15906: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15983: \$? = $ac_status" >&5 + echo "$as_me:15910: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16080,11 +16007,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16083: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16010: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16087: \$? = $ac_status" >&5 + echo "$as_me:16014: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17545,31 +17472,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 17552 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17953,9 +17859,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18089,11 +17992,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. @@ -18105,7 +18008,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18185,7 +18088,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18437,9 +18340,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18573,11 +18473,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. @@ -18589,7 +18489,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18669,7 +18569,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -23230,7 +23130,8 @@ PACKAGE_BASE_NAME=`echo $PACKAGE_NAME | sed -e s/-admin//` -# the default prefix - override with --prefix or --with-fhs + +# the default prefix - override with --prefix or --with-fhs or --with-fhs-opt brand=fedora @@ -23269,6 +23170,8 @@ withval="$with_fhs" with_fhs=yes + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 @@ -23283,20 +23186,71 @@ fi +# check for --with-fhs-opt +echo "$as_me:$LINENO: checking for --with-fhs-opt" >&5 +echo $ECHO_N "checking for --with-fhs-opt... $ECHO_C" >&6 + +# Check whether --with-fhs-opt or --without-fhs-opt was given. +if test "${with_fhs_opt+set}" = set; then + withval="$with_fhs_opt" + + with_fhs_opt=yes + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi; + +if test "$with_fhs_opt" = "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define IS_FHS_OPT 1 +_ACEOF + +fi + +if test "$with_fhs" = "yes" -a "$with_fhs_opt" = "yes"; then + { { echo "$as_me:$LINENO: error: Can't set both --with-fhs and --with-fhs-opt. Please only use one of these options." >&5 +echo "$as_me: error: Can't set both --with-fhs and --with-fhs-opt. Please only use one of these options." >&2;} + { (exit 1); exit 1; }; } +fi # installation paths - by default, configure will just # use /usr as the prefix for everything, which means # /usr/etc and /usr/var. FHS sez to use /etc and /var. -if test "$with_fhs" = "yes"; then - ac_default_prefix=/usr - prefix=$ac_default_prefix - exec_prefix=$prefix - sysconfdir='/etc' - localstatedir='/var' +# The with-fhs-opt option will use the +# prefix, but it's sysconfdir and localstatedir will be +# /etc/opt, and /var/opt. +if test "$with_fhs_opt" = "yes"; then + # Override sysconfdir and localstatedir if FHS optional + # package was requested. + sysconfdir='/etc/opt' + localstatedir='/var/opt' + # relative to datadir + infdir=/inf + htmldir=/html + icondir=/icons + manualdir=/manual + ldifdir=/data +else + if test "$with_fhs" = "yes"; then + ac_default_prefix=/usr + prefix=$ac_default_prefix + exec_prefix=$prefix + sysconfdir='/etc' + localstatedir='/var' + fi +# relative to datadir + infdir=/$PACKAGE_BASE_NAME/inf + htmldir=/$PACKAGE_BASE_NAME/html + icondir=/$PACKAGE_BASE_NAME/icons + manualdir=/$PACKAGE_BASE_NAME/manual + ldifdir=/$PACKAGE_BASE_NAME/data fi -shared_lib_suffix=.so initdir=/rc.d case $host in *-*-linux*) @@ -23305,7 +23259,6 @@ ia64-hp-hpux*) ;; hppa*-hp-hpux*) - shared_lib_suffix=.sl ;; sparc-sun-solaris*) initdir=/init.d @@ -23314,7 +23267,6 @@ esac - # Check for web server # BEGIN COPYRIGHT BLOCK # Copyright (C) 2006 Red Hat, Inc. @@ -24730,13 +24682,6 @@ fi; -# relative to datadir -htmldir=/$PACKAGE_BASE_NAME/html -icondir=/$PACKAGE_BASE_NAME/icons -manualdir=/$PACKAGE_BASE_NAME/manual -ldifdir=/$PACKAGE_BASE_NAME/data -infdir=/$PACKAGE_BASE_NAME/inf - # CGI program directory, relative to libdir cgibindir=/$PACKAGE_BASE_NAME/cgi-bin @@ -24783,7 +24728,6 @@ - # write out paths for data/config files @@ -25614,7 +25558,6 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t -s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t @@ -25629,15 +25572,14 @@ s, at ac_ct_F77@,$ac_ct_F77,;t t s, at LIBTOOL@,$LIBTOOL,;t t s, at LIBOBJS@,$LIBOBJS,;t t +s, at PACKAGE_BASE_NAME@,$PACKAGE_BASE_NAME,;t t s, at initdir@,$initdir,;t t -s, at shared_lib_suffix@,$shared_lib_suffix,;t t s, at HTTPD@,$HTTPD,;t t s, at APXS@,$APXS,;t t s, at PKG_CONFIG@,$PKG_CONFIG,;t t s, at ICU_CONFIG@,$ICU_CONFIG,;t t s, at nsspcache@,$nsspcache,;t t s, at instconfigdir@,$instconfigdir,;t t -s, at PACKAGE_BASE_NAME@,$PACKAGE_BASE_NAME,;t t s, at nspr_inc@,$nspr_inc,;t t s, at nspr_lib@,$nspr_lib,;t t s, at nspr_libdir@,$nspr_libdir,;t t From fedora-directory-commits at redhat.com Tue Jun 19 23:05:11 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 19 Jun 2007 19:05:11 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts DSDialogs.pm, 1.1, 1.2 Message-ID: <200706192305.l5JN5Bd3021076@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20883 Modified Files: DSDialogs.pm Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server Description: fixing the default suffix: dc=, dc=, dc=, dc= ===> dc=, dc=, dc= Index: DSDialogs.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DSDialogs.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DSDialogs.pm 8 Jun 2007 01:09:16 -0000 1.1 +++ DSDialogs.pm 19 Jun 2007 23:05:08 -0000 1.2 @@ -122,6 +122,7 @@ if (!defined($suffix)) { $suffix = hostfqdn; } + $suffix =~ s/^[^\.]*\.//; # just the domain part # convert fqdn to dc= domain components $suffix = "dc=$suffix"; $suffix =~ s/\./, dc=/g; From fedora-directory-commits at redhat.com Tue Jun 19 23:06:45 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Tue, 19 Jun 2007 19:06:45 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src ConfigDSDialogs.pm, 1.2, 1.3 Message-ID: <200706192306.l5JN6joW021296@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21115 Modified Files: ConfigDSDialogs.pm Log Message: Resolves: #237356 Summary: Move DS Admin Code into Admin Server Description: fixing Administration Domain [com] ===> Administration Domain [] Index: ConfigDSDialogs.pm =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/ConfigDSDialogs.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ConfigDSDialogs.pm 19 Jun 2007 18:32:28 -0000 1.2 +++ ConfigDSDialogs.pm 19 Jun 2007 23:06:43 -0000 1.3 @@ -111,7 +111,7 @@ if (!defined($admindomain)) { $admindomain = $self->{manager}->{inf}->{General}->{FullMachineName} || hostfqdn; - $admindomain =~ s/^.*\.//; # just the domain part + $admindomain =~ s/^[^\.]*\.//; # just the domain part } return $admindomain; } else { # the CA cert @@ -242,7 +242,7 @@ if (!defined($admindomain)) { $admindomain = $self->{manager}->{inf}->{General}->{FullMachineName} || hostfqdn; - $admindomain =~ s/^.*\.//; # just the domain part + $admindomain =~ s/^[^\.]*\.//; # just the domain part } return $admindomain; }, From fedora-directory-commits at redhat.com Tue Jun 19 23:25:00 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 19:25:00 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src ds_newinst.pl.in, 1.8, 1.9 Message-ID: <200706192325.l5JNP0QK022824@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22769 Modified Files: ds_newinst.pl.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server - admin server setup Fix Description: Allow the use of '-' and '_' in section and parameter names when passing in inf parameters via the command line. Platforms tested: RHEL4 Flag Day: no Doc impact: no Index: ds_newinst.pl.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_newinst.pl.in,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ds_newinst.pl.in 15 Jun 2007 22:11:15 -0000 1.8 +++ ds_newinst.pl.in 19 Jun 2007 23:24:58 -0000 1.9 @@ -189,7 +189,7 @@ # process command line arguments for (@ARGV) { - if (/^(\w+)\.(\w+)=(.*)$/) { # e.g. section.param=value + if (/^([\w_-]+)\.([\w_-]+)=(.*)$/) { # e.g. section.param=value $table{$1}->{$2} = $3; } else { # file? readInfFile($_); From fedora-directory-commits at redhat.com Tue Jun 19 23:25:00 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 19:25:00 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Setup.pm.in, 1.4, 1.5 Message-ID: <200706192325.l5JNP08M022828@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22769/scripts Modified Files: Setup.pm.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server - admin server setup Fix Description: Allow the use of '-' and '_' in section and parameter names when passing in inf parameters via the command line. Platforms tested: RHEL4 Flag Day: no Doc impact: no Index: Setup.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Setup.pm.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Setup.pm.in 19 Jun 2007 18:24:57 -0000 1.4 +++ Setup.pm.in 19 Jun 2007 23:24:58 -0000 1.5 @@ -148,7 +148,7 @@ # arguments override those passed in via an inf file - this # allows the reuse of .inf files with some parameters overridden for (@ARGV) { - if (/^(\w_-+)\.(\w_-+)=(.*)$/) { # e.g. section.param=value + if (/^([\w_-]+)\.([\w_-]+)=(.*)$/) { # e.g. section.param=value $self->{inf}->{$1}->{$2} = $3; } else { # error print STDERR "Error: unknown command line option $_\n"; From fedora-directory-commits at redhat.com Tue Jun 19 23:31:15 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 19 Jun 2007 19:31:15 -0400 Subject: [Fedora-directory-commits] mod_admserv mod_admserv.c,1.29,1.30 Message-ID: <200706192331.l5JNVFDD024455@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/mod_admserv In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23269 Modified Files: mod_admserv.c Log Message: Resolves: bug 244937 Description: mod_admserv: Should do client TLS/SSL init even if mod_nss not used Fix Description: The way the code currently works is that mod_admserv let's mod_nss do all of the NSS initialization. But mod_nss is only used when the admin server is also a TLS/SSL server. mod_admserv still needs to do NSS initialization when it is a TLS/SSL client (e.g. of the config DS using LDAPS). This fix allows mod_admserv to do the client side TLS/SSL init. Platforms tested: RHEL4 Flag Day: no Doc impact: no Index: mod_admserv.c =================================================================== RCS file: /cvs/dirsec/mod_admserv/mod_admserv.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- mod_admserv.c 11 May 2007 19:46:36 -0000 1.29 +++ mod_admserv.c 19 Jun 2007 23:31:12 -0000 1.30 @@ -751,12 +751,18 @@ } static int -sslinit() +sslinit(AdmldapInfo info, const char *configdir) { if (!NSS_IsInitialized()) { - ap_log_error(APLOG_MARK, APLOG_CRIT, 0 /* status */, NULL, - "sslinit: mod_nss has not been started and initialized: cannot start server"); - exit(1); + /* mod_nss is used when we are a TLS/SSL server - mod_nss starts up before we do + and will set up all of the TLS/SSL stuff */ + /* if we are acting as simply a TLS/SSL client to the directory server, + we still have to perform our own TLS/SSL client init */ + if (ADMSSL_Init(info, configdir, 0)) { + ap_log_error(APLOG_MARK, APLOG_CRIT, 0 /* status */, NULL, + "sslinit: NSS is required to use LDAPS, but security initialization failed. Cannot start server"); + exit(1); + } } else { ap_log_error(APLOG_MARK, APLOG_DEBUG, 0 /* status */, NULL, "sslinit: mod_nss has been started and initialized"); @@ -794,7 +800,7 @@ } if (admldapGetSecurity(info)) { - sslinit(); + sslinit(info, configdir); if (admldapBuildInfoSSL(info, &error)) { } else { char *host = admldapGetHost(info); @@ -1371,7 +1377,7 @@ } if (admldapGetSecurity(ldapInfo)) { - sslinit(); + sslinit(ldapInfo, admroot); } destroyAdmldap(ldapInfo); @@ -2035,7 +2041,7 @@ } if (admldapGetSecurity(info)) { - sslinit(); + sslinit(info, configdir); if (admldapBuildInfoSSL(info, &error)) { } else { ap_log_error(APLOG_MARK, APLOG_CRIT, 0, base_server, From fedora-directory-commits at redhat.com Wed Jun 20 14:40:26 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 10:40:26 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Inf.pm, 1.2, 1.3 Setup.pm.in, 1.5, 1.6 Message-ID: <200706201440.l5KEeQkX022283@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22246/ldapserver/ldap/admin/src/scripts Modified Files: Inf.pm Setup.pm.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - Inf, ds_newinst.pl Fix Description: Some minor cleanup: 1) Setup must not write to the user supplied inf file. Setup uses the user supplied inf to initialize its cache, but creates a tempfile for writing. 2) When writing an Inf, preserve the continuation lines. 3) Added Noriko's fix for suffix generation to ds_newinst.pl Platforms tested: RHEL4 Flag Day: No. Doc impact: No. Index: Inf.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Inf.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Inf.pm 19 Jun 2007 18:24:57 -0000 1.2 +++ Inf.pm 20 Jun 2007 14:40:24 -0000 1.3 @@ -131,7 +131,9 @@ print $fh "[$name]\n"; for my $key (keys %{$section}) { if (defined($section->{$key})) { - print $fh "$key = ", $section->{$key}, "\n"; + my $val = $section->{$key}; + $val =~ s/\n/\\\n/g; # make continuation lines + print $fh "$key = $val\n"; } } } Index: Setup.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Setup.pm.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Setup.pm.in 19 Jun 2007 23:24:58 -0000 1.5 +++ Setup.pm.in 20 Jun 2007 14:40:24 -0000 1.6 @@ -132,17 +132,17 @@ $self->{preonly} = $preonly; $self->{logfile} = $logfile; $self->{log} = new SetupLog($self->{logfile}); - if (!$self->{inffile}) { - my ($fh, $filename) = tempfile("setupXXXXXX", UNLINK => !$keep, - SUFFIX => ".inf", OPEN => 0, - DIR => File::Spec->tmpdir); - $self->{inffile} = $filename; - $self->{inf} = new Inf; - $self->{inf}->{filename} = $self->{inffile}; - } else { + # if user supplied inf file, use that to initialize + if (defined($self->{inffile})) { $self->{inf} = new Inf($self->{inffile}); - $self->{keep} = 1; # do not delete user supplied inf file } + my $fh; + # create a temp inf file for writing for other processes + # never overwrite the user supplied inf file + ($fh, $self->{inffile}) = tempfile("setupXXXXXX", UNLINK => !$keep, + SUFFIX => ".inf", OPEN => 0, + DIR => File::Spec->tmpdir); + $self->{inf}->{filename} = $self->{inffile}; # see if user passed in default inf values - also, command line # arguments override those passed in via an inf file - this @@ -157,6 +157,8 @@ } } + # this is the base config directory - the directory containing + # the slapd-instance instance specific config directories $self->{configdir} = $ENV{DS_CONFIG_DIR} || "@instconfigdir@"; $self = bless $self, $type; From fedora-directory-commits at redhat.com Wed Jun 20 14:40:26 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 10:40:26 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src ds_newinst.pl.in, 1.9, 1.10 Message-ID: <200706201440.l5KEeQc8022276@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22246/ldapserver/ldap/admin/src Modified Files: ds_newinst.pl.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - Inf, ds_newinst.pl Fix Description: Some minor cleanup: 1) Setup must not write to the user supplied inf file. Setup uses the user supplied inf to initialize its cache, but creates a tempfile for writing. 2) When writing an Inf, preserve the continuation lines. 3) Added Noriko's fix for suffix generation to ds_newinst.pl Platforms tested: RHEL4 Flag Day: No. Doc impact: No. Index: ds_newinst.pl.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_newinst.pl.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ds_newinst.pl.in 19 Jun 2007 23:24:58 -0000 1.9 +++ ds_newinst.pl.in 20 Jun 2007 14:40:23 -0000 1.10 @@ -217,6 +217,7 @@ if (!$table{slapd}->{Suffix}) { my $suffix = $table{General}->{FullMachineName}; # convert fqdn to dc= domain components + $suffix =~ s/^[^\.]*\.//; # just the domain part $suffix = "dc=$suffix"; $suffix =~ s/\./, dc=/g; $table{slapd}->{Suffix} = $suffix; From fedora-directory-commits at redhat.com Wed Jun 20 16:27:52 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 12:27:52 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Dialog.pm, 1.3, 1.4 DialogManager.pm, 1.3, 1.4 Setup.pm.in, 1.6, 1.7 Message-ID: <200706201627.l5KGRqu0018249@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18222/ldapserver/ldap/admin/src/scripts Modified Files: Dialog.pm DialogManager.pm Setup.pm.in Log Message: Resolves: bug 237356 Description: Move DS Admin Code into Admin Server - navigation Fix Description: Some minor cleanup: 1) Fixed navigation. Now you can go back through several dialogs. 2) Need to create a new Inf even if no file given Platforms tested: RHEL4 Flag Day: No. Doc impact: No. Index: Dialog.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Dialog.pm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Dialog.pm 15 Jun 2007 22:11:15 -0000 1.3 +++ Dialog.pm 20 Jun 2007 16:27:50 -0000 1.4 @@ -136,6 +136,7 @@ # you can set the 0 to a 1 if the user has chosen to use security sub run { my $self = shift; + my $direction = shift; my $resp = $DialogManager::SAME; # display the dialog text @@ -181,6 +182,12 @@ } } elsif ($resp == $DialogManager::ERR) { last; + } elsif (!$self->isDisplayed() && ($direction < 0) && + ($resp == $DialogManager::NEXT)) { + # we did not display this dialog, and the current navigation + # direction is BACK, so we should return BACK, to allow + # the user to go back through several dialogs + $resp = $DialogManager::BACK; } } Index: DialogManager.pm =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DialogManager.pm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- DialogManager.pm 19 Jun 2007 18:24:57 -0000 1.3 +++ DialogManager.pm 20 Jun 2007 16:27:50 -0000 1.4 @@ -206,7 +206,7 @@ my $dialog = $self->{dialogs}->[$index]; if ($dialog->isEnabled()) { my $resp = $NEXT; - $resp = $dialog->run(); + $resp = $dialog->run($incr); if ($resp == $BACK) { $incr = -1; } elsif ($resp == $NEXT) { Index: Setup.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Setup.pm.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Setup.pm.in 20 Jun 2007 14:40:24 -0000 1.6 +++ Setup.pm.in 20 Jun 2007 16:27:50 -0000 1.7 @@ -135,6 +135,8 @@ # if user supplied inf file, use that to initialize if (defined($self->{inffile})) { $self->{inf} = new Inf($self->{inffile}); + } else { + $self->{inf} = new Inf; } my $fh; # create a temp inf file for writing for other processes From fedora-directory-commits at redhat.com Wed Jun 20 16:35:05 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 12:35:05 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src ASDialogs.pm.in, 1.3, 1.4 AdminServer.pm.in, 1.1, 1.2 AdminUtil.pm.in, 1.2, 1.3 ConfigDSDialogs.pm, 1.3, 1.4 setup-ds-admin.pl.in, 1.3, 1.4 setup-ds-admin.res.in, 1.3, 1.4 Message-ID: <200706201635.l5KGZ5tu022428@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22394/adminserver/admserv/newinst/src Modified Files: ASDialogs.pm.in AdminServer.pm.in AdminUtil.pm.in ConfigDSDialogs.pm setup-ds-admin.pl.in setup-ds-admin.res.in Log Message: Resolves: bug 237356 Bug Description: Move DS Admin Code into Admin Server - support cacert for configds, fix permissions. Reviewed by: nkinder (Thanks!) Fix Description: If the Config DS is set up to use TLS/SSL, we should allow the admin to setup a new admin server to use TLS/SSL with the Config DS. The user may supply either a cacert file in ascii/pem format, or just set the CACertificate param in the .inf file to the actual ascii value. This latter option allows you to have a single .inf file that you can carry around to all of your servers that you want to set up, instead of having to have an additional file for the cacert. However, it only works for the initial setup. It should probably detect if the cacert already exists and just use it if so. File permissions need to be set correctly. The code that deals with file and directory creation should ensure that permissions are set properly. This mostly applies to the configdir, so that the config files needed to be read and written by the admin server have the correct permissions and ownership. Also fixed a minor bug about changing the admin server port, and with detecting if there is an existing config ds to use or not. Platforms tested: RHEL4 Flag Day: no Doc impact: no Index: ASDialogs.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/ASDialogs.pm.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ASDialogs.pm.in 19 Jun 2007 18:32:28 -0000 1.3 +++ ASDialogs.pm.in 20 Jun 2007 16:35:02 -0000 1.4 @@ -75,6 +75,7 @@ my $port = $self->{manager}->{inf}->{admin}->{Port}; if (!defined($port)) { $port = @admservport@; + $self->{manager}->{setup}->{asorigport} = $port; } if (!$self->{manager}->{setup}->{reconfigas}) { if (!portAvailable($port)) { Index: AdminServer.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/AdminServer.pm.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AdminServer.pm.in 19 Jun 2007 18:32:28 -0000 1.1 +++ AdminServer.pm.in 20 Jun 2007 16:35:02 -0000 1.2 @@ -156,6 +156,36 @@ return 0; } + # chown and chmod other files appropriately + for (glob("$configdir/*")) { + # these are owned by root + next if (/httpd.conf$/); + next if (/nss.conf$/); + next if (/admserv.conf$/); + # these should have been handled above + next if (/adm.conf$/); + next if (/admpw$/); + next if (/local.conf$/); + next if (! -f $_); # should never happen + # all other files should be owned by SysUser + $! = 0; # clear errno + chown $uid, -1, $_; + if ($!) { + $setup->msg($FATAL, 'error_chowning_file', $_, + $setup->{inf}->{admin}->{SysUser}, $!); + return 0; + } + # the files should be writable + $! = 0; # clear errno + my ($ignore, $ignore, $mode, @rest) = stat $_; + $mode &= 0700; # disallow access to non-owner + chmod $mode, $_; + if ($!) { + $setup->msg($FATAL, 'error_chmoding_file', $_, $!); + return 0; + } + } + return 1; } @@ -270,7 +300,7 @@ my $user = $admConf->{sysuser}; my $cmd = "@cgibindir@/config op=set configuration.nsSuiteSpotUser=\"$user\""; - if ($origport && ($port != $origport)) { + if ($port != $origport) { # need to change the port number $cmd .= " configuration.nsServerPort=\"$port\""; } if ($serverAddress) { Index: AdminUtil.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/AdminUtil.pm.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AdminUtil.pm.in 19 Jun 2007 18:32:28 -0000 1.2 +++ AdminUtil.pm.in 20 Jun 2007 16:35:02 -0000 1.3 @@ -39,8 +39,10 @@ package AdminUtil; require Exporter; @ISA = qw(Exporter); - at EXPORT = qw(getAdmConf getConfigDSConn createConfigDS updateAdmConf updateAdmpw updateLocalConf); - at EXPORT_OK = qw(getAdmConf getConfigDSConn createConfigDS updateAdmConf updateAdmpw updateLocalConf); + at EXPORT = qw(getAdmConf getConfigDSConn createConfigDS updateAdmConf + updateAdmpw updateLocalConf importCACert); + at EXPORT_OK = qw(getAdmConf getConfigDSConn createConfigDS updateAdmConf + updateAdmpw updateLocalConf importCACert); # load perldap use Mozilla::LDAP::Conn; @@ -166,7 +168,7 @@ # first try anon bind # 3 is LDAPv3 - 1 means use nspr my $conn = new Mozilla::LDAP::Conn($h->{host}, $h->{port}, "", "", - $certdir, 0, 3, 1); + $certdir); my $errstr = "Success"; if ($conn) { @@ -393,3 +395,54 @@ return 1; } + +sub importCACert { + my $securitydir = shift; + my $cacert = shift; # may be a file or the actual cert in ascii/pem format + my @errs = (); # return + + if (! -d $securitydir) { + @errs = ('securitydir_not_exist', $securitydir); + return @errs; + } + + if (! -w $securitydir) { + @errs = ('securitydir_not_writable', $securitydir); + return @errs; + } + + # see if "CA certificate" already exists + my $output = `certutil -L -d \"$securitydir\" 2>&1`; + if ($output =~ /CA certificate/) { + @errs = ('cacert_already_exists', $securitydir); + return @errs; + } + + if ($cacert =~ /^-----BEGIN CERTIFICATE-----/) { + $! = 0; + $? = 0; # clear error indicators + if (!open(CERTUTIL, "|certutil -A -d \"$securitydir\" -a -t CT,, -n \"CA certificate\"")) { + @errs = ("error_running_certutil", $!); + return @errs; + } + print CERTUTIL $cacert, "\n"; + close(CERTUTIL); + if ($?) { + @errs = ('error_return_certutil', $?, $!); + return @errs; + } + } elsif (! -f $cacert) { + @errs = ('cacertfile_not_found', $cacert); + return @errs; + } else { + $! = 0; + $? = 0; # clear error indicators + $output = `certutil -A -d \"$securitydir\" -a -t CT,, -n \"CA certificate\" -i \"$cacert\" 2>&1`; + if ($?) { + @errs = ('error_return2_certutil', $?, $!, $output); + return @errs; + } + } + + return @errs; +} Index: ConfigDSDialogs.pm =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/ConfigDSDialogs.pm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ConfigDSDialogs.pm 19 Jun 2007 23:06:43 -0000 1.3 +++ ConfigDSDialogs.pm 20 Jun 2007 16:35:02 -0000 1.4 @@ -46,6 +46,8 @@ use Dialog; use Util; +use Mozilla::LDAP::API qw(ldap_explode_dn); + sub verifyConfigDSInfo { my $self = shift; my $url = $self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL}; @@ -57,7 +59,7 @@ return ('dialog_configdsinfo_nocacert'); } if (!$self->{manager}->{inf}->{General}->{certdb}) { - (@errs) = AdminUtil::importCACert($self->{manager}->{setup}->{configdir}, + (@errs) = AdminUtil::importCACert($self->{manager}->{setup}->{configdir} . "/admin-serv", $self->{manager}->{inf}->{General}->{CACertificate}); if (@errs) { return @errs; @@ -116,7 +118,9 @@ return $admindomain; } else { # the CA cert my $url = $self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL}; - if (($url !~ /^ldaps/) or $self->{manager}->{inf}->{General}->{certdb}) { + my $cert = $self->{manager}->{inf}->{General}->{CACertificate}; + if (($url !~ /^ldaps/) or $self->{manager}->{inf}->{General}->{certdb} or + ($cert =~ /^-----BEGIN CERTIFICATE-----/)) { # not using LDAPS, or already have a certdb - hide CA prompt $self->{prompts}->[4]->[2] = 1; } else { @@ -159,7 +163,8 @@ $self->{manager}->{inf}->{General}->{AdminDomain} = $ans; $res = $DialogManager::NEXT; } else { # CA cert filename - if ($ans && length($ans) && ! -f $ans) { + if ($ans && length($ans) && + ($ans !~ /^-----BEGIN CERTIFICATE-----/) && ! -f $ans) { $self->{manager}->alert("dialog_configdsinfo_ca_error", $ans); } else { $self->{manager}->{inf}->{General}->{CACertificate} = $ans; @@ -192,7 +197,10 @@ if ($index == 0) { # return undef for password defaults $id = $self->{manager}->{inf}->{General}->{ConfigDirectoryAdminID}; if (!defined($id)) { - $id = "admin" + $id = "admin"; + } elsif (isValidDN($id)) { # must be a uid for this dialog + my @rdns = ldap_explode_dn($id, 1); + $id = $rdns[0]; } } return $id; @@ -271,15 +279,19 @@ my $yes = $self->{"manager"}->getText("yes"); my $nno = $self->{"manager"}->getText("no"); my $ret = 0; - if (!defined($self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}) and - !defined($self->{manager}->{inf}->{slapd}->{UseExistingMC})) { - $ret = 0; # implicitly create the config ds - } elsif (($yes =~ /^$self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}/i) or - !$self->{manager}->{inf}->{slapd}->{UseExistingMC}) { + if ((defined($self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}) and + ($yes =~ /^$self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}/i)) or + (defined($self->{manager}->{inf}->{slapd}->{UseExistingMC}) and + !$self->{manager}->{inf}->{slapd}->{UseExistingMC})) { # we have to set up the directory server as the config ds $self->{manager}->{inf}->{slapd}->{SlapdConfigForMC} = "yes"; $self->{manager}->{inf}->{slapd}->{UseExistingMC} = 0; $ret = 0; # explicitly create the config ds + } elsif (defined($self->{manager}->{inf}->{General}->{ConfigDirectoryLdapURL})) { + $ret = 1; # use an existing config ds and register the servers with that one + } elsif (!defined($self->{manager}->{inf}->{slapd}->{SlapdConfigForMC}) and + !defined($self->{manager}->{inf}->{slapd}->{UseExistingMC})) { + $ret = 0; # implicitly create the config ds } else { $ret = 1; # use an existing config ds and register the servers with that one if (exists($self->{manager}->{inf}->{slapd}->{SlapdConfigForMC})) { Index: setup-ds-admin.pl.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup-ds-admin.pl.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- setup-ds-admin.pl.in 19 Jun 2007 18:32:28 -0000 1.3 +++ setup-ds-admin.pl.in 20 Jun 2007 16:35:02 -0000 1.4 @@ -128,14 +128,18 @@ } } -if (!$setup->{inf}->{slapd}->{UseExistingMC} or - ($setup->{inf}->{slapd}->{SlapdConfigForMC} =~ /^yes/i)) { - if (!$setup->{inf}->{General}->{ConfigDirectoryLdapURL}) { - $setup->{inf}->{General}->{ConfigDirectoryLdapURL} = - "ldap://" . $setup->{inf}->{General}->{FullMachineName} . - ":" . $setup->{inf}->{slapd}->{ServerPort} . - "/o=NetscapeRoot"; - } +my $createconfigds; +if ((defined($setup->{inf}->{slapd}->{SlapdConfigForMC}) and + ("yes" =~ /^$setup->{inf}->{slapd}->{SlapdConfigForMC}/i)) or + (defined($setup->{inf}->{slapd}->{UseExistingMC}) and + !$setup->{inf}->{slapd}->{UseExistingMC})) { + # if user has chosen to create the config ds, we must set + # the url appropriately, before writing the inf for ds_newinst + $setup->{inf}->{General}->{ConfigDirectoryLdapURL} = + "ldap://" . $setup->{inf}->{General}->{FullMachineName} . + ":" . $setup->{inf}->{slapd}->{ServerPort} . + "/o=NetscapeRoot"; + $createconfigds = 1; } $setup->{inf}->write(); @@ -149,7 +153,7 @@ } # setup directory server instance to be the configuration DS -if ($setup->{inf}->{slapd}->{SlapdConfigForMC} =~ /yes/i) { +if ($createconfigds) { my @errs = (); $setup->msg('create_configds'); if (!createConfigDS($setup->{inf}, \@errs)) { Index: setup-ds-admin.res.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup-ds-admin.res.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- setup-ds-admin.res.in 19 Jun 2007 18:32:28 -0000 1.3 +++ setup-ds-admin.res.in 20 Jun 2007 16:35:02 -0000 1.4 @@ -94,6 +94,8 @@ error_create_adminserver = Failed to create and configure the admin server\n error_creating_directory = Could not create admin server directory '%s'. Error: %s\n error_chowning_directory = Could not change ownership of directory '%s' to userid '%s': Error: %s\n +error_chowning_file = Could not change ownership of file '%s' to userid '%s': Error: %s\n +error_chmoding_file = Could not change permissions of file '%s': Error: %s\n error_chgrping_directory = Could not change group of directory '%s' to group '%s': Error: %s\n updating_admconf = Updating adm.conf . . .\n error_updating_admconf = Could not update adm.conf. Error: %s\n @@ -121,3 +123,11 @@ registering_dirserver = Registering directory server with the configuration directory server . . .\n error_creating_dirserver_maptbl = Could not create the map table for registering the directory server with the configuration directory server.\n error_reconfig_adminserver = Could not reconfigure the admin server.\n + +securitydir_not_exist = The security file directory '%s' does not exist.\n +securitydir_not_writable = The security file directory '%s' is not writable.\n +cacertfile_not_found = The CA certificate file '%s' was not found.\n +error_running_certutil = Could not run the certutil program to add the CA certificate. Error: %s\n +error_return_certutil = The certutil program returned error code '%s' from attempting to add the CA certificate. Error: %s +error_return2_certutil = The certutil program returned error code '%s' from attempting to add the CA certificate. Error: %s\nHere is the output of the command: %s +cacert_already_exists = The certificate database in '%s' already contains a CA certificate. Please remove it first, or use the certutil program to add the CA certificate with a different name.\n From fedora-directory-commits at redhat.com Wed Jun 20 22:08:41 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:41 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src slapd.inf.in, NONE, 1.1 Message-ID: <200706202208.l5KM8f9M014909@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/admin/src Added Files: slapd.inf.in Log Message: remove obsolete files --- NEW FILE slapd.inf.in --- # # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # [General] Name=@capbrand@ Directory Suite Components=slapd [slapd] Name= @capbrand@ Directory Server InstanceNamePrefix= Directory Server NickName= slapd Version= @PACKAGE_VERSION@ Compatible= 1.0 BuildNumber= @NQBUILD_NUM@ Description= @capbrand@ Directory Server ProductName=Directory Server Vendor= @vendor@ # the rest of these are obsolete, but left here for # compatability with the old setuputil Expires= 0 Security= domestic IsDirLite=false PrePreInstall= dsktune PreInstall= ns-config PostInstall= bin/slapd/admin/bin/ns-update PreUninstall= bin/slapd/admin/bin/uninstall PostUninstall= Checked=True Mandatory=False IsLdap=True From fedora-directory-commits at redhat.com Wed Jun 20 22:08:42 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:42 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm Makefile, 1.70, NONE fedora-patch.inf, 1.4, NONE filterfiles.sh, 1.4, NONE fixBaseInf.pl, 1.4, NONE fixNSPerlInf.pl, 1.5, NONE fixPerlDAPInf.pl, 1.6, NONE fixSetupInf.pl, 1.8, NONE genPerlDAPInf.pl, 1.1, NONE genRpmPatch.pl, 1.3, NONE ldapjava.mpw, 1.4, NONE nbsp2utf8.sh, 1.4, NONE ntpack.sh, 1.4, NONE redhat-patch.inf, 1.4, NONE unixstrip, 1.4, NONE unixstrip.pl, 1.4, NONE Message-ID: <200706202208.l5KM8gGh014928@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm Removed Files: Makefile fedora-patch.inf filterfiles.sh fixBaseInf.pl fixNSPerlInf.pl fixPerlDAPInf.pl fixSetupInf.pl genPerlDAPInf.pl genRpmPatch.pl ldapjava.mpw nbsp2utf8.sh ntpack.sh redhat-patch.inf unixstrip unixstrip.pl Log Message: remove obsolete files --- Makefile DELETED --- --- fedora-patch.inf DELETED --- --- filterfiles.sh DELETED --- --- fixBaseInf.pl DELETED --- --- fixNSPerlInf.pl DELETED --- --- fixPerlDAPInf.pl DELETED --- --- fixSetupInf.pl DELETED --- --- genPerlDAPInf.pl DELETED --- --- genRpmPatch.pl DELETED --- --- ldapjava.mpw DELETED --- --- nbsp2utf8.sh DELETED --- --- ntpack.sh DELETED --- --- redhat-patch.inf DELETED --- --- unixstrip DELETED --- --- unixstrip.pl DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:42 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:42 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/newinst Makefile, 1.12, NONE fixINF.pl, 1.4, NONE ns-keygen, 1.7, NONE ns-update, 1.13, NONE replaceToken.pl, 1.4, NONE setup, 1.16, NONE setup.patch, 1.3, NONE setup.pl, 1.5, NONE setup.sh, 1.6, NONE slapd-patch.inf, 1.3, NONE slapd.inf.in, 1.2, NONE uninstall, 1.4, NONE ux-config.cc, 1.11, NONE ux-config.h, 1.7, NONE ux-dialog.cc, 1.11, NONE ux-dialog.h, 1.6, NONE ux-dsalib_dn.c, 1.5, NONE ux-guesses.cc, 1.6, NONE Message-ID: <200706202208.l5KM8gV9014944@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/newinst In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/newinst Removed Files: Makefile fixINF.pl ns-keygen ns-update replaceToken.pl setup setup.patch setup.pl setup.sh slapd-patch.inf slapd.inf.in uninstall ux-config.cc ux-config.h ux-dialog.cc ux-dialog.h ux-dsalib_dn.c ux-guesses.cc Log Message: remove obsolete files --- Makefile DELETED --- --- fixINF.pl DELETED --- --- ns-keygen DELETED --- --- ns-update DELETED --- --- replaceToken.pl DELETED --- --- setup DELETED --- --- setup.patch DELETED --- --- setup.pl DELETED --- --- setup.sh DELETED --- --- slapd-patch.inf DELETED --- --- slapd.inf.in DELETED --- --- uninstall DELETED --- --- ux-config.cc DELETED --- --- ux-config.h DELETED --- --- ux-dialog.cc DELETED --- --- ux-dialog.h DELETED --- --- ux-dsalib_dn.c DELETED --- --- ux-guesses.cc DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:42 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:42 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/newinstnt Makefile, 1.8, NONE consolinst.c, 1.7, NONE consolinst.h, 1.5, NONE dsinst.aps, 1.1.1.1, NONE dsinst.c, 1.13, NONE dsinst.h, 1.6, NONE dsinst.rc, 1.9, NONE dsinst_dsalib_dn.c, 1.5, NONE libinst.c, 1.5, NONE libinst.h, 1.5, NONE resource.h, 1.6, NONE setup.bat, 1.4, NONE setup.inf, 1.6, NONE slapd.inf, 1.7, NONE wizard.bmp, 1.1.1.1, NONE Message-ID: <200706202208.l5KM8h7U014960@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/newinstnt In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/newinstnt Removed Files: Makefile consolinst.c consolinst.h dsinst.aps dsinst.c dsinst.h dsinst.rc dsinst_dsalib_dn.c libinst.c libinst.h resource.h setup.bat setup.inf slapd.inf wizard.bmp Log Message: remove obsolete files --- Makefile DELETED --- --- consolinst.c DELETED --- --- consolinst.h DELETED --- --- dsinst.aps DELETED --- --- dsinst.c DELETED --- --- dsinst.h DELETED --- --- dsinst.rc DELETED --- --- dsinst_dsalib_dn.c DELETED --- --- libinst.c DELETED --- --- libinst.h DELETED --- --- resource.h DELETED --- --- setup.bat DELETED --- --- setup.inf DELETED --- --- slapd.inf DELETED --- --- wizard.bmp DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:44 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:44 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/v1confs ns-calendar-globopt.conf, 1.4, NONE ns-calendar-schema.conf, 1.4, NONE ns-certificate-globopt.conf, 1.4, NONE ns-certificate-schema.conf, 1.4, NONE ns-compass-globopt.conf, 1.4, NONE ns-compass-schema.conf, 1.4, NONE ns-directory-globopt.conf, 1.4, NONE ns-directory-schema.conf, 1.4, NONE ns-mail-globopt.conf, 1.4, NONE ns-mail-schema.conf, 1.4, NONE ns-media-globopt.conf, 1.4, NONE ns-media-schema.conf, 1.4, NONE ns-news-globopt.conf, 1.4, NONE ns-news-schema.conf, 1.4, NONE ns-proxy-globopt.conf, 1.4, NONE ns-proxy-schema.conf, 1.4, NONE ns-web-globopt.conf, 1.4, NONE ns-web-schema.conf, 1.4, NONE slapd.at.conf, 1.4, NONE slapd.oc.conf, 1.4, NONE Message-ID: <200706202208.l5KM8iIa014976@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/v1confs In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/v1confs Removed Files: ns-calendar-globopt.conf ns-calendar-schema.conf ns-certificate-globopt.conf ns-certificate-schema.conf ns-compass-globopt.conf ns-compass-schema.conf ns-directory-globopt.conf ns-directory-schema.conf ns-mail-globopt.conf ns-mail-schema.conf ns-media-globopt.conf ns-media-schema.conf ns-news-globopt.conf ns-news-schema.conf ns-proxy-globopt.conf ns-proxy-schema.conf ns-web-globopt.conf ns-web-schema.conf slapd.at.conf slapd.oc.conf Log Message: remove obsolete files --- ns-calendar-globopt.conf DELETED --- --- ns-calendar-schema.conf DELETED --- --- ns-certificate-globopt.conf DELETED --- --- ns-certificate-schema.conf DELETED --- --- ns-compass-globopt.conf DELETED --- --- ns-compass-schema.conf DELETED --- --- ns-directory-globopt.conf DELETED --- --- ns-directory-schema.conf DELETED --- --- ns-mail-globopt.conf DELETED --- --- ns-mail-schema.conf DELETED --- --- ns-media-globopt.conf DELETED --- --- ns-media-schema.conf DELETED --- --- ns-news-globopt.conf DELETED --- --- ns-news-schema.conf DELETED --- --- ns-proxy-globopt.conf DELETED --- --- ns-proxy-schema.conf DELETED --- --- ns-web-globopt.conf DELETED --- --- ns-web-schema.conf DELETED --- --- slapd.at.conf DELETED --- --- slapd.oc.conf DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:44 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:44 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/v3confs ns-calendar-globopt.conf, 1.4, NONE ns-calendar-schema.conf, 1.4, NONE ns-certificate-globopt.conf, 1.4, NONE ns-certificate-schema.conf, 1.4, NONE ns-compass-globopt.conf, 1.4, NONE ns-compass-schema.conf, 1.4, NONE ns-directory-globopt.conf, 1.4, NONE ns-directory-schema.conf, 1.4, NONE ns-mail-globopt.conf, 1.4, NONE ns-mail-schema.conf, 1.4, NONE ns-media-globopt.conf, 1.4, NONE ns-media-schema.conf, 1.4, NONE ns-news-globopt.conf, 1.4, NONE ns-news-schema.conf, 1.4, NONE ns-proxy-globopt.conf, 1.4, NONE ns-proxy-schema.conf, 1.4, NONE ns-web-globopt.conf, 1.4, NONE ns-web-schema.conf, 1.4, NONE slapd.at.conf, 1.4, NONE slapd.oc.conf, 1.4, NONE Message-ID: <200706202208.l5KM8ihk014992@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/v3confs In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/v3confs Removed Files: ns-calendar-globopt.conf ns-calendar-schema.conf ns-certificate-globopt.conf ns-certificate-schema.conf ns-compass-globopt.conf ns-compass-schema.conf ns-directory-globopt.conf ns-directory-schema.conf ns-mail-globopt.conf ns-mail-schema.conf ns-media-globopt.conf ns-media-schema.conf ns-news-globopt.conf ns-news-schema.conf ns-proxy-globopt.conf ns-proxy-schema.conf ns-web-globopt.conf ns-web-schema.conf slapd.at.conf slapd.oc.conf Log Message: remove obsolete files --- ns-calendar-globopt.conf DELETED --- --- ns-calendar-schema.conf DELETED --- --- ns-certificate-globopt.conf DELETED --- --- ns-certificate-schema.conf DELETED --- --- ns-compass-globopt.conf DELETED --- --- ns-compass-schema.conf DELETED --- --- ns-directory-globopt.conf DELETED --- --- ns-directory-schema.conf DELETED --- --- ns-mail-globopt.conf DELETED --- --- ns-mail-schema.conf DELETED --- --- ns-media-globopt.conf DELETED --- --- ns-media-schema.conf DELETED --- --- ns-news-globopt.conf DELETED --- --- ns-news-schema.conf DELETED --- --- ns-proxy-globopt.conf DELETED --- --- ns-proxy-schema.conf DELETED --- --- ns-web-globopt.conf DELETED --- --- ns-web-schema.conf DELETED --- --- slapd.at.conf DELETED --- --- slapd.oc.conf DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:44 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:44 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/v4confs/40 java-object-schema.conf, 1.4, NONE ns-admin-schema.conf, 1.4, NONE ns-calendar-globopt.conf, 1.4, NONE ns-calendar-schema.conf, 1.4, NONE ns-certificate-globopt.conf, 1.4, NONE ns-certificate-schema.conf, 1.4, NONE ns-common-schema.conf, 1.4, NONE ns-compass-globopt.conf, 1.4, NONE ns-compass-schema.conf, 1.4, NONE ns-cos-schema.conf, 1.4, NONE ns-delegated-admin-schema.conf, 1.4, NONE ns-directory-globopt.conf, 1.4, NONE ns-directory-schema.conf, 1.4, NONE ns-legacy-schema.conf, 1.4, NONE ns-mail-globopt.conf, 1.4, NONE ns-mail-schema.conf, 1.4, NONE ns-mcd-browser-schema.conf, 1.4, NONE ns-mcd-config-schema.conf, 1.4, NONE ns-mcd-li-globopt.conf, 1.4, NONE ns-mcd-li-schema.conf, 1.4, NONE ns-mcd-mail-schema.conf, 1.4, NONE ns-media-globopt.conf, 1.4, NONE ns-media-schema.conf, 1.4, NONE ns-mlm-schema.conf, 1.4, NONE ns-msg-schema.conf, 1.4, NONE ns-netshare-schema.conf, 1.4, NONE ns-news-globopt.conf, 1.4, NONE ns-news-schema.conf, 1.4, NONE ns-proxy-globopt.conf, 1.4, NONE ns-proxy-schema.c! onf, 1.4, NONE ns-value-schema.conf, 1.4, NONE ns-wcal-globopt.conf, 1.4, NONE ns-wcal-schema.conf, 1.4, NONE ns-web-globopt.conf, 1.4, NONE ns-web-schema.conf, 1.4, NONE slapd.at.conf, 1.4, NONE slapd.oc.conf, 1.4, NONE Message-ID: <200706202208.l5KM8iPT015004@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/v4confs/40 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/v4confs/40 Removed Files: java-object-schema.conf ns-admin-schema.conf ns-calendar-globopt.conf ns-calendar-schema.conf ns-certificate-globopt.conf ns-certificate-schema.conf ns-common-schema.conf ns-compass-globopt.conf ns-compass-schema.conf ns-cos-schema.conf ns-delegated-admin-schema.conf ns-directory-globopt.conf ns-directory-schema.conf ns-legacy-schema.conf ns-mail-globopt.conf ns-mail-schema.conf ns-mcd-browser-schema.conf ns-mcd-config-schema.conf ns-mcd-li-globopt.conf ns-mcd-li-schema.conf ns-mcd-mail-schema.conf ns-media-globopt.conf ns-media-schema.conf ns-mlm-schema.conf ns-msg-schema.conf ns-netshare-schema.conf ns-news-globopt.conf ns-news-schema.conf ns-proxy-globopt.conf ns-proxy-schema.conf ns-value-schema.conf ns-wcal-globopt.conf ns-wcal-schema.conf ns-web-globopt.conf ns-web-schema.conf slapd.at.conf slapd.oc.conf Log Message: remove obsolete files --- java-object-schema.conf DELETED --- --- ns-admin-schema.conf DELETED --- --- ns-calendar-globopt.conf DELETED --- --- ns-calendar-schema.conf DELETED --- --- ns-certificate-globopt.conf DELETED --- --- ns-certificate-schema.conf DELETED --- --- ns-common-schema.conf DELETED --- --- ns-compass-globopt.conf DELETED --- --- ns-compass-schema.conf DELETED --- --- ns-cos-schema.conf DELETED --- --- ns-delegated-admin-schema.conf DELETED --- --- ns-directory-globopt.conf DELETED --- --- ns-directory-schema.conf DELETED --- --- ns-legacy-schema.conf DELETED --- --- ns-mail-globopt.conf DELETED --- --- ns-mail-schema.conf DELETED --- --- ns-mcd-browser-schema.conf DELETED --- --- ns-mcd-config-schema.conf DELETED --- --- ns-mcd-li-globopt.conf DELETED --- --- ns-mcd-li-schema.conf DELETED --- --- ns-mcd-mail-schema.conf DELETED --- --- ns-media-globopt.conf DELETED --- --- ns-media-schema.conf DELETED --- --- ns-mlm-schema.conf DELETED --- --- ns-msg-schema.conf DELETED --- --- ns-netshare-schema.conf DELETED --- --- ns-news-globopt.conf DELETED --- --- ns-news-schema.conf DELETED --- --- ns-proxy-globopt.conf DELETED --- --- ns-proxy-schema.conf DELETED --- --- ns-value-schema.conf DELETED --- --- ns-wcal-globopt.conf DELETED --- --- ns-wcal-schema.conf DELETED --- --- ns-web-globopt.conf DELETED --- --- ns-web-schema.conf DELETED --- --- slapd.at.conf DELETED --- --- slapd.oc.conf DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:46 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:46 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/v4confs/41 java-object-schema.conf, 1.4, NONE ns-admin-schema.conf, 1.4, NONE ns-calendar-globopt.conf, 1.4, NONE ns-calendar-schema.conf, 1.4, NONE ns-certificate-globopt.conf, 1.4, NONE ns-certificate-schema.conf, 1.4, NONE ns-common-schema.conf, 1.4, NONE ns-compass-globopt.conf, 1.4, NONE ns-compass-schema.conf, 1.4, NONE ns-cos-schema.conf, 1.4, NONE ns-delegated-admin-schema.conf, 1.4, NONE ns-directory-globopt.conf, 1.4, NONE ns-directory-schema.conf, 1.4, NONE ns-legacy-schema.conf, 1.4, NONE ns-mail-globopt.conf, 1.4, NONE ns-mail-schema.conf, 1.4, NONE ns-mcd-browser-schema.conf, 1.4, NONE ns-mcd-config-schema.conf, 1.4, NONE ns-mcd-li-globopt.conf, 1.4, NONE ns-mcd-li-schema.conf, 1.4, NONE ns-mcd-mail-schema.conf, 1.4, NONE ns-media-globopt.conf, 1.4, NONE ns-media-schema.conf, 1.4, NONE ns-mlm-schema.conf, 1.4, NONE ns-msg-schema.conf, 1.4, NONE ns-netshare-schema.conf, 1.4, NONE ns-news-globopt.conf, 1.4, NONE ns-news-schema.conf, 1.4, NONE ns-proxy-globopt.conf, 1.4, NONE ns-proxy-schema.c! onf, 1.4, NONE ns-value-schema.conf, 1.4, NONE ns-wcal-globopt.conf, 1.4, NONE ns-wcal-schema.conf, 1.4, NONE ns-web-globopt.conf, 1.4, NONE ns-web-schema.conf, 1.4, NONE slapd.at.conf, 1.4, NONE slapd.oc.conf, 1.4, NONE Message-ID: <200706202208.l5KM8kgS015009@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/v4confs/41 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/v4confs/41 Removed Files: java-object-schema.conf ns-admin-schema.conf ns-calendar-globopt.conf ns-calendar-schema.conf ns-certificate-globopt.conf ns-certificate-schema.conf ns-common-schema.conf ns-compass-globopt.conf ns-compass-schema.conf ns-cos-schema.conf ns-delegated-admin-schema.conf ns-directory-globopt.conf ns-directory-schema.conf ns-legacy-schema.conf ns-mail-globopt.conf ns-mail-schema.conf ns-mcd-browser-schema.conf ns-mcd-config-schema.conf ns-mcd-li-globopt.conf ns-mcd-li-schema.conf ns-mcd-mail-schema.conf ns-media-globopt.conf ns-media-schema.conf ns-mlm-schema.conf ns-msg-schema.conf ns-netshare-schema.conf ns-news-globopt.conf ns-news-schema.conf ns-proxy-globopt.conf ns-proxy-schema.conf ns-value-schema.conf ns-wcal-globopt.conf ns-wcal-schema.conf ns-web-globopt.conf ns-web-schema.conf slapd.at.conf slapd.oc.conf Log Message: remove obsolete files --- java-object-schema.conf DELETED --- --- ns-admin-schema.conf DELETED --- --- ns-calendar-globopt.conf DELETED --- --- ns-calendar-schema.conf DELETED --- --- ns-certificate-globopt.conf DELETED --- --- ns-certificate-schema.conf DELETED --- --- ns-common-schema.conf DELETED --- --- ns-compass-globopt.conf DELETED --- --- ns-compass-schema.conf DELETED --- --- ns-cos-schema.conf DELETED --- --- ns-delegated-admin-schema.conf DELETED --- --- ns-directory-globopt.conf DELETED --- --- ns-directory-schema.conf DELETED --- --- ns-legacy-schema.conf DELETED --- --- ns-mail-globopt.conf DELETED --- --- ns-mail-schema.conf DELETED --- --- ns-mcd-browser-schema.conf DELETED --- --- ns-mcd-config-schema.conf DELETED --- --- ns-mcd-li-globopt.conf DELETED --- --- ns-mcd-li-schema.conf DELETED --- --- ns-mcd-mail-schema.conf DELETED --- --- ns-media-globopt.conf DELETED --- --- ns-media-schema.conf DELETED --- --- ns-mlm-schema.conf DELETED --- --- ns-msg-schema.conf DELETED --- --- ns-netshare-schema.conf DELETED --- --- ns-news-globopt.conf DELETED --- --- ns-news-schema.conf DELETED --- --- ns-proxy-globopt.conf DELETED --- --- ns-proxy-schema.conf DELETED --- --- ns-value-schema.conf DELETED --- --- ns-wcal-globopt.conf DELETED --- --- ns-wcal-schema.conf DELETED --- --- ns-web-globopt.conf DELETED --- --- ns-web-schema.conf DELETED --- --- slapd.at.conf DELETED --- --- slapd.oc.conf DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:46 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:46 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/v4confs/411 java-object-schema.conf, 1.4, NONE ns-admin-schema.conf, 1.4, NONE ns-calendar-globopt.conf, 1.4, NONE ns-calendar-schema.conf, 1.4, NONE ns-certificate-globopt.conf, 1.4, NONE ns-certificate-schema.conf, 1.4, NONE ns-common-schema.conf, 1.4, NONE ns-compass-globopt.conf, 1.4, NONE ns-compass-schema.conf, 1.4, NONE ns-cos-schema.conf, 1.4, NONE ns-delegated-admin-schema.conf, 1.4, NONE ns-directory-globopt.conf, 1.4, NONE ns-directory-schema.conf, 1.4, NONE ns-legacy-schema.conf, 1.4, NONE ns-mail-globopt.conf, 1.4, NONE ns-mail-schema.conf, 1.4, NONE ns-mcd-browser-schema.conf, 1.4, NONE ns-mcd-config-schema.conf, 1.4, NONE ns-mcd-li-globopt.conf, 1.4, NONE ns-mcd-li-schema.conf, 1.4, NONE ns-mcd-mail-schema.conf, 1.4, NONE ns-media-globopt.conf, 1.4, NONE ns-media-schema.conf, 1.4, NONE ns-mlm-schema.conf, 1.4, NONE ns-msg-schema.conf, 1.4, NONE ns-netshare-schema.conf, 1.4, NONE ns-news-globopt.conf, 1.4, NONE ns-news-schema.conf, 1.4, NONE ns-proxy-globopt.conf, 1.4, NONE ns-proxy-schema.! conf, 1.4, NONE ns-value-schema.conf, 1.4, NONE ns-wcal-globopt.conf, 1.4, NONE ns-wcal-schema.conf, 1.4, NONE ns-web-globopt.conf, 1.4, NONE ns-web-schema.conf, 1.4, NONE slapd.at.conf, 1.4, NONE slapd.oc.conf, 1.4, NONE Message-ID: <200706202208.l5KM8kf4015014@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/v4confs/411 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/v4confs/411 Removed Files: java-object-schema.conf ns-admin-schema.conf ns-calendar-globopt.conf ns-calendar-schema.conf ns-certificate-globopt.conf ns-certificate-schema.conf ns-common-schema.conf ns-compass-globopt.conf ns-compass-schema.conf ns-cos-schema.conf ns-delegated-admin-schema.conf ns-directory-globopt.conf ns-directory-schema.conf ns-legacy-schema.conf ns-mail-globopt.conf ns-mail-schema.conf ns-mcd-browser-schema.conf ns-mcd-config-schema.conf ns-mcd-li-globopt.conf ns-mcd-li-schema.conf ns-mcd-mail-schema.conf ns-media-globopt.conf ns-media-schema.conf ns-mlm-schema.conf ns-msg-schema.conf ns-netshare-schema.conf ns-news-globopt.conf ns-news-schema.conf ns-proxy-globopt.conf ns-proxy-schema.conf ns-value-schema.conf ns-wcal-globopt.conf ns-wcal-schema.conf ns-web-globopt.conf ns-web-schema.conf slapd.at.conf slapd.oc.conf Log Message: remove obsolete files --- java-object-schema.conf DELETED --- --- ns-admin-schema.conf DELETED --- --- ns-calendar-globopt.conf DELETED --- --- ns-calendar-schema.conf DELETED --- --- ns-certificate-globopt.conf DELETED --- --- ns-certificate-schema.conf DELETED --- --- ns-common-schema.conf DELETED --- --- ns-compass-globopt.conf DELETED --- --- ns-compass-schema.conf DELETED --- --- ns-cos-schema.conf DELETED --- --- ns-delegated-admin-schema.conf DELETED --- --- ns-directory-globopt.conf DELETED --- --- ns-directory-schema.conf DELETED --- --- ns-legacy-schema.conf DELETED --- --- ns-mail-globopt.conf DELETED --- --- ns-mail-schema.conf DELETED --- --- ns-mcd-browser-schema.conf DELETED --- --- ns-mcd-config-schema.conf DELETED --- --- ns-mcd-li-globopt.conf DELETED --- --- ns-mcd-li-schema.conf DELETED --- --- ns-mcd-mail-schema.conf DELETED --- --- ns-media-globopt.conf DELETED --- --- ns-media-schema.conf DELETED --- --- ns-mlm-schema.conf DELETED --- --- ns-msg-schema.conf DELETED --- --- ns-netshare-schema.conf DELETED --- --- ns-news-globopt.conf DELETED --- --- ns-news-schema.conf DELETED --- --- ns-proxy-globopt.conf DELETED --- --- ns-proxy-schema.conf DELETED --- --- ns-value-schema.conf DELETED --- --- ns-wcal-globopt.conf DELETED --- --- ns-wcal-schema.conf DELETED --- --- ns-web-globopt.conf DELETED --- --- ns-web-schema.conf DELETED --- --- slapd.at.conf DELETED --- --- slapd.oc.conf DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:46 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:46 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/cm/v4confs/412 java-object-schema.conf, 1.4, NONE ns-admin-schema.conf, 1.4, NONE ns-calendar-globopt.conf, 1.4, NONE ns-calendar-schema.conf, 1.4, NONE ns-certificate-globopt.conf, 1.4, NONE ns-certificate-schema.conf, 1.4, NONE ns-common-schema.conf, 1.4, NONE ns-compass-globopt.conf, 1.4, NONE ns-compass-schema.conf, 1.4, NONE ns-cos-schema.conf, 1.4, NONE ns-delegated-admin-schema.conf, 1.4, NONE ns-directory-globopt.conf, 1.4, NONE ns-directory-schema.conf, 1.4, NONE ns-legacy-schema.conf, 1.4, NONE ns-mail-globopt.conf, 1.4, NONE ns-mail-schema.conf, 1.4, NONE ns-mcd-browser-schema.conf, 1.4, NONE ns-mcd-config-schema.conf, 1.4, NONE ns-mcd-li-globopt.conf, 1.4, NONE ns-mcd-li-schema.conf, 1.4, NONE ns-mcd-mail-schema.conf, 1.4, NONE ns-media-globopt.conf, 1.4, NONE ns-media-schema.conf, 1.4, NONE ns-mlm-schema.conf, 1.4, NONE ns-msg-schema.conf, 1.4, NONE ns-netshare-schema.conf, 1.4, NONE ns-news-globopt.conf, 1.4, NONE ns-news-schema.conf, 1.4, NONE ns-proxy-globopt.conf, 1.4, NONE ns-proxy-schema.! conf, 1.4, NONE ns-value-schema.conf, 1.4, NONE ns-wcal-globopt.conf, 1.4, NONE ns-wcal-schema.conf, 1.4, NONE ns-web-globopt.conf, 1.4, NONE ns-web-schema.conf, 1.4, NONE slapd.at.conf, 1.4, NONE slapd.oc.conf, 1.4, NONE Message-ID: <200706202208.l5KM8kvs015019@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/cm/v4confs/412 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/cm/v4confs/412 Removed Files: java-object-schema.conf ns-admin-schema.conf ns-calendar-globopt.conf ns-calendar-schema.conf ns-certificate-globopt.conf ns-certificate-schema.conf ns-common-schema.conf ns-compass-globopt.conf ns-compass-schema.conf ns-cos-schema.conf ns-delegated-admin-schema.conf ns-directory-globopt.conf ns-directory-schema.conf ns-legacy-schema.conf ns-mail-globopt.conf ns-mail-schema.conf ns-mcd-browser-schema.conf ns-mcd-config-schema.conf ns-mcd-li-globopt.conf ns-mcd-li-schema.conf ns-mcd-mail-schema.conf ns-media-globopt.conf ns-media-schema.conf ns-mlm-schema.conf ns-msg-schema.conf ns-netshare-schema.conf ns-news-globopt.conf ns-news-schema.conf ns-proxy-globopt.conf ns-proxy-schema.conf ns-value-schema.conf ns-wcal-globopt.conf ns-wcal-schema.conf ns-web-globopt.conf ns-web-schema.conf slapd.at.conf slapd.oc.conf Log Message: remove obsolete files --- java-object-schema.conf DELETED --- --- ns-admin-schema.conf DELETED --- --- ns-calendar-globopt.conf DELETED --- --- ns-calendar-schema.conf DELETED --- --- ns-certificate-globopt.conf DELETED --- --- ns-certificate-schema.conf DELETED --- --- ns-common-schema.conf DELETED --- --- ns-compass-globopt.conf DELETED --- --- ns-compass-schema.conf DELETED --- --- ns-cos-schema.conf DELETED --- --- ns-delegated-admin-schema.conf DELETED --- --- ns-directory-globopt.conf DELETED --- --- ns-directory-schema.conf DELETED --- --- ns-legacy-schema.conf DELETED --- --- ns-mail-globopt.conf DELETED --- --- ns-mail-schema.conf DELETED --- --- ns-mcd-browser-schema.conf DELETED --- --- ns-mcd-config-schema.conf DELETED --- --- ns-mcd-li-globopt.conf DELETED --- --- ns-mcd-li-schema.conf DELETED --- --- ns-mcd-mail-schema.conf DELETED --- --- ns-media-globopt.conf DELETED --- --- ns-media-schema.conf DELETED --- --- ns-mlm-schema.conf DELETED --- --- ns-msg-schema.conf DELETED --- --- ns-netshare-schema.conf DELETED --- --- ns-news-globopt.conf DELETED --- --- ns-news-schema.conf DELETED --- --- ns-proxy-globopt.conf DELETED --- --- ns-proxy-schema.conf DELETED --- --- ns-value-schema.conf DELETED --- --- ns-wcal-globopt.conf DELETED --- --- ns-wcal-schema.conf DELETED --- --- ns-web-globopt.conf DELETED --- --- ns-web-schema.conf DELETED --- --- slapd.at.conf DELETED --- --- slapd.oc.conf DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:41 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:41 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.am, 1.44, 1.45 Makefile.in, 1.53, 1.54 builddsrpm.sh, 1.6, NONE ldapserver.spec.tmpl, 1.27, NONE Message-ID: <200706202209.l5KM9BjU015060@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver Modified Files: Makefile.am Makefile.in Removed Files: builddsrpm.sh ldapserver.spec.tmpl Log Message: remove obsolete files Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.am,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- Makefile.am 19 Jun 2007 18:24:57 -0000 1.44 +++ Makefile.am 20 Jun 2007 22:08:38 -0000 1.45 @@ -231,7 +231,7 @@ init_SCRIPTS = wrappers/$(PACKAGE_NAME) -inf_DATA = ldap/cm/newinst/slapd.inf +inf_DATA = ldap/admin/src/slapd.inf #//////////////////////////////////////////////////////////////// # Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- Makefile.in 19 Jun 2007 18:24:57 -0000 1.53 +++ Makefile.in 20 Jun 2007 22:08:38 -0000 1.54 @@ -1165,7 +1165,7 @@ $(srcdir)/ldap/admin/src/scripts/template-migrateTo7 init_SCRIPTS = wrappers/$(PACKAGE_NAME) -inf_DATA = ldap/cm/newinst/slapd.inf +inf_DATA = ldap/admin/src/slapd.inf #//////////////////////////////////////////////////////////////// # --- builddsrpm.sh DELETED --- --- ldapserver.spec.tmpl DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:08:41 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:08:41 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts setup-ds.pl.in, 1.1, 1.2 Message-ID: <200706202209.l5KM9CoP015063@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14820/ldapserver/ldap/admin/src/scripts Modified Files: setup-ds.pl.in Log Message: remove obsolete files Index: setup-ds.pl.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/setup-ds.pl.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setup-ds.pl.in 8 Jun 2007 01:09:16 -0000 1.1 +++ setup-ds.pl.in 20 Jun 2007 22:08:39 -0000 1.2 @@ -46,10 +46,11 @@ use Resource; use DialogManager; -my $setup = new Setup; +my $res = new Resource("@propertydir@/setup-ds.res"); + +my $setup = new Setup($res); if (!$setup->{silent}) { - my $res = new Resource("@propertydir@/setup-ds.res"); my $dialogmgr = new DialogManager($setup, $res, $TYPICAL); require SetupDialogs; @@ -68,8 +69,5 @@ } system("@bindir@/ds_newinst.pl $setup->{inffile}"); -if (!$setup->{keep}) { - unlink $setup->{inffile}; -} $setup->doExit(); From fedora-directory-commits at redhat.com Wed Jun 20 22:33:18 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:18 -0400 Subject: [Fedora-directory-commits] adminserver/admserv Makefile, 1.8, NONE pkgadmin.mk, 1.50, NONE Message-ID: <200706202233.l5KMXIOK020168@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv Removed Files: Makefile pkgadmin.mk Log Message: remove obsolete files --- Makefile DELETED --- --- pkgadmin.mk DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:18 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:18 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cgi-src40 mergeConfig.cpp, 1.7, NONE mergeConfig.properties, 1.3, NONE Message-ID: <200706202233.l5KMXIhs020172@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/cgi-src40 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/cgi-src40 Removed Files: mergeConfig.cpp mergeConfig.properties Log Message: remove obsolete files --- mergeConfig.cpp DELETED --- --- mergeConfig.properties DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:19 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:19 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/console Makefile, 1.7, NONE Message-ID: <200706202233.l5KMXJwK020187@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/console In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/console Removed Files: Makefile Log Message: remove obsolete files --- Makefile DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:19 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:19 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/console/cmdln/nt Makefile, 1.5, NONE admconfig.c, 1.4, NONE Message-ID: <200706202233.l5KMXJkv020202@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/console/cmdln/nt In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/console/cmdln/nt Removed Files: Makefile admconfig.c Log Message: remove obsolete files --- Makefile DELETED --- --- admconfig.c DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:19 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:19 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/common LICENSE.txt, 1.3, NONE README.txt, 1.3, NONE setup.inf.in, 1.1, NONE Message-ID: <200706202233.l5KMXJTs020220@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/common In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/newinst/common Removed Files: LICENSE.txt README.txt setup.inf.in Log Message: remove obsolete files --- LICENSE.txt DELETED --- --- README.txt DELETED --- --- setup.inf.in DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:19 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:19 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/common/config mime.types, 1.1.1.1, NONE not_installed.html, 1.3, NONE Message-ID: <200706202233.l5KMXKu5020229@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/common/config In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/newinst/common/config Removed Files: mime.types not_installed.html Log Message: remove obsolete files --- mime.types DELETED --- --- not_installed.html DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:20 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:20 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/common/include acidef.h, 1.3, NONE Message-ID: <200706202233.l5KMXKiD020248@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/common/include In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/newinst/common/include Removed Files: acidef.h Log Message: remove obsolete files --- acidef.h DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:21 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:21 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/insadm Makefile, 1.14, NONE admin.inf, 1.5, NONE admin.txt, 1.5, NONE bkgrnd.bmp, 1.1.1.1, NONE config.c, 1.9, NONE config.mk, 1.3, NONE cron.conf, 1.1.1.1, NONE fixPI.pl, 1.3, NONE insadm.aps, 1.1.1.1, NONE insadm.c, 1.7, NONE insadm.h, 1.4, NONE insadm.mak, 1.3, NONE insadm.mdp, 1.1.1.1, NONE insadm.ncb, 1.1.1.1, NONE insadm.rc, 1.4, NONE ns-cron.conf, 1.1.1.1, NONE resource.h, 1.1.1.1, NONE wizard.bmp, 1.1.1.1, NONE Message-ID: <200706202233.l5KMXL6t020265@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/insadm In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/newinst/insadm Removed Files: Makefile admin.inf admin.txt bkgrnd.bmp config.c config.mk cron.conf fixPI.pl insadm.aps insadm.c insadm.h insadm.mak insadm.mdp insadm.ncb insadm.rc ns-cron.conf resource.h wizard.bmp Log Message: remove obsolete files --- Makefile DELETED --- --- admin.inf DELETED --- --- admin.txt DELETED --- --- bkgrnd.bmp DELETED --- --- config.c DELETED --- --- config.mk DELETED --- --- cron.conf DELETED --- --- fixPI.pl DELETED --- --- insadm.aps DELETED --- --- insadm.c DELETED --- --- insadm.h DELETED --- --- insadm.mak DELETED --- --- insadm.mdp DELETED --- --- insadm.ncb DELETED --- --- insadm.rc DELETED --- --- ns-cron.conf DELETED --- --- resource.h DELETED --- --- wizard.bmp DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:21 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:21 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src setup.inf.in, NONE, 1.1 Makefile, 1.12, NONE fixPI.pl, 1.3, NONE ux-config.cc, 1.13, NONE ux-config.h, 1.7, NONE ux-dialog.cc, 1.13, NONE ux-dialog.h, 1.7, NONE ux-remove.cc, 1.9, NONE ux-update.cc, 1.28, NONE Message-ID: <200706202233.l5KMXLSK020276@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/newinst/src Added Files: setup.inf.in Removed Files: Makefile fixPI.pl ux-config.cc ux-config.h ux-dialog.cc ux-dialog.h ux-remove.cc ux-update.cc Log Message: remove obsolete files --- NEW FILE setup.inf.in --- # BEGIN COPYRIGHT BLOCK # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK # # Sample Fedora Server Package Information File # # Components: lists the components to be installed as specified # in subsequent sections. If the section or the ComponentInfoFile # does note exist the setup program will ignore the component [General] Name = @capbrand@ Server Products Vendor = @capbrand@ Project Description = @capbrand@ Server Products Installation Version = @PACKAGE_VERSION@ Brand = @capbrand@ NormBrand = @brand@ --- Makefile DELETED --- --- fixPI.pl DELETED --- --- ux-config.cc DELETED --- --- ux-config.h DELETED --- --- ux-dialog.cc DELETED --- --- ux-dialog.h DELETED --- --- ux-remove.cc DELETED --- --- ux-update.cc DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:22 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:22 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema Makefile, 1.6, NONE readme.txt, 1.1.1.1, NONE Message-ID: <200706202233.l5KMXMRL020281@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/schema In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/schema Removed Files: Makefile readme.txt Log Message: remove obsolete files --- Makefile DELETED --- --- readme.txt DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:23 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:23 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 21astasks.ldif.tmpl, 1.1, 1.2 admintasks.ldif, 1.1, 1.2 Message-ID: <200706202233.l5KMXNpm020288@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/admserv/schema/ldif Modified Files: 21astasks.ldif.tmpl admintasks.ldif Log Message: remove obsolete files Index: 21astasks.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/21astasks.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 21astasks.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 21astasks.ldif.tmpl 20 Jun 2007 22:33:20 -0000 1.2 @@ -54,13 +54,6 @@ nsExecRef: migrateConfig cn: MigrateConfig -dn: cn=MergeConfig, cn=Operation, cn=Tasks, %as_sie% -objectClass: top -objectClass: nstask -objectClass: nsAdminObject -nsExecRef: mergeConfig -cn: MergeConfig - dn: cn=StatusPing, cn=Operation, cn=Tasks, %as_sie% objectClass: top objectClass: nstask Index: admintasks.ldif =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/admintasks.ldif,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- admintasks.ldif 9 May 2007 00:26:33 -0000 1.1 +++ admintasks.ldif 20 Jun 2007 22:33:20 -0000 1.2 @@ -75,13 +75,6 @@ nshelpref: nsexecref: migrateConfig -dn: cn=MergeConfig, cn=Operation, cn=Tasks -objectclass: top -objectclass: nstask -objectclass: nsAdminObject -nshelpref: -nsexecref: mergeConfig - dn: cn=StatusPing, cn=Operation, cn=Tasks objectclass: top objectclass: nstask From fedora-directory-commits at redhat.com Wed Jun 20 22:33:23 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:23 -0400 Subject: [Fedora-directory-commits] adminserver/m4 setuputil.m4,1.1,NONE Message-ID: <200706202233.l5KMXN1i020293@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/m4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver/m4 Removed Files: setuputil.m4 Log Message: remove obsolete files --- setuputil.m4 DELETED --- From fedora-directory-commits at redhat.com Wed Jun 20 22:33:18 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Wed, 20 Jun 2007 18:33:18 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.12, 1.13 configure.ac, 1.8, 1.9 aclocal.m4, 1.9, 1.10 configure, 1.11, 1.12 Makefile.in, 1.12, 1.13 Message-ID: <200706202233.l5KMXm9Y020346@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20067/adminserver Modified Files: Makefile.am configure.ac aclocal.m4 configure Makefile.in Log Message: remove obsolete files Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Makefile.am 19 Jun 2007 20:49:55 -0000 1.12 +++ Makefile.am 20 Jun 2007 22:33:15 -0000 1.13 @@ -117,8 +117,6 @@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap60 -lprldap60 -lldap60 -lldif60 \ @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 -SETUPUTIL_LIBS = @setuputil_lib@ -ldsinstall - init_SCRIPTS = wrappers/$(PACKAGE_NAME) ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ @@ -131,13 +129,13 @@ admserv/schema/ldif/22ascommands.ldif.tmpl inf_DATA = admserv/newinst/src/admin.inf \ - admserv/newinst/common/setup.inf \ + admserv/newinst/src/setup.inf \ admserv/newinst/src/register_param.map \ admserv/newinst/src/configdsroot.map \ admserv/newinst/src/adminserver.map \ admserv/newinst/src/dirserver.map -cgibin_PROGRAMS = mergeConfig admpw security ugdsconfig ReadLog start_config_ds \ +cgibin_PROGRAMS = admpw security ugdsconfig ReadLog start_config_ds \ config statpingserv viewdata dsconfig monreplication restartsrv \ statusping viewlog htmladmin sec-activate stopsrv download help \ ds_start ds_restart ds_shutdown ds_ldif2db ds_db2ldif ds_bak2db \ @@ -149,8 +147,6 @@ cmdbin_SCRIPTS = admserv/newinst/src/setup-ds-admin.pl -cmdbin_PROGRAMS = ds-admin-config ds-admin-remove ds-admin-update - perl_SCRIPTS = admserv/newinst/src/ASDialogs.pm \ admserv/newinst/src/AdminUtil.pm \ admserv/newinst/src/AdminServer.pm \ @@ -182,7 +178,6 @@ admpw_SOURCES = admserv/cgi-src40/admpw.c security_SOURCES = admserv/cgi-src40/security.c ugdsconfig_SOURCES = admserv/cgi-src40/ugdsconfig.c -mergeConfig_SOURCES = admserv/cgi-src40/mergeConfig.cpp ReadLog_SOURCES = admserv/cgi-src40/ReadLog.c config_SOURCES = admserv/cgi-src40/config.c statpingserv_SOURCES = admserv/cgi-src40/statpingserv.c @@ -196,24 +191,11 @@ sec_activate_SOURCES = admserv/cgi-src40/sec-activate.c stopsrv_SOURCES = admserv/cgi-src40/stopsrv.c -ds_admin_config_SOURCES = admserv/newinst/src/ux-config.cc admserv/newinst/src/ux-dialog.cc -ds_admin_remove_SOURCES = admserv/newinst/src/ux-remove.cc -ds_admin_update_SOURCES = admserv/newinst/src/ux-update.cc - -# special - uses setuputil -mergeConfig_CPPFLAGS = @setuputil_inc@ $(AM_CPPFLAGS) - -# setup special -ds_admin_config_CPPFLAGS = -I$(srcdir)/admserv/newinst/common/include -I$(srcdir)/admserv/newinst/src @setuputil_inc@ $(AM_CPPFLAGS) -ds_admin_remove_CPPFLAGS = -I$(srcdir)/admserv/newinst/common/include -I$(srcdir)/admserv/newinst/src @setuputil_inc@ $(AM_CPPFLAGS) -ds_admin_update_CPPFLAGS = -I$(srcdir)/admserv/newinst/common/include -I$(srcdir)/admserv/newinst/src @setuputil_inc@ $(AM_CPPFLAGS) - # libs to use for each program - they are different in some cases - so can't just use global ldflags admpw_LDADD = $(DEFAULT_LIBS) start_config_ds_LDADD = $(DEFAULT_LIBS) security_LDADD = $(DEFAULT_LIBS) ugdsconfig_LDADD = $(DEFAULT_LIBS) -mergeConfig_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) ReadLog_LDADD = $(DEFAULT_LIBS) config_LDADD = $(DEFAULT_LIBS) statpingserv_LDADD = $(DEFAULT_LIBS) @@ -280,11 +262,6 @@ ds_addindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_addindex_LDADD = libdsa.a $(DEFAULT_LIBS) -# setup special -ds_admin_config_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) @curses_lib@ -ds_admin_remove_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) -ds_admin_update_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) - ############## Data Files ################ HTMLDIR = admserv/html dist_html_DATA = $(HTMLDIR)/htmladmin.html $(HTMLDIR)/monreplication.html $(HTMLDIR)/viewdata.html $(HTMLDIR)/viewlog.html $(HTMLDIR)/admserv.html @@ -321,7 +298,7 @@ # need to create the LD_LIBRARY_PATH,SHLIB_PATH string to use in scripts # sort also strips out duplicates -LIBDIRLIST = $(nspr_libdir) $(nss_libdir) $(ldapsdk_libdir) $(adminutil_libdir) $(setuputil_libdir) $(icu_libdir) $(libdir) +LIBDIRLIST = $(nspr_libdir) $(nss_libdir) $(ldapsdk_libdir) $(adminutil_libdir) $(icu_libdir) $(libdir) LIBDIRS = $(call mysort,-ru,$(LIBDIRLIST)) # now put it in the canonical form LIBPATH = $(subst $(SPACE),$(COLON),$(LIBDIRS)) @@ -330,7 +307,7 @@ # This bundle must be always distributed and there is no need to have # *_en.properties resource bundle source files. RESOURCE_BUNDLES_ROOT = \ - admserv/cgi-src40/admpw_root.res admserv/cgi-src40/mergeConfig_root.res \ + admserv/cgi-src40/admpw_root.res \ admserv/cgi-src40/security_root.res admserv/cgi-src40/config_root.res \ admserv/cgi-src40/stopsrv_root.res \ admserv/cgi-src40/dsconfig_root.res admserv/cgi-src40/monreplication_root.res \ Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- configure.ac 19 Jun 2007 20:49:55 -0000 1.8 +++ configure.ac 20 Jun 2007 22:33:15 -0000 1.9 @@ -128,7 +128,6 @@ m4_include(m4/mozldap.m4) m4_include(m4/icu.m4) m4_include(m4/adminutil.m4) -m4_include(m4/setuputil.m4) m4_include(m4/mod_nss.m4) # server userid, groupid @@ -192,10 +191,6 @@ AC_SUBST(adminutil_lib) AC_SUBST(adminutil_libdir) AC_SUBST(adminutil_ver) -AC_SUBST(setuputil_lib) -AC_SUBST(setuputil_libdir) -AC_SUBST(setuputil_inc) -AC_SUBST(setuputil_bin) AC_SUBST(icu_lib) AC_SUBST(icu_libdir) AC_SUBST(icu_inc) Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- aclocal.m4 19 Jun 2007 20:49:55 -0000 1.9 +++ aclocal.m4 20 Jun 2007 22:33:15 -0000 1.10 @@ -1578,10 +1578,27 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4288,6 +4305,9 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -4421,11 +4441,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) +predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) +postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -4437,7 +4457,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4517,7 +4537,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6353,6 +6373,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6385,6 +6406,7 @@ done ]) SED=$lt_cv_path_SED +AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- configure 19 Jun 2007 20:49:55 -0000 1.11 +++ configure 20 Jun 2007 22:33:15 -0000 1.12 @@ -468,7 +468,7 @@ ac_default_prefix=/opt/@PACKAGE_BASE_NAME@ ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS PACKAGE_BASE_NAME initdir HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver setuputil_lib setuputil_libdir setuputil_inc setuputil_bin icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 PACKAGE_BASE_NAME initdir HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1066,7 +1066,6 @@ --with-icu-lib=PATH ICU library directory --with-icu-bin=PATH ICU binary directory --with-adminutil=PATH Adminutil directory - --with-setuputil=PATH Setuputil directory --with-modnss-lib=PATH MOD_NSS Apache module directory --with-modnss-bin=PATH MOD_NSS binary directory --with-fortitude=PATH Fortitude root directory (default: $default_fortitudedir) @@ -3825,6 +3824,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3859,6 +3859,7 @@ fi SED=$lt_cv_path_SED + echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4299,7 +4300,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4302 "configure"' > conftest.$ac_ext + echo '#line 4303 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5434,7 +5435,7 @@ # Provide some information about the compiler. -echo "$as_me:5437:" \ +echo "$as_me:5438:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6497,11 +6498,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6500: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6501: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6504: \$? = $ac_status" >&5 + echo "$as_me:6505: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6765,11 +6766,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6768: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6769: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6772: \$? = $ac_status" >&5 + echo "$as_me:6773: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6869,11 +6870,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6872: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6873: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6876: \$? = $ac_status" >&5 + echo "$as_me:6877: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8334,10 +8335,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 8342 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9214,7 +9236,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11682: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11661: \$? = $ac_status" >&5 + echo "$as_me:11686: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11758,11 +11783,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11761: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11786: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11765: \$? = $ac_status" >&5 + echo "$as_me:11790: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12290,10 +12315,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 12322 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12677,6 +12723,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -12810,11 +12859,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_CXX +predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_CXX +postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -12826,7 +12875,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12906,7 +12955,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13328,11 +13377,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13331: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13380: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13335: \$? = $ac_status" >&5 + echo "$as_me:13384: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13432,11 +13481,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13435: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13484: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13439: \$? = $ac_status" >&5 + echo "$as_me:13488: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14877,10 +14926,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 14933 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15264,6 +15334,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -15397,11 +15470,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_F77 +predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_F77 +postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -15413,7 +15486,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77 +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15493,7 +15566,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15635,11 +15708,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15638: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15711: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15642: \$? = $ac_status" >&5 + echo "$as_me:15715: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15903,11 +15976,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15906: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15979: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15910: \$? = $ac_status" >&5 + echo "$as_me:15983: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16007,11 +16080,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16010: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16083: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16014: \$? = $ac_status" >&5 + echo "$as_me:16087: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17472,10 +17545,31 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 17552 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17859,6 +17953,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -17992,11 +18089,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_GCJ +predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_GCJ +postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18008,7 +18105,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18088,7 +18185,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18340,6 +18437,9 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -18473,11 +18573,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_predep_objects_RC +predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_postdep_objects_RC +postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -18489,7 +18589,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC +compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18569,7 +18669,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -24336,127 +24436,6 @@ fi # BEGIN COPYRIGHT BLOCK -# Copyright (C) 2006 Red Hat, Inc. -# All rights reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# END COPYRIGHT BLOCK - -{ echo "$as_me:$LINENO: checking for SETUPUTIL..." >&5 -echo "$as_me: checking for SETUPUTIL..." >&6;} - -# check for --with-setuputil -echo "$as_me:$LINENO: checking for --with-setuputil" >&5 -echo $ECHO_N "checking for --with-setuputil... $ECHO_C" >&6 - -# Check whether --with-setuputil or --without-setuputil was given. -if test "${with_setuputil+set}" = set; then - withval="$with_setuputil" - - if test -d "$withval"/include -a -d "$withval"/lib - then - echo "$as_me:$LINENO: result: using $withval" >&5 -echo "${ECHO_T}using $withval" >&6 - SETUPUTILDIR=$withval - setuputil_lib="-L$SETUPUTILDIR/lib" - setuputil_incdir=$SETUPUTILDIR/include - if ! test -e "$setuputil_incdir/setuputil/setupapi.h" ; then - { { echo "$as_me:$LINENO: error: $withval include dir not found" >&5 -echo "$as_me: error: $withval include dir not found" >&2;} - { (exit 1); exit 1; }; } - fi - setuputil_inc="-I$setuputil_incdir" - setuputil_bin="$SETUPUTILDIR/bin" - else - echo - { { echo "$as_me:$LINENO: error: $withval not found" >&5 -echo "$as_me: error: $withval not found" >&2;} - { (exit 1); exit 1; }; } - fi - -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi; - -# if SETUPUTIL is not found yet, try pkg-config - -# last resort -if test -z "$setuputil_inc" -o -z "$setuputil_lib"; then - echo "$as_me:$LINENO: checking for setuputil with pkg-config" >&5 -echo $ECHO_N "checking for setuputil with pkg-config... $ECHO_C" >&6 - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG - -if test -n "$PKG_CONFIG"; then - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -echo "${ECHO_T}$PKG_CONFIG" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - if test -n "$PKG_CONFIG"; then - if $PKG_CONFIG --exists setuputil; then - setuputil_inc=`$PKG_CONFIG --cflags-only-I setuputil` - setuputil_lib=`$PKG_CONFIG --libs-only-L setuputil` - setuputil_bin=`$PKG_CONFIG --variable=bindir setuputil` - else - { { echo "$as_me:$LINENO: error: SETUPUTIL not found, specify with --with-setuputil." >&5 -echo "$as_me: error: SETUPUTIL not found, specify with --with-setuputil." >&2;} - { (exit 1); exit 1; }; } - fi - fi -fi - -if test -z "$setuputil_inc" -o -z "$setuputil_lib"; then - { { echo "$as_me:$LINENO: error: SETUPUTIL not found, specify with --with-setuputil." >&5 -echo "$as_me: error: SETUPUTIL not found, specify with --with-setuputil." >&2;} - { (exit 1); exit 1; }; } -fi - -# BEGIN COPYRIGHT BLOCK # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # @@ -24724,10 +24703,6 @@ - - - - # write out paths for data/config files @@ -25558,6 +25533,7 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t +s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t @@ -25593,10 +25569,6 @@ s, at adminutil_lib@,$adminutil_lib,;t t s, at adminutil_libdir@,$adminutil_libdir,;t t s, at adminutil_ver@,$adminutil_ver,;t t -s, at setuputil_lib@,$setuputil_lib,;t t -s, at setuputil_libdir@,$setuputil_libdir,;t t -s, at setuputil_inc@,$setuputil_inc,;t t -s, at setuputil_bin@,$setuputil_bin,;t t s, at icu_lib@,$icu_lib,;t t s, at icu_libdir@,$icu_libdir,;t t s, at icu_inc@,$icu_inc,;t t Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Makefile.in 19 Jun 2007 20:49:55 -0000 1.12 +++ Makefile.in 20 Jun 2007 22:33:15 -0000 1.13 @@ -42,19 +42,17 @@ host_triplet = @host@ @WINNT_TRUE at am__append_1 = -DXP_WINNT @WINNT_FALSE at am__append_2 = -DXP_UNIX -cgibin_PROGRAMS = mergeConfig$(EXEEXT) admpw$(EXEEXT) \ - security$(EXEEXT) ugdsconfig$(EXEEXT) ReadLog$(EXEEXT) \ - start_config_ds$(EXEEXT) config$(EXEEXT) statpingserv$(EXEEXT) \ - viewdata$(EXEEXT) dsconfig$(EXEEXT) monreplication$(EXEEXT) \ - restartsrv$(EXEEXT) statusping$(EXEEXT) viewlog$(EXEEXT) \ - htmladmin$(EXEEXT) sec-activate$(EXEEXT) stopsrv$(EXEEXT) \ - download$(EXEEXT) help$(EXEEXT) ds_start$(EXEEXT) \ - ds_restart$(EXEEXT) ds_shutdown$(EXEEXT) ds_ldif2db$(EXEEXT) \ - ds_db2ldif$(EXEEXT) ds_bak2db$(EXEEXT) ds_db2bak$(EXEEXT) \ - ds_listdb$(EXEEXT) ds_rmdb$(EXEEXT) ds_remove$(EXEEXT) \ - ds_snmpctrl$(EXEEXT) ds_vlvindex$(EXEEXT) ds_addindex$(EXEEXT) -cmdbin_PROGRAMS = ds-admin-config$(EXEEXT) ds-admin-remove$(EXEEXT) \ - ds-admin-update$(EXEEXT) +cgibin_PROGRAMS = admpw$(EXEEXT) security$(EXEEXT) ugdsconfig$(EXEEXT) \ + ReadLog$(EXEEXT) start_config_ds$(EXEEXT) config$(EXEEXT) \ + statpingserv$(EXEEXT) viewdata$(EXEEXT) dsconfig$(EXEEXT) \ + monreplication$(EXEEXT) restartsrv$(EXEEXT) \ + statusping$(EXEEXT) viewlog$(EXEEXT) htmladmin$(EXEEXT) \ + sec-activate$(EXEEXT) stopsrv$(EXEEXT) download$(EXEEXT) \ + help$(EXEEXT) ds_start$(EXEEXT) ds_restart$(EXEEXT) \ + ds_shutdown$(EXEEXT) ds_ldif2db$(EXEEXT) ds_db2ldif$(EXEEXT) \ + ds_bak2db$(EXEEXT) ds_db2bak$(EXEEXT) ds_listdb$(EXEEXT) \ + ds_rmdb$(EXEEXT) ds_remove$(EXEEXT) ds_snmpctrl$(EXEEXT) \ + ds_vlvindex$(EXEEXT) ds_addindex$(EXEEXT) DIST_COMMON = README $(am__configure_deps) $(dist_help_DATA) \ $(dist_html_DATA) $(dist_icon_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ @@ -67,8 +65,7 @@ $(top_srcdir)/m4/httpd.m4 $(top_srcdir)/m4/nspr.m4 \ $(top_srcdir)/m4/nss.m4 $(top_srcdir)/m4/mozldap.m4 \ $(top_srcdir)/m4/icu.m4 $(top_srcdir)/m4/adminutil.m4 \ - $(top_srcdir)/m4/setuputil.m4 $(top_srcdir)/m4/mod_nss.m4 \ - $(top_srcdir)/configure.ac + $(top_srcdir)/m4/mod_nss.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ @@ -101,14 +98,13 @@ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" \ - "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" \ - "$(DESTDIR)$(initdir)" "$(DESTDIR)$(cmdbindir)" \ - "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" \ - "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" \ - "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" \ - "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" \ - "$(DESTDIR)$(propertydir)" + "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" \ + "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(initdir)" \ + "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" \ + "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" \ + "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" \ + "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" \ + "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) libds_admin_serv_la_LIBADD = @@ -126,8 +122,7 @@ $(am__objects_3) libds_admin_serv_la_OBJECTS = $(am_libds_admin_serv_la_OBJECTS) cgibinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -cmdbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -PROGRAMS = $(cgibin_PROGRAMS) $(cmdbin_PROGRAMS) +PROGRAMS = $(cgibin_PROGRAMS) am_ReadLog_OBJECTS = admserv/cgi-src40/ReadLog.$(OBJEXT) ReadLog_OBJECTS = $(am_ReadLog_OBJECTS) am__DEPENDENCIES_1 = libds-admin-serv.la @@ -141,23 +136,6 @@ am_download_OBJECTS = admserv/cgi-src40/download.$(OBJEXT) download_OBJECTS = $(am_download_OBJECTS) download_LDADD = $(LDADD) -am_ds_admin_config_OBJECTS = \ - admserv/newinst/src/ds_admin_config-ux-config.$(OBJEXT) \ - admserv/newinst/src/ds_admin_config-ux-dialog.$(OBJEXT) -ds_admin_config_OBJECTS = $(am_ds_admin_config_OBJECTS) -am__DEPENDENCIES_2 = -ds_admin_config_DEPENDENCIES = $(am__DEPENDENCIES_2) \ - $(am__DEPENDENCIES_1) -am_ds_admin_remove_OBJECTS = \ - admserv/newinst/src/ds_admin_remove-ux-remove.$(OBJEXT) -ds_admin_remove_OBJECTS = $(am_ds_admin_remove_OBJECTS) -ds_admin_remove_DEPENDENCIES = $(am__DEPENDENCIES_2) \ - $(am__DEPENDENCIES_1) -am_ds_admin_update_OBJECTS = \ - admserv/newinst/src/ds_admin_update-ux-update.$(OBJEXT) -ds_admin_update_OBJECTS = $(am_ds_admin_update_OBJECTS) -ds_admin_update_DEPENDENCIES = $(am__DEPENDENCIES_2) \ - $(am__DEPENDENCIES_1) am_ds_addindex_OBJECTS = \ admserv/cgi-ds/ds_addindex-addindex.$(OBJEXT) \ admserv/cgi-ds/ds_addindex-init_ds_env.$(OBJEXT) @@ -225,10 +203,6 @@ am_htmladmin_OBJECTS = admserv/cgi-src40/htmladmin.$(OBJEXT) htmladmin_OBJECTS = $(am_htmladmin_OBJECTS) htmladmin_DEPENDENCIES = $(am__DEPENDENCIES_1) -am_mergeConfig_OBJECTS = \ - admserv/cgi-src40/mergeConfig-mergeConfig.$(OBJEXT) -mergeConfig_OBJECTS = $(am_mergeConfig_OBJECTS) -mergeConfig_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) am_monreplication_OBJECTS = \ admserv/cgi-src40/monreplication.$(OBJEXT) monreplication_OBJECTS = $(am_monreplication_OBJECTS) @@ -293,36 +267,34 @@ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libdsa_a_SOURCES) $(libds_admin_serv_la_SOURCES) \ $(ReadLog_SOURCES) $(admpw_SOURCES) $(config_SOURCES) \ - $(download_SOURCES) $(ds_admin_config_SOURCES) \ - $(ds_admin_remove_SOURCES) $(ds_admin_update_SOURCES) \ - $(ds_addindex_SOURCES) $(ds_bak2db_SOURCES) \ - $(ds_db2bak_SOURCES) $(ds_db2ldif_SOURCES) \ - $(ds_ldif2db_SOURCES) $(ds_listdb_SOURCES) \ - $(ds_remove_SOURCES) $(ds_restart_SOURCES) $(ds_rmdb_SOURCES) \ + $(download_SOURCES) $(ds_addindex_SOURCES) \ + $(ds_bak2db_SOURCES) $(ds_db2bak_SOURCES) \ + $(ds_db2ldif_SOURCES) $(ds_ldif2db_SOURCES) \ + $(ds_listdb_SOURCES) $(ds_remove_SOURCES) \ + $(ds_restart_SOURCES) $(ds_rmdb_SOURCES) \ $(ds_shutdown_SOURCES) $(ds_snmpctrl_SOURCES) \ $(ds_start_SOURCES) $(ds_vlvindex_SOURCES) $(dsconfig_SOURCES) \ - $(help_SOURCES) $(htmladmin_SOURCES) $(mergeConfig_SOURCES) \ - $(monreplication_SOURCES) $(restartsrv_SOURCES) \ - $(sec_activate_SOURCES) $(security_SOURCES) \ - $(start_config_ds_SOURCES) $(statpingserv_SOURCES) \ - $(statusping_SOURCES) $(stopsrv_SOURCES) $(ugdsconfig_SOURCES) \ - $(viewdata_SOURCES) $(viewlog_SOURCES) + $(help_SOURCES) $(htmladmin_SOURCES) $(monreplication_SOURCES) \ + $(restartsrv_SOURCES) $(sec_activate_SOURCES) \ + $(security_SOURCES) $(start_config_ds_SOURCES) \ + $(statpingserv_SOURCES) $(statusping_SOURCES) \ + $(stopsrv_SOURCES) $(ugdsconfig_SOURCES) $(viewdata_SOURCES) \ + $(viewlog_SOURCES) DIST_SOURCES = $(libdsa_a_SOURCES) $(libds_admin_serv_la_SOURCES) \ $(ReadLog_SOURCES) $(admpw_SOURCES) $(config_SOURCES) \ - $(download_SOURCES) $(ds_admin_config_SOURCES) \ - $(ds_admin_remove_SOURCES) $(ds_admin_update_SOURCES) \ - $(ds_addindex_SOURCES) $(ds_bak2db_SOURCES) \ - $(ds_db2bak_SOURCES) $(ds_db2ldif_SOURCES) \ - $(ds_ldif2db_SOURCES) $(ds_listdb_SOURCES) \ - $(ds_remove_SOURCES) $(ds_restart_SOURCES) $(ds_rmdb_SOURCES) \ + $(download_SOURCES) $(ds_addindex_SOURCES) \ + $(ds_bak2db_SOURCES) $(ds_db2bak_SOURCES) \ + $(ds_db2ldif_SOURCES) $(ds_ldif2db_SOURCES) \ + $(ds_listdb_SOURCES) $(ds_remove_SOURCES) \ + $(ds_restart_SOURCES) $(ds_rmdb_SOURCES) \ $(ds_shutdown_SOURCES) $(ds_snmpctrl_SOURCES) \ $(ds_start_SOURCES) $(ds_vlvindex_SOURCES) $(dsconfig_SOURCES) \ - $(help_SOURCES) $(htmladmin_SOURCES) $(mergeConfig_SOURCES) \ - $(monreplication_SOURCES) $(restartsrv_SOURCES) \ - $(sec_activate_SOURCES) $(security_SOURCES) \ - $(start_config_ds_SOURCES) $(statpingserv_SOURCES) \ - $(statusping_SOURCES) $(stopsrv_SOURCES) $(ugdsconfig_SOURCES) \ - $(viewdata_SOURCES) $(viewlog_SOURCES) + $(help_SOURCES) $(htmladmin_SOURCES) $(monreplication_SOURCES) \ + $(restartsrv_SOURCES) $(sec_activate_SOURCES) \ + $(security_SOURCES) $(start_config_ds_SOURCES) \ + $(statpingserv_SOURCES) $(statusping_SOURCES) \ + $(stopsrv_SOURCES) $(ugdsconfig_SOURCES) $(viewdata_SOURCES) \ + $(viewlog_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ @@ -417,6 +389,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -508,10 +481,6 @@ program_transform_name = @program_transform_name@ propertydir = $(datadir)@propertydir@ sbindir = @sbindir@ -setuputil_bin = @setuputil_bin@ -setuputil_inc = @setuputil_inc@ -setuputil_lib = @setuputil_lib@ -setuputil_libdir = @setuputil_libdir@ sharedstatedir = @sharedstatedir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ @@ -585,7 +554,6 @@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap60 -lprldap60 -lldap60 -lldif60 \ @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 -SETUPUTIL_LIBS = @setuputil_lib@ -ldsinstall init_SCRIPTS = wrappers/$(PACKAGE_NAME) ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ admserv/schema/ldif/01nsroot.ldif.tmpl \ @@ -597,7 +565,7 @@ admserv/schema/ldif/22ascommands.ldif.tmpl inf_DATA = admserv/newinst/src/admin.inf \ - admserv/newinst/common/setup.inf \ + admserv/newinst/src/setup.inf \ admserv/newinst/src/register_param.map \ admserv/newinst/src/configdsroot.map \ admserv/newinst/src/adminserver.map \ @@ -636,7 +604,6 @@ admpw_SOURCES = admserv/cgi-src40/admpw.c security_SOURCES = admserv/cgi-src40/security.c ugdsconfig_SOURCES = admserv/cgi-src40/ugdsconfig.c -mergeConfig_SOURCES = admserv/cgi-src40/mergeConfig.cpp ReadLog_SOURCES = admserv/cgi-src40/ReadLog.c config_SOURCES = admserv/cgi-src40/config.c statpingserv_SOURCES = admserv/cgi-src40/statpingserv.c @@ -649,24 +616,12 @@ htmladmin_SOURCES = admserv/cgi-src40/htmladmin.c sec_activate_SOURCES = admserv/cgi-src40/sec-activate.c stopsrv_SOURCES = admserv/cgi-src40/stopsrv.c -ds_admin_config_SOURCES = admserv/newinst/src/ux-config.cc admserv/newinst/src/ux-dialog.cc -ds_admin_remove_SOURCES = admserv/newinst/src/ux-remove.cc -ds_admin_update_SOURCES = admserv/newinst/src/ux-update.cc - -# special - uses setuputil -mergeConfig_CPPFLAGS = @setuputil_inc@ $(AM_CPPFLAGS) - -# setup special -ds_admin_config_CPPFLAGS = -I$(srcdir)/admserv/newinst/common/include -I$(srcdir)/admserv/newinst/src @setuputil_inc@ $(AM_CPPFLAGS) -ds_admin_remove_CPPFLAGS = -I$(srcdir)/admserv/newinst/common/include -I$(srcdir)/admserv/newinst/src @setuputil_inc@ $(AM_CPPFLAGS) -ds_admin_update_CPPFLAGS = -I$(srcdir)/admserv/newinst/common/include -I$(srcdir)/admserv/newinst/src @setuputil_inc@ $(AM_CPPFLAGS) # libs to use for each program - they are different in some cases - so can't just use global ldflags admpw_LDADD = $(DEFAULT_LIBS) start_config_ds_LDADD = $(DEFAULT_LIBS) security_LDADD = $(DEFAULT_LIBS) ugdsconfig_LDADD = $(DEFAULT_LIBS) -mergeConfig_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) ReadLog_LDADD = $(DEFAULT_LIBS) config_LDADD = $(DEFAULT_LIBS) statpingserv_LDADD = $(DEFAULT_LIBS) @@ -721,11 +676,6 @@ ds_addindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_addindex_LDADD = libdsa.a $(DEFAULT_LIBS) -# setup special -ds_admin_config_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) @curses_lib@ -ds_admin_remove_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) -ds_admin_update_LDADD = $(SETUPUTIL_LIBS) $(DEFAULT_LIBS) - ############## Data Files ################ HTMLDIR = admserv/html dist_html_DATA = $(HTMLDIR)/htmladmin.html $(HTMLDIR)/monreplication.html $(HTMLDIR)/viewdata.html $(HTMLDIR)/viewlog.html $(HTMLDIR)/admserv.html @@ -756,7 +706,7 @@ # need to create the LD_LIBRARY_PATH,SHLIB_PATH string to use in scripts # sort also strips out duplicates -LIBDIRLIST = $(nspr_libdir) $(nss_libdir) $(ldapsdk_libdir) $(adminutil_libdir) $(setuputil_libdir) $(icu_libdir) $(libdir) +LIBDIRLIST = $(nspr_libdir) $(nss_libdir) $(ldapsdk_libdir) $(adminutil_libdir) $(icu_libdir) $(libdir) LIBDIRS = $(call mysort,-ru,$(LIBDIRLIST)) # now put it in the canonical form LIBPATH = $(subst $(SPACE),$(COLON),$(LIBDIRS)) @@ -765,7 +715,7 @@ # This bundle must be always distributed and there is no need to have # *_en.properties resource bundle source files. RESOURCE_BUNDLES_ROOT = \ - admserv/cgi-src40/admpw_root.res admserv/cgi-src40/mergeConfig_root.res \ + admserv/cgi-src40/admpw_root.res \ admserv/cgi-src40/security_root.res admserv/cgi-src40/config_root.res \ admserv/cgi-src40/stopsrv_root.res \ admserv/cgi-src40/dsconfig_root.res admserv/cgi-src40/monreplication_root.res \ @@ -838,7 +788,7 @@ $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: -.SUFFIXES: .c .cc .cpp .lo .o .obj +.SUFFIXES: .c .cpp .lo .o .obj am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @@ -1045,34 +995,6 @@ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done -install-cmdbinPROGRAMS: $(cmdbin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" - @list='$(cmdbin_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - || test -f $$p1 \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(cmdbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(cmdbindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(cmdbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(cmdbindir)/$$f" || exit 1; \ - else :; fi; \ - done - -uninstall-cmdbinPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(cmdbin_PROGRAMS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f '$(DESTDIR)$(cmdbindir)/$$f'"; \ - rm -f "$(DESTDIR)$(cmdbindir)/$$f"; \ - done - -clean-cmdbinPROGRAMS: - @list='$(cmdbin_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done admserv/cgi-src40/$(am__dirstamp): @$(mkdir_p) admserv/cgi-src40 @: > admserv/cgi-src40/$(am__dirstamp) @@ -1101,33 +1023,6 @@ download$(EXEEXT): $(download_OBJECTS) $(download_DEPENDENCIES) @rm -f download$(EXEEXT) $(LINK) $(download_LDFLAGS) $(download_OBJECTS) $(download_LDADD) $(LIBS) -admserv/newinst/src/$(am__dirstamp): - @$(mkdir_p) admserv/newinst/src - @: > admserv/newinst/src/$(am__dirstamp) -admserv/newinst/src/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) admserv/newinst/src/$(DEPDIR) - @: > admserv/newinst/src/$(DEPDIR)/$(am__dirstamp) -admserv/newinst/src/ds_admin_config-ux-config.$(OBJEXT): \ - admserv/newinst/src/$(am__dirstamp) \ - admserv/newinst/src/$(DEPDIR)/$(am__dirstamp) -admserv/newinst/src/ds_admin_config-ux-dialog.$(OBJEXT): \ - admserv/newinst/src/$(am__dirstamp) \ - admserv/newinst/src/$(DEPDIR)/$(am__dirstamp) -ds-admin-config$(EXEEXT): $(ds_admin_config_OBJECTS) $(ds_admin_config_DEPENDENCIES) - @rm -f ds-admin-config$(EXEEXT) - $(CXXLINK) $(ds_admin_config_LDFLAGS) $(ds_admin_config_OBJECTS) $(ds_admin_config_LDADD) $(LIBS) -admserv/newinst/src/ds_admin_remove-ux-remove.$(OBJEXT): \ - admserv/newinst/src/$(am__dirstamp) \ - admserv/newinst/src/$(DEPDIR)/$(am__dirstamp) -ds-admin-remove$(EXEEXT): $(ds_admin_remove_OBJECTS) $(ds_admin_remove_DEPENDENCIES) - @rm -f ds-admin-remove$(EXEEXT) - $(CXXLINK) $(ds_admin_remove_LDFLAGS) $(ds_admin_remove_OBJECTS) $(ds_admin_remove_LDADD) $(LIBS) -admserv/newinst/src/ds_admin_update-ux-update.$(OBJEXT): \ - admserv/newinst/src/$(am__dirstamp) \ - admserv/newinst/src/$(DEPDIR)/$(am__dirstamp) -ds-admin-update$(EXEEXT): $(ds_admin_update_OBJECTS) $(ds_admin_update_DEPENDENCIES) - @rm -f ds-admin-update$(EXEEXT) - $(CXXLINK) $(ds_admin_update_LDFLAGS) $(ds_admin_update_OBJECTS) $(ds_admin_update_LDADD) $(LIBS) admserv/cgi-ds/$(am__dirstamp): @$(mkdir_p) admserv/cgi-ds @: > admserv/cgi-ds/$(am__dirstamp) @@ -1268,12 +1163,6 @@ htmladmin$(EXEEXT): $(htmladmin_OBJECTS) $(htmladmin_DEPENDENCIES) @rm -f htmladmin$(EXEEXT) $(LINK) $(htmladmin_LDFLAGS) $(htmladmin_OBJECTS) $(htmladmin_LDADD) $(LIBS) -admserv/cgi-src40/mergeConfig-mergeConfig.$(OBJEXT): \ - admserv/cgi-src40/$(am__dirstamp) \ - admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) -mergeConfig$(EXEEXT): $(mergeConfig_OBJECTS) $(mergeConfig_DEPENDENCIES) - @rm -f mergeConfig$(EXEEXT) - $(CXXLINK) $(mergeConfig_LDFLAGS) $(mergeConfig_OBJECTS) $(mergeConfig_LDADD) $(LIBS) admserv/cgi-src40/monreplication.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) @@ -1490,7 +1379,6 @@ -rm -f admserv/cgi-src40/dsconfig.$(OBJEXT) -rm -f admserv/cgi-src40/help.$(OBJEXT) -rm -f admserv/cgi-src40/htmladmin.$(OBJEXT) - -rm -f admserv/cgi-src40/mergeConfig-mergeConfig.$(OBJEXT) -rm -f admserv/cgi-src40/monreplication.$(OBJEXT) -rm -f admserv/cgi-src40/restartsrv.$(OBJEXT) -rm -f admserv/cgi-src40/sec-activate.$(OBJEXT) @@ -1502,10 +1390,6 @@ -rm -f admserv/cgi-src40/ugdsconfig.$(OBJEXT) -rm -f admserv/cgi-src40/viewdata.$(OBJEXT) -rm -f admserv/cgi-src40/viewlog.$(OBJEXT) - -rm -f admserv/newinst/src/ds_admin_config-ux-config.$(OBJEXT) - -rm -f admserv/newinst/src/ds_admin_config-ux-dialog.$(OBJEXT) - -rm -f admserv/newinst/src/ds_admin_remove-ux-remove.$(OBJEXT) - -rm -f admserv/newinst/src/ds_admin_update-ux-update.$(OBJEXT) -rm -f lib/base/file.$(OBJEXT) -rm -f lib/base/file.lo -rm -f lib/base/nscperror.$(OBJEXT) @@ -1593,7 +1477,6 @@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/dsconfig.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/help.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/htmladmin.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/monreplication.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/restartsrv.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/sec-activate.Po at am__quote@ @@ -1605,10 +1488,6 @@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/ugdsconfig.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/viewdata.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at admserv/cgi-src40/$(DEPDIR)/viewlog.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/base/$(DEPDIR)/file.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/base/$(DEPDIR)/nscperror.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/base/$(DEPDIR)/nscputil.Plo at am__quote@ @@ -2197,100 +2076,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` -.cc.o: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ - at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cc.obj: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ - at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ - at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ - at am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -admserv/newinst/src/ds_admin_config-ux-config.o: admserv/newinst/src/ux-config.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_config-ux-config.o -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Tpo" -c -o admserv/newinst/src/ds_admin_config-ux-config.o `test -f 'admserv/newinst/src/ux-config.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-config.cc; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-config.cc' object='admserv/newinst/src/ds_admin_config-ux-config.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_config-ux-config.o `test -f 'admserv/newinst/src/ux-config.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-config.cc - -admserv/newinst/src/ds_admin_config-ux-config.obj: admserv/newinst/src/ux-config.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_config-ux-config.obj -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Tpo" -c -o admserv/newinst/src/ds_admin_config-ux-config.obj `if test -f 'admserv/newinst/src/ux-config.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-config.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-config.cc'; fi`; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-config.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-config.cc' object='admserv/newinst/src/ds_admin_config-ux-config.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_config-ux-config.obj `if test -f 'admserv/newinst/src/ux-config.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-config.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-config.cc'; fi` - -admserv/newinst/src/ds_admin_config-ux-dialog.o: admserv/newinst/src/ux-dialog.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_config-ux-dialog.o -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Tpo" -c -o admserv/newinst/src/ds_admin_config-ux-dialog.o `test -f 'admserv/newinst/src/ux-dialog.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-dialog.cc; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-dialog.cc' object='admserv/newinst/src/ds_admin_config-ux-dialog.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_config-ux-dialog.o `test -f 'admserv/newinst/src/ux-dialog.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-dialog.cc - -admserv/newinst/src/ds_admin_config-ux-dialog.obj: admserv/newinst/src/ux-dialog.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_config-ux-dialog.obj -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Tpo" -c -o admserv/newinst/src/ds_admin_config-ux-dialog.obj `if test -f 'admserv/newinst/src/ux-dialog.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-dialog.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-dialog.cc'; fi`; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_config-ux-dialog.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-dialog.cc' object='admserv/newinst/src/ds_admin_config-ux-dialog.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_config_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_config-ux-dialog.obj `if test -f 'admserv/newinst/src/ux-dialog.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-dialog.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-dialog.cc'; fi` - -admserv/newinst/src/ds_admin_remove-ux-remove.o: admserv/newinst/src/ux-remove.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_remove-ux-remove.o -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Tpo" -c -o admserv/newinst/src/ds_admin_remove-ux-remove.o `test -f 'admserv/newinst/src/ux-remove.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-remove.cc; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-remove.cc' object='admserv/newinst/src/ds_admin_remove-ux-remove.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_remove-ux-remove.o `test -f 'admserv/newinst/src/ux-remove.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-remove.cc - -admserv/newinst/src/ds_admin_remove-ux-remove.obj: admserv/newinst/src/ux-remove.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_remove-ux-remove.obj -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Tpo" -c -o admserv/newinst/src/ds_admin_remove-ux-remove.obj `if test -f 'admserv/newinst/src/ux-remove.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-remove.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-remove.cc'; fi`; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_remove-ux-remove.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-remove.cc' object='admserv/newinst/src/ds_admin_remove-ux-remove.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_remove-ux-remove.obj `if test -f 'admserv/newinst/src/ux-remove.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-remove.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-remove.cc'; fi` - -admserv/newinst/src/ds_admin_update-ux-update.o: admserv/newinst/src/ux-update.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_update_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_update-ux-update.o -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Tpo" -c -o admserv/newinst/src/ds_admin_update-ux-update.o `test -f 'admserv/newinst/src/ux-update.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-update.cc; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-update.cc' object='admserv/newinst/src/ds_admin_update-ux-update.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_update_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_update-ux-update.o `test -f 'admserv/newinst/src/ux-update.cc' || echo '$(srcdir)/'`admserv/newinst/src/ux-update.cc - -admserv/newinst/src/ds_admin_update-ux-update.obj: admserv/newinst/src/ux-update.cc - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_update_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/newinst/src/ds_admin_update-ux-update.obj -MD -MP -MF "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Tpo" -c -o admserv/newinst/src/ds_admin_update-ux-update.obj `if test -f 'admserv/newinst/src/ux-update.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-update.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-update.cc'; fi`; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Tpo" "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Po"; else rm -f "admserv/newinst/src/$(DEPDIR)/ds_admin_update-ux-update.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/newinst/src/ux-update.cc' object='admserv/newinst/src/ds_admin_update-ux-update.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_admin_update_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/newinst/src/ds_admin_update-ux-update.obj `if test -f 'admserv/newinst/src/ux-update.cc'; then $(CYGPATH_W) 'admserv/newinst/src/ux-update.cc'; else $(CYGPATH_W) '$(srcdir)/admserv/newinst/src/ux-update.cc'; fi` - -admserv/cgi-src40/mergeConfig-mergeConfig.o: admserv/cgi-src40/mergeConfig.cpp - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mergeConfig_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/cgi-src40/mergeConfig-mergeConfig.o -MD -MP -MF "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Tpo" -c -o admserv/cgi-src40/mergeConfig-mergeConfig.o `test -f 'admserv/cgi-src40/mergeConfig.cpp' || echo '$(srcdir)/'`admserv/cgi-src40/mergeConfig.cpp; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Tpo" "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Po"; else rm -f "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/cgi-src40/mergeConfig.cpp' object='admserv/cgi-src40/mergeConfig-mergeConfig.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mergeConfig_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/cgi-src40/mergeConfig-mergeConfig.o `test -f 'admserv/cgi-src40/mergeConfig.cpp' || echo '$(srcdir)/'`admserv/cgi-src40/mergeConfig.cpp - -admserv/cgi-src40/mergeConfig-mergeConfig.obj: admserv/cgi-src40/mergeConfig.cpp - at am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mergeConfig_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT admserv/cgi-src40/mergeConfig-mergeConfig.obj -MD -MP -MF "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Tpo" -c -o admserv/cgi-src40/mergeConfig-mergeConfig.obj `if test -f 'admserv/cgi-src40/mergeConfig.cpp'; then $(CYGPATH_W) 'admserv/cgi-src40/mergeConfig.cpp'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-src40/mergeConfig.cpp'; fi`; \ - at am__fastdepCXX_TRUE@ then mv -f "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Tpo" "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Po"; else rm -f "admserv/cgi-src40/$(DEPDIR)/mergeConfig-mergeConfig.Tpo"; exit 1; fi - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='admserv/cgi-src40/mergeConfig.cpp' object='admserv/cgi-src40/mergeConfig-mergeConfig.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mergeConfig_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o admserv/cgi-src40/mergeConfig-mergeConfig.obj `if test -f 'admserv/cgi-src40/mergeConfig.cpp'; then $(CYGPATH_W) 'admserv/cgi-src40/mergeConfig.cpp'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-src40/mergeConfig.cpp'; fi` - .cpp.o: @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ @@ -2744,7 +2529,7 @@ $(DATA) config.h installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive @@ -2772,8 +2557,6 @@ -rm -f admserv/cgi-ds/$(am__dirstamp) -rm -f admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) -rm -f admserv/cgi-src40/$(am__dirstamp) - -rm -f admserv/newinst/src/$(DEPDIR)/$(am__dirstamp) - -rm -f admserv/newinst/src/$(am__dirstamp) -rm -f lib/base/$(DEPDIR)/$(am__dirstamp) -rm -f lib/base/$(am__dirstamp) -rm -f lib/libadmin/$(DEPDIR)/$(am__dirstamp) @@ -2788,13 +2571,12 @@ @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive -clean-am: clean-cgibinPROGRAMS clean-cmdbinPROGRAMS clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-noinstLIBRARIES \ - mostlyclean-am +clean-am: clean-cgibinPROGRAMS clean-generic clean-libLTLIBRARIES \ + clean-libtool clean-noinstLIBRARIES mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf admserv/cgi-ds/$(DEPDIR) admserv/cgi-src40/$(DEPDIR) admserv/newinst/src/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libdsa/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf admserv/cgi-ds/$(DEPDIR) admserv/cgi-src40/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libdsa/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags @@ -2810,12 +2592,12 @@ info-am: install-data-am: install-cgibinPROGRAMS install-cgibinSCRIPTS \ - install-cmdbinPROGRAMS install-cmdbinSCRIPTS \ - install-dist_helpDATA install-dist_htmlDATA \ - install-dist_iconDATA install-infDATA install-initSCRIPTS \ - install-ldifDATA install-nodist_cmdbinSCRIPTS \ - install-nodist_configDATA install-nodist_propertyDATA \ - install-perlSCRIPTS install-propertyDATA + install-cmdbinSCRIPTS install-dist_helpDATA \ + install-dist_htmlDATA install-dist_iconDATA install-infDATA \ + install-initSCRIPTS install-ldifDATA \ + install-nodist_cmdbinSCRIPTS install-nodist_configDATA \ + install-nodist_propertyDATA install-perlSCRIPTS \ + install-propertyDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook @@ -2830,7 +2612,7 @@ maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf admserv/cgi-ds/$(DEPDIR) admserv/cgi-src40/$(DEPDIR) admserv/newinst/src/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libdsa/$(DEPDIR) lib/libsi18n/$(DEPDIR) + -rm -rf admserv/cgi-ds/$(DEPDIR) admserv/cgi-src40/$(DEPDIR) lib/base/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libdsa/$(DEPDIR) lib/libsi18n/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -2848,28 +2630,26 @@ ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ - uninstall-cgibinSCRIPTS uninstall-cmdbinPROGRAMS \ - uninstall-cmdbinSCRIPTS uninstall-dist_helpDATA \ - uninstall-dist_htmlDATA uninstall-dist_iconDATA \ - uninstall-infDATA uninstall-info-am uninstall-initSCRIPTS \ - uninstall-ldifDATA uninstall-libLTLIBRARIES \ - uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ - uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ - uninstall-propertyDATA + uninstall-cgibinSCRIPTS uninstall-cmdbinSCRIPTS \ + uninstall-dist_helpDATA uninstall-dist_htmlDATA \ + uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ + uninstall-initSCRIPTS uninstall-ldifDATA \ + uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ + uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ + uninstall-perlSCRIPTS uninstall-propertyDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ - check-am clean clean-cgibinPROGRAMS clean-cmdbinPROGRAMS \ - clean-generic clean-libLTLIBRARIES clean-libtool \ - clean-noinstLIBRARIES clean-recursive ctags ctags-recursive \ - dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \ - dist-zip distcheck distclean distclean-compile \ - distclean-generic distclean-hdr distclean-libtool \ - distclean-recursive distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-binSCRIPTS install-cgibinPROGRAMS \ - install-cgibinSCRIPTS install-cmdbinPROGRAMS \ + check-am clean clean-cgibinPROGRAMS clean-generic \ + clean-libLTLIBRARIES clean-libtool clean-noinstLIBRARIES \ + clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \ + dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \ + distclean-compile distclean-generic distclean-hdr \ + distclean-libtool distclean-recursive distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-binSCRIPTS \ + install-cgibinPROGRAMS install-cgibinSCRIPTS \ install-cmdbinSCRIPTS install-data install-data-am \ install-data-hook install-dist_helpDATA install-dist_htmlDATA \ install-dist_iconDATA install-exec install-exec-am \ @@ -2884,14 +2664,13 @@ mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ - uninstall-cgibinSCRIPTS uninstall-cmdbinPROGRAMS \ - uninstall-cmdbinSCRIPTS uninstall-dist_helpDATA \ - uninstall-dist_htmlDATA uninstall-dist_iconDATA \ - uninstall-infDATA uninstall-info-am uninstall-initSCRIPTS \ - uninstall-ldifDATA uninstall-libLTLIBRARIES \ - uninstall-nodist_cmdbinSCRIPTS uninstall-nodist_configDATA \ - uninstall-nodist_propertyDATA uninstall-perlSCRIPTS \ - uninstall-propertyDATA + uninstall-cgibinSCRIPTS uninstall-cmdbinSCRIPTS \ + uninstall-dist_helpDATA uninstall-dist_htmlDATA \ + uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ + uninstall-initSCRIPTS uninstall-ldifDATA \ + uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ + uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ + uninstall-perlSCRIPTS uninstall-propertyDATA define NL \\n From fedora-directory-commits at redhat.com Wed Jun 20 23:50:14 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 20 Jun 2007 19:50:14 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 12dsconfig.mod.tmpl, NONE, 1.1 13dsschema.mod.tmpl, NONE, 1.1 00nsroot_backend.ldif.tmpl, 1.2, 1.3 01nsroot.ldif.tmpl, 1.2, 1.3 02globalpreferences.ldif.tmpl, 1.1, 1.2 10dsdata.ldif.tmpl, 1.3, 1.4 11dstasks.ldif.tmpl, 1.1, 1.2 20asdata.ldif.tmpl, 1.2, 1.3 21astasks.ldif.tmpl, 1.2, 1.3 22ascommands.ldif.tmpl, 1.1, 1.2 Message-ID: <200706202350.l5KNoEMD003807@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3584 Modified Files: 00nsroot_backend.ldif.tmpl 01nsroot.ldif.tmpl 02globalpreferences.ldif.tmpl 10dsdata.ldif.tmpl 11dstasks.ldif.tmpl 20asdata.ldif.tmpl 21astasks.ldif.tmpl 22ascommands.ldif.tmpl Added Files: 12dsconfig.mod.tmpl 13dsschema.mod.tmpl Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #4) Description: 1) adding ACIs to o=netscaperoot, cn=config, and cn=schema to allow the Admin CGIs/Console to access the server configuration info. 2) adding copyright notes. --- NEW FILE 12dsconfig.mod.tmpl --- # BEGIN COPYRIGHT BLOCK # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK dn: cn=config changetype: modify add: aci aci: (targetattr="*")(version 3.0; acl "Configuration Administrators Group"; allow (all) groupdn="ldap:///cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot";) aci: (targetattr="*")(version 3.0; acl "Configuration Administrator"; allow (all) userdn="ldap:///uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot";) aci: (targetattr = "*")(version 3.0; acl "SIE Group"; allow (all) groupdn = "ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: cn=SNMP,cn=config changetype: modify add: aci aci: (target="ldap:///cn=SNMP,cn=config")(targetattr !="aci")(version 3.0;acl "snmp";allow (read, search, compare)(userdn = "ldap:///anyone");) dn: oid=2.16.840.1.113730.3.4.9,cn=features,cn=config changetype: modify add: aci aci: (targetattr != "aci")(version 3.0; acl "VLV Request Control"; allow( read, search, compare, proxy ) userdn = "ldap:///all";) --- NEW FILE 13dsschema.mod.tmpl --- # BEGIN COPYRIGHT BLOCK # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK dn: cn=schema changetype: modify add: aci aci: (target="ldap:///cn=schema")(targetattr !="aci")(version 3.0;acl "anonymous, no acis"; allow (read, search, compare) userdn = "ldap:///anyone";) aci: (targetattr="*")(version 3.0; acl "Configuration Administrators Group"; allow (all) groupdn="ldap:///cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot";) aci: (targetattr="*")(version 3.0; acl "Configuration Administrator"; allow (all) userdn="ldap:///uid=admin,ou=Administrators, ou=TopologyManagement, o=NetscapeRoot";) aci: (targetattr = "*")(version 3.0; acl "SIE Group"; allow (all) groupdn = "ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) Index: 00nsroot_backend.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/00nsroot_backend.ldif.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- 00nsroot_backend.ldif.tmpl 18 Jun 2007 17:14:50 -0000 1.2 +++ 00nsroot_backend.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.3 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: cn=NetscapeRoot, cn=ldbm database, cn=plugins, cn=config objectClass: top objectClass: extensibleObject @@ -13,5 +32,6 @@ objectClass: extensibleObject objectClass: nsMappingTree cn: "o=NetscapeRoot" +cn: o=NetscapeRoot nsslapd-state: backend nsslapd-backend: NetscapeRoot Index: 01nsroot.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/01nsroot.ldif.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- 01nsroot.ldif.tmpl 13 Jun 2007 20:03:06 -0000 1.2 +++ 01nsroot.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.3 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: o=NetscapeRoot objectClass: top objectClass: organization @@ -5,6 +24,7 @@ aci: (targetattr="*")(version 3.0; acl "Enable Configuration Administrator Group modification"; allow (all) groupdn="ldap:///cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot";) aci: (targetattr="*")(targetfilter=(o=NetscapeRoot))(version 3.0; acl "Default anonymous access"; allow (read, search) userdn="ldap:///anyone";) aci: (targetattr="*")(version 3.0; acl "Enable Group Expansion"; allow (read, search, compare) groupdnattr="uniquemember";) +aci: (targetattr = "*")(version 3.0; acl "SIE Group"; allow (all) groupdn = "ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: ou=TopologyManagement, o=NetscapeRoot objectClass: top @@ -54,6 +74,7 @@ objectClass: top objectClass: organizationalunit ou: Global Preferences +aci: (targetattr=*)(version 3.0; acl "Enable anonymous access"; allow(read,search) userdn="ldap:///anyone";) dn: ou=Host Preferences, ou=%domain%, o=NetscapeRoot objectClass: top @@ -87,3 +108,5 @@ cn: Server Group uniqueMember: cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot uniqueMember: cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot +aci: (targetattr=*)(targetfilter=(nsconfigRoot=*))(version 3.0; acl "Enable delegated access"; allow (read, search, compare) groupdn="ldap:///cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) +aci: (targetattr=*)(version 3.0; acl "Enable delegated access"; allow (read, search, compare) userdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) Index: 02globalpreferences.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/02globalpreferences.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 02globalpreferences.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 02globalpreferences.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.2 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalUnit Index: 10dsdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/10dsdata.ldif.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 10dsdata.ldif.tmpl 19 Jun 2007 18:32:28 -0000 1.3 +++ 10dsdata.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.4 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsApplication objectClass: groupOfUniqueNames Index: 11dstasks.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/11dstasks.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 11dstasks.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 11dstasks.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.2 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: cn=Tasks, %ds_sie% objectClass: top objectClass: nsResourceRef Index: 20asdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/20asdata.ldif.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- 20asdata.ldif.tmpl 19 Jun 2007 18:32:28 -0000 1.2 +++ 20asdata.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.3 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsApplication @@ -10,9 +29,9 @@ nsBuildNumber: %as_buildnum% nsInstalledLocation: %as_installedlocation% nsBuildSecurity: domestic -nsServerMigrationClassname: com.netscape.management.admserv.AdminServerProduct - @%as_console_jar% +nsServerMigrationClassname: com.netscape.management.admserv.AdminServerProduct@%as_console_jar% uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot +aci: (targetattr=*)(targetfilter=(nsNickName=*))(version 3.0; acl "Enable delegated access"; allow (read, search, compare) groupdn="ldap:///cn=%brand% Admin istration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top @@ -26,6 +45,8 @@ serverProductName: Administration Server serverHostName: %fqdn% uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot +aci: (targetattr=*)(version 3.0; acl "Enable delegated access"; allow (read, search, compare) groupdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) +aci: (targetattr="uniquemember || serverProductName || administratorContactInfo || userpassword || description")(targetfilter=(objectclass=netscapeServer))(version 3.0; acl "Enable access delegation"; allow (write) groupdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: cn=configuration, cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsConfig @@ -50,4 +71,6 @@ nsAdminOneACLDir: adminacl nsDefaultAcceptLanguage: en nsClassname: com.netscape.management.admserv.AdminServer@%as_console_jar%@cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot +aci: (targetattr=*)(version 3.0; acl "Enable delegated admin to access configuration"; allow (read, search) groupdn="ldap:///cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) +aci: (targetattr=*)(version 3.0; acl "Enable Server configuration"; allow (all) groupdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) Index: 21astasks.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/21astasks.ldif.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- 21astasks.ldif.tmpl 20 Jun 2007 22:33:20 -0000 1.2 +++ 21astasks.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.3 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: cn=Tasks, %as_sie% objectClass: top objectClass: nsResourceRef Index: 22ascommands.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/22ascommands.ldif.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 22ascommands.ldif.tmpl 13 Jun 2007 17:48:35 -0000 1.1 +++ 22ascommands.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.2 @@ -1,3 +1,22 @@ +# BEGIN COPYRIGHT BLOCK +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# END COPYRIGHT BLOCK dn: cn=Commands, %as_sie% objectClass: top objectClass: nsResourceRef From fedora-directory-commits at redhat.com Wed Jun 20 23:52:48 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 20 Jun 2007 19:52:48 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Util.pm.in, 1.1, 1.2 Message-ID: <200706202352.l5KNqm5N003895@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3874 Modified Files: Util.pm.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #4) Description: modifying check_and_add_entry to support ldifmodify format. plus added minor fixes for comparing entries Index: Util.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Util.pm.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Util.pm.in 19 Jun 2007 18:24:57 -0000 1.1 +++ Util.pm.in 20 Jun 2007 23:52:46 -0000 1.2 @@ -96,40 +96,44 @@ # delete the subtree starting from the passed entry sub delete_all { - my ($conn, $bentry) = @_; - my $sentry = $conn->search($bentry->{dn}, - "subtree", "(objectclass=*)", 0, ("dn")); - my @mystack = (); - while ($sentry) { - push @mystack, $sentry->getDN(); - $sentry = $conn->nextEntry(); - } - # reverse order - my $dn = pop @mystack; - while ($dn) { - $conn->delete($dn); - my $rc = $conn->getErrorCode(); - if ( $rc != 0 ) { - $conn->printError(); - print "ERROR: unable to delete entry $dn, error code: $rc\n"; - return 1; - } - $dn = pop @mystack; - } - return 0; + my ($conn, $bentry) = @_; + my $sentry = $conn->search($bentry->{dn}, + "subtree", "(objectclass=*)", 0, ("dn")); + my @mystack = (); + while ($sentry) { + push @mystack, $sentry->getDN(); + $sentry = $conn->nextEntry(); + } + # reverse order + my $dn = pop @mystack; + while ($dn) { + $conn->delete($dn); + my $rc = $conn->getErrorCode(); + if ( $rc != 0 ) { + $conn->printError(); + print "ERROR: unable to delete entry $dn, error code: $rc\n"; + return 1; + } + $dn = pop @mystack; + } + return 0; } my %ignorelist = ( - "modifytimestamp", "modifyTimestamp", - "createtimestamp", "createTimestamp", - "installationtimestamp", "installationTimestamp", - "creatorsname", "creatorsName", - "modifiersname", "modifiersName", - "numsubordinates", "numSubordinates" + "nsslapd-directory", "nsslapd-directory", + "nsslapd-require-index", "nsslapd-require-index", + "nsslapd-readonly", "nsslapd-readonly", + "modifytimestamp", "modifyTimestamp", + "createtimestamp", "createTimestamp", + "installationtimestamp", "installationTimestamp", + "creatorsname", "creatorsName", + "modifiersname", "modifiersName", + "numsubordinates", "numSubordinates" ); my %speciallist = ( - "uniquemember", 1 + "uniquemember", 1, + "aci", 1 ); # compare 2 entries @@ -138,60 +142,60 @@ # return -1 if they do not match. sub comp_entries { - my ($e0, $e1) = @_; - my $rc = 0; - foreach my $akey ( keys %{$e0} ) - { - next if ( $ignorelist{lc($akey)} ); - my $aval0 = $e0->{$akey}; - my $aval1 = $e1->{$akey}; - my $a0max = $#{$aval0}; - my $a1max = $#{$aval1}; - my $amin = $#{$aval0}; - if ( $a0max != $a1max ) - { - if ( $speciallist{lc($akey)} ) - { - $rc = 1; - if ( $a0max < $a1max ) - { - $amin = $a0max; - } - else - { - $amin = $a1max; - } - } - else - { - $rc = -1; - return $rc; - } - } - my @sval0 = sort { $a cmp $b } @{$aval0}; - my @sval1 = sort { $a cmp $b } @{$aval1}; - for ( my $i = 0; $i <= $amin; $i++ ) - { - my $isspecial = -1; - if ( $sval0[$i] ne $sval1[$i] ) - { - if ( 0 > $isspecial ) - { - $isspecial = $speciallist{lc($akey)}; - } - if ( $isspecial ) - { - $rc = 1; - } - else - { - $rc = -1; - return $rc; - } - } - } - } - return $rc; + my ($e0, $e1) = @_; + my $rc = 0; + foreach my $akey ( keys %{$e0} ) + { + next if ( $ignorelist{lc($akey)} ); + my $aval0 = $e0->{$akey}; + my $aval1 = $e1->{$akey}; + my $a0max = $#{$aval0}; + my $a1max = $#{$aval1}; + my $amin = $#{$aval0}; + if ( $a0max != $a1max ) + { + if ( $speciallist{lc($akey)} ) + { + $rc = 1; + if ( $a0max < $a1max ) + { + $amin = $a0max; + } + else + { + $amin = $a1max; + } + } + else + { + $rc = -1; + return $rc; + } + } + my @sval0 = sort { $a cmp $b } @{$aval0}; + my @sval1 = sort { $a cmp $b } @{$aval1}; + for ( my $i = 0; $i <= $amin; $i++ ) + { + my $isspecial = -1; + if ( $sval0[$i] ne $sval1[$i] ) + { + if ( 0 > $isspecial ) + { + $isspecial = $speciallist{lc($akey)}; + } + if ( $isspecial ) + { + $rc = 1; + } + else + { + $rc = -1; + return $rc; + } + } + } + } + return $rc; } # if the entry does not exist on the server, add the entry. @@ -207,92 +211,170 @@ # $verbose prints out more info sub check_and_add_entry { - my ($context, $aentry) = @_; - my $conn = $context->[0]; - my $fresh = $context->[1]; - my $verbose = $context->[2]; - my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)"); - do - { - my $needtoadd = 1; - my $needtomod = 0; - my $rval = -1; - if ( $sentry && !$fresh ) - { - $rval = comp_entries( $sentry, $aentry ); - } - if ( 0 == $rval && !$fresh ) - { - # the identical entry exists on the configuration DS. - # no need to add the entry. - $needtoadd = 0; - goto out; - } - elsif ( (1 == $rval) && !$fresh ) - { - $needtoadd = 0; - $needtomod = 1; - } - elsif ( $sentry && $sentry->{dn} ) - { - # $fresh || $rval == -1 - # an entry having the same DN exists, but the attributes do not - # match. remove the entry and the subtree underneath. - if ( $verbose ) - { - print "Deleting an entry dn: $sentry->{dn} ...\n"; - } - $rval = delete_all($conn, $sentry); - if ( 0 != $rval ) - { - return 0; - } - } - - if ( 1 == $needtoadd ) - { - $conn->add($aentry); - my $rc = $conn->getErrorCode(); - if ( $rc != 0 ) - { - print "ERROR: adding an entry $aentry->{dn} failed, error code: $rc\n"; - print "[entry]\n"; - $aentry->printLDIF(); - $conn->close(); - return 0; - } -# if ( $verbose ) -# { -# print "Entry $aentry->{dn} is added\n"; -# } - } - elsif ( 1 == $needtomod ) # $sentry exists - { - foreach my $attr ( keys %speciallist ) - { - foreach my $nval ( @{$aentry->{$attr}} ) - { - $sentry->addValue( $attr, $nval ); - } - } - $conn->update($sentry); - my $rc = $conn->getErrorCode(); - if ( $rc != 0 ) - { - print "ERROR: updating an entry $sentry->{dn} failed, error code: $rc\n"; - print "[entry]\n"; - $aentry->printLDIF(); - $conn->close(); - return 0; - } - } - if ( $sentry ) - { - $sentry = $conn->nextEntry(); # supposed to have no more entries - } - } until ( !$sentry ); + my ($context, $aentry) = @_; + my $conn = $context->[0]; + my $fresh = $context->[1]; + my $verbose = $context->[2]; + my @ctypes = $aentry->getValues("changetype"); + my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)"); + do + { + my $needtoadd; + my $MOD_NONE = 0; + my $MOD_ADD = 1; + my $MOD_REPLACE = 2; + my $MOD_SPECIAL = 3; + # $needtomod stores either of the above $MOD_ values + # note: delete is not supported + my $needtomod; + if ( 0 > $#ctypes ) # aentry: complete entry + { + $needtoadd = 1; + $needtomod = 0; #$MOD_NONE + + my $rc = -1; + if ( $sentry && !$fresh ) + { + $rc = comp_entries( $sentry, $aentry ); + } + if ( 0 == $rc && !$fresh ) + { + # the identical entry exists on the configuration DS. + # no need to add the entry. + $needtoadd = 0; + goto out; + } + elsif ( (1 == $rc) && !$fresh ) + { + $needtoadd = 0; + $needtomod = $MOD_ADD; + } + elsif ( $sentry && $sentry->{dn} ) + { + # $fresh || $rc == -1 + # an entry having the same DN exists, but the attributes do not + # match. remove the entry and the subtree underneath. + if ( $verbose ) + { + print "Deleting an entry dn: $sentry->{dn} ...\n"; + } + $rc = delete_all($conn, $sentry); + if ( 0 != $rc ) + { + return 0; + } + } + } + else # aentry: modify format + { + $needtoadd = 0; + if ( $sentry ) + { + my @atypes = $aentry->getValues("add"); + if ( 0 <= $#atypes ) + { + $needtomod = $MOD_ADD; + } + else + { + @atypes = $aentry->getValues("replace"); + if ( 0 <= $#atypes ) + { + $needtomod = $MOD_REPLACE; + } + else + { + @atypes = $aentry->getValues("delete"); + if ( 0 <= $#atypes ) + { + print "\"delete\" is not supported; ignoring...\n"; + } + $needtomod = $MOD_NONE; + } + } + } + else + { + $needtomod = $MOD_NONE; + } + } + + if ( 1 == $needtoadd ) + { + $conn->add($aentry); + my $rc = $conn->getErrorCode(); + if ( $rc != 0 ) + { + print "ERROR: adding an entry $aentry->{dn} failed, error code: $rc\n"; + print "[entry]\n"; + $aentry->printLDIF(); + $conn->close(); + return 0; + } + debug("Entry $aentry->{dn} is added\n"); + } + elsif ( 0 < $needtomod ) # $sentry exists + { + if ( $needtomod == $MOD_SPECIAL ) + { + foreach my $attr ( keys %speciallist ) + { + foreach my $nval ( @{$aentry->{$attr}} ) + { + $sentry->addValue( $attr, $nval ); + } + } + $conn->update($sentry); + } + elsif ( $needtomod == $MOD_ADD ) + { + foreach my $attr ( keys %{$aentry} ) + { + next if $attr =~ /add|changetype/; + foreach my $nval ( @{$aentry->{$attr}} ) + { + $sentry->addValue( $attr, $nval ); + } + } + $conn->update($sentry); + } + elsif ( $needtomod == $MOD_REPLACE ) + { + my $entry = new Mozilla::LDAP::Entry(); + $entry->setDN($aentry->getDN()); + foreach my $attr ( keys %{$aentry} ) + { + next if $attr =~ /replace|changetype/; + foreach my $nval ( @{$aentry->{$attr}} ) + { + $entry->addValue( $attr, $nval ); + } + } + $conn->update($entry); + } + else + { + print "ERROR: needtomod == $needtomod is not supported.\n"; + $conn->close(); + return 0; + } + my $rc = $conn->getErrorCode(); + if ( $rc != 0 ) + { + print "ERROR: updating an entry $sentry->{dn} failed, error code: $rc\n"; + print "[entry]\n"; + $aentry->printLDIF(); + $conn->close(); + return 0; + } + } + if ( $sentry ) + { + $sentry = $conn->nextEntry(); # supposed to have no more entries + } + } until ( !$sentry ); out: - return 1; + return 1; } # the default callback used with getMappedEntries @@ -370,8 +452,8 @@ $ldiffiles = [ $ldiffiles ]; } - foreach my $ldiffile (@{$ldiffiles}) { - open(MYLDIF, "< $ldiffile") or die "Can't open $ldiffile : $!"; + foreach my $ldiffile (@{$ldiffiles}) { + open(MYLDIF, "< $ldiffile") or die "Can't open $ldiffile : $!"; my $in = new Mozilla::LDAP::LDIF(*MYLDIF); debug("Processing $ldiffile ..."); ENTRY: while (my $entry = Mozilla::LDAP::LDIF::readOneEntry($in)) { @@ -420,11 +502,11 @@ } } - close(MYLDIF); + close(MYLDIF); last if ($error); # do not process any more ldiffiles if an error occurred - } + } - return @entries; + return @entries; } # you should only use this function if you know for sure @@ -544,8 +626,8 @@ # process map table # [map table sample] -# fqdn = FullMachineName -# hostname = `use Sys::Hostname; $returnvalue = hostname();` +# fqdn = FullMachineName +# hostname = `use Sys::Hostname; $returnvalue = hostname();` # ds_console_jar ="%normbrand%-ds-%ds_version%.jar" # # * If the right-hand value is in ` (backquote), the value is eval'ed by perl. @@ -560,7 +642,7 @@ # The %token% tokens are replaced in getMappedEntries sub process_maptbl { - my ($mapper, @infdata) = @_; + my ($mapper, @infdata) = @_; if (defined($mapper->{""})) { $mapper = $mapper->{""}; # side effect of Inf with no sections @@ -605,7 +687,7 @@ } } } - return $mapper; + return $mapper; } sub getHashedPassword { From fedora-directory-commits at redhat.com Thu Jun 21 21:28:04 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 17:28:04 -0400 Subject: [Fedora-directory-commits] adminutil/m4 mozldap.m4,1.2,1.3 Message-ID: <200706212128.l5LLS4VH022716@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil/m4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22616/adminutil/m4 Modified Files: mozldap.m4 Log Message: Resolves: bug 245208 Bug Description: adminutil: Solaris port for 1.1 Reviewed by: nkinder (Thanks!) Fix Description: There are several problems with building/running adminutil on Solaris. The biggest is that ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. However, automake will only generate this macro if it detects a C++ source file in Makefile.am. So, we have to introduce a dummy.cpp file to force automake to generate the CXXLINK macro, then use that to link the shared libraries. Accept automake version 1.10 or later. Look for mozldap6 first, then mozldap. Platforms tested: Solaris 9 64bit Flag Day: Yes - autotool file change Doc impact: no Index: mozldap.m4 =================================================================== RCS file: /cvs/dirsec/adminutil/m4/mozldap.m4,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- mozldap.m4 4 Apr 2007 19:37:41 -0000 1.2 +++ mozldap.m4 21 Jun 2007 21:28:01 -0000 1.3 @@ -76,10 +76,10 @@ AC_MSG_CHECKING(for mozldap with pkg-config) AC_PATH_PROG(PKG_CONFIG, pkg-config) if test -n "$PKG_CONFIG"; then - if $PKG_CONFIG --exists mozldap; then - ldapsdk_name=mozldap - elif $PKG_CONFIG --exists mozldap6; then + if $PKG_CONFIG --exists mozldap6; then ldapsdk_name=mozldap6 + elif $PKG_CONFIG --exists mozldap; then + ldapsdk_name=mozldap else AC_MSG_ERROR([LDAPSDK not found, specify with --with-ldapsdk[-inc|-lib].]) fi From fedora-directory-commits at redhat.com Thu Jun 21 21:28:03 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 17:28:03 -0400 Subject: [Fedora-directory-commits] adminutil/lib dummy.cpp,NONE,1.1 Message-ID: <200706212128.l5LLS330022701@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil/lib In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22616/adminutil/lib Added Files: dummy.cpp Log Message: Resolves: bug 245208 Bug Description: adminutil: Solaris port for 1.1 Reviewed by: nkinder (Thanks!) Fix Description: There are several problems with building/running adminutil on Solaris. The biggest is that ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. However, automake will only generate this macro if it detects a C++ source file in Makefile.am. So, we have to introduce a dummy.cpp file to force automake to generate the CXXLINK macro, then use that to link the shared libraries. Accept automake version 1.10 or later. Look for mozldap6 first, then mozldap. Platforms tested: Solaris 9 64bit Flag Day: Yes - autotool file change Doc impact: no --- NEW FILE dummy.cpp --- // this is just a dummy // C++ program to make automake define // the macro CXXLINK int main(int argc, char *argv[]) { int ii = 1; int jj = ii; } From fedora-directory-commits at redhat.com Thu Jun 21 21:28:03 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 17:28:03 -0400 Subject: [Fedora-directory-commits] adminutil Makefile.am, 1.4, 1.5 autogen.sh, 1.1, 1.2 configure.ac, 1.4, 1.5 aclocal.m4, 1.5, 1.6 configure, 1.5, 1.6 missing, 1.4, 1.5 install-sh, 1.4, 1.5 depcomp, 1.4, 1.5 config.sub, 1.4, 1.5 config.guess, 1.4, 1.5 compile, 1.4, 1.5 Makefile.in, 1.5, 1.6 Message-ID: <200706212128.l5LLS3US022696@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22616/adminutil Modified Files: Makefile.am autogen.sh configure.ac aclocal.m4 configure missing install-sh depcomp config.sub config.guess compile Makefile.in Log Message: Resolves: bug 245208 Bug Description: adminutil: Solaris port for 1.1 Reviewed by: nkinder (Thanks!) Fix Description: There are several problems with building/running adminutil on Solaris. The biggest is that ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. However, automake will only generate this macro if it detects a C++ source file in Makefile.am. So, we have to introduce a dummy.cpp file to force automake to generate the CXXLINK macro, then use that to link the shared libraries. Accept automake version 1.10 or later. Look for mozldap6 first, then mozldap. Platforms tested: Solaris 9 64bit Flag Day: Yes - autotool file change Doc impact: no Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminutil/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Makefile.am 25 May 2007 22:55:54 -0000 1.4 +++ Makefile.am 21 Jun 2007 21:27:59 -0000 1.5 @@ -1,6 +1,9 @@ # look for included m4 files in the ./m4/ directory ACLOCAL_AMFLAGS = -I m4 +LIBCSTD=@LIBCSTD@ +LIBCRUN=@LIBCRUN@ + #------------------------ # Compiler Flags #------------------------ @@ -20,7 +23,7 @@ if enable_tests SASL_LINK = @sasl_lib@ -lsasl2 endif -ICU_LINK = @icu_lib@ -licui18n -licuuc -licudata +ICU_LINK = @icu_lib@ -licui18n -licuuc -licudata $(LIBCSTD) $(LIBCRUN) #------------------------ # Build Products @@ -28,6 +31,14 @@ lib_LTLIBRARIES = libadminutil.la libadmsslutil.la pkgdata_DATA = root.res en.res en_US.res +# this is just a dummy to make automake define +# the CXXLINK macro +if CXXLINK_REQUIRED +noinst_PROGRAMS = dummy +dummy_SOURCES = lib/dummy.cpp +dummy_LINK = $(CXXLINK) +endif + if enable_tests check_PROGRAMS = retrieveSIE retrieveSIEssl psetread psetreadssl psetwrite TESTS = retrieveSIE retrieveSIEssl psetread psetreadssl psetwrite @@ -114,6 +125,9 @@ libadminutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadminutil_la_LIBADD = $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadminutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) +if CXXLINK_REQUIRED +libadminutil_la_LINK = $(CXXLINK) +endif #------------------------ # libadmsslutil @@ -129,3 +143,6 @@ libadmsslutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadmsslutil_la_LIBADD = libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadmsslutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) +if CXXLINK_REQUIRED +libadmsslutil_la_LINK = $(CXXLINK) +endif Index: autogen.sh =================================================================== RCS file: /cvs/dirsec/adminutil/autogen.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- autogen.sh 30 Oct 2006 19:25:16 -0000 1.1 +++ autogen.sh 21 Jun 2007 21:28:00 -0000 1.2 @@ -33,6 +33,9 @@ # Check automake version AM_VERSION=`automake --version | grep '^automake' | sed 's/.*) *//'` case $AM_VERSION in +1.1*) + echo "Found automake version $AM_VERSION" + ;; # ok '' | 0.* | 1.[0-8]* | 1.9.[0-1]* ) echo "You must have automake version 1.9.2 or later installed (found version $AM_VERSION)." exit 1 Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminutil/configure.ac,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- configure.ac 25 May 2007 22:55:54 -0000 1.4 +++ configure.ac 21 Jun 2007 21:28:00 -0000 1.5 @@ -45,6 +45,7 @@ AC_FUNC_VPRINTF AC_CHECK_FUNCS([setrlimit endpwent ftruncate getcwd gethostbyname inet_ntoa localtime_r memmove memset mkdir munmap putenv rmdir socket strcasecmp strchr strcspn strdup strerror strncasecmp strpbrk strrchr strstr strtol tzset]) +CXXLINK_REQUIRED=0 # Deal with platform dependent defines case $host in *-*-linux*) @@ -62,6 +63,12 @@ sparc-sun-solaris*) platform_defs="-DXP_UNIX" platform="solaris" +dnl Cstd and Crun are required to link any C++ related code (ICU) + LIBCSTD=-lCstd + AC_SUBST([LIBCSTD], [$LIBCSTD]) + LIBCRUN=-lCrun + AC_SUBST([LIBCRUN], [$LIBCRUN]) + CXXLINK_REQUIRED=1 ;; *) platform_defs="" @@ -69,6 +76,7 @@ ;; esac AC_SUBST([platform_defs]) +AM_CONDITIONAL(CXXLINK_REQUIRED,test "$CXXLINK_REQUIRED" = 1) AC_MSG_CHECKING(for --enable-debug) AC_ARG_ENABLE(debug, Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminutil/aclocal.m4,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- aclocal.m4 25 May 2007 22:55:54 -0000 1.5 +++ aclocal.m4 21 Jun 2007 21:28:00 -0000 1.6 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.9.6 -*- Autoconf -*- +# generated automatically by aclocal 1.10 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005 Free Software Foundation, Inc. +# 2005, 2006 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,6 +11,11 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_if(m4_PACKAGE_VERSION, [2.60],, +[m4_fatal([this file was generated for autoconf 2.60. +You have another version of autoconf. If you want to use that, +you should regenerate the build system entirely.], [63])]) + # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 AC_PROG_LIBTOOL @@ -1578,27 +1583,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4293,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4426,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4442,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4522,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6358,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,11 +6390,10 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6420,14 +6403,29 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.10' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.10], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.6])]) +[AM_AUTOMAKE_VERSION([1.10])dnl +_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- @@ -6484,14 +6482,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 7 +# serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -6500,8 +6498,10 @@ [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE]) -AC_SUBST([$1_FALSE]) +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' @@ -6515,15 +6515,14 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -6551,6 +6550,7 @@ ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) @@ -6616,6 +6616,7 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -6668,7 +6669,8 @@ AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- @@ -6693,8 +6695,9 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue @@ -6741,8 +6744,8 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6765,16 +6768,20 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.58])dnl +[AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi fi # test whether we have cygpath @@ -6794,6 +6801,9 @@ AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl @@ -6829,6 +6839,10 @@ [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) @@ -6864,7 +6878,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"$am_aux_dir/install-sh"} +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -6969,13 +6983,14 @@ rm -f confinc confmf ]) -# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 5 # AM_PROG_CC_C_O # -------------- @@ -6983,6 +6998,7 @@ AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC @@ -6995,18 +7011,22 @@ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 +# serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -7022,6 +7042,7 @@ # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then @@ -7032,7 +7053,7 @@ fi ]) -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -7040,60 +7061,23 @@ # AM_PROG_MKDIR_P # --------------- -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. -# -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories -# created by `make install' are always world readable, even if the -# installer happens to have an overly restrictive umask (e.g. 077). -# This was a mistake. There are at least two reasons why we must not -# use `-m 0755': -# - it causes special bits like SGID to be ignored, -# - it may be too restrictive (some setups expect 775 directories). -# -# Do not use -m 0755 and let people choose whatever they expect by -# setting umask. -# -# We cannot accept any implementation of `mkdir' that recognizes `-p'. -# Some implementations (such as Solaris 8's) are not thread-safe: if a -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' -# concurrently, both version can detect that a/ is missing, but only -# one can create it and the other will error out. Consequently we -# restrict ourselves to GNU make (using the --version option ensures -# this.) +# Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else - mkdir_p='$(install_sh) -d' - fi -fi -AC_SUBST([mkdir_p])]) +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) # Helper functions for option handling. -*- Autoconf -*- @@ -7205,9 +7189,21 @@ if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.5 -r 1.6 configure Index: configure =================================================================== RCS file: /cvs/dirsec/adminutil/configure,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- configure 25 May 2007 22:55:54 -0000 1.5 +++ configure 21 Jun 2007 21:28:00 -0000 1.6 @@ -1,10 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for adminutil 1.1.1. +# Generated by GNU Autoconf 2.60 for adminutil 1.1.1. # # Report bugs to . # -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -18,11 +19,35 @@ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi +BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset @@ -31,8 +56,43 @@ fi +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + # Work around bugs in pre-3.0 UWIN ksh. -$as_unset ENV MAIL MAILPATH +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done PS1='$ ' PS2='> ' PS4='+ ' @@ -46,18 +106,19 @@ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else - $as_unset $as_var + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1; then +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false @@ -65,157 +126,386 @@ # Name of the executable. -as_me=`$as_basename "$0" || +as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || + X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` +# CDPATH. +$as_unset CDPATH -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh +if test "x$CONFIG_SHELL" = x; then + if (eval ":") 2>/dev/null; then + as_have_required=yes +else + as_have_required=no +fi + + if test $as_have_required = yes && (eval ": +(as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} [...15838 lines suppressed...] - case "$ac_dir" in - .) ac_abs_builddir=`pwd`;; - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; - *) ac_abs_builddir=`pwd`/"$ac_dir";; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_builddir=${ac_top_builddir}.;; -*) - case ${ac_top_builddir}. in - .) ac_abs_top_builddir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_srcdir=$ac_srcdir;; -*) - case $ac_srcdir in - .) ac_abs_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_srcdir=$ac_top_srcdir;; -*) - case $ac_top_srcdir in - .) ac_abs_top_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; - esac;; -esac + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 +echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 -echo "$as_me: executing $ac_dest commands" >&6;} - case $ac_dest in - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. @@ -25052,20 +26696,32 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`(dirname "$mf") 2>/dev/null || + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$mf" : 'X\(/\)' \| . 2>/dev/null || echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` else continue fi @@ -25087,53 +26743,79 @@ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue - fdir=`(dirname "$file") 2>/dev/null || + fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - { if $as_mkdir_p; then - mkdir -p $dirpart/$fdir - else - as_dir=$dirpart/$fdir + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir=$dirpart/$fdir + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= - while test ! -d "$as_dir"; do - as_dirs="$as_dir $as_dirs" - as_dir=`(dirname "$as_dir") 2>/dev/null || + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break done - test ! -n "$as_dirs" || mkdir $as_dirs - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; + esac -done -_ACEOF +done # for ac_tag -cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF Index: missing =================================================================== RCS file: /cvs/dirsec/adminutil/missing,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- missing 25 May 2007 22:55:54 -0000 1.4 +++ missing 21 Jun 2007 21:28:00 -0000 1.5 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-06-08.21 +scriptversion=2006-05-10.23 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -33,6 +33,8 @@ fi run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -44,7 +46,7 @@ msg="missing on your system" -case "$1" in +case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -77,6 +79,7 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -106,7 +109,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case "$1" in +case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -135,7 +138,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case "$1" in +case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -164,7 +167,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case "$f" in + case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -192,8 +195,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else @@ -214,25 +217,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if [ ! -f y.tab.h ]; then + if test ! -f y.tab.h; then echo >y.tab.h fi - if [ ! -f y.tab.c ]; then + if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -244,18 +247,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if [ ! -f lex.yy.c ]; then + if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -267,11 +270,9 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then touch $file else test -z "$file" || exec >$file @@ -289,11 +290,17 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -317,13 +324,13 @@ fi firstarg="$1" if shift; then - case "$firstarg" in + case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case "$firstarg" in + case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 Index: install-sh =================================================================== RCS file: /cvs/dirsec/adminutil/install-sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- install-sh 25 May 2007 22:55:54 -0000 1.4 +++ install-sh 21 Jun 2007 21:28:00 -0000 1.5 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2005-05-14.22 +scriptversion=2006-10-14.15 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -39,15 +39,24 @@ # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. +# from scratch. + +nl=' +' +IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi -# put in absolute paths if you don't have them in your path; or use env. vars. +# Put in absolute file names if you don't have them in your path; +# or use environment vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" @@ -58,7 +67,13 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -chmodcmd="$chmodprog 0755" +posix_glob= +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chmodcmd=$chmodprog chowncmd= chgrpcmd= stripcmd= @@ -95,7 +110,7 @@ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " -while test -n "$1"; do +while test $# -ne 0; do case $1 in -c) shift continue;; @@ -111,9 +126,15 @@ --help) echo "$usage"; exit $?;; - -m) chmodcmd="$chmodprog $2" + -m) mode=$2 shift shift + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac continue;; -o) chowncmd="$chownprog $2" @@ -136,25 +157,33 @@ --version) echo "$0 $scriptversion"; exit $?;; - *) # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - test -n "$dir_arg$dstarg" && break - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done + --) shift break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; esac done -if test -z "$1"; then +if test $# -ne 0 && test -z "$dir_arg$dstarg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done +fi + +if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 @@ -164,6 +193,33 @@ exit 0 fi +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + for src do # Protect names starting with `-'. @@ -173,15 +229,11 @@ if test -n "$dir_arg"; then dst=$src - src= - - if test -d "$dst"; then - mkdircmd=: - chmodcmd= - else - mkdircmd=$mkdirprog - fi + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. @@ -208,53 +260,188 @@ echo "$0: $dstarg: Is a directory" >&2 exit 1 fi - dst=$dst/`basename "$src"` + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? fi fi - # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - - # Make sure that the destination directory exists. + obsolete_mkdir_used=false - # Skip lots of stat calls in the usual case. - if test ! -d "$dstdir"; then - defaultIFS=' - ' - IFS="${IFS-$defaultIFS}" - - oIFS=$IFS - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` - shift - IFS=$oIFS + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac - pathcomp= + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else - while test $# -ne 0 ; do - pathcomp=$pathcomp$1 + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix=/ ;; + -*) prefix=./ ;; + *) prefix= ;; + esac + + case $posix_glob in + '') + if (set -f) 2>/dev/null; then + posix_glob=true + else + posix_glob=false + fi ;; + esac + + oIFS=$IFS + IFS=/ + $posix_glob && set -f + set fnord $dstdir shift - if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" - # mkdir can fail with a `File exist' error in case several - # install-sh are creating the directory concurrently. This - # is OK. - test -d "$pathcomp" || exit + $posix_glob && set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true fi - pathcomp=$pathcomp/ - done + fi fi if test -n "$dir_arg"; then - $doit $mkdircmd "$dst" \ - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } - + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else - dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ @@ -262,10 +449,9 @@ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. - $doit $cpprog "$src" "$dsttmp" && + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # @@ -276,10 +462,10 @@ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ + { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not @@ -291,11 +477,12 @@ # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { - if test -f "$dstdir/$dstfile"; then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + if test -f "$dst"; then + $doit $rmcmd -f "$dst" 2>/dev/null \ + || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ + && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ || { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } else @@ -304,16 +491,13 @@ } && # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + $doit $mvcmd "$dsttmp" "$dst" } - } - fi || { (exit 1); exit 1; } -done + } || exit 1 -# The final little trick to "correctly" pass the exit status to the exit trap. -{ - (exit 0); exit 0 -} + trap '' 0 + fi +done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) Index: depcomp =================================================================== RCS file: /cvs/dirsec/adminutil/depcomp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- depcomp 25 May 2007 22:55:54 -0000 1.4 +++ depcomp 21 Jun 2007 21:28:00 -0000 1.5 @@ -1,9 +1,10 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2005-07-09.11 +scriptversion=2006-10-15.18 -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -91,7 +92,20 @@ ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" stat=$? if test $stat -eq 0; then : else @@ -276,6 +290,46 @@ rm -f "$tmpdepfile" ;; +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -288,13 +342,13 @@ if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mecanism is used in libtool 1.4 series to + # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in in $dir.libs/$base.o.d and + # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is Index: config.sub =================================================================== RCS file: /cvs/dirsec/adminutil/config.sub,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- config.sub 25 May 2007 22:55:54 -0000 1.4 +++ config.sub 21 Jun 2007 21:28:00 -0000 1.5 @@ -1,9 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-07-08' +timestamp='2006-09-20' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -119,8 +120,9 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -171,6 +173,10 @@ -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -187,6 +193,10 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -231,7 +241,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -239,7 +249,8 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -257,28 +268,27 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ - | ms1 \ + | mt \ | msp430 \ + | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | score \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; - m32c) - basic_machine=$basic_machine-unknown - ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -286,6 +296,9 @@ ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; + ms1) + basic_machine=mt-unknown + ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -305,7 +318,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ + | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -316,7 +329,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ + | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -336,31 +349,30 @@ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ - | ms1-* \ + | mt-* \ | msp430-* \ + | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; - m32c-*) - ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -696,6 +708,9 @@ basic_machine=i386-pc os=-msdos ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; mvs) basic_machine=i370-ibm os=-mvs @@ -803,6 +818,12 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -859,6 +880,10 @@ basic_machine=i586-unknown os=-pw32 ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -885,6 +910,10 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; sei) basic_machine=mips-sei os=-seiux @@ -1101,7 +1130,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b) + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) @@ -1174,21 +1203,23 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku*) + | -skyos* | -haiku* | -rdos* | -toppers*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1340,6 +1371,12 @@ # system, and we'll never get to this point. case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; @@ -1349,9 +1386,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 Index: config.guess =================================================================== RCS file: /cvs/dirsec/adminutil/config.guess,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- config.guess 25 May 2007 22:55:54 -0000 1.4 +++ config.guess 21 Jun 2007 21:28:00 -0000 1.5 @@ -1,9 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-07-08' +timestamp='2006-07-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -106,7 +107,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -206,8 +207,11 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; macppc:MirBSD:*:*) - echo powerppc-unknown-mirbsd${UNAME_RELEASE} + echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -764,7 +768,14 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -779,8 +790,11 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[34]*) - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + x86:Interix*:[3456]*) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T:Interix*:[3456]*) + echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -794,7 +808,7 @@ i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; - amd64:CYGWIN*:*:*) + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) @@ -817,6 +831,9 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -851,7 +868,11 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -870,9 +891,16 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; @@ -916,6 +944,9 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; @@ -961,7 +992,7 @@ LIBC=gnulibc1 # endif #else - #ifdef __INTEL_COMPILER + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout @@ -971,7 +1002,11 @@ LIBC=dietlibc #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1182,7 +1217,6 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in - *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1261,6 +1295,9 @@ i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminutil/Makefile.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Makefile.in 25 May 2007 22:55:54 -0000 1.5 +++ Makefile.in 21 Jun 2007 21:28:00 -0000 1.6 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. +# Makefile.in generated by automake 1.10 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -15,15 +15,12 @@ @SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ + VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -37,15 +34,19 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ + at CXXLINK_REQUIRED_TRUE@noinst_PROGRAMS = dummy$(EXEEXT) @enable_tests_TRUE at check_PROGRAMS = retrieveSIE$(EXEEXT) \ @enable_tests_TRUE@ retrieveSIEssl$(EXEEXT) psetread$(EXEEXT) \ @enable_tests_TRUE@ psetreadssl$(EXEEXT) psetwrite$(EXEEXT) + at enable_tests_TRUE@TESTS = retrieveSIE$(EXEEXT) \ + at enable_tests_TRUE@ retrieveSIEssl$(EXEEXT) psetread$(EXEEXT) \ + at enable_tests_TRUE@ psetreadssl$(EXEEXT) psetwrite$(EXEEXT) +subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/adminutil.pc.in \ $(top_srcdir)/configure \ $(top_srcdir)/lib/libadminutil/genrb_wrapper.in NEWS compile \ config.guess config.sub depcomp install-sh ltmain.sh missing -subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/nspr.m4 $(top_srcdir)/m4/nss.m4 \ $(top_srcdir)/m4/mozldap.m4 $(top_srcdir)/m4/sasl.m4 \ @@ -54,7 +55,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno configure.status.lineno + configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = adminutil.pc lib/libadminutil/genrb_wrapper am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; @@ -69,9 +70,10 @@ libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = +am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) libadminutil_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) am__dirstamp = $(am__leading_dot)dirstamp am_libadminutil_la_OBJECTS = \ lib/libadminutil/libadminutil_la-acclanglist.lo \ @@ -87,7 +89,7 @@ libadminutil_la_OBJECTS = $(am_libadminutil_la_OBJECTS) libadmsslutil_la_DEPENDENCIES = libadminutil.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) am_libadmsslutil_la_OBJECTS = \ lib/libadmsslutil/libadmsslutil_la-admsslutil.lo \ lib/libadmsslutil/libadmsslutil_la-certmgt.lo \ @@ -97,53 +99,69 @@ lib/libadmsslutil/libadmsslutil_la-sslerror.lo \ lib/libadmsslutil/libadmsslutil_la-uginfossl.lo libadmsslutil_la_OBJECTS = $(am_libadmsslutil_la_OBJECTS) +PROGRAMS = $(noinst_PROGRAMS) +am__dummy_SOURCES_DIST = lib/dummy.cpp + at CXXLINK_REQUIRED_TRUE@am_dummy_OBJECTS = lib/dummy.$(OBJEXT) +dummy_OBJECTS = $(am_dummy_OBJECTS) +dummy_LDADD = $(LDADD) am__psetread_SOURCES_DIST = tests/psetread.c @enable_tests_TRUE at am_psetread_OBJECTS = \ @enable_tests_TRUE@ tests/psetread-psetread.$(OBJEXT) psetread_OBJECTS = $(am_psetread_OBJECTS) - at enable_tests_TRUE@am__DEPENDENCIES_2 = libadmsslutil.la \ + at enable_tests_TRUE@am__DEPENDENCIES_3 = libadmsslutil.la \ @enable_tests_TRUE@ libadminutil.la $(am__DEPENDENCIES_1) \ @enable_tests_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - at enable_tests_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) - at enable_tests_TRUE@psetread_DEPENDENCIES = $(am__DEPENDENCIES_2) + at enable_tests_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) + at enable_tests_TRUE@psetread_DEPENDENCIES = $(am__DEPENDENCIES_3) am__psetreadssl_SOURCES_DIST = tests/psetreadssl.c @enable_tests_TRUE at am_psetreadssl_OBJECTS = \ @enable_tests_TRUE@ tests/psetreadssl-psetreadssl.$(OBJEXT) psetreadssl_OBJECTS = $(am_psetreadssl_OBJECTS) - at enable_tests_TRUE@psetreadssl_DEPENDENCIES = $(am__DEPENDENCIES_2) + at enable_tests_TRUE@psetreadssl_DEPENDENCIES = $(am__DEPENDENCIES_3) am__psetwrite_SOURCES_DIST = tests/psetwrite.c @enable_tests_TRUE at am_psetwrite_OBJECTS = \ @enable_tests_TRUE@ tests/psetwrite-psetwrite.$(OBJEXT) psetwrite_OBJECTS = $(am_psetwrite_OBJECTS) - at enable_tests_TRUE@psetwrite_DEPENDENCIES = $(am__DEPENDENCIES_2) + at enable_tests_TRUE@psetwrite_DEPENDENCIES = $(am__DEPENDENCIES_3) am__retrieveSIE_SOURCES_DIST = tests/retrieveSIE.c @enable_tests_TRUE at am_retrieveSIE_OBJECTS = \ @enable_tests_TRUE@ tests/retrieveSIE-retrieveSIE.$(OBJEXT) retrieveSIE_OBJECTS = $(am_retrieveSIE_OBJECTS) - at enable_tests_TRUE@retrieveSIE_DEPENDENCIES = $(am__DEPENDENCIES_2) + at enable_tests_TRUE@retrieveSIE_DEPENDENCIES = $(am__DEPENDENCIES_3) am__retrieveSIEssl_SOURCES_DIST = tests/retrieveSIEssl.c @enable_tests_TRUE at am_retrieveSIEssl_OBJECTS = tests/retrieveSIEssl-retrieveSIEssl.$(OBJEXT) retrieveSIEssl_OBJECTS = $(am_retrieveSIEssl_OBJECTS) @enable_tests_TRUE at retrieveSIEssl_DEPENDENCIES = \ - at enable_tests_TRUE@ $(am__DEPENDENCIES_2) -DEFAULT_INCLUDES = -I. -I$(srcdir) + at enable_tests_TRUE@ $(am__DEPENDENCIES_3) +DEFAULT_INCLUDES = -I. at am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ SOURCES = $(libadminutil_la_SOURCES) $(libadmsslutil_la_SOURCES) \ - $(psetread_SOURCES) $(psetreadssl_SOURCES) \ + $(dummy_SOURCES) $(psetread_SOURCES) $(psetreadssl_SOURCES) \ $(psetwrite_SOURCES) $(retrieveSIE_SOURCES) \ $(retrieveSIEssl_SOURCES) DIST_SOURCES = $(libadminutil_la_SOURCES) $(libadmsslutil_la_SOURCES) \ - $(am__psetread_SOURCES_DIST) $(am__psetreadssl_SOURCES_DIST) \ - $(am__psetwrite_SOURCES_DIST) $(am__retrieveSIE_SOURCES_DIST) \ + $(am__dummy_SOURCES_DIST) $(am__psetread_SOURCES_DIST) \ + $(am__psetreadssl_SOURCES_DIST) $(am__psetwrite_SOURCES_DIST) \ + $(am__retrieveSIE_SOURCES_DIST) \ $(am__retrieveSIEssl_SOURCES_DIST) adminincDATA_INSTALL = $(INSTALL_DATA) admsslincDATA_INSTALL = $(INSTALL_DATA) @@ -165,8 +183,6 @@ distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ @@ -193,21 +209,24 @@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ +GREP = @GREP@ ICU_CONFIG = @ICU_CONFIG@ +INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ +LIBCRUN = @LIBCRUN@ +LIBCSTD = @LIBCSTD@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -218,23 +237,17 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ -WINNT_FALSE = @WINNT_FALSE@ -WINNT_TRUE = @WINNT_TRUE@ -ac_ct_AR = @ac_ct_AR@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -246,16 +259,19 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +builddir = @builddir@ datadir = @datadir@ +datarootdir = @datarootdir@ debug_defs = @debug_defs@ -enable_tests_FALSE = @enable_tests_FALSE@ -enable_tests_TRUE = @enable_tests_TRUE@ +docdir = @docdir@ +dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ +htmldir = @htmldir@ icu_bin = @icu_bin@ icu_inc = @icu_inc@ icu_lib = @icu_lib@ @@ -268,6 +284,7 @@ ldapsdk_libdir = @ldapsdk_libdir@ libdir = @libdir@ libexecdir = @libexecdir@ +localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ @@ -278,15 +295,20 @@ nss_lib = @nss_lib@ nss_libdir = @nss_libdir@ oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ platform_defs = @platform_defs@ prefix = @prefix@ program_transform_name = @program_transform_name@ +psdir = @psdir@ sasl_inc = @sasl_inc@ sasl_lib = @sasl_lib@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ # look for included m4 files in the ./m4/ directory ACLOCAL_AMFLAGS = -I m4 @@ -308,14 +330,15 @@ NSS_LINK = @nss_lib@ -lssl3 -lnss3 -lsoftokn3 LDAPSDK_LINK = @ldapsdk_lib@ -lssldap60 -lldap60 -lprldap60 -lldif60 @enable_tests_TRUE at SASL_LINK = @sasl_lib@ -lsasl2 -ICU_LINK = @icu_lib@ -licui18n -licuuc -licudata +ICU_LINK = @icu_lib@ -licui18n -licuuc -licudata $(LIBCSTD) $(LIBCRUN) #------------------------ # Build Products #------------------------ lib_LTLIBRARIES = libadminutil.la libadmsslutil.la pkgdata_DATA = root.res en.res en_US.res - at enable_tests_TRUE@TESTS = retrieveSIE retrieveSIEssl psetread psetreadssl psetwrite + at CXXLINK_REQUIRED_TRUE@dummy_SOURCES = lib/dummy.cpp + at CXXLINK_REQUIRED_TRUE@dummy_LINK = $(CXXLINK) @enable_tests_TRUE at TEST_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include @nspr_inc@ @ldapsdk_inc@ @icu_inc@ @enable_tests_TRUE at TEST_LDADD = libadmsslutil.la libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) @enable_tests_TRUE at retrieveSIE_SOURCES = tests/retrieveSIE.c @@ -379,6 +402,7 @@ libadminutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadminutil_la_LIBADD = $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadminutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) + at CXXLINK_REQUIRED_TRUE@libadminutil_la_LINK = $(CXXLINK) #------------------------ # libadmsslutil @@ -394,10 +418,11 @@ libadmsslutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadmsslutil_la_LIBADD = libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadmsslutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) + at CXXLINK_REQUIRED_TRUE@libadmsslutil_la_LINK = $(CXXLINK) all: all-am .SUFFIXES: -.SUFFIXES: .c .lo .o .obj +.SUFFIXES: .c .cpp .lo .o .obj am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @@ -437,7 +462,7 @@ cd $(top_builddir) && $(SHELL) ./config.status $@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ @@ -448,7 +473,7 @@ uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) - @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ @@ -463,10 +488,10 @@ rm -f "$${dir}/so_locations"; \ done lib/libadminutil/$(am__dirstamp): - @$(mkdir_p) lib/libadminutil + @$(MKDIR_P) lib/libadminutil @: > lib/libadminutil/$(am__dirstamp) lib/libadminutil/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) lib/libadminutil/$(DEPDIR) + @$(MKDIR_P) lib/libadminutil/$(DEPDIR) @: > lib/libadminutil/$(DEPDIR)/$(am__dirstamp) lib/libadminutil/libadminutil_la-acclanglist.lo: \ lib/libadminutil/$(am__dirstamp) \ @@ -499,12 +524,12 @@ lib/libadminutil/$(am__dirstamp) \ lib/libadminutil/$(DEPDIR)/$(am__dirstamp) libadminutil.la: $(libadminutil_la_OBJECTS) $(libadminutil_la_DEPENDENCIES) - $(LINK) -rpath $(libdir) $(libadminutil_la_LDFLAGS) $(libadminutil_la_OBJECTS) $(libadminutil_la_LIBADD) $(LIBS) + $(libadminutil_la_LINK) -rpath $(libdir) $(libadminutil_la_OBJECTS) $(libadminutil_la_LIBADD) $(LIBS) lib/libadmsslutil/$(am__dirstamp): - @$(mkdir_p) lib/libadmsslutil + @$(MKDIR_P) lib/libadmsslutil @: > lib/libadmsslutil/$(am__dirstamp) lib/libadmsslutil/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) lib/libadmsslutil/$(DEPDIR) + @$(MKDIR_P) lib/libadmsslutil/$(DEPDIR) @: > lib/libadmsslutil/$(DEPDIR)/$(am__dirstamp) lib/libadmsslutil/libadmsslutil_la-admsslutil.lo: \ lib/libadmsslutil/$(am__dirstamp) \ @@ -528,7 +553,7 @@ lib/libadmsslutil/$(am__dirstamp) \ lib/libadmsslutil/$(DEPDIR)/$(am__dirstamp) libadmsslutil.la: $(libadmsslutil_la_OBJECTS) $(libadmsslutil_la_DEPENDENCIES) - $(LINK) -rpath $(libdir) $(libadmsslutil_la_LDFLAGS) $(libadmsslutil_la_OBJECTS) $(libadmsslutil_la_LIBADD) $(LIBS) + $(libadmsslutil_la_LINK) -rpath $(libdir) $(libadmsslutil_la_OBJECTS) $(libadmsslutil_la_LIBADD) $(LIBS) clean-checkPROGRAMS: @list='$(check_PROGRAMS)'; for p in $$list; do \ @@ -536,40 +561,58 @@ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +lib/$(am__dirstamp): + @$(MKDIR_P) lib + @: > lib/$(am__dirstamp) +lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/$(DEPDIR) + @: > lib/$(DEPDIR)/$(am__dirstamp) +lib/dummy.$(OBJEXT): lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) + @rm -f dummy$(EXEEXT) + $(dummy_LINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS) tests/$(am__dirstamp): - @$(mkdir_p) tests + @$(MKDIR_P) tests @: > tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) tests/$(DEPDIR) + @$(MKDIR_P) tests/$(DEPDIR) @: > tests/$(DEPDIR)/$(am__dirstamp) tests/psetread-psetread.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) psetread$(EXEEXT): $(psetread_OBJECTS) $(psetread_DEPENDENCIES) @rm -f psetread$(EXEEXT) - $(LINK) $(psetread_LDFLAGS) $(psetread_OBJECTS) $(psetread_LDADD) $(LIBS) + $(LINK) $(psetread_OBJECTS) $(psetread_LDADD) $(LIBS) tests/psetreadssl-psetreadssl.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) psetreadssl$(EXEEXT): $(psetreadssl_OBJECTS) $(psetreadssl_DEPENDENCIES) @rm -f psetreadssl$(EXEEXT) - $(LINK) $(psetreadssl_LDFLAGS) $(psetreadssl_OBJECTS) $(psetreadssl_LDADD) $(LIBS) + $(LINK) $(psetreadssl_OBJECTS) $(psetreadssl_LDADD) $(LIBS) tests/psetwrite-psetwrite.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) psetwrite$(EXEEXT): $(psetwrite_OBJECTS) $(psetwrite_DEPENDENCIES) @rm -f psetwrite$(EXEEXT) - $(LINK) $(psetwrite_LDFLAGS) $(psetwrite_OBJECTS) $(psetwrite_LDADD) $(LIBS) + $(LINK) $(psetwrite_OBJECTS) $(psetwrite_LDADD) $(LIBS) tests/retrieveSIE-retrieveSIE.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) retrieveSIE$(EXEEXT): $(retrieveSIE_OBJECTS) $(retrieveSIE_DEPENDENCIES) @rm -f retrieveSIE$(EXEEXT) - $(LINK) $(retrieveSIE_LDFLAGS) $(retrieveSIE_OBJECTS) $(retrieveSIE_LDADD) $(LIBS) + $(LINK) $(retrieveSIE_OBJECTS) $(retrieveSIE_LDADD) $(LIBS) tests/retrieveSIEssl-retrieveSIEssl.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) retrieveSIEssl$(EXEEXT): $(retrieveSIEssl_OBJECTS) $(retrieveSIEssl_DEPENDENCIES) @rm -f retrieveSIEssl$(EXEEXT) - $(LINK) $(retrieveSIEssl_LDFLAGS) $(retrieveSIEssl_OBJECTS) $(retrieveSIEssl_LDADD) $(LIBS) + $(LINK) $(retrieveSIEssl_OBJECTS) $(retrieveSIEssl_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f lib/dummy.$(OBJEXT) -rm -f lib/libadminutil/libadminutil_la-acclanglist.$(OBJEXT) -rm -f lib/libadminutil/libadminutil_la-acclanglist.lo -rm -f lib/libadminutil/libadminutil_la-admutil.$(OBJEXT) @@ -613,6 +656,7 @@ distclean-compile: -rm -f *.tab.c + at AMDEP_TRUE@@am__include@ @am__quote at lib/$(DEPDIR)/dummy.Po at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Plo at am__quote@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Plo at am__quote@ @@ -637,218 +681,242 @@ @AMDEP_TRUE@@am__include@ @am__quote at tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po at am__quote@ .c.o: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ - at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ - at am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< lib/libadminutil/libadminutil_la-acclanglist.lo: lib/libadminutil/acclanglist.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-acclanglist.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo" -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-acclanglist.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/acclanglist.c' object='lib/libadminutil/libadminutil_la-acclanglist.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c lib/libadminutil/libadminutil_la-admutil.lo: lib/libadminutil/admutil.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-admutil.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo" -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-admutil.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/admutil.c' object='lib/libadminutil/libadminutil_la-admutil.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c lib/libadminutil/libadminutil_la-distadm.lo: lib/libadminutil/distadm.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-distadm.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo" -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-distadm.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/distadm.c' object='lib/libadminutil/libadminutil_la-distadm.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c lib/libadminutil/libadminutil_la-errRpt.lo: lib/libadminutil/errRpt.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-errRpt.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo" -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-errRpt.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/errRpt.c' object='lib/libadminutil/libadminutil_la-errRpt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c lib/libadminutil/libadminutil_la-form_post.lo: lib/libadminutil/form_post.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-form_post.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo" -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-form_post.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/form_post.c' object='lib/libadminutil/libadminutil_la-form_post.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c lib/libadminutil/libadminutil_la-psetc.lo: lib/libadminutil/psetc.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-psetc.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo" -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-psetc.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/psetc.c' object='lib/libadminutil/libadminutil_la-psetc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c lib/libadminutil/libadminutil_la-resource.lo: lib/libadminutil/resource.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-resource.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo" -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-resource.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/resource.c' object='lib/libadminutil/libadminutil_la-resource.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c lib/libadminutil/libadminutil_la-srvutil.lo: lib/libadminutil/srvutil.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-srvutil.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo" -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-srvutil.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/srvutil.c' object='lib/libadminutil/libadminutil_la-srvutil.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c lib/libadminutil/libadminutil_la-strlist.lo: lib/libadminutil/strlist.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-strlist.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo" -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-strlist.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/strlist.c' object='lib/libadminutil/libadminutil_la-strlist.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c lib/libadminutil/libadminutil_la-uginfo.lo: lib/libadminutil/uginfo.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-uginfo.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo" -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-uginfo.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c + at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/uginfo.c' object='lib/libadminutil/libadminutil_la-uginfo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c lib/libadmsslutil/libadmsslutil_la-admsslutil.lo: lib/libadmsslutil/admsslutil.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-admsslutil.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-admsslutil.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c + at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/admsslutil.c' object='lib/libadmsslutil/libadmsslutil_la-admsslutil.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c lib/libadmsslutil/libadmsslutil_la-certmgt.lo: lib/libadmsslutil/certmgt.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-certmgt.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-certmgt.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c + at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/certmgt.c' object='lib/libadmsslutil/libadmsslutil_la-certmgt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c lib/libadmsslutil/libadmsslutil_la-psetcssl.lo: lib/libadmsslutil/psetcssl.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-psetcssl.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-psetcssl.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c + at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/psetcssl.c' object='lib/libadmsslutil/libadmsslutil_la-psetcssl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c lib/libadmsslutil/libadmsslutil_la-secpwd.lo: lib/libadmsslutil/secpwd.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-secpwd.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-secpwd.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c + at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/secpwd.c' object='lib/libadmsslutil/libadmsslutil_la-secpwd.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo: lib/libadmsslutil/srvutilssl.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c + at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/srvutilssl.c' object='lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c lib/libadmsslutil/libadmsslutil_la-sslerror.lo: lib/libadmsslutil/sslerror.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-sslerror.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-sslerror.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c + at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/sslerror.c' object='lib/libadmsslutil/libadmsslutil_la-sslerror.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c lib/libadmsslutil/libadmsslutil_la-uginfossl.lo: lib/libadmsslutil/uginfossl.c - at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-uginfossl.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-uginfossl.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c + at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/uginfossl.c' object='lib/libadmsslutil/libadmsslutil_la-uginfossl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c tests/psetread-psetread.o: tests/psetread.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.o -MD -MP -MF "tests/$(DEPDIR)/psetread-psetread.Tpo" -c -o tests/psetread-psetread.o `test -f 'tests/psetread.c' || echo '$(srcdir)/'`tests/psetread.c; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetread-psetread.Tpo" "tests/$(DEPDIR)/psetread-psetread.Po"; else rm -f "tests/$(DEPDIR)/psetread-psetread.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.o -MD -MP -MF tests/$(DEPDIR)/psetread-psetread.Tpo -c -o tests/psetread-psetread.o `test -f 'tests/psetread.c' || echo '$(srcdir)/'`tests/psetread.c + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetread-psetread.Tpo tests/$(DEPDIR)/psetread-psetread.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetread.c' object='tests/psetread-psetread.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetread-psetread.o `test -f 'tests/psetread.c' || echo '$(srcdir)/'`tests/psetread.c tests/psetread-psetread.obj: tests/psetread.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.obj -MD -MP -MF "tests/$(DEPDIR)/psetread-psetread.Tpo" -c -o tests/psetread-psetread.obj `if test -f 'tests/psetread.c'; then $(CYGPATH_W) 'tests/psetread.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetread.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetread-psetread.Tpo" "tests/$(DEPDIR)/psetread-psetread.Po"; else rm -f "tests/$(DEPDIR)/psetread-psetread.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.obj -MD -MP -MF tests/$(DEPDIR)/psetread-psetread.Tpo -c -o tests/psetread-psetread.obj `if test -f 'tests/psetread.c'; then $(CYGPATH_W) 'tests/psetread.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetread.c'; fi` + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetread-psetread.Tpo tests/$(DEPDIR)/psetread-psetread.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetread.c' object='tests/psetread-psetread.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetread-psetread.obj `if test -f 'tests/psetread.c'; then $(CYGPATH_W) 'tests/psetread.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetread.c'; fi` tests/psetreadssl-psetreadssl.o: tests/psetreadssl.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.o -MD -MP -MF "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" -c -o tests/psetreadssl-psetreadssl.o `test -f 'tests/psetreadssl.c' || echo '$(srcdir)/'`tests/psetreadssl.c; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" "tests/$(DEPDIR)/psetreadssl-psetreadssl.Po"; else rm -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.o -MD -MP -MF tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo -c -o tests/psetreadssl-psetreadssl.o `test -f 'tests/psetreadssl.c' || echo '$(srcdir)/'`tests/psetreadssl.c + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo tests/$(DEPDIR)/psetreadssl-psetreadssl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetreadssl.c' object='tests/psetreadssl-psetreadssl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetreadssl-psetreadssl.o `test -f 'tests/psetreadssl.c' || echo '$(srcdir)/'`tests/psetreadssl.c tests/psetreadssl-psetreadssl.obj: tests/psetreadssl.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.obj -MD -MP -MF "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" -c -o tests/psetreadssl-psetreadssl.obj `if test -f 'tests/psetreadssl.c'; then $(CYGPATH_W) 'tests/psetreadssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetreadssl.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" "tests/$(DEPDIR)/psetreadssl-psetreadssl.Po"; else rm -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.obj -MD -MP -MF tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo -c -o tests/psetreadssl-psetreadssl.obj `if test -f 'tests/psetreadssl.c'; then $(CYGPATH_W) 'tests/psetreadssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetreadssl.c'; fi` + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo tests/$(DEPDIR)/psetreadssl-psetreadssl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetreadssl.c' object='tests/psetreadssl-psetreadssl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetreadssl-psetreadssl.obj `if test -f 'tests/psetreadssl.c'; then $(CYGPATH_W) 'tests/psetreadssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetreadssl.c'; fi` tests/psetwrite-psetwrite.o: tests/psetwrite.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.o -MD -MP -MF "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" -c -o tests/psetwrite-psetwrite.o `test -f 'tests/psetwrite.c' || echo '$(srcdir)/'`tests/psetwrite.c; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" "tests/$(DEPDIR)/psetwrite-psetwrite.Po"; else rm -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.o -MD -MP -MF tests/$(DEPDIR)/psetwrite-psetwrite.Tpo -c -o tests/psetwrite-psetwrite.o `test -f 'tests/psetwrite.c' || echo '$(srcdir)/'`tests/psetwrite.c + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetwrite-psetwrite.Tpo tests/$(DEPDIR)/psetwrite-psetwrite.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetwrite.c' object='tests/psetwrite-psetwrite.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetwrite-psetwrite.o `test -f 'tests/psetwrite.c' || echo '$(srcdir)/'`tests/psetwrite.c tests/psetwrite-psetwrite.obj: tests/psetwrite.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.obj -MD -MP -MF "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" -c -o tests/psetwrite-psetwrite.obj `if test -f 'tests/psetwrite.c'; then $(CYGPATH_W) 'tests/psetwrite.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetwrite.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" "tests/$(DEPDIR)/psetwrite-psetwrite.Po"; else rm -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.obj -MD -MP -MF tests/$(DEPDIR)/psetwrite-psetwrite.Tpo -c -o tests/psetwrite-psetwrite.obj `if test -f 'tests/psetwrite.c'; then $(CYGPATH_W) 'tests/psetwrite.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetwrite.c'; fi` + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetwrite-psetwrite.Tpo tests/$(DEPDIR)/psetwrite-psetwrite.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetwrite.c' object='tests/psetwrite-psetwrite.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetwrite-psetwrite.obj `if test -f 'tests/psetwrite.c'; then $(CYGPATH_W) 'tests/psetwrite.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetwrite.c'; fi` tests/retrieveSIE-retrieveSIE.o: tests/retrieveSIE.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.o -MD -MP -MF "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" -c -o tests/retrieveSIE-retrieveSIE.o `test -f 'tests/retrieveSIE.c' || echo '$(srcdir)/'`tests/retrieveSIE.c; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.o -MD -MP -MF tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo -c -o tests/retrieveSIE-retrieveSIE.o `test -f 'tests/retrieveSIE.c' || echo '$(srcdir)/'`tests/retrieveSIE.c + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIE.c' object='tests/retrieveSIE-retrieveSIE.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIE-retrieveSIE.o `test -f 'tests/retrieveSIE.c' || echo '$(srcdir)/'`tests/retrieveSIE.c tests/retrieveSIE-retrieveSIE.obj: tests/retrieveSIE.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.obj -MD -MP -MF "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" -c -o tests/retrieveSIE-retrieveSIE.obj `if test -f 'tests/retrieveSIE.c'; then $(CYGPATH_W) 'tests/retrieveSIE.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIE.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.obj -MD -MP -MF tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo -c -o tests/retrieveSIE-retrieveSIE.obj `if test -f 'tests/retrieveSIE.c'; then $(CYGPATH_W) 'tests/retrieveSIE.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIE.c'; fi` + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIE.c' object='tests/retrieveSIE-retrieveSIE.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIE-retrieveSIE.obj `if test -f 'tests/retrieveSIE.c'; then $(CYGPATH_W) 'tests/retrieveSIE.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIE.c'; fi` tests/retrieveSIEssl-retrieveSIEssl.o: tests/retrieveSIEssl.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.o -MD -MP -MF "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" -c -o tests/retrieveSIEssl-retrieveSIEssl.o `test -f 'tests/retrieveSIEssl.c' || echo '$(srcdir)/'`tests/retrieveSIEssl.c; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.o -MD -MP -MF tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo -c -o tests/retrieveSIEssl-retrieveSIEssl.o `test -f 'tests/retrieveSIEssl.c' || echo '$(srcdir)/'`tests/retrieveSIEssl.c + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIEssl.c' object='tests/retrieveSIEssl-retrieveSIEssl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIEssl-retrieveSIEssl.o `test -f 'tests/retrieveSIEssl.c' || echo '$(srcdir)/'`tests/retrieveSIEssl.c tests/retrieveSIEssl-retrieveSIEssl.obj: tests/retrieveSIEssl.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.obj -MD -MP -MF "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" -c -o tests/retrieveSIEssl-retrieveSIEssl.obj `if test -f 'tests/retrieveSIEssl.c'; then $(CYGPATH_W) 'tests/retrieveSIEssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIEssl.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.obj -MD -MP -MF tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo -c -o tests/retrieveSIEssl-retrieveSIEssl.obj `if test -f 'tests/retrieveSIEssl.c'; then $(CYGPATH_W) 'tests/retrieveSIEssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIEssl.c'; fi` + at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIEssl.c' object='tests/retrieveSIEssl-retrieveSIEssl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIEssl-retrieveSIEssl.obj `if test -f 'tests/retrieveSIEssl.c'; then $(CYGPATH_W) 'tests/retrieveSIEssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIEssl.c'; fi` +.cpp.o: + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< + mostlyclean-libtool: -rm -f *.lo @@ -859,10 +927,9 @@ distclean-libtool: -rm -f libtool -uninstall-info-am: install-adminincDATA: $(admininc_DATA) @$(NORMAL_INSTALL) - test -z "$(adminincdir)" || $(mkdir_p) "$(DESTDIR)$(adminincdir)" + test -z "$(adminincdir)" || $(MKDIR_P) "$(DESTDIR)$(adminincdir)" @list='$(admininc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -879,7 +946,7 @@ done install-admsslincDATA: $(admsslinc_DATA) @$(NORMAL_INSTALL) - test -z "$(admsslincdir)" || $(mkdir_p) "$(DESTDIR)$(admsslincdir)" + test -z "$(admsslincdir)" || $(MKDIR_P) "$(DESTDIR)$(admsslincdir)" @list='$(admsslinc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -896,7 +963,7 @@ done install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -913,7 +980,7 @@ done install-pkgdataDATA: $(pkgdata_DATA) @$(NORMAL_INSTALL) - test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)" + test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" @list='$(pkgdata_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -978,9 +1045,9 @@ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags check-TESTS: $(TESTS) - @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ srcdir=$(srcdir); export srcdir; \ - list='$(TESTS)'; \ + list=' $(TESTS) '; \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ @@ -989,7 +1056,7 @@ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ - *" $$tst "*) \ + *$$ws$$tst$$ws*) \ xpass=`expr $$xpass + 1`; \ failed=`expr $$failed + 1`; \ echo "XPASS: $$tst"; \ @@ -1001,7 +1068,7 @@ elif test $$? -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ - *" $$tst "*) \ + *$$ws$$tst$$ws*) \ xfail=`expr $$xfail + 1`; \ echo "XFAIL: $$tst"; \ ;; \ @@ -1052,24 +1119,22 @@ distdir: $(DISTFILES) $(am__remove_distdir) - mkdir $(distdir) - $(mkdir_p) $(distdir)/. $(distdir)/lib/libadminutil $(distdir)/m4 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -1083,7 +1148,7 @@ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz @@ -1158,7 +1223,7 @@ $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ @@ -1181,10 +1246,10 @@ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am -all-am: Makefile $(LTLIBRARIES) $(DATA) +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(adminincdir)" "$(DESTDIR)$(admsslincdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgdatadir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am @@ -1206,6 +1271,8 @@ distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -rm -f lib/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/$(am__dirstamp) -rm -f lib/libadminutil/$(DEPDIR)/$(am__dirstamp) -rm -f lib/libadminutil/$(am__dirstamp) -rm -f lib/libadmsslutil/$(DEPDIR)/$(am__dirstamp) @@ -1219,11 +1286,11 @@ clean: clean-am clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \ - clean-libtool mostlyclean-am + clean-libtool clean-noinstPROGRAMS mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf lib/libadminutil/$(DEPDIR) lib/libadmsslutil/$(DEPDIR) tests/$(DEPDIR) + -rm -rf lib/$(DEPDIR) lib/libadminutil/$(DEPDIR) lib/libadmsslutil/$(DEPDIR) tests/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags @@ -1241,18 +1308,26 @@ install-data-am: install-adminincDATA install-admsslincDATA \ install-pkgconfigDATA install-pkgdataDATA +install-dvi: install-dvi-am + install-exec-am: install-libLTLIBRARIES +install-html: install-html-am + install-info: install-info-am install-man: +install-pdf: install-pdf-am + +install-ps: install-ps-am + installcheck-am: maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf lib/libadminutil/$(DEPDIR) lib/libadmsslutil/$(DEPDIR) tests/$(DEPDIR) + -rm -rf lib/$(DEPDIR) lib/libadminutil/$(DEPDIR) lib/libadmsslutil/$(DEPDIR) tests/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -1270,26 +1345,30 @@ ps-am: uninstall-am: uninstall-adminincDATA uninstall-admsslincDATA \ - uninstall-info-am uninstall-libLTLIBRARIES \ - uninstall-pkgconfigDATA uninstall-pkgdataDATA + uninstall-libLTLIBRARIES uninstall-pkgconfigDATA \ + uninstall-pkgdataDATA + +.MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am am--refresh check check-TESTS check-am \ clean clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \ - clean-libtool ctags dist dist-all dist-bzip2 dist-gzip \ - dist-shar dist-tarZ dist-zip distcheck distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distcleancheck distdir distuninstallcheck dvi \ - dvi-am html html-am info info-am install install-adminincDATA \ - install-admsslincDATA install-am install-data install-data-am \ - install-exec install-exec-am install-info install-info-am \ - install-libLTLIBRARIES install-man install-pkgconfigDATA \ - install-pkgdataDATA install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ - uninstall-adminincDATA uninstall-admsslincDATA uninstall-am \ - uninstall-info-am uninstall-libLTLIBRARIES \ - uninstall-pkgconfigDATA uninstall-pkgdataDATA + clean-libtool clean-noinstPROGRAMS ctags dist dist-all \ + dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-adminincDATA install-admsslincDATA install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-libLTLIBRARIES \ + install-man install-pdf install-pdf-am install-pkgconfigDATA \ + install-pkgdataDATA install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-adminincDATA uninstall-admsslincDATA \ + uninstall-am uninstall-libLTLIBRARIES uninstall-pkgconfigDATA \ + uninstall-pkgdataDATA #//////////////////////////////////////////////////////////////// From fedora-directory-commits at redhat.com Thu Jun 21 21:32:59 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 17:32:59 -0400 Subject: [Fedora-directory-commits] mod_admserv dummy.cpp, NONE, 1.1 Makefile.am, 1.16, 1.17 configure.in, 1.21, 1.22 aclocal.m4, 1.15, 1.16 configure, 1.25, 1.26 mkinstalldirs, 1.6, 1.7 missing, 1.6, 1.7 install-sh, 1.6, 1.7 depcomp, 1.6, 1.7 config.sub, 1.6, 1.7 config.guess, 1.6, 1.7 Makefile.in, 1.23, 1.24 Message-ID: <200706212132.l5LLWxbT024565@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/mod_admserv In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24345/mod_admserv Modified Files: Makefile.am configure.in aclocal.m4 configure mkinstalldirs missing install-sh depcomp config.sub config.guess Makefile.in Added Files: dummy.cpp Log Message: Resolves: bug 245212 Bug Description: mod_admserv: Solaris port for 1.1 Reviewed by: nkinder (Thanks!) Fix Description: There are several problems with building/running mod_admserv on Solaris. The biggest is that ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. However, automake will only generate this macro if it detects a C++ source file in Makefile.am. So, we have to introduce a dummy.cpp file to force automake to generate the CXXLINK macro, then use that to link the module. I also added some support for Fortitude, although this will be handled by adminserver when building mod_admserv as part of adminserver. Platforms tested: Solaris 9 64bit Flag Day: no Doc impact: no --- NEW FILE dummy.cpp --- // this is just a dummy // C++ program to make automake define // the macro CXXLINK int main(int argc, char *argv[]) { int ii = 1; int jj = ii; } Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/mod_admserv/Makefile.am,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Makefile.am 11 May 2007 19:46:36 -0000 1.16 +++ Makefile.am 21 Jun 2007 21:32:56 -0000 1.17 @@ -2,19 +2,28 @@ # relative to libdir - apxs will ignore this though moddir = $(libdir)@moddir@ +LIBCSTD=@LIBCSTD@ +LIBCRUN=@LIBCRUN@ + +# this is just a dummy to make automake define +# the CXXLINK macro +if CXXLINK_REQUIRED +noinst_PROGRAMS = dummy +dummy_SOURCES = dummy.cpp +dummy_LINK = $(CXXLINK) +endif + ## This is the shared library to be built mod_LTLIBRARIES = mod_admserv.la ## Define the source file for the module mod_admserv_la_SOURCES = mod_admserv.c +mod_admserv_la_CPPFLAGS = $(AM_CPPFLAGS) -I at apache_inc@ @apr_inc@ @adminutil_inc@ @nspr_inc@ @ldapsdk_inc@ @nss_inc@ @extra_cppflags@ mod_admserv_la_LDFLAGS = -module -avoid-version - -## Set the includes and libraries needed -INCLUDES = -I at apache_inc@ @apr_inc@ @adminutil_inc@ @nspr_inc@ @ldapsdk_inc@ @nss_inc@ - -LIBS = @adminutil_lib@ -ladminutil at adminutil_ver@ -ladmsslutil at adminutil_ver@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap at ldapsdk_ver@ -lprldap at ldapsdk_ver@ -lldap at ldapsdk_ver@ @nss_lib@ -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 - -EXTRA_CPPFLAGS=@extra_cppflags@ +mod_admserv_la_LIBADD = @adminutil_lib@ -ladminutil at adminutil_ver@ -ladmsslutil at adminutil_ver@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap at ldapsdk_ver@ -lprldap at ldapsdk_ver@ -lldap at ldapsdk_ver@ @nss_lib@ -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBCSTD) $(LIBCRUN) +if CXXLINK_REQUIRED +mod_admserv_la_LINK = $(CXXLINK) $(mod_admserv_la_LDFLAGS) +endif # if this module is being built as part of adminserver, # just do the regular install - otherwise, if standalone, @@ -23,10 +32,3 @@ install-libLTLIBRARIES: mod_admserv.la @APXS@ -i -a -n admserv mod_admserv.la endif - -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) $(EXTRA_CPPFLAGS) - -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ Index: configure.in =================================================================== RCS file: /cvs/dirsec/mod_admserv/configure.in,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- configure.in 17 May 2007 16:04:19 -0000 1.21 +++ configure.in 21 Jun 2007 21:32:56 -0000 1.22 @@ -17,6 +17,39 @@ # Check for typedefs, structures, and compiler characteristics. AC_C_CONST +CXXLINK_REQUIRED=0 +# Deal with platform dependent defines +case $host in + *-*-linux*) + platform_defs="-DXP_UNIX" + platform="linux" + ;; + ia64-hp-hpux*) + platform_defs="-DXP_UNIX" + platform="hpux" + ;; + hppa*-hp-hpux*) + platform_defs="-DXP_UNIX" + platform="hpux" + ;; + sparc-sun-solaris*) + platform_defs="-DXP_UNIX" + platform="solaris" +dnl Cstd and Crun are required to link any C++ related code (ICU) + LIBCSTD=-lCstd + AC_SUBST([LIBCSTD], [$LIBCSTD]) + LIBCRUN=-lCrun + AC_SUBST([LIBCRUN], [$LIBCRUN]) + CXXLINK_REQUIRED=1 + ;; + *) + platform_defs="" + platform="" + ;; +esac +AC_SUBST([platform_defs]) +AM_CONDITIONAL(CXXLINK_REQUIRED,test "$CXXLINK_REQUIRED" = 1) + AC_CHECKING(for apr-config) # check for --with-apr-config AC_MSG_CHECKING(for --with-apr-config) @@ -32,7 +65,7 @@ if test -z "$APR_CONFIG" ; then AC_MSG_CHECKING(for apr-1-config and apr-config) - AC_PATH_PROGS(APR_CONFIG, apr-1-config apr-config, NO_APR_CONFIG, [$PATH:/usr/local/apache/sbin:/usr/sbin]) + AC_PATH_PROGS(APR_CONFIG, apr-1-config apr-config, NO_APR_CONFIG, [$PATH:/opt/fortitude/bin:/usr/local/apache/sbin:/usr/sbin]) fi if test -n "$APR_CONFIG"; then @@ -62,8 +95,8 @@ # if no apxs found yet, check /usr/local/apache/sbin # since it's the default Apache location if test -z "$APXS"; then - AC_MSG_CHECKING(for apxs in /usr/local/apache/sbin and /usr/sbin) - AC_PATH_PROG(APXS, apxs, NO_APXS, [/usr/local/apache/sbin:/usr/sbin:$PATH]) + AC_MSG_CHECKING(for apxs in /opt/fortitude/sbin /usr/local/apache/sbin and /usr/sbin) + AC_PATH_PROG(APXS, apxs, NO_APXS, [/opt/fortitude/sbin:/usr/local/apache/sbin:/usr/sbin:$PATH]) if test -x $APXS; then AC_MSG_RESULT([found $APXS. Use --with-apxs to specify another.]) else Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/mod_admserv/aclocal.m4,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- aclocal.m4 17 May 2007 16:04:19 -0000 1.15 +++ aclocal.m4 21 Jun 2007 21:32:56 -0000 1.16 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.9.6 -*- Autoconf -*- +# generated automatically by aclocal 1.10 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005 Free Software Foundation, Inc. +# 2005, 2006 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,6 +11,11 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_if(m4_PACKAGE_VERSION, [2.60],, +[m4_fatal([this file was generated for autoconf 2.60. +You have another version of autoconf. If you want to use that, +you should regenerate the build system entirely.], [63])]) + # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 AC_PROG_LIBTOOL @@ -1578,27 +1583,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4293,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4426,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4442,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4522,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6358,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,11 +6390,10 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6420,14 +6403,29 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.10' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.10], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.6])]) +[AM_AUTOMAKE_VERSION([1.10])dnl +_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- @@ -6484,14 +6482,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 7 +# serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -6500,8 +6498,10 @@ [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE]) -AC_SUBST([$1_FALSE]) +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' @@ -6515,15 +6515,14 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -6551,6 +6550,7 @@ ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) @@ -6616,6 +6616,7 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -6668,7 +6669,8 @@ AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- @@ -6693,8 +6695,9 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue @@ -6741,8 +6744,8 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6765,16 +6768,20 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.58])dnl +[AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi fi # test whether we have cygpath @@ -6794,6 +6801,9 @@ AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl @@ -6829,6 +6839,10 @@ [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) @@ -6864,7 +6878,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"$am_aux_dir/install-sh"} +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -6942,14 +6956,14 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 +# serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -6965,6 +6979,7 @@ # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then @@ -6975,7 +6990,7 @@ fi ]) -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6983,60 +6998,23 @@ # AM_PROG_MKDIR_P # --------------- -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. -# -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories -# created by `make install' are always world readable, even if the -# installer happens to have an overly restrictive umask (e.g. 077). -# This was a mistake. There are at least two reasons why we must not -# use `-m 0755': -# - it causes special bits like SGID to be ignored, -# - it may be too restrictive (some setups expect 775 directories). -# -# Do not use -m 0755 and let people choose whatever they expect by -# setting umask. -# -# We cannot accept any implementation of `mkdir' that recognizes `-p'. -# Some implementations (such as Solaris 8's) are not thread-safe: if a -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' -# concurrently, both version can detect that a/ is missing, but only -# one can create it and the other will error out. Consequently we -# restrict ourselves to GNU make (using the --version option ensures -# this.) +# Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else - mkdir_p='$(install_sh) -d' - fi -fi -AC_SUBST([mkdir_p])]) +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) # Helper functions for option handling. -*- Autoconf -*- @@ -7148,9 +7126,21 @@ if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.25 -r 1.26 configure Index: configure =================================================================== RCS file: /cvs/dirsec/mod_admserv/configure,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- configure 17 May 2007 16:04:19 -0000 1.25 +++ configure 21 Jun 2007 21:32:56 -0000 1.26 @@ -1,8 +1,9 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for mod_admserv 1.0. +# Generated by GNU Autoconf 2.60 for mod_admserv 1.0. # -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -16,11 +17,35 @@ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi +BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset @@ -29,8 +54,43 @@ fi +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + # Work around bugs in pre-3.0 UWIN ksh. -$as_unset ENV MAIL MAILPATH +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done PS1='$ ' PS2='> ' PS4='+ ' @@ -44,18 +104,19 @@ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else - $as_unset $as_var + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1; then +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false @@ -63,157 +124,386 @@ # Name of the executable. -as_me=`$as_basename "$0" || +as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || + X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` +# CDPATH. +$as_unset CDPATH -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh +if test "x$CONFIG_SHELL" = x; then + if (eval ":") 2>/dev/null; then + as_have_required=yes +else + as_have_required=no +fi + + if test $as_have_required = yes && (eval ": +(as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 [...11623 lines suppressed...] - case "$ac_dir" in - .) ac_abs_builddir=`pwd`;; - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; - *) ac_abs_builddir=`pwd`/"$ac_dir";; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_builddir=${ac_top_builddir}.;; -*) - case ${ac_top_builddir}. in - .) ac_abs_top_builddir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_srcdir=$ac_srcdir;; -*) - case $ac_srcdir in - .) ac_abs_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_srcdir=$ac_top_srcdir;; -*) - case $ac_top_srcdir in - .) ac_abs_top_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; - esac;; -esac + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 +echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 -echo "$as_me: executing $ac_dest commands" >&6;} - case $ac_dest in - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. @@ -21109,20 +22347,32 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`(dirname "$mf") 2>/dev/null || + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$mf" : 'X\(/\)' \| . 2>/dev/null || echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` else continue fi @@ -21144,53 +22394,79 @@ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue - fdir=`(dirname "$file") 2>/dev/null || + fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - { if $as_mkdir_p; then - mkdir -p $dirpart/$fdir - else - as_dir=$dirpart/$fdir + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir=$dirpart/$fdir + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= - while test ! -d "$as_dir"; do - as_dirs="$as_dir $as_dirs" - as_dir=`(dirname "$as_dir") 2>/dev/null || + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break done - test ! -n "$as_dirs" || mkdir $as_dirs - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; + esac -done -_ACEOF +done # for ac_tag -cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF Index: mkinstalldirs =================================================================== RCS file: /cvs/dirsec/mod_admserv/mkinstalldirs,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- mkinstalldirs 17 May 2007 16:04:19 -0000 1.6 +++ mkinstalldirs 21 Jun 2007 21:32:56 -0000 1.7 @@ -1,7 +1,7 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -scriptversion=2005-06-29.22 +scriptversion=2006-05-11.19 # Original author: Noah Friedman # Created: 1993-05-16 @@ -11,6 +11,9 @@ # bugs to or send patches to # . +nl=' +' +IFS=" "" $nl" errstatus=0 dirmode= Index: missing =================================================================== RCS file: /cvs/dirsec/mod_admserv/missing,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- missing 17 May 2007 16:04:19 -0000 1.6 +++ missing 21 Jun 2007 21:32:56 -0000 1.7 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-06-08.21 +scriptversion=2006-05-10.23 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -33,6 +33,8 @@ fi run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -44,7 +46,7 @@ msg="missing on your system" -case "$1" in +case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -77,6 +79,7 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -106,7 +109,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case "$1" in +case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -135,7 +138,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case "$1" in +case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -164,7 +167,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case "$f" in + case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -192,8 +195,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else @@ -214,25 +217,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if [ ! -f y.tab.h ]; then + if test ! -f y.tab.h; then echo >y.tab.h fi - if [ ! -f y.tab.c ]; then + if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -244,18 +247,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if [ ! -f lex.yy.c ]; then + if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -267,11 +270,9 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then touch $file else test -z "$file" || exec >$file @@ -289,11 +290,17 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -317,13 +324,13 @@ fi firstarg="$1" if shift; then - case "$firstarg" in + case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case "$firstarg" in + case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 Index: install-sh =================================================================== RCS file: /cvs/dirsec/mod_admserv/install-sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- install-sh 17 May 2007 16:04:19 -0000 1.6 +++ install-sh 21 Jun 2007 21:32:56 -0000 1.7 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2005-05-14.22 +scriptversion=2006-10-14.15 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -39,15 +39,24 @@ # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. +# from scratch. + +nl=' +' +IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi -# put in absolute paths if you don't have them in your path; or use env. vars. +# Put in absolute file names if you don't have them in your path; +# or use environment vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" @@ -58,7 +67,13 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -chmodcmd="$chmodprog 0755" +posix_glob= +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chmodcmd=$chmodprog chowncmd= chgrpcmd= stripcmd= @@ -95,7 +110,7 @@ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " -while test -n "$1"; do +while test $# -ne 0; do case $1 in -c) shift continue;; @@ -111,9 +126,15 @@ --help) echo "$usage"; exit $?;; - -m) chmodcmd="$chmodprog $2" + -m) mode=$2 shift shift + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac continue;; -o) chowncmd="$chownprog $2" @@ -136,25 +157,33 @@ --version) echo "$0 $scriptversion"; exit $?;; - *) # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - test -n "$dir_arg$dstarg" && break - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done + --) shift break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; esac done -if test -z "$1"; then +if test $# -ne 0 && test -z "$dir_arg$dstarg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done +fi + +if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 @@ -164,6 +193,33 @@ exit 0 fi +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + for src do # Protect names starting with `-'. @@ -173,15 +229,11 @@ if test -n "$dir_arg"; then dst=$src - src= - - if test -d "$dst"; then - mkdircmd=: - chmodcmd= - else - mkdircmd=$mkdirprog - fi + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. @@ -208,53 +260,188 @@ echo "$0: $dstarg: Is a directory" >&2 exit 1 fi - dst=$dst/`basename "$src"` + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? fi fi - # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - - # Make sure that the destination directory exists. + obsolete_mkdir_used=false - # Skip lots of stat calls in the usual case. - if test ! -d "$dstdir"; then - defaultIFS=' - ' - IFS="${IFS-$defaultIFS}" - - oIFS=$IFS - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` - shift - IFS=$oIFS + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac - pathcomp= + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else - while test $# -ne 0 ; do - pathcomp=$pathcomp$1 + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix=/ ;; + -*) prefix=./ ;; + *) prefix= ;; + esac + + case $posix_glob in + '') + if (set -f) 2>/dev/null; then + posix_glob=true + else + posix_glob=false + fi ;; + esac + + oIFS=$IFS + IFS=/ + $posix_glob && set -f + set fnord $dstdir shift - if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" - # mkdir can fail with a `File exist' error in case several - # install-sh are creating the directory concurrently. This - # is OK. - test -d "$pathcomp" || exit + $posix_glob && set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true fi - pathcomp=$pathcomp/ - done + fi fi if test -n "$dir_arg"; then - $doit $mkdircmd "$dst" \ - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } - + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else - dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ @@ -262,10 +449,9 @@ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. - $doit $cpprog "$src" "$dsttmp" && + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # @@ -276,10 +462,10 @@ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ + { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not @@ -291,11 +477,12 @@ # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { - if test -f "$dstdir/$dstfile"; then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + if test -f "$dst"; then + $doit $rmcmd -f "$dst" 2>/dev/null \ + || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ + && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ || { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } else @@ -304,16 +491,13 @@ } && # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + $doit $mvcmd "$dsttmp" "$dst" } - } - fi || { (exit 1); exit 1; } -done + } || exit 1 -# The final little trick to "correctly" pass the exit status to the exit trap. -{ - (exit 0); exit 0 -} + trap '' 0 + fi +done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) Index: depcomp =================================================================== RCS file: /cvs/dirsec/mod_admserv/depcomp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- depcomp 17 May 2007 16:04:19 -0000 1.6 +++ depcomp 21 Jun 2007 21:32:56 -0000 1.7 @@ -1,9 +1,10 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2005-07-09.11 +scriptversion=2006-10-15.18 -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -91,7 +92,20 @@ ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" stat=$? if test $stat -eq 0; then : else @@ -276,6 +290,46 @@ rm -f "$tmpdepfile" ;; +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -288,13 +342,13 @@ if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mecanism is used in libtool 1.4 series to + # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in in $dir.libs/$base.o.d and + # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is Index: config.sub =================================================================== RCS file: /cvs/dirsec/mod_admserv/config.sub,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- config.sub 17 May 2007 16:04:19 -0000 1.6 +++ config.sub 21 Jun 2007 21:32:56 -0000 1.7 @@ -1,9 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-07-08' +timestamp='2006-09-20' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -119,8 +120,9 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -171,6 +173,10 @@ -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -187,6 +193,10 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -231,7 +241,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -239,7 +249,8 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -257,28 +268,27 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ - | ms1 \ + | mt \ | msp430 \ + | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | score \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; - m32c) - basic_machine=$basic_machine-unknown - ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -286,6 +296,9 @@ ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; + ms1) + basic_machine=mt-unknown + ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -305,7 +318,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ + | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -316,7 +329,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ + | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -336,31 +349,30 @@ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ - | ms1-* \ + | mt-* \ | msp430-* \ + | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; - m32c-*) - ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -696,6 +708,9 @@ basic_machine=i386-pc os=-msdos ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; mvs) basic_machine=i370-ibm os=-mvs @@ -803,6 +818,12 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -859,6 +880,10 @@ basic_machine=i586-unknown os=-pw32 ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -885,6 +910,10 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; sei) basic_machine=mips-sei os=-seiux @@ -1101,7 +1130,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b) + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) @@ -1174,21 +1203,23 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku*) + | -skyos* | -haiku* | -rdos* | -toppers*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1340,6 +1371,12 @@ # system, and we'll never get to this point. case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; @@ -1349,9 +1386,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 Index: config.guess =================================================================== RCS file: /cvs/dirsec/mod_admserv/config.guess,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- config.guess 17 May 2007 16:04:19 -0000 1.6 +++ config.guess 21 Jun 2007 21:32:56 -0000 1.7 @@ -1,9 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-07-08' +timestamp='2006-07-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -106,7 +107,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -206,8 +207,11 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; macppc:MirBSD:*:*) - echo powerppc-unknown-mirbsd${UNAME_RELEASE} + echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -764,7 +768,14 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -779,8 +790,11 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[34]*) - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + x86:Interix*:[3456]*) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T:Interix*:[3456]*) + echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -794,7 +808,7 @@ i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; - amd64:CYGWIN*:*:*) + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) @@ -817,6 +831,9 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -851,7 +868,11 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -870,9 +891,16 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; @@ -916,6 +944,9 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; @@ -961,7 +992,7 @@ LIBC=gnulibc1 # endif #else - #ifdef __INTEL_COMPILER + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout @@ -971,7 +1002,11 @@ LIBC=dietlibc #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1182,7 +1217,6 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in - *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1261,6 +1295,9 @@ i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/mod_admserv/Makefile.in,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- Makefile.in 17 May 2007 16:04:19 -0000 1.23 +++ Makefile.in 21 Jun 2007 21:32:56 -0000 1.24 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. +# Makefile.in generated by automake 1.10 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -14,15 +14,12 @@ @SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ + VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -36,17 +33,18 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ + at CXXLINK_REQUIRED_TRUE@noinst_PROGRAMS = dummy$(EXEEXT) +subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure ChangeLog \ config.guess config.sub depcomp install-sh ltmain.sh missing \ mkinstalldirs -subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno configure.status.lineno + configure.lineno config.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; @@ -58,17 +56,39 @@ am__installdirs = "$(DESTDIR)$(moddir)" modLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(mod_LTLIBRARIES) -mod_admserv_la_LIBADD = -am_mod_admserv_la_OBJECTS = mod_admserv.lo +am__DEPENDENCIES_1 = +mod_admserv_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +am_mod_admserv_la_OBJECTS = mod_admserv_la-mod_admserv.lo mod_admserv_la_OBJECTS = $(am_mod_admserv_la_OBJECTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) +PROGRAMS = $(noinst_PROGRAMS) +am__dummy_SOURCES_DIST = dummy.cpp + at CXXLINK_REQUIRED_TRUE@am_dummy_OBJECTS = dummy.$(OBJEXT) +dummy_OBJECTS = $(am_dummy_OBJECTS) +dummy_LDADD = $(LDADD) +DEFAULT_INCLUDES = -I. at am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -SOURCES = $(mod_admserv_la_SOURCES) -DIST_SOURCES = $(mod_admserv_la_SOURCES) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(mod_admserv_la_SOURCES) $(dummy_SOURCES) +DIST_SOURCES = $(mod_admserv_la_SOURCES) $(am__dummy_SOURCES_DIST) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -83,8 +103,6 @@ distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ APR_CONFIG = @APR_CONFIG@ APXS = @APXS@ @@ -113,20 +131,23 @@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ -HAVE_ADMINSERVER_FALSE = @HAVE_ADMINSERVER_FALSE@ -HAVE_ADMINSERVER_TRUE = @HAVE_ADMINSERVER_TRUE@ +GREP = @GREP@ ICU_CONFIG = @ICU_CONFIG@ +INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ +LIBCRUN = @LIBCRUN@ +LIBCSTD = @LIBCSTD@ LIBOBJS = @LIBOBJS@ -LIBS = @adminutil_lib@ -ladminutil at adminutil_ver@ -ladmsslutil at adminutil_ver@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap at ldapsdk_ver@ -lprldap at ldapsdk_ver@ -lldap at ldapsdk_ver@ @nss_lib@ -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 +LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -137,24 +158,20 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ -ac_ct_AR = @ac_ct_AR@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ adminutil_inc = @adminutil_inc@ adminutil_lib = @adminutil_lib@ adminutil_ver = @adminutil_ver@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -171,7 +188,11 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +builddir = @builddir@ datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ exec_prefix = @exec_prefix@ extra_cppflags = @extra_cppflags@ host = @host@ @@ -179,6 +200,7 @@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ +htmldir = @htmldir@ icu_lib = @icu_lib@ includedir = @includedir@ infodir = @infodir@ @@ -188,6 +210,7 @@ ldapsdk_ver = @ldapsdk_ver@ libdir = @libdir@ libexecdir = @libexecdir@ +localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ @@ -200,28 +223,30 @@ nss_inc = @nss_inc@ nss_lib = @nss_lib@ oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +platform_defs = @platform_defs@ prefix = @prefix@ program_transform_name = @program_transform_name@ +psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + at CXXLINK_REQUIRED_TRUE@dummy_SOURCES = dummy.cpp + at CXXLINK_REQUIRED_TRUE@dummy_LINK = $(CXXLINK) mod_LTLIBRARIES = mod_admserv.la mod_admserv_la_SOURCES = mod_admserv.c +mod_admserv_la_CPPFLAGS = $(AM_CPPFLAGS) -I at apache_inc@ @apr_inc@ @adminutil_inc@ @nspr_inc@ @ldapsdk_inc@ @nss_inc@ @extra_cppflags@ mod_admserv_la_LDFLAGS = -module -avoid-version -INCLUDES = -I at apache_inc@ @apr_inc@ @adminutil_inc@ @nspr_inc@ @ldapsdk_inc@ @nss_inc@ -EXTRA_CPPFLAGS = @extra_cppflags@ -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) $(EXTRA_CPPFLAGS) - -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ - +mod_admserv_la_LIBADD = @adminutil_lib@ -ladminutil at adminutil_ver@ -ladmsslutil at adminutil_ver@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap at ldapsdk_ver@ -lprldap at ldapsdk_ver@ -lldap at ldapsdk_ver@ @nss_lib@ -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBCSTD) $(LIBCRUN) + at CXXLINK_REQUIRED_TRUE@mod_admserv_la_LINK = $(CXXLINK) $(mod_admserv_la_LDFLAGS) all: all-am .SUFFIXES: -.SUFFIXES: .c .lo .o .obj +.SUFFIXES: .c .cpp .lo .o .obj am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @@ -257,7 +282,7 @@ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) install-modLTLIBRARIES: $(mod_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(moddir)" || $(mkdir_p) "$(DESTDIR)$(moddir)" + test -z "$(moddir)" || $(MKDIR_P) "$(DESTDIR)$(moddir)" @list='$(mod_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ @@ -268,7 +293,7 @@ uninstall-modLTLIBRARIES: @$(NORMAL_UNINSTALL) - @set -x; list='$(mod_LTLIBRARIES)'; for p in $$list; do \ + @list='$(mod_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(moddir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(moddir)/$$p"; \ @@ -283,7 +308,17 @@ rm -f "$${dir}/so_locations"; \ done mod_admserv.la: $(mod_admserv_la_OBJECTS) $(mod_admserv_la_DEPENDENCIES) - $(LINK) -rpath $(moddir) $(mod_admserv_la_LDFLAGS) $(mod_admserv_la_OBJECTS) $(mod_admserv_la_LIBADD) $(LIBS) + $(mod_admserv_la_LINK) -rpath $(moddir) $(mod_admserv_la_OBJECTS) $(mod_admserv_la_LIBADD) $(LIBS) + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) + @rm -f dummy$(EXEEXT) + $(dummy_LINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -291,29 +326,58 @@ distclean-compile: -rm -f *.tab.c - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mod_admserv.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dummy.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mod_admserv_la-mod_admserv.Plo at am__quote@ .c.o: - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ - at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ - at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ - at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +mod_admserv_la-mod_admserv.lo: mod_admserv.c + at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mod_admserv_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mod_admserv_la-mod_admserv.lo -MD -MP -MF $(DEPDIR)/mod_admserv_la-mod_admserv.Tpo -c -o mod_admserv_la-mod_admserv.lo `test -f 'mod_admserv.c' || echo '$(srcdir)/'`mod_admserv.c + at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/mod_admserv_la-mod_admserv.Tpo $(DEPDIR)/mod_admserv_la-mod_admserv.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mod_admserv.c' object='mod_admserv_la-mod_admserv.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mod_admserv_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mod_admserv_la-mod_admserv.lo `test -f 'mod_admserv.c' || echo '$(srcdir)/'`mod_admserv.c + +.cpp.o: + at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: + at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: + at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< + mostlyclean-libtool: -rm -f *.lo @@ -322,7 +386,6 @@ distclean-libtool: -rm -f libtool -uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -374,23 +437,22 @@ distdir: $(DISTFILES) $(am__remove_distdir) - mkdir $(distdir) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -404,7 +466,7 @@ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz @@ -479,7 +541,7 @@ $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ @@ -500,10 +562,10 @@ exit 1; } >&2 check-am: all-am check: check-am -all-am: Makefile $(LTLIBRARIES) +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(moddir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am @@ -532,7 +594,7 @@ clean: clean-am clean-am: clean-generic clean-libtool clean-modLTLIBRARIES \ - mostlyclean-am + clean-noinstPROGRAMS mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) @@ -553,12 +615,20 @@ install-data-am: install-modLTLIBRARIES +install-dvi: install-dvi-am + install-exec-am: +install-html: install-html-am + install-info: install-info-am install-man: +install-pdf: install-pdf-am + +install-ps: install-ps-am + installcheck-am: maintainer-clean: maintainer-clean-am @@ -581,22 +651,26 @@ ps-am: -uninstall-am: uninstall-info-am uninstall-modLTLIBRARIES +uninstall-am: uninstall-modLTLIBRARIES + +.MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ - clean-generic clean-libtool clean-modLTLIBRARIES ctags dist \ - dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \ - distcheck distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am install-man \ - install-modLTLIBRARIES install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-info-am \ - uninstall-modLTLIBRARIES + clean-generic clean-libtool clean-modLTLIBRARIES \ + clean-noinstPROGRAMS ctags dist dist-all dist-bzip2 dist-gzip \ + dist-shar dist-tarZ dist-zip distcheck distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man \ + install-modLTLIBRARIES install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-modLTLIBRARIES # if this module is being built as part of adminserver, From fedora-directory-commits at redhat.com Thu Jun 21 21:57:25 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Thu, 21 Jun 2007 17:57:25 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src slapd.inf.in, 1.1, 1.2 Message-ID: <200706212157.l5LLvPhV027228@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26904/ldap/admin/src Modified Files: slapd.inf.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #8, #9) Description: 1) Introducing BaseVersion (*.inf files) via PACKAGE_BASE_VERSION (configure.ac) to generate #.# format version number from #.#.#. The #.# format version number is used in the jar file names 2) Updated Util.pm.in to include ACIs to the search result. Index: slapd.inf.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/slapd.inf.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- slapd.inf.in 20 Jun 2007 22:08:39 -0000 1.1 +++ slapd.inf.in 21 Jun 2007 21:57:23 -0000 1.2 @@ -46,6 +46,7 @@ InstanceNamePrefix= Directory Server NickName= slapd Version= @PACKAGE_VERSION@ +BaseVersion= @PACKAGE_BASE_VERSION@ Compatible= 1.0 BuildNumber= @NQBUILD_NUM@ Description= @capbrand@ Directory Server From fedora-directory-commits at redhat.com Thu Jun 21 21:57:25 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Thu, 21 Jun 2007 17:57:25 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Util.pm.in, 1.2, 1.3 Message-ID: <200706212157.l5LLvPlp027232@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26904/ldap/admin/src/scripts Modified Files: Util.pm.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #8, #9) Description: 1) Introducing BaseVersion (*.inf files) via PACKAGE_BASE_VERSION (configure.ac) to generate #.# format version number from #.#.#. The #.# format version number is used in the jar file names 2) Updated Util.pm.in to include ACIs to the search result. Index: Util.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Util.pm.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Util.pm.in 20 Jun 2007 23:52:46 -0000 1.2 +++ Util.pm.in 21 Jun 2007 21:57:23 -0000 1.3 @@ -216,7 +216,7 @@ my $fresh = $context->[1]; my $verbose = $context->[2]; my @ctypes = $aentry->getValues("changetype"); - my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)"); + my $sentry = $conn->search($aentry->{dn}, "base", "(objectclass=*)", 0, ("*", "aci")); do { my $needtoadd; From fedora-directory-commits at redhat.com Thu Jun 21 21:57:25 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Thu, 21 Jun 2007 17:57:25 -0400 Subject: [Fedora-directory-commits] ldapserver Makefile.am, 1.45, 1.46 configure.ac, 1.32, 1.33 Makefile.in, 1.54, 1.55 aclocal.m4, 1.37, 1.38 configure, 1.48, 1.49 Message-ID: <200706212157.l5LLvPYm027223@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26904 Modified Files: Makefile.am configure.ac Makefile.in aclocal.m4 configure Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #8, #9) Description: 1) Introducing BaseVersion (*.inf files) via PACKAGE_BASE_VERSION (configure.ac) to generate #.# format version number from #.#.#. The #.# format version number is used in the jar file names 2) Updated Util.pm.in to include ACIs to the search result. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.am,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- Makefile.am 20 Jun 2007 22:08:38 -0000 1.45 +++ Makefile.am 21 Jun 2007 21:57:22 -0000 1.46 @@ -1037,6 +1037,7 @@ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at PACKAGE_BASE_VERSION\@,$(PACKAGE_BASE_VERSION),g' \ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ -e 's, at perldir\@,$(perldir),g' \ @@ -1072,6 +1073,7 @@ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at PACKAGE_BASE_VERSION\@,$(PACKAGE_BASE_VERSION),g' \ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ -e 's, at perldir\@,$(perldir),g' \ Index: configure.ac =================================================================== RCS file: /cvs/dirsec/ldapserver/configure.ac,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- configure.ac 19 Jun 2007 18:24:57 -0000 1.32 +++ configure.ac 21 Jun 2007 21:57:22 -0000 1.33 @@ -321,6 +321,9 @@ m4_include(m4/icu.m4) m4_include(m4/netsnmp.m4) +PACKAGE_BASE_VERSION=`echo $PACKAGE_VERSION | awk -F\. '{print $1"."$2}'` +AC_SUBST(PACKAGE_BASE_VERSION) + # write out paths for binary components AC_SUBST(nspr_inc) AC_SUBST(nspr_lib) @@ -358,7 +361,6 @@ AC_DEFINE([LDAP_DEBUG], [1], [LDAP debug flag]) AC_DEFINE([LDAP_DONT_USE_SMARTHEAP], [1], [Don't use smartheap]) - # libtool on fedora/rhel contains some gcc-isms which cause problems # if not using gcc (e.g. Forte on Solaris, aCC on HP-UX) # we remove them here Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/ldapserver/Makefile.in,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- Makefile.in 20 Jun 2007 22:08:38 -0000 1.54 +++ Makefile.in 21 Jun 2007 21:57:22 -0000 1.55 @@ -868,6 +868,7 @@ NETSNMP_CONFIG = @NETSNMP_CONFIG@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BASE_VERSION = @PACKAGE_BASE_VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ @@ -876,7 +877,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SOLARIS_FALSE = @SOLARIS_FALSE@ @@ -1932,6 +1932,7 @@ @BUNDLE_FALSE@ -e 's, at capbrand\@,$(capbrand),g' \ @BUNDLE_FALSE@ -e 's, at vendor\@,$(vendor),g' \ @BUNDLE_FALSE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + at BUNDLE_FALSE@ -e 's, at PACKAGE_BASE_VERSION\@,$(PACKAGE_BASE_VERSION),g' \ @BUNDLE_FALSE@ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ @BUNDLE_FALSE@ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ @BUNDLE_FALSE@ -e 's, at perldir\@,$(perldir),g' \ @@ -1974,6 +1975,7 @@ @BUNDLE_TRUE@ -e 's, at capbrand\@,$(capbrand),g' \ @BUNDLE_TRUE@ -e 's, at vendor\@,$(vendor),g' \ @BUNDLE_TRUE@ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + at BUNDLE_TRUE@ -e 's, at PACKAGE_BASE_VERSION\@,$(PACKAGE_BASE_VERSION),g' \ @BUNDLE_TRUE@ -e 's, at BUILDNUM\@,$(BUILDNUM),g' \ @BUNDLE_TRUE@ -e 's, at NQBUILD_NUM\@,$(NQBUILDNUM),g' \ @BUNDLE_TRUE@ -e 's, at perldir\@,$(perldir),g' \ Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/ldapserver/aclocal.m4,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- aclocal.m4 19 Jun 2007 18:24:57 -0000 1.37 +++ aclocal.m4 21 Jun 2007 21:57:22 -0000 1.38 @@ -1578,27 +1578,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4288,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4421,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4437,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4517,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6353,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,7 +6385,6 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/ldapserver/configure,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- configure 19 Jun 2007 18:24:57 -0000 1.48 +++ configure 21 Jun 2007 21:57:22 -0000 1.49 @@ -465,7 +465,7 @@ #endif" ac_default_prefix=/opt/$PACKAGE_NAME -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 debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir infdir defaultuser defaultgroup instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS debug_defs BUNDLE_TRUE BUNDLE_FALSE enable_pam_passthru_TRUE enable_pam_passthru_FALSE enable_dna_TRUE enable_dna_FALSE enable_ldapi_TRUE enable_ldapi_FALSE enable_bitwise_TRUE enable_bitwise_FALSE configdir sampledatadir propertydir schemadir serverdir serverplugindir scripttemplatedir perldir infdir defaultuser defaultgroup instconfigdir WINNT_TRUE WINNT_FALSE LIBSOCKET LIBNSL LIBDL LIBCSTD LIBCRUN initdir HPUX_TRUE HPUX_FALSE SOLARIS_TRUE SOLARIS_FALSE PKG_CONFIG ICU_CONFIG NETSNMP_CONFIG PACKAGE_BASE_VERSION nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir ldapsdk_bindir db_inc db_incdir db_lib db_libdir db_bindir db_libver sasl_inc sasl_lib sasl_libdir svrcore_inc svrcore_lib icu_lib icu_inc icu_bin netsnmp_inc netsnmp_lib netsnmp_libdir netsnmp_link brand capbrand vendor LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3836,7 +3836,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3871,7 +3870,6 @@ fi SED=$lt_cv_path_SED - echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4312,7 +4310,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4315 "configure"' > conftest.$ac_ext + echo '#line 4313 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5447,7 +5445,7 @@ # Provide some information about the compiler. -echo "$as_me:5450:" \ +echo "$as_me:5448:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6510,11 +6508,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6513: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6511: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6517: \$? = $ac_status" >&5 + echo "$as_me:6515: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6778,11 +6776,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6781: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6779: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6785: \$? = $ac_status" >&5 + echo "$as_me:6783: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6882,11 +6880,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6885: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6883: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6889: \$? = $ac_status" >&5 + echo "$as_me:6887: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8347,31 +8345,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 8354 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9248,7 +9225,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11668: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11698: \$? = $ac_status" >&5 + echo "$as_me:11672: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11795,11 +11769,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11798: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11772: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11802: \$? = $ac_status" >&5 + echo "$as_me:11776: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12327,31 +12301,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 12334 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12735,9 +12688,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -12871,11 +12821,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. @@ -12887,7 +12837,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12967,7 +12917,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13389,11 +13339,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13392: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13342: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13396: \$? = $ac_status" >&5 + echo "$as_me:13346: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13493,11 +13443,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13496: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13446: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13500: \$? = $ac_status" >&5 + echo "$as_me:13450: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14938,31 +14888,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 14945 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15346,9 +15275,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -15482,11 +15408,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. @@ -15498,7 +15424,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15578,7 +15504,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15720,11 +15646,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15723: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15649: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15727: \$? = $ac_status" >&5 + echo "$as_me:15653: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15988,11 +15914,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15991: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15917: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15995: \$? = $ac_status" >&5 + echo "$as_me:15921: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16092,11 +16018,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16095: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16021: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16099: \$? = $ac_status" >&5 + echo "$as_me:16025: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17557,31 +17483,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 17564 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17965,9 +17870,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18101,11 +18003,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. @@ -18117,7 +18019,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18197,7 +18099,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18449,9 +18351,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18585,11 +18484,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. @@ -18601,7 +18500,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18681,7 +18580,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -25161,6 +25060,9 @@ fi +PACKAGE_BASE_VERSION=`echo $PACKAGE_VERSION | awk -F\. '{print $1"."$2}'` + + # write out paths for binary components @@ -25206,7 +25108,6 @@ _ACEOF - # libtool on fedora/rhel contains some gcc-isms which cause problems # if not using gcc (e.g. Forte on Solaris, aCC on HP-UX) # we remove them here @@ -25994,7 +25895,6 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t -s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t @@ -26047,6 +25947,7 @@ s, at PKG_CONFIG@,$PKG_CONFIG,;t t s, at ICU_CONFIG@,$ICU_CONFIG,;t t s, at NETSNMP_CONFIG@,$NETSNMP_CONFIG,;t t +s, at PACKAGE_BASE_VERSION@,$PACKAGE_BASE_VERSION,;t t s, at nspr_inc@,$nspr_inc,;t t s, at nspr_lib@,$nspr_lib,;t t s, at nspr_libdir@,$nspr_libdir,;t t From fedora-directory-commits at redhat.com Thu Jun 21 22:01:54 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Thu, 21 Jun 2007 18:01:54 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src admin.inf.in, 1.2, 1.3 adminserver.map.in, 1.1, 1.2 configdsroot.map.in, 1.1, 1.2 dirserver.map.in, 1.1, 1.2 register_param.map.in, 1.1, 1.2 setup.inf.in, 1.1, 1.2 Message-ID: <200706212201.l5LM1s2R001105@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27625/admserv/newinst/src Modified Files: admin.inf.in adminserver.map.in configdsroot.map.in dirserver.map.in register_param.map.in setup.inf.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #8, #9) Description: 1) Introducing BaseVersion (*.inf files) via PACKAGE_BASE_VERSION (configure.ac) to generate #.# format version number from #.#.#. The #.# format version number is used in the jar file names 2) configure.ac: Changed the default prefix to the hardcoded string: AC_PREFIX_DEFAULT([/opt/fedora-ds]) Index: admin.inf.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/admin.inf.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- admin.inf.in 15 Jun 2007 22:16:28 -0000 1.2 +++ admin.inf.in 21 Jun 2007 22:01:51 -0000 1.3 @@ -29,6 +29,7 @@ NormBrand = @brand@ Vendor=@vendor@ Version= @PACKAGE_VERSION@ +BaseVersion= @PACKAGE_BASE_VERSION@ NickName= admin BuildNumber= @NQBUILD_NUM@ # the rest of these are obsolete, but left here for Index: adminserver.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/adminserver.map.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- adminserver.map.in 19 Jun 2007 18:32:28 -0000 1.1 +++ adminserver.map.in 21 Jun 2007 22:01:51 -0000 1.2 @@ -66,10 +66,11 @@ as_error = "@logdir@/errors" as_access = "@logdir@/access" as_pid = "@pidfile@" -as_console_jar = "%normbrand%-admserv-%as_version%.jar" +as_console_jar = "%normbrand%-admserv-%as_baseversion%.jar" as_help_path = "@helpdir@" as_user = SysUser as_version = Version +as_baseversion = BaseVersion as_buildnum = BuildNumber as_installedlocation = "AS INSTALLED LOCATION -- replace me" as_serverroot = "AS SERVER ROOT-- replace me" Index: configdsroot.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/configdsroot.map.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- configdsroot.map.in 15 Jun 2007 22:16:28 -0000 1.1 +++ configdsroot.map.in 21 Jun 2007 22:01:51 -0000 1.2 @@ -62,10 +62,12 @@ as_passwd = ServerAdminPwd asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_version = Version +as_baseversion = BaseVersion ds_version = Version +ds_baseversion = BaseVersion ds_port = ServerPort ds_secure_port ="636" ds_suffix = Suffix -ds_console_jar ="%normbrand%-ds-%ds_version%.jar" +ds_console_jar ="%normbrand%-ds-%ds_baseversion%.jar" Index: dirserver.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/dirserver.map.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dirserver.map.in 19 Jun 2007 18:32:28 -0000 1.1 +++ dirserver.map.in 21 Jun 2007 22:01:51 -0000 1.2 @@ -63,6 +63,7 @@ asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" ds_version = Version +ds_baseversion = BaseVersion dsid = ServerIdentifier ds_user = SuiteSpotUserID ds_port = ServerPort @@ -70,7 +71,7 @@ rootdn = RootDN ds_suffix = Suffix ds_buildnum = BuildNumber -ds_console_jar ="%normbrand%-ds-%ds_version%.jar" +ds_console_jar ="%normbrand%-ds-%ds_baseversion%.jar" ds_installedlocation = "DS INSTALLED LOCATION -- replace me" ds_serverroot = "DS SERVER ROOT-- replace me" ds_sie = "cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" Index: register_param.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/register_param.map.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- register_param.map.in 13 Jun 2007 17:48:35 -0000 1.1 +++ register_param.map.in 21 Jun 2007 22:01:51 -0000 1.2 @@ -71,16 +71,18 @@ as_error = "@logdir@/errors" as_access = "@logdir@/access" as_pid = "@pidfile@" -as_console_jar = "%normbrand%-admserv-%as_version%.jar" +as_console_jar = "%normbrand%-admserv-%as_baseversion%.jar" as_help_path = "@helpdir@" as_user = SysUser as_version = Version +as_baseversion = BaseVersion as_buildnum = BuildNumber as_installedlocation = "AS INSTALLED LOCATION -- replace me" as_serverroot = "AS SERVER ROOT-- replace me" as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" ds_version = Version +ds_baseversion = BaseVersion dsid = ServerIdentifier ds_user = SuiteSpotUserID ds_port = ServerPort @@ -89,7 +91,7 @@ ds_suffix = Suffix ds_buildnum = BuildNumber ds_passwd = RootDNPwd -ds_console_jar ="%normbrand%-ds-%ds_version%.jar" +ds_console_jar ="%normbrand%-ds-%ds_baseversion%.jar" ds_installedlocation = "DS INSTALLED LOCATION -- replace me" ds_serverroot = "DS SERVER ROOT-- replace me" ds_sie = "cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" Index: setup.inf.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup.inf.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setup.inf.in 20 Jun 2007 22:33:19 -0000 1.1 +++ setup.inf.in 21 Jun 2007 22:01:51 -0000 1.2 @@ -31,5 +31,6 @@ Vendor = @capbrand@ Project Description = @capbrand@ Server Products Installation Version = @PACKAGE_VERSION@ -Brand = @capbrand@ -NormBrand = @brand@ +BaseVersion = @PACKAGE_BASE_VERSION@ +Brand = @capbrand@ +NormBrand = @brand@ From fedora-directory-commits at redhat.com Thu Jun 21 22:01:54 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Thu, 21 Jun 2007 18:01:54 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 01nsroot.ldif.tmpl, 1.3, 1.4 02globalpreferences.ldif.tmpl, 1.2, 1.3 10dsdata.ldif.tmpl, 1.4, 1.5 Message-ID: <200706212201.l5LM1sJK001152@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27625/admserv/schema/ldif Modified Files: 01nsroot.ldif.tmpl 02globalpreferences.ldif.tmpl 10dsdata.ldif.tmpl Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #8, #9) Description: 1) Introducing BaseVersion (*.inf files) via PACKAGE_BASE_VERSION (configure.ac) to generate #.# format version number from #.#.#. The #.# format version number is used in the jar file names 2) configure.ac: Changed the default prefix to the hardcoded string: AC_PREFIX_DEFAULT([/opt/fedora-ds]) Index: 01nsroot.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/01nsroot.ldif.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 01nsroot.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.3 +++ 01nsroot.ldif.tmpl 21 Jun 2007 22:01:52 -0000 1.4 @@ -24,7 +24,6 @@ aci: (targetattr="*")(version 3.0; acl "Enable Configuration Administrator Group modification"; allow (all) groupdn="ldap:///cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot";) aci: (targetattr="*")(targetfilter=(o=NetscapeRoot))(version 3.0; acl "Default anonymous access"; allow (read, search) userdn="ldap:///anyone";) aci: (targetattr="*")(version 3.0; acl "Enable Group Expansion"; allow (read, search, compare) groupdnattr="uniquemember";) -aci: (targetattr = "*")(version 3.0; acl "SIE Group"; allow (all) groupdn = "ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: ou=TopologyManagement, o=NetscapeRoot objectClass: top Index: 02globalpreferences.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/02globalpreferences.ldif.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- 02globalpreferences.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.2 +++ 02globalpreferences.ldif.tmpl 21 Jun 2007 22:01:52 -0000 1.3 @@ -24,21 +24,21 @@ ou: admin nsmerge: ADD_IF_EMPTY -dn: ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalunit objectClass: extensibleObject -ou: %as_version% +ou: %as_baseversion% nsmerge: ADD_IF_EMPTY -dn: cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=ResourceEditorExtension, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: extensibleObject cn: ResourceEditorExtension nsmerge: ADD_IF_EMPTY -dn: cn=nsroledefinition, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=nsroledefinition, cn=ResourceEditorExtension, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: nsroledefinition objectClass: top objectClass: extensibleObject @@ -50,7 +50,7 @@ nsClassname: com.netscape.admin.dirserv.roledit.ResEditorRoleAccountPage@%ds_console_jar% nsmerge: {nsclassname}MULTI_MERGE -dn: cn=cossuperdefinition, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=cossuperdefinition, cn=ResourceEditorExtension, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: cossuperdefinition objectClass: top objectClass: extensibleObject @@ -97,17 +97,17 @@ nsmerge: {nsadminenduserhtmlindex}MULTI_MERGE nsmerge: {nsnickname}MULTI_MERGE -dn: cn=PublicViews, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=PublicViews, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsAdminConsoleUser cn: PublicViews -dn: cn=CustomView, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=CustomView, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef cn: CustomView -dn: cn=inetorgPerson, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=inetorgPerson, cn=ResourceEditorExtension, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: inetorgPerson objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension @@ -121,7 +121,7 @@ nsClassname: com.netscape.management.client.ug.ResEditorPosixUser nsmerge: {nsclassname}MULTI_MERGE -dn: cn=organizationalPerson, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=organizationalPerson, cn=ResourceEditorExtension, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: organizationalPerson objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension @@ -133,7 +133,7 @@ nsClassname: com.netscape.management.client.ug.LanguagePage nsmerge: {nsclassname}MULTI_MERGE -dn: cn=groupofuniquenames, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=groupofuniquenames, cn=ResourceEditorExtension, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: groupofuniquenames objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension @@ -146,7 +146,7 @@ nsClassname: com.netscape.management.client.ug.LanguagePage nsmerge: {nsclassname}MULTI_MERGE -dn: cn=organizationalunit, cn=ResourceEditorExtension, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=organizationalunit, cn=ResourceEditorExtension, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: organizationalunit objectClass: nsResourceRef objectClass: nsAdminResourceEditorExtension @@ -157,12 +157,12 @@ nsClassname: com.netscape.management.client.ug.LanguagePage nsmerge: {nsclassname}MULTI_MERGE -dn: cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=defaultObjectClassesContainer, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef cn: DefaultObjectClassesContainer -dn: cn=user, cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=user, cn=defaultObjectClassesContainer, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsdefaultObjectClasses @@ -172,7 +172,7 @@ nsDefaultObjectClass: organizationalPerson nsDefaultObjectClass: inetorgperson -dn: cn=group, cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=group, cn=defaultObjectClassesContainer, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsdefaultObjectClasses @@ -180,7 +180,7 @@ nsDefaultObjectClass: top nsDefaultObjectClass: groupofuniquenames -dn: cn=ou, cn=defaultObjectClassesContainer, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=ou, cn=defaultObjectClassesContainer, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: nsdefaultObjectClasses @@ -188,14 +188,14 @@ nsDefaultObjectClass: top nsDefaultObjectClass: organizationalunit -dn: cn=topologyplugin, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=topologyplugin, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nsResourceRef objectClass: extensibleObject cn: topologyplugin nsmerge: ADD_IF_EMPTY -dn: cn=defaultplugin, cn=topologyplugin, ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=defaultplugin, cn=topologyplugin, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: nstopologyplugin objectClass: extensibleObject @@ -204,7 +204,7 @@ nsClassname: com.netscape.management.client.topology.DefaultTopologyPlugin nsmerge: {nsclassname}MULTI_MERGE -dn: cn=UI,ou=%as_version%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot +dn: cn=UI,ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot cn: UI objectClass: top objectClass: nsAdminConsoleUser Index: 10dsdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/10dsdata.ldif.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- 10dsdata.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.4 +++ 10dsdata.ldif.tmpl 21 Jun 2007 22:01:52 -0000 1.5 @@ -17,6 +17,11 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK +dn: o=NetscapeRoot +changetype: modify +add: aci +aci: (targetattr = "*")(version 3.0; acl "SIE Group"; allow (all) groupdn = "ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) + dn: cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsApplication objectClass: groupOfUniqueNames From fedora-directory-commits at redhat.com Thu Jun 21 22:01:53 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Thu, 21 Jun 2007 18:01:53 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.13, 1.14 configure.ac, 1.9, 1.10 Makefile.in, 1.13, 1.14 aclocal.m4, 1.10, 1.11 configure, 1.12, 1.13 Message-ID: <200706212201.l5LM1rt7001041@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27625 Modified Files: Makefile.am configure.ac Makefile.in aclocal.m4 configure Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #8, #9) Description: 1) Introducing BaseVersion (*.inf files) via PACKAGE_BASE_VERSION (configure.ac) to generate #.# format version number from #.#.#. The #.# format version number is used in the jar file names 2) configure.ac: Changed the default prefix to the hardcoded string: AC_PREFIX_DEFAULT([/opt/fedora-ds]) Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Makefile.am 20 Jun 2007 22:33:15 -0000 1.13 +++ Makefile.am 21 Jun 2007 22:01:51 -0000 1.14 @@ -124,6 +124,8 @@ admserv/schema/ldif/02globalpreferences.ldif.tmpl \ admserv/schema/ldif/10dsdata.ldif.tmpl \ admserv/schema/ldif/11dstasks.ldif.tmpl \ + admserv/schema/ldif/12dsconfig.mod.tmpl \ + admserv/schema/ldif/13dsschema.mod.tmpl \ admserv/schema/ldif/20asdata.ldif.tmpl \ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl @@ -382,6 +384,7 @@ -e 's, at package_name\@,$(PACKAGE_NAME),g' \ -e 's, at PACKAGE_BASE_NAME\@,$(PACKAGE_BASE_NAME),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at PACKAGE_BASE_VERSION\@,$(PACKAGE_BASE_VERSION),g' \ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- configure.ac 20 Jun 2007 22:33:15 -0000 1.9 +++ configure.ac 21 Jun 2007 22:01:51 -0000 1.10 @@ -60,7 +60,10 @@ PACKAGE_BASE_NAME=`echo $PACKAGE_NAME | sed -e s/-admin//` AC_SUBST(PACKAGE_BASE_NAME) # the default prefix - override with --prefix or --with-fhs or --with-fhs-opt -AC_PREFIX_DEFAULT([/opt/@PACKAGE_BASE_NAME@]) +AC_PREFIX_DEFAULT([/opt/fedora-ds]) + +PACKAGE_BASE_VERSION=`echo $PACKAGE_VERSION | awk -F\. '{print $1"."$2}'` +AC_SUBST(PACKAGE_BASE_VERSION) brand=fedora capbrand=Fedora Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Makefile.in 20 Jun 2007 22:33:15 -0000 1.13 +++ Makefile.in 21 Jun 2007 22:01:51 -0000 1.14 @@ -381,6 +381,7 @@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BASE_NAME = @PACKAGE_BASE_NAME@ +PACKAGE_BASE_VERSION = @PACKAGE_BASE_VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ @@ -389,7 +390,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -560,6 +560,8 @@ admserv/schema/ldif/02globalpreferences.ldif.tmpl \ admserv/schema/ldif/10dsdata.ldif.tmpl \ admserv/schema/ldif/11dstasks.ldif.tmpl \ + admserv/schema/ldif/12dsconfig.mod.tmpl \ + admserv/schema/ldif/13dsschema.mod.tmpl \ admserv/schema/ldif/20asdata.ldif.tmpl \ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl @@ -774,6 +776,7 @@ -e 's, at package_name\@,$(PACKAGE_NAME),g' \ -e 's, at PACKAGE_BASE_NAME\@,$(PACKAGE_BASE_NAME),g' \ -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's, at PACKAGE_BASE_VERSION\@,$(PACKAGE_BASE_VERSION),g' \ -e 's, at brand\@,$(brand),g' \ -e 's, at capbrand\@,$(capbrand),g' \ -e 's, at vendor\@,$(vendor),g' \ Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- aclocal.m4 20 Jun 2007 22:33:15 -0000 1.10 +++ aclocal.m4 21 Jun 2007 22:01:51 -0000 1.11 @@ -1578,27 +1578,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4288,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4421,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4437,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4517,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6353,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,7 +6385,6 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- configure 20 Jun 2007 22:33:15 -0000 1.12 +++ configure 21 Jun 2007 22:01:51 -0000 1.13 @@ -465,10 +465,10 @@ # include #endif" -ac_default_prefix=/opt/@PACKAGE_BASE_NAME@ +ac_default_prefix=/opt/fedora-ds ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 PACKAGE_BASE_NAME initdir HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS PACKAGE_BASE_NAME PACKAGE_BASE_VERSION initdir HTTPD APXS PKG_CONFIG ICU_CONFIG nsspcache instconfigdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3824,7 +3824,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3859,7 +3858,6 @@ fi SED=$lt_cv_path_SED - echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4300,7 +4298,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4303 "configure"' > conftest.$ac_ext + echo '#line 4301 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5435,7 +5433,7 @@ # Provide some information about the compiler. -echo "$as_me:5438:" \ +echo "$as_me:5436:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6498,11 +6496,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6501: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6499: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6505: \$? = $ac_status" >&5 + echo "$as_me:6503: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6766,11 +6764,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6769: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6767: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6773: \$? = $ac_status" >&5 + echo "$as_me:6771: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6870,11 +6868,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6873: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6871: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6877: \$? = $ac_status" >&5 + echo "$as_me:6875: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8335,31 +8333,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 8342 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9236,7 +9213,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11656: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11686: \$? = $ac_status" >&5 + echo "$as_me:11660: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11783,11 +11757,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11786: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11760: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11790: \$? = $ac_status" >&5 + echo "$as_me:11764: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12315,31 +12289,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 12322 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12723,9 +12676,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -12859,11 +12809,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. @@ -12875,7 +12825,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12955,7 +12905,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13377,11 +13327,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13380: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13330: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13384: \$? = $ac_status" >&5 + echo "$as_me:13334: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13481,11 +13431,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13484: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13434: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13488: \$? = $ac_status" >&5 + echo "$as_me:13438: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14926,31 +14876,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 14933 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15334,9 +15263,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -15470,11 +15396,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. @@ -15486,7 +15412,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15566,7 +15492,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15708,11 +15634,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15711: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15637: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15715: \$? = $ac_status" >&5 + echo "$as_me:15641: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15976,11 +15902,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15979: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15905: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15983: \$? = $ac_status" >&5 + echo "$as_me:15909: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16080,11 +16006,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16083: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16009: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16087: \$? = $ac_status" >&5 + echo "$as_me:16013: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17545,31 +17471,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 17552 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17953,9 +17858,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18089,11 +17991,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. @@ -18105,7 +18007,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18185,7 +18087,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18437,9 +18339,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18573,11 +18472,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. @@ -18589,7 +18488,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18669,7 +18568,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -23234,6 +23133,9 @@ # the default prefix - override with --prefix or --with-fhs or --with-fhs-opt +PACKAGE_BASE_VERSION=`echo $PACKAGE_VERSION | awk -F\. '{print $1"."$2}'` + + brand=fedora capbrand=Fedora vendor="Fedora Project" @@ -25533,7 +25435,6 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t -s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t @@ -25549,6 +25450,7 @@ s, at LIBTOOL@,$LIBTOOL,;t t s, at LIBOBJS@,$LIBOBJS,;t t s, at PACKAGE_BASE_NAME@,$PACKAGE_BASE_NAME,;t t +s, at PACKAGE_BASE_VERSION@,$PACKAGE_BASE_VERSION,;t t s, at initdir@,$initdir,;t t s, at HTTPD@,$HTTPD,;t t s, at APXS@,$APXS,;t t From fedora-directory-commits at redhat.com Thu Jun 21 22:32:27 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Thu, 21 Jun 2007 18:32:27 -0400 Subject: [Fedora-directory-commits] adminutil/lib/libadminutil form_post.c, 1.7, 1.8 Message-ID: <200706212232.l5LMWRP6006395@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminutil/lib/libadminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5934 Modified Files: form_post.c Log Message: Fixed a minor bug introduced in the revision 1.6. Index: form_post.c =================================================================== RCS file: /cvs/dirsec/adminutil/lib/libadminutil/form_post.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- form_post.c 9 Jun 2007 00:27:20 -0000 1.7 +++ form_post.c 21 Jun 2007 22:32:24 -0000 1.8 @@ -156,7 +156,7 @@ } else if ('<' == str[x]) { memcpy(&rstr[y], "<", 4); y += 3; - } else if ('<' == str[x]) { + } else if ('>' == str[x]) { memcpy(&rstr[y], ">", 4); y += 3; } else if ('&' == str[x]) { From fedora-directory-commits at redhat.com Thu Jun 21 23:05:10 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 19:05:10 -0400 Subject: [Fedora-directory-commits] adminutil Makefile.am, 1.5, 1.6 Makefile.in, 1.6, 1.7 aclocal.m4, 1.6, 1.7 config.guess, 1.5, 1.6 config.sub, 1.5, 1.6 configure, 1.6, 1.7 depcomp, 1.5, 1.6 install-sh, 1.5, 1.6 missing, 1.5, 1.6 compile, 1.5, 1.6 Message-ID: <200706212305.l5LN5AFw017440@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17402/adminutil Modified Files: Makefile.am Makefile.in aclocal.m4 config.guess config.sub configure depcomp install-sh missing compile Log Message: Resolves: bug 245208 Bug Description: adminutil: Solaris port for 1.1 Fix Description: Fix the linux build - need to specify lib_foo_la_LINK = $(LINK) if not using $(CXXLINK) Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminutil/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Makefile.am 21 Jun 2007 21:27:59 -0000 1.5 +++ Makefile.am 21 Jun 2007 23:05:05 -0000 1.6 @@ -127,6 +127,8 @@ libadminutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) if CXXLINK_REQUIRED libadminutil_la_LINK = $(CXXLINK) +else +libadminutil_la_LINK = $(LINK) endif #------------------------ @@ -145,4 +147,6 @@ libadmsslutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) if CXXLINK_REQUIRED libadmsslutil_la_LINK = $(CXXLINK) +else +libadmsslutil_la_LINK = $(LINK) endif Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminutil/Makefile.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Makefile.in 21 Jun 2007 21:28:00 -0000 1.6 +++ Makefile.in 21 Jun 2007 23:05:05 -0000 1.7 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.10 from Makefile.am. +# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,11 +16,15 @@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -38,15 +42,12 @@ @enable_tests_TRUE at check_PROGRAMS = retrieveSIE$(EXEEXT) \ @enable_tests_TRUE@ retrieveSIEssl$(EXEEXT) psetread$(EXEEXT) \ @enable_tests_TRUE@ psetreadssl$(EXEEXT) psetwrite$(EXEEXT) - at enable_tests_TRUE@TESTS = retrieveSIE$(EXEEXT) \ - at enable_tests_TRUE@ retrieveSIEssl$(EXEEXT) psetread$(EXEEXT) \ - at enable_tests_TRUE@ psetreadssl$(EXEEXT) psetwrite$(EXEEXT) -subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/adminutil.pc.in \ $(top_srcdir)/configure \ $(top_srcdir)/lib/libadminutil/genrb_wrapper.in NEWS compile \ config.guess config.sub depcomp install-sh ltmain.sh missing +subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/nspr.m4 $(top_srcdir)/m4/nss.m4 \ $(top_srcdir)/m4/mozldap.m4 $(top_srcdir)/m4/sasl.m4 \ @@ -55,7 +56,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno + configure.lineno configure.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = adminutil.pc lib/libadminutil/genrb_wrapper am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; @@ -133,27 +134,25 @@ retrieveSIEssl_OBJECTS = $(am_retrieveSIEssl_OBJECTS) @enable_tests_TRUE at retrieveSIEssl_DEPENDENCIES = \ @enable_tests_TRUE@ $(am__DEPENDENCIES_3) -DEFAULT_INCLUDES = -I. at am__isrc@ +DEFAULT_INCLUDES = -I. -I$(srcdir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libadminutil_la_SOURCES) $(libadmsslutil_la_SOURCES) \ $(dummy_SOURCES) $(psetread_SOURCES) $(psetreadssl_SOURCES) \ $(psetwrite_SOURCES) $(retrieveSIE_SOURCES) \ @@ -183,6 +182,8 @@ distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ @@ -198,6 +199,8 @@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ +CXXLINK_REQUIRED_FALSE = @CXXLINK_REQUIRED_FALSE@ +CXXLINK_REQUIRED_TRUE = @CXXLINK_REQUIRED_TRUE@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -209,9 +212,7 @@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ -GREP = @GREP@ ICU_CONFIG = @ICU_CONFIG@ -INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -225,8 +226,9 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -237,17 +239,23 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ +WINNT_FALSE = @WINNT_FALSE@ +WINNT_TRUE = @WINNT_TRUE@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -259,19 +267,16 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ -builddir = @builddir@ datadir = @datadir@ -datarootdir = @datarootdir@ debug_defs = @debug_defs@ -docdir = @docdir@ -dvidir = @dvidir@ +enable_tests_FALSE = @enable_tests_FALSE@ +enable_tests_TRUE = @enable_tests_TRUE@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ -htmldir = @htmldir@ icu_bin = @icu_bin@ icu_inc = @icu_inc@ icu_lib = @icu_lib@ @@ -284,7 +289,6 @@ ldapsdk_libdir = @ldapsdk_libdir@ libdir = @libdir@ libexecdir = @libexecdir@ -localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ @@ -295,20 +299,15 @@ nss_lib = @nss_lib@ nss_libdir = @nss_libdir@ oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ platform_defs = @platform_defs@ prefix = @prefix@ program_transform_name = @program_transform_name@ -psdir = @psdir@ sasl_inc = @sasl_inc@ sasl_lib = @sasl_lib@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ # look for included m4 files in the ./m4/ directory ACLOCAL_AMFLAGS = -I m4 @@ -339,6 +338,7 @@ pkgdata_DATA = root.res en.res en_US.res @CXXLINK_REQUIRED_TRUE at dummy_SOURCES = lib/dummy.cpp @CXXLINK_REQUIRED_TRUE at dummy_LINK = $(CXXLINK) + at enable_tests_TRUE@TESTS = retrieveSIE retrieveSIEssl psetread psetreadssl psetwrite @enable_tests_TRUE at TEST_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include @nspr_inc@ @ldapsdk_inc@ @icu_inc@ @enable_tests_TRUE at TEST_LDADD = libadmsslutil.la libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) @enable_tests_TRUE at retrieveSIE_SOURCES = tests/retrieveSIE.c @@ -402,6 +402,7 @@ libadminutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadminutil_la_LIBADD = $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadminutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) + at CXXLINK_REQUIRED_FALSE@libadminutil_la_LINK = $(LINK) @CXXLINK_REQUIRED_TRUE at libadminutil_la_LINK = $(CXXLINK) #------------------------ @@ -418,6 +419,7 @@ libadmsslutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadmsslutil_la_LIBADD = libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadmsslutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) + at CXXLINK_REQUIRED_FALSE@libadmsslutil_la_LINK = $(LINK) @CXXLINK_REQUIRED_TRUE at libadmsslutil_la_LINK = $(CXXLINK) all: all-am @@ -462,7 +464,7 @@ cd $(top_builddir) && $(SHELL) ./config.status $@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ @@ -473,7 +475,7 @@ uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ @@ -488,10 +490,10 @@ rm -f "$${dir}/so_locations"; \ done lib/libadminutil/$(am__dirstamp): - @$(MKDIR_P) lib/libadminutil + @$(mkdir_p) lib/libadminutil @: > lib/libadminutil/$(am__dirstamp) lib/libadminutil/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) lib/libadminutil/$(DEPDIR) + @$(mkdir_p) lib/libadminutil/$(DEPDIR) @: > lib/libadminutil/$(DEPDIR)/$(am__dirstamp) lib/libadminutil/libadminutil_la-acclanglist.lo: \ lib/libadminutil/$(am__dirstamp) \ @@ -524,12 +526,12 @@ lib/libadminutil/$(am__dirstamp) \ lib/libadminutil/$(DEPDIR)/$(am__dirstamp) libadminutil.la: $(libadminutil_la_OBJECTS) $(libadminutil_la_DEPENDENCIES) - $(libadminutil_la_LINK) -rpath $(libdir) $(libadminutil_la_OBJECTS) $(libadminutil_la_LIBADD) $(LIBS) + $(libadminutil_la_LINK) -rpath $(libdir) $(libadminutil_la_LDFLAGS) $(libadminutil_la_OBJECTS) $(libadminutil_la_LIBADD) $(LIBS) lib/libadmsslutil/$(am__dirstamp): - @$(MKDIR_P) lib/libadmsslutil + @$(mkdir_p) lib/libadmsslutil @: > lib/libadmsslutil/$(am__dirstamp) lib/libadmsslutil/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) lib/libadmsslutil/$(DEPDIR) + @$(mkdir_p) lib/libadmsslutil/$(DEPDIR) @: > lib/libadmsslutil/$(DEPDIR)/$(am__dirstamp) lib/libadmsslutil/libadmsslutil_la-admsslutil.lo: \ lib/libadmsslutil/$(am__dirstamp) \ @@ -553,7 +555,7 @@ lib/libadmsslutil/$(am__dirstamp) \ lib/libadmsslutil/$(DEPDIR)/$(am__dirstamp) libadmsslutil.la: $(libadmsslutil_la_OBJECTS) $(libadmsslutil_la_DEPENDENCIES) - $(libadmsslutil_la_LINK) -rpath $(libdir) $(libadmsslutil_la_OBJECTS) $(libadmsslutil_la_LIBADD) $(LIBS) + $(libadmsslutil_la_LINK) -rpath $(libdir) $(libadmsslutil_la_LDFLAGS) $(libadmsslutil_la_OBJECTS) $(libadmsslutil_la_LIBADD) $(LIBS) clean-checkPROGRAMS: @list='$(check_PROGRAMS)'; for p in $$list; do \ @@ -569,46 +571,46 @@ rm -f $$p $$f ; \ done lib/$(am__dirstamp): - @$(MKDIR_P) lib + @$(mkdir_p) lib @: > lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) lib/$(DEPDIR) + @$(mkdir_p) lib/$(DEPDIR) @: > lib/$(DEPDIR)/$(am__dirstamp) lib/dummy.$(OBJEXT): lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) @rm -f dummy$(EXEEXT) - $(dummy_LINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS) + $(dummy_LINK) $(dummy_LDFLAGS) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS) tests/$(am__dirstamp): - @$(MKDIR_P) tests + @$(mkdir_p) tests @: > tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) tests/$(DEPDIR) + @$(mkdir_p) tests/$(DEPDIR) @: > tests/$(DEPDIR)/$(am__dirstamp) tests/psetread-psetread.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) psetread$(EXEEXT): $(psetread_OBJECTS) $(psetread_DEPENDENCIES) @rm -f psetread$(EXEEXT) - $(LINK) $(psetread_OBJECTS) $(psetread_LDADD) $(LIBS) + $(LINK) $(psetread_LDFLAGS) $(psetread_OBJECTS) $(psetread_LDADD) $(LIBS) tests/psetreadssl-psetreadssl.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) psetreadssl$(EXEEXT): $(psetreadssl_OBJECTS) $(psetreadssl_DEPENDENCIES) @rm -f psetreadssl$(EXEEXT) - $(LINK) $(psetreadssl_OBJECTS) $(psetreadssl_LDADD) $(LIBS) + $(LINK) $(psetreadssl_LDFLAGS) $(psetreadssl_OBJECTS) $(psetreadssl_LDADD) $(LIBS) tests/psetwrite-psetwrite.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) psetwrite$(EXEEXT): $(psetwrite_OBJECTS) $(psetwrite_DEPENDENCIES) @rm -f psetwrite$(EXEEXT) - $(LINK) $(psetwrite_OBJECTS) $(psetwrite_LDADD) $(LIBS) + $(LINK) $(psetwrite_LDFLAGS) $(psetwrite_OBJECTS) $(psetwrite_LDADD) $(LIBS) tests/retrieveSIE-retrieveSIE.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) retrieveSIE$(EXEEXT): $(retrieveSIE_OBJECTS) $(retrieveSIE_DEPENDENCIES) @rm -f retrieveSIE$(EXEEXT) - $(LINK) $(retrieveSIE_OBJECTS) $(retrieveSIE_LDADD) $(LIBS) + $(LINK) $(retrieveSIE_LDFLAGS) $(retrieveSIE_OBJECTS) $(retrieveSIE_LDADD) $(LIBS) tests/retrieveSIEssl-retrieveSIEssl.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) retrieveSIEssl$(EXEEXT): $(retrieveSIEssl_OBJECTS) $(retrieveSIEssl_DEPENDENCIES) @rm -f retrieveSIEssl$(EXEEXT) - $(LINK) $(retrieveSIEssl_OBJECTS) $(retrieveSIEssl_LDADD) $(LIBS) + $(LINK) $(retrieveSIEssl_LDFLAGS) $(retrieveSIEssl_OBJECTS) $(retrieveSIEssl_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -681,238 +683,238 @@ @AMDEP_TRUE@@am__include@ @am__quote at tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po at am__quote@ .c.o: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ - at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ + at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ - at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ - at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ + at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ - at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ + at am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< lib/libadminutil/libadminutil_la-acclanglist.lo: lib/libadminutil/acclanglist.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-acclanglist.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-acclanglist.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo" -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-acclanglist.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/acclanglist.c' object='lib/libadminutil/libadminutil_la-acclanglist.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-acclanglist.lo `test -f 'lib/libadminutil/acclanglist.c' || echo '$(srcdir)/'`lib/libadminutil/acclanglist.c lib/libadminutil/libadminutil_la-admutil.lo: lib/libadminutil/admutil.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-admutil.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-admutil.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo" -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-admutil.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/admutil.c' object='lib/libadminutil/libadminutil_la-admutil.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-admutil.lo `test -f 'lib/libadminutil/admutil.c' || echo '$(srcdir)/'`lib/libadminutil/admutil.c lib/libadminutil/libadminutil_la-distadm.lo: lib/libadminutil/distadm.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-distadm.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-distadm.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo" -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-distadm.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/distadm.c' object='lib/libadminutil/libadminutil_la-distadm.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-distadm.lo `test -f 'lib/libadminutil/distadm.c' || echo '$(srcdir)/'`lib/libadminutil/distadm.c lib/libadminutil/libadminutil_la-errRpt.lo: lib/libadminutil/errRpt.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-errRpt.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-errRpt.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo" -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-errRpt.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/errRpt.c' object='lib/libadminutil/libadminutil_la-errRpt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-errRpt.lo `test -f 'lib/libadminutil/errRpt.c' || echo '$(srcdir)/'`lib/libadminutil/errRpt.c lib/libadminutil/libadminutil_la-form_post.lo: lib/libadminutil/form_post.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-form_post.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-form_post.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo" -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-form_post.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/form_post.c' object='lib/libadminutil/libadminutil_la-form_post.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-form_post.lo `test -f 'lib/libadminutil/form_post.c' || echo '$(srcdir)/'`lib/libadminutil/form_post.c lib/libadminutil/libadminutil_la-psetc.lo: lib/libadminutil/psetc.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-psetc.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-psetc.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo" -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-psetc.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/psetc.c' object='lib/libadminutil/libadminutil_la-psetc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-psetc.lo `test -f 'lib/libadminutil/psetc.c' || echo '$(srcdir)/'`lib/libadminutil/psetc.c lib/libadminutil/libadminutil_la-resource.lo: lib/libadminutil/resource.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-resource.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-resource.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo" -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-resource.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/resource.c' object='lib/libadminutil/libadminutil_la-resource.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-resource.lo `test -f 'lib/libadminutil/resource.c' || echo '$(srcdir)/'`lib/libadminutil/resource.c lib/libadminutil/libadminutil_la-srvutil.lo: lib/libadminutil/srvutil.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-srvutil.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-srvutil.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo" -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-srvutil.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/srvutil.c' object='lib/libadminutil/libadminutil_la-srvutil.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-srvutil.lo `test -f 'lib/libadminutil/srvutil.c' || echo '$(srcdir)/'`lib/libadminutil/srvutil.c lib/libadminutil/libadminutil_la-strlist.lo: lib/libadminutil/strlist.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-strlist.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-strlist.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo" -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-strlist.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/strlist.c' object='lib/libadminutil/libadminutil_la-strlist.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-strlist.lo `test -f 'lib/libadminutil/strlist.c' || echo '$(srcdir)/'`lib/libadminutil/strlist.c lib/libadminutil/libadminutil_la-uginfo.lo: lib/libadminutil/uginfo.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-uginfo.lo -MD -MP -MF lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c - at am__fastdepCC_TRUE@ mv -f lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadminutil/libadminutil_la-uginfo.lo -MD -MP -MF "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo" -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo" "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Plo"; else rm -f "lib/libadminutil/$(DEPDIR)/libadminutil_la-uginfo.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadminutil/uginfo.c' object='lib/libadminutil/libadminutil_la-uginfo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadminutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadminutil/libadminutil_la-uginfo.lo `test -f 'lib/libadminutil/uginfo.c' || echo '$(srcdir)/'`lib/libadminutil/uginfo.c lib/libadmsslutil/libadmsslutil_la-admsslutil.lo: lib/libadmsslutil/admsslutil.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-admsslutil.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c - at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-admsslutil.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-admsslutil.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/admsslutil.c' object='lib/libadmsslutil/libadmsslutil_la-admsslutil.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-admsslutil.lo `test -f 'lib/libadmsslutil/admsslutil.c' || echo '$(srcdir)/'`lib/libadmsslutil/admsslutil.c lib/libadmsslutil/libadmsslutil_la-certmgt.lo: lib/libadmsslutil/certmgt.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-certmgt.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c - at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-certmgt.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-certmgt.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/certmgt.c' object='lib/libadmsslutil/libadmsslutil_la-certmgt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-certmgt.lo `test -f 'lib/libadmsslutil/certmgt.c' || echo '$(srcdir)/'`lib/libadmsslutil/certmgt.c lib/libadmsslutil/libadmsslutil_la-psetcssl.lo: lib/libadmsslutil/psetcssl.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-psetcssl.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c - at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-psetcssl.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-psetcssl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/psetcssl.c' object='lib/libadmsslutil/libadmsslutil_la-psetcssl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-psetcssl.lo `test -f 'lib/libadmsslutil/psetcssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/psetcssl.c lib/libadmsslutil/libadmsslutil_la-secpwd.lo: lib/libadmsslutil/secpwd.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-secpwd.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c - at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-secpwd.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-secpwd.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/secpwd.c' object='lib/libadmsslutil/libadmsslutil_la-secpwd.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-secpwd.lo `test -f 'lib/libadmsslutil/secpwd.c' || echo '$(srcdir)/'`lib/libadmsslutil/secpwd.c lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo: lib/libadmsslutil/srvutilssl.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c - at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-srvutilssl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/srvutilssl.c' object='lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-srvutilssl.lo `test -f 'lib/libadmsslutil/srvutilssl.c' || echo '$(srcdir)/'`lib/libadmsslutil/srvutilssl.c lib/libadmsslutil/libadmsslutil_la-sslerror.lo: lib/libadmsslutil/sslerror.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-sslerror.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c - at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-sslerror.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-sslerror.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/sslerror.c' object='lib/libadmsslutil/libadmsslutil_la-sslerror.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-sslerror.lo `test -f 'lib/libadmsslutil/sslerror.c' || echo '$(srcdir)/'`lib/libadmsslutil/sslerror.c lib/libadmsslutil/libadmsslutil_la-uginfossl.lo: lib/libadmsslutil/uginfossl.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-uginfossl.lo -MD -MP -MF lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c - at am__fastdepCC_TRUE@ mv -f lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libadmsslutil/libadmsslutil_la-uginfossl.lo -MD -MP -MF "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo" -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo" "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Plo"; else rm -f "lib/libadmsslutil/$(DEPDIR)/libadmsslutil_la-uginfossl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libadmsslutil/uginfossl.c' object='lib/libadmsslutil/libadmsslutil_la-uginfossl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libadmsslutil_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libadmsslutil/libadmsslutil_la-uginfossl.lo `test -f 'lib/libadmsslutil/uginfossl.c' || echo '$(srcdir)/'`lib/libadmsslutil/uginfossl.c tests/psetread-psetread.o: tests/psetread.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.o -MD -MP -MF tests/$(DEPDIR)/psetread-psetread.Tpo -c -o tests/psetread-psetread.o `test -f 'tests/psetread.c' || echo '$(srcdir)/'`tests/psetread.c - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetread-psetread.Tpo tests/$(DEPDIR)/psetread-psetread.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.o -MD -MP -MF "tests/$(DEPDIR)/psetread-psetread.Tpo" -c -o tests/psetread-psetread.o `test -f 'tests/psetread.c' || echo '$(srcdir)/'`tests/psetread.c; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetread-psetread.Tpo" "tests/$(DEPDIR)/psetread-psetread.Po"; else rm -f "tests/$(DEPDIR)/psetread-psetread.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetread.c' object='tests/psetread-psetread.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetread-psetread.o `test -f 'tests/psetread.c' || echo '$(srcdir)/'`tests/psetread.c tests/psetread-psetread.obj: tests/psetread.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.obj -MD -MP -MF tests/$(DEPDIR)/psetread-psetread.Tpo -c -o tests/psetread-psetread.obj `if test -f 'tests/psetread.c'; then $(CYGPATH_W) 'tests/psetread.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetread.c'; fi` - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetread-psetread.Tpo tests/$(DEPDIR)/psetread-psetread.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetread-psetread.obj -MD -MP -MF "tests/$(DEPDIR)/psetread-psetread.Tpo" -c -o tests/psetread-psetread.obj `if test -f 'tests/psetread.c'; then $(CYGPATH_W) 'tests/psetread.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetread.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetread-psetread.Tpo" "tests/$(DEPDIR)/psetread-psetread.Po"; else rm -f "tests/$(DEPDIR)/psetread-psetread.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetread.c' object='tests/psetread-psetread.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetread_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetread-psetread.obj `if test -f 'tests/psetread.c'; then $(CYGPATH_W) 'tests/psetread.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetread.c'; fi` tests/psetreadssl-psetreadssl.o: tests/psetreadssl.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.o -MD -MP -MF tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo -c -o tests/psetreadssl-psetreadssl.o `test -f 'tests/psetreadssl.c' || echo '$(srcdir)/'`tests/psetreadssl.c - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo tests/$(DEPDIR)/psetreadssl-psetreadssl.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.o -MD -MP -MF "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" -c -o tests/psetreadssl-psetreadssl.o `test -f 'tests/psetreadssl.c' || echo '$(srcdir)/'`tests/psetreadssl.c; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" "tests/$(DEPDIR)/psetreadssl-psetreadssl.Po"; else rm -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetreadssl.c' object='tests/psetreadssl-psetreadssl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetreadssl-psetreadssl.o `test -f 'tests/psetreadssl.c' || echo '$(srcdir)/'`tests/psetreadssl.c tests/psetreadssl-psetreadssl.obj: tests/psetreadssl.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.obj -MD -MP -MF tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo -c -o tests/psetreadssl-psetreadssl.obj `if test -f 'tests/psetreadssl.c'; then $(CYGPATH_W) 'tests/psetreadssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetreadssl.c'; fi` - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo tests/$(DEPDIR)/psetreadssl-psetreadssl.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetreadssl-psetreadssl.obj -MD -MP -MF "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" -c -o tests/psetreadssl-psetreadssl.obj `if test -f 'tests/psetreadssl.c'; then $(CYGPATH_W) 'tests/psetreadssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetreadssl.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo" "tests/$(DEPDIR)/psetreadssl-psetreadssl.Po"; else rm -f "tests/$(DEPDIR)/psetreadssl-psetreadssl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetreadssl.c' object='tests/psetreadssl-psetreadssl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetreadssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetreadssl-psetreadssl.obj `if test -f 'tests/psetreadssl.c'; then $(CYGPATH_W) 'tests/psetreadssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetreadssl.c'; fi` tests/psetwrite-psetwrite.o: tests/psetwrite.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.o -MD -MP -MF tests/$(DEPDIR)/psetwrite-psetwrite.Tpo -c -o tests/psetwrite-psetwrite.o `test -f 'tests/psetwrite.c' || echo '$(srcdir)/'`tests/psetwrite.c - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetwrite-psetwrite.Tpo tests/$(DEPDIR)/psetwrite-psetwrite.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.o -MD -MP -MF "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" -c -o tests/psetwrite-psetwrite.o `test -f 'tests/psetwrite.c' || echo '$(srcdir)/'`tests/psetwrite.c; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" "tests/$(DEPDIR)/psetwrite-psetwrite.Po"; else rm -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetwrite.c' object='tests/psetwrite-psetwrite.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetwrite-psetwrite.o `test -f 'tests/psetwrite.c' || echo '$(srcdir)/'`tests/psetwrite.c tests/psetwrite-psetwrite.obj: tests/psetwrite.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.obj -MD -MP -MF tests/$(DEPDIR)/psetwrite-psetwrite.Tpo -c -o tests/psetwrite-psetwrite.obj `if test -f 'tests/psetwrite.c'; then $(CYGPATH_W) 'tests/psetwrite.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetwrite.c'; fi` - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/psetwrite-psetwrite.Tpo tests/$(DEPDIR)/psetwrite-psetwrite.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/psetwrite-psetwrite.obj -MD -MP -MF "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" -c -o tests/psetwrite-psetwrite.obj `if test -f 'tests/psetwrite.c'; then $(CYGPATH_W) 'tests/psetwrite.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetwrite.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo" "tests/$(DEPDIR)/psetwrite-psetwrite.Po"; else rm -f "tests/$(DEPDIR)/psetwrite-psetwrite.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/psetwrite.c' object='tests/psetwrite-psetwrite.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(psetwrite_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/psetwrite-psetwrite.obj `if test -f 'tests/psetwrite.c'; then $(CYGPATH_W) 'tests/psetwrite.c'; else $(CYGPATH_W) '$(srcdir)/tests/psetwrite.c'; fi` tests/retrieveSIE-retrieveSIE.o: tests/retrieveSIE.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.o -MD -MP -MF tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo -c -o tests/retrieveSIE-retrieveSIE.o `test -f 'tests/retrieveSIE.c' || echo '$(srcdir)/'`tests/retrieveSIE.c - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.o -MD -MP -MF "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" -c -o tests/retrieveSIE-retrieveSIE.o `test -f 'tests/retrieveSIE.c' || echo '$(srcdir)/'`tests/retrieveSIE.c; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIE.c' object='tests/retrieveSIE-retrieveSIE.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIE-retrieveSIE.o `test -f 'tests/retrieveSIE.c' || echo '$(srcdir)/'`tests/retrieveSIE.c tests/retrieveSIE-retrieveSIE.obj: tests/retrieveSIE.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.obj -MD -MP -MF tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo -c -o tests/retrieveSIE-retrieveSIE.obj `if test -f 'tests/retrieveSIE.c'; then $(CYGPATH_W) 'tests/retrieveSIE.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIE.c'; fi` - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIE-retrieveSIE.obj -MD -MP -MF "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" -c -o tests/retrieveSIE-retrieveSIE.obj `if test -f 'tests/retrieveSIE.c'; then $(CYGPATH_W) 'tests/retrieveSIE.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIE.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo" "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIE-retrieveSIE.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIE.c' object='tests/retrieveSIE-retrieveSIE.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIE_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIE-retrieveSIE.obj `if test -f 'tests/retrieveSIE.c'; then $(CYGPATH_W) 'tests/retrieveSIE.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIE.c'; fi` tests/retrieveSIEssl-retrieveSIEssl.o: tests/retrieveSIEssl.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.o -MD -MP -MF tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo -c -o tests/retrieveSIEssl-retrieveSIEssl.o `test -f 'tests/retrieveSIEssl.c' || echo '$(srcdir)/'`tests/retrieveSIEssl.c - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.o -MD -MP -MF "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" -c -o tests/retrieveSIEssl-retrieveSIEssl.o `test -f 'tests/retrieveSIEssl.c' || echo '$(srcdir)/'`tests/retrieveSIEssl.c; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIEssl.c' object='tests/retrieveSIEssl-retrieveSIEssl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIEssl-retrieveSIEssl.o `test -f 'tests/retrieveSIEssl.c' || echo '$(srcdir)/'`tests/retrieveSIEssl.c tests/retrieveSIEssl-retrieveSIEssl.obj: tests/retrieveSIEssl.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.obj -MD -MP -MF tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo -c -o tests/retrieveSIEssl-retrieveSIEssl.obj `if test -f 'tests/retrieveSIEssl.c'; then $(CYGPATH_W) 'tests/retrieveSIEssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIEssl.c'; fi` - at am__fastdepCC_TRUE@ mv -f tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/retrieveSIEssl-retrieveSIEssl.obj -MD -MP -MF "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" -c -o tests/retrieveSIEssl-retrieveSIEssl.obj `if test -f 'tests/retrieveSIEssl.c'; then $(CYGPATH_W) 'tests/retrieveSIEssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIEssl.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo" "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Po"; else rm -f "tests/$(DEPDIR)/retrieveSIEssl-retrieveSIEssl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/retrieveSIEssl.c' object='tests/retrieveSIEssl-retrieveSIEssl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(retrieveSIEssl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/retrieveSIEssl-retrieveSIEssl.obj `if test -f 'tests/retrieveSIEssl.c'; then $(CYGPATH_W) 'tests/retrieveSIEssl.c'; else $(CYGPATH_W) '$(srcdir)/tests/retrieveSIEssl.c'; fi` .cpp.o: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ - at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ + at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cpp.obj: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ - at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ - at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ + at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ - at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ + at am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< @@ -927,9 +929,10 @@ distclean-libtool: -rm -f libtool +uninstall-info-am: install-adminincDATA: $(admininc_DATA) @$(NORMAL_INSTALL) - test -z "$(adminincdir)" || $(MKDIR_P) "$(DESTDIR)$(adminincdir)" + test -z "$(adminincdir)" || $(mkdir_p) "$(DESTDIR)$(adminincdir)" @list='$(admininc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -946,7 +949,7 @@ done install-admsslincDATA: $(admsslinc_DATA) @$(NORMAL_INSTALL) - test -z "$(admsslincdir)" || $(MKDIR_P) "$(DESTDIR)$(admsslincdir)" + test -z "$(admsslincdir)" || $(mkdir_p) "$(DESTDIR)$(admsslincdir)" @list='$(admsslinc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -963,7 +966,7 @@ done install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" + test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -980,7 +983,7 @@ done install-pkgdataDATA: $(pkgdata_DATA) @$(NORMAL_INSTALL) - test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" + test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)" @list='$(pkgdata_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -1045,9 +1048,9 @@ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags check-TESTS: $(TESTS) - @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ srcdir=$(srcdir); export srcdir; \ - list=' $(TESTS) '; \ + list='$(TESTS)'; \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ @@ -1056,7 +1059,7 @@ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ - *$$ws$$tst$$ws*) \ + *" $$tst "*) \ xpass=`expr $$xpass + 1`; \ failed=`expr $$failed + 1`; \ echo "XPASS: $$tst"; \ @@ -1068,7 +1071,7 @@ elif test $$? -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ - *$$ws$$tst$$ws*) \ + *" $$tst "*) \ xfail=`expr $$xfail + 1`; \ echo "XFAIL: $$tst"; \ ;; \ @@ -1119,22 +1122,24 @@ distdir: $(DISTFILES) $(am__remove_distdir) - test -d $(distdir) || mkdir $(distdir) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ + mkdir $(distdir) + $(mkdir_p) $(distdir)/. $(distdir)/lib/libadminutil $(distdir)/m4 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -1148,7 +1153,7 @@ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz @@ -1223,7 +1228,7 @@ $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ @@ -1249,7 +1254,7 @@ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(adminincdir)" "$(DESTDIR)$(admsslincdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgdatadir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am @@ -1308,20 +1313,12 @@ install-data-am: install-adminincDATA install-admsslincDATA \ install-pkgconfigDATA install-pkgdataDATA -install-dvi: install-dvi-am - install-exec-am: install-libLTLIBRARIES -install-html: install-html-am - install-info: install-info-am install-man: -install-pdf: install-pdf-am - -install-ps: install-ps-am - installcheck-am: maintainer-clean: maintainer-clean-am @@ -1345,10 +1342,8 @@ ps-am: uninstall-am: uninstall-adminincDATA uninstall-admsslincDATA \ - uninstall-libLTLIBRARIES uninstall-pkgconfigDATA \ - uninstall-pkgdataDATA - -.MAKE: install-am install-strip + uninstall-info-am uninstall-libLTLIBRARIES \ + uninstall-pkgconfigDATA uninstall-pkgdataDATA .PHONY: CTAGS GTAGS all all-am am--refresh check check-TESTS check-am \ clean clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \ @@ -1358,16 +1353,15 @@ distclean-libtool distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-adminincDATA install-admsslincDATA install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ + install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-libLTLIBRARIES \ - install-man install-pdf install-pdf-am install-pkgconfigDATA \ - install-pkgdataDATA install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-adminincDATA uninstall-admsslincDATA \ - uninstall-am uninstall-libLTLIBRARIES uninstall-pkgconfigDATA \ + install-man install-pkgconfigDATA install-pkgdataDATA \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-adminincDATA \ + uninstall-admsslincDATA uninstall-am uninstall-info-am \ + uninstall-libLTLIBRARIES uninstall-pkgconfigDATA \ uninstall-pkgdataDATA Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminutil/aclocal.m4,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- aclocal.m4 21 Jun 2007 21:28:00 -0000 1.6 +++ aclocal.m4 21 Jun 2007 23:05:05 -0000 1.7 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.10 -*- Autoconf -*- +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006 Free Software Foundation, Inc. +# 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,11 +11,6 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -m4_if(m4_PACKAGE_VERSION, [2.60],, -[m4_fatal([this file was generated for autoconf 2.60. -You have another version of autoconf. If you want to use that, -you should regenerate the build system entirely.], [63])]) - # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 AC_PROG_LIBTOOL @@ -1583,10 +1578,27 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4293,6 +4305,9 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -4426,11 +4441,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) +predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) +postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -4442,7 +4457,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4522,7 +4537,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6358,6 +6373,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6390,10 +6406,11 @@ done ]) SED=$lt_cv_path_SED +AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) -# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6403,29 +6420,14 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.10' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.10], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.10])dnl -_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) + [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- @@ -6482,14 +6484,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -6498,10 +6500,8 @@ [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' @@ -6515,14 +6515,15 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 9 +# serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -6550,7 +6551,6 @@ ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) @@ -6616,7 +6616,6 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -6669,8 +6668,7 @@ AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- @@ -6695,9 +6693,8 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue @@ -6744,8 +6741,8 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6768,20 +6765,16 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.60])dnl +[AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath @@ -6801,9 +6794,6 @@ AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl @@ -6839,10 +6829,6 @@ [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) @@ -6878,7 +6864,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} +install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -6983,14 +6969,13 @@ rm -f confinc confmf ]) -# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 -# Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# serial 3 # AM_PROG_CC_C_O # -------------- @@ -6998,7 +6983,6 @@ AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([compile])dnl # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC @@ -7011,22 +6995,18 @@ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi -dnl Make sure AC_PROG_CC is never called again, or it will override our -dnl setting of CC. -m4_define([AC_PROG_CC], - [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -7042,7 +7022,6 @@ # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then @@ -7053,7 +7032,7 @@ fi ]) -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -7061,23 +7040,60 @@ # AM_PROG_MKDIR_P # --------------- -# Check for `mkdir -p'. +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. +# +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- @@ -7189,21 +7205,9 @@ if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN([_AM_SUBST_NOTMAKE]) - # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. Index: config.guess =================================================================== RCS file: /cvs/dirsec/adminutil/config.guess,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- config.guess 21 Jun 2007 21:28:00 -0000 1.5 +++ config.guess 21 Jun 2007 23:05:05 -0000 1.6 @@ -1,10 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-07-02' +timestamp='2005-07-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -107,7 +106,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -207,11 +206,8 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} + echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -768,14 +764,7 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -790,11 +779,8 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[3456]*) - echo x86_64-unknown-interix${UNAME_RELEASE} + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -808,7 +794,7 @@ i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + amd64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) @@ -831,9 +817,6 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -868,11 +851,7 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -891,16 +870,9 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; @@ -944,9 +916,6 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; @@ -992,7 +961,7 @@ LIBC=gnulibc1 # endif #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) + #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout @@ -1002,11 +971,7 @@ LIBC=dietlibc #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1217,6 +1182,7 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in + *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1295,9 +1261,6 @@ i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 Index: config.sub =================================================================== RCS file: /cvs/dirsec/adminutil/config.sub,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- config.sub 21 Jun 2007 21:28:00 -0000 1.5 +++ config.sub 21 Jun 2007 23:05:05 -0000 1.6 @@ -1,10 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-09-20' +timestamp='2005-07-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -120,9 +119,8 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ - storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -173,10 +171,6 @@ -hiux*) os=-hiuxwe2 ;; - -sco6) - os=-sco5v6 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -193,10 +187,6 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -241,7 +231,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -249,8 +239,7 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -268,27 +257,28 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ - | mt \ + | ms1 \ | msp430 \ - | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | score \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b \ + | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; + m32c) + basic_machine=$basic_machine-unknown + ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -296,9 +286,6 @@ ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; - ms1) - basic_machine=mt-unknown - ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -318,7 +305,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ + | avr-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -329,7 +316,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32c-* | m32r-* | m32rle-* \ + | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -349,30 +336,31 @@ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ - | mt-* \ + | ms1-* \ | msp430-* \ - | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; + m32c-*) + ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -708,9 +696,6 @@ basic_machine=i386-pc os=-msdos ;; - ms1-*) - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` - ;; mvs) basic_machine=i370-ibm os=-mvs @@ -818,12 +803,6 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -880,10 +859,6 @@ basic_machine=i586-unknown os=-pw32 ;; - rdos) - basic_machine=i386-pc - os=-rdos - ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -910,10 +885,6 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; sei) basic_machine=mips-sei os=-seiux @@ -1130,7 +1101,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) @@ -1203,23 +1174,21 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1371,12 +1340,6 @@ # system, and we'll never get to this point. case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; *-acorn) os=-riscix1.2 ;; @@ -1386,9 +1349,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.6 -r 1.7 configure Index: configure =================================================================== RCS file: /cvs/dirsec/adminutil/configure,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- configure 21 Jun 2007 21:28:00 -0000 1.6 +++ configure 21 Jun 2007 23:05:05 -0000 1.7 @@ -1,11 +1,10 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.60 for adminutil 1.1.1. +# Generated by GNU Autoconf 2.59 for adminutil 1.1.1. # # Report bugs to . # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -19,35 +18,11 @@ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix fi -BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset @@ -56,43 +31,8 @@ fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - # Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done +$as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' @@ -106,19 +46,18 @@ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + $as_unset $as_var fi done # Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then +if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false @@ -126,386 +65,157 @@ # Name of the executable. -as_me=`$as_basename -- "$0" || +as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi -if as_func_ret_success; then [...15782 lines suppressed...] +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 +echo "$as_me: executing $ac_dest commands" >&6;} + case $ac_dest in + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. @@ -26696,32 +25081,20 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || + X"$mf" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` else continue fi @@ -26743,79 +25116,53 @@ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || + fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || + X"$file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir=$dirpart/$fdir - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p $dirpart/$fdir + else + as_dir=$dirpart/$fdir as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } + # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; - esac -done # for ac_tag +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF Index: depcomp =================================================================== RCS file: /cvs/dirsec/adminutil/depcomp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- depcomp 21 Jun 2007 21:28:00 -0000 1.5 +++ depcomp 21 Jun 2007 23:05:05 -0000 1.6 @@ -1,10 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2006-10-15.18 +scriptversion=2005-07-09.11 -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software -# Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -92,20 +91,7 @@ ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else @@ -290,46 +276,6 @@ rm -f "$tmpdepfile" ;; -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -342,13 +288,13 @@ if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to + # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and + # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is Index: install-sh =================================================================== RCS file: /cvs/dirsec/adminutil/install-sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- install-sh 21 Jun 2007 21:28:00 -0000 1.5 +++ install-sh 21 Jun 2007 23:05:05 -0000 1.6 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2006-10-14.15 +scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -39,24 +39,15 @@ # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. - -nl=' -' -IFS=" "" $nl" +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi -# Put in absolute file names if you don't have them in your path; -# or use environment vars. +# put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" @@ -67,13 +58,7 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -posix_glob= -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chmodcmd=$chmodprog +chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= @@ -110,7 +95,7 @@ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " -while test $# -ne 0; do +while test -n "$1"; do case $1 in -c) shift continue;; @@ -126,15 +111,9 @@ --help) echo "$usage"; exit $?;; - -m) mode=$2 + -m) chmodcmd="$chmodprog $2" shift shift - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac continue;; -o) chowncmd="$chownprog $2" @@ -157,33 +136,25 @@ --version) echo "$0 $scriptversion"; exit $?;; - --) shift + *) # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; esac done -if test $# -ne 0 && test -z "$dir_arg$dstarg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done -fi - -if test $# -eq 0; then +if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 @@ -193,33 +164,6 @@ exit 0 fi -if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *[0-7]) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - for src do # Protect names starting with `-'. @@ -229,11 +173,15 @@ if test -n "$dir_arg"; then dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else + src= + if test -d "$dst"; then + mkdircmd=: + chmodcmd= + else + mkdircmd=$mkdirprog + fi + else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. @@ -260,188 +208,53 @@ echo "$0: $dstarg: Is a directory" >&2 exit 1 fi - dstdir=$dst - dst=$dstdir/`basename "$src"` - dstdir_status=0 - else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$dst" : 'X\(//\)[^/]' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - - test -d "$dstdir" - dstdir_status=$? + dst=$dst/`basename "$src"` fi fi - obsolete_mkdir_used=false + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writeable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; - esac + # Make sure that the destination directory exists. - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + shift + IFS=$oIFS - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix=/ ;; - -*) prefix=./ ;; - *) prefix= ;; - esac - - case $posix_glob in - '') - if (set -f) 2>/dev/null; then - posix_glob=true - else - posix_glob=false - fi ;; - esac - - oIFS=$IFS - IFS=/ - $posix_glob && set -f - set fnord $dstdir - shift - $posix_glob && set +f - IFS=$oIFS + pathcomp= - prefixes= - - for d - do - test -z "$d" && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test -d "$pathcomp" || exit fi - fi + pathcomp=$pathcomp/ + done fi if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + $doit $mkdircmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + else + dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ @@ -449,9 +262,10 @@ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # @@ -462,10 +276,10 @@ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not @@ -477,12 +291,11 @@ # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { - if test -f "$dst"; then - $doit $rmcmd -f "$dst" 2>/dev/null \ - || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ - && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { - echo "$0: cannot unlink or rename $dst" >&2 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else @@ -491,14 +304,17 @@ } && # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } - } || exit 1 - - trap '' 0 - fi + } + fi || { (exit 1); exit 1; } done +# The final little trick to "correctly" pass the exit status to the exit trap. +{ + (exit 0); exit 0 +} + # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" Index: missing =================================================================== RCS file: /cvs/dirsec/adminutil/missing,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- missing 21 Jun 2007 21:28:00 -0000 1.5 +++ missing 21 Jun 2007 23:05:05 -0000 1.6 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2006-05-10.23 +scriptversion=2005-06-08.21 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -33,8 +33,6 @@ fi run=: -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -46,7 +44,7 @@ msg="missing on your system" -case $1 in +case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -79,7 +77,6 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' - autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -109,7 +106,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case $1 in +case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -138,7 +135,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case $1 in +case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -167,7 +164,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case $f in + case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -195,8 +192,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else @@ -217,25 +214,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if test $# -ne 1; then + if [ $# -ne 1 ]; then eval LASTARG="\${$#}" - case $LASTARG in + case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if test ! -f y.tab.h; then + if [ ! -f y.tab.h ]; then echo >y.tab.h fi - if test ! -f y.tab.c; then + if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -247,18 +244,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if test $# -ne 1; then + if [ $# -ne 1 ]; then eval LASTARG="\${$#}" - case $LASTARG in + case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if test ! -f lex.yy.c; then + if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -270,9 +267,11 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` + fi + if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file @@ -290,17 +289,11 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \([^ ]*\) *$/\1/ - p - q - }' $infile` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -324,13 +317,13 @@ fi firstarg="$1" if shift; then - case $firstarg in + case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case $firstarg in + case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 From fedora-directory-commits at redhat.com Thu Jun 21 23:17:56 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 19:17:56 -0400 Subject: [Fedora-directory-commits] mod_admserv compile, NONE, 1.1 Makefile.am, 1.17, 1.18 Makefile.in, 1.24, 1.25 aclocal.m4, 1.16, 1.17 config.guess, 1.7, 1.8 config.sub, 1.7, 1.8 configure, 1.26, 1.27 depcomp, 1.7, 1.8 install-sh, 1.7, 1.8 missing, 1.7, 1.8 mkinstalldirs, 1.7, 1.8 Message-ID: <200706212317.l5LNHufU019622@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/mod_admserv In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19355/mod_admserv Modified Files: Makefile.am Makefile.in aclocal.m4 config.guess config.sub configure depcomp install-sh missing mkinstalldirs Added Files: compile Log Message: Resolves: bug 245212 Bug Description: mod_admserv: Solaris port for 1.1 Fix Description: Fix build breakage on linux - use $(LINK) if not using $(CXXLINK) --- NEW FILE compile --- #! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand `-c -o'. Remove `-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file `INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; esac ofile= cfile= eat= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as `compile cc -o foo foo.c'. # So we strip `-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no `-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # `.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` # Create the lock directory. # Note: use `[/.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/mod_admserv/Makefile.am,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Makefile.am 21 Jun 2007 21:32:56 -0000 1.17 +++ Makefile.am 21 Jun 2007 23:17:48 -0000 1.18 @@ -23,6 +23,8 @@ mod_admserv_la_LIBADD = @adminutil_lib@ -ladminutil at adminutil_ver@ -ladmsslutil at adminutil_ver@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap at ldapsdk_ver@ -lprldap at ldapsdk_ver@ -lldap at ldapsdk_ver@ @nss_lib@ -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBCSTD) $(LIBCRUN) if CXXLINK_REQUIRED mod_admserv_la_LINK = $(CXXLINK) $(mod_admserv_la_LDFLAGS) +else +mod_admserv_la_LINK = $(LINK) $(mod_admserv_la_LDFLAGS) endif # if this module is being built as part of adminserver, Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/mod_admserv/Makefile.in,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- Makefile.in 21 Jun 2007 21:32:56 -0000 1.24 +++ Makefile.in 21 Jun 2007 23:17:48 -0000 1.25 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.10 from Makefile.am. +# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -15,11 +15,15 @@ @SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -34,17 +38,17 @@ build_triplet = @build@ host_triplet = @host@ @CXXLINK_REQUIRED_TRUE at noinst_PROGRAMS = dummy$(EXEEXT) -subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure ChangeLog \ - config.guess config.sub depcomp install-sh ltmain.sh missing \ - mkinstalldirs + compile config.guess config.sub depcomp install-sh ltmain.sh \ + missing mkinstalldirs +subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno + configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; @@ -66,27 +70,25 @@ @CXXLINK_REQUIRED_TRUE at am_dummy_OBJECTS = dummy.$(OBJEXT) dummy_OBJECTS = $(am_dummy_OBJECTS) dummy_LDADD = $(LDADD) -DEFAULT_INCLUDES = -I. at am__isrc@ +DEFAULT_INCLUDES = -I. -I$(srcdir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(mod_admserv_la_SOURCES) $(dummy_SOURCES) DIST_SOURCES = $(mod_admserv_la_SOURCES) $(am__dummy_SOURCES_DIST) ETAGS = etags @@ -103,6 +105,8 @@ distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ APR_CONFIG = @APR_CONFIG@ APXS = @APXS@ @@ -120,6 +124,8 @@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ +CXXLINK_REQUIRED_FALSE = @CXXLINK_REQUIRED_FALSE@ +CXXLINK_REQUIRED_TRUE = @CXXLINK_REQUIRED_TRUE@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -131,9 +137,9 @@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ -GREP = @GREP@ +HAVE_ADMINSERVER_FALSE = @HAVE_ADMINSERVER_FALSE@ +HAVE_ADMINSERVER_TRUE = @HAVE_ADMINSERVER_TRUE@ ICU_CONFIG = @ICU_CONFIG@ -INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -147,7 +153,6 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -158,20 +163,24 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ adminutil_inc = @adminutil_inc@ adminutil_lib = @adminutil_lib@ adminutil_ver = @adminutil_ver@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -188,11 +197,7 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ -builddir = @builddir@ datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ exec_prefix = @exec_prefix@ extra_cppflags = @extra_cppflags@ host = @host@ @@ -200,7 +205,6 @@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ -htmldir = @htmldir@ icu_lib = @icu_lib@ includedir = @includedir@ infodir = @infodir@ @@ -210,7 +214,6 @@ ldapsdk_ver = @ldapsdk_ver@ libdir = @libdir@ libexecdir = @libexecdir@ -localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ @@ -223,18 +226,13 @@ nss_inc = @nss_inc@ nss_lib = @nss_lib@ oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ platform_defs = @platform_defs@ prefix = @prefix@ program_transform_name = @program_transform_name@ -psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ @CXXLINK_REQUIRED_TRUE at dummy_SOURCES = dummy.cpp @CXXLINK_REQUIRED_TRUE at dummy_LINK = $(CXXLINK) mod_LTLIBRARIES = mod_admserv.la @@ -242,6 +240,7 @@ mod_admserv_la_CPPFLAGS = $(AM_CPPFLAGS) -I at apache_inc@ @apr_inc@ @adminutil_inc@ @nspr_inc@ @ldapsdk_inc@ @nss_inc@ @extra_cppflags@ mod_admserv_la_LDFLAGS = -module -avoid-version mod_admserv_la_LIBADD = @adminutil_lib@ -ladminutil at adminutil_ver@ -ladmsslutil at adminutil_ver@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap at ldapsdk_ver@ -lprldap at ldapsdk_ver@ -lldap at ldapsdk_ver@ @nss_lib@ -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBCSTD) $(LIBCRUN) + at CXXLINK_REQUIRED_FALSE@mod_admserv_la_LINK = $(LINK) $(mod_admserv_la_LDFLAGS) @CXXLINK_REQUIRED_TRUE at mod_admserv_la_LINK = $(CXXLINK) $(mod_admserv_la_LDFLAGS) all: all-am @@ -282,7 +281,7 @@ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) install-modLTLIBRARIES: $(mod_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(moddir)" || $(MKDIR_P) "$(DESTDIR)$(moddir)" + test -z "$(moddir)" || $(mkdir_p) "$(DESTDIR)$(moddir)" @list='$(mod_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ @@ -293,7 +292,7 @@ uninstall-modLTLIBRARIES: @$(NORMAL_UNINSTALL) - @list='$(mod_LTLIBRARIES)'; for p in $$list; do \ + @set -x; list='$(mod_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(moddir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(moddir)/$$p"; \ @@ -308,7 +307,7 @@ rm -f "$${dir}/so_locations"; \ done mod_admserv.la: $(mod_admserv_la_OBJECTS) $(mod_admserv_la_DEPENDENCIES) - $(mod_admserv_la_LINK) -rpath $(moddir) $(mod_admserv_la_OBJECTS) $(mod_admserv_la_LIBADD) $(LIBS) + $(mod_admserv_la_LINK) -rpath $(moddir) $(mod_admserv_la_LDFLAGS) $(mod_admserv_la_OBJECTS) $(mod_admserv_la_LIBADD) $(LIBS) clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ @@ -318,7 +317,7 @@ done dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) @rm -f dummy$(EXEEXT) - $(dummy_LINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS) + $(dummy_LINK) $(dummy_LDFLAGS) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -330,50 +329,50 @@ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mod_admserv_la-mod_admserv.Plo at am__quote@ .c.o: - at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: - at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + at am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mod_admserv_la-mod_admserv.lo: mod_admserv.c - at am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mod_admserv_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mod_admserv_la-mod_admserv.lo -MD -MP -MF $(DEPDIR)/mod_admserv_la-mod_admserv.Tpo -c -o mod_admserv_la-mod_admserv.lo `test -f 'mod_admserv.c' || echo '$(srcdir)/'`mod_admserv.c - at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/mod_admserv_la-mod_admserv.Tpo $(DEPDIR)/mod_admserv_la-mod_admserv.Plo + at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mod_admserv_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mod_admserv_la-mod_admserv.lo -MD -MP -MF "$(DEPDIR)/mod_admserv_la-mod_admserv.Tpo" -c -o mod_admserv_la-mod_admserv.lo `test -f 'mod_admserv.c' || echo '$(srcdir)/'`mod_admserv.c; \ + at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/mod_admserv_la-mod_admserv.Tpo" "$(DEPDIR)/mod_admserv_la-mod_admserv.Plo"; else rm -f "$(DEPDIR)/mod_admserv_la-mod_admserv.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mod_admserv.c' object='mod_admserv_la-mod_admserv.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mod_admserv_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mod_admserv_la-mod_admserv.lo `test -f 'mod_admserv.c' || echo '$(srcdir)/'`mod_admserv.c + at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mod_admserv_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mod_admserv_la-mod_admserv.lo `test -f 'mod_admserv.c' || echo '$(srcdir)/'`mod_admserv.c .cpp.o: - at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + at am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cpp.obj: - at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: - at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + at am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + at am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< @@ -386,6 +385,7 @@ distclean-libtool: -rm -f libtool +uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -437,22 +437,23 @@ distdir: $(DISTFILES) $(am__remove_distdir) - test -d $(distdir) || mkdir $(distdir) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ + mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -466,7 +467,7 @@ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz @@ -541,7 +542,7 @@ $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ @@ -565,7 +566,7 @@ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(moddir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am @@ -615,20 +616,12 @@ install-data-am: install-modLTLIBRARIES -install-dvi: install-dvi-am - install-exec-am: -install-html: install-html-am - install-info: install-info-am install-man: -install-pdf: install-pdf-am - -install-ps: install-ps-am - installcheck-am: maintainer-clean: maintainer-clean-am @@ -651,9 +644,7 @@ ps-am: -uninstall-am: uninstall-modLTLIBRARIES - -.MAKE: install-am install-strip +uninstall-am: uninstall-info-am uninstall-modLTLIBRARIES .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ clean-generic clean-libtool clean-modLTLIBRARIES \ @@ -662,15 +653,14 @@ distclean-compile distclean-generic distclean-libtool \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ + install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man \ - install-modLTLIBRARIES install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-modLTLIBRARIES + install-modLTLIBRARIES install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-info-am \ + uninstall-modLTLIBRARIES # if this module is being built as part of adminserver, Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/mod_admserv/aclocal.m4,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- aclocal.m4 21 Jun 2007 21:32:56 -0000 1.16 +++ aclocal.m4 21 Jun 2007 23:17:48 -0000 1.17 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.10 -*- Autoconf -*- +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006 Free Software Foundation, Inc. +# 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,11 +11,6 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -m4_if(m4_PACKAGE_VERSION, [2.60],, -[m4_fatal([this file was generated for autoconf 2.60. -You have another version of autoconf. If you want to use that, -you should regenerate the build system entirely.], [63])]) - # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 AC_PROG_LIBTOOL @@ -1583,10 +1578,27 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4293,6 +4305,9 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -4426,11 +4441,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) +predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) +postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -4442,7 +4457,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4522,7 +4537,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6358,6 +6373,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6390,10 +6406,11 @@ done ]) SED=$lt_cv_path_SED +AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) -# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6403,29 +6420,14 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.10' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.10], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.10])dnl -_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) + [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- @@ -6482,14 +6484,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -6498,10 +6500,8 @@ [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' @@ -6515,14 +6515,15 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 9 +# serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -6550,7 +6551,6 @@ ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) @@ -6616,7 +6616,6 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -6669,8 +6668,7 @@ AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- @@ -6695,9 +6693,8 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue @@ -6744,8 +6741,8 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6768,20 +6765,16 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.60])dnl +[AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath @@ -6801,9 +6794,6 @@ AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl @@ -6839,10 +6829,6 @@ [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) @@ -6878,7 +6864,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} +install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -6956,14 +6942,14 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -6979,7 +6965,6 @@ # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then @@ -6990,7 +6975,7 @@ fi ]) -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6998,23 +6983,60 @@ # AM_PROG_MKDIR_P # --------------- -# Check for `mkdir -p'. +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. +# +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- @@ -7126,21 +7148,9 @@ if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN([_AM_SUBST_NOTMAKE]) - # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. Index: config.guess =================================================================== RCS file: /cvs/dirsec/mod_admserv/config.guess,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- config.guess 21 Jun 2007 21:32:56 -0000 1.7 +++ config.guess 21 Jun 2007 23:17:48 -0000 1.8 @@ -1,10 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-07-02' +timestamp='2005-07-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -107,7 +106,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -207,11 +206,8 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} + echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -768,14 +764,7 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -790,11 +779,8 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[3456]*) - echo x86_64-unknown-interix${UNAME_RELEASE} + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -808,7 +794,7 @@ i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + amd64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) @@ -831,9 +817,6 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -868,11 +851,7 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -891,16 +870,9 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; @@ -944,9 +916,6 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; @@ -992,7 +961,7 @@ LIBC=gnulibc1 # endif #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) + #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout @@ -1002,11 +971,7 @@ LIBC=dietlibc #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1217,6 +1182,7 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in + *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1295,9 +1261,6 @@ i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 Index: config.sub =================================================================== RCS file: /cvs/dirsec/mod_admserv/config.sub,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- config.sub 21 Jun 2007 21:32:56 -0000 1.7 +++ config.sub 21 Jun 2007 23:17:48 -0000 1.8 @@ -1,10 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-09-20' +timestamp='2005-07-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -120,9 +119,8 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ - storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -173,10 +171,6 @@ -hiux*) os=-hiuxwe2 ;; - -sco6) - os=-sco5v6 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -193,10 +187,6 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -241,7 +231,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -249,8 +239,7 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -268,27 +257,28 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ - | mt \ + | ms1 \ | msp430 \ - | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | score \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b \ + | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; + m32c) + basic_machine=$basic_machine-unknown + ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -296,9 +286,6 @@ ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; - ms1) - basic_machine=mt-unknown - ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -318,7 +305,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ + | avr-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -329,7 +316,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32c-* | m32r-* | m32rle-* \ + | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -349,30 +336,31 @@ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ - | mt-* \ + | ms1-* \ | msp430-* \ - | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; + m32c-*) + ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -708,9 +696,6 @@ basic_machine=i386-pc os=-msdos ;; - ms1-*) - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` - ;; mvs) basic_machine=i370-ibm os=-mvs @@ -818,12 +803,6 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -880,10 +859,6 @@ basic_machine=i586-unknown os=-pw32 ;; - rdos) - basic_machine=i386-pc - os=-rdos - ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -910,10 +885,6 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; sei) basic_machine=mips-sei os=-seiux @@ -1130,7 +1101,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) @@ -1203,23 +1174,21 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1371,12 +1340,6 @@ # system, and we'll never get to this point. case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; *-acorn) os=-riscix1.2 ;; @@ -1386,9 +1349,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.26 -r 1.27 configure Index: configure =================================================================== RCS file: /cvs/dirsec/mod_admserv/configure,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- configure 21 Jun 2007 21:32:56 -0000 1.26 +++ configure 21 Jun 2007 23:17:48 -0000 1.27 @@ -1,9 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.60 for mod_admserv 1.0. +# Generated by GNU Autoconf 2.59 for mod_admserv 1.0. # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -17,35 +16,11 @@ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix fi -BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset @@ -54,43 +29,8 @@ fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - # Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done +$as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' @@ -104,19 +44,18 @@ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + $as_unset $as_var fi done # Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then +if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false @@ -124,386 +63,157 @@ # Name of the executable. -as_me=`$as_basename -- "$0" || +as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi -if as_func_ret_success; then - : -else [...11569 lines suppressed...] + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 +echo "$as_me: executing $ac_dest commands" >&6;} + case $ac_dest in + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. @@ -22347,32 +21164,20 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || + X"$mf" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` else continue fi @@ -22394,79 +21199,53 @@ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || + fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || + X"$file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir=$dirpart/$fdir - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p $dirpart/$fdir + else + as_dir=$dirpart/$fdir as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } + # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; - esac -done # for ac_tag +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF Index: depcomp =================================================================== RCS file: /cvs/dirsec/mod_admserv/depcomp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- depcomp 21 Jun 2007 21:32:56 -0000 1.7 +++ depcomp 21 Jun 2007 23:17:48 -0000 1.8 @@ -1,10 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2006-10-15.18 +scriptversion=2005-07-09.11 -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software -# Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -92,20 +91,7 @@ ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else @@ -290,46 +276,6 @@ rm -f "$tmpdepfile" ;; -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -342,13 +288,13 @@ if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to + # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and + # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is Index: install-sh =================================================================== RCS file: /cvs/dirsec/mod_admserv/install-sh,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- install-sh 21 Jun 2007 21:32:56 -0000 1.7 +++ install-sh 21 Jun 2007 23:17:48 -0000 1.8 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2006-10-14.15 +scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -39,24 +39,15 @@ # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. - -nl=' -' -IFS=" "" $nl" +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi -# Put in absolute file names if you don't have them in your path; -# or use environment vars. +# put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" @@ -67,13 +58,7 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -posix_glob= -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chmodcmd=$chmodprog +chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= @@ -110,7 +95,7 @@ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " -while test $# -ne 0; do +while test -n "$1"; do case $1 in -c) shift continue;; @@ -126,15 +111,9 @@ --help) echo "$usage"; exit $?;; - -m) mode=$2 + -m) chmodcmd="$chmodprog $2" shift shift - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac continue;; -o) chowncmd="$chownprog $2" @@ -157,33 +136,25 @@ --version) echo "$0 $scriptversion"; exit $?;; - --) shift + *) # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; esac done -if test $# -ne 0 && test -z "$dir_arg$dstarg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done -fi - -if test $# -eq 0; then +if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 @@ -193,33 +164,6 @@ exit 0 fi -if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *[0-7]) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - for src do # Protect names starting with `-'. @@ -229,11 +173,15 @@ if test -n "$dir_arg"; then dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else + src= + if test -d "$dst"; then + mkdircmd=: + chmodcmd= + else + mkdircmd=$mkdirprog + fi + else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. @@ -260,188 +208,53 @@ echo "$0: $dstarg: Is a directory" >&2 exit 1 fi - dstdir=$dst - dst=$dstdir/`basename "$src"` - dstdir_status=0 - else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$dst" : 'X\(//\)[^/]' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - - test -d "$dstdir" - dstdir_status=$? + dst=$dst/`basename "$src"` fi fi - obsolete_mkdir_used=false + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writeable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; - esac + # Make sure that the destination directory exists. - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + shift + IFS=$oIFS - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix=/ ;; - -*) prefix=./ ;; - *) prefix= ;; - esac - - case $posix_glob in - '') - if (set -f) 2>/dev/null; then - posix_glob=true - else - posix_glob=false - fi ;; - esac - - oIFS=$IFS - IFS=/ - $posix_glob && set -f - set fnord $dstdir - shift - $posix_glob && set +f - IFS=$oIFS + pathcomp= - prefixes= - - for d - do - test -z "$d" && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test -d "$pathcomp" || exit fi - fi + pathcomp=$pathcomp/ + done fi if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + $doit $mkdircmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + else + dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ @@ -449,9 +262,10 @@ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # @@ -462,10 +276,10 @@ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not @@ -477,12 +291,11 @@ # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { - if test -f "$dst"; then - $doit $rmcmd -f "$dst" 2>/dev/null \ - || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ - && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { - echo "$0: cannot unlink or rename $dst" >&2 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else @@ -491,14 +304,17 @@ } && # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } - } || exit 1 - - trap '' 0 - fi + } + fi || { (exit 1); exit 1; } done +# The final little trick to "correctly" pass the exit status to the exit trap. +{ + (exit 0); exit 0 +} + # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" Index: missing =================================================================== RCS file: /cvs/dirsec/mod_admserv/missing,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- missing 21 Jun 2007 21:32:56 -0000 1.7 +++ missing 21 Jun 2007 23:17:48 -0000 1.8 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2006-05-10.23 +scriptversion=2005-06-08.21 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -33,8 +33,6 @@ fi run=: -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -46,7 +44,7 @@ msg="missing on your system" -case $1 in +case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -79,7 +77,6 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' - autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -109,7 +106,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case $1 in +case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -138,7 +135,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case $1 in +case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -167,7 +164,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case $f in + case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -195,8 +192,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else @@ -217,25 +214,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if test $# -ne 1; then + if [ $# -ne 1 ]; then eval LASTARG="\${$#}" - case $LASTARG in + case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if test ! -f y.tab.h; then + if [ ! -f y.tab.h ]; then echo >y.tab.h fi - if test ! -f y.tab.c; then + if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -247,18 +244,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if test $# -ne 1; then + if [ $# -ne 1 ]; then eval LASTARG="\${$#}" - case $LASTARG in + case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if test ! -f lex.yy.c; then + if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -270,9 +267,11 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` + fi + if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file @@ -290,17 +289,11 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \([^ ]*\) *$/\1/ - p - q - }' $infile` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -324,13 +317,13 @@ fi firstarg="$1" if shift; then - case $firstarg in + case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case $firstarg in + case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 Index: mkinstalldirs =================================================================== RCS file: /cvs/dirsec/mod_admserv/mkinstalldirs,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- mkinstalldirs 21 Jun 2007 21:32:56 -0000 1.7 +++ mkinstalldirs 21 Jun 2007 23:17:48 -0000 1.8 @@ -1,7 +1,7 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -scriptversion=2006-05-11.19 +scriptversion=2005-06-29.22 # Original author: Noah Friedman # Created: 1993-05-16 @@ -11,9 +11,6 @@ # bugs to or send patches to # . -nl=' -' -IFS=" "" $nl" errstatus=0 dirmode= From fedora-directory-commits at redhat.com Fri Jun 22 01:34:21 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 21:34:21 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cfgstuff console.conf.in, 1.1, 1.2 Message-ID: <200706220134.l5M1YLIw001199@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/cfgstuff In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1096/adminserver/admserv/cfgstuff Modified Files: console.conf.in Log Message: Resolves: bug 245214 Bug Description: adminserver: Solaris port for 1.1 Reviewed by: nhosoi (Thanks!) Fix Description: Fortitude can supply different components, depending on the operating system. On Fedora, mod_nss and Apache are already there, so we don't use Fortitude. On RHEL4, we use Fortitude for mod_nss. On Solaris, we use Fortitude for Apache and mod_nss. I've created a fortitude.m4 that can handle all of these cases, and changed the existing httpd.m4 and mod_nss.m4 to first see if fortitude.m4 has found the component. configure will also pass the proper --with flags to mod_admserv and mod_restartd. ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. There were a few other minor porting issues which required the additional compiler defines and use of config.h. We need to set the libpath before using the @cgibindir@/config program. LIBPATH was not being set correctly on Solaris because I was using the extended sort flags instead of the standard ones. Platforms tested: Solaris 9 64bit Flag Day: no Doc impact: no Index: console.conf.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cfgstuff/console.conf.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- console.conf.in 9 May 2007 00:26:30 -0000 1.1 +++ console.conf.in 22 Jun 2007 01:34:19 -0000 1.2 @@ -74,7 +74,7 @@ # # To allow connections to IPv6 addresses add "Listen [::]:80" # -Listen @admservport@ +Listen 0.0.0.0:@admservport@ # SSL Engine Switch: # Enable/Disable SSL for this virtual host. From fedora-directory-commits at redhat.com Fri Jun 22 01:34:21 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 21:34:21 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cgi-src40 config.c, 1.10, 1.11 help.c, 1.8, 1.9 Message-ID: <200706220134.l5M1YL46001211@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/cgi-src40 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1096/adminserver/admserv/cgi-src40 Modified Files: config.c help.c Log Message: Resolves: bug 245214 Bug Description: adminserver: Solaris port for 1.1 Reviewed by: nhosoi (Thanks!) Fix Description: Fortitude can supply different components, depending on the operating system. On Fedora, mod_nss and Apache are already there, so we don't use Fortitude. On RHEL4, we use Fortitude for mod_nss. On Solaris, we use Fortitude for Apache and mod_nss. I've created a fortitude.m4 that can handle all of these cases, and changed the existing httpd.m4 and mod_nss.m4 to first see if fortitude.m4 has found the component. configure will also pass the proper --with flags to mod_admserv and mod_restartd. ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. There were a few other minor porting issues which required the additional compiler defines and use of config.h. We need to set the libpath before using the @cgibindir@/config program. LIBPATH was not being set correctly on Solaris because I was using the extended sort flags instead of the standard ones. Platforms tested: Solaris 9 64bit Flag Day: no Doc impact: no Index: config.c =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cgi-src40/config.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- config.c 15 May 2007 00:30:49 -0000 1.10 +++ config.c 22 Jun 2007 01:34:19 -0000 1.11 @@ -523,7 +523,7 @@ if (valptr && valptr[0] ) { PR_snprintf(line, sizeof(line), "%s:%s", valptr, ptr); } else { - PR_snprintf(line, sizeof(line), "%s", ptr); + PR_snprintf(line, sizeof(line), "0.0.0.0:%s", ptr); } err = update_conf("console.conf", "Listen", line); PL_strfree(val); Index: help.c =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cgi-src40/help.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- help.c 9 May 2007 00:26:30 -0000 1.8 +++ help.c 22 Jun 2007 01:34:19 -0000 1.9 @@ -33,6 +33,7 @@ #include #include #include +#include #ifdef XP_UNIX # include From fedora-directory-commits at redhat.com Fri Jun 22 01:34:22 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 21:34:22 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src AdminServer.pm.in, 1.2, 1.3 Message-ID: <200706220134.l5M1YMjA001219@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1096/adminserver/admserv/newinst/src Modified Files: AdminServer.pm.in Log Message: Resolves: bug 245214 Bug Description: adminserver: Solaris port for 1.1 Reviewed by: nhosoi (Thanks!) Fix Description: Fortitude can supply different components, depending on the operating system. On Fedora, mod_nss and Apache are already there, so we don't use Fortitude. On RHEL4, we use Fortitude for mod_nss. On Solaris, we use Fortitude for Apache and mod_nss. I've created a fortitude.m4 that can handle all of these cases, and changed the existing httpd.m4 and mod_nss.m4 to first see if fortitude.m4 has found the component. configure will also pass the proper --with flags to mod_admserv and mod_restartd. ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. There were a few other minor porting issues which required the additional compiler defines and use of config.h. We need to set the libpath before using the @cgibindir@/config program. LIBPATH was not being set correctly on Solaris because I was using the extended sort flags instead of the standard ones. Platforms tested: Solaris 9 64bit Flag Day: no Doc impact: no Index: AdminServer.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/AdminServer.pm.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AdminServer.pm.in 20 Jun 2007 16:35:02 -0000 1.2 +++ AdminServer.pm.in 22 Jun 2007 01:34:19 -0000 1.3 @@ -299,6 +299,10 @@ my $admConf = getAdmConf($configdir); my $user = $admConf->{sysuser}; + # this is required on some platforms in order to execute the config command + my $savepath = $ENV{SHLIB_PATH} || $ENV{LD_LIBRARY_PATH}; + $ENV{LD_LIBRARY_PATH} = "@LIBPATH@:$savepath"; + $ENV{SHLIB_PATH} = $ENV{LD_LIBRARY_PATH}; my $cmd = "@cgibindir@/config op=set configuration.nsSuiteSpotUser=\"$user\""; if ($port != $origport) { # need to change the port number $cmd .= " configuration.nsServerPort=\"$port\""; @@ -308,9 +312,13 @@ } if (system($cmd)) { + $ENV{LD_LIBRARY_PATH} = $savepath; + $ENV{SHLIB_PATH} = $savepath; return 0; } + $ENV{LD_LIBRARY_PATH} = $savepath; + $ENV{SHLIB_PATH} = $savepath; return 1; } From fedora-directory-commits at redhat.com Fri Jun 22 01:34:22 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 21:34:22 -0400 Subject: [Fedora-directory-commits] adminserver/lib/base nscputil.cpp, 1.2, 1.3 Message-ID: <200706220134.l5M1YMbX001225@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/lib/base In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1096/adminserver/lib/base Modified Files: nscputil.cpp Log Message: Resolves: bug 245214 Bug Description: adminserver: Solaris port for 1.1 Reviewed by: nhosoi (Thanks!) Fix Description: Fortitude can supply different components, depending on the operating system. On Fedora, mod_nss and Apache are already there, so we don't use Fortitude. On RHEL4, we use Fortitude for mod_nss. On Solaris, we use Fortitude for Apache and mod_nss. I've created a fortitude.m4 that can handle all of these cases, and changed the existing httpd.m4 and mod_nss.m4 to first see if fortitude.m4 has found the component. configure will also pass the proper --with flags to mod_admserv and mod_restartd. ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. There were a few other minor porting issues which required the additional compiler defines and use of config.h. We need to set the libpath before using the @cgibindir@/config program. LIBPATH was not being set correctly on Solaris because I was using the extended sort flags instead of the standard ones. Platforms tested: Solaris 9 64bit Flag Day: no Doc impact: no Index: nscputil.cpp =================================================================== RCS file: /cvs/dirsec/adminserver/lib/base/nscputil.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- nscputil.cpp 9 May 2007 00:26:37 -0000 1.2 +++ nscputil.cpp 22 Jun 2007 01:34:20 -0000 1.3 @@ -25,6 +25,9 @@ * Rob McCool */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include From fedora-directory-commits at redhat.com Fri Jun 22 01:34:21 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 21:34:21 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.14, 1.15 Makefile.in, 1.14, 1.15 aclocal.m4, 1.11, 1.12 autogen.sh, 1.1, 1.2 config.guess, 1.6, 1.7 config.h.in, 1.2, 1.3 config.sub, 1.6, 1.7 configure, 1.13, 1.14 configure.ac, 1.10, 1.11 depcomp, 1.6, 1.7 install-sh, 1.6, 1.7 missing, 1.6, 1.7 compile, 1.6, 1.7 Message-ID: <200706220134.l5M1YL1T001189@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1096/adminserver Modified Files: Makefile.am Makefile.in aclocal.m4 autogen.sh config.guess config.h.in config.sub configure configure.ac depcomp install-sh missing compile Log Message: Resolves: bug 245214 Bug Description: adminserver: Solaris port for 1.1 Reviewed by: nhosoi (Thanks!) Fix Description: Fortitude can supply different components, depending on the operating system. On Fedora, mod_nss and Apache are already there, so we don't use Fortitude. On RHEL4, we use Fortitude for mod_nss. On Solaris, we use Fortitude for Apache and mod_nss. I've created a fortitude.m4 that can handle all of these cases, and changed the existing httpd.m4 and mod_nss.m4 to first see if fortitude.m4 has found the component. configure will also pass the proper --with flags to mod_admserv and mod_restartd. ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. There were a few other minor porting issues which required the additional compiler defines and use of config.h. We need to set the libpath before using the @cgibindir@/config program. LIBPATH was not being set correctly on Solaris because I was using the extended sort flags instead of the standard ones. Platforms tested: Solaris 9 64bit Flag Day: no Doc impact: no Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Makefile.am 21 Jun 2007 22:01:51 -0000 1.14 +++ Makefile.am 22 Jun 2007 01:34:18 -0000 1.15 @@ -113,9 +113,21 @@ noinst_LIBRARIES = libdsa.a +LIBSOCKET=@LIBSOCKET@ +LIBNSL=@LIBNSL@ +LIBCSTD=@LIBCSTD@ +LIBCRUN=@LIBCRUN@ + DEFAULT_LIBS = libds-admin-serv.la @adminutil_lib@ -ladmsslutil at adminutil_ver@ -ladminutil at adminutil_ver@ \ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap60 -lprldap60 -lldap60 -lldif60 \ - @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 + @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBNSL) $(LIBSOCKET) $(LIBCSTD) $(LIBCRUN) + +if CXXLINK_REQUIRED +REALLINK = $(CXXLINK) +else +REALLINK = $(LINK) +endif +LINK = $(REALLINK) init_SCRIPTS = wrappers/$(PACKAGE_NAME) @@ -296,7 +308,7 @@ endif # need a reverse sort -mysort = $(shell echo -e $(subst $(SPACE),$(NL),$2) | sort $1 --key=1,1 -) +mysort = $(shell echo -e $(subst $(SPACE),$(NL),$2) | sort $1 -k1,1) # need to create the LD_LIBRARY_PATH,SHLIB_PATH string to use in scripts # sort also strips out duplicates Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Makefile.in 21 Jun 2007 22:01:51 -0000 1.14 +++ Makefile.in 22 Jun 2007 01:34:18 -0000 1.15 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. +# Makefile.in generated by automake 1.10 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -18,15 +18,11 @@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -53,23 +49,24 @@ ds_bak2db$(EXEEXT) ds_db2bak$(EXEEXT) ds_listdb$(EXEEXT) \ ds_rmdb$(EXEEXT) ds_remove$(EXEEXT) ds_snmpctrl$(EXEEXT) \ ds_vlvindex$(EXEEXT) ds_addindex$(EXEEXT) +subdir = . DIST_COMMON = README $(am__configure_deps) $(dist_help_DATA) \ $(dist_html_DATA) $(dist_icon_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ compile config.guess config.sub depcomp install-sh ltmain.sh \ missing -subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/fhs.m4 \ - $(top_srcdir)/m4/httpd.m4 $(top_srcdir)/m4/nspr.m4 \ - $(top_srcdir)/m4/nss.m4 $(top_srcdir)/m4/mozldap.m4 \ - $(top_srcdir)/m4/icu.m4 $(top_srcdir)/m4/adminutil.m4 \ - $(top_srcdir)/m4/mod_nss.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/m4/fortitude.m4 $(top_srcdir)/m4/httpd.m4 \ + $(top_srcdir)/m4/nspr.m4 $(top_srcdir)/m4/nss.m4 \ + $(top_srcdir)/m4/mozldap.m4 $(top_srcdir)/m4/icu.m4 \ + $(top_srcdir)/m4/adminutil.m4 $(top_srcdir)/m4/mod_nss.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno configure.status.lineno + configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = @@ -125,14 +122,17 @@ PROGRAMS = $(cgibin_PROGRAMS) am_ReadLog_OBJECTS = admserv/cgi-src40/ReadLog.$(OBJEXT) ReadLog_OBJECTS = $(am_ReadLog_OBJECTS) -am__DEPENDENCIES_1 = libds-admin-serv.la -ReadLog_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__DEPENDENCIES_1 = +am__DEPENDENCIES_2 = libds-admin-serv.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +ReadLog_DEPENDENCIES = $(am__DEPENDENCIES_2) am_admpw_OBJECTS = admserv/cgi-src40/admpw.$(OBJEXT) admpw_OBJECTS = $(am_admpw_OBJECTS) -admpw_DEPENDENCIES = $(am__DEPENDENCIES_1) +admpw_DEPENDENCIES = $(am__DEPENDENCIES_2) am_config_OBJECTS = admserv/cgi-src40/config.$(OBJEXT) config_OBJECTS = $(am_config_OBJECTS) -config_DEPENDENCIES = $(am__DEPENDENCIES_1) +config_DEPENDENCIES = $(am__DEPENDENCIES_2) am_download_OBJECTS = admserv/cgi-src40/download.$(OBJEXT) download_OBJECTS = $(am_download_OBJECTS) download_LDADD = $(LDADD) @@ -140,104 +140,104 @@ admserv/cgi-ds/ds_addindex-addindex.$(OBJEXT) \ admserv/cgi-ds/ds_addindex-init_ds_env.$(OBJEXT) ds_addindex_OBJECTS = $(am_ds_addindex_OBJECTS) -ds_addindex_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_addindex_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_bak2db_OBJECTS = admserv/cgi-ds/ds_bak2db-ds_bak2db.$(OBJEXT) \ admserv/cgi-ds/ds_bak2db-init_ds_env.$(OBJEXT) ds_bak2db_OBJECTS = $(am_ds_bak2db_OBJECTS) -ds_bak2db_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_bak2db_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_db2bak_OBJECTS = admserv/cgi-ds/ds_db2bak-ds_db2bak.$(OBJEXT) \ admserv/cgi-ds/ds_db2bak-init_ds_env.$(OBJEXT) ds_db2bak_OBJECTS = $(am_ds_db2bak_OBJECTS) -ds_db2bak_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_db2bak_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_db2ldif_OBJECTS = \ admserv/cgi-ds/ds_db2ldif-ds_db2ldif.$(OBJEXT) \ admserv/cgi-ds/ds_db2ldif-init_ds_env.$(OBJEXT) ds_db2ldif_OBJECTS = $(am_ds_db2ldif_OBJECTS) -ds_db2ldif_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_db2ldif_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_ldif2db_OBJECTS = \ admserv/cgi-ds/ds_ldif2db-ds_ldif2db.$(OBJEXT) \ admserv/cgi-ds/ds_ldif2db-init_ds_env.$(OBJEXT) ds_ldif2db_OBJECTS = $(am_ds_ldif2db_OBJECTS) -ds_ldif2db_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_ldif2db_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_listdb_OBJECTS = admserv/cgi-ds/ds_listdb-ds_listdb.$(OBJEXT) \ admserv/cgi-ds/ds_listdb-init_ds_env.$(OBJEXT) ds_listdb_OBJECTS = $(am_ds_listdb_OBJECTS) -ds_listdb_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_listdb_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_remove_OBJECTS = admserv/cgi-ds/ds_remove-ds_remove.$(OBJEXT) \ admserv/cgi-ds/ds_remove-init_ds_env.$(OBJEXT) ds_remove_OBJECTS = $(am_ds_remove_OBJECTS) -ds_remove_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_remove_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_restart_OBJECTS = admserv/cgi-ds/ds_restart-restart.$(OBJEXT) \ admserv/cgi-ds/ds_restart-init_ds_env.$(OBJEXT) ds_restart_OBJECTS = $(am_ds_restart_OBJECTS) -ds_restart_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_restart_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_rmdb_OBJECTS = admserv/cgi-ds/ds_rmdb-ds_rmdb.$(OBJEXT) \ admserv/cgi-ds/ds_rmdb-init_ds_env.$(OBJEXT) ds_rmdb_OBJECTS = $(am_ds_rmdb_OBJECTS) -ds_rmdb_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_rmdb_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_shutdown_OBJECTS = \ admserv/cgi-ds/ds_shutdown-shutdown.$(OBJEXT) \ admserv/cgi-ds/ds_shutdown-init_ds_env.$(OBJEXT) ds_shutdown_OBJECTS = $(am_ds_shutdown_OBJECTS) -ds_shutdown_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_shutdown_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_snmpctrl_OBJECTS = \ admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.$(OBJEXT) \ admserv/cgi-ds/ds_snmpctrl-init_ds_env.$(OBJEXT) ds_snmpctrl_OBJECTS = $(am_ds_snmpctrl_OBJECTS) -ds_snmpctrl_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_snmpctrl_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_start_OBJECTS = admserv/cgi-ds/ds_start-start.$(OBJEXT) \ admserv/cgi-ds/ds_start-init_ds_env.$(OBJEXT) ds_start_OBJECTS = $(am_ds_start_OBJECTS) -ds_start_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_start_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_ds_vlvindex_OBJECTS = \ admserv/cgi-ds/ds_vlvindex-vlvindex.$(OBJEXT) \ admserv/cgi-ds/ds_vlvindex-init_ds_env.$(OBJEXT) ds_vlvindex_OBJECTS = $(am_ds_vlvindex_OBJECTS) -ds_vlvindex_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_1) +ds_vlvindex_DEPENDENCIES = libdsa.a $(am__DEPENDENCIES_2) am_dsconfig_OBJECTS = admserv/cgi-src40/dsconfig.$(OBJEXT) dsconfig_OBJECTS = $(am_dsconfig_OBJECTS) -dsconfig_DEPENDENCIES = $(am__DEPENDENCIES_1) +dsconfig_DEPENDENCIES = $(am__DEPENDENCIES_2) am_help_OBJECTS = admserv/cgi-src40/help.$(OBJEXT) help_OBJECTS = $(am_help_OBJECTS) help_LDADD = $(LDADD) am_htmladmin_OBJECTS = admserv/cgi-src40/htmladmin.$(OBJEXT) htmladmin_OBJECTS = $(am_htmladmin_OBJECTS) -htmladmin_DEPENDENCIES = $(am__DEPENDENCIES_1) +htmladmin_DEPENDENCIES = $(am__DEPENDENCIES_2) am_monreplication_OBJECTS = \ admserv/cgi-src40/monreplication.$(OBJEXT) monreplication_OBJECTS = $(am_monreplication_OBJECTS) -monreplication_DEPENDENCIES = $(am__DEPENDENCIES_1) +monreplication_DEPENDENCIES = $(am__DEPENDENCIES_2) am_restartsrv_OBJECTS = admserv/cgi-src40/restartsrv.$(OBJEXT) restartsrv_OBJECTS = $(am_restartsrv_OBJECTS) -restartsrv_DEPENDENCIES = $(am__DEPENDENCIES_1) +restartsrv_DEPENDENCIES = $(am__DEPENDENCIES_2) am_sec_activate_OBJECTS = admserv/cgi-src40/sec-activate.$(OBJEXT) sec_activate_OBJECTS = $(am_sec_activate_OBJECTS) -sec_activate_DEPENDENCIES = $(am__DEPENDENCIES_1) +sec_activate_DEPENDENCIES = $(am__DEPENDENCIES_2) am_security_OBJECTS = admserv/cgi-src40/security.$(OBJEXT) security_OBJECTS = $(am_security_OBJECTS) -security_DEPENDENCIES = $(am__DEPENDENCIES_1) +security_DEPENDENCIES = $(am__DEPENDENCIES_2) am_start_config_ds_OBJECTS = \ admserv/cgi-src40/start_config_ds.$(OBJEXT) start_config_ds_OBJECTS = $(am_start_config_ds_OBJECTS) -start_config_ds_DEPENDENCIES = $(am__DEPENDENCIES_1) +start_config_ds_DEPENDENCIES = $(am__DEPENDENCIES_2) am_statpingserv_OBJECTS = admserv/cgi-src40/statpingserv.$(OBJEXT) statpingserv_OBJECTS = $(am_statpingserv_OBJECTS) -statpingserv_DEPENDENCIES = $(am__DEPENDENCIES_1) +statpingserv_DEPENDENCIES = $(am__DEPENDENCIES_2) am_statusping_OBJECTS = admserv/cgi-src40/statusping.$(OBJEXT) statusping_OBJECTS = $(am_statusping_OBJECTS) -statusping_DEPENDENCIES = $(am__DEPENDENCIES_1) +statusping_DEPENDENCIES = $(am__DEPENDENCIES_2) am_stopsrv_OBJECTS = admserv/cgi-src40/stopsrv.$(OBJEXT) stopsrv_OBJECTS = $(am_stopsrv_OBJECTS) -stopsrv_DEPENDENCIES = $(am__DEPENDENCIES_1) +stopsrv_DEPENDENCIES = $(am__DEPENDENCIES_2) am_ugdsconfig_OBJECTS = admserv/cgi-src40/ugdsconfig.$(OBJEXT) ugdsconfig_OBJECTS = $(am_ugdsconfig_OBJECTS) -ugdsconfig_DEPENDENCIES = $(am__DEPENDENCIES_1) +ugdsconfig_DEPENDENCIES = $(am__DEPENDENCIES_2) am_viewdata_OBJECTS = admserv/cgi-src40/viewdata.$(OBJEXT) viewdata_OBJECTS = $(am_viewdata_OBJECTS) -viewdata_DEPENDENCIES = $(am__DEPENDENCIES_1) +viewdata_DEPENDENCIES = $(am__DEPENDENCIES_2) am_viewlog_OBJECTS = admserv/cgi-src40/viewlog.$(OBJEXT) viewlog_OBJECTS = $(am_viewlog_OBJECTS) -viewlog_DEPENDENCIES = $(am__DEPENDENCIES_1) +viewlog_DEPENDENCIES = $(am__DEPENDENCIES_2) binSCRIPT_INSTALL = $(INSTALL_SCRIPT) cgibinSCRIPT_INSTALL = $(INSTALL_SCRIPT) cmdbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) @@ -246,25 +246,24 @@ perlSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(cgibin_SCRIPTS) $(cmdbin_SCRIPTS) \ $(init_SCRIPTS) $(nodist_cmdbin_SCRIPTS) $(perl_SCRIPTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -I. +DEFAULT_INCLUDES = -I. at am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ SOURCES = $(libdsa_a_SOURCES) $(libds_admin_serv_la_SOURCES) \ $(ReadLog_SOURCES) $(admpw_SOURCES) $(config_SOURCES) \ $(download_SOURCES) $(ds_addindex_SOURCES) \ @@ -297,10 +296,11 @@ $(viewlog_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive dist_helpDATA_INSTALL = $(INSTALL_DATA) dist_htmlDATA_INSTALL = $(INSTALL_DATA) dist_iconDATA_INSTALL = $(INSTALL_DATA) @@ -312,6 +312,8 @@ DATA = $(dist_help_DATA) $(dist_html_DATA) $(dist_icon_DATA) \ $(inf_DATA) $(ldif_DATA) $(nodist_config_DATA) \ $(nodist_property_DATA) $(property_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = mod_admserv mod_restartd @@ -327,11 +329,8 @@ distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ -APACHE22_FALSE = @APACHE22_FALSE@ -APACHE22_TRUE = @APACHE22_TRUE@ +APR_CONFIG = @APR_CONFIG@ APXS = @APXS@ AR = @AR@ AUTOCONF = @AUTOCONF@ @@ -358,26 +357,27 @@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ +GREP = @GREP@ HTTPD = @HTTPD@ ICU_CONFIG = @ICU_CONFIG@ +INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ +LIBCRUN = @LIBCRUN@ +LIBCSTD = @LIBCSTD@ +LIBNSL = @LIBNSL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ +LIBSOCKET = @LIBSOCKET@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ -MOD_ADMSERV_FALSE = @MOD_ADMSERV_FALSE@ -MOD_ADMSERV_TRUE = @MOD_ADMSERV_TRUE@ -MOD_RESTARTD_FALSE = @MOD_RESTARTD_FALSE@ -MOD_RESTARTD_TRUE = @MOD_RESTARTD_TRUE@ +MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BASE_NAME = @PACKAGE_BASE_NAME@ @@ -394,24 +394,19 @@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ -WINNT_FALSE = @WINNT_FALSE@ -WINNT_TRUE = @WINNT_TRUE@ -ac_ct_AR = @ac_ct_AR@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ adminutil_inc = @adminutil_inc@ adminutil_lib = @adminutil_lib@ adminutil_libdir = @adminutil_libdir@ adminutil_ver = @adminutil_ver@ admmoddir = $(libdir)@admmoddir@ admservport = @admservport@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -424,11 +419,15 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +builddir = @builddir@ capbrand = @capbrand@ cgibindir = $(libdir)@cgibindir@ cmdbindir = $(sbindir) curses_lib = @curses_lib@ datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ @@ -457,6 +456,7 @@ ldifdir = $(datadir)@ldifdir@ libdir = @libdir@ libexecdir = @libexecdir@ +localedir = @localedir@ localstatedir = @localstatedir@ logdir = $(localstatedir)@logdir@/$(instancename) mandir = @mandir@ @@ -474,17 +474,22 @@ nssmoddir = @nssmoddir@ nsspcache = @nsspcache@ oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ perldir = $(libdir)@perldir@ piddir = $(localstatedir)@piddir@ pidfile = @pidfile@ prefix = @prefix@ program_transform_name = @program_transform_name@ propertydir = $(datadir)@propertydir@ +psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ vendor = @vendor@ # BEGIN COPYRIGHT BLOCK @@ -552,8 +557,11 @@ noinst_LIBRARIES = libdsa.a DEFAULT_LIBS = libds-admin-serv.la @adminutil_lib@ -ladmsslutil at adminutil_ver@ -ladminutil at adminutil_ver@ \ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap60 -lprldap60 -lldap60 -lldif60 \ - @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 + @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBNSL) $(LIBSOCKET) $(LIBCSTD) $(LIBCRUN) + at CXXLINK_REQUIRED_FALSE@REALLINK = $(LINK) + at CXXLINK_REQUIRED_TRUE@REALLINK = $(CXXLINK) +LINK = $(REALLINK) init_SCRIPTS = wrappers/$(PACKAGE_NAME) ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ admserv/schema/ldif/01nsroot.ldif.tmpl \ @@ -704,7 +712,7 @@ @WINNT_TRUE at ICU_GENRB = @icu_bin@/genrb.exe # need a reverse sort -mysort = $(shell echo -e $(subst $(SPACE),$(NL),$2) | sort $1 --key=1,1 -) +mysort = $(shell echo -e $(subst $(SPACE),$(NL),$2) | sort $1 -k1,1) # need to create the LD_LIBRARY_PATH,SHLIB_PATH string to use in scripts # sort also strips out duplicates @@ -829,7 +837,7 @@ config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ - $(MAKE) stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @@ -846,10 +854,10 @@ clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) lib/libdsa/$(am__dirstamp): - @$(mkdir_p) lib/libdsa + @$(MKDIR_P) lib/libdsa @: > lib/libdsa/$(am__dirstamp) lib/libdsa/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) lib/libdsa/$(DEPDIR) + @$(MKDIR_P) lib/libdsa/$(DEPDIR) @: > lib/libdsa/$(DEPDIR)/$(am__dirstamp) lib/libdsa/libdsa_a-dsalib_conf.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ lib/libdsa/$(DEPDIR)/$(am__dirstamp) @@ -887,7 +895,7 @@ $(RANLIB) libdsa.a install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ @@ -898,7 +906,7 @@ uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) - @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ @@ -913,10 +921,10 @@ rm -f "$${dir}/so_locations"; \ done lib/base/$(am__dirstamp): - @$(mkdir_p) lib/base + @$(MKDIR_P) lib/base @: > lib/base/$(am__dirstamp) lib/base/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) lib/base/$(DEPDIR) + @$(MKDIR_P) lib/base/$(DEPDIR) @: > lib/base/$(DEPDIR)/$(am__dirstamp) lib/base/file.lo: lib/base/$(am__dirstamp) \ lib/base/$(DEPDIR)/$(am__dirstamp) @@ -927,10 +935,10 @@ lib/base/nscputil.lo: lib/base/$(am__dirstamp) \ lib/base/$(DEPDIR)/$(am__dirstamp) lib/libsi18n/$(am__dirstamp): - @$(mkdir_p) lib/libsi18n + @$(MKDIR_P) lib/libsi18n @: > lib/libsi18n/$(am__dirstamp) lib/libsi18n/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) lib/libsi18n/$(DEPDIR) + @$(MKDIR_P) lib/libsi18n/$(DEPDIR) @: > lib/libsi18n/$(DEPDIR)/$(am__dirstamp) lib/libsi18n/coreres.lo: lib/libsi18n/$(am__dirstamp) \ lib/libsi18n/$(DEPDIR)/$(am__dirstamp) @@ -945,10 +953,10 @@ lib/libsi18n/txtfile.lo: lib/libsi18n/$(am__dirstamp) \ lib/libsi18n/$(DEPDIR)/$(am__dirstamp) lib/libadmin/$(am__dirstamp): - @$(mkdir_p) lib/libadmin + @$(MKDIR_P) lib/libadmin @: > lib/libadmin/$(am__dirstamp) lib/libadmin/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) lib/libadmin/$(DEPDIR) + @$(MKDIR_P) lib/libadmin/$(DEPDIR) @: > lib/libadmin/$(DEPDIR)/$(am__dirstamp) lib/libadmin/cluster.lo: lib/libadmin/$(am__dirstamp) \ lib/libadmin/$(DEPDIR)/$(am__dirstamp) @@ -969,10 +977,10 @@ lib/libadmin/util.lo: lib/libadmin/$(am__dirstamp) \ lib/libadmin/$(DEPDIR)/$(am__dirstamp) libds-admin-serv.la: $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_DEPENDENCIES) - $(CXXLINK) -rpath $(libdir) $(libds_admin_serv_la_LDFLAGS) $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_LIBADD) $(LIBS) + $(CXXLINK) -rpath $(libdir) $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_LIBADD) $(LIBS) install-cgibinPROGRAMS: $(cgibin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(cgibindir)" || $(mkdir_p) "$(DESTDIR)$(cgibindir)" + test -z "$(cgibindir)" || $(MKDIR_P) "$(DESTDIR)$(cgibindir)" @list='$(cgibin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ @@ -999,38 +1007,38 @@ rm -f $$p $$f ; \ done admserv/cgi-src40/$(am__dirstamp): - @$(mkdir_p) admserv/cgi-src40 + @$(MKDIR_P) admserv/cgi-src40 @: > admserv/cgi-src40/$(am__dirstamp) admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) admserv/cgi-src40/$(DEPDIR) + @$(MKDIR_P) admserv/cgi-src40/$(DEPDIR) @: > admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) admserv/cgi-src40/ReadLog.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) ReadLog$(EXEEXT): $(ReadLog_OBJECTS) $(ReadLog_DEPENDENCIES) @rm -f ReadLog$(EXEEXT) - $(LINK) $(ReadLog_LDFLAGS) $(ReadLog_OBJECTS) $(ReadLog_LDADD) $(LIBS) + $(LINK) $(ReadLog_OBJECTS) $(ReadLog_LDADD) $(LIBS) admserv/cgi-src40/admpw.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) admpw$(EXEEXT): $(admpw_OBJECTS) $(admpw_DEPENDENCIES) @rm -f admpw$(EXEEXT) - $(LINK) $(admpw_LDFLAGS) $(admpw_OBJECTS) $(admpw_LDADD) $(LIBS) + $(LINK) $(admpw_OBJECTS) $(admpw_LDADD) $(LIBS) admserv/cgi-src40/config.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) config$(EXEEXT): $(config_OBJECTS) $(config_DEPENDENCIES) @rm -f config$(EXEEXT) - $(LINK) $(config_LDFLAGS) $(config_OBJECTS) $(config_LDADD) $(LIBS) + $(LINK) $(config_OBJECTS) $(config_LDADD) $(LIBS) admserv/cgi-src40/download.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) download$(EXEEXT): $(download_OBJECTS) $(download_DEPENDENCIES) @rm -f download$(EXEEXT) - $(LINK) $(download_LDFLAGS) $(download_OBJECTS) $(download_LDADD) $(LIBS) + $(LINK) $(download_OBJECTS) $(download_LDADD) $(LIBS) admserv/cgi-ds/$(am__dirstamp): - @$(mkdir_p) admserv/cgi-ds + @$(MKDIR_P) admserv/cgi-ds @: > admserv/cgi-ds/$(am__dirstamp) admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp): - @$(mkdir_p) admserv/cgi-ds/$(DEPDIR) + @$(MKDIR_P) admserv/cgi-ds/$(DEPDIR) @: > admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) admserv/cgi-ds/ds_addindex-addindex.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ @@ -1040,7 +1048,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_addindex$(EXEEXT): $(ds_addindex_OBJECTS) $(ds_addindex_DEPENDENCIES) @rm -f ds_addindex$(EXEEXT) - $(LINK) $(ds_addindex_LDFLAGS) $(ds_addindex_OBJECTS) $(ds_addindex_LDADD) $(LIBS) + $(LINK) $(ds_addindex_OBJECTS) $(ds_addindex_LDADD) $(LIBS) admserv/cgi-ds/ds_bak2db-ds_bak2db.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1049,7 +1057,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_bak2db$(EXEEXT): $(ds_bak2db_OBJECTS) $(ds_bak2db_DEPENDENCIES) @rm -f ds_bak2db$(EXEEXT) - $(LINK) $(ds_bak2db_LDFLAGS) $(ds_bak2db_OBJECTS) $(ds_bak2db_LDADD) $(LIBS) + $(LINK) $(ds_bak2db_OBJECTS) $(ds_bak2db_LDADD) $(LIBS) admserv/cgi-ds/ds_db2bak-ds_db2bak.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1058,7 +1066,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_db2bak$(EXEEXT): $(ds_db2bak_OBJECTS) $(ds_db2bak_DEPENDENCIES) @rm -f ds_db2bak$(EXEEXT) - $(LINK) $(ds_db2bak_LDFLAGS) $(ds_db2bak_OBJECTS) $(ds_db2bak_LDADD) $(LIBS) + $(LINK) $(ds_db2bak_OBJECTS) $(ds_db2bak_LDADD) $(LIBS) admserv/cgi-ds/ds_db2ldif-ds_db2ldif.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1067,7 +1075,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_db2ldif$(EXEEXT): $(ds_db2ldif_OBJECTS) $(ds_db2ldif_DEPENDENCIES) @rm -f ds_db2ldif$(EXEEXT) - $(LINK) $(ds_db2ldif_LDFLAGS) $(ds_db2ldif_OBJECTS) $(ds_db2ldif_LDADD) $(LIBS) + $(LINK) $(ds_db2ldif_OBJECTS) $(ds_db2ldif_LDADD) $(LIBS) admserv/cgi-ds/ds_ldif2db-ds_ldif2db.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1076,7 +1084,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_ldif2db$(EXEEXT): $(ds_ldif2db_OBJECTS) $(ds_ldif2db_DEPENDENCIES) @rm -f ds_ldif2db$(EXEEXT) - $(LINK) $(ds_ldif2db_LDFLAGS) $(ds_ldif2db_OBJECTS) $(ds_ldif2db_LDADD) $(LIBS) + $(LINK) $(ds_ldif2db_OBJECTS) $(ds_ldif2db_LDADD) $(LIBS) admserv/cgi-ds/ds_listdb-ds_listdb.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1085,7 +1093,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_listdb$(EXEEXT): $(ds_listdb_OBJECTS) $(ds_listdb_DEPENDENCIES) @rm -f ds_listdb$(EXEEXT) - $(LINK) $(ds_listdb_LDFLAGS) $(ds_listdb_OBJECTS) $(ds_listdb_LDADD) $(LIBS) + $(LINK) $(ds_listdb_OBJECTS) $(ds_listdb_LDADD) $(LIBS) admserv/cgi-ds/ds_remove-ds_remove.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1094,7 +1102,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_remove$(EXEEXT): $(ds_remove_OBJECTS) $(ds_remove_DEPENDENCIES) @rm -f ds_remove$(EXEEXT) - $(LINK) $(ds_remove_LDFLAGS) $(ds_remove_OBJECTS) $(ds_remove_LDADD) $(LIBS) + $(LINK) $(ds_remove_OBJECTS) $(ds_remove_LDADD) $(LIBS) admserv/cgi-ds/ds_restart-restart.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1103,7 +1111,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_restart$(EXEEXT): $(ds_restart_OBJECTS) $(ds_restart_DEPENDENCIES) @rm -f ds_restart$(EXEEXT) - $(LINK) $(ds_restart_LDFLAGS) $(ds_restart_OBJECTS) $(ds_restart_LDADD) $(LIBS) + $(LINK) $(ds_restart_OBJECTS) $(ds_restart_LDADD) $(LIBS) admserv/cgi-ds/ds_rmdb-ds_rmdb.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1112,7 +1120,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_rmdb$(EXEEXT): $(ds_rmdb_OBJECTS) $(ds_rmdb_DEPENDENCIES) @rm -f ds_rmdb$(EXEEXT) - $(LINK) $(ds_rmdb_LDFLAGS) $(ds_rmdb_OBJECTS) $(ds_rmdb_LDADD) $(LIBS) + $(LINK) $(ds_rmdb_OBJECTS) $(ds_rmdb_LDADD) $(LIBS) admserv/cgi-ds/ds_shutdown-shutdown.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1121,7 +1129,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_shutdown$(EXEEXT): $(ds_shutdown_OBJECTS) $(ds_shutdown_DEPENDENCIES) @rm -f ds_shutdown$(EXEEXT) - $(LINK) $(ds_shutdown_LDFLAGS) $(ds_shutdown_OBJECTS) $(ds_shutdown_LDADD) $(LIBS) + $(LINK) $(ds_shutdown_OBJECTS) $(ds_shutdown_LDADD) $(LIBS) admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1130,7 +1138,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_snmpctrl$(EXEEXT): $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_DEPENDENCIES) @rm -f ds_snmpctrl$(EXEEXT) - $(LINK) $(ds_snmpctrl_LDFLAGS) $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_LDADD) $(LIBS) + $(LINK) $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_LDADD) $(LIBS) admserv/cgi-ds/ds_start-start.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1139,7 +1147,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_start$(EXEEXT): $(ds_start_OBJECTS) $(ds_start_DEPENDENCIES) @rm -f ds_start$(EXEEXT) - $(LINK) $(ds_start_LDFLAGS) $(ds_start_OBJECTS) $(ds_start_LDADD) $(LIBS) + $(LINK) $(ds_start_OBJECTS) $(ds_start_LDADD) $(LIBS) admserv/cgi-ds/ds_vlvindex-vlvindex.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1148,93 +1156,93 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_vlvindex$(EXEEXT): $(ds_vlvindex_OBJECTS) $(ds_vlvindex_DEPENDENCIES) @rm -f ds_vlvindex$(EXEEXT) - $(LINK) $(ds_vlvindex_LDFLAGS) $(ds_vlvindex_OBJECTS) $(ds_vlvindex_LDADD) $(LIBS) + $(LINK) $(ds_vlvindex_OBJECTS) $(ds_vlvindex_LDADD) $(LIBS) admserv/cgi-src40/dsconfig.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) dsconfig$(EXEEXT): $(dsconfig_OBJECTS) $(dsconfig_DEPENDENCIES) @rm -f dsconfig$(EXEEXT) - $(LINK) $(dsconfig_LDFLAGS) $(dsconfig_OBJECTS) $(dsconfig_LDADD) $(LIBS) + $(LINK) $(dsconfig_OBJECTS) $(dsconfig_LDADD) $(LIBS) admserv/cgi-src40/help.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) help$(EXEEXT): $(help_OBJECTS) $(help_DEPENDENCIES) @rm -f help$(EXEEXT) - $(LINK) $(help_LDFLAGS) $(help_OBJECTS) $(help_LDADD) $(LIBS) + $(LINK) $(help_OBJECTS) $(help_LDADD) $(LIBS) admserv/cgi-src40/htmladmin.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) htmladmin$(EXEEXT): $(htmladmin_OBJECTS) $(htmladmin_DEPENDENCIES) @rm -f htmladmin$(EXEEXT) - $(LINK) $(htmladmin_LDFLAGS) $(htmladmin_OBJECTS) $(htmladmin_LDADD) $(LIBS) + $(LINK) $(htmladmin_OBJECTS) $(htmladmin_LDADD) $(LIBS) admserv/cgi-src40/monreplication.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) monreplication$(EXEEXT): $(monreplication_OBJECTS) $(monreplication_DEPENDENCIES) @rm -f monreplication$(EXEEXT) - $(LINK) $(monreplication_LDFLAGS) $(monreplication_OBJECTS) $(monreplication_LDADD) $(LIBS) + $(LINK) $(monreplication_OBJECTS) $(monreplication_LDADD) $(LIBS) admserv/cgi-src40/restartsrv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) restartsrv$(EXEEXT): $(restartsrv_OBJECTS) $(restartsrv_DEPENDENCIES) @rm -f restartsrv$(EXEEXT) - $(LINK) $(restartsrv_LDFLAGS) $(restartsrv_OBJECTS) $(restartsrv_LDADD) $(LIBS) + $(LINK) $(restartsrv_OBJECTS) $(restartsrv_LDADD) $(LIBS) admserv/cgi-src40/sec-activate.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) sec-activate$(EXEEXT): $(sec_activate_OBJECTS) $(sec_activate_DEPENDENCIES) @rm -f sec-activate$(EXEEXT) - $(LINK) $(sec_activate_LDFLAGS) $(sec_activate_OBJECTS) $(sec_activate_LDADD) $(LIBS) + $(LINK) $(sec_activate_OBJECTS) $(sec_activate_LDADD) $(LIBS) admserv/cgi-src40/security.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) security$(EXEEXT): $(security_OBJECTS) $(security_DEPENDENCIES) @rm -f security$(EXEEXT) - $(LINK) $(security_LDFLAGS) $(security_OBJECTS) $(security_LDADD) $(LIBS) + $(LINK) $(security_OBJECTS) $(security_LDADD) $(LIBS) admserv/cgi-src40/start_config_ds.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) start_config_ds$(EXEEXT): $(start_config_ds_OBJECTS) $(start_config_ds_DEPENDENCIES) @rm -f start_config_ds$(EXEEXT) - $(LINK) $(start_config_ds_LDFLAGS) $(start_config_ds_OBJECTS) $(start_config_ds_LDADD) $(LIBS) + $(LINK) $(start_config_ds_OBJECTS) $(start_config_ds_LDADD) $(LIBS) admserv/cgi-src40/statpingserv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) statpingserv$(EXEEXT): $(statpingserv_OBJECTS) $(statpingserv_DEPENDENCIES) @rm -f statpingserv$(EXEEXT) - $(LINK) $(statpingserv_LDFLAGS) $(statpingserv_OBJECTS) $(statpingserv_LDADD) $(LIBS) + $(LINK) $(statpingserv_OBJECTS) $(statpingserv_LDADD) $(LIBS) admserv/cgi-src40/statusping.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) statusping$(EXEEXT): $(statusping_OBJECTS) $(statusping_DEPENDENCIES) @rm -f statusping$(EXEEXT) - $(LINK) $(statusping_LDFLAGS) $(statusping_OBJECTS) $(statusping_LDADD) $(LIBS) + $(LINK) $(statusping_OBJECTS) $(statusping_LDADD) $(LIBS) admserv/cgi-src40/stopsrv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) stopsrv$(EXEEXT): $(stopsrv_OBJECTS) $(stopsrv_DEPENDENCIES) @rm -f stopsrv$(EXEEXT) - $(LINK) $(stopsrv_LDFLAGS) $(stopsrv_OBJECTS) $(stopsrv_LDADD) $(LIBS) + $(LINK) $(stopsrv_OBJECTS) $(stopsrv_LDADD) $(LIBS) admserv/cgi-src40/ugdsconfig.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) ugdsconfig$(EXEEXT): $(ugdsconfig_OBJECTS) $(ugdsconfig_DEPENDENCIES) @rm -f ugdsconfig$(EXEEXT) - $(LINK) $(ugdsconfig_LDFLAGS) $(ugdsconfig_OBJECTS) $(ugdsconfig_LDADD) $(LIBS) + $(LINK) $(ugdsconfig_OBJECTS) $(ugdsconfig_LDADD) $(LIBS) admserv/cgi-src40/viewdata.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) viewdata$(EXEEXT): $(viewdata_OBJECTS) $(viewdata_DEPENDENCIES) @rm -f viewdata$(EXEEXT) - $(LINK) $(viewdata_LDFLAGS) $(viewdata_OBJECTS) $(viewdata_LDADD) $(LIBS) + $(LINK) $(viewdata_OBJECTS) $(viewdata_LDADD) $(LIBS) admserv/cgi-src40/viewlog.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) viewlog$(EXEEXT): $(viewlog_OBJECTS) $(viewlog_DEPENDENCIES) @rm -f viewlog$(EXEEXT) - $(LINK) $(viewlog_LDFLAGS) $(viewlog_OBJECTS) $(viewlog_LDADD) $(LIBS) + $(LINK) $(viewlog_OBJECTS) $(viewlog_LDADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1253,7 +1261,7 @@ done install-cgibinSCRIPTS: $(cgibin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(cgibindir)" || $(mkdir_p) "$(DESTDIR)$(cgibindir)" + test -z "$(cgibindir)" || $(MKDIR_P) "$(DESTDIR)$(cgibindir)" @list='$(cgibin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1272,7 +1280,7 @@ done install-cmdbinSCRIPTS: $(cmdbin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" + test -z "$(cmdbindir)" || $(MKDIR_P) "$(DESTDIR)$(cmdbindir)" @list='$(cmdbin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1291,7 +1299,7 @@ done install-initSCRIPTS: $(init_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(initdir)" || $(mkdir_p) "$(DESTDIR)$(initdir)" + test -z "$(initdir)" || $(MKDIR_P) "$(DESTDIR)$(initdir)" @list='$(init_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1310,7 +1318,7 @@ done install-nodist_cmdbinSCRIPTS: $(nodist_cmdbin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" + test -z "$(cmdbindir)" || $(MKDIR_P) "$(DESTDIR)$(cmdbindir)" @list='$(nodist_cmdbin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1329,7 +1337,7 @@ done install-perlSCRIPTS: $(perl_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(perldir)" || $(mkdir_p) "$(DESTDIR)$(perldir)" + test -z "$(perldir)" || $(MKDIR_P) "$(DESTDIR)$(perldir)" @list='$(perl_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1524,581 +1532,581 @@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libsi18n/$(DEPDIR)/txtfile.Plo at am__quote@ .c.o: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ - at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ - at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ - at am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< lib/libdsa/libdsa_a-dsalib_conf.o: lib/libdsa/dsalib_conf.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_conf.c' object='lib/libdsa/libdsa_a-dsalib_conf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c lib/libdsa/libdsa_a-dsalib_conf.obj: lib/libdsa/dsalib_conf.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_conf.c' object='lib/libdsa/libdsa_a-dsalib_conf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi` lib/libdsa/libdsa_a-dsalib_debug.o: lib/libdsa/dsalib_debug.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_debug.c' object='lib/libdsa/libdsa_a-dsalib_debug.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c lib/libdsa/libdsa_a-dsalib_debug.obj: lib/libdsa/dsalib_debug.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_debug.c' object='lib/libdsa/libdsa_a-dsalib_debug.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi` lib/libdsa/libdsa_a-dsalib_ldif.o: lib/libdsa/dsalib_ldif.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_ldif.c' object='lib/libdsa/libdsa_a-dsalib_ldif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c lib/libdsa/libdsa_a-dsalib_ldif.obj: lib/libdsa/dsalib_ldif.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_ldif.c' object='lib/libdsa/libdsa_a-dsalib_ldif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi` lib/libdsa/libdsa_a-dsalib_tailf.o: lib/libdsa/dsalib_tailf.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_tailf.c' object='lib/libdsa/libdsa_a-dsalib_tailf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c lib/libdsa/libdsa_a-dsalib_tailf.obj: lib/libdsa/dsalib_tailf.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_tailf.c' object='lib/libdsa/libdsa_a-dsalib_tailf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi` lib/libdsa/libdsa_a-dsalib_confs.o: lib/libdsa/dsalib_confs.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_confs.c' object='lib/libdsa/libdsa_a-dsalib_confs.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c lib/libdsa/libdsa_a-dsalib_confs.obj: lib/libdsa/dsalib_confs.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_confs.c' object='lib/libdsa/libdsa_a-dsalib_confs.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi` lib/libdsa/libdsa_a-dsalib_dn.o: lib/libdsa/dsalib_dn.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_dn.c' object='lib/libdsa/libdsa_a-dsalib_dn.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c lib/libdsa/libdsa_a-dsalib_dn.obj: lib/libdsa/dsalib_dn.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_dn.c' object='lib/libdsa/libdsa_a-dsalib_dn.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi` lib/libdsa/libdsa_a-dsalib_location.o: lib/libdsa/dsalib_location.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_location.c' object='lib/libdsa/libdsa_a-dsalib_location.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c lib/libdsa/libdsa_a-dsalib_location.obj: lib/libdsa/dsalib_location.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_location.c' object='lib/libdsa/libdsa_a-dsalib_location.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi` lib/libdsa/libdsa_a-dsalib_updown.o: lib/libdsa/dsalib_updown.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_updown.c' object='lib/libdsa/libdsa_a-dsalib_updown.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c lib/libdsa/libdsa_a-dsalib_updown.obj: lib/libdsa/dsalib_updown.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_updown.c' object='lib/libdsa/libdsa_a-dsalib_updown.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi` lib/libdsa/libdsa_a-dsalib_db.o: lib/libdsa/dsalib_db.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_db.c' object='lib/libdsa/libdsa_a-dsalib_db.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c lib/libdsa/libdsa_a-dsalib_db.obj: lib/libdsa/dsalib_db.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_db.c' object='lib/libdsa/libdsa_a-dsalib_db.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi` lib/libdsa/libdsa_a-dsalib_filename.o: lib/libdsa/dsalib_filename.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_filename.c' object='lib/libdsa/libdsa_a-dsalib_filename.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c lib/libdsa/libdsa_a-dsalib_filename.obj: lib/libdsa/dsalib_filename.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_filename.c' object='lib/libdsa/libdsa_a-dsalib_filename.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi` lib/libdsa/libdsa_a-dsalib_pw.o: lib/libdsa/dsalib_pw.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_pw.c' object='lib/libdsa/libdsa_a-dsalib_pw.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c lib/libdsa/libdsa_a-dsalib_pw.obj: lib/libdsa/dsalib_pw.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_pw.c' object='lib/libdsa/libdsa_a-dsalib_pw.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi` lib/libdsa/libdsa_a-dsalib_util.o: lib/libdsa/dsalib_util.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_util.c' object='lib/libdsa/libdsa_a-dsalib_util.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c lib/libdsa/libdsa_a-dsalib_util.obj: lib/libdsa/dsalib_util.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi` + at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_util.c' object='lib/libdsa/libdsa_a-dsalib_util.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi` admserv/cgi-ds/ds_addindex-addindex.o: admserv/cgi-ds/addindex.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/addindex.c' object='admserv/cgi-ds/ds_addindex-addindex.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c admserv/cgi-ds/ds_addindex-addindex.obj: admserv/cgi-ds/addindex.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/addindex.c' object='admserv/cgi-ds/ds_addindex-addindex.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi` admserv/cgi-ds/ds_addindex-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_addindex-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_addindex-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_addindex-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_bak2db-ds_bak2db.o: admserv/cgi-ds/ds_bak2db.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_bak2db.c' object='admserv/cgi-ds/ds_bak2db-ds_bak2db.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c admserv/cgi-ds/ds_bak2db-ds_bak2db.obj: admserv/cgi-ds/ds_bak2db.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_bak2db.c' object='admserv/cgi-ds/ds_bak2db-ds_bak2db.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi` admserv/cgi-ds/ds_bak2db-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_bak2db-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_bak2db-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_bak2db-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_db2bak-ds_db2bak.o: admserv/cgi-ds/ds_db2bak.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2bak.c' object='admserv/cgi-ds/ds_db2bak-ds_db2bak.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c admserv/cgi-ds/ds_db2bak-ds_db2bak.obj: admserv/cgi-ds/ds_db2bak.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2bak.c' object='admserv/cgi-ds/ds_db2bak-ds_db2bak.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi` admserv/cgi-ds/ds_db2bak-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2bak-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_db2bak-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2bak-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o: admserv/cgi-ds/ds_db2ldif.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2ldif.c' object='admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj: admserv/cgi-ds/ds_db2ldif.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2ldif.c' object='admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi` admserv/cgi-ds/ds_db2ldif-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2ldif-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_db2ldif-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2ldif-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o: admserv/cgi-ds/ds_ldif2db.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_ldif2db.c' object='admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj: admserv/cgi-ds/ds_ldif2db.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_ldif2db.c' object='admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi` admserv/cgi-ds/ds_ldif2db-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_ldif2db-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_ldif2db-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_ldif2db-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_listdb-ds_listdb.o: admserv/cgi-ds/ds_listdb.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_listdb.c' object='admserv/cgi-ds/ds_listdb-ds_listdb.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c admserv/cgi-ds/ds_listdb-ds_listdb.obj: admserv/cgi-ds/ds_listdb.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_listdb.c' object='admserv/cgi-ds/ds_listdb-ds_listdb.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi` admserv/cgi-ds/ds_listdb-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_listdb-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_listdb-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_listdb-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_remove-ds_remove.o: admserv/cgi-ds/ds_remove.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_remove.c' object='admserv/cgi-ds/ds_remove-ds_remove.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c admserv/cgi-ds/ds_remove-ds_remove.obj: admserv/cgi-ds/ds_remove.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_remove.c' object='admserv/cgi-ds/ds_remove-ds_remove.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi` admserv/cgi-ds/ds_remove-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_remove-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_remove-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_remove-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_restart-restart.o: admserv/cgi-ds/restart.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/restart.c' object='admserv/cgi-ds/ds_restart-restart.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c admserv/cgi-ds/ds_restart-restart.obj: admserv/cgi-ds/restart.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/restart.c' object='admserv/cgi-ds/ds_restart-restart.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi` admserv/cgi-ds/ds_restart-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_restart-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_restart-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_restart-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_rmdb-ds_rmdb.o: admserv/cgi-ds/ds_rmdb.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_rmdb.c' object='admserv/cgi-ds/ds_rmdb-ds_rmdb.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c admserv/cgi-ds/ds_rmdb-ds_rmdb.obj: admserv/cgi-ds/ds_rmdb.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_rmdb.c' object='admserv/cgi-ds/ds_rmdb-ds_rmdb.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi` admserv/cgi-ds/ds_rmdb-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_rmdb-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_rmdb-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_rmdb-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_shutdown-shutdown.o: admserv/cgi-ds/shutdown.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/shutdown.c' object='admserv/cgi-ds/ds_shutdown-shutdown.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c admserv/cgi-ds/ds_shutdown-shutdown.obj: admserv/cgi-ds/shutdown.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/shutdown.c' object='admserv/cgi-ds/ds_shutdown-shutdown.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi` admserv/cgi-ds/ds_shutdown-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_shutdown-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_shutdown-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_shutdown-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o: admserv/cgi-ds/ds_snmpctrl.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_snmpctrl.c' object='admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj: admserv/cgi-ds/ds_snmpctrl.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_snmpctrl.c' object='admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi` admserv/cgi-ds/ds_snmpctrl-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_snmpctrl-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_start-start.o: admserv/cgi-ds/start.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/start.c' object='admserv/cgi-ds/ds_start-start.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c admserv/cgi-ds/ds_start-start.obj: admserv/cgi-ds/start.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/start.c' object='admserv/cgi-ds/ds_start-start.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi` admserv/cgi-ds/ds_start-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_start-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_start-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_start-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_vlvindex-vlvindex.o: admserv/cgi-ds/vlvindex.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/vlvindex.c' object='admserv/cgi-ds/ds_vlvindex-vlvindex.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c admserv/cgi-ds/ds_vlvindex-vlvindex.obj: admserv/cgi-ds/vlvindex.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/vlvindex.c' object='admserv/cgi-ds/ds_vlvindex-vlvindex.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi` admserv/cgi-ds/ds_vlvindex-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_vlvindex-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_vlvindex-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ - at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo"; exit 1; fi + at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` + at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_vlvindex-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` .cpp.o: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ - at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cpp.obj: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ - at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ - at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ - at am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ - at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< @@ -2114,10 +2122,9 @@ distclean-libtool: -rm -f libtool -uninstall-info-am: install-dist_helpDATA: $(dist_help_DATA) @$(NORMAL_INSTALL) - test -z "$(helpdir)" || $(mkdir_p) "$(DESTDIR)$(helpdir)" + test -z "$(helpdir)" || $(MKDIR_P) "$(DESTDIR)$(helpdir)" @list='$(dist_help_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2134,7 +2141,7 @@ done install-dist_htmlDATA: $(dist_html_DATA) @$(NORMAL_INSTALL) - test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" + test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" @list='$(dist_html_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2151,7 +2158,7 @@ done install-dist_iconDATA: $(dist_icon_DATA) @$(NORMAL_INSTALL) - test -z "$(icondir)" || $(mkdir_p) "$(DESTDIR)$(icondir)" + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" @list='$(dist_icon_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2168,7 +2175,7 @@ done install-infDATA: $(inf_DATA) @$(NORMAL_INSTALL) - test -z "$(infdir)" || $(mkdir_p) "$(DESTDIR)$(infdir)" + test -z "$(infdir)" || $(MKDIR_P) "$(DESTDIR)$(infdir)" @list='$(inf_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2185,7 +2192,7 @@ done install-ldifDATA: $(ldif_DATA) @$(NORMAL_INSTALL) - test -z "$(ldifdir)" || $(mkdir_p) "$(DESTDIR)$(ldifdir)" + test -z "$(ldifdir)" || $(MKDIR_P) "$(DESTDIR)$(ldifdir)" @list='$(ldif_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2202,7 +2209,7 @@ done install-nodist_configDATA: $(nodist_config_DATA) @$(NORMAL_INSTALL) - test -z "$(configdir)" || $(mkdir_p) "$(DESTDIR)$(configdir)" + test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)" @list='$(nodist_config_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2219,7 +2226,7 @@ done install-nodist_propertyDATA: $(nodist_property_DATA) @$(NORMAL_INSTALL) - test -z "$(propertydir)" || $(mkdir_p) "$(DESTDIR)$(propertydir)" + test -z "$(propertydir)" || $(MKDIR_P) "$(DESTDIR)$(propertydir)" @list='$(nodist_property_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2236,7 +2243,7 @@ done install-propertyDATA: $(property_DATA) @$(NORMAL_INSTALL) - test -z "$(propertydir)" || $(mkdir_p) "$(DESTDIR)$(propertydir)" + test -z "$(propertydir)" || $(MKDIR_P) "$(DESTDIR)$(propertydir)" @list='$(property_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2283,8 +2290,7 @@ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: +$(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ @@ -2386,24 +2392,22 @@ distdir: $(DISTFILES) $(am__remove_distdir) - mkdir $(distdir) - $(mkdir_p) $(distdir)/$(HTMLDIR) $(distdir)/$(ICONDIR) $(distdir)/admserv/cgi-src40 $(distdir)/m4 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -2417,7 +2421,7 @@ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ @@ -2425,6 +2429,8 @@ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ @@ -2432,7 +2438,7 @@ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz @@ -2507,7 +2513,7 @@ $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ @@ -2533,7 +2539,7 @@ installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive @@ -2604,12 +2610,20 @@ @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-recursive + install-exec-am: install-binSCRIPTS install-libLTLIBRARIES +install-html: install-html-recursive + install-info: install-info-recursive install-man: +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + installcheck-am: maintainer-clean: maintainer-clean-recursive @@ -2635,41 +2649,43 @@ uninstall-am: uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ uninstall-cgibinSCRIPTS uninstall-cmdbinSCRIPTS \ uninstall-dist_helpDATA uninstall-dist_htmlDATA \ - uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ + uninstall-dist_iconDATA uninstall-infDATA \ uninstall-initSCRIPTS uninstall-ldifDATA \ uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ uninstall-perlSCRIPTS uninstall-propertyDATA -uninstall-info: uninstall-info-recursive +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-data-am install-strip -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ - check-am clean clean-cgibinPROGRAMS clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-noinstLIBRARIES \ - clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \ - dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \ - distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-recursive distclean-tags \ - distcleancheck distdir distuninstallcheck dvi dvi-am html \ - html-am info info-am install install-am install-binSCRIPTS \ +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean \ + clean-cgibinPROGRAMS clean-generic clean-libLTLIBRARIES \ + clean-libtool clean-noinstLIBRARIES ctags ctags-recursive dist \ + dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \ + distcheck distclean distclean-compile distclean-generic \ + distclean-hdr distclean-libtool distclean-tags distcleancheck \ + distdir distuninstallcheck dvi dvi-am html html-am info \ + info-am install install-am install-binSCRIPTS \ install-cgibinPROGRAMS install-cgibinSCRIPTS \ install-cmdbinSCRIPTS install-data install-data-am \ install-data-hook install-dist_helpDATA install-dist_htmlDATA \ - install-dist_iconDATA install-exec install-exec-am \ - install-infDATA install-info install-info-am \ - install-initSCRIPTS install-ldifDATA install-libLTLIBRARIES \ - install-man install-nodist_cmdbinSCRIPTS \ - install-nodist_configDATA install-nodist_propertyDATA \ - install-perlSCRIPTS install-propertyDATA install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ + install-dist_iconDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-infDATA \ + install-info install-info-am install-initSCRIPTS \ + install-ldifDATA install-libLTLIBRARIES install-man \ + install-nodist_cmdbinSCRIPTS install-nodist_configDATA \ + install-nodist_propertyDATA install-pdf install-pdf-am \ + install-perlSCRIPTS install-propertyDATA install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ uninstall-cgibinSCRIPTS uninstall-cmdbinSCRIPTS \ uninstall-dist_helpDATA uninstall-dist_htmlDATA \ - uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ + uninstall-dist_iconDATA uninstall-infDATA \ uninstall-initSCRIPTS uninstall-ldifDATA \ uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- aclocal.m4 21 Jun 2007 22:01:51 -0000 1.11 +++ aclocal.m4 22 Jun 2007 01:34:18 -0000 1.12 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.9.6 -*- Autoconf -*- +# generated automatically by aclocal 1.10 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005 Free Software Foundation, Inc. +# 2005, 2006 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,6 +11,11 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_if(m4_PACKAGE_VERSION, [2.60],, +[m4_fatal([this file was generated for autoconf 2.60. +You have another version of autoconf. If you want to use that, +you should regenerate the build system entirely.], [63])]) + # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 AC_PROG_LIBTOOL @@ -6388,7 +6393,7 @@ AC_MSG_RESULT([$SED]) ]) -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6398,14 +6403,29 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.10' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.10], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.6])]) +[AM_AUTOMAKE_VERSION([1.10])dnl +_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- @@ -6462,14 +6482,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 7 +# serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -6478,8 +6498,10 @@ [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE]) -AC_SUBST([$1_FALSE]) +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' @@ -6493,15 +6515,14 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -6529,6 +6550,7 @@ ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) @@ -6594,6 +6616,7 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -6646,7 +6669,8 @@ AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- @@ -6671,8 +6695,9 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue @@ -6719,8 +6744,8 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6743,16 +6768,20 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.58])dnl +[AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi fi # test whether we have cygpath @@ -6772,6 +6801,9 @@ AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl @@ -6807,6 +6839,10 @@ [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) @@ -6842,7 +6878,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"$am_aux_dir/install-sh"} +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -6947,13 +6983,14 @@ rm -f confinc confmf ]) -# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 5 # AM_PROG_CC_C_O # -------------- @@ -6961,6 +6998,7 @@ AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC @@ -6973,18 +7011,22 @@ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 +# serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -7000,6 +7042,7 @@ # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then @@ -7010,7 +7053,7 @@ fi ]) -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -7018,60 +7061,23 @@ # AM_PROG_MKDIR_P # --------------- -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. -# -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories -# created by `make install' are always world readable, even if the -# installer happens to have an overly restrictive umask (e.g. 077). -# This was a mistake. There are at least two reasons why we must not -# use `-m 0755': -# - it causes special bits like SGID to be ignored, -# - it may be too restrictive (some setups expect 775 directories). -# -# Do not use -m 0755 and let people choose whatever they expect by -# setting umask. -# -# We cannot accept any implementation of `mkdir' that recognizes `-p'. -# Some implementations (such as Solaris 8's) are not thread-safe: if a -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' -# concurrently, both version can detect that a/ is missing, but only -# one can create it and the other will error out. Consequently we -# restrict ourselves to GNU make (using the --version option ensures -# this.) +# Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else - mkdir_p='$(install_sh) -d' - fi -fi -AC_SUBST([mkdir_p])]) +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) # Helper functions for option handling. -*- Autoconf -*- @@ -7183,9 +7189,21 @@ if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. Index: autogen.sh =================================================================== RCS file: /cvs/dirsec/adminserver/autogen.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- autogen.sh 9 May 2007 00:26:29 -0000 1.1 +++ autogen.sh 22 Jun 2007 01:34:18 -0000 1.2 @@ -15,6 +15,9 @@ # Check automake version AM_VERSION=`automake --version | grep '^automake' | sed 's/.*) *//'` case $AM_VERSION in +1.1*) + echo "Found automake version $AM_VERSION" + ;; # 1.10 or later - ok '' | 0.* | 1.[0-8]* | 1.9.[0-5]* ) echo "You must have automake version 1.9.6 or later installed (found version $AM_VERSION)." exit 1 Index: config.guess =================================================================== RCS file: /cvs/dirsec/adminserver/config.guess,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- config.guess 19 Jun 2007 18:32:27 -0000 1.6 +++ config.guess 22 Jun 2007 01:34:18 -0000 1.7 @@ -1,9 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-07-08' +timestamp='2006-07-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -106,7 +107,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -206,8 +207,11 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; macppc:MirBSD:*:*) - echo powerppc-unknown-mirbsd${UNAME_RELEASE} + echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -764,7 +768,14 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -779,8 +790,11 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[34]*) - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + x86:Interix*:[3456]*) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T:Interix*:[3456]*) + echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -794,7 +808,7 @@ i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; - amd64:CYGWIN*:*:*) + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) @@ -817,6 +831,9 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -851,7 +868,11 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -870,9 +891,16 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; @@ -916,6 +944,9 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; @@ -961,7 +992,7 @@ LIBC=gnulibc1 # endif #else - #ifdef __INTEL_COMPILER + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout @@ -971,7 +1002,11 @@ LIBC=dietlibc #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1182,7 +1217,6 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in - *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1261,6 +1295,9 @@ i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 Index: config.h.in =================================================================== RCS file: /cvs/dirsec/adminserver/config.h.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- config.h.in 19 Jun 2007 20:49:55 -0000 1.2 +++ config.h.in 22 Jun 2007 01:34:18 -0000 1.3 @@ -3,6 +3,15 @@ /* Define to 1 if the `closedir' function returns void instead of `int'. */ #undef CLOSEDIR_VOID +/* cpu type pa-risc */ +#undef CPU_hppa + +/* cpu type ia64 */ +#undef CPU_ia64 + +/* cpu type sparc */ +#undef CPU_sparc + /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H @@ -212,19 +221,46 @@ /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL +/* HP-UX */ +#undef HPUX + +/* HP-UX 11 */ +#undef HPUX11 + +/* HP-UX 11.11 */ +#undef HPUX11_11 + +/* HP-UX 11.23 */ +#undef HPUX11_23 + /* Use FHS layout */ #undef IS_FHS /* Use FHS optional layout */ #undef IS_FHS_OPT +/* Linux */ +#undef LINUX + /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK +/* Linux */ +#undef Linux + /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O +/* OS version */ +#undef OSVERSION + +/* OS HP-UX */ +#undef OS_hpux + +/* OS SOLARIS */ +#undef OS_solaris + /* Name of package */ #undef PACKAGE @@ -255,6 +291,9 @@ /* Define to 1 if strerror_r returns char *. */ #undef STRERROR_R_CHAR_P +/* SVR4 */ +#undef SVR4 + /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME @@ -264,12 +303,36 @@ /* Version number of package */ #undef VERSION +/* UNIX */ +#undef XP_UNIX + +/* Source namespace */ +#undef _HPUX_SOURCE + +/* POSIX revision */ +#undef _POSIX_C_SOURCE + +/* _REENTRANT */ +#undef _REENTRANT + +/* SVID_GETTOD */ +#undef _SVID_GETTOD + +/* SVR4 */ +#undef __svr4 + +/* SVR4 */ +#undef __svr4__ + /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `int' if doesn't define. */ #undef gid_t +/* HP-UX */ +#undef hpux + /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc @@ -279,9 +342,12 @@ /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc -/* Define to `unsigned' if does not define. */ +/* Define to `unsigned int' if does not define. */ #undef size_t +/* SunOS5 */ +#undef sunos5 + /* Define to `int' if doesn't define. */ #undef uid_t Index: config.sub =================================================================== RCS file: /cvs/dirsec/adminserver/config.sub,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- config.sub 19 Jun 2007 18:32:27 -0000 1.6 +++ config.sub 22 Jun 2007 01:34:18 -0000 1.7 @@ -1,9 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-07-08' +timestamp='2006-09-20' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -119,8 +120,9 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -171,6 +173,10 @@ -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -187,6 +193,10 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -231,7 +241,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -239,7 +249,8 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -257,28 +268,27 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ - | ms1 \ + | mt \ | msp430 \ + | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | score \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; - m32c) - basic_machine=$basic_machine-unknown - ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -286,6 +296,9 @@ ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; + ms1) + basic_machine=mt-unknown + ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -305,7 +318,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ + | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -316,7 +329,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ + | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -336,31 +349,30 @@ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ - | ms1-* \ + | mt-* \ | msp430-* \ + | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; - m32c-*) - ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -696,6 +708,9 @@ basic_machine=i386-pc os=-msdos ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; mvs) basic_machine=i370-ibm os=-mvs @@ -803,6 +818,12 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -859,6 +880,10 @@ basic_machine=i586-unknown os=-pw32 ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -885,6 +910,10 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; sei) basic_machine=mips-sei os=-seiux @@ -1101,7 +1130,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b) + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) @@ -1174,21 +1203,23 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku*) + | -skyos* | -haiku* | -rdos* | -toppers*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1340,6 +1371,12 @@ # system, and we'll never get to this point. case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; @@ -1349,9 +1386,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.13 -r 1.14 configure Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- configure 21 Jun 2007 22:01:51 -0000 1.13 +++ configure 22 Jun 2007 01:34:18 -0000 1.14 @@ -1,10 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for fedora-ds-admin 1.1.0. +# Generated by GNU Autoconf 2.60 for fedora-ds-admin 1.1.0. # # Report bugs to . # -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -18,11 +19,35 @@ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi +BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset @@ -31,8 +56,43 @@ fi +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + # Work around bugs in pre-3.0 UWIN ksh. -$as_unset ENV MAIL MAILPATH +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done PS1='$ ' PS2='> ' PS4='+ ' @@ -46,18 +106,19 @@ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else - $as_unset $as_var + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1; then +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false @@ -65,157 +126,386 @@ # Name of the executable. -as_me=`$as_basename "$0" || +as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || + X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` +# CDPATH. +$as_unset CDPATH -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh +if test "x$CONFIG_SHELL" = x; then + if (eval ":") 2>/dev/null; then + as_have_required=yes +else + as_have_required=no fi + if test $as_have_required = yes && (eval ": +(as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} [...17418 lines suppressed...] - else - as_dir="$ac_dir" + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" + echo "$as_me:$LINENO: $ac_msg" >&5 + echo "$ac_msg" >&6 + { as_dir="$ac_dir" + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= - while test ! -d "$as_dir"; do - as_dirs="$as_dir $as_dirs" - as_dir=`(dirname "$as_dir") 2>/dev/null || + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break done - test ! -n "$as_dirs" || mkdir $as_dirs - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } - ac_builddir=. -if test "$ac_dir" != .; then +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix case $srcdir in - .) # No --srcdir option. We are building in place. + .) # We are building in place. ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac - -# Do not use `cd foo && pwd` to compute absolute paths, because -# the directories may not exist. -case `pwd` in -.) ac_abs_builddir="$ac_dir";; -*) - case "$ac_dir" in - .) ac_abs_builddir=`pwd`;; - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; - *) ac_abs_builddir=`pwd`/"$ac_dir";; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_builddir=${ac_top_builddir}.;; -*) - case ${ac_top_builddir}. in - .) ac_abs_top_builddir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_srcdir=$ac_srcdir;; -*) - case $ac_srcdir in - .) ac_abs_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_srcdir=$ac_top_srcdir;; -*) - case $ac_top_srcdir in - .) ac_abs_top_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; - esac;; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - cd $ac_dir + cd "$ac_dir" # Check for guested configure; otherwise get Cygnus style configure. - if test -f $ac_srcdir/configure.gnu; then - ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" - elif test -f $ac_srcdir/configure; then - ac_sub_configure="$SHELL '$ac_srcdir/configure'" - elif test -f $ac_srcdir/configure.in; then - ac_sub_configure=$ac_configure + if test -f "$ac_srcdir/configure.gnu"; then + ac_sub_configure=$ac_srcdir/configure.gnu + elif test -f "$ac_srcdir/configure"; then + ac_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ac_sub_configure=$ac_aux_dir/configure else { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} @@ -26385,21 +28516,21 @@ # Make the cache file name correct relative to the subdirectory. case $cache_file in [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; - *) # Relative path. - ac_sub_cache_file=$ac_top_builddir$cache_file ;; + *) # Relative name. + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac - { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 -echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} # The eval makes quoting arguments work. - eval $ac_sub_configure $ac_sub_configure_args \ - --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || + eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ + --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} { (exit 1); exit 1; }; } fi - cd $ac_popdir + cd "$ac_popdir" done fi Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- configure.ac 21 Jun 2007 22:01:51 -0000 1.10 +++ configure.ac 22 Jun 2007 01:34:18 -0000 1.11 @@ -107,21 +107,69 @@ fi initdir=/rc.d +CXXLINK_REQUIRED=0 case $host in *-*-linux*) + AC_DEFINE([XP_UNIX], [1], [UNIX]) + AC_DEFINE([Linux], [1], [Linux]) + AC_DEFINE([LINUX], [1], [Linux]) initdir=/rc.d/init.d ;; ia64-hp-hpux*) + AC_DEFINE([XP_UNIX], [1], [UNIX]) + AC_DEFINE([hpux], [1], [HP-UX]) + AC_DEFINE([HPUX], [1], [HP-UX]) + AC_DEFINE([HPUX11], [1], [HP-UX 11]) + AC_DEFINE([HPUX11_23], [1], [HP-UX 11.23]) + AC_DEFINE([CPU_ia64], [], [cpu type ia64]) + AC_DEFINE([OS_hpux], [1], [OS HP-UX]) + AC_DEFINE([_POSIX_C_SOURCE], [199506L], [POSIX revision]) + AC_DEFINE([_HPUX_SOURCE], [1], [Source namespace]) + CXXLINK_REQUIRED=1 ;; hppa*-hp-hpux*) + AC_DEFINE([XP_UNIX], [1], [UNIX]) + AC_DEFINE([hpux], [1], [HP-UX]) + AC_DEFINE([HPUX], [1], [HP-UX]) + AC_DEFINE([HPUX11], [1], [HP-UX 11]) + AC_DEFINE([HPUX11_11], [1], [HP-UX 11.11]) + AC_DEFINE([CPU_hppa], [], [cpu type pa-risc]) + AC_DEFINE([OS_hpux], [1], [OS HP-UX]) + AC_DEFINE([_POSIX_C_SOURCE], [199506L], [POSIX revision]) + AC_DEFINE([_HPUX_SOURCE], [1], [Source namespace]) + CXXLINK_REQUIRED=1 ;; sparc-sun-solaris*) + AC_DEFINE([XP_UNIX], [1], [UNIX]) + AC_DEFINE([SVR4], [1], [SVR4]) + AC_DEFINE([__svr4], [1], [SVR4]) + AC_DEFINE([__svr4__], [1], [SVR4]) + AC_DEFINE([_SVID_GETTOD], [1], [SVID_GETTOD]) + AC_DEFINE([CPU_sparc], [], [cpu type sparc]) + AC_DEFINE([OS_solaris], [1], [OS SOLARIS]) + AC_DEFINE([sunos5], [1], [SunOS5]) + AC_DEFINE([OSVERSION], [509], [OS version]) + AC_DEFINE([_REENTRANT], [1], [_REENTRANT]) +dnl socket nsl and dl are required to link several programs + LIBSOCKET=-lsocket + AC_SUBST([LIBSOCKET], [$LIBSOCKET]) + LIBNSL=-lnsl + AC_SUBST([LIBNSL], [$LIBNSL]) +dnl Cstd and Crun are required to link any C++ related code (ICU) + LIBCSTD=-lCstd + AC_SUBST([LIBCSTD], [$LIBCSTD]) + LIBCRUN=-lCrun + AC_SUBST([LIBCRUN], [$LIBCRUN]) + CXXLINK_REQUIRED=1 initdir=/init.d ;; *) esac AC_SUBST(initdir) +AM_CONDITIONAL([CXXLINK_REQUIRED], test "$CXXLINK_REQUIRED" = 1) +# Check for fortitude +m4_include(m4/fortitude.m4) # Check for web server m4_include(m4/httpd.m4) @@ -239,7 +287,7 @@ # if doing a recursive configure, add --with-adminserver # to the list of args for the modules -ac_configure_args="$ac_configure_args --with-adminserver --with-moddir=$admmoddir" +ac_configure_args="$ac_configure_args --with-adminserver --with-apxs=$APXS --with-apr-config=$APR_CONFIG --with-moddir=$admmoddir" if test -d $srcdir/mod_admserv ; then AC_CONFIG_SUBDIRS([mod_admserv]) Index: depcomp =================================================================== RCS file: /cvs/dirsec/adminserver/depcomp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- depcomp 19 Jun 2007 18:32:27 -0000 1.6 +++ depcomp 22 Jun 2007 01:34:18 -0000 1.7 @@ -1,9 +1,10 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2005-07-09.11 +scriptversion=2006-10-15.18 -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -91,7 +92,20 @@ ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" stat=$? if test $stat -eq 0; then : else @@ -276,6 +290,46 @@ rm -f "$tmpdepfile" ;; +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -288,13 +342,13 @@ if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mecanism is used in libtool 1.4 series to + # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in in $dir.libs/$base.o.d and + # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is Index: install-sh =================================================================== RCS file: /cvs/dirsec/adminserver/install-sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- install-sh 19 Jun 2007 18:32:27 -0000 1.6 +++ install-sh 22 Jun 2007 01:34:18 -0000 1.7 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2005-05-14.22 +scriptversion=2006-10-14.15 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -39,15 +39,24 @@ # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. +# from scratch. + +nl=' +' +IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi -# put in absolute paths if you don't have them in your path; or use env. vars. +# Put in absolute file names if you don't have them in your path; +# or use environment vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" @@ -58,7 +67,13 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -chmodcmd="$chmodprog 0755" +posix_glob= +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chmodcmd=$chmodprog chowncmd= chgrpcmd= stripcmd= @@ -95,7 +110,7 @@ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " -while test -n "$1"; do +while test $# -ne 0; do case $1 in -c) shift continue;; @@ -111,9 +126,15 @@ --help) echo "$usage"; exit $?;; - -m) chmodcmd="$chmodprog $2" + -m) mode=$2 shift shift + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac continue;; -o) chowncmd="$chownprog $2" @@ -136,25 +157,33 @@ --version) echo "$0 $scriptversion"; exit $?;; - *) # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - test -n "$dir_arg$dstarg" && break - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done + --) shift break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; esac done -if test -z "$1"; then +if test $# -ne 0 && test -z "$dir_arg$dstarg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done +fi + +if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 @@ -164,6 +193,33 @@ exit 0 fi +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + for src do # Protect names starting with `-'. @@ -173,15 +229,11 @@ if test -n "$dir_arg"; then dst=$src - src= - - if test -d "$dst"; then - mkdircmd=: - chmodcmd= - else - mkdircmd=$mkdirprog - fi + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. @@ -208,53 +260,188 @@ echo "$0: $dstarg: Is a directory" >&2 exit 1 fi - dst=$dst/`basename "$src"` + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? fi fi - # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - - # Make sure that the destination directory exists. + obsolete_mkdir_used=false - # Skip lots of stat calls in the usual case. - if test ! -d "$dstdir"; then - defaultIFS=' - ' - IFS="${IFS-$defaultIFS}" - - oIFS=$IFS - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` - shift - IFS=$oIFS + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac - pathcomp= + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else - while test $# -ne 0 ; do - pathcomp=$pathcomp$1 + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix=/ ;; + -*) prefix=./ ;; + *) prefix= ;; + esac + + case $posix_glob in + '') + if (set -f) 2>/dev/null; then + posix_glob=true + else + posix_glob=false + fi ;; + esac + + oIFS=$IFS + IFS=/ + $posix_glob && set -f + set fnord $dstdir shift - if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" - # mkdir can fail with a `File exist' error in case several - # install-sh are creating the directory concurrently. This - # is OK. - test -d "$pathcomp" || exit + $posix_glob && set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true fi - pathcomp=$pathcomp/ - done + fi fi if test -n "$dir_arg"; then - $doit $mkdircmd "$dst" \ - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } - + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else - dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ @@ -262,10 +449,9 @@ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. - $doit $cpprog "$src" "$dsttmp" && + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # @@ -276,10 +462,10 @@ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ + { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not @@ -291,11 +477,12 @@ # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { - if test -f "$dstdir/$dstfile"; then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + if test -f "$dst"; then + $doit $rmcmd -f "$dst" 2>/dev/null \ + || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ + && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ || { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } else @@ -304,16 +491,13 @@ } && # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + $doit $mvcmd "$dsttmp" "$dst" } - } - fi || { (exit 1); exit 1; } -done + } || exit 1 -# The final little trick to "correctly" pass the exit status to the exit trap. -{ - (exit 0); exit 0 -} + trap '' 0 + fi +done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) Index: missing =================================================================== RCS file: /cvs/dirsec/adminserver/missing,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- missing 19 Jun 2007 18:32:27 -0000 1.6 +++ missing 22 Jun 2007 01:34:18 -0000 1.7 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-06-08.21 +scriptversion=2006-05-10.23 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -33,6 +33,8 @@ fi run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -44,7 +46,7 @@ msg="missing on your system" -case "$1" in +case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -77,6 +79,7 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -106,7 +109,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case "$1" in +case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -135,7 +138,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case "$1" in +case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -164,7 +167,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case "$f" in + case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -192,8 +195,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else @@ -214,25 +217,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if [ ! -f y.tab.h ]; then + if test ! -f y.tab.h; then echo >y.tab.h fi - if [ ! -f y.tab.c ]; then + if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -244,18 +247,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if [ ! -f lex.yy.c ]; then + if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -267,11 +270,9 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then touch $file else test -z "$file" || exec >$file @@ -289,11 +290,17 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -317,13 +324,13 @@ fi firstarg="$1" if shift; then - case "$firstarg" in + case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case "$firstarg" in + case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 From fedora-directory-commits at redhat.com Fri Jun 22 01:34:22 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 21:34:22 -0400 Subject: [Fedora-directory-commits] adminserver/m4 fortitude.m4, NONE, 1.1 httpd.m4, 1.3, 1.4 mod_nss.m4, 1.2, 1.3 Message-ID: <200706220134.l5M1YMW3001232@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/m4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1096/adminserver/m4 Modified Files: httpd.m4 mod_nss.m4 Added Files: fortitude.m4 Log Message: Resolves: bug 245214 Bug Description: adminserver: Solaris port for 1.1 Reviewed by: nhosoi (Thanks!) Fix Description: Fortitude can supply different components, depending on the operating system. On Fedora, mod_nss and Apache are already there, so we don't use Fortitude. On RHEL4, we use Fortitude for mod_nss. On Solaris, we use Fortitude for Apache and mod_nss. I've created a fortitude.m4 that can handle all of these cases, and changed the existing httpd.m4 and mod_nss.m4 to first see if fortitude.m4 has found the component. configure will also pass the proper --with flags to mod_admserv and mod_restartd. ICU introduces a dependency on C++. Solaris requires linking with the C++ libraries and that also requires using C++ to link as well. This means using the CXXLINK macro. There were a few other minor porting issues which required the additional compiler defines and use of config.h. We need to set the libpath before using the @cgibindir@/config program. LIBPATH was not being set correctly on Solaris because I was using the extended sort flags instead of the standard ones. Platforms tested: Solaris 9 64bit Flag Day: no Doc impact: no --- NEW FILE fortitude.m4 --- # BEGIN COPYRIGHT BLOCK # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK # check for --with-fortitude default_fortitudedir=/opt/fortitude AC_MSG_CHECKING(for --with-fortitude) AC_ARG_WITH(fortitude, AS_HELP_STRING([--with-fortitude=PATH], [Fortitude root directory (default: $default_fortitudedir)]), [ if test -d "$withval" then AC_MSG_RESULT([using $withval]) fortitudedir="$withval" elif test "$withval" = "yes" -a -d $default_fortitudedir ; then AC_MSG_RESULT([using $default_fortitudedir]) fortitudedir="$default_fortitudedir" else echo AC_MSG_ERROR([$withval not found]) fi ], AC_MSG_RESULT(no)) if test -n "$fortitudedir" ; then # see if there is a mod_nss in fortitude modnsslist=`ls $fortitudedir/modules.local/libmodnss.* 2> /dev/null` if test -n "$modnsslist" ; then nssmoddir="$fortitudedir/modules.local" fi # see if there is a nss_pcache if test -x "$fortitudedir/bin/nss_pcache" ; then modnssbindir="$fortitudedir/bin" fi # see if fortitude supplies apache if test -x "$fortitudedir/sbin/httpd.worker" ; then HTTPD="$fortitudedir/sbin/httpd.worker" fi # see if fortitude supplies apache modules if test -d "$fortitudedir/modules" ; then moddir="$fortitudedir/modules" fi # see if fortitude supplies apxs if test -x "$fortitudedir/sbin/apxs" ; then APXS="$fortitudedir/sbin/apxs" fi # see if fortitude supplies apr-config if test -x "$fortitudedir/bin/apr-config" ; then APR_CONFIG="$fortitudedir/bin/apr-config" fi fi Index: httpd.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/m4/httpd.m4,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- httpd.m4 21 May 2007 15:52:27 -0000 1.3 +++ httpd.m4 22 Jun 2007 01:34:20 -0000 1.4 @@ -18,13 +18,31 @@ # # END COPYRIGHT BLOCK -AC_PATH_PROG([HTTPD], [httpd.worker], [], - [$PATH:/opt/hpws/apache/bin:/usr/local/apache/sbin:/usr/local/apache2/sbin:/usr/sbin]) -if test -z "$HTTPD" -o ! -x "$HTTPD" ; then - AC_PATH_PROG([HTTPD], [httpd], [], - [$PATH:/opt/hpws/apache/bin:/usr/local/apache/sbin:/usr/local/apache2/sbin:/usr/sbin]) +AC_MSG_CHECKING(for --with-httpd) +AC_ARG_WITH(httpd, + AS_HELP_STRING([--with-httpd=PATH], + [Full path of Apache binary. Configure will usually find the right one, but if it does not, use this to specify the correct binary.]), +[ + if test -x "$withval" + then + AC_MSG_RESULT([using $withval]) + HTTPD="$withval" + else + echo + AC_MSG_ERROR([$withval not found]) + fi +], +AC_MSG_RESULT(no)) + +if test -z "$HTTPD" ; then + AC_PATH_PROG([HTTPD], [httpd.worker], [], + [$PATH:/opt/hpws/apache/bin:/usr/local/apache/sbin:/usr/local/apache2/sbin:/usr/sbin]) + if test -z "$HTTPD" -o ! -x "$HTTPD" ; then + AC_PATH_PROG([HTTPD], [httpd], [], + [$PATH:/opt/hpws/apache/bin:/usr/local/apache/sbin:/usr/local/apache2/sbin:/usr/sbin]) + fi if test -z "$HTTPD" -o ! -x "$HTTPD" ; then - AC_MSG_ERROR([Apache2 httpd server not found]) + AC_MSG_ERROR([Apache2 httpd server not found]) fi fi @@ -48,12 +66,75 @@ mimemagic=${httpd_root}/${mimemagic} fi -AC_PATH_PROG([APXS], [apxs], [], - [$PATH:/opt/hpws/apache/bin:/usr/local/apache/sbin:/usr/local/apache2/sbin:/usr/sbin]) -if test -n "$APXS" -a -x "$APXS" ; then - moddir=`$APXS -q LIBEXECDIR` +# check for --with-apxs +AC_MSG_CHECKING(for --with-apxs) +AC_ARG_WITH(apxs, + AS_HELP_STRING([--with-apxs=PATH], + [Path to apxs]), +[ + if test -x "$withval" + then + AC_MSG_RESULT([using $withval]) + APXS=$withval + else + echo + AC_MSG_ERROR([$withval not found or not executable]) + fi +], +AC_MSG_RESULT(no)) + +if test -z "$APXS" ; then + # first look for APXS in same dir as HTTPD + apachedir=`dirname $HTTPD` + if test -x "$apachedir/apxs" ; then + APXS="$apachedir/apxs" + else + AC_PATH_PROG([APXS], [apxs], [], + [$PATH:/opt/hpws/apache/bin:/usr/local/apache/sbin:/usr/local/apache2/sbin:/usr/sbin]) + fi + if test -z "$APXS" ; then + AC_MSG_ERROR([Apache2 apxs program not found]) + fi +fi + +AC_CHECKING(for apr-config) +# check for --with-apr-config +AC_MSG_CHECKING(for --with-apr-config) +AC_ARG_WITH(apr-config, + AS_HELP_STRING([--with-apr-config], + [Use apr-config to determine the APR directory]), +[ + if test -x "$withval" + then + AC_MSG_RESULT([using $withval]) + APR_CONFIG=$withval + fi +], +AC_MSG_RESULT(no)) + +if test -z "$APR_CONFIG" ; then + # first look for APR_CONFIG in the bin dir if HTTPD is in the sbin dir + apachedir=`dirname $HTTPD` + parentdir=`dirname $apachedir` + if test -x "$parentdir/bin/apr-1-config" ; then + APR_CONFIG="$parentdir/bin/apr-1-config" + elif test -x "$parentdir/bin/apr-config" ; then + APR_CONFIG="$parentdir/bin/apr-config" + else + AC_PATH_PROGS(APR_CONFIG, apr-1-config apr-config, NO_APR_CONFIG, + [$PATH:/opt/hpws/apache/bin:/usr/local/apache/bin:/usr/bin]) + fi + if test -z "$APR_CONFIG" ; then + AC_MSG_ERROR([Apache2 apr-config program not found]) + fi fi if test -z "$moddir" ; then - moddir='$(libdir)/httpd/modules' + if test -n "$APXS" -a -x "$APXS" ; then + moddir=`$APXS -q LIBEXECDIR` + fi + + if test -z "$moddir" ; then + moddir='$(libdir)/httpd/modules' + fi fi Index: mod_nss.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/m4/mod_nss.m4,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- mod_nss.m4 21 May 2007 15:52:27 -0000 1.2 +++ mod_nss.m4 22 Jun 2007 01:34:20 -0000 1.3 @@ -50,36 +50,7 @@ ], AC_MSG_RESULT(no)) -# check for --with-fortitude -default_fortitudedir=/opt/fortitude -AC_MSG_CHECKING(for --with-fortitude) -AC_ARG_WITH(fortitude, [ --with-fortitude=PATH Fortitude root directory (default: $default_fortitudedir)], -[ - if test -d "$withval" - then - AC_MSG_RESULT([using $withval]) - fortitudedir="$withval" - elif test "$withval" = "yes" -a -d $default_fortitudedir ; then - AC_MSG_RESULT([using $default_fortitudedir]) - fortitudedir="$default_fortitudedir" - else - echo - AC_MSG_ERROR([$withval not found]) - fi -], -AC_MSG_RESULT(no)) - -if test -n "$fortitudedir" ; then - if test -z "$nssmoddir" ; then - nssmoddir="$fortitudedir/modules.local" - fi - if test -z "$modnssbindir" ; then - modnssbindir="$fortitudedir/bin" - fi -fi # else, parse httpd.conf or httpconfdir/nss.conf - -# else, punt if test -z "$modnssbindir" ; then nsspcache=`grep NSSPassPhraseHelper $httpdconf|awk '{print $2}'` if test -z "$nsspcache" ; then From fedora-directory-commits at redhat.com Fri Jun 22 02:32:02 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Thu, 21 Jun 2007 22:32:02 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.15, 1.16 Makefile.in, 1.15, 1.16 aclocal.m4, 1.12, 1.13 configure, 1.14, 1.15 config.h.in, 1.3, 1.4 missing, 1.7, 1.8 install-sh, 1.7, 1.8 compile, 1.7, 1.8 depcomp, 1.7, 1.8 config.sub, 1.7, 1.8 config.guess, 1.7, 1.8 Message-ID: <200706220232.l5M2W2Ke017949@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17751/adminserver Modified Files: Makefile.am Makefile.in aclocal.m4 configure config.h.in missing install-sh compile depcomp config.sub config.guess Log Message: Resolves: bug 245214 Bug Description: adminserver: Solaris port for 1.1 Reviewed by: nhosoi (Thanks!) Fix Description: Fix build breakage involving CXXLINK and LINK Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Makefile.am 22 Jun 2007 01:34:18 -0000 1.15 +++ Makefile.am 22 Jun 2007 02:31:59 -0000 1.16 @@ -123,11 +123,10 @@ @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBNSL) $(LIBSOCKET) $(LIBCSTD) $(LIBCRUN) if CXXLINK_REQUIRED -REALLINK = $(CXXLINK) +MYLINK = $(CXXLINK) else -REALLINK = $(LINK) +MYLINK = $(LINK) endif -LINK = $(REALLINK) init_SCRIPTS = wrappers/$(PACKAGE_NAME) @@ -167,6 +166,7 @@ admserv/newinst/src/ConfigDSDialogs.pm libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) +libds_admin_serv_la_LINK = $(MYLINK) libdsa_a_SOURCES = lib/libdsa/dsalib_conf.c \ lib/libdsa/dsalib_debug.c \ @@ -223,58 +223,88 @@ sec_activate_LDADD = $(DEFAULT_LIBS) stopsrv_LDADD = $(DEFAULT_LIBS) +admpw_LINK = $(MYLINK) +start_config_ds_LINK = $(MYLINK) +security_LINK = $(MYLINK) +ugdsconfig_LINK = $(MYLINK) +ReadLog_LINK = $(MYLINK) +config_LINK = $(MYLINK) +statpingserv_LINK = $(MYLINK) +viewdata_LINK = $(MYLINK) +dsconfig_LINK = $(MYLINK) +monreplication_LINK = $(MYLINK) +restartsrv_LINK = $(MYLINK) +statusping_LINK = $(MYLINK) +viewlog_LINK = $(MYLINK) +htmladmin_LINK = $(MYLINK) +sec_activate_LINK = $(MYLINK) +stopsrv_LINK = $(MYLINK) + # ds admin interfaces ds_start_SOURCES = admserv/cgi-ds/start.c admserv/cgi-ds/init_ds_env.c ds_start_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_start_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_start_LINK = $(MYLINK) ds_restart_SOURCES = admserv/cgi-ds/restart.c admserv/cgi-ds/init_ds_env.c ds_restart_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_restart_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_restart_LINK = $(MYLINK) ds_shutdown_SOURCES = admserv/cgi-ds/shutdown.c admserv/cgi-ds/init_ds_env.c ds_shutdown_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_shutdown_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_shutdown_LINK = $(MYLINK) ds_ldif2db_SOURCES = admserv/cgi-ds/ds_ldif2db.c admserv/cgi-ds/init_ds_env.c ds_ldif2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_ldif2db_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_ldif2db_LINK = $(MYLINK) ds_db2ldif_SOURCES = admserv/cgi-ds/ds_db2ldif.c admserv/cgi-ds/init_ds_env.c ds_db2ldif_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_db2ldif_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_db2ldif_LINK = $(MYLINK) ds_bak2db_SOURCES = admserv/cgi-ds/ds_bak2db.c admserv/cgi-ds/init_ds_env.c ds_bak2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_bak2db_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_bak2db_LINK = $(MYLINK) ds_db2bak_SOURCES = admserv/cgi-ds/ds_db2bak.c admserv/cgi-ds/init_ds_env.c ds_db2bak_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_db2bak_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_db2bak_LINK = $(MYLINK) ds_listdb_SOURCES = admserv/cgi-ds/ds_listdb.c admserv/cgi-ds/init_ds_env.c ds_listdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_listdb_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_listdb_LINK = $(MYLINK) ds_rmdb_SOURCES = admserv/cgi-ds/ds_rmdb.c admserv/cgi-ds/init_ds_env.c ds_rmdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_rmdb_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_rmdb_LINK = $(MYLINK) ds_remove_SOURCES = admserv/cgi-ds/ds_remove.c admserv/cgi-ds/init_ds_env.c ds_remove_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_remove_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_remove_LINK = $(MYLINK) ds_snmpctrl_SOURCES = admserv/cgi-ds/ds_snmpctrl.c admserv/cgi-ds/init_ds_env.c ds_snmpctrl_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_snmpctrl_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_snmpctrl_LINK = $(MYLINK) ds_vlvindex_SOURCES = admserv/cgi-ds/vlvindex.c admserv/cgi-ds/init_ds_env.c ds_vlvindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_vlvindex_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_vlvindex_LINK = $(MYLINK) ds_addindex_SOURCES = admserv/cgi-ds/addindex.c admserv/cgi-ds/init_ds_env.c ds_addindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_addindex_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_addindex_LINK = $(MYLINK) ############## Data Files ################ HTMLDIR = admserv/html Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Makefile.in 22 Jun 2007 01:34:18 -0000 1.15 +++ Makefile.in 22 Jun 2007 02:31:59 -0000 1.16 @@ -255,6 +255,9 @@ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ @@ -559,9 +562,8 @@ @icu_lib@ -licui18n -licuuc -licudata @ldapsdk_lib@ -lssldap60 -lprldap60 -lldap60 -lldif60 \ @nss_lib@ -lsmime3 -lssl3 -lnss3 @nspr_lib@ -lnspr4 -lplc4 $(LIBNSL) $(LIBSOCKET) $(LIBCSTD) $(LIBCRUN) - at CXXLINK_REQUIRED_FALSE@REALLINK = $(LINK) - at CXXLINK_REQUIRED_TRUE@REALLINK = $(CXXLINK) -LINK = $(REALLINK) + at CXXLINK_REQUIRED_FALSE@MYLINK = $(LINK) + at CXXLINK_REQUIRED_TRUE@MYLINK = $(CXXLINK) init_SCRIPTS = wrappers/$(PACKAGE_NAME) ldif_DATA = admserv/schema/ldif/00nsroot_backend.ldif.tmpl \ admserv/schema/ldif/01nsroot.ldif.tmpl \ @@ -591,6 +593,7 @@ admserv/newinst/src/ConfigDSDialogs.pm libds_admin_serv_la_SOURCES = $(libbase_a_SOURCES) $(libsi18n_a_SOURCES) $(libadmin_a_SOURCES) +libds_admin_serv_la_LINK = $(MYLINK) libdsa_a_SOURCES = lib/libdsa/dsalib_conf.c \ lib/libdsa/dsalib_debug.c \ lib/libdsa/dsalib_ldif.c \ @@ -644,47 +647,76 @@ htmladmin_LDADD = $(DEFAULT_LIBS) sec_activate_LDADD = $(DEFAULT_LIBS) stopsrv_LDADD = $(DEFAULT_LIBS) +admpw_LINK = $(MYLINK) +start_config_ds_LINK = $(MYLINK) +security_LINK = $(MYLINK) +ugdsconfig_LINK = $(MYLINK) +ReadLog_LINK = $(MYLINK) +config_LINK = $(MYLINK) +statpingserv_LINK = $(MYLINK) +viewdata_LINK = $(MYLINK) +dsconfig_LINK = $(MYLINK) +monreplication_LINK = $(MYLINK) +restartsrv_LINK = $(MYLINK) +statusping_LINK = $(MYLINK) +viewlog_LINK = $(MYLINK) +htmladmin_LINK = $(MYLINK) +sec_activate_LINK = $(MYLINK) +stopsrv_LINK = $(MYLINK) # ds admin interfaces ds_start_SOURCES = admserv/cgi-ds/start.c admserv/cgi-ds/init_ds_env.c ds_start_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_start_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_start_LINK = $(MYLINK) ds_restart_SOURCES = admserv/cgi-ds/restart.c admserv/cgi-ds/init_ds_env.c ds_restart_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_restart_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_restart_LINK = $(MYLINK) ds_shutdown_SOURCES = admserv/cgi-ds/shutdown.c admserv/cgi-ds/init_ds_env.c ds_shutdown_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_shutdown_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_shutdown_LINK = $(MYLINK) ds_ldif2db_SOURCES = admserv/cgi-ds/ds_ldif2db.c admserv/cgi-ds/init_ds_env.c ds_ldif2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_ldif2db_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_ldif2db_LINK = $(MYLINK) ds_db2ldif_SOURCES = admserv/cgi-ds/ds_db2ldif.c admserv/cgi-ds/init_ds_env.c ds_db2ldif_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_db2ldif_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_db2ldif_LINK = $(MYLINK) ds_bak2db_SOURCES = admserv/cgi-ds/ds_bak2db.c admserv/cgi-ds/init_ds_env.c ds_bak2db_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_bak2db_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_bak2db_LINK = $(MYLINK) ds_db2bak_SOURCES = admserv/cgi-ds/ds_db2bak.c admserv/cgi-ds/init_ds_env.c ds_db2bak_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_db2bak_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_db2bak_LINK = $(MYLINK) ds_listdb_SOURCES = admserv/cgi-ds/ds_listdb.c admserv/cgi-ds/init_ds_env.c ds_listdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_listdb_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_listdb_LINK = $(MYLINK) ds_rmdb_SOURCES = admserv/cgi-ds/ds_rmdb.c admserv/cgi-ds/init_ds_env.c ds_rmdb_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_rmdb_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_rmdb_LINK = $(MYLINK) ds_remove_SOURCES = admserv/cgi-ds/ds_remove.c admserv/cgi-ds/init_ds_env.c ds_remove_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_remove_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_remove_LINK = $(MYLINK) ds_snmpctrl_SOURCES = admserv/cgi-ds/ds_snmpctrl.c admserv/cgi-ds/init_ds_env.c ds_snmpctrl_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_snmpctrl_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_snmpctrl_LINK = $(MYLINK) ds_vlvindex_SOURCES = admserv/cgi-ds/vlvindex.c admserv/cgi-ds/init_ds_env.c ds_vlvindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_vlvindex_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_vlvindex_LINK = $(MYLINK) ds_addindex_SOURCES = admserv/cgi-ds/addindex.c admserv/cgi-ds/init_ds_env.c ds_addindex_CPPFLAGS = -I$(srcdir)/include/libdsa $(AM_CPPFLAGS) ds_addindex_LDADD = libdsa.a $(DEFAULT_LIBS) +ds_addindex_LINK = $(MYLINK) ############## Data Files ################ HTMLDIR = admserv/html @@ -977,7 +1009,7 @@ lib/libadmin/util.lo: lib/libadmin/$(am__dirstamp) \ lib/libadmin/$(DEPDIR)/$(am__dirstamp) libds-admin-serv.la: $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_DEPENDENCIES) - $(CXXLINK) -rpath $(libdir) $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_LIBADD) $(LIBS) + $(libds_admin_serv_la_LINK) -rpath $(libdir) $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_LIBADD) $(LIBS) install-cgibinPROGRAMS: $(cgibin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(cgibindir)" || $(MKDIR_P) "$(DESTDIR)$(cgibindir)" @@ -1017,17 +1049,17 @@ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) ReadLog$(EXEEXT): $(ReadLog_OBJECTS) $(ReadLog_DEPENDENCIES) @rm -f ReadLog$(EXEEXT) - $(LINK) $(ReadLog_OBJECTS) $(ReadLog_LDADD) $(LIBS) + $(ReadLog_LINK) $(ReadLog_OBJECTS) $(ReadLog_LDADD) $(LIBS) admserv/cgi-src40/admpw.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) admpw$(EXEEXT): $(admpw_OBJECTS) $(admpw_DEPENDENCIES) @rm -f admpw$(EXEEXT) - $(LINK) $(admpw_OBJECTS) $(admpw_LDADD) $(LIBS) + $(admpw_LINK) $(admpw_OBJECTS) $(admpw_LDADD) $(LIBS) admserv/cgi-src40/config.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) config$(EXEEXT): $(config_OBJECTS) $(config_DEPENDENCIES) @rm -f config$(EXEEXT) - $(LINK) $(config_OBJECTS) $(config_LDADD) $(LIBS) + $(config_LINK) $(config_OBJECTS) $(config_LDADD) $(LIBS) admserv/cgi-src40/download.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) @@ -1048,7 +1080,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_addindex$(EXEEXT): $(ds_addindex_OBJECTS) $(ds_addindex_DEPENDENCIES) @rm -f ds_addindex$(EXEEXT) - $(LINK) $(ds_addindex_OBJECTS) $(ds_addindex_LDADD) $(LIBS) + $(ds_addindex_LINK) $(ds_addindex_OBJECTS) $(ds_addindex_LDADD) $(LIBS) admserv/cgi-ds/ds_bak2db-ds_bak2db.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1057,7 +1089,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_bak2db$(EXEEXT): $(ds_bak2db_OBJECTS) $(ds_bak2db_DEPENDENCIES) @rm -f ds_bak2db$(EXEEXT) - $(LINK) $(ds_bak2db_OBJECTS) $(ds_bak2db_LDADD) $(LIBS) + $(ds_bak2db_LINK) $(ds_bak2db_OBJECTS) $(ds_bak2db_LDADD) $(LIBS) admserv/cgi-ds/ds_db2bak-ds_db2bak.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1066,7 +1098,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_db2bak$(EXEEXT): $(ds_db2bak_OBJECTS) $(ds_db2bak_DEPENDENCIES) @rm -f ds_db2bak$(EXEEXT) - $(LINK) $(ds_db2bak_OBJECTS) $(ds_db2bak_LDADD) $(LIBS) + $(ds_db2bak_LINK) $(ds_db2bak_OBJECTS) $(ds_db2bak_LDADD) $(LIBS) admserv/cgi-ds/ds_db2ldif-ds_db2ldif.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1075,7 +1107,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_db2ldif$(EXEEXT): $(ds_db2ldif_OBJECTS) $(ds_db2ldif_DEPENDENCIES) @rm -f ds_db2ldif$(EXEEXT) - $(LINK) $(ds_db2ldif_OBJECTS) $(ds_db2ldif_LDADD) $(LIBS) + $(ds_db2ldif_LINK) $(ds_db2ldif_OBJECTS) $(ds_db2ldif_LDADD) $(LIBS) admserv/cgi-ds/ds_ldif2db-ds_ldif2db.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1084,7 +1116,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_ldif2db$(EXEEXT): $(ds_ldif2db_OBJECTS) $(ds_ldif2db_DEPENDENCIES) @rm -f ds_ldif2db$(EXEEXT) - $(LINK) $(ds_ldif2db_OBJECTS) $(ds_ldif2db_LDADD) $(LIBS) + $(ds_ldif2db_LINK) $(ds_ldif2db_OBJECTS) $(ds_ldif2db_LDADD) $(LIBS) admserv/cgi-ds/ds_listdb-ds_listdb.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1093,7 +1125,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_listdb$(EXEEXT): $(ds_listdb_OBJECTS) $(ds_listdb_DEPENDENCIES) @rm -f ds_listdb$(EXEEXT) - $(LINK) $(ds_listdb_OBJECTS) $(ds_listdb_LDADD) $(LIBS) + $(ds_listdb_LINK) $(ds_listdb_OBJECTS) $(ds_listdb_LDADD) $(LIBS) admserv/cgi-ds/ds_remove-ds_remove.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1102,7 +1134,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_remove$(EXEEXT): $(ds_remove_OBJECTS) $(ds_remove_DEPENDENCIES) @rm -f ds_remove$(EXEEXT) - $(LINK) $(ds_remove_OBJECTS) $(ds_remove_LDADD) $(LIBS) + $(ds_remove_LINK) $(ds_remove_OBJECTS) $(ds_remove_LDADD) $(LIBS) admserv/cgi-ds/ds_restart-restart.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1111,7 +1143,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_restart$(EXEEXT): $(ds_restart_OBJECTS) $(ds_restart_DEPENDENCIES) @rm -f ds_restart$(EXEEXT) - $(LINK) $(ds_restart_OBJECTS) $(ds_restart_LDADD) $(LIBS) + $(ds_restart_LINK) $(ds_restart_OBJECTS) $(ds_restart_LDADD) $(LIBS) admserv/cgi-ds/ds_rmdb-ds_rmdb.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1120,7 +1152,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_rmdb$(EXEEXT): $(ds_rmdb_OBJECTS) $(ds_rmdb_DEPENDENCIES) @rm -f ds_rmdb$(EXEEXT) - $(LINK) $(ds_rmdb_OBJECTS) $(ds_rmdb_LDADD) $(LIBS) + $(ds_rmdb_LINK) $(ds_rmdb_OBJECTS) $(ds_rmdb_LDADD) $(LIBS) admserv/cgi-ds/ds_shutdown-shutdown.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1129,7 +1161,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_shutdown$(EXEEXT): $(ds_shutdown_OBJECTS) $(ds_shutdown_DEPENDENCIES) @rm -f ds_shutdown$(EXEEXT) - $(LINK) $(ds_shutdown_OBJECTS) $(ds_shutdown_LDADD) $(LIBS) + $(ds_shutdown_LINK) $(ds_shutdown_OBJECTS) $(ds_shutdown_LDADD) $(LIBS) admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1138,7 +1170,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_snmpctrl$(EXEEXT): $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_DEPENDENCIES) @rm -f ds_snmpctrl$(EXEEXT) - $(LINK) $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_LDADD) $(LIBS) + $(ds_snmpctrl_LINK) $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_LDADD) $(LIBS) admserv/cgi-ds/ds_start-start.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1147,7 +1179,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_start$(EXEEXT): $(ds_start_OBJECTS) $(ds_start_DEPENDENCIES) @rm -f ds_start$(EXEEXT) - $(LINK) $(ds_start_OBJECTS) $(ds_start_LDADD) $(LIBS) + $(ds_start_LINK) $(ds_start_OBJECTS) $(ds_start_LDADD) $(LIBS) admserv/cgi-ds/ds_vlvindex-vlvindex.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1156,13 +1188,13 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_vlvindex$(EXEEXT): $(ds_vlvindex_OBJECTS) $(ds_vlvindex_DEPENDENCIES) @rm -f ds_vlvindex$(EXEEXT) - $(LINK) $(ds_vlvindex_OBJECTS) $(ds_vlvindex_LDADD) $(LIBS) + $(ds_vlvindex_LINK) $(ds_vlvindex_OBJECTS) $(ds_vlvindex_LDADD) $(LIBS) admserv/cgi-src40/dsconfig.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) dsconfig$(EXEEXT): $(dsconfig_OBJECTS) $(dsconfig_DEPENDENCIES) @rm -f dsconfig$(EXEEXT) - $(LINK) $(dsconfig_OBJECTS) $(dsconfig_LDADD) $(LIBS) + $(dsconfig_LINK) $(dsconfig_OBJECTS) $(dsconfig_LDADD) $(LIBS) admserv/cgi-src40/help.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) help$(EXEEXT): $(help_OBJECTS) $(help_DEPENDENCIES) @@ -1173,73 +1205,73 @@ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) htmladmin$(EXEEXT): $(htmladmin_OBJECTS) $(htmladmin_DEPENDENCIES) @rm -f htmladmin$(EXEEXT) - $(LINK) $(htmladmin_OBJECTS) $(htmladmin_LDADD) $(LIBS) + $(htmladmin_LINK) $(htmladmin_OBJECTS) $(htmladmin_LDADD) $(LIBS) admserv/cgi-src40/monreplication.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) monreplication$(EXEEXT): $(monreplication_OBJECTS) $(monreplication_DEPENDENCIES) @rm -f monreplication$(EXEEXT) - $(LINK) $(monreplication_OBJECTS) $(monreplication_LDADD) $(LIBS) + $(monreplication_LINK) $(monreplication_OBJECTS) $(monreplication_LDADD) $(LIBS) admserv/cgi-src40/restartsrv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) restartsrv$(EXEEXT): $(restartsrv_OBJECTS) $(restartsrv_DEPENDENCIES) @rm -f restartsrv$(EXEEXT) - $(LINK) $(restartsrv_OBJECTS) $(restartsrv_LDADD) $(LIBS) + $(restartsrv_LINK) $(restartsrv_OBJECTS) $(restartsrv_LDADD) $(LIBS) admserv/cgi-src40/sec-activate.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) sec-activate$(EXEEXT): $(sec_activate_OBJECTS) $(sec_activate_DEPENDENCIES) @rm -f sec-activate$(EXEEXT) - $(LINK) $(sec_activate_OBJECTS) $(sec_activate_LDADD) $(LIBS) + $(sec_activate_LINK) $(sec_activate_OBJECTS) $(sec_activate_LDADD) $(LIBS) admserv/cgi-src40/security.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) security$(EXEEXT): $(security_OBJECTS) $(security_DEPENDENCIES) @rm -f security$(EXEEXT) - $(LINK) $(security_OBJECTS) $(security_LDADD) $(LIBS) + $(security_LINK) $(security_OBJECTS) $(security_LDADD) $(LIBS) admserv/cgi-src40/start_config_ds.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) start_config_ds$(EXEEXT): $(start_config_ds_OBJECTS) $(start_config_ds_DEPENDENCIES) @rm -f start_config_ds$(EXEEXT) - $(LINK) $(start_config_ds_OBJECTS) $(start_config_ds_LDADD) $(LIBS) + $(start_config_ds_LINK) $(start_config_ds_OBJECTS) $(start_config_ds_LDADD) $(LIBS) admserv/cgi-src40/statpingserv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) statpingserv$(EXEEXT): $(statpingserv_OBJECTS) $(statpingserv_DEPENDENCIES) @rm -f statpingserv$(EXEEXT) - $(LINK) $(statpingserv_OBJECTS) $(statpingserv_LDADD) $(LIBS) + $(statpingserv_LINK) $(statpingserv_OBJECTS) $(statpingserv_LDADD) $(LIBS) admserv/cgi-src40/statusping.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) statusping$(EXEEXT): $(statusping_OBJECTS) $(statusping_DEPENDENCIES) @rm -f statusping$(EXEEXT) - $(LINK) $(statusping_OBJECTS) $(statusping_LDADD) $(LIBS) + $(statusping_LINK) $(statusping_OBJECTS) $(statusping_LDADD) $(LIBS) admserv/cgi-src40/stopsrv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) stopsrv$(EXEEXT): $(stopsrv_OBJECTS) $(stopsrv_DEPENDENCIES) @rm -f stopsrv$(EXEEXT) - $(LINK) $(stopsrv_OBJECTS) $(stopsrv_LDADD) $(LIBS) + $(stopsrv_LINK) $(stopsrv_OBJECTS) $(stopsrv_LDADD) $(LIBS) admserv/cgi-src40/ugdsconfig.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) ugdsconfig$(EXEEXT): $(ugdsconfig_OBJECTS) $(ugdsconfig_DEPENDENCIES) @rm -f ugdsconfig$(EXEEXT) - $(LINK) $(ugdsconfig_OBJECTS) $(ugdsconfig_LDADD) $(LIBS) + $(ugdsconfig_LINK) $(ugdsconfig_OBJECTS) $(ugdsconfig_LDADD) $(LIBS) admserv/cgi-src40/viewdata.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) viewdata$(EXEEXT): $(viewdata_OBJECTS) $(viewdata_DEPENDENCIES) @rm -f viewdata$(EXEEXT) - $(LINK) $(viewdata_OBJECTS) $(viewdata_LDADD) $(LIBS) + $(viewdata_LINK) $(viewdata_OBJECTS) $(viewdata_LDADD) $(LIBS) admserv/cgi-src40/viewlog.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) viewlog$(EXEEXT): $(viewlog_OBJECTS) $(viewlog_DEPENDENCIES) @rm -f viewlog$(EXEEXT) - $(LINK) $(viewlog_OBJECTS) $(viewlog_LDADD) $(LIBS) + $(viewlog_LINK) $(viewlog_OBJECTS) $(viewlog_LDADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" From fedora-directory-commits at redhat.com Fri Jun 22 21:06:47 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 22 Jun 2007 17:06:47 -0400 Subject: [Fedora-directory-commits] adminutil/lib/libadminutil srvutil.c, 1.4, 1.5 Message-ID: <200706222106.l5ML6lfU011629@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil/lib/libadminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11511/adminutil/lib/libadminutil Modified Files: srvutil.c Log Message: Resolves: bug 245396 Bug Description: adminutil: retrieveISIEs returns bogus data Reviewed by: nkinder (Thanks!) Fix Description: retrieveISIEs creates a list of id + DN pairs using the ListNodePtr interface. Each node has a name (the id) and a value (a char ** with the DN as the first char *) and forms a linked list of all of the values. It then flattens the list into an array of name/value pairs for returning. However, instead of passing val[0] to the addSingleValueAttribute() function for the value, it was passing val cast to a (char *), which is entirely bogus. The fix is to pass in ((char**)node->val)[0] which is a char * value. Yet another lesson in why void * is bad, and why you should not defeat the compiler's type checker . . . I also fixed another minor mem leak, and added @nss_inc@ to the list of include directories - I guess it works because pkg-config mozldap[6] always returns the nss include directory in its output . . . Platforms tested: RHEL4 Flag day: Yes - autotool file changes Index: srvutil.c =================================================================== RCS file: /cvs/dirsec/adminutil/lib/libadminutil/srvutil.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- srvutil.c 8 May 2007 19:13:25 -0000 1.4 +++ srvutil.c 22 Jun 2007 21:06:44 -0000 1.5 @@ -228,7 +228,7 @@ addSingleValueAttribute(resultList, i++, node->name, - (char*)(node->val)); + ((char**)node->val)[0]); node = node->next; } } From fedora-directory-commits at redhat.com Fri Jun 22 21:06:46 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 22 Jun 2007 17:06:46 -0400 Subject: [Fedora-directory-commits] adminutil Makefile.am, 1.6, 1.7 aclocal.m4, 1.7, 1.8 configure, 1.7, 1.8 missing, 1.6, 1.7 install-sh, 1.6, 1.7 compile, 1.6, 1.7 Makefile.in, 1.7, 1.8 depcomp, 1.6, 1.7 config.sub, 1.6, 1.7 config.guess, 1.6, 1.7 Message-ID: <200706222106.l5ML6kFe011623@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11511/adminutil Modified Files: Makefile.am aclocal.m4 configure missing install-sh compile Makefile.in depcomp config.sub config.guess Log Message: Resolves: bug 245396 Bug Description: adminutil: retrieveISIEs returns bogus data Reviewed by: nkinder (Thanks!) Fix Description: retrieveISIEs creates a list of id + DN pairs using the ListNodePtr interface. Each node has a name (the id) and a value (a char ** with the DN as the first char *) and forms a linked list of all of the values. It then flattens the list into an array of name/value pairs for returning. However, instead of passing val[0] to the addSingleValueAttribute() function for the value, it was passing val cast to a (char *), which is entirely bogus. The fix is to pass in ((char**)node->val)[0] which is a char * value. Yet another lesson in why void * is bad, and why you should not defeat the compiler's type checker . . . I also fixed another minor mem leak, and added @nss_inc@ to the list of include directories - I guess it works because pkg-config mozldap[6] always returns the nss include directory in its output . . . Platforms tested: RHEL4 Flag day: Yes - autotool file changes Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminutil/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Makefile.am 21 Jun 2007 23:05:05 -0000 1.6 +++ Makefile.am 22 Jun 2007 21:06:44 -0000 1.7 @@ -43,7 +43,7 @@ check_PROGRAMS = retrieveSIE retrieveSIEssl psetread psetreadssl psetwrite TESTS = retrieveSIE retrieveSIEssl psetread psetreadssl psetwrite -TEST_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include @nspr_inc@ @ldapsdk_inc@ @icu_inc@ +TEST_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include @nss_inc@ @nspr_inc@ @ldapsdk_inc@ @icu_inc@ TEST_LDADD = libadmsslutil.la libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) retrieveSIE_SOURCES = tests/retrieveSIE.c @@ -142,7 +142,7 @@ lib/libadmsslutil/sslerror.c \ lib/libadmsslutil/uginfossl.c -libadmsslutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ +libadmsslutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nss_inc@ @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadmsslutil_la_LIBADD = libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadmsslutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) if CXXLINK_REQUIRED Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminutil/Makefile.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Makefile.in 21 Jun 2007 23:05:05 -0000 1.7 +++ Makefile.in 22 Jun 2007 21:06:44 -0000 1.8 @@ -339,7 +339,7 @@ @CXXLINK_REQUIRED_TRUE at dummy_SOURCES = lib/dummy.cpp @CXXLINK_REQUIRED_TRUE at dummy_LINK = $(CXXLINK) @enable_tests_TRUE at TESTS = retrieveSIE retrieveSIEssl psetread psetreadssl psetwrite - at enable_tests_TRUE@TEST_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include @nspr_inc@ @ldapsdk_inc@ @icu_inc@ + at enable_tests_TRUE@TEST_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include @nss_inc@ @nspr_inc@ @ldapsdk_inc@ @icu_inc@ @enable_tests_TRUE at TEST_LDADD = libadmsslutil.la libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) @enable_tests_TRUE at retrieveSIE_SOURCES = tests/retrieveSIE.c @enable_tests_TRUE at retrieveSIE_CPPFLAGS = $(TEST_CPPFLAGS) @@ -416,7 +416,7 @@ lib/libadmsslutil/sslerror.c \ lib/libadmsslutil/uginfossl.c -libadmsslutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nspr_inc@ @ldapsdk_inc@ @icu_inc@ +libadmsslutil_la_CPPFLAGS = $(AM_CPPFLAGS) @nss_inc@ @nspr_inc@ @ldapsdk_inc@ @icu_inc@ libadmsslutil_la_LIBADD = libadminutil.la $(NSPR_LINK) $(NSS_LINK) $(LDAPSDK_LINK) $(SASL_LINK) $(ICU_LINK) libadmsslutil_la_LDFLAGS = -version-number $(subst .,:,$(PACKAGE_VERSION)) @CXXLINK_REQUIRED_FALSE at libadmsslutil_la_LINK = $(LINK) From fedora-directory-commits at redhat.com Fri Jun 22 21:06:47 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 22 Jun 2007 17:06:47 -0400 Subject: [Fedora-directory-commits] adminutil/lib/libadmsslutil admsslutil.c, 1.8, 1.9 Message-ID: <200706222106.l5ML6l80011635@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil/lib/libadmsslutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11511/adminutil/lib/libadmsslutil Modified Files: admsslutil.c Log Message: Resolves: bug 245396 Bug Description: adminutil: retrieveISIEs returns bogus data Reviewed by: nkinder (Thanks!) Fix Description: retrieveISIEs creates a list of id + DN pairs using the ListNodePtr interface. Each node has a name (the id) and a value (a char ** with the DN as the first char *) and forms a linked list of all of the values. It then flattens the list into an array of name/value pairs for returning. However, instead of passing val[0] to the addSingleValueAttribute() function for the value, it was passing val cast to a (char *), which is entirely bogus. The fix is to pass in ((char**)node->val)[0] which is a char * value. Yet another lesson in why void * is bad, and why you should not defeat the compiler's type checker . . . I also fixed another minor mem leak, and added @nss_inc@ to the list of include directories - I guess it works because pkg-config mozldap[6] always returns the nss include directory in its output . . . Platforms tested: RHEL4 Flag day: Yes - autotool file changes Index: admsslutil.c =================================================================== RCS file: /cvs/dirsec/adminutil/lib/libadmsslutil/admsslutil.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- admsslutil.c 8 May 2007 19:13:26 -0000 1.8 +++ admsslutil.c 22 Jun 2007 21:06:45 -0000 1.9 @@ -166,6 +166,8 @@ PK11_ConfigurePKCS11(NULL,NULL,NULL,db_name,NULL, NULL,NULL,NULL, /*minPwdLen=*/8, /*pwdRequired=*/1); + PL_strfree(db_name); + db_name = NULL; /* init NSS */ if (NSS_Initialize(securitydir, NULL, NULL, SECMOD_DB, flags)) { From fedora-directory-commits at redhat.com Fri Jun 22 21:06:47 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 22 Jun 2007 17:06:47 -0400 Subject: [Fedora-directory-commits] adminutil/tests retrieveSIEssl.c, 1.2, 1.3 Message-ID: <200706222106.l5ML6lMY011641@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil/tests In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11511/adminutil/tests Modified Files: retrieveSIEssl.c Log Message: Resolves: bug 245396 Bug Description: adminutil: retrieveISIEs returns bogus data Reviewed by: nkinder (Thanks!) Fix Description: retrieveISIEs creates a list of id + DN pairs using the ListNodePtr interface. Each node has a name (the id) and a value (a char ** with the DN as the first char *) and forms a linked list of all of the values. It then flattens the list into an array of name/value pairs for returning. However, instead of passing val[0] to the addSingleValueAttribute() function for the value, it was passing val cast to a (char *), which is entirely bogus. The fix is to pass in ((char**)node->val)[0] which is a char * value. Yet another lesson in why void * is bad, and why you should not defeat the compiler's type checker . . . I also fixed another minor mem leak, and added @nss_inc@ to the list of include directories - I guess it works because pkg-config mozldap[6] always returns the nss include directory in its output . . . Platforms tested: RHEL4 Flag day: Yes - autotool file changes Index: retrieveSIEssl.c =================================================================== RCS file: /cvs/dirsec/adminutil/tests/retrieveSIEssl.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- retrieveSIEssl.c 8 May 2007 19:13:26 -0000 1.2 +++ retrieveSIEssl.c 22 Jun 2007 21:06:45 -0000 1.3 @@ -48,6 +48,8 @@ char *siedn = NULL; char *siepwd = NULL; char buf[BUFSIZ]; + char *userdn; + char *passwd; if (ac > 1) { configdir = strdup(*(av+1)); @@ -87,6 +89,12 @@ goto done; } + siedn = admldapGetSIEDN(ldapInfo); + ADM_GetUserDNString(&rval, &userdn); + ADM_GetCurrentPassword(&rval, &passwd); + + admldapSetSIEDN(ldapInfo, userdn); + admSetCachedSIEPWD(passwd); /* * get servers' DNs belonging to the Admin Server */ @@ -97,9 +105,9 @@ goto done; } + admldapSetSIEDN(ldapInfo, siedn); + host = admldapGetHost(ldapInfo); - siedn = admldapGetSIEDN(ldapInfo); - siepwd = admldapGetSIEPWD(ldapInfo); for (p = nameList; p && *p; p++) { PsetHndl pset = NULL; fprintf(stdout, "%s\n", *p); @@ -112,8 +120,8 @@ admldapGetPort(ldapInfo), admldapGetSecurity(ldapInfo), *p, - siedn, - siepwd, + userdn, + passwd, NULL, &rval); if (rval && (rval != PSET_LOCAL_OPEN_FAIL)) { @@ -145,13 +153,13 @@ fprintf(stdout, "FAILURE: SIE is not retrieved\n"); } PL_strfree(host); - PL_strfree(siedn); - PL_strfree(siepwd); /* * get servers' DNs belonging to the Admin Server */ + admldapSetSIEDN(ldapInfo, userdn); isieList = getInstalledServerDNListSSL(ldapInfo); + admldapSetSIEDN(ldapInfo, siedn); if (NULL == isieList) { fprintf(stderr, "ERROR: empty isieList\n"); rval = 1; @@ -159,7 +167,8 @@ } for (siecnt = 0; isieList[siecnt]; siecnt++) { - fprintf(stdout, "%s\n", isieList[siecnt]->attrName); + fprintf(stdout, "productID = %s\n", isieList[siecnt]->attrName); + fprintf(stdout, "productDN = %s\n", isieList[siecnt]->attrVal[0]); } deleteAttributeList(isieList); if (siecnt > 0) { From fedora-directory-commits at redhat.com Fri Jun 22 21:55:00 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 22 Jun 2007 17:55:00 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/servers/slapd slap.h, 1.21, 1.22 proto-slap.h, 1.26, 1.27 libglobs.c, 1.16, 1.17 Message-ID: <200706222155.l5MLt0BS016259@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/servers/slapd In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16227 Modified Files: slap.h proto-slap.h libglobs.c Log Message: Resolves: #245407 Summary: Add config attributes to cn=config to support Console (comment #1) Description: Console needs to know the default paths for ldif_dir and bak_dir. Adding the paths to cn=config. Index: slap.h =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/slap.h,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- slap.h 27 Feb 2007 02:57:30 -0000 1.21 +++ slap.h 22 Jun 2007 21:54:58 -0000 1.22 @@ -1728,6 +1728,8 @@ #define CONFIG_LOCKDIR_ATTRIBUTE "nsslapd-lockdir" #define CONFIG_TMPDIR_ATTRIBUTE "nsslapd-tmpdir" #define CONFIG_CERTDIR_ATTRIBUTE "nsslapd-certdir" +#define CONFIG_LDIFDIR_ATTRIBUTE "nsslapd-ldifdir" +#define CONFIG_BAKDIR_ATTRIBUTE "nsslapd-bakdir" #define CONFIG_SASLPATH_ATTRIBUTE "nsslapd-saslpath" #define CONFIG_SSLCLIENTAUTH_ATTRIBUTE "nsslapd-SSLclientAuth" #define CONFIG_SSL_CHECK_HOSTNAME_ATTRIBUTE "nsslapd-ssl-check-hostname" @@ -1906,6 +1908,8 @@ char *lockdir; /* full path name of directory containing lock files */ char *tmpdir; /* full path name of directory containing tmp files */ char *certdir; /* full path name of directory containing cert files */ + char *ldifdir; /* full path name of directory containing ldif files */ + char *bakdir; /* full path name of directory containing bakup files */ char *saslpath; /* full path name of directory containing sasl plugins */ int attrname_exceptions; /* if true, allow questionable attribute names */ int rewrite_rfc1274; /* return attrs for both v2 and v3 names */ Index: proto-slap.h =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/proto-slap.h,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- proto-slap.h 27 Feb 2007 02:57:30 -0000 1.26 +++ proto-slap.h 22 Jun 2007 21:54:58 -0000 1.27 @@ -320,6 +320,8 @@ int config_set_lockdir( const char *attrname, char *value, char *errorbuf, int apply ); int config_set_tmpdir( const char *attrname, char *value, char *errorbuf, int apply ); int config_set_certdir( const char *attrname, char *value, char *errorbuf, int apply ); +int config_set_ldifdir( const char *attrname, char *value, char *errorbuf, int apply ); +int config_set_bakdir( const char *attrname, char *value, char *errorbuf, int apply ); int config_set_saslpath( const char *attrname, char *value, char *errorbuf, int apply ); int config_set_attrname_exceptions( const char *attrname, char *value, char *errorbuf, int apply ); int config_set_hash_filters( const char *attrname, char *value, char *errorbuf, int apply ); @@ -430,6 +432,8 @@ char *config_get_lockdir(); char *config_get_tmpdir(); char *config_get_certdir(); +char *config_get_ldifdir(); +char *config_get_bakdir(); char *config_get_saslpath(); char **config_get_errorlog_list(); char **config_get_accesslog_list(); Index: libglobs.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/libglobs.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- libglobs.c 2 Mar 2007 22:38:07 -0000 1.16 +++ libglobs.c 22 Jun 2007 21:54:58 -0000 1.17 @@ -558,6 +558,14 @@ {CONFIG_CERTDIR_ATTRIBUTE, config_set_certdir, NULL, 0, (void**)&global_slapdFrontendConfig.certdir, CONFIG_STRING, config_get_certdir}, + /* parameterizing ldif dir */ + {CONFIG_LDIFDIR_ATTRIBUTE, config_set_ldifdir, + NULL, 0, + (void**)&global_slapdFrontendConfig.ldifdir, CONFIG_STRING, config_get_ldifdir}, + /* parameterizing bak dir */ + {CONFIG_BAKDIR_ATTRIBUTE, config_set_bakdir, + NULL, 0, + (void**)&global_slapdFrontendConfig.bakdir, CONFIG_STRING, config_get_bakdir}, /* parameterizing sasl plugin path */ {CONFIG_SASLPATH_ATTRIBUTE, config_set_saslpath, NULL, 0, @@ -4599,6 +4607,77 @@ } char * +config_get_ldifdir() +{ + slapdFrontendConfig_t *slapdFrontendConfig = getFrontendConfig(); + char *retVal; + + CFG_LOCK_READ(slapdFrontendConfig); + retVal = config_copy_strval(slapdFrontendConfig->ldifdir); + CFG_UNLOCK_READ(slapdFrontendConfig); + + return retVal; +} + +int +config_set_ldifdir(const char *attrname, char *value, char *errorbuf, int apply) +{ + int retVal = LDAP_SUCCESS; + slapdFrontendConfig_t *slapdFrontendConfig = getFrontendConfig(); + + if ( config_value_is_null( attrname, value, errorbuf, 0 )) { + return LDAP_OPERATIONS_ERROR; + } + + if (!apply) { + return retVal; + } + + CFG_LOCK_WRITE(slapdFrontendConfig); + slapi_ch_free((void **)&slapdFrontendConfig->ldifdir); + + slapdFrontendConfig->ldifdir = slapi_ch_strdup(value); + + CFG_UNLOCK_WRITE(slapdFrontendConfig); + return retVal; +} + +char * +config_get_bakdir() +{ + slapdFrontendConfig_t *slapdFrontendConfig = getFrontendConfig(); + char *retVal; + + CFG_LOCK_READ(slapdFrontendConfig); + retVal = config_copy_strval(slapdFrontendConfig->bakdir); + CFG_UNLOCK_READ(slapdFrontendConfig); + + return retVal; +} + +int +config_set_bakdir(const char *attrname, char *value, char *errorbuf, int apply) +{ + int retVal = LDAP_SUCCESS; + slapdFrontendConfig_t *slapdFrontendConfig = getFrontendConfig(); + + if ( config_value_is_null( attrname, value, errorbuf, 0 )) { + return LDAP_OPERATIONS_ERROR; + } + + if (!apply) { + return retVal; + } + + CFG_LOCK_WRITE(slapdFrontendConfig); + slapi_ch_free((void **)&slapdFrontendConfig->bakdir); + + slapdFrontendConfig->bakdir = slapi_ch_strdup(value); + + CFG_UNLOCK_WRITE(slapdFrontendConfig); + return retVal; +} +char * config_get_saslpath() { slapdFrontendConfig_t *slapdFrontendConfig = getFrontendConfig(); From fedora-directory-commits at redhat.com Fri Jun 22 22:26:27 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 22 Jun 2007 18:26:27 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src adminserver.map.in, 1.2, 1.3 dirserver.map.in, 1.2, 1.3 register_param.map.in, 1.2, 1.3 Message-ID: <200706222226.l5MMQRDS025741@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25618/admserv/newinst/src Modified Files: adminserver.map.in dirserver.map.in register_param.map.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #12, #13) Description: 1) Adding timestamp for installationTimeStamp. 2) some more ACIs are being added. Index: adminserver.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/adminserver.map.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- adminserver.map.in 21 Jun 2007 22:01:51 -0000 1.2 +++ adminserver.map.in 22 Jun 2007 22:26:24 -0000 1.3 @@ -59,6 +59,7 @@ normbrand = NormBrand hostname = `use Net::Domain qw(hostname); $returnvalue = hostname();` vendor = Vendor +timestamp = `use Time::gmtime; my $gm = gmtime; $returnvalue = sprintf ("%04d%02d%02d%02d%02d%02dZ", 1900+$gm->year, 1+$gm->mon, $gm->mday, $gm->hour, $gm->min, $gm->sec);` asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_port = Port Index: dirserver.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/dirserver.map.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- dirserver.map.in 21 Jun 2007 22:01:51 -0000 1.2 +++ dirserver.map.in 22 Jun 2007 22:26:24 -0000 1.3 @@ -58,6 +58,7 @@ brand = Brand normbrand = NormBrand vendor = Vendor +timestamp = `use Time::gmtime; my $gm = gmtime; $returnvalue = sprintf ("%04d%02d%02d%02d%02d%02dZ", 1900+$gm->year, 1+$gm->mon, $gm->mday, $gm->hour, $gm->min, $gm->sec);` configroot = "CONFIG ROOT -- replace me" asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` Index: register_param.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/register_param.map.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- register_param.map.in 21 Jun 2007 22:01:51 -0000 1.2 +++ register_param.map.in 22 Jun 2007 22:26:24 -0000 1.3 @@ -62,6 +62,7 @@ uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = ; chomp $returnvalue; close(UNAMEA);` uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = ; chomp $returnvalue; close(UNAMEM);` configroot = "CONFIG ROOT -- replace me" +timestamp = `use Time::gmtime; my $gm = gmtime; $returnvalue = sprintf ("%04d%02d%02d%02d%02d%02dZ", 1900+$gm->year, 1+$gm->mon, $gm->mday, $gm->hour, $gm->min, $gm->sec);` as_uid = ServerAdminID as_passwd = ServerAdminPwd From fedora-directory-commits at redhat.com Fri Jun 22 22:26:27 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 22 Jun 2007 18:26:27 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 01nsroot.ldif.tmpl, 1.4, 1.5 02globalpreferences.ldif.tmpl, 1.3, 1.4 10dsdata.ldif.tmpl, 1.5, 1.6 20asdata.ldif.tmpl, 1.3, 1.4 Message-ID: <200706222226.l5MMQRfu025750@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25618/admserv/schema/ldif Modified Files: 01nsroot.ldif.tmpl 02globalpreferences.ldif.tmpl 10dsdata.ldif.tmpl 20asdata.ldif.tmpl Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #12, #13) Description: 1) Adding timestamp for installationTimeStamp. 2) some more ACIs are being added. Index: 01nsroot.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/01nsroot.ldif.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- 01nsroot.ldif.tmpl 21 Jun 2007 22:01:52 -0000 1.4 +++ 01nsroot.ldif.tmpl 22 Jun 2007 22:26:25 -0000 1.5 @@ -84,6 +84,19 @@ objectClass: top objectClass: organizationalUnit ou: UserPreferences +aci: (targetattr = "*")(version 3.0; acl "Allow saving of User Preferences"; allow (add) userdn = "ldap:///all";) + +dn: ou="uid=%as_uid%, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot",ou=UserPreferences, ou=%domain%, o=NetscapeRoot +objectClass: top +objectClass: organizationalUnit +aci: (targetattr=*)(version 3.0; acl "UserDNControl"; allow (all) userdnattr="creatorsname";) +ou: uid=%as_uid%, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot + +dn: ou="cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot",ou=UserPreferences, ou=%domain%, o=NetscapeRoot +objectClass: top +objectClass: organizationalUnit +aci: (targetattr=*)(version 3.0; acl "UserDNControl"; allow (all) userdnattr="creatorsname";) +ou: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=netscaperoot dn: cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top Index: 02globalpreferences.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/02globalpreferences.ldif.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 02globalpreferences.ldif.tmpl 21 Jun 2007 22:01:52 -0000 1.3 +++ 02globalpreferences.ldif.tmpl 22 Jun 2007 22:26:25 -0000 1.4 @@ -101,6 +101,7 @@ objectClass: top objectClass: nsAdminConsoleUser cn: PublicViews +aci: (targetattr = "*")(version 3.0; acl "Allow Authenticated Users to Save Public Views"; allow (all) userdn = "ldap:///all";) dn: cn=CustomView, ou=%as_baseversion%, ou=Admin, ou=Global Preferences, ou=%domain%, o=NetscapeRoot objectClass: top Index: 10dsdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/10dsdata.ldif.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- 10dsdata.ldif.tmpl 21 Jun 2007 22:01:52 -0000 1.5 +++ 10dsdata.ldif.tmpl 22 Jun 2007 22:26:25 -0000 1.6 @@ -33,6 +33,7 @@ nsBuildNumber: %ds_buildnum% nsVendor: %vendor% nsInstalledLocation: %ds_installedlocation% +installationTimeStamp: %timestamp% nsExpirationDate: 0 nsBuildSecurity: domestic uniqueMember: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot @@ -55,11 +56,14 @@ nsSecureServerPort: %ds_secure_port% serverProductName: Directory Server (%dsid%) serverVersionNumber: %ds_version% +installationTimeStamp: %timestamp% nsSuiteSpotUser: %ds_user% serverHostName: %fqdn% cn: slapd-%dsid% uniqueMember: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot +aci: (targetattr=*)(version 3.0; acl "Enable delegated access"; allow (read, search, compare) groupdn="ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) +aci: (targetattr="uniquemember || serverProductName || userpassword || description")(targetfilter=(objectclass=netscapeServer))(version 3.0; acl "Enable access delegation"; allow (write) groupdn="ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: cn=configuration,cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsResourceRef @@ -70,4 +74,16 @@ nsClassname: com.netscape.admin.dirserv.DSAdmin@%ds_console_jar%@cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot nsJarfilename: @ds_console_jar@ nsDirectoryInfoRef: cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot +aci: (targetattr=*)(version 3.0; acl "Enable Server configuration"; allow (all) groupdn="ldap:///cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) +dn: ou="cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot",ou=UserPreferences, ou=%domain%, o=NetscapeRoot +objectClass: top +objectClass: organizationalUnit +aci: (targetattr=*)(version 3.0; acl "UserDNControl"; allow (all) userdnattr="creatorsname";) +ou: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot + +dn: ou="%rootdn%",ou=UserPreferences, ou=sfbay.redhat.com, o=NetscapeRoot +objectClass: top +objectClass: organizationalUnit +aci: (targetattr=*)(version 3.0; acl "UserDNControl"; allow (all) userdnattr="creatorsname";) +ou: %rootdn% Index: 20asdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/20asdata.ldif.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 20asdata.ldif.tmpl 20 Jun 2007 23:50:11 -0000 1.3 +++ 20asdata.ldif.tmpl 22 Jun 2007 22:26:25 -0000 1.4 @@ -28,10 +28,11 @@ nsProductVersion: %as_version% nsBuildNumber: %as_buildnum% nsInstalledLocation: %as_installedlocation% +installationTimeStamp: %timestamp% nsBuildSecurity: domestic nsServerMigrationClassname: com.netscape.management.admserv.AdminServerProduct@%as_console_jar% uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot -aci: (targetattr=*)(targetfilter=(nsNickName=*))(version 3.0; acl "Enable delegated access"; allow (read, search, compare) groupdn="ldap:///cn=%brand% Admin istration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) +aci: (targetattr=*)(targetfilter=(nsNickName=*))(version 3.0; acl "Enable delegated access"; allow (read, search, compare) groupdn="ldap:///cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: top @@ -44,9 +45,10 @@ serverRoot: %as_serverroot% serverProductName: Administration Server serverHostName: %fqdn% +installationTimeStamp: %timestamp% uniqueMember: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot aci: (targetattr=*)(version 3.0; acl "Enable delegated access"; allow (read, search, compare) groupdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) -aci: (targetattr="uniquemember || serverProductName || administratorContactInfo || userpassword || description")(targetfilter=(objectclass=netscapeServer))(version 3.0; acl "Enable access delegation"; allow (write) groupdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) +aci: (targetattr="uniquemember || serverProductName || userpassword || description")(targetfilter=(objectclass=netscapeServer))(version 3.0; acl "Enable access delegation"; allow (write) groupdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) dn: cn=configuration, cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot objectClass: nsConfig @@ -73,4 +75,3 @@ nsClassname: com.netscape.management.admserv.AdminServer@%as_console_jar%@cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot aci: (targetattr=*)(version 3.0; acl "Enable delegated admin to access configuration"; allow (read, search) groupdn="ldap:///cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) aci: (targetattr=*)(version 3.0; acl "Enable Server configuration"; allow (all) groupdn="ldap:///cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot";) - From fedora-directory-commits at redhat.com Fri Jun 22 22:37:48 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 22 Jun 2007 18:37:48 -0400 Subject: [Fedora-directory-commits] mod_admserv mod_admserv.c, 1.30, 1.31 mod_admserv.h, 1.4, 1.5 Message-ID: <200706222237.l5MMbm6I028757@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/mod_admserv In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28739/mod_admserv Modified Files: mod_admserv.c mod_admserv.h Log Message: Resolves: bug 245369 Bug Description: mod_admserv: Task cache refresh uses wrong credentials Reviewed by: nkinder (Thanks!) Fix Description: When the user requests a Task url, the admin server first figures out which server instance (or product) the request is for, then checks to see if it has seen that server or product before. If not, it uses the function sync_task_sie_data() to read the task data from the SIEs and ISIEs. However, it needs to use the credentials of the currently authenticated user to do so, because the tasks are protected by ACIs, and the user should only be allowed to read those tasks the user has access to. The interface to read these tasks is not great. It expects the SIE is a user with a password, and it attempts to bind as that user, instead of the currently authenticated user. I had to hack it to force it to use the current userdn and password instead of the SIE DN and SIE password. The SIE DN and password are now deprecated for binding. There were a couple of places where the SIE was used for both the bind DN and the SIE DN. I've created another structure member for the admservSieDN for use as the SIE (the configuration base DN) instead of as a bind DN, and deprecated the use of the SIE as the bind DN elsewhere in the code. Platforms tested: RHEL4 Flag Day: no Doc impact: no Index: mod_admserv.c =================================================================== RCS file: /cvs/dirsec/mod_admserv/mod_admserv.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- mod_admserv.c 19 Jun 2007 23:31:12 -0000 1.30 +++ mod_admserv.c 22 Jun 2007 22:37:46 -0000 1.31 @@ -758,7 +758,7 @@ and will set up all of the TLS/SSL stuff */ /* if we are acting as simply a TLS/SSL client to the directory server, we still have to perform our own TLS/SSL client init */ - if (ADMSSL_Init(info, configdir, 0)) { + if (ADMSSL_Init(info, (char *)configdir, 0)) { ap_log_error(APLOG_MARK, APLOG_CRIT, 0 /* status */, NULL, "sslinit: NSS is required to use LDAPS, but security initialization failed. Cannot start server"); exit(1); @@ -816,6 +816,7 @@ userGroupServer.port = 0; userGroupServer.secure = 0; userGroupServer.baseDN = NULL; + userGroupServer.admservSieDN = NULL; if (NULL == admldapGetLDAPHndl(info)) { /* LDAP is not available; gather info from the cache */ @@ -1035,6 +1036,7 @@ return DONE; } + static int sync_task_sie_data(const char *name, char *query, void *arg, request_rec *r) { @@ -1046,7 +1048,8 @@ int servercnt, i; UserCacheEntry *cache_entry = NULL; char *siedn = NULL; - char *passwd = NULL; + const char *userdn = apr_table_get(r->notes, RQ_NOTES_USERDN); + const char *passwd = apr_table_get(r->notes, RQ_NOTES_USERPW); ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL, "sync_task_sie_data: getting ldap info for [%s]", @@ -1062,22 +1065,24 @@ siedn = admldapGetSIEDN(ldapInfo); task_register_server(ADMIN_SERVER_ID, siedn); - PL_strfree(siedn); - passwd = admldapGetSIEPWD(ldapInfo); + /* HACK HACK HACK */ + /* getServerDNListSSL uses the siedn as the binddn - so we temporarily + replace the siedn with the userdn - fortunately it doesn't use the + siedn as the SIE DN */ + admldapSetSIEDN(ldapInfo, userdn); if (NULL == passwd) { /* use the passwd in cache if possible */ - char *userdn = admldapGetUserDN(ldapInfo, NULL); cache_entry = (UserCacheEntry*)HashTableFind(auth_users, userdn); if (cache_entry) { - admSetCachedSIEPWD(cache_entry->userPW); + passwd = cache_entry->userPW; } - PL_strfree(userdn); - } else { - PL_strfree(passwd); } - + admSetCachedSIEPWD(passwd); serverlist = getServerDNListSSL(ldapInfo); + /* HACK HACK HACK - reset after getServerDNListSSL */ + admldapSetSIEDN(ldapInfo, siedn); + servercnt=0; if (serverlist) { while (serverlist[servercnt]) servercnt++; @@ -1086,19 +1091,15 @@ for (i=0; i < servercnt; i++) { /* Create Pset for each individual server */ char *host = admldapGetHost(ldapInfo); - char *siedn = admldapGetSIEDN(ldapInfo); - char *siepwd = admldapGetSIEPWD(ldapInfo); tmp = psetRealCreateSSL(host, admldapGetPort(ldapInfo), admldapGetSecurity(ldapInfo), serverlist[i], - siedn, - siepwd, + (char *)userdn, + (char *)passwd, NULL, &errorCode); PL_strfree(host); - PL_strfree(siedn); - PL_strfree(siepwd); if (tmp) { # define SERVER_ID_ATTRIBUTE (char*)"nsServerID" @@ -1136,6 +1137,11 @@ /* DT 02/02/98 * Register installed product tasks */ + /* HACK HACK HACK */ + /* getInstalledServerDNListSSL uses the siedn as the binddn - so we temporarily + replace the siedn with the userdn - fortunately it doesn't use the + siedn as the SIE DN */ + admldapSetSIEDN(ldapInfo, userdn); if ((installlist = getInstalledServerDNListSSL(ldapInfo))) { int ii = 0; while (installlist[ii]) { @@ -1149,13 +1155,15 @@ } deleteAttributeList(installlist); } + /* HACK HACK HACK - reset after getInstalledServerDNListSSL */ + admldapSetSIEDN(ldapInfo, siedn); + PL_strfree(siedn); destroyAdmldap(ldapInfo); return TRUE; } -static int update_ds(char *admroot, char *pwd, request_rec *r); static int update_admpwd(char *admroot, char *newuid, char *newpw); static int update_adm_conf(char *admroot, char *newpw); @@ -1231,7 +1239,6 @@ ldapURL = formLdapURL(®istryServer, r->pool); create_auth_users_cache_entry(uid, (char *)userDN, password, ldapURL); - registryServer.bindPW = password; rval = 1; bailout: closeLDAPConnection(ld); @@ -1253,7 +1260,6 @@ char inbuf[BIG_LINE]; char outbuf[64]; /* needs at least 36 bytes */ char *origpw = (char *)apr_table_get(r->notes, RQ_NOTES_USERPW); - int ds_done = 0; int admpwd_done = 0; apr_snprintf(filename, sizeof(filename), "%s/admpw", configdir); @@ -1286,12 +1292,6 @@ uid = inbuf; *col=0; pw=col+1; - if (!update_ds(configdir, newpw, r)) { - ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, - "failed to update siepwd on DS"); - return 0; - } - ds_done = 1; apr_sha1_base64(newpw, strlen(newpw), outbuf); if (!update_admpwd(configdir, uid, outbuf)) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, @@ -1309,9 +1309,6 @@ return 1; recover: - if (ds_done) { - update_ds(configdir, origpw, r); - } if (admpwd_done) { apr_sha1_base64(origpw, strlen(origpw), outbuf); update_admpwd(configdir, uid, outbuf); @@ -1354,64 +1351,6 @@ return 1; } -/* - * Modify userpassword in the DS - */ -static int -update_ds(char *admroot, char *pwd, request_rec *r) -{ - int errorCode; - PsetHndl pset; - const char *binddn = 0; - const char *bindpw = 0; - AdmldapInfo ldapInfo = NULL; - - /* Initialize the pset */ - - ldapInfo = admldapBuildInfo(admroot, &errorCode); - - if (!ldapInfo) { - ap_log_rerror(APLOG_MARK, APLOG_CRIT, 0, r, - "AdmInit: Failed to read data from adm.conf"); - return 0; - } - - if (admldapGetSecurity(ldapInfo)) { - sslinit(ldapInfo, admroot); - } - - destroyAdmldap(ldapInfo); - - binddn = apr_table_get(r->notes, RQ_NOTES_USERDN); - bindpw = apr_table_get(r->notes, RQ_NOTES_USERPW); - - pset = psetCreateSSL((char*)"admin-serv", - admroot, - (char*)binddn, - (char*)bindpw, - &errorCode); - - if (pset) { - } else { - ap_log_rerror(APLOG_MARK, APLOG_CRIT, 0, r, - "PSET Creation Failed for binddn [%s], err=%d", - binddn, errorCode); - return 0; - } - - errorCode = psetSetSingleValueAttr(pset, (char*)"userpassword", pwd); - psetDelete(pset); - pset = NULL; - - if (errorCode) { - ap_log_rerror(APLOG_MARK, APLOG_CRIT, 0, r, - "PSET Set Failed for attribute userpassword, err=%d", - errorCode); - return 0; - } - return 1; -} - static void populate_tasks_from_server(char *serverid, const void *sieDN, void *userdata) { @@ -1434,8 +1373,8 @@ return; } ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL, - "populate_tasks_from_server(): Opened new LDAPConnection to [%s:%d] user [%s]", - registryServer.host, registryServer.port, registryServer.bindDN); + "populate_tasks_from_server(): Opened new LDAPConnection to [%s:%d]", + registryServer.host, registryServer.port); data->server = server; } @@ -1542,6 +1481,8 @@ int ldapError; char entryDN[LINE_LENGTH]; char *p; + char *siedn; /* this is looked up from the serverid, which is + extracted from the uri */ LDAP *server; const char *userdn; const char *pw; @@ -1578,14 +1519,14 @@ saveduri = apr_pstrdup(r->pool, uri); *p = '\0'; - if (!(p = (char*)HashTableFind(servers, serverid))) { + if (!(siedn = (char*)HashTableFind(servers, serverid))) { /* DT 4/6/98 -- If we're seeing a serverid for the first time, then we try to do * a resync to pull in new data for the serverid. If it still fails, * then the client is out of luck. */ - admserv_runtime_command_exec(RUNTIME_RESYNC_COMMAND, NULL, NULL); + admserv_runtime_command_exec(RUNTIME_RESYNC_COMMAND, r->args, r); - if (!(p = (char*)HashTableFind(servers, serverid))) { + if (!(siedn = (char*)HashTableFind(servers, serverid))) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "admserv_check_authz(): unable to find registered server (%s)", serverid); @@ -1601,7 +1542,7 @@ return OK; } - if (!build_full_DN(&storage, entryDN+LINE_LENGTH, uri, p)) { + if (!build_full_DN(&storage, entryDN+LINE_LENGTH, uri, siedn)) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "admserv_check_authz(): unable to build DN from URL - bad URL [%s]", uri); @@ -2264,8 +2205,9 @@ registryServer.port = (admldapGetPort(info) < 0) ? 389 : admldapGetPort(info); registryServer.secure = (admldapGetSecurity(info)) ? 1 : 0; registryServer.baseDN = admldapGetBaseDN(info); - registryServer.bindDN = admldapGetSIEDN(info); - registryServer.bindPW = admldapGetSIEPWD(info); + registryServer.bindDN = ""; /* deprecated - use user credentials */ + registryServer.bindPW = ""; /* deprecated - use user credentials */ + registryServer.admservSieDN = admldapGetSIEDN(info); destroyAdmldap(info); info = NULL; @@ -2283,7 +2225,7 @@ } /* Register the admin server tasks */ - task_register_server(ADMIN_SERVER_ID, registryServer.bindDN); + task_register_server(ADMIN_SERVER_ID, registryServer.admservSieDN); /* Populate the auth_tasks cache for the Local Admin */ @@ -2326,7 +2268,7 @@ TaskCacheEntry *cache_entry; if (!build_full_DN(&storage, startds+LINE_LENGTH, uri, - registryServer.bindDN)) { + registryServer.admservSieDN)) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, base_server, "mod_admserv_post_config: unable to build DN from URL - bad URL [%s]", uri?uri:"none"); @@ -2496,7 +2438,7 @@ ap_rprintf(r, "ldapPort: %d\n", registryServer.port); ap_rprintf(r, "ldapSecurity: %s\n", (registryServer.secure == 1) ? "on" : "off"); ap_rprintf(r, "ldapBaseDN: %s\n", registryServer.baseDN); - ap_rprintf(r, "SIE: %s\n", registryServer.bindDN); + ap_rprintf(r, "SIE: %s\n", registryServer.admservSieDN); ap_rputs("NMC_Status: 0\n", r); return OK; @@ -2532,7 +2474,9 @@ { closeLDAPConnection(server); ap_log_rerror(APLOG_MARK, APLOG_NOTICE|APLOG_NOERRNO, 0, r, - "unable to bind to server [%s:%d] as [%s]", data->host, data->port, data->bindDN); /*i18n*/ + "unable to bind to server [%s:%d] as [%s]", + data->host, data->port, + (data->bindDN && *data->bindDN) ? data->bindDN : "(anonymous)"); /*i18n*/ return DECLINED; } @@ -2545,15 +2489,16 @@ tries = 0; do { - ldapError = ldapu_find_userdn(server, user, baseDN ? baseDN : data->baseDN, &userdn); + /* first try the basedn in the ldap server data, then the basedn param as a fallback */ + ldapError = ldapu_find_userdn(server, user, data->baseDN ? data->baseDN : baseDN, &userdn); if(ldapError != LDAP_SERVER_DOWN && ldapError != LDAP_CONNECT_ERROR) break; closeLDAPConnection(server); if(!(server = openLDAPConnection(data))) ap_log_rerror(APLOG_MARK, APLOG_NOTICE|APLOG_NOERRNO, 0, r, - "unable to find user [%s] in server [%s:%d]", - user, data->host, data->port); + "unable to find user [%s] in server [%s:%d] under base DN [%s]", + user, data->host, data->port, data->baseDN ? data->baseDN : baseDN); return DECLINED; } while (server != NULL && ++tries < 2); Index: mod_admserv.h =================================================================== RCS file: /cvs/dirsec/mod_admserv/mod_admserv.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- mod_admserv.h 15 Nov 2006 21:31:40 -0000 1.4 +++ mod_admserv.h 22 Jun 2007 22:37:46 -0000 1.5 @@ -131,9 +131,12 @@ char *host; int port; int secure; /* track whether the server is running in secure mode */ - char *baseDN; - char *bindDN; - char *bindPW; + char *baseDN; /* for the config ds, usually o=NetscapeRoot + for the user/group ds, this is the default + suffix e.g. dc=example,dc=com */ + char *bindDN; /* deprecated since the SIE cannot bind anymore */ + char *bindPW; /* deprecated since the SIE cannot bind anymore */ + char *admservSieDN; /* SIE DN of this admin server */ } LdapServerData; typedef struct ServletLookupData { From fedora-directory-commits at redhat.com Fri Jun 22 22:51:03 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Fri, 22 Jun 2007 18:51:03 -0400 Subject: [Fedora-directory-commits] adminutil adminutil.spec, 1.6, 1.7 configure, 1.8, 1.9 configure.ac, 1.5, 1.6 aclocal.m4, 1.8, 1.9 missing, 1.7, 1.8 install-sh, 1.7, 1.8 Makefile.in, 1.8, 1.9 depcomp, 1.7, 1.8 config.sub, 1.7, 1.8 config.guess, 1.7, 1.8 compile, 1.7, 1.8 Message-ID: <200706222251.l5MMp3Mv029585@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminutil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29556/adminutil Modified Files: adminutil.spec configure configure.ac aclocal.m4 missing install-sh Makefile.in depcomp config.sub config.guess compile Log Message: bump version to 1.1.2 Index: adminutil.spec =================================================================== RCS file: /cvs/dirsec/adminutil/adminutil.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- adminutil.spec 25 May 2007 22:55:54 -0000 1.6 +++ adminutil.spec 22 Jun 2007 22:51:00 -0000 1.7 @@ -6,8 +6,8 @@ Summary: Utility library for directory server administration Name: adminutil -Version: 1.1.1 -Release: 3%{?dist} +Version: 1.1.2 +Release: 1%{?dist} License: LGPL URL: http://directory.fedoraproject.org/wiki/AdminUtil Group: Development/Libraries @@ -84,6 +84,11 @@ %{_includedir}/libadmsslutil %changelog +* Fri Jun 22 2007 Rich Megginson - 1.1.2-1 +- Updated version to 1.1.2 +- This version fixes some memory leaks and invalid memory use +- issues + * Wed May 23 2007 Rich Megginson - 1.1.1-3 - more fedora review stuff - use macros consistently - make sure install preserves timestamps Index: configure =================================================================== RCS file: /cvs/dirsec/adminutil/configure,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- configure 22 Jun 2007 21:06:44 -0000 1.8 +++ configure 22 Jun 2007 22:51:00 -0000 1.9 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for adminutil 1.1.1. +# Generated by GNU Autoconf 2.59 for adminutil 1.1.2. # # Report bugs to . # @@ -423,8 +423,8 @@ # Identity of this package. PACKAGE_NAME='adminutil' PACKAGE_TARNAME='adminutil' -PACKAGE_VERSION='1.1.1' -PACKAGE_STRING='adminutil 1.1.1' +PACKAGE_VERSION='1.1.2' +PACKAGE_STRING='adminutil 1.1.2' PACKAGE_BUGREPORT='http://bugzilla.redhat.com/' # Factoring default headers for most tests. @@ -954,7 +954,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures adminutil 1.1.1 to adapt to many kinds of systems. +\`configure' configures adminutil 1.1.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1020,7 +1020,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of adminutil 1.1.1:";; + short | recursive ) echo "Configuration of adminutil 1.1.2:";; esac cat <<\_ACEOF @@ -1180,7 +1180,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -adminutil configure 1.1.1 +adminutil configure 1.1.2 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1194,7 +1194,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by adminutil $as_me 1.1.1, which was +It was created by adminutil $as_me 1.1.2, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1837,7 +1837,7 @@ # Define the identity of the package. PACKAGE='adminutil' - VERSION='1.1.1' + VERSION='1.1.2' cat >>confdefs.h <<_ACEOF @@ -24367,7 +24367,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by adminutil $as_me 1.1.1, which was +This file was extended by adminutil $as_me 1.1.2, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -24425,7 +24425,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -adminutil config.status 1.1.1 +adminutil config.status 1.1.2 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminutil/configure.ac,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- configure.ac 21 Jun 2007 21:28:00 -0000 1.5 +++ configure.ac 22 Jun 2007 22:51:01 -0000 1.6 @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT([adminutil], [1.1.1], [http://bugzilla.redhat.com/]) +AC_INIT([adminutil], [1.1.2], [http://bugzilla.redhat.com/]) AM_INIT_AUTOMAKE([1.9 foreign subdir-objects]) AM_MAINTAINER_MODE AC_CANONICAL_HOST From fedora-directory-commits at redhat.com Fri Jun 22 23:14:55 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Fri, 22 Jun 2007 19:14:55 -0400 Subject: [Fedora-directory-commits] ldapserver/ldap/admin/src create_instance.c, 1.59, 1.60 Message-ID: <200706222314.l5MNEtrp006554@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/ldapserver/ldap/admin/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5320 Modified Files: create_instance.c Log Message: Resolves: #245407 Summary: Add config attributes to cn=config to support Console (comment #1) Description: Console needs to know the default paths for ldif_dir and bak_dir. Adding the paths to cn=config. Index: create_instance.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- create_instance.c 15 Jun 2007 22:11:15 -0000 1.59 +++ create_instance.c 22 Jun 2007 23:14:52 -0000 1.60 @@ -2688,6 +2688,8 @@ fprintf(f, "nsslapd-lockdir: %s\n", cf->lock_dir); fprintf(f, "nsslapd-tmpdir: %s\n", cf->tmp_dir); fprintf(f, "nsslapd-certdir: %s\n", cf->cert_dir); + fprintf(f, "nsslapd-ldifdir: %s\n", cf->ldif_dir); + fprintf(f, "nsslapd-bakdir: %s\n", cf->bak_dir); /* We use the system SASL by default on Linux, so we don't need to set sasl path */ if (NULL != cf->sasl_path) { fprintf(f, "nsslapd-saslpath: %s\n", cf->sasl_path); From fedora-directory-commits at redhat.com Mon Jun 25 17:14:43 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 25 Jun 2007 13:14:43 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src AdminUtil.pm.in, 1.3, 1.4 configdsroot.map.in, 1.2, 1.3 Message-ID: <200706251714.l5PHEhKQ005698@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5213/admserv/newinst/src Modified Files: AdminUtil.pm.in configdsroot.map.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #15) Description: ACIs for cn=config and cn=schema are added Index: AdminUtil.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/AdminUtil.pm.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AdminUtil.pm.in 20 Jun 2007 16:35:02 -0000 1.3 +++ AdminUtil.pm.in 25 Jun 2007 17:14:40 -0000 1.4 @@ -252,7 +252,9 @@ # add the o=NetscapeRoot tree using the mapper and ldif templates my @ldiffiles = ('@ldifdir@/01nsroot.ldif.tmpl', - '@ldifdir@/02globalpreferences.ldif.tmpl' + '@ldifdir@/02globalpreferences.ldif.tmpl', + '@ldifdir@/12dsconfig.mod.tmpl', + '@ldifdir@/13dsschema.mod.tmpl' ); my $setupinf = new Inf("@infdir@/setup.inf"); my $admininf = new Inf("@infdir@/admin.inf"); Index: configdsroot.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/configdsroot.map.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- configdsroot.map.in 21 Jun 2007 22:01:51 -0000 1.2 +++ configdsroot.map.in 25 Jun 2007 17:14:40 -0000 1.3 @@ -50,24 +50,25 @@ # * The right-hand value can contain variables surrounded by % (e.g., %asid%) # which refers the right-hand value (key) of this map file. # -fqdn = FullMachineName -domain = AdminDomain -brand = Brand -normbrand = NormBrand -uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = ; chomp $returnvalue; close(UNAMEA);` -uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = ; chomp $returnvalue; close(UNAMEM);` -configroot = "CONFIG ROOT -- replace me" +fqdn = FullMachineName +domain = AdminDomain +brand = Brand +normbrand = NormBrand +uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = ; chomp $returnvalue; close(UNAMEA);` +uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = ; chomp $returnvalue; close(UNAMEM);` +configroot = "CONFIG ROOT -- replace me" -as_uid = ServerAdminID -as_passwd = ServerAdminPwd -asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` -as_version = Version -as_baseversion = BaseVersion +as_uid = ServerAdminID +as_passwd = ServerAdminPwd +asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` +as_version = Version +as_baseversion = BaseVersion -ds_version = Version -ds_baseversion = BaseVersion -ds_port = ServerPort -ds_secure_port ="636" -ds_suffix = Suffix +ds_version = Version +ds_baseversion = BaseVersion +ds_port = ServerPort +ds_secure_port = "636" +ds_suffix = Suffix +dsid = ServerIdentifier -ds_console_jar ="%normbrand%-ds-%ds_baseversion%.jar" +ds_console_jar = "%normbrand%-ds-%ds_baseversion%.jar" From fedora-directory-commits at redhat.com Mon Jun 25 18:23:55 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 25 Jun 2007 14:23:55 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src adminserver.map.in, 1.3, 1.4 configdsroot.map.in, 1.3, 1.4 dirserver.map.in, 1.3, 1.4 register_param.map.in, 1.3, 1.4 Message-ID: <200706251823.l5PINtpW021439@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20437/newinst/src Modified Files: adminserver.map.in configdsroot.map.in dirserver.map.in register_param.map.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #17) Description: Removing ServerRoot, InstalledLocation and ConfigRoot from o=netscaperoot. Index: adminserver.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/adminserver.map.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- adminserver.map.in 22 Jun 2007 22:26:24 -0000 1.3 +++ adminserver.map.in 25 Jun 2007 18:23:53 -0000 1.4 @@ -61,7 +61,7 @@ vendor = Vendor timestamp = `use Time::gmtime; my $gm = gmtime; $returnvalue = sprintf ("%04d%02d%02d%02d%02d%02dZ", 1900+$gm->year, 1+$gm->mon, $gm->mday, $gm->hour, $gm->min, $gm->sec);` -asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` +asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_port = Port admpw = "@configdir@/admpw" as_error = "@logdir@/errors" @@ -73,6 +73,4 @@ as_version = Version as_baseversion = BaseVersion as_buildnum = BuildNumber -as_installedlocation = "AS INSTALLED LOCATION -- replace me" -as_serverroot = "AS SERVER ROOT-- replace me" as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" Index: configdsroot.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/configdsroot.map.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- configdsroot.map.in 25 Jun 2007 17:14:40 -0000 1.3 +++ configdsroot.map.in 25 Jun 2007 18:23:53 -0000 1.4 @@ -56,7 +56,6 @@ normbrand = NormBrand uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = ; chomp $returnvalue; close(UNAMEA);` uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = ; chomp $returnvalue; close(UNAMEM);` -configroot = "CONFIG ROOT -- replace me" as_uid = ServerAdminID as_passwd = ServerAdminPwd Index: dirserver.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/dirserver.map.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- dirserver.map.in 22 Jun 2007 22:26:24 -0000 1.3 +++ dirserver.map.in 25 Jun 2007 18:23:53 -0000 1.4 @@ -59,7 +59,6 @@ normbrand = NormBrand vendor = Vendor timestamp = `use Time::gmtime; my $gm = gmtime; $returnvalue = sprintf ("%04d%02d%02d%02d%02d%02dZ", 1900+$gm->year, 1+$gm->mon, $gm->mday, $gm->hour, $gm->min, $gm->sec);` -configroot = "CONFIG ROOT -- replace me" asid = `use Net::Domain qw(hostname); $returnvalue = hostname();` as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" @@ -73,6 +72,4 @@ ds_suffix = Suffix ds_buildnum = BuildNumber ds_console_jar ="%normbrand%-ds-%ds_baseversion%.jar" -ds_installedlocation = "DS INSTALLED LOCATION -- replace me" -ds_serverroot = "DS SERVER ROOT-- replace me" ds_sie = "cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" Index: register_param.map.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/register_param.map.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- register_param.map.in 22 Jun 2007 22:26:24 -0000 1.3 +++ register_param.map.in 25 Jun 2007 18:23:53 -0000 1.4 @@ -61,7 +61,6 @@ vendor = Vendor uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = ; chomp $returnvalue; close(UNAMEA);` uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = ; chomp $returnvalue; close(UNAMEM);` -configroot = "CONFIG ROOT -- replace me" timestamp = `use Time::gmtime; my $gm = gmtime; $returnvalue = sprintf ("%04d%02d%02d%02d%02d%02dZ", 1900+$gm->year, 1+$gm->mon, $gm->mday, $gm->hour, $gm->min, $gm->sec);` as_uid = ServerAdminID @@ -78,8 +77,6 @@ as_version = Version as_baseversion = BaseVersion as_buildnum = BuildNumber -as_installedlocation = "AS INSTALLED LOCATION -- replace me" -as_serverroot = "AS SERVER ROOT-- replace me" as_sie = "cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" ds_version = Version @@ -93,6 +90,4 @@ ds_buildnum = BuildNumber ds_passwd = RootDNPwd ds_console_jar ="%normbrand%-ds-%ds_baseversion%.jar" -ds_installedlocation = "DS INSTALLED LOCATION -- replace me" -ds_serverroot = "DS SERVER ROOT-- replace me" ds_sie = "cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot" From fedora-directory-commits at redhat.com Mon Jun 25 18:23:56 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Mon, 25 Jun 2007 14:23:56 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 01nsroot.ldif.tmpl, 1.5, 1.6 10dsdata.ldif.tmpl, 1.6, 1.7 20asdata.ldif.tmpl, 1.4, 1.5 Message-ID: <200706251823.l5PINujn021447@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20437/schema/ldif Modified Files: 01nsroot.ldif.tmpl 10dsdata.ldif.tmpl 20asdata.ldif.tmpl Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #17) Description: Removing ServerRoot, InstalledLocation and ConfigRoot from o=netscaperoot. Index: 01nsroot.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/01nsroot.ldif.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- 01nsroot.ldif.tmpl 22 Jun 2007 22:26:25 -0000 1.5 +++ 01nsroot.ldif.tmpl 25 Jun 2007 18:23:53 -0000 1.6 @@ -114,7 +114,6 @@ objectClass: nsDirectoryInfo objectClass: top nsAdminGroupName: Server Group -nsConfigRoot: %configroot% nsDirectoryInfoRef: cn=UserDirectory, ou=Global Preferences, ou=%domain%, o=NetscapeRoot nsAdminSIEDN: cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot cn: Server Group Index: 10dsdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/10dsdata.ldif.tmpl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- 10dsdata.ldif.tmpl 22 Jun 2007 22:26:25 -0000 1.6 +++ 10dsdata.ldif.tmpl 25 Jun 2007 18:23:53 -0000 1.7 @@ -32,7 +32,6 @@ nsNickName: slapd nsBuildNumber: %ds_buildnum% nsVendor: %vendor% -nsInstalledLocation: %ds_installedlocation% installationTimeStamp: %timestamp% nsExpirationDate: 0 nsBuildSecurity: domestic @@ -51,7 +50,6 @@ nsServerID: slapd-%dsid% nsBindDN: %rootdn% nsBaseDN: %ds_suffix% -serverRoot: %ds_serverroot% nsServerPort: %ds_port% nsSecureServerPort: %ds_secure_port% serverProductName: Directory Server (%dsid%) Index: 20asdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/20asdata.ldif.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- 20asdata.ldif.tmpl 22 Jun 2007 22:26:25 -0000 1.4 +++ 20asdata.ldif.tmpl 25 Jun 2007 18:23:53 -0000 1.5 @@ -27,7 +27,6 @@ nsNickName: admin nsProductVersion: %as_version% nsBuildNumber: %as_buildnum% -nsInstalledLocation: %as_installedlocation% installationTimeStamp: %timestamp% nsBuildSecurity: domestic nsServerMigrationClassname: com.netscape.management.admserv.AdminServerProduct@%as_console_jar% @@ -42,7 +41,6 @@ objectClass: groupOfUniqueNames cn: admin-serv-%asid% nsServerID: admin-serv -serverRoot: %as_serverroot% serverProductName: Administration Server serverHostName: %fqdn% installationTimeStamp: %timestamp% From fedora-directory-commits at redhat.com Mon Jun 25 23:23:14 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Mon, 25 Jun 2007 19:23:14 -0400 Subject: [Fedora-directory-commits] adminserver/include/libdsa dsalib.h, 1.1, 1.2 Message-ID: <200706252323.l5PNNEhV027477@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver/include/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27108/include/libdsa Modified Files: dsalib.h Log Message: Resolves: 245665 Summary: Make dsalib use Directory Server config values for paths. Index: dsalib.h =================================================================== RCS file: /cvs/dirsec/adminserver/include/libdsa/dsalib.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dsalib.h 13 Jun 2007 01:37:17 -0000 1.1 +++ dsalib.h 25 Jun 2007 23:23:12 -0000 1.2 @@ -277,8 +277,11 @@ #define DS_ROOTDN 11 #define DS_ROOTPW 12 #define DS_SUFFIX 13 -#define DS_LOCALUSER 14 -#define DS_CFG_MAX 15 /* MUST be one greater than the last option */ +#define DS_LOCALUSER 14 +#define DS_BAKDIR 15 +#define DS_RUNDIR 16 +#define DS_TMPDIR 17 +#define DS_CFG_MAX 18 /* MUST be one greater than the last option */ /* These control how long we wait for the server to start up or shutdown */ #define SERVER_START_TIMEOUT 600 /* seconds */ From fedora-directory-commits at redhat.com Mon Jun 25 23:23:15 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Mon, 25 Jun 2007 19:23:15 -0400 Subject: [Fedora-directory-commits] adminserver/lib/libdsa dsalib_conf.c, 1.1, 1.2 dsalib_db.c, 1.1, 1.2 dsalib_location.c, 1.1, 1.2 dsalib_updown.c, 1.1, 1.2 Message-ID: <200706252323.l5PNNFSp027488@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver/lib/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27108/lib/libdsa Modified Files: dsalib_conf.c dsalib_db.c dsalib_location.c dsalib_updown.c Log Message: Resolves: 245665 Summary: Make dsalib use Directory Server config values for paths. Index: dsalib_conf.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_conf.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dsalib_conf.c 13 Jun 2007 01:37:17 -0000 1.1 +++ dsalib_conf.c 25 Jun 2007 23:23:12 -0000 1.2 @@ -122,6 +122,9 @@ {"nsslapd-rootpwstoragescheme"}, {"nsslapd-suffix"}, {"nsslapd-localuser"}, +{"nsslapd-bakdir"}, +{"nsslapd-lockdir"}, +{"nsslapd-tmpdir"}, {0} }; Index: dsalib_db.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_db.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dsalib_db.c 13 Jun 2007 01:37:17 -0000 1.1 +++ dsalib_db.c 25 Jun 2007 23:23:12 -0000 1.2 @@ -69,17 +69,10 @@ ds_get_bak_dirs() { char format_str[PATH_MAX]; - char *root; int i = 0; char **bak_dirs = NULL; char *bakdir = NULL; - if ( (root = ds_get_install_root()) == NULL ) - { - ds_send_error("Cannot find server root directory.", 0); - return(bak_dirs); - } - if ( (bakdir = ds_get_bak_dir()) == NULL ) { ds_send_error("Cannot find backup directory.", 0); @@ -92,7 +85,7 @@ { while( bak_dirs[i] != NULL ) { - /* Prepend the filename with the install root */ + /* Prepend the filename with the backup directory */ char filename[PATH_MAX]; PR_snprintf( filename, PATH_MAX, "%s%c%s", bakdir, FILE_SEP, bak_dirs[i] ); Index: dsalib_location.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_location.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dsalib_location.c 13 Jun 2007 01:37:17 -0000 1.1 +++ dsalib_location.c 25 Jun 2007 23:23:12 -0000 1.2 @@ -99,7 +99,18 @@ DS_EXPORT_SYMBOL char * ds_get_config_dir() { - return getenv("DS_CONFIG_DIR"); + char *ds_name; + char *configdir_env; + static char configdir[PATH_MAX]; + + if (configdir_env = getenv("DS_CONFIG_DIR")) { + return configdir_env; + } else { + if ( (ds_name = ds_get_server_name()) == NULL ) + return(NULL); + PR_snprintf(configdir, sizeof(configdir), "%s/%s", INSTCONFIGDIR, ds_name); + return (configdir); + } } /* @@ -122,7 +133,13 @@ DS_EXPORT_SYMBOL char * ds_get_run_dir() { - return getenv("DS_RUN_DIR"); + char *rundir; + + if (rundir = getenv("DS_RUN_DIR")) { + return rundir; + } else { + return ds_get_config_value(DS_RUNDIR); + } } /* @@ -145,7 +162,13 @@ DS_EXPORT_SYMBOL char * ds_get_bak_dir() { - return getenv("DS_BAK_DIR"); + char *bakdir; + + if (bakdir = getenv("DS_BAK_DIR")) { + return bakdir; + } else { + return ds_get_config_value(DS_BAKDIR); + } } /* @@ -168,7 +191,13 @@ DS_EXPORT_SYMBOL char * ds_get_tmp_dir() { - return getenv("DS_TMP_DIR"); + char *tmpdir; + + if (tmpdir = getenv("DS_TMP_DIR")) { + return tmpdir; + } else { + return ds_get_config_value(DS_TMPDIR); + } } /* Index: dsalib_updown.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_updown.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dsalib_updown.c 13 Jun 2007 01:37:17 -0000 1.1 +++ dsalib_updown.c 25 Jun 2007 23:23:12 -0000 1.2 @@ -92,7 +92,7 @@ int status = 0; if ( (rundir = ds_get_run_dir()) == NULL ) { - fprintf(stderr, "ds_get_updown_status: could not get install root\n"); + fprintf(stderr, "ds_get_updown_status: could not get run directory\n"); return(DS_SERVER_UNKNOWN); } PR_snprintf(pid_file_name, BIG_LINE, "%s/%s.pid", rundir, ds_get_server_name()); @@ -108,7 +108,7 @@ status = fscanf(pidfile, "%d\n", &ipid); fclose(pidfile); if ( status == -1 ) { - fprintf(stderr, + fprintf(stderr, "ds_get_updown_status: pidfile=%s server_pid=%d errno=%d\n", pid_file_name, ipid, errno); unlink(pid_file_name); /* junk in file? */ @@ -116,13 +116,13 @@ } server_pid = (pid_t) ipid; if ( (status = kill(server_pid, 0)) != 0 && errno != EPERM ) { - /* we should get ESRCH if the server is down, anything else may be + /* we should get ESRCH if the server is down, anything else may be a real problem */ - if (errno != ESRCH) { - fprintf(stderr, + if (errno != ESRCH) { + fprintf(stderr, "ds_get_updown_status: pidfile=%s server_pid=%d status=%d errno=%d\n", pid_file_name, server_pid, status, errno); - } + } unlink(pid_file_name); /* pid does not exist! */ return(DS_SERVER_DOWN); } @@ -310,6 +310,7 @@ status = ds_get_updown_status(); if ( status == DS_SERVER_UP ) return(DS_SERVER_ALREADY_UP); + /* NGK - Need to eliminate root */ if ( (root = ds_get_install_root()) == NULL ) return(DS_SERVER_UNKNOWN); @@ -323,58 +324,50 @@ DS_EXPORT_SYMBOL int ds_bring_down_server() { - char *root; int status; int cur_size; char *errorlog; status = ds_get_updown_status(); /* set server_pid too! */ if ( status != DS_SERVER_UP ) { - ds_send_error("The server is not up.", 0); + ds_send_error("The server is not up.", 0); return(DS_SERVER_ALREADY_DOWN); } - if ( (root = ds_get_install_root()) == NULL ) { - ds_send_error("Could not get the server root directory.", 0); - return(DS_SERVER_UNKNOWN); - } ds_send_status("shutting down server ..."); if (!(errorlog = ds_get_errors_name())) { - ds_send_error("Could not get the error log filename.", 0); - return DS_SERVER_UNKNOWN; + ds_send_error("Could not get the error log filename.", 0); + return DS_SERVER_UNKNOWN; } cur_size = ds_get_file_size(errorlog); #if !defined( XP_WIN32 ) if ( (kill(server_pid, SIGTERM)) != 0) { - if (errno == EPERM) { - ds_send_error("Not permitted to kill server.", 0); - fprintf (stdout, "[%s]: kill (%li, SIGTERM) failed with errno = EPERM.
\n", - ds_get_server_name(), (long)server_pid); - } else { - ds_send_error("error in killing server.", 1); - } + if (errno == EPERM) { + ds_send_error("Not permitted to kill server.", 0); + fprintf (stdout, "[%s]: kill (%li, SIGTERM) failed with errno = EPERM.
\n", + ds_get_server_name(), (long)server_pid); + } else { + ds_send_error("error in killing server.", 1); + } return(DS_SERVER_UNKNOWN); } #else - if( StopServer() == DS_SERVER_DOWN ) - { - ds_send_status("shutdown: server shut down"); - } - else - { + if ( StopServer() == DS_SERVER_DOWN ) { + ds_send_status("shutdown: server shut down"); + } else { ds_send_error("error in killing server.", 1); return(DS_SERVER_UNKNOWN); - } + } #endif /* * Wait up to SERVER_STOP_TIMEOUT seconds for the stopped message to - * appear in the error log. + * appear in the error log. */ ds_display_tail(errorlog, SERVER_STOP_TIMEOUT, cur_size, "slapd stopped.", NULL); /* in some cases, the server will tell us it's down when it's really not, so give the OS a chance to remove it from the process table */ - PR_Sleep(PR_SecondsToInterval(1)); + PR_Sleep(PR_SecondsToInterval(1)); return(ds_get_updown_status()); } From fedora-directory-commits at redhat.com Mon Jun 25 23:23:14 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Mon, 25 Jun 2007 19:23:14 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.16, 1.17 Makefile.in, 1.16, 1.17 aclocal.m4, 1.13, 1.14 config.guess, 1.8, 1.9 config.h.in, 1.4, 1.5 config.sub, 1.8, 1.9 configure, 1.15, 1.16 depcomp, 1.8, 1.9 install-sh, 1.8, 1.9 ltmain.sh, 1.3, 1.4 missing, 1.8, 1.9 Message-ID: <200706252323.l5PNNE3s027468@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27108 Modified Files: Makefile.am Makefile.in aclocal.m4 config.guess config.h.in config.sub configure depcomp install-sh ltmain.sh missing Log Message: Resolves: 245665 Summary: Make dsalib use Directory Server config values for paths. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Makefile.am 22 Jun 2007 02:31:59 -0000 1.16 +++ Makefile.am 25 Jun 2007 23:23:10 -0000 1.17 @@ -107,7 +107,8 @@ -DCONFIGDIR=\"$(configdir)\" -DSECURITYDIR=\"$(securitydir)\" \ -DLOGDIR=\"$(logdir)\" -DHTTPD=\"$(HTTPD)\" -DDEFAULT_HTTPDUSER=\"$(httpduser)\" \ -DPIDFILE=\"$(pidfile)\" -DDATADIR=\"$(datadir)\" -DLDIFDIR=\"$(ldifdir)\" \ - -DBUILD_NUM=$(BUILDNUM) -DINFDIR=\"$(infdir)\" -DCGIBINDIR=\"$(cgibindir)\" + -DBUILD_NUM=$(BUILDNUM) -DINFDIR=\"$(infdir)\" -DCGIBINDIR=\"$(cgibindir)\" \ + -DINSTCONFIGDIR=\"$(instconfigdir)\" lib_LTLIBRARIES = libds-admin-serv.la Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Makefile.in 22 Jun 2007 02:31:59 -0000 1.16 +++ Makefile.in 25 Jun 2007 23:23:10 -0000 1.17 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.10 from Makefile.am. +# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -18,11 +18,15 @@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -49,13 +53,13 @@ ds_bak2db$(EXEEXT) ds_db2bak$(EXEEXT) ds_listdb$(EXEEXT) \ ds_rmdb$(EXEEXT) ds_remove$(EXEEXT) ds_snmpctrl$(EXEEXT) \ ds_vlvindex$(EXEEXT) ds_addindex$(EXEEXT) -subdir = . DIST_COMMON = README $(am__configure_deps) $(dist_help_DATA) \ $(dist_html_DATA) $(dist_icon_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ compile config.guess config.sub depcomp install-sh ltmain.sh \ missing +subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/fhs.m4 \ $(top_srcdir)/m4/fortitude.m4 $(top_srcdir)/m4/httpd.m4 \ @@ -66,7 +70,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno + configure.lineno configure.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = @@ -246,27 +250,25 @@ perlSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(cgibin_SCRIPTS) $(cmdbin_SCRIPTS) \ $(init_SCRIPTS) $(nodist_cmdbin_SCRIPTS) $(perl_SCRIPTS) -DEFAULT_INCLUDES = -I. at am__isrc@ +DEFAULT_INCLUDES = -I. -I$(srcdir) -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libdsa_a_SOURCES) $(libds_admin_serv_la_SOURCES) \ $(ReadLog_SOURCES) $(admpw_SOURCES) $(config_SOURCES) \ $(download_SOURCES) $(ds_addindex_SOURCES) \ @@ -299,11 +301,10 @@ $(viewlog_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive dist_helpDATA_INSTALL = $(INSTALL_DATA) dist_htmlDATA_INSTALL = $(INSTALL_DATA) dist_iconDATA_INSTALL = $(INSTALL_DATA) @@ -315,8 +316,6 @@ DATA = $(dist_help_DATA) $(dist_html_DATA) $(dist_icon_DATA) \ $(inf_DATA) $(ldif_DATA) $(nodist_config_DATA) \ $(nodist_property_DATA) $(property_DATA) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = mod_admserv mod_restartd @@ -332,7 +331,11 @@ distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +APACHE22_FALSE = @APACHE22_FALSE@ +APACHE22_TRUE = @APACHE22_TRUE@ APR_CONFIG = @APR_CONFIG@ APXS = @APXS@ AR = @AR@ @@ -349,6 +352,8 @@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ +CXXLINK_REQUIRED_FALSE = @CXXLINK_REQUIRED_FALSE@ +CXXLINK_REQUIRED_TRUE = @CXXLINK_REQUIRED_TRUE@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -360,10 +365,8 @@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ -GREP = @GREP@ HTTPD = @HTTPD@ ICU_CONFIG = @ICU_CONFIG@ -INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -379,8 +382,13 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ +MOD_ADMSERV_FALSE = @MOD_ADMSERV_FALSE@ +MOD_ADMSERV_TRUE = @MOD_ADMSERV_TRUE@ +MOD_RESTARTD_FALSE = @MOD_RESTARTD_FALSE@ +MOD_RESTARTD_TRUE = @MOD_RESTARTD_TRUE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BASE_NAME = @PACKAGE_BASE_NAME@ @@ -393,23 +401,29 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ +WINNT_FALSE = @WINNT_FALSE@ +WINNT_TRUE = @WINNT_TRUE@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ adminutil_inc = @adminutil_inc@ adminutil_lib = @adminutil_lib@ adminutil_libdir = @adminutil_libdir@ adminutil_ver = @adminutil_ver@ admmoddir = $(libdir)@admmoddir@ admservport = @admservport@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -422,15 +436,11 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ -builddir = @builddir@ capbrand = @capbrand@ cgibindir = $(libdir)@cgibindir@ cmdbindir = $(sbindir) curses_lib = @curses_lib@ datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ @@ -459,7 +469,6 @@ ldifdir = $(datadir)@ldifdir@ libdir = @libdir@ libexecdir = @libexecdir@ -localedir = @localedir@ localstatedir = @localstatedir@ logdir = $(localstatedir)@logdir@/$(instancename) mandir = @mandir@ @@ -477,22 +486,17 @@ nssmoddir = @nssmoddir@ nsspcache = @nsspcache@ oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ perldir = $(libdir)@perldir@ piddir = $(localstatedir)@piddir@ pidfile = @pidfile@ prefix = @prefix@ program_transform_name = @program_transform_name@ propertydir = $(datadir)@propertydir@ -psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ vendor = @vendor@ # BEGIN COPYRIGHT BLOCK @@ -555,7 +559,8 @@ -DHTTPD=\"$(HTTPD)\" -DDEFAULT_HTTPDUSER=\"$(httpduser)\" \ -DPIDFILE=\"$(pidfile)\" -DDATADIR=\"$(datadir)\" \ -DLDIFDIR=\"$(ldifdir)\" -DBUILD_NUM=$(BUILDNUM) \ - -DINFDIR=\"$(infdir)\" -DCGIBINDIR=\"$(cgibindir)\" + -DINFDIR=\"$(infdir)\" -DCGIBINDIR=\"$(cgibindir)\" \ + -DINSTCONFIGDIR=\"$(instconfigdir)\" lib_LTLIBRARIES = libds-admin-serv.la noinst_LIBRARIES = libdsa.a DEFAULT_LIBS = libds-admin-serv.la @adminutil_lib@ -ladmsslutil at adminutil_ver@ -ladminutil at adminutil_ver@ \ @@ -869,7 +874,7 @@ config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @@ -886,10 +891,10 @@ clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) lib/libdsa/$(am__dirstamp): - @$(MKDIR_P) lib/libdsa + @$(mkdir_p) lib/libdsa @: > lib/libdsa/$(am__dirstamp) lib/libdsa/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) lib/libdsa/$(DEPDIR) + @$(mkdir_p) lib/libdsa/$(DEPDIR) @: > lib/libdsa/$(DEPDIR)/$(am__dirstamp) lib/libdsa/libdsa_a-dsalib_conf.$(OBJEXT): lib/libdsa/$(am__dirstamp) \ lib/libdsa/$(DEPDIR)/$(am__dirstamp) @@ -927,7 +932,7 @@ $(RANLIB) libdsa.a install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ @@ -938,7 +943,7 @@ uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ @@ -953,10 +958,10 @@ rm -f "$${dir}/so_locations"; \ done lib/base/$(am__dirstamp): - @$(MKDIR_P) lib/base + @$(mkdir_p) lib/base @: > lib/base/$(am__dirstamp) lib/base/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) lib/base/$(DEPDIR) + @$(mkdir_p) lib/base/$(DEPDIR) @: > lib/base/$(DEPDIR)/$(am__dirstamp) lib/base/file.lo: lib/base/$(am__dirstamp) \ lib/base/$(DEPDIR)/$(am__dirstamp) @@ -967,10 +972,10 @@ lib/base/nscputil.lo: lib/base/$(am__dirstamp) \ lib/base/$(DEPDIR)/$(am__dirstamp) lib/libsi18n/$(am__dirstamp): - @$(MKDIR_P) lib/libsi18n + @$(mkdir_p) lib/libsi18n @: > lib/libsi18n/$(am__dirstamp) lib/libsi18n/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) lib/libsi18n/$(DEPDIR) + @$(mkdir_p) lib/libsi18n/$(DEPDIR) @: > lib/libsi18n/$(DEPDIR)/$(am__dirstamp) lib/libsi18n/coreres.lo: lib/libsi18n/$(am__dirstamp) \ lib/libsi18n/$(DEPDIR)/$(am__dirstamp) @@ -985,10 +990,10 @@ lib/libsi18n/txtfile.lo: lib/libsi18n/$(am__dirstamp) \ lib/libsi18n/$(DEPDIR)/$(am__dirstamp) lib/libadmin/$(am__dirstamp): - @$(MKDIR_P) lib/libadmin + @$(mkdir_p) lib/libadmin @: > lib/libadmin/$(am__dirstamp) lib/libadmin/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) lib/libadmin/$(DEPDIR) + @$(mkdir_p) lib/libadmin/$(DEPDIR) @: > lib/libadmin/$(DEPDIR)/$(am__dirstamp) lib/libadmin/cluster.lo: lib/libadmin/$(am__dirstamp) \ lib/libadmin/$(DEPDIR)/$(am__dirstamp) @@ -1009,10 +1014,10 @@ lib/libadmin/util.lo: lib/libadmin/$(am__dirstamp) \ lib/libadmin/$(DEPDIR)/$(am__dirstamp) libds-admin-serv.la: $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_DEPENDENCIES) - $(libds_admin_serv_la_LINK) -rpath $(libdir) $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_LIBADD) $(LIBS) + $(libds_admin_serv_la_LINK) -rpath $(libdir) $(libds_admin_serv_la_LDFLAGS) $(libds_admin_serv_la_OBJECTS) $(libds_admin_serv_la_LIBADD) $(LIBS) install-cgibinPROGRAMS: $(cgibin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(cgibindir)" || $(MKDIR_P) "$(DESTDIR)$(cgibindir)" + test -z "$(cgibindir)" || $(mkdir_p) "$(DESTDIR)$(cgibindir)" @list='$(cgibin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ @@ -1039,38 +1044,38 @@ rm -f $$p $$f ; \ done admserv/cgi-src40/$(am__dirstamp): - @$(MKDIR_P) admserv/cgi-src40 + @$(mkdir_p) admserv/cgi-src40 @: > admserv/cgi-src40/$(am__dirstamp) admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) admserv/cgi-src40/$(DEPDIR) + @$(mkdir_p) admserv/cgi-src40/$(DEPDIR) @: > admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) admserv/cgi-src40/ReadLog.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) ReadLog$(EXEEXT): $(ReadLog_OBJECTS) $(ReadLog_DEPENDENCIES) @rm -f ReadLog$(EXEEXT) - $(ReadLog_LINK) $(ReadLog_OBJECTS) $(ReadLog_LDADD) $(LIBS) + $(ReadLog_LINK) $(ReadLog_LDFLAGS) $(ReadLog_OBJECTS) $(ReadLog_LDADD) $(LIBS) admserv/cgi-src40/admpw.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) admpw$(EXEEXT): $(admpw_OBJECTS) $(admpw_DEPENDENCIES) @rm -f admpw$(EXEEXT) - $(admpw_LINK) $(admpw_OBJECTS) $(admpw_LDADD) $(LIBS) + $(admpw_LINK) $(admpw_LDFLAGS) $(admpw_OBJECTS) $(admpw_LDADD) $(LIBS) admserv/cgi-src40/config.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) config$(EXEEXT): $(config_OBJECTS) $(config_DEPENDENCIES) @rm -f config$(EXEEXT) - $(config_LINK) $(config_OBJECTS) $(config_LDADD) $(LIBS) + $(config_LINK) $(config_LDFLAGS) $(config_OBJECTS) $(config_LDADD) $(LIBS) admserv/cgi-src40/download.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) download$(EXEEXT): $(download_OBJECTS) $(download_DEPENDENCIES) @rm -f download$(EXEEXT) - $(LINK) $(download_OBJECTS) $(download_LDADD) $(LIBS) + $(LINK) $(download_LDFLAGS) $(download_OBJECTS) $(download_LDADD) $(LIBS) admserv/cgi-ds/$(am__dirstamp): - @$(MKDIR_P) admserv/cgi-ds + @$(mkdir_p) admserv/cgi-ds @: > admserv/cgi-ds/$(am__dirstamp) admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) admserv/cgi-ds/$(DEPDIR) + @$(mkdir_p) admserv/cgi-ds/$(DEPDIR) @: > admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) admserv/cgi-ds/ds_addindex-addindex.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ @@ -1080,7 +1085,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_addindex$(EXEEXT): $(ds_addindex_OBJECTS) $(ds_addindex_DEPENDENCIES) @rm -f ds_addindex$(EXEEXT) - $(ds_addindex_LINK) $(ds_addindex_OBJECTS) $(ds_addindex_LDADD) $(LIBS) + $(ds_addindex_LINK) $(ds_addindex_LDFLAGS) $(ds_addindex_OBJECTS) $(ds_addindex_LDADD) $(LIBS) admserv/cgi-ds/ds_bak2db-ds_bak2db.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1089,7 +1094,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_bak2db$(EXEEXT): $(ds_bak2db_OBJECTS) $(ds_bak2db_DEPENDENCIES) @rm -f ds_bak2db$(EXEEXT) - $(ds_bak2db_LINK) $(ds_bak2db_OBJECTS) $(ds_bak2db_LDADD) $(LIBS) + $(ds_bak2db_LINK) $(ds_bak2db_LDFLAGS) $(ds_bak2db_OBJECTS) $(ds_bak2db_LDADD) $(LIBS) admserv/cgi-ds/ds_db2bak-ds_db2bak.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1098,7 +1103,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_db2bak$(EXEEXT): $(ds_db2bak_OBJECTS) $(ds_db2bak_DEPENDENCIES) @rm -f ds_db2bak$(EXEEXT) - $(ds_db2bak_LINK) $(ds_db2bak_OBJECTS) $(ds_db2bak_LDADD) $(LIBS) + $(ds_db2bak_LINK) $(ds_db2bak_LDFLAGS) $(ds_db2bak_OBJECTS) $(ds_db2bak_LDADD) $(LIBS) admserv/cgi-ds/ds_db2ldif-ds_db2ldif.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1107,7 +1112,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_db2ldif$(EXEEXT): $(ds_db2ldif_OBJECTS) $(ds_db2ldif_DEPENDENCIES) @rm -f ds_db2ldif$(EXEEXT) - $(ds_db2ldif_LINK) $(ds_db2ldif_OBJECTS) $(ds_db2ldif_LDADD) $(LIBS) + $(ds_db2ldif_LINK) $(ds_db2ldif_LDFLAGS) $(ds_db2ldif_OBJECTS) $(ds_db2ldif_LDADD) $(LIBS) admserv/cgi-ds/ds_ldif2db-ds_ldif2db.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1116,7 +1121,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_ldif2db$(EXEEXT): $(ds_ldif2db_OBJECTS) $(ds_ldif2db_DEPENDENCIES) @rm -f ds_ldif2db$(EXEEXT) - $(ds_ldif2db_LINK) $(ds_ldif2db_OBJECTS) $(ds_ldif2db_LDADD) $(LIBS) + $(ds_ldif2db_LINK) $(ds_ldif2db_LDFLAGS) $(ds_ldif2db_OBJECTS) $(ds_ldif2db_LDADD) $(LIBS) admserv/cgi-ds/ds_listdb-ds_listdb.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1125,7 +1130,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_listdb$(EXEEXT): $(ds_listdb_OBJECTS) $(ds_listdb_DEPENDENCIES) @rm -f ds_listdb$(EXEEXT) - $(ds_listdb_LINK) $(ds_listdb_OBJECTS) $(ds_listdb_LDADD) $(LIBS) + $(ds_listdb_LINK) $(ds_listdb_LDFLAGS) $(ds_listdb_OBJECTS) $(ds_listdb_LDADD) $(LIBS) admserv/cgi-ds/ds_remove-ds_remove.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1134,7 +1139,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_remove$(EXEEXT): $(ds_remove_OBJECTS) $(ds_remove_DEPENDENCIES) @rm -f ds_remove$(EXEEXT) - $(ds_remove_LINK) $(ds_remove_OBJECTS) $(ds_remove_LDADD) $(LIBS) + $(ds_remove_LINK) $(ds_remove_LDFLAGS) $(ds_remove_OBJECTS) $(ds_remove_LDADD) $(LIBS) admserv/cgi-ds/ds_restart-restart.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1143,7 +1148,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_restart$(EXEEXT): $(ds_restart_OBJECTS) $(ds_restart_DEPENDENCIES) @rm -f ds_restart$(EXEEXT) - $(ds_restart_LINK) $(ds_restart_OBJECTS) $(ds_restart_LDADD) $(LIBS) + $(ds_restart_LINK) $(ds_restart_LDFLAGS) $(ds_restart_OBJECTS) $(ds_restart_LDADD) $(LIBS) admserv/cgi-ds/ds_rmdb-ds_rmdb.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1152,7 +1157,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_rmdb$(EXEEXT): $(ds_rmdb_OBJECTS) $(ds_rmdb_DEPENDENCIES) @rm -f ds_rmdb$(EXEEXT) - $(ds_rmdb_LINK) $(ds_rmdb_OBJECTS) $(ds_rmdb_LDADD) $(LIBS) + $(ds_rmdb_LINK) $(ds_rmdb_LDFLAGS) $(ds_rmdb_OBJECTS) $(ds_rmdb_LDADD) $(LIBS) admserv/cgi-ds/ds_shutdown-shutdown.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1161,7 +1166,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_shutdown$(EXEEXT): $(ds_shutdown_OBJECTS) $(ds_shutdown_DEPENDENCIES) @rm -f ds_shutdown$(EXEEXT) - $(ds_shutdown_LINK) $(ds_shutdown_OBJECTS) $(ds_shutdown_LDADD) $(LIBS) + $(ds_shutdown_LINK) $(ds_shutdown_LDFLAGS) $(ds_shutdown_OBJECTS) $(ds_shutdown_LDADD) $(LIBS) admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1170,7 +1175,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_snmpctrl$(EXEEXT): $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_DEPENDENCIES) @rm -f ds_snmpctrl$(EXEEXT) - $(ds_snmpctrl_LINK) $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_LDADD) $(LIBS) + $(ds_snmpctrl_LINK) $(ds_snmpctrl_LDFLAGS) $(ds_snmpctrl_OBJECTS) $(ds_snmpctrl_LDADD) $(LIBS) admserv/cgi-ds/ds_start-start.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1179,7 +1184,7 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_start$(EXEEXT): $(ds_start_OBJECTS) $(ds_start_DEPENDENCIES) @rm -f ds_start$(EXEEXT) - $(ds_start_LINK) $(ds_start_OBJECTS) $(ds_start_LDADD) $(LIBS) + $(ds_start_LINK) $(ds_start_LDFLAGS) $(ds_start_OBJECTS) $(ds_start_LDADD) $(LIBS) admserv/cgi-ds/ds_vlvindex-vlvindex.$(OBJEXT): \ admserv/cgi-ds/$(am__dirstamp) \ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) @@ -1188,93 +1193,93 @@ admserv/cgi-ds/$(DEPDIR)/$(am__dirstamp) ds_vlvindex$(EXEEXT): $(ds_vlvindex_OBJECTS) $(ds_vlvindex_DEPENDENCIES) @rm -f ds_vlvindex$(EXEEXT) - $(ds_vlvindex_LINK) $(ds_vlvindex_OBJECTS) $(ds_vlvindex_LDADD) $(LIBS) + $(ds_vlvindex_LINK) $(ds_vlvindex_LDFLAGS) $(ds_vlvindex_OBJECTS) $(ds_vlvindex_LDADD) $(LIBS) admserv/cgi-src40/dsconfig.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) dsconfig$(EXEEXT): $(dsconfig_OBJECTS) $(dsconfig_DEPENDENCIES) @rm -f dsconfig$(EXEEXT) - $(dsconfig_LINK) $(dsconfig_OBJECTS) $(dsconfig_LDADD) $(LIBS) + $(dsconfig_LINK) $(dsconfig_LDFLAGS) $(dsconfig_OBJECTS) $(dsconfig_LDADD) $(LIBS) admserv/cgi-src40/help.$(OBJEXT): admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) help$(EXEEXT): $(help_OBJECTS) $(help_DEPENDENCIES) @rm -f help$(EXEEXT) - $(LINK) $(help_OBJECTS) $(help_LDADD) $(LIBS) + $(LINK) $(help_LDFLAGS) $(help_OBJECTS) $(help_LDADD) $(LIBS) admserv/cgi-src40/htmladmin.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) htmladmin$(EXEEXT): $(htmladmin_OBJECTS) $(htmladmin_DEPENDENCIES) @rm -f htmladmin$(EXEEXT) - $(htmladmin_LINK) $(htmladmin_OBJECTS) $(htmladmin_LDADD) $(LIBS) + $(htmladmin_LINK) $(htmladmin_LDFLAGS) $(htmladmin_OBJECTS) $(htmladmin_LDADD) $(LIBS) admserv/cgi-src40/monreplication.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) monreplication$(EXEEXT): $(monreplication_OBJECTS) $(monreplication_DEPENDENCIES) @rm -f monreplication$(EXEEXT) - $(monreplication_LINK) $(monreplication_OBJECTS) $(monreplication_LDADD) $(LIBS) + $(monreplication_LINK) $(monreplication_LDFLAGS) $(monreplication_OBJECTS) $(monreplication_LDADD) $(LIBS) admserv/cgi-src40/restartsrv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) restartsrv$(EXEEXT): $(restartsrv_OBJECTS) $(restartsrv_DEPENDENCIES) @rm -f restartsrv$(EXEEXT) - $(restartsrv_LINK) $(restartsrv_OBJECTS) $(restartsrv_LDADD) $(LIBS) + $(restartsrv_LINK) $(restartsrv_LDFLAGS) $(restartsrv_OBJECTS) $(restartsrv_LDADD) $(LIBS) admserv/cgi-src40/sec-activate.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) sec-activate$(EXEEXT): $(sec_activate_OBJECTS) $(sec_activate_DEPENDENCIES) @rm -f sec-activate$(EXEEXT) - $(sec_activate_LINK) $(sec_activate_OBJECTS) $(sec_activate_LDADD) $(LIBS) + $(sec_activate_LINK) $(sec_activate_LDFLAGS) $(sec_activate_OBJECTS) $(sec_activate_LDADD) $(LIBS) admserv/cgi-src40/security.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) security$(EXEEXT): $(security_OBJECTS) $(security_DEPENDENCIES) @rm -f security$(EXEEXT) - $(security_LINK) $(security_OBJECTS) $(security_LDADD) $(LIBS) + $(security_LINK) $(security_LDFLAGS) $(security_OBJECTS) $(security_LDADD) $(LIBS) admserv/cgi-src40/start_config_ds.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) start_config_ds$(EXEEXT): $(start_config_ds_OBJECTS) $(start_config_ds_DEPENDENCIES) @rm -f start_config_ds$(EXEEXT) - $(start_config_ds_LINK) $(start_config_ds_OBJECTS) $(start_config_ds_LDADD) $(LIBS) + $(start_config_ds_LINK) $(start_config_ds_LDFLAGS) $(start_config_ds_OBJECTS) $(start_config_ds_LDADD) $(LIBS) admserv/cgi-src40/statpingserv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) statpingserv$(EXEEXT): $(statpingserv_OBJECTS) $(statpingserv_DEPENDENCIES) @rm -f statpingserv$(EXEEXT) - $(statpingserv_LINK) $(statpingserv_OBJECTS) $(statpingserv_LDADD) $(LIBS) + $(statpingserv_LINK) $(statpingserv_LDFLAGS) $(statpingserv_OBJECTS) $(statpingserv_LDADD) $(LIBS) admserv/cgi-src40/statusping.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) statusping$(EXEEXT): $(statusping_OBJECTS) $(statusping_DEPENDENCIES) @rm -f statusping$(EXEEXT) - $(statusping_LINK) $(statusping_OBJECTS) $(statusping_LDADD) $(LIBS) + $(statusping_LINK) $(statusping_LDFLAGS) $(statusping_OBJECTS) $(statusping_LDADD) $(LIBS) admserv/cgi-src40/stopsrv.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) stopsrv$(EXEEXT): $(stopsrv_OBJECTS) $(stopsrv_DEPENDENCIES) @rm -f stopsrv$(EXEEXT) - $(stopsrv_LINK) $(stopsrv_OBJECTS) $(stopsrv_LDADD) $(LIBS) + $(stopsrv_LINK) $(stopsrv_LDFLAGS) $(stopsrv_OBJECTS) $(stopsrv_LDADD) $(LIBS) admserv/cgi-src40/ugdsconfig.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) ugdsconfig$(EXEEXT): $(ugdsconfig_OBJECTS) $(ugdsconfig_DEPENDENCIES) @rm -f ugdsconfig$(EXEEXT) - $(ugdsconfig_LINK) $(ugdsconfig_OBJECTS) $(ugdsconfig_LDADD) $(LIBS) + $(ugdsconfig_LINK) $(ugdsconfig_LDFLAGS) $(ugdsconfig_OBJECTS) $(ugdsconfig_LDADD) $(LIBS) admserv/cgi-src40/viewdata.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) viewdata$(EXEEXT): $(viewdata_OBJECTS) $(viewdata_DEPENDENCIES) @rm -f viewdata$(EXEEXT) - $(viewdata_LINK) $(viewdata_OBJECTS) $(viewdata_LDADD) $(LIBS) + $(viewdata_LINK) $(viewdata_LDFLAGS) $(viewdata_OBJECTS) $(viewdata_LDADD) $(LIBS) admserv/cgi-src40/viewlog.$(OBJEXT): \ admserv/cgi-src40/$(am__dirstamp) \ admserv/cgi-src40/$(DEPDIR)/$(am__dirstamp) viewlog$(EXEEXT): $(viewlog_OBJECTS) $(viewlog_DEPENDENCIES) @rm -f viewlog$(EXEEXT) - $(viewlog_LINK) $(viewlog_OBJECTS) $(viewlog_LDADD) $(LIBS) + $(viewlog_LINK) $(viewlog_LDFLAGS) $(viewlog_OBJECTS) $(viewlog_LDADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1293,7 +1298,7 @@ done install-cgibinSCRIPTS: $(cgibin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(cgibindir)" || $(MKDIR_P) "$(DESTDIR)$(cgibindir)" + test -z "$(cgibindir)" || $(mkdir_p) "$(DESTDIR)$(cgibindir)" @list='$(cgibin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1312,7 +1317,7 @@ done install-cmdbinSCRIPTS: $(cmdbin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(cmdbindir)" || $(MKDIR_P) "$(DESTDIR)$(cmdbindir)" + test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" @list='$(cmdbin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1331,7 +1336,7 @@ done install-initSCRIPTS: $(init_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(initdir)" || $(MKDIR_P) "$(DESTDIR)$(initdir)" + test -z "$(initdir)" || $(mkdir_p) "$(DESTDIR)$(initdir)" @list='$(init_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1350,7 +1355,7 @@ done install-nodist_cmdbinSCRIPTS: $(nodist_cmdbin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(cmdbindir)" || $(MKDIR_P) "$(DESTDIR)$(cmdbindir)" + test -z "$(cmdbindir)" || $(mkdir_p) "$(DESTDIR)$(cmdbindir)" @list='$(nodist_cmdbin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1369,7 +1374,7 @@ done install-perlSCRIPTS: $(perl_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(perldir)" || $(MKDIR_P) "$(DESTDIR)$(perldir)" + test -z "$(perldir)" || $(mkdir_p) "$(DESTDIR)$(perldir)" @list='$(perl_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -1564,581 +1569,581 @@ @AMDEP_TRUE@@am__include@ @am__quote at lib/libsi18n/$(DEPDIR)/txtfile.Plo at am__quote@ .c.o: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ - at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ + at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ - at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ - at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ + at am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ - at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo + at am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ + at am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCC_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< lib/libdsa/libdsa_a-dsalib_conf.o: lib/libdsa/dsalib_conf.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_conf.c' object='lib/libdsa/libdsa_a-dsalib_conf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_conf.o `test -f 'lib/libdsa/dsalib_conf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_conf.c lib/libdsa/libdsa_a-dsalib_conf.obj: lib/libdsa/dsalib_conf.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_conf.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_conf.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_conf.c' object='lib/libdsa/libdsa_a-dsalib_conf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_conf.obj `if test -f 'lib/libdsa/dsalib_conf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_conf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_conf.c'; fi` lib/libdsa/libdsa_a-dsalib_debug.o: lib/libdsa/dsalib_debug.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_debug.c' object='lib/libdsa/libdsa_a-dsalib_debug.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_debug.o `test -f 'lib/libdsa/dsalib_debug.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_debug.c lib/libdsa/libdsa_a-dsalib_debug.obj: lib/libdsa/dsalib_debug.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_debug.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_debug.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_debug.c' object='lib/libdsa/libdsa_a-dsalib_debug.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_debug.obj `if test -f 'lib/libdsa/dsalib_debug.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_debug.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_debug.c'; fi` lib/libdsa/libdsa_a-dsalib_ldif.o: lib/libdsa/dsalib_ldif.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_ldif.c' object='lib/libdsa/libdsa_a-dsalib_ldif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_ldif.o `test -f 'lib/libdsa/dsalib_ldif.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_ldif.c lib/libdsa/libdsa_a-dsalib_ldif.obj: lib/libdsa/dsalib_ldif.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_ldif.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_ldif.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_ldif.c' object='lib/libdsa/libdsa_a-dsalib_ldif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_ldif.obj `if test -f 'lib/libdsa/dsalib_ldif.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_ldif.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_ldif.c'; fi` lib/libdsa/libdsa_a-dsalib_tailf.o: lib/libdsa/dsalib_tailf.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_tailf.c' object='lib/libdsa/libdsa_a-dsalib_tailf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_tailf.o `test -f 'lib/libdsa/dsalib_tailf.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_tailf.c lib/libdsa/libdsa_a-dsalib_tailf.obj: lib/libdsa/dsalib_tailf.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_tailf.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_tailf.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_tailf.c' object='lib/libdsa/libdsa_a-dsalib_tailf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_tailf.obj `if test -f 'lib/libdsa/dsalib_tailf.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_tailf.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_tailf.c'; fi` lib/libdsa/libdsa_a-dsalib_confs.o: lib/libdsa/dsalib_confs.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_confs.c' object='lib/libdsa/libdsa_a-dsalib_confs.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_confs.o `test -f 'lib/libdsa/dsalib_confs.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_confs.c lib/libdsa/libdsa_a-dsalib_confs.obj: lib/libdsa/dsalib_confs.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_confs.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_confs.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_confs.c' object='lib/libdsa/libdsa_a-dsalib_confs.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_confs.obj `if test -f 'lib/libdsa/dsalib_confs.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_confs.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_confs.c'; fi` lib/libdsa/libdsa_a-dsalib_dn.o: lib/libdsa/dsalib_dn.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_dn.c' object='lib/libdsa/libdsa_a-dsalib_dn.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_dn.o `test -f 'lib/libdsa/dsalib_dn.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_dn.c lib/libdsa/libdsa_a-dsalib_dn.obj: lib/libdsa/dsalib_dn.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_dn.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_dn.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_dn.c' object='lib/libdsa/libdsa_a-dsalib_dn.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_dn.obj `if test -f 'lib/libdsa/dsalib_dn.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_dn.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_dn.c'; fi` lib/libdsa/libdsa_a-dsalib_location.o: lib/libdsa/dsalib_location.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_location.c' object='lib/libdsa/libdsa_a-dsalib_location.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_location.o `test -f 'lib/libdsa/dsalib_location.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_location.c lib/libdsa/libdsa_a-dsalib_location.obj: lib/libdsa/dsalib_location.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_location.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_location.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_location.c' object='lib/libdsa/libdsa_a-dsalib_location.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_location.obj `if test -f 'lib/libdsa/dsalib_location.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_location.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_location.c'; fi` lib/libdsa/libdsa_a-dsalib_updown.o: lib/libdsa/dsalib_updown.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_updown.c' object='lib/libdsa/libdsa_a-dsalib_updown.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_updown.o `test -f 'lib/libdsa/dsalib_updown.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_updown.c lib/libdsa/libdsa_a-dsalib_updown.obj: lib/libdsa/dsalib_updown.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_updown.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_updown.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_updown.c' object='lib/libdsa/libdsa_a-dsalib_updown.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_updown.obj `if test -f 'lib/libdsa/dsalib_updown.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_updown.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_updown.c'; fi` lib/libdsa/libdsa_a-dsalib_db.o: lib/libdsa/dsalib_db.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_db.c' object='lib/libdsa/libdsa_a-dsalib_db.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_db.o `test -f 'lib/libdsa/dsalib_db.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_db.c lib/libdsa/libdsa_a-dsalib_db.obj: lib/libdsa/dsalib_db.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_db.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_db.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_db.c' object='lib/libdsa/libdsa_a-dsalib_db.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_db.obj `if test -f 'lib/libdsa/dsalib_db.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_db.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_db.c'; fi` lib/libdsa/libdsa_a-dsalib_filename.o: lib/libdsa/dsalib_filename.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_filename.c' object='lib/libdsa/libdsa_a-dsalib_filename.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_filename.o `test -f 'lib/libdsa/dsalib_filename.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_filename.c lib/libdsa/libdsa_a-dsalib_filename.obj: lib/libdsa/dsalib_filename.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_filename.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_filename.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_filename.c' object='lib/libdsa/libdsa_a-dsalib_filename.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_filename.obj `if test -f 'lib/libdsa/dsalib_filename.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_filename.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_filename.c'; fi` lib/libdsa/libdsa_a-dsalib_pw.o: lib/libdsa/dsalib_pw.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_pw.c' object='lib/libdsa/libdsa_a-dsalib_pw.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_pw.o `test -f 'lib/libdsa/dsalib_pw.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_pw.c lib/libdsa/libdsa_a-dsalib_pw.obj: lib/libdsa/dsalib_pw.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_pw.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_pw.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_pw.c' object='lib/libdsa/libdsa_a-dsalib_pw.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_pw.obj `if test -f 'lib/libdsa/dsalib_pw.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_pw.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_pw.c'; fi` lib/libdsa/libdsa_a-dsalib_util.o: lib/libdsa/dsalib_util.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.o -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.o -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_util.c' object='lib/libdsa/libdsa_a-dsalib_util.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_util.o `test -f 'lib/libdsa/dsalib_util.c' || echo '$(srcdir)/'`lib/libdsa/dsalib_util.c lib/libdsa/libdsa_a-dsalib_util.obj: lib/libdsa/dsalib_util.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.obj -MD -MP -MF lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi` - at am__fastdepCC_TRUE@ mv -f lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/libdsa/libdsa_a-dsalib_util.obj -MD -MP -MF "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo" "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Po"; else rm -f "lib/libdsa/$(DEPDIR)/libdsa_a-dsalib_util.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libdsa/dsalib_util.c' object='lib/libdsa/libdsa_a-dsalib_util.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdsa_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/libdsa/libdsa_a-dsalib_util.obj `if test -f 'lib/libdsa/dsalib_util.c'; then $(CYGPATH_W) 'lib/libdsa/dsalib_util.c'; else $(CYGPATH_W) '$(srcdir)/lib/libdsa/dsalib_util.c'; fi` admserv/cgi-ds/ds_addindex-addindex.o: admserv/cgi-ds/addindex.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/addindex.c' object='admserv/cgi-ds/ds_addindex-addindex.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-addindex.o `test -f 'admserv/cgi-ds/addindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/addindex.c admserv/cgi-ds/ds_addindex-addindex.obj: admserv/cgi-ds/addindex.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-addindex.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-addindex.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/addindex.c' object='admserv/cgi-ds/ds_addindex-addindex.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-addindex.obj `if test -f 'admserv/cgi-ds/addindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/addindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/addindex.c'; fi` admserv/cgi-ds/ds_addindex-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_addindex-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_addindex-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_addindex-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_addindex-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_addindex-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_addindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_addindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_bak2db-ds_bak2db.o: admserv/cgi-ds/ds_bak2db.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_bak2db.c' object='admserv/cgi-ds/ds_bak2db-ds_bak2db.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.o `test -f 'admserv/cgi-ds/ds_bak2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_bak2db.c admserv/cgi-ds/ds_bak2db-ds_bak2db.obj: admserv/cgi-ds/ds_bak2db.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-ds_bak2db.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-ds_bak2db.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_bak2db.c' object='admserv/cgi-ds/ds_bak2db-ds_bak2db.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-ds_bak2db.obj `if test -f 'admserv/cgi-ds/ds_bak2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_bak2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_bak2db.c'; fi` admserv/cgi-ds/ds_bak2db-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_bak2db-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_bak2db-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_bak2db-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_bak2db-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_bak2db-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_bak2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_bak2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_db2bak-ds_db2bak.o: admserv/cgi-ds/ds_db2bak.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2bak.c' object='admserv/cgi-ds/ds_db2bak-ds_db2bak.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.o `test -f 'admserv/cgi-ds/ds_db2bak.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2bak.c admserv/cgi-ds/ds_db2bak-ds_db2bak.obj: admserv/cgi-ds/ds_db2bak.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-ds_db2bak.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-ds_db2bak.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2bak.c' object='admserv/cgi-ds/ds_db2bak-ds_db2bak.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-ds_db2bak.obj `if test -f 'admserv/cgi-ds/ds_db2bak.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2bak.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2bak.c'; fi` admserv/cgi-ds/ds_db2bak-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2bak-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_db2bak-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2bak-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2bak-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2bak-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2bak_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2bak-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o: admserv/cgi-ds/ds_db2ldif.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2ldif.c' object='admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.o `test -f 'admserv/cgi-ds/ds_db2ldif.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_db2ldif.c admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj: admserv/cgi-ds/ds_db2ldif.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-ds_db2ldif.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_db2ldif.c' object='admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-ds_db2ldif.obj `if test -f 'admserv/cgi-ds/ds_db2ldif.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_db2ldif.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_db2ldif.c'; fi` admserv/cgi-ds/ds_db2ldif-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2ldif-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_db2ldif-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_db2ldif-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_db2ldif-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_db2ldif-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_db2ldif_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_db2ldif-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o: admserv/cgi-ds/ds_ldif2db.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_ldif2db.c' object='admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.o `test -f 'admserv/cgi-ds/ds_ldif2db.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_ldif2db.c admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj: admserv/cgi-ds/ds_ldif2db.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-ds_ldif2db.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_ldif2db.c' object='admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-ds_ldif2db.obj `if test -f 'admserv/cgi-ds/ds_ldif2db.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_ldif2db.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_ldif2db.c'; fi` admserv/cgi-ds/ds_ldif2db-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_ldif2db-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_ldif2db-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_ldif2db-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_ldif2db-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_ldif2db-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_ldif2db_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_ldif2db-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_listdb-ds_listdb.o: admserv/cgi-ds/ds_listdb.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_listdb.c' object='admserv/cgi-ds/ds_listdb-ds_listdb.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-ds_listdb.o `test -f 'admserv/cgi-ds/ds_listdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_listdb.c admserv/cgi-ds/ds_listdb-ds_listdb.obj: admserv/cgi-ds/ds_listdb.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-ds_listdb.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-ds_listdb.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_listdb.c' object='admserv/cgi-ds/ds_listdb-ds_listdb.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-ds_listdb.obj `if test -f 'admserv/cgi-ds/ds_listdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_listdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_listdb.c'; fi` admserv/cgi-ds/ds_listdb-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_listdb-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_listdb-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_listdb-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_listdb-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_listdb-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_listdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_listdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_remove-ds_remove.o: admserv/cgi-ds/ds_remove.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_remove.c' object='admserv/cgi-ds/ds_remove-ds_remove.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-ds_remove.o `test -f 'admserv/cgi-ds/ds_remove.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_remove.c admserv/cgi-ds/ds_remove-ds_remove.obj: admserv/cgi-ds/ds_remove.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-ds_remove.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-ds_remove.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_remove.c' object='admserv/cgi-ds/ds_remove-ds_remove.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-ds_remove.obj `if test -f 'admserv/cgi-ds/ds_remove.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_remove.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_remove.c'; fi` admserv/cgi-ds/ds_remove-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_remove-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_remove-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_remove-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_remove-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_remove-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_remove_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_remove-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_restart-restart.o: admserv/cgi-ds/restart.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/restart.c' object='admserv/cgi-ds/ds_restart-restart.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-restart.o `test -f 'admserv/cgi-ds/restart.c' || echo '$(srcdir)/'`admserv/cgi-ds/restart.c admserv/cgi-ds/ds_restart-restart.obj: admserv/cgi-ds/restart.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-restart.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-restart.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/restart.c' object='admserv/cgi-ds/ds_restart-restart.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-restart.obj `if test -f 'admserv/cgi-ds/restart.c'; then $(CYGPATH_W) 'admserv/cgi-ds/restart.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/restart.c'; fi` admserv/cgi-ds/ds_restart-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_restart-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_restart-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_restart-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_restart-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_restart-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_restart_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_restart-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_rmdb-ds_rmdb.o: admserv/cgi-ds/ds_rmdb.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_rmdb.c' object='admserv/cgi-ds/ds_rmdb-ds_rmdb.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.o `test -f 'admserv/cgi-ds/ds_rmdb.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_rmdb.c admserv/cgi-ds/ds_rmdb-ds_rmdb.obj: admserv/cgi-ds/ds_rmdb.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-ds_rmdb.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-ds_rmdb.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_rmdb.c' object='admserv/cgi-ds/ds_rmdb-ds_rmdb.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-ds_rmdb.obj `if test -f 'admserv/cgi-ds/ds_rmdb.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_rmdb.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_rmdb.c'; fi` admserv/cgi-ds/ds_rmdb-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_rmdb-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_rmdb-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_rmdb-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_rmdb-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_rmdb-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_rmdb_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_rmdb-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_shutdown-shutdown.o: admserv/cgi-ds/shutdown.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/shutdown.c' object='admserv/cgi-ds/ds_shutdown-shutdown.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-shutdown.o `test -f 'admserv/cgi-ds/shutdown.c' || echo '$(srcdir)/'`admserv/cgi-ds/shutdown.c admserv/cgi-ds/ds_shutdown-shutdown.obj: admserv/cgi-ds/shutdown.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-shutdown.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-shutdown.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/shutdown.c' object='admserv/cgi-ds/ds_shutdown-shutdown.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-shutdown.obj `if test -f 'admserv/cgi-ds/shutdown.c'; then $(CYGPATH_W) 'admserv/cgi-ds/shutdown.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/shutdown.c'; fi` admserv/cgi-ds/ds_shutdown-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_shutdown-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_shutdown-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_shutdown-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_shutdown-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_shutdown-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_shutdown_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_shutdown-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o: admserv/cgi-ds/ds_snmpctrl.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_snmpctrl.c' object='admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.o `test -f 'admserv/cgi-ds/ds_snmpctrl.c' || echo '$(srcdir)/'`admserv/cgi-ds/ds_snmpctrl.c admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj: admserv/cgi-ds/ds_snmpctrl.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-ds_snmpctrl.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/ds_snmpctrl.c' object='admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-ds_snmpctrl.obj `if test -f 'admserv/cgi-ds/ds_snmpctrl.c'; then $(CYGPATH_W) 'admserv/cgi-ds/ds_snmpctrl.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/ds_snmpctrl.c'; fi` admserv/cgi-ds/ds_snmpctrl-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_snmpctrl-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_snmpctrl-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_snmpctrl_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_snmpctrl-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_start-start.o: admserv/cgi-ds/start.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/start.c' object='admserv/cgi-ds/ds_start-start.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-start.o `test -f 'admserv/cgi-ds/start.c' || echo '$(srcdir)/'`admserv/cgi-ds/start.c admserv/cgi-ds/ds_start-start.obj: admserv/cgi-ds/start.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-start.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-start.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/start.c' object='admserv/cgi-ds/ds_start-start.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-start.obj `if test -f 'admserv/cgi-ds/start.c'; then $(CYGPATH_W) 'admserv/cgi-ds/start.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/start.c'; fi` admserv/cgi-ds/ds_start-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_start-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_start-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_start-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_start-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_start-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_start_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_start-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` admserv/cgi-ds/ds_vlvindex-vlvindex.o: admserv/cgi-ds/vlvindex.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/vlvindex.c' object='admserv/cgi-ds/ds_vlvindex-vlvindex.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.o `test -f 'admserv/cgi-ds/vlvindex.c' || echo '$(srcdir)/'`admserv/cgi-ds/vlvindex.c admserv/cgi-ds/ds_vlvindex-vlvindex.obj: admserv/cgi-ds/vlvindex.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-vlvindex.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-vlvindex.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/vlvindex.c' object='admserv/cgi-ds/ds_vlvindex-vlvindex.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-vlvindex.obj `if test -f 'admserv/cgi-ds/vlvindex.c'; then $(CYGPATH_W) 'admserv/cgi-ds/vlvindex.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/vlvindex.c'; fi` admserv/cgi-ds/ds_vlvindex-init_ds_env.o: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.o -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.o -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_vlvindex-init_ds_env.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.o `test -f 'admserv/cgi-ds/init_ds_env.c' || echo '$(srcdir)/'`admserv/cgi-ds/init_ds_env.c admserv/cgi-ds/ds_vlvindex-init_ds_env.obj: admserv/cgi-ds/init_ds_env.c - at am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.obj -MD -MP -MF admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` - at am__fastdepCC_TRUE@ mv -f admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po + at am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT admserv/cgi-ds/ds_vlvindex-init_ds_env.obj -MD -MP -MF "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi`; \ + at am__fastdepCC_TRUE@ then mv -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo" "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Po"; else rm -f "admserv/cgi-ds/$(DEPDIR)/ds_vlvindex-init_ds_env.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='admserv/cgi-ds/init_ds_env.c' object='admserv/cgi-ds/ds_vlvindex-init_ds_env.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ds_vlvindex_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o admserv/cgi-ds/ds_vlvindex-init_ds_env.obj `if test -f 'admserv/cgi-ds/init_ds_env.c'; then $(CYGPATH_W) 'admserv/cgi-ds/init_ds_env.c'; else $(CYGPATH_W) '$(srcdir)/admserv/cgi-ds/init_ds_env.c'; fi` .cpp.o: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ - at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \ + at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cpp.obj: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ - at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ - at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`; \ + at am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Po"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: - at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ - at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - at am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo + at am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ + at am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$$depbase.Tpo" -c -o $@ $<; \ + at am__fastdepCXX_TRUE@ then mv -f "$$depbase.Tpo" "$$depbase.Plo"; else rm -f "$$depbase.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< @@ -2154,9 +2159,10 @@ distclean-libtool: -rm -f libtool +uninstall-info-am: install-dist_helpDATA: $(dist_help_DATA) @$(NORMAL_INSTALL) - test -z "$(helpdir)" || $(MKDIR_P) "$(DESTDIR)$(helpdir)" + test -z "$(helpdir)" || $(mkdir_p) "$(DESTDIR)$(helpdir)" @list='$(dist_help_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2173,7 +2179,7 @@ done install-dist_htmlDATA: $(dist_html_DATA) @$(NORMAL_INSTALL) - test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" + test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" @list='$(dist_html_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2190,7 +2196,7 @@ done install-dist_iconDATA: $(dist_icon_DATA) @$(NORMAL_INSTALL) - test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + test -z "$(icondir)" || $(mkdir_p) "$(DESTDIR)$(icondir)" @list='$(dist_icon_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2207,7 +2213,7 @@ done install-infDATA: $(inf_DATA) @$(NORMAL_INSTALL) - test -z "$(infdir)" || $(MKDIR_P) "$(DESTDIR)$(infdir)" + test -z "$(infdir)" || $(mkdir_p) "$(DESTDIR)$(infdir)" @list='$(inf_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2224,7 +2230,7 @@ done install-ldifDATA: $(ldif_DATA) @$(NORMAL_INSTALL) - test -z "$(ldifdir)" || $(MKDIR_P) "$(DESTDIR)$(ldifdir)" + test -z "$(ldifdir)" || $(mkdir_p) "$(DESTDIR)$(ldifdir)" @list='$(ldif_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2241,7 +2247,7 @@ done install-nodist_configDATA: $(nodist_config_DATA) @$(NORMAL_INSTALL) - test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)" + test -z "$(configdir)" || $(mkdir_p) "$(DESTDIR)$(configdir)" @list='$(nodist_config_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2258,7 +2264,7 @@ done install-nodist_propertyDATA: $(nodist_property_DATA) @$(NORMAL_INSTALL) - test -z "$(propertydir)" || $(MKDIR_P) "$(DESTDIR)$(propertydir)" + test -z "$(propertydir)" || $(mkdir_p) "$(DESTDIR)$(propertydir)" @list='$(nodist_property_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2275,7 +2281,7 @@ done install-propertyDATA: $(property_DATA) @$(NORMAL_INSTALL) - test -z "$(propertydir)" || $(MKDIR_P) "$(DESTDIR)$(propertydir)" + test -z "$(propertydir)" || $(mkdir_p) "$(DESTDIR)$(propertydir)" @list='$(property_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -2322,7 +2328,8 @@ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ @@ -2424,22 +2431,24 @@ distdir: $(DISTFILES) $(am__remove_distdir) - test -d $(distdir) || mkdir $(distdir) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ + mkdir $(distdir) + $(mkdir_p) $(distdir)/$(HTMLDIR) $(distdir)/$(ICONDIR) $(distdir)/admserv/cgi-src40 $(distdir)/m4 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -2453,7 +2462,7 @@ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ @@ -2461,8 +2470,6 @@ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ @@ -2470,7 +2477,7 @@ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz @@ -2545,7 +2552,7 @@ $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ @@ -2571,7 +2578,7 @@ installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cgibindir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(cmdbindir)" "$(DESTDIR)$(perldir)" "$(DESTDIR)$(helpdir)" "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(infdir)" "$(DESTDIR)$(ldifdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(propertydir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive @@ -2642,20 +2649,12 @@ @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook -install-dvi: install-dvi-recursive - install-exec-am: install-binSCRIPTS install-libLTLIBRARIES -install-html: install-html-recursive - install-info: install-info-recursive install-man: -install-pdf: install-pdf-recursive - -install-ps: install-ps-recursive - installcheck-am: maintainer-clean: maintainer-clean-recursive @@ -2681,43 +2680,41 @@ uninstall-am: uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ uninstall-cgibinSCRIPTS uninstall-cmdbinSCRIPTS \ uninstall-dist_helpDATA uninstall-dist_htmlDATA \ - uninstall-dist_iconDATA uninstall-infDATA \ + uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ uninstall-initSCRIPTS uninstall-ldifDATA \ uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ uninstall-perlSCRIPTS uninstall-propertyDATA -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-data-am install-strip +uninstall-info: uninstall-info-recursive -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean \ - clean-cgibinPROGRAMS clean-generic clean-libLTLIBRARIES \ - clean-libtool clean-noinstLIBRARIES ctags ctags-recursive dist \ - dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \ - distcheck distclean distclean-compile distclean-generic \ - distclean-hdr distclean-libtool distclean-tags distcleancheck \ - distdir distuninstallcheck dvi dvi-am html html-am info \ - info-am install install-am install-binSCRIPTS \ +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ + check-am clean clean-cgibinPROGRAMS clean-generic \ + clean-libLTLIBRARIES clean-libtool clean-noinstLIBRARIES \ + clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \ + dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \ + distclean-compile distclean-generic distclean-hdr \ + distclean-libtool distclean-recursive distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-binSCRIPTS \ install-cgibinPROGRAMS install-cgibinSCRIPTS \ install-cmdbinSCRIPTS install-data install-data-am \ install-data-hook install-dist_helpDATA install-dist_htmlDATA \ - install-dist_iconDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-infDATA \ - install-info install-info-am install-initSCRIPTS \ - install-ldifDATA install-libLTLIBRARIES install-man \ - install-nodist_cmdbinSCRIPTS install-nodist_configDATA \ - install-nodist_propertyDATA install-pdf install-pdf-am \ - install-perlSCRIPTS install-propertyDATA install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am \ + install-dist_iconDATA install-exec install-exec-am \ + install-infDATA install-info install-info-am \ + install-initSCRIPTS install-ldifDATA install-libLTLIBRARIES \ + install-man install-nodist_cmdbinSCRIPTS \ + install-nodist_configDATA install-nodist_propertyDATA \ + install-perlSCRIPTS install-propertyDATA install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ + pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-binSCRIPTS uninstall-cgibinPROGRAMS \ uninstall-cgibinSCRIPTS uninstall-cmdbinSCRIPTS \ uninstall-dist_helpDATA uninstall-dist_htmlDATA \ - uninstall-dist_iconDATA uninstall-infDATA \ + uninstall-dist_iconDATA uninstall-infDATA uninstall-info-am \ uninstall-initSCRIPTS uninstall-ldifDATA \ uninstall-libLTLIBRARIES uninstall-nodist_cmdbinSCRIPTS \ uninstall-nodist_configDATA uninstall-nodist_propertyDATA \ Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- aclocal.m4 22 Jun 2007 02:31:59 -0000 1.13 +++ aclocal.m4 25 Jun 2007 23:23:10 -0000 1.14 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.10 -*- Autoconf -*- +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006 Free Software Foundation, Inc. +# 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,11 +11,6 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -m4_if(m4_PACKAGE_VERSION, [2.60],, -[m4_fatal([this file was generated for autoconf 2.60. -You have another version of autoconf. If you want to use that, -you should regenerate the build system entirely.], [63])]) - # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 AC_PROG_LIBTOOL @@ -1583,10 +1578,27 @@ # before this can be enabled. hardcode_into_libs=yes + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4293,6 +4305,9 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) +gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` +gcc_ver=\`gcc -dumpversion\` + # An ERE matcher. EGREP=$lt_EGREP @@ -4426,11 +4441,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) +predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) +postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Dependencies to place before the objects being linked to create a # shared library. @@ -4442,7 +4457,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4522,7 +4537,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6358,6 +6373,7 @@ done done done +IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6390,10 +6406,11 @@ done ]) SED=$lt_cv_path_SED +AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) -# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6403,29 +6420,14 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.10' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.10], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.10])dnl -_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) + [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- @@ -6482,14 +6484,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -6498,10 +6500,8 @@ [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' @@ -6515,14 +6515,15 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 9 +# serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -6550,7 +6551,6 @@ ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) @@ -6616,7 +6616,6 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -6669,8 +6668,7 @@ AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- @@ -6695,9 +6693,8 @@ # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue @@ -6744,8 +6741,8 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -6768,20 +6765,16 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.60])dnl +[AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath @@ -6801,9 +6794,6 @@ AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl @@ -6839,10 +6829,6 @@ [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) @@ -6878,7 +6864,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} +install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -6983,14 +6969,13 @@ rm -f confinc confmf ]) -# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 -# Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# serial 3 # AM_PROG_CC_C_O # -------------- @@ -6998,7 +6983,6 @@ AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([compile])dnl # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC @@ -7011,22 +6995,18 @@ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi -dnl Make sure AC_PROG_CC is never called again, or it will override our -dnl setting of CC. -m4_define([AC_PROG_CC], - [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -7042,7 +7022,6 @@ # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then @@ -7053,7 +7032,7 @@ fi ]) -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -7061,23 +7040,60 @@ # AM_PROG_MKDIR_P # --------------- -# Check for `mkdir -p'. +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. +# +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- @@ -7189,21 +7205,9 @@ if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN([_AM_SUBST_NOTMAKE]) - # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. Index: config.guess =================================================================== RCS file: /cvs/dirsec/adminserver/config.guess,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- config.guess 22 Jun 2007 02:32:00 -0000 1.8 +++ config.guess 25 Jun 2007 23:23:10 -0000 1.9 @@ -1,10 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-07-02' +timestamp='2005-07-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -107,7 +106,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -207,11 +206,8 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} + echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -768,14 +764,7 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -790,11 +779,8 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[3456]*) - echo x86_64-unknown-interix${UNAME_RELEASE} + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -808,7 +794,7 @@ i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + amd64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) @@ -831,9 +817,6 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -868,11 +851,7 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -891,16 +870,9 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; @@ -944,9 +916,6 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; @@ -992,7 +961,7 @@ LIBC=gnulibc1 # endif #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) + #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout @@ -1002,11 +971,7 @@ LIBC=dietlibc #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1217,6 +1182,7 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in + *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1295,9 +1261,6 @@ i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 Index: config.h.in =================================================================== RCS file: /cvs/dirsec/adminserver/config.h.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- config.h.in 22 Jun 2007 02:32:00 -0000 1.4 +++ config.h.in 25 Jun 2007 23:23:10 -0000 1.5 @@ -342,7 +342,7 @@ /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc -/* Define to `unsigned int' if does not define. */ +/* Define to `unsigned' if does not define. */ #undef size_t /* SunOS5 */ Index: config.sub =================================================================== RCS file: /cvs/dirsec/adminserver/config.sub,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- config.sub 22 Jun 2007 02:32:00 -0000 1.8 +++ config.sub 25 Jun 2007 23:23:10 -0000 1.9 @@ -1,10 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-09-20' +timestamp='2005-07-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -120,9 +119,8 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ - storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -173,10 +171,6 @@ -hiux*) os=-hiuxwe2 ;; - -sco6) - os=-sco5v6 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -193,10 +187,6 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -241,7 +231,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -249,8 +239,7 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -268,27 +257,28 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ - | mt \ + | ms1 \ | msp430 \ - | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | score \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b \ + | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; + m32c) + basic_machine=$basic_machine-unknown + ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -296,9 +286,6 @@ ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; - ms1) - basic_machine=mt-unknown - ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -318,7 +305,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ + | avr-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -329,7 +316,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32c-* | m32r-* | m32rle-* \ + | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -349,30 +336,31 @@ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ - | mt-* \ + | ms1-* \ | msp430-* \ - | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; + m32c-*) + ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -708,9 +696,6 @@ basic_machine=i386-pc os=-msdos ;; - ms1-*) - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` - ;; mvs) basic_machine=i370-ibm os=-mvs @@ -818,12 +803,6 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -880,10 +859,6 @@ basic_machine=i586-unknown os=-pw32 ;; - rdos) - basic_machine=i386-pc - os=-rdos - ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -910,10 +885,6 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; sei) basic_machine=mips-sei os=-seiux @@ -1130,7 +1101,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) @@ -1203,23 +1174,21 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1371,12 +1340,6 @@ # system, and we'll never get to this point. case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; *-acorn) os=-riscix1.2 ;; @@ -1386,9 +1349,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.15 -r 1.16 configure Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- configure 22 Jun 2007 02:31:59 -0000 1.15 +++ configure 25 Jun 2007 23:23:10 -0000 1.16 @@ -1,11 +1,10 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.60 for fedora-ds-admin 1.1.0. +# Generated by GNU Autoconf 2.59 for fedora-ds-admin 1.1.0. # # Report bugs to . # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -19,35 +18,11 @@ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix fi -BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset @@ -56,43 +31,8 @@ fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - # Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done +$as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' @@ -106,19 +46,18 @@ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + $as_unset $as_var fi done # Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then +if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false @@ -126,386 +65,157 @@ # Name of the executable. -as_me=`$as_basename -- "$0" || +as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi -if as_func_ret_success; then [...17334 lines suppressed...] - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 +echo "$as_me: configuring in $ac_dir" >&6;} + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } + ac_builddir=. -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) +if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi case $srcdir in - .) # We are building in place. + .) # No --srcdir option. We are building in place. ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - cd "$ac_dir" + cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. - if test -f "$ac_srcdir/configure.gnu"; then - ac_sub_configure=$ac_srcdir/configure.gnu - elif test -f "$ac_srcdir/configure"; then - ac_sub_configure=$ac_srcdir/configure - elif test -f "$ac_srcdir/configure.in"; then - # This should be Cygnus configure. - ac_sub_configure=$ac_aux_dir/configure + if test -f $ac_srcdir/configure.gnu; then + ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" + elif test -f $ac_srcdir/configure; then + ac_sub_configure="$SHELL '$ac_srcdir/configure'" + elif test -f $ac_srcdir/configure.in; then + ac_sub_configure=$ac_configure else { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} @@ -28516,21 +26879,21 @@ # Make the cache file name correct relative to the subdirectory. case $cache_file in [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; - *) # Relative name. - ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; + *) # Relative path. + ac_sub_cache_file=$ac_top_builddir$cache_file ;; esac - { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 -echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} # The eval makes quoting arguments work. - eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ - --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || + eval $ac_sub_configure $ac_sub_configure_args \ + --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} { (exit 1); exit 1; }; } fi - cd "$ac_popdir" + cd $ac_popdir done fi Index: depcomp =================================================================== RCS file: /cvs/dirsec/adminserver/depcomp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- depcomp 22 Jun 2007 02:32:00 -0000 1.8 +++ depcomp 25 Jun 2007 23:23:10 -0000 1.9 @@ -1,10 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2006-10-15.18 +scriptversion=2005-07-09.11 -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software -# Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -92,20 +91,7 @@ ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else @@ -290,46 +276,6 @@ rm -f "$tmpdepfile" ;; -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -342,13 +288,13 @@ if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to + # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and + # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is Index: install-sh =================================================================== RCS file: /cvs/dirsec/adminserver/install-sh,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- install-sh 22 Jun 2007 02:32:00 -0000 1.8 +++ install-sh 25 Jun 2007 23:23:10 -0000 1.9 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2006-10-14.15 +scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -39,24 +39,15 @@ # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. - -nl=' -' -IFS=" "" $nl" +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi -# Put in absolute file names if you don't have them in your path; -# or use environment vars. +# put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" @@ -67,13 +58,7 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -posix_glob= -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chmodcmd=$chmodprog +chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= @@ -110,7 +95,7 @@ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " -while test $# -ne 0; do +while test -n "$1"; do case $1 in -c) shift continue;; @@ -126,15 +111,9 @@ --help) echo "$usage"; exit $?;; - -m) mode=$2 + -m) chmodcmd="$chmodprog $2" shift shift - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac continue;; -o) chowncmd="$chownprog $2" @@ -157,33 +136,25 @@ --version) echo "$0 $scriptversion"; exit $?;; - --) shift + *) # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; esac done -if test $# -ne 0 && test -z "$dir_arg$dstarg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done -fi - -if test $# -eq 0; then +if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 @@ -193,33 +164,6 @@ exit 0 fi -if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *[0-7]) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - for src do # Protect names starting with `-'. @@ -229,11 +173,15 @@ if test -n "$dir_arg"; then dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else + src= + if test -d "$dst"; then + mkdircmd=: + chmodcmd= + else + mkdircmd=$mkdirprog + fi + else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. @@ -260,188 +208,53 @@ echo "$0: $dstarg: Is a directory" >&2 exit 1 fi - dstdir=$dst - dst=$dstdir/`basename "$src"` - dstdir_status=0 - else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$dst" : 'X\(//\)[^/]' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - - test -d "$dstdir" - dstdir_status=$? + dst=$dst/`basename "$src"` fi fi - obsolete_mkdir_used=false + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writeable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; - esac + # Make sure that the destination directory exists. - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + shift + IFS=$oIFS - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix=/ ;; - -*) prefix=./ ;; - *) prefix= ;; - esac - - case $posix_glob in - '') - if (set -f) 2>/dev/null; then - posix_glob=true - else - posix_glob=false - fi ;; - esac - - oIFS=$IFS - IFS=/ - $posix_glob && set -f - set fnord $dstdir - shift - $posix_glob && set +f - IFS=$oIFS + pathcomp= - prefixes= - - for d - do - test -z "$d" && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test -d "$pathcomp" || exit fi - fi + pathcomp=$pathcomp/ + done fi if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + $doit $mkdircmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + else + dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ @@ -449,9 +262,10 @@ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # @@ -462,10 +276,10 @@ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not @@ -477,12 +291,11 @@ # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { - if test -f "$dst"; then - $doit $rmcmd -f "$dst" 2>/dev/null \ - || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ - && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { - echo "$0: cannot unlink or rename $dst" >&2 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else @@ -491,14 +304,17 @@ } && # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } - } || exit 1 - - trap '' 0 - fi + } + fi || { (exit 1); exit 1; } done +# The final little trick to "correctly" pass the exit status to the exit trap. +{ + (exit 0); exit 0 +} + # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" Index: ltmain.sh =================================================================== RCS file: /cvs/dirsec/adminserver/ltmain.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ltmain.sh 13 Jun 2007 17:48:34 -0000 1.3 +++ ltmain.sh 25 Jun 2007 23:23:10 -0000 1.4 @@ -46,10 +46,16 @@ VERSION=1.5.22 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" -# See if we are running on zsh, and set the options which allow our -# commands through without removal of \ escapes. -if test -n "${ZSH_VERSION+set}" ; then +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi # Check that we have a working $echo. @@ -105,12 +111,14 @@ # These must not be set unconditionally because not all systems understand # e.g. LANG=C (notably SCO). # We save the old values to restore during execute mode. -if test "${LC_ALL+set}" = set; then - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL -fi -if test "${LANG+set}" = set; then - save_LANG="$LANG"; LANG=C; export LANG -fi +for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + $lt_var=C + export $lt_var + fi" +done # Make sure IFS has a sensible default lt_nl=' @@ -136,6 +144,8 @@ preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" +extracted_archives= +extracted_serial=0 ##################################### # Shell function definitions: @@ -327,7 +337,17 @@ *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` - my_xdir="$my_gentop/$my_xlib" + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + extracted_serial=`expr $extracted_serial + 1` + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" @@ -758,6 +778,7 @@ *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; + *.obj) xform=obj ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` @@ -1138,8 +1159,9 @@ for arg do case $arg in - -all-static | -static) - if test "X$arg" = "X-all-static"; then + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 fi @@ -1147,12 +1169,20 @@ dlopen_self=$dlopen_self_static fi prefer_static_libs=yes - else + ;; + -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built - fi + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac build_libtool_libs=no build_old_libs=yes break @@ -1712,7 +1742,7 @@ continue ;; - -static) + -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects @@ -2490,7 +2520,9 @@ if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. @@ -3186,7 +3218,7 @@ # which has an extra 1 added just for fun # case $version_type in - darwin|linux|osf|windows) + darwin|linux|osf|windows|none) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" @@ -3410,11 +3442,11 @@ fi # Eliminate all temporary directories. - for path in $notinst_path; do - lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` - deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` - dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` - done +# for path in $notinst_path; do +# lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` +# deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` +# dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` +# done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. @@ -3515,13 +3547,12 @@ int main() { return 0; } EOF $rm conftest - $LTCC $LTCFLAGS -o conftest conftest.c $deplibs - if test "$?" -eq 0 ; then + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then ldd_output=`ldd conftest` for i in $deplibs; do name=`expr $i : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" -ne "0"; then + if test "$name" != "" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) @@ -3560,9 +3591,7 @@ # If $name is empty we are operating on a -L argument. if test "$name" != "" && test "$name" != "0"; then $rm conftest - $LTCC $LTCFLAGS -o conftest conftest.c $i - # Did it work? - if test "$?" -eq 0 ; then + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then ldd_output=`ldd conftest` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in @@ -3594,7 +3623,7 @@ droppeddeps=yes $echo $echo "*** Warning! Library $i is needed by this library but I was not able to" - $echo "*** make it link in! You will probably need to install it or some" + $echo "*** make it link in! You will probably need to install it or some" $echo "*** library that it depends on before this library will be fully" $echo "*** functional. Installing it before continuing would be even better." fi @@ -4239,12 +4268,14 @@ reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` else gentop="$output_objdir/${obj}x" generated="$generated $gentop" @@ -4692,16 +4723,16 @@ case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` else - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` fi ;; * ) - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` ;; esac ;; @@ -4716,13 +4747,13 @@ # really was required. # Nullify the symbol file. - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. @@ -4809,7 +4840,7 @@ if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` else # fast_install is set to needless relink_command= @@ -4846,7 +4877,7 @@ fi done relink_command="(cd `pwd`; $relink_command)" - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` fi # Quote $echo for shipping. @@ -5253,6 +5284,18 @@ Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi + # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH @@ -5395,7 +5438,7 @@ ;; esac $echo >> $output "\ - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" + \$echo \"\$0: cannot exec \$program \$*\" exit $EXIT_FAILURE fi else @@ -5581,7 +5624,7 @@ done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` if test "$hardcode_automatic" = yes ; then relink_command= fi @@ -5926,9 +5969,9 @@ if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` else - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` fi $echo "$modename: warning: relinking \`$file'" 1>&2 @@ -6137,7 +6180,7 @@ file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` $show "$relink_command" if $run eval "$relink_command"; then : @@ -6413,12 +6456,15 @@ fi # Restore saved environment variables - if test "${save_LC_ALL+set}" = set; then - LC_ALL="$save_LC_ALL"; export LC_ALL - fi - if test "${save_LANG+set}" = set; then - LANG="$save_LANG"; export LANG - fi + for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + # Now prepare to actually exec the command. exec_cmd="\$cmd$args" @@ -6775,9 +6821,9 @@ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE + try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX - try to export only the symbols matching REGEX + try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened @@ -6791,9 +6837,11 @@ -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -static do not do any dynamic linking of libtool libraries + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] + specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Index: missing =================================================================== RCS file: /cvs/dirsec/adminserver/missing,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- missing 22 Jun 2007 02:32:00 -0000 1.8 +++ missing 25 Jun 2007 23:23:10 -0000 1.9 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2006-05-10.23 +scriptversion=2005-06-08.21 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -33,8 +33,6 @@ fi run=: -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -46,7 +44,7 @@ msg="missing on your system" -case $1 in +case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -79,7 +77,6 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' - autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -109,7 +106,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case $1 in +case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -138,7 +135,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case $1 in +case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -167,7 +164,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case $f in + case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -195,8 +192,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else @@ -217,25 +214,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if test $# -ne 1; then + if [ $# -ne 1 ]; then eval LASTARG="\${$#}" - case $LASTARG in + case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if test ! -f y.tab.h; then + if [ ! -f y.tab.h ]; then echo >y.tab.h fi - if test ! -f y.tab.c; then + if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -247,18 +244,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if test $# -ne 1; then + if [ $# -ne 1 ]; then eval LASTARG="\${$#}" - case $LASTARG in + case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then + if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if test ! -f lex.yy.c; then + if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -270,9 +267,11 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` + fi + if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file @@ -290,17 +289,11 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \([^ ]*\) *$/\1/ - p - q - }' $infile` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -324,13 +317,13 @@ fi firstarg="$1" if shift; then - case $firstarg in + case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case $firstarg in + case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 From fedora-directory-commits at redhat.com Tue Jun 26 18:50:30 2007 From: fedora-directory-commits at redhat.com (Richard Allen Megginson (rmeggins)) Date: Tue, 26 Jun 2007 14:50:30 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 10dsdata.ldif.tmpl, 1.7, 1.8 Message-ID: <200706261850.l5QIoUqR017168@cvs-int.fedora.redhat.com> Author: rmeggins Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17121 Modified Files: 10dsdata.ldif.tmpl Log Message: Resolves: bug 244749 Description: Configure Pass Thru Auth Fix Description: use %domain% instead of real domain Index: 10dsdata.ldif.tmpl =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/schema/ldif/10dsdata.ldif.tmpl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- 10dsdata.ldif.tmpl 25 Jun 2007 18:23:53 -0000 1.7 +++ 10dsdata.ldif.tmpl 26 Jun 2007 18:50:28 -0000 1.8 @@ -80,7 +80,7 @@ aci: (targetattr=*)(version 3.0; acl "UserDNControl"; allow (all) userdnattr="creatorsname";) ou: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot -dn: ou="%rootdn%",ou=UserPreferences, ou=sfbay.redhat.com, o=NetscapeRoot +dn: ou="%rootdn%",ou=UserPreferences, ou=%domain%, o=NetscapeRoot objectClass: top objectClass: organizationalUnit aci: (targetattr=*)(version 3.0; acl "UserDNControl"; allow (all) userdnattr="creatorsname";) From fedora-directory-commits at redhat.com Tue Jun 26 18:34:49 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Tue, 26 Jun 2007 14:34:49 -0400 Subject: [Fedora-directory-commits] adminserver/include/libdsa dsalib.h, 1.2, 1.3 Message-ID: <200706261834.l5QIYnrH016251@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver/include/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16109/include/libdsa Modified Files: dsalib.h Log Message: Resolves: 245665 Summary: Removed server root logic from dsalib. Index: dsalib.h =================================================================== RCS file: /cvs/dirsec/adminserver/include/libdsa/dsalib.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- dsalib.h 25 Jun 2007 23:23:12 -0000 1.2 +++ dsalib.h 26 Jun 2007 18:34:47 -0000 1.3 @@ -178,7 +178,7 @@ * Other return values */ #define DS_UNKNOWN_ERROR -1 -#define DS_NO_SERVER_ROOT -10 +#define DS_NO_INSTANCE_DIR -10 #define DS_CANNOT_EXEC -11 #define DS_CANNOT_OPEN_STAT_FILE -12 #define DS_NULL_PARAMETER -13 @@ -279,9 +279,8 @@ #define DS_SUFFIX 13 #define DS_LOCALUSER 14 #define DS_BAKDIR 15 -#define DS_RUNDIR 16 -#define DS_TMPDIR 17 -#define DS_CFG_MAX 18 /* MUST be one greater than the last option */ +#define DS_TMPDIR 16 +#define DS_CFG_MAX 17 /* MUST be one greater than the last option */ /* These control how long we wait for the server to start up or shutdown */ #define SERVER_START_TIMEOUT 600 /* seconds */ @@ -292,8 +291,7 @@ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -extern DS_EXPORT_SYMBOL char *ds_get_server_root(); -extern DS_EXPORT_SYMBOL char *ds_get_install_root(); +extern DS_EXPORT_SYMBOL char *ds_get_instance_dir(); extern DS_EXPORT_SYMBOL char *ds_get_admserv_based_root(); extern DS_EXPORT_SYMBOL void ds_log_debug_message(char *msg); extern DS_EXPORT_SYMBOL void ds_log_env(char **envp); From fedora-directory-commits at redhat.com Tue Jun 26 18:34:49 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Tue, 26 Jun 2007 14:34:49 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cgi-ds ds_remove.c, 1.1, 1.2 ds_snmpctrl.c, 1.1, 1.2 Message-ID: <200706261834.l5QIYnS7016243@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver/admserv/cgi-ds In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16109/admserv/cgi-ds Modified Files: ds_remove.c ds_snmpctrl.c Log Message: Resolves: 245665 Summary: Removed server root logic from dsalib. Index: ds_remove.c =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cgi-ds/ds_remove.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ds_remove.c 13 Jun 2007 01:37:16 -0000 1.1 +++ ds_remove.c 26 Jun 2007 18:34:46 -0000 1.2 @@ -138,7 +138,7 @@ { int status = -1; char *servername; - char *installroot; + char *instdir; int isRunning; #ifndef __LP64__ #if defined(__hpux) && !defined(__ia64) @@ -216,23 +216,23 @@ if (servername) { char line[1024]; int busy_retries = 3; /* if busy, retry this many times */ - installroot = ds_get_install_root(); + instdir = ds_get_instance_dir(); /* We may get busy errors if files are in use when we try to remove them, so if that happens, sleep for 30 seconds and try again */ - status = ds_rm_rf(installroot, rm_rf_err_func, NULL); + status = ds_rm_rf(instdir, rm_rf_err_func, NULL); while (status && try_rm_rf_again && busy_retries) { PR_snprintf(line, sizeof(line), "Some files or directories in %s are still in use. Will sleep for 30 seconds and try again.", - installroot); + instdir); ds_show_message(line); PR_Sleep(PR_SecondsToInterval(30)); try_rm_rf_again = 0; --busy_retries; - status = ds_rm_rf(installroot, rm_rf_err_func, NULL); + status = ds_rm_rf(instdir, rm_rf_err_func, NULL); } if (status) { PR_snprintf(line, sizeof(line), "Could not remove %s. Please check log messages and try again.", - installroot); + instdir); ds_send_error(line, 0); } } Index: ds_snmpctrl.c =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cgi-ds/ds_snmpctrl.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ds_snmpctrl.c 13 Jun 2007 01:37:16 -0000 1.1 +++ ds_snmpctrl.c 26 Jun 2007 18:34:46 -0000 1.2 @@ -130,7 +130,7 @@ *pid = -1; - SLAPD_ROOT = ds_get_install_root(); + SLAPD_ROOT = ds_get_instance_dir(); PR_snprintf(path, sizeof(path), "%s/logs/%s", SLAPD_ROOT, NSLDAPAGT_PID); if (!ds_file_exists(path)) { return(-1); @@ -279,7 +279,7 @@ return(-1); } else { char *NETSITE_ROOT = getenv("NETSITE_ROOT"); - char *SLAPD_ROOT = ds_get_install_root(); + char *SLAPD_ROOT = ds_get_instance_dir(); char command[1024]; PR_snprintf(command, sizeof(command), "cd %s/%s; ./%s -d %s", NETSITE_ROOT, SUBAGT_PATH, From fedora-directory-commits at redhat.com Tue Jun 26 18:34:50 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Tue, 26 Jun 2007 14:34:50 -0400 Subject: [Fedora-directory-commits] adminserver/lib/libdsa dsalib_conf.c, 1.2, 1.3 dsalib_db.c, 1.2, 1.3 dsalib_ldif.c, 1.1, 1.2 dsalib_location.c, 1.2, 1.3 dsalib_updown.c, 1.2, 1.3 Message-ID: <200706261834.l5QIYo0p016258@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver/lib/libdsa In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16109/lib/libdsa Modified Files: dsalib_conf.c dsalib_db.c dsalib_ldif.c dsalib_location.c dsalib_updown.c Log Message: Resolves: 245665 Summary: Removed server root logic from dsalib. Index: dsalib_conf.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_conf.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- dsalib_conf.c 25 Jun 2007 23:23:12 -0000 1.2 +++ dsalib_conf.c 26 Jun 2007 18:34:47 -0000 1.3 @@ -123,7 +123,6 @@ {"nsslapd-suffix"}, {"nsslapd-localuser"}, {"nsslapd-bakdir"}, -{"nsslapd-lockdir"}, {"nsslapd-tmpdir"}, {0} }; Index: dsalib_db.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_db.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- dsalib_db.c 25 Jun 2007 23:23:12 -0000 1.2 +++ dsalib_db.c 26 Jun 2007 18:34:47 -0000 1.3 @@ -112,7 +112,7 @@ char startup_line[BIG_LINE]; char statfile[PATH_MAX]; char *tmp_dir; - char *root; + char *instdir; int haderror = 0; int error = -1; int status; @@ -126,8 +126,8 @@ if ( status == DS_SERVER_UP ) { return DS_SERVER_MUST_BE_DOWN; } - if ( (root = ds_get_install_root()) == NULL ) { - return DS_NO_SERVER_ROOT; + if ( (instdir = ds_get_instance_dir()) == NULL ) { + return DS_NO_INSTANCE_DIR; } if ( file[strlen(file) - 1] == '\n' ) /* strip out returns */ @@ -145,7 +145,7 @@ "%s%cbak2db " "%s%s%s > " "%s%s%s 2>&1", - root, FILE_SEP, + instdir, FILE_SEP, ENQUOTE, file, ENQUOTE, ENQUOTE, statfile, ENQUOTE ); alter_startup_line(startup_line); @@ -189,7 +189,7 @@ char startup_line[BIG_LINE]; char statfile[PATH_MAX]; char *tmp_dir; - char *root; + char *instdir; int haderror = 0; int error = -1; FILE *sf = NULL; @@ -198,8 +198,8 @@ time_t ltime; #endif - if ( (root = ds_get_install_root()) == NULL ) { - return DS_NO_SERVER_ROOT; + if ( (instdir = ds_get_instance_dir()) == NULL ) { + return DS_NO_INSTANCE_DIR; } if ( (file == NULL) || (strlen(file) == 0) ) @@ -245,7 +245,7 @@ "%s%cdb2bak " "%s%s%s > " "%s%s%s 2>&1", - root, FILE_SEP, + instdir, FILE_SEP, ENQUOTE, (file == NULL) ? "" : file, ENQUOTE, @@ -347,22 +347,20 @@ ds_vlvindex(char **backendList, char **vlvList) { char startup_line[BIG_LINE]; - char *root; - char *instroot; + char *instdir; char **vlvc = NULL; - root = ds_get_server_root(); - instroot = ds_get_install_root(); - if ( (root == NULL) || (instroot == NULL) ) { - return DS_NO_SERVER_ROOT; + instdir = ds_get_instance_dir(); + if ( instdir == NULL ) { + return DS_NO_INSTANCE_DIR; } - PR_snprintf(startup_line, sizeof(startup_line), "%s/bin/slapd/server/%s db2index " + PR_snprintf(startup_line, sizeof(startup_line), "%s/%s db2index " "-D %s%s/%s " "-n %s ", - root, SLAPD_NAME, - ENQUOTE, instroot, ENQUOTE, + CMDBINDIR, SLAPD_NAME, + ENQUOTE, instdir, ENQUOTE, backendList[0]); @@ -385,21 +383,19 @@ ds_addindex(char **attrList, char *backendName) { char startup_line[BIG_LINE]; - char *root; - char *instroot; + char *instdir; - root = ds_get_server_root(); - instroot = ds_get_install_root(); + instdir = ds_get_instance_dir(); - if ( (root == NULL) || (instroot == NULL) ) { - return DS_NO_SERVER_ROOT; + if ( instdir == NULL ) { + return DS_NO_INSTANCE_DIR; } - PR_snprintf(startup_line, sizeof(startup_line), "%s/bin/slapd/server/%s db2index " + PR_snprintf(startup_line, sizeof(startup_line), "%s/%s db2index " "-D %s%s%s " "-n %s", - root, SLAPD_NAME, - ENQUOTE, instroot, ENQUOTE, + CMDBINDIR, SLAPD_NAME, + ENQUOTE, instdir, ENQUOTE, backendName); while( *attrList != NULL ) { Index: dsalib_ldif.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_ldif.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dsalib_ldif.c 13 Jun 2007 01:37:17 -0000 1.1 +++ dsalib_ldif.c 26 Jun 2007 18:34:47 -0000 1.2 @@ -154,7 +154,7 @@ importldif(char *file, int preserve, char *backend, char *subtree) { char startup_line[BIG_LINE]; - char *root; + char *instdir; int haderror = 0; int i = 0, error = -1; int status; @@ -178,11 +178,11 @@ #endif /* DEBUG_CGI */ return DS_SERVER_MUST_BE_DOWN; } - if ( (root = ds_get_install_root()) == NULL ) { + if ( (instdir = ds_get_instance_dir()) == NULL ) { #ifdef DEBUG_CGI - fprintf(stderr, "importldif: could not get server root\n"); + fprintf(stderr, "importldif: could not get instance directory\n"); #endif /* DEBUG_CGI */ - return DS_NO_SERVER_ROOT; + return DS_NO_INSTANCE_DIR; } if ( file[strlen(file) - 1] == '\n' ) /* strip out returns */ @@ -203,21 +203,21 @@ if ( preserve ) { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -i %s%s%s", - root, FILE_SEP, SCRIPT_SUFFIX, + instdir, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, file, ENQUOTE); } else if (backend) { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -n %s%s%s -i %s%s%s", - root, FILE_SEP, SCRIPT_SUFFIX, + instdir, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, backend, ENQUOTE, ENQUOTE, file, ENQUOTE); } else if (subtree) { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -s %s%s%s -i %s%s%s", - root, FILE_SEP, SCRIPT_SUFFIX, + instdir, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, subtree, ENQUOTE, ENQUOTE, file, ENQUOTE); } else { PR_snprintf(startup_line, BIG_LINE, "%s%cldif2db%s -i %s%s%s -noconfig", - root, FILE_SEP, SCRIPT_SUFFIX, + instdir, FILE_SEP, SCRIPT_SUFFIX, ENQUOTE, file, ENQUOTE); } alter_startup_line(startup_line); @@ -311,13 +311,13 @@ char outfile[PATH_MAX]; char scriptfile[PATH_MAX]; char *tmp_dir; - char *root; + char *instdir; int haderror = 0; int error = -1; FILE *sf = NULL; - if ( (root = ds_get_install_root()) == NULL ) { - return DS_NO_SERVER_ROOT; + if ( (instdir = ds_get_instance_dir()) == NULL ) { + return DS_NO_INSTANCE_DIR; } if ( (file == NULL) || (strlen(file) == 0) ) @@ -343,7 +343,7 @@ else PL_strncpyz( outfile, file, sizeof(outfile) ); - PR_snprintf(scriptfile, PATH_MAX, "%s%cdb2ldif", root, FILE_SEP); + PR_snprintf(scriptfile, PATH_MAX, "%s%cdb2ldif", instdir, FILE_SEP); PATH_FOR_PLATFORM( outfile ); PATH_FOR_PLATFORM( scriptfile ); Index: dsalib_location.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_location.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- dsalib_location.c 25 Jun 2007 23:23:12 -0000 1.2 +++ dsalib_location.c 26 Jun 2007 18:34:47 -0000 1.3 @@ -51,44 +51,21 @@ #include "plstr.h" /* - * Returns the server root. Info is - * returned in a static area. The caller must copy it - * for reuse if needed. - */ -DS_EXPORT_SYMBOL char * -ds_get_server_root() -{ - char *root; - - if ( (root = getenv("NETSITE_ROOT")) == NULL ) - return(NULL); - - /* WIN32: Needed to take care of embedded space, */ - /* otherwise system() call fails */ - root = ds_makeshort( root ); - - return root; -} - -/* - * Returns the install location of the server. Info is - * returned in a static area. The caller must copy it - * for reuse if needed. + * Returns the instance directory path of the server. + * Info is returned in a static area. The caller must + * copy it for reuse if needed. */ DS_EXPORT_SYMBOL char * -ds_get_install_root() +ds_get_instance_dir() { - char *root; char *ds_name; - static char install_root[PATH_MAX]; + static char instance_dir[PATH_MAX]; - if ( (root = ds_get_server_root()) == NULL ) - return(NULL); if ( (ds_name = ds_get_server_name()) == NULL ) return(NULL); - PR_snprintf(install_root, sizeof(install_root), "%s/%s", root, ds_name); - return(install_root); + PR_snprintf(instance_dir, sizeof(instance_dir), "%s/%s", DSLIBDIR, ds_name); + return(instance_dir); } /* @@ -136,9 +113,9 @@ char *rundir; if (rundir = getenv("DS_RUN_DIR")) { - return rundir; + return (rundir); } else { - return ds_get_config_value(DS_RUNDIR); + return (PIDDIR);; } } @@ -231,6 +208,9 @@ return(install_root); } +/* + * Returns the Directory Server instance name. + */ DS_EXPORT_SYMBOL char * ds_get_server_name() { Index: dsalib_updown.c =================================================================== RCS file: /cvs/dirsec/adminserver/lib/libdsa/dsalib_updown.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- dsalib_updown.c 25 Jun 2007 23:23:12 -0000 1.2 +++ dsalib_updown.c 26 Jun 2007 18:34:47 -0000 1.3 @@ -156,7 +156,7 @@ configuration information in memory, we don't need to read it in */ DS_EXPORT_SYMBOL int -ds_bring_up_server_install(int verbose, char *root, char *errorlog) +ds_bring_up_server_install(int verbose, char *instdir, char *errorlog) { #if !defined( XP_WIN32 ) char startup_line[BIG_LINE]; @@ -174,7 +174,7 @@ status = ds_get_updown_status(); if ( status == DS_SERVER_UP ) return(DS_SERVER_ALREADY_UP); - if (!root || !errorlog) + if (!instdir || !errorlog) return(DS_SERVER_UNKNOWN); if (verbose) { @@ -187,7 +187,7 @@ PR_snprintf(statfile, PATH_MAX, "%s%cstartup.%d", tmp_dir, FILE_SEP, (int)getpid()); PR_snprintf(startup_line, BIG_LINE, "%s%c%s > %s 2>&1", - root, FILE_SEP, START_SCRIPT, statfile); + instdir, FILE_SEP, START_SCRIPT, statfile); alter_startup_line(startup_line); error = system(startup_line); if (error == -1) @@ -304,21 +304,20 @@ DS_EXPORT_SYMBOL int ds_bring_up_server(int verbose) { - char *root; + char *instdir; int status; - char *errorlog; + char *errorlog; status = ds_get_updown_status(); if ( status == DS_SERVER_UP ) return(DS_SERVER_ALREADY_UP); - /* NGK - Need to eliminate root */ - if ( (root = ds_get_install_root()) == NULL ) + if ( (instdir = ds_get_instance_dir()) == NULL ) return(DS_SERVER_UNKNOWN); errorlog = ds_get_config_value(DS_ERRORLOG); if ( errorlog == NULL ) { errorlog = ds_get_errors_name(); /* fallback */ } - return ds_bring_up_server_install(verbose, root, errorlog); + return ds_bring_up_server_install(verbose, instdir, errorlog); } DS_EXPORT_SYMBOL int @@ -530,7 +529,7 @@ StartNetscapeProgram() { char line[BIG_LINE], cmd[BIG_LINE]; - char *tmp = ds_get_install_root(); + char *tmp = ds_get_instance_dir(); CHAR ErrorString[512]; STARTUPINFO siStartInfo; From fedora-directory-commits at redhat.com Tue Jun 26 18:34:48 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Tue, 26 Jun 2007 14:34:48 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.am, 1.17, 1.18 Makefile.in, 1.17, 1.18 configure, 1.16, 1.17 configure.ac, 1.11, 1.12 Message-ID: <200706261834.l5QIYmHK016237@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16109 Modified Files: Makefile.am Makefile.in configure configure.ac Log Message: Resolves: 245665 Summary: Removed server root logic from dsalib. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Makefile.am 25 Jun 2007 23:23:10 -0000 1.17 +++ Makefile.am 26 Jun 2007 18:34:46 -0000 1.18 @@ -82,6 +82,7 @@ admmoddir = $(libdir)@admmoddir@ infdir = $(datadir)@infdir@ perldir = $(libdir)@perldir@ +dslibdir = @dslibdir@ libbase_a_SOURCES = lib/base/file.cpp lib/base/nscperror.c \ lib/base/system.cpp lib/base/nscputil.cpp @@ -108,7 +109,7 @@ -DLOGDIR=\"$(logdir)\" -DHTTPD=\"$(HTTPD)\" -DDEFAULT_HTTPDUSER=\"$(httpduser)\" \ -DPIDFILE=\"$(pidfile)\" -DDATADIR=\"$(datadir)\" -DLDIFDIR=\"$(ldifdir)\" \ -DBUILD_NUM=$(BUILDNUM) -DINFDIR=\"$(infdir)\" -DCGIBINDIR=\"$(cgibindir)\" \ - -DINSTCONFIGDIR=\"$(instconfigdir)\" + -DINSTCONFIGDIR=\"$(instconfigdir)\" -DDSLIBDIR=\"$(dslibdir)\" lib_LTLIBRARIES = libds-admin-serv.la Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Makefile.in 25 Jun 2007 23:23:10 -0000 1.17 +++ Makefile.in 26 Jun 2007 18:34:46 -0000 1.18 @@ -441,6 +441,7 @@ cmdbindir = $(sbindir) curses_lib = @curses_lib@ datadir = @datadir@ +dslibdir = @dslibdir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ @@ -560,7 +561,8 @@ -DPIDFILE=\"$(pidfile)\" -DDATADIR=\"$(datadir)\" \ -DLDIFDIR=\"$(ldifdir)\" -DBUILD_NUM=$(BUILDNUM) \ -DINFDIR=\"$(infdir)\" -DCGIBINDIR=\"$(cgibindir)\" \ - -DINSTCONFIGDIR=\"$(instconfigdir)\" + -DINSTCONFIGDIR=\"$(instconfigdir)\" \ + -DDSLIBDIR=\"$(dslibdir)\" lib_LTLIBRARIES = libds-admin-serv.la noinst_LIBRARIES = libdsa.a DEFAULT_LIBS = libds-admin-serv.la @adminutil_lib@ -ladmsslutil at adminutil_ver@ -ladminutil at adminutil_ver@ \ Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- configure 25 Jun 2007 23:23:10 -0000 1.16 +++ configure 26 Jun 2007 18:34:46 -0000 1.17 @@ -468,7 +468,7 @@ ac_default_prefix=/opt/fedora-ds ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 PACKAGE_BASE_NAME PACKAGE_BASE_VERSION LIBSOCKET LIBNSL LIBCSTD LIBCRUN initdir CXXLINK_REQUIRED_TRUE CXXLINK_REQUIRED_FALSE HTTPD APXS APR_CONFIG PKG_CONFIG ICU_CONFIG nsspcache instconfigdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 PACKAGE_BASE_NAME PACKAGE_BASE_VERSION LIBSOCKET LIBNSL LIBCSTD LIBCRUN initdir CXXLINK_REQUIRED_TRUE CXXLINK_REQUIRED_FALSE HTTPD APXS APR_CONFIG PKG_CONFIG ICU_CONFIG nsspcache instconfigdir dslibdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1079,6 +1079,8 @@ Base directory for instance specific writable configuration directories (default $sysconfdir/$PACKAGE_BASE_NAME) + --with-dslibdir=/path Directory Server library directory (default + $libdir/$PACKAGE_BASE_NAME) Some influential environment variables: CXX C++ compiler command @@ -4306,7 +4308,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4309 "configure"' > conftest.$ac_ext + echo '#line 4311 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5441,7 +5443,7 @@ # Provide some information about the compiler. -echo "$as_me:5444:" \ +echo "$as_me:5446:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6504,11 +6506,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6507: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6509: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6511: \$? = $ac_status" >&5 + echo "$as_me:6513: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6772,11 +6774,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6775: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6777: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6779: \$? = $ac_status" >&5 + echo "$as_me:6781: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6876,11 +6878,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6879: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6881: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6883: \$? = $ac_status" >&5 + echo "$as_me:6885: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8345,7 +8347,7 @@ libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 8348 "configure"' > conftest.$ac_ext + echo '#line 8350 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -9242,7 +9244,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11690: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11692: \$? = $ac_status" >&5 + echo "$as_me:11694: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11789,11 +11791,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11792: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11794: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11796: \$? = $ac_status" >&5 + echo "$as_me:11798: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12325,7 +12327,7 @@ libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 12328 "configure"' > conftest.$ac_ext + echo '#line 12330 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -13383,11 +13385,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13386: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13388: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13390: \$? = $ac_status" >&5 + echo "$as_me:13392: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13487,11 +13489,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13490: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13492: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13494: \$? = $ac_status" >&5 + echo "$as_me:13496: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14936,7 +14938,7 @@ libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 14939 "configure"' > conftest.$ac_ext + echo '#line 14941 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -15714,11 +15716,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15717: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15719: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15721: \$? = $ac_status" >&5 + echo "$as_me:15723: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15982,11 +15984,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15985: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15987: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15989: \$? = $ac_status" >&5 + echo "$as_me:15991: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16086,11 +16088,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16089: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16091: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16093: \$? = $ac_status" >&5 + echo "$as_me:16095: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17555,7 +17557,7 @@ libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 17558 "configure"' > conftest.$ac_ext + echo '#line 17560 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -25042,6 +25044,28 @@ fi; +# check for --with-dslibdir +echo "$as_me:$LINENO: checking for --with-dslibdir" >&5 +echo $ECHO_N "checking for --with-dslibdir... $ECHO_C" >&6 + +# Check whether --with-dslibdir or --without-dslibdir was given. +if test "${with_dslibdir+set}" = set; then + withval="$with_dslibdir" + + if test $withval = yes ; then + { { echo "$as_me:$LINENO: error: Please specify a full path with --with-dslibdir" >&5 +echo "$as_me: error: Please specify a full path with --with-dslibdir" >&2;} + { (exit 1); exit 1; }; } + fi + dslibdir="$withval" + +else + + dslibdir='$(libdir)/$(PACKAGE_BASE_NAME)' + +fi; + + # CGI program directory, relative to libdir cgibindir=/$PACKAGE_BASE_NAME/cgi-bin @@ -25952,6 +25976,7 @@ s, at ICU_CONFIG@,$ICU_CONFIG,;t t s, at nsspcache@,$nsspcache,;t t s, at instconfigdir@,$instconfigdir,;t t +s, at dslibdir@,$dslibdir,;t t s, at nspr_inc@,$nspr_inc,;t t s, at nspr_lib@,$nspr_lib,;t t s, at nspr_libdir@,$nspr_libdir,;t t Index: configure.ac =================================================================== RCS file: /cvs/dirsec/adminserver/configure.ac,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- configure.ac 22 Jun 2007 01:34:18 -0000 1.11 +++ configure.ac 26 Jun 2007 18:34:46 -0000 1.12 @@ -206,6 +206,23 @@ ]) AC_SUBST(instconfigdir) +# check for --with-dslibdir +AC_MSG_CHECKING(for --with-dslibdir) +AC_ARG_WITH(dslibdir, + AS_HELP_STRING([--with-dslibdir=/path], + [Directory Server library directory (default $libdir/$PACKAGE_BASE_NAME)]), +[ + if test $withval = yes ; then + AC_ERROR([Please specify a full path with --with-dslibdir]) + fi + dslibdir="$withval" +], +[ + dnl this value is expanded out in Makefile.am + dslibdir='$(libdir)/$(PACKAGE_BASE_NAME)' +]) +AC_SUBST(dslibdir) + # CGI program directory, relative to libdir cgibindir=/$PACKAGE_BASE_NAME/cgi-bin From fedora-directory-commits at redhat.com Wed Jun 27 18:32:49 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 27 Jun 2007 14:32:49 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/newinst/src AdminUtil.pm.in, 1.4, 1.5 Message-ID: <200706271832.l5RIWnx6006735@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/newinst/src In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6549/admserv/newinst/src Modified Files: AdminUtil.pm.in Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #21) Description: adding ACI to cn=monitor Index: AdminUtil.pm.in =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/AdminUtil.pm.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AdminUtil.pm.in 25 Jun 2007 17:14:40 -0000 1.4 +++ AdminUtil.pm.in 27 Jun 2007 18:32:46 -0000 1.5 @@ -254,7 +254,8 @@ my @ldiffiles = ('@ldifdir@/01nsroot.ldif.tmpl', '@ldifdir@/02globalpreferences.ldif.tmpl', '@ldifdir@/12dsconfig.mod.tmpl', - '@ldifdir@/13dsschema.mod.tmpl' + '@ldifdir@/13dsschema.mod.tmpl', + '@ldifdir@/14dsmonitor.mod.tmpl' ); my $setupinf = new Inf("@infdir@/setup.inf"); my $admininf = new Inf("@infdir@/admin.inf"); From fedora-directory-commits at redhat.com Wed Jun 27 18:32:49 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 27 Jun 2007 14:32:49 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/schema/ldif 14dsmonitor.mod.tmpl, NONE, 1.1 Message-ID: <200706271832.l5RIWn70006743@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver/admserv/schema/ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6549/admserv/schema/ldif Added Files: 14dsmonitor.mod.tmpl Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #21) Description: adding ACI to cn=monitor --- NEW FILE 14dsmonitor.mod.tmpl --- # BEGIN COPYRIGHT BLOCK # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK dn: cn=monitor changetype: modify add: aci aci: (target ="ldap:///cn=monitor*")(targetattr != "aci || connection")(version 3.0; acl "monitor"; allow( read, search, compare ) userdn = "ldap:///anyone";) From fedora-directory-commits at redhat.com Wed Jun 27 18:32:48 2007 From: fedora-directory-commits at redhat.com (Noriko Hosoi (nhosoi)) Date: Wed, 27 Jun 2007 14:32:48 -0400 Subject: [Fedora-directory-commits] adminserver Makefile.in, 1.18, 1.19 aclocal.m4, 1.14, 1.15 configure, 1.17, 1.18 ltmain.sh, 1.4, 1.5 Makefile.am, 1.18, 1.19 Message-ID: <200706271832.l5RIWnB5006729@cvs-int.fedora.redhat.com> Author: nhosoi Update of /cvs/dirsec/adminserver In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6549 Modified Files: Makefile.in aclocal.m4 configure ltmain.sh Makefile.am Log Message: Resolves: #244749 Summary: Configure Pass Thru Auth (comment #21) Description: adding ACI to cn=monitor Index: Makefile.in =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.in,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- Makefile.in 26 Jun 2007 18:34:46 -0000 1.18 +++ Makefile.in 27 Jun 2007 18:32:46 -0000 1.19 @@ -401,7 +401,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ -SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -579,6 +578,7 @@ admserv/schema/ldif/11dstasks.ldif.tmpl \ admserv/schema/ldif/12dsconfig.mod.tmpl \ admserv/schema/ldif/13dsschema.mod.tmpl \ + admserv/schema/ldif/14dsmonitor.mod.tmpl \ admserv/schema/ldif/20asdata.ldif.tmpl \ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl Index: aclocal.m4 =================================================================== RCS file: /cvs/dirsec/adminserver/aclocal.m4,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- aclocal.m4 25 Jun 2007 23:23:10 -0000 1.14 +++ aclocal.m4 27 Jun 2007 18:32:46 -0000 1.15 @@ -1578,27 +1578,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -4305,9 +4288,6 @@ # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -4441,11 +4421,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. @@ -4457,7 +4437,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -4537,7 +4517,7 @@ link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -6373,7 +6353,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -6406,7 +6385,6 @@ done ]) SED=$lt_cv_path_SED -AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) Index: configure =================================================================== RCS file: /cvs/dirsec/adminserver/configure,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- configure 26 Jun 2007 18:34:46 -0000 1.17 +++ configure 27 Jun 2007 18:32:46 -0000 1.18 @@ -468,7 +468,7 @@ ac_default_prefix=/opt/fedora-ds ac_subdirs_all="$ac_subdirs_all mod_admserv" ac_subdirs_all="$ac_subdirs_all mod_restartd" -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 PACKAGE_BASE_NAME PACKAGE_BASE_VERSION LIBSOCKET LIBNSL LIBCSTD LIBCRUN initdir CXXLINK_REQUIRED_TRUE CXXLINK_REQUIRED_FALSE HTTPD APXS APR_CONFIG PKG_CONFIG ICU_CONFIG nsspcache instconfigdir dslibdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CX! XCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS PACKAGE_BASE_NAME PACKAGE_BASE_VERSION LIBSOCKET LIBNSL LIBCSTD LIBCRUN initdir CXXLINK_REQUIRED_TRUE CXXLINK_REQUIRED_FALSE HTTPD APXS APR_CONFIG PKG_CONFIG ICU_CONFIG nsspcache instconfigdir dslibdir nspr_inc nspr_lib nspr_libdir nss_inc nss_lib nss_libdir ldapsdk_inc ldapsdk_lib ldapsdk_libdir adminutil_inc adminutil_lib adminutil_libdir adminutil_ver icu_lib icu_libdir icu_inc icu_bin curses_lib instancename cgibindir cmdbindir moddir modnssbindir propertydir htmldir icondir manualdir httpdconf mimemagic httpduser httpdgroup logdir piddir pidfile admservport ldifdir admmoddir nssmoddir infdir perldir brand capbrand vendor WINNT_TRUE WINNT_FALSE APACHE22_TRUE APACHE22_FALSE subdirs MOD_ADMSERV_TRUE MOD_ADMSERV_FALSE MOD_RESTARTD_TRUE MOD_RESTARTD_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3832,7 +3832,6 @@ done done done -IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris @@ -3867,7 +3866,6 @@ fi SED=$lt_cv_path_SED - echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -4308,7 +4306,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4311 "configure"' > conftest.$ac_ext + echo '#line 4309 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5443,7 +5441,7 @@ # Provide some information about the compiler. -echo "$as_me:5446:" \ +echo "$as_me:5444:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6506,11 +6504,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6509: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6507: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6513: \$? = $ac_status" >&5 + echo "$as_me:6511: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6774,11 +6772,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6777: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6775: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6781: \$? = $ac_status" >&5 + echo "$as_me:6779: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6878,11 +6876,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6881: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6879: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6885: \$? = $ac_status" >&5 + echo "$as_me:6883: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8343,31 +8341,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 8350 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -9244,7 +9221,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11664: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11694: \$? = $ac_status" >&5 + echo "$as_me:11668: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11791,11 +11765,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11794: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11768: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11798: \$? = $ac_status" >&5 + echo "$as_me:11772: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12323,31 +12297,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 12330 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -12731,9 +12684,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -12867,11 +12817,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. @@ -12883,7 +12833,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -12963,7 +12913,7 @@ link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -13385,11 +13335,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13388: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13338: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13392: \$? = $ac_status" >&5 + echo "$as_me:13342: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13489,11 +13439,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13492: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13442: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13496: \$? = $ac_status" >&5 + echo "$as_me:13446: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14934,31 +14884,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 14941 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -15342,9 +15271,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -15478,11 +15404,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. @@ -15494,7 +15420,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -15574,7 +15500,7 @@ link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -15716,11 +15642,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15719: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15645: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15723: \$? = $ac_status" >&5 + echo "$as_me:15649: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15984,11 +15910,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15987: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15913: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15991: \$? = $ac_status" >&5 + echo "$as_me:15917: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16088,11 +16014,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16091: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16017: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16095: \$? = $ac_status" >&5 + echo "$as_me:16021: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17553,31 +17479,10 @@ # before this can be enabled. hardcode_into_libs=yes - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '#line 17560 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -17961,9 +17866,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18097,11 +17999,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. @@ -18113,7 +18015,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18193,7 +18095,7 @@ link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -18445,9 +18347,6 @@ # Is the compiler the GNU C compiler? with_gcc=$GCC_RC -gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` -gcc_ver=\`gcc -dumpversion\` - # An ERE matcher. EGREP=$lt_EGREP @@ -18581,11 +18480,11 @@ # Dependencies to place before the objects being linked to create a # shared library. -predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. -postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. @@ -18597,7 +18496,7 @@ # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -18677,7 +18576,7 @@ link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries -sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec @@ -25945,7 +25844,6 @@ s, at CCDEPMODE@,$CCDEPMODE,;t t s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t -s, at SED@,$SED,;t t s, at EGREP@,$EGREP,;t t s, at LN_S@,$LN_S,;t t s, at ECHO@,$ECHO,;t t Index: ltmain.sh =================================================================== RCS file: /cvs/dirsec/adminserver/ltmain.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ltmain.sh 25 Jun 2007 23:23:10 -0000 1.4 +++ ltmain.sh 27 Jun 2007 18:32:46 -0000 1.5 @@ -46,16 +46,10 @@ VERSION=1.5.22 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes. +if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi # Check that we have a working $echo. @@ -111,14 +105,12 @@ # These must not be set unconditionally because not all systems understand # e.g. LANG=C (notably SCO). # We save the old values to restore during execute mode. -for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - $lt_var=C - export $lt_var - fi" -done +if test "${LC_ALL+set}" = set; then + save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL +fi +if test "${LANG+set}" = set; then + save_LANG="$LANG"; LANG=C; export LANG +fi # Make sure IFS has a sensible default lt_nl=' @@ -144,8 +136,6 @@ preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" -extracted_archives= -extracted_serial=0 ##################################### # Shell function definitions: @@ -337,17 +327,7 @@ *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - extracted_serial=`expr $extracted_serial + 1` - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" + my_xdir="$my_gentop/$my_xlib" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" @@ -778,7 +758,6 @@ *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; - *.obj) xform=obj ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` @@ -1159,9 +1138,8 @@ for arg do case $arg in - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) + -all-static | -static) + if test "X$arg" = "X-all-static"; then if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 fi @@ -1169,20 +1147,12 @@ dlopen_self=$dlopen_self_static fi prefer_static_libs=yes - ;; - -static) + else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac + fi build_libtool_libs=no build_old_libs=yes break @@ -1742,7 +1712,7 @@ continue ;; - -static | -static-libtool-libs) + -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects @@ -2520,9 +2490,7 @@ if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. @@ -3218,7 +3186,7 @@ # which has an extra 1 added just for fun # case $version_type in - darwin|linux|osf|windows|none) + darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" @@ -3442,11 +3410,11 @@ fi # Eliminate all temporary directories. -# for path in $notinst_path; do -# lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` -# deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` -# dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` -# done + for path in $notinst_path; do + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` + done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. @@ -3547,12 +3515,13 @@ int main() { return 0; } EOF $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs + if test "$?" -eq 0 ; then ldd_output=`ldd conftest` for i in $deplibs; do name=`expr $i : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then + if test "$name" != "" && test "$name" -ne "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) @@ -3591,7 +3560,9 @@ # If $name is empty we are operating on a -L argument. if test "$name" != "" && test "$name" != "0"; then $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + $LTCC $LTCFLAGS -o conftest conftest.c $i + # Did it work? + if test "$?" -eq 0 ; then ldd_output=`ldd conftest` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in @@ -3623,7 +3594,7 @@ droppeddeps=yes $echo $echo "*** Warning! Library $i is needed by this library but I was not able to" - $echo "*** make it link in! You will probably need to install it or some" + $echo "*** make it link in! You will probably need to install it or some" $echo "*** library that it depends on before this library will be fully" $echo "*** functional. Installing it before continuing would be even better." fi @@ -4268,14 +4239,12 @@ reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. + # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" generated="$generated $gentop" @@ -4723,16 +4692,16 @@ case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` else - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` fi ;; * ) - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; esac ;; @@ -4747,13 +4716,13 @@ # really was required. # Nullify the symbol file. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. @@ -4840,7 +4809,7 @@ if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= @@ -4877,7 +4846,7 @@ fi done relink_command="(cd `pwd`; $relink_command)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. @@ -5284,18 +5253,6 @@ Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi - # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH @@ -5438,7 +5395,7 @@ ;; esac $echo >> $output "\ - \$echo \"\$0: cannot exec \$program \$*\" + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit $EXIT_FAILURE fi else @@ -5624,7 +5581,7 @@ done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi @@ -5969,9 +5926,9 @@ if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 @@ -6180,7 +6137,7 @@ file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : @@ -6456,15 +6413,12 @@ fi # Restore saved environment variables - for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - + if test "${save_LC_ALL+set}" = set; then + LC_ALL="$save_LC_ALL"; export LC_ALL + fi + if test "${save_LANG+set}" = set; then + LANG="$save_LANG"; export LANG + fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" @@ -6821,9 +6775,9 @@ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE + try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX - try to export only the symbols matching REGEX + try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened @@ -6837,11 +6791,9 @@ -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries + -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] + specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Index: Makefile.am =================================================================== RCS file: /cvs/dirsec/adminserver/Makefile.am,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- Makefile.am 26 Jun 2007 18:34:46 -0000 1.18 +++ Makefile.am 27 Jun 2007 18:32:46 -0000 1.19 @@ -139,6 +139,7 @@ admserv/schema/ldif/11dstasks.ldif.tmpl \ admserv/schema/ldif/12dsconfig.mod.tmpl \ admserv/schema/ldif/13dsschema.mod.tmpl \ + admserv/schema/ldif/14dsmonitor.mod.tmpl \ admserv/schema/ldif/20asdata.ldif.tmpl \ admserv/schema/ldif/21astasks.ldif.tmpl \ admserv/schema/ldif/22ascommands.ldif.tmpl From fedora-directory-commits at redhat.com Wed Jun 27 22:25:02 2007 From: fedora-directory-commits at redhat.com (Nathan Kinder (nkinder)) Date: Wed, 27 Jun 2007 18:25:02 -0400 Subject: [Fedora-directory-commits] adminserver/admserv/cgi-src40 viewlog.c, 1.8, 1.9 viewlog.properties, 1.4, 1.5 Message-ID: <200706272225.l5RMP2Wj010499@cvs-int.fedora.redhat.com> Author: nkinder Update of /cvs/dirsec/adminserver/admserv/cgi-src40 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10464/admserv/cgi-src40 Modified Files: viewlog.c viewlog.properties Log Message: Resolves: 246020 Summary: Modified viewlog CGI to work for Console. Index: viewlog.c =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cgi-src40/viewlog.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- viewlog.c 15 May 2007 16:45:45 -0000 1.8 +++ viewlog.c 27 Jun 2007 22:24:59 -0000 1.9 @@ -67,7 +67,8 @@ #define DBT_NO_DIR_FOUND resource_key(RESOURCE_FILE, "9") #define DBT_NO_ID resource_key(RESOURCE_FILE, "10") #define DBT_NO_ID_DESC resource_key(RESOURCE_FILE, "11") - +#define DBT_INV_NOHTML resource_key(RESOURCE_FILE, "12") +#define DBT_INV_NOHTML_DESC resource_key(RESOURCE_FILE, "13") /* html resource */ #define DBT_DISPLAY_LOGFILE_SELECT_BEGIN resource_key(RESOURCE_FILE, "20") @@ -262,6 +263,8 @@ char *qs = getenv("QUERY_STRING"); char line[BIG_LINE]; FILE *html = open_html_file(MY_PAGE); + char *method = NULL; + char *nohtml = NULL; char *num=NULL; char *str=NULL; char *file; @@ -270,37 +273,53 @@ char **logfiles = NULL; char tmp[BIG_LINE]; int x; + int print_html = 1; + int proceed = 0; char msg[BUFSIZ]; i18nInit(); fprintf(stdout, "Content-type: text/html;charset=utf-8\n\n"); - if(qs) { - get_begin(qs); + method = getenv("REQUEST_METHOD"); + if(method) { + if(!strcmp(method, "GET")) { + qs = getenv("QUERY_STRING"); + if(qs && *qs) { + get_begin(qs); + proceed = 1; + } + } else if(!strcmp(method, "POST")) { + post_begin(stdin); + proceed = 1; + } + } - num=get_cgi_var("num", NULL, NULL); - str=get_cgi_var("str", NULL, NULL); - file=get_cgi_var("file", NULL, NULL); - id=get_cgi_var("id", NULL, NULL); - - if(!id) - rpt_err(INCORRECT_USAGE, - getResourceString(DBT_NO_ID), - getResourceString(DBT_NO_ID_DESC), NULL); - - if(num) { - for(x=0; num[x]; x++) { - if(!isdigit(num[x])) - rpt_err(INCORRECT_USAGE, getResourceString(DBT_INV_NUMBER), - getResourceString(DBT_INV_NUMBER_DESC), NULL); - } - } - } - else - rpt_err(INCORRECT_USAGE, - getResourceString(DBT_NO_ID), - getResourceString(DBT_NO_ID_DESC), NULL); + if(!proceed) + { + rpt_err(INCORRECT_USAGE, + getResourceString(DBT_NO_ID), + getResourceString(DBT_NO_ID_DESC), NULL); + } + + num=get_cgi_var("num", NULL, NULL); + str=get_cgi_var("str", NULL, NULL); + file=get_cgi_var("file", NULL, NULL); + id=get_cgi_var("id", NULL, NULL); + nohtml=get_cgi_var("nohtml", NULL, NULL); + + if(!id) + rpt_err(INCORRECT_USAGE, + getResourceString(DBT_NO_ID), + getResourceString(DBT_NO_ID_DESC), NULL); + + if(num) { + for(x=0; num[x]; x++) { + if(!isdigit(num[x])) + rpt_err(INCORRECT_USAGE, getResourceString(DBT_INV_NUMBER), + getResourceString(DBT_INV_NUMBER_DESC), NULL); + } + } if(!num) num=DEF_SIZE; @@ -313,55 +332,89 @@ } } - while(next_html_line(html, line)) { - if(parse_line(line, NULL)) { - if(directive_is(line, "LOG_TO_VIEW")) { - display_logfiles(logdir, file); - } - else if(directive_is(line, "NUM_TO_VIEW")) { - output_input("text", "num", num, NULL); - } - else if(directive_is(line, "STRING_TO_VIEW")) { - output_input("text", "str", str, NULL); - } - else if(directive_is(line, "HIDDEN_ID")) { - /* keep hidden track of what the current id are */ - fprintf(stdout, (const char*)getResourceString(DBT_MAIN_HIDDEN_TRACK), id); - } - else if(directive_is(line, "ID_TITLE")) { - fprintf(stdout, (const char*)getResourceString(DBT_MAIN_ID_TITLE), id); - } - else if(directive_is(line, "ACCESS_LOG")) { - FILE *cmd; - char full_path[PATH_MAX]; + if(nohtml) { + for(x=0; nohtml[x]; x++) { + if(!isdigit(nohtml[x])) + rpt_err(INCORRECT_USAGE, getResourceString(DBT_INV_NUMBER), + getResourceString(DBT_INV_NUMBER_DESC), NULL); + } + + if (atoi(nohtml) > 0) { + /* print raw log content only */ + print_html = 0; + } + } + + if (print_html ) { + while(next_html_line(html, line)) { + if(parse_line(line, NULL)) { + if(directive_is(line, "LOG_TO_VIEW")) { + display_logfiles(logdir, file); + } + else if(directive_is(line, "NUM_TO_VIEW")) { + output_input("text", "num", num, NULL); + } + else if(directive_is(line, "STRING_TO_VIEW")) { + output_input("text", "str", str, NULL); + } + else if(directive_is(line, "HIDDEN_ID")) { + /* keep hidden track of what the current id are */ + fprintf(stdout, (const char*)getResourceString(DBT_MAIN_HIDDEN_TRACK), id); + } + else if(directive_is(line, "ID_TITLE")) { + fprintf(stdout, (const char*)getResourceString(DBT_MAIN_ID_TITLE), id); + } + else if(directive_is(line, "ACCESS_LOG")) { + FILE *cmd; + char full_path[PATH_MAX]; #ifdef AIX - fflush(stdout); + fflush(stdout); #endif - if (!file || !*file || - !util_is_valid_path_string(file) || - !util_verify_file_or_dir(logdir, PR_FILE_DIRECTORY, file, -1, PR_FILE_FILE)) { - continue; - } - - PR_snprintf(full_path, sizeof(full_path), "%s%c%s", logdir, FILE_PATHSEP, file); - form_unescape(full_path); /* bug 27409, 31807 */ - cmd = fopen(full_path, "r"); - fprintf(stdout, getResourceString(DBT_MAIN_WIDTH)); - PR_snprintf(tmp, sizeof(tmp), getResourceString(DBT_SUBTITLE), num, file, (str)? getResourceString(DBT_WITH) : "", - (str)? str : ""); - - fprintf(stdout, (const char*)getResourceString(DBT_MAIN_TABLE), - tmp); - - /* begin search */ - if(cmd) { - search_file(cmd, atoi(num), str); - fclose(cmd); - } - } else - fputs(line, stdout); - } + if (!file || !*file || + !util_is_valid_path_string(file) || + !util_verify_file_or_dir(logdir, PR_FILE_DIRECTORY, file, -1, PR_FILE_FILE)) { + continue; + } + + PR_snprintf(full_path, sizeof(full_path), "%s%c%s", logdir, FILE_PATHSEP, file); + form_unescape(full_path); /* bug 27409, 31807 */ + cmd = fopen(full_path, "r"); + fprintf(stdout, getResourceString(DBT_MAIN_WIDTH)); + PR_snprintf(tmp, sizeof(tmp), getResourceString(DBT_SUBTITLE), num, file, (str)? getResourceString(DBT_WITH) : "", + (str)? str : ""); + + fprintf(stdout, (const char*)getResourceString(DBT_MAIN_TABLE), tmp); + + /* begin search */ + if(cmd) { + search_file(cmd, atoi(num), str); + fclose(cmd); + } + } else + fputs(line, stdout); + } + } + } else { + /* only print the raw log content */ + FILE *cmd; + char full_path[PATH_MAX]; + +#ifdef AIX + fflush(stdout); +#endif + if (file || *file || util_is_valid_path_string(file) || + util_verify_file_or_dir(logdir, PR_FILE_DIRECTORY, file, -1, PR_FILE_FILE)) { + PR_snprintf(full_path, sizeof(full_path), "%s%c%s", logdir, FILE_PATHSEP, file); + form_unescape(full_path); /* bug 27409, 31807 */ + cmd = fopen(full_path, "r"); + + /* begin search */ + if(cmd) { + search_file(cmd, atoi(num), str); + fclose(cmd); + } + } } return 0; Index: viewlog.properties =================================================================== RCS file: /cvs/dirsec/adminserver/admserv/cgi-src40/viewlog.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- viewlog.properties 9 May 2007 00:26:30 -0000 1.4 +++ viewlog.properties 27 Jun 2007 22:24:59 -0000 1.5 @@ -34,6 +34,8 @@ viewlog9 { "Cannot find directories based on server id %s. You may need to start the configuration directory server." } viewlog10 { "No server id specified." } viewlog11 { "Please specify a server id." } +viewlog12 { "Invalid nohtml option." } +viewlog13 { "The nohtml option should be 0 or 1." } viewlog20 { "