/*
* Copyright 1995, 2002 Perforce Software. All rights reserved.
*
* This file is part of Perforce - the FAST SCM System.
*/
# include <stdhdrs.h>
# include <strbuf.h>
# include "ident.h"
# if defined( USE_SSL ) && !defined( OPENSSL_VERSION_TEXT )
extern "C"
{ // OpenSSL
# include "openssl/opensslv.h"
}
# endif //USE_SSL
# if defined( USE_OPENLDAP ) && !defined( SASL_VERSION_FULL )
extern "C"
{ // CyrusSASL
# include "sasl/sasl.h"
}
# endif //USE_OPENLDAP && !SASL_VERSION_FULL
# if defined( USE_OPENLDAP ) && !defined( LDAP_VENDOR_VERSION_MAJOR )
extern "C"
{ // OpenLDAP
# include "ldap.h"
}
# endif //USE_OPENLDAP && !LDAP_VENDOR_VERSION_MAJOR
void
Ident::GetMessage( StrBuf *s, int isServer )
{
s->Clear();
*s << "Perforce - The Fast Software Configuration Management System.\n";
*s << "Copyright 1995-" ID_Y " Perforce Software. All rights reserved.\n";
# if defined( OS_NT ) || defined( OS_LINUX )
// Add credit for Smartheap memory manager
if( isServer )
*s << "Portions copyright 1991-2005 Compuware Corporation.\n";
# endif
# ifdef USE_SSL
*s << "This product includes software developed by the OpenSSL Project\n";
*s << "for use in the OpenSSL Toolkit (http://www.openssl.org/)\n";
*s << "See 'p4 help legal' for full OpenSSL license information\n";
*s << "Version of OpenSSL Libraries: " << OPENSSL_VERSION_TEXT << "\n";
# endif //USE_SSL
# ifdef USE_OPENLDAP
*s << "This product includes software developed by the OpenLDAP Foundation\n";
*s << " (http://www.openldap.org/)\n";
*s << "This product includes software developed by Computing Services\n";
*s << "at Carnegie Mellon University: Cyrus SASL (http://www.cmu.edu/computing/)\n";
*s << "See 'p4 help legal' for full Cyrus SASL and OpenLDAP license information\n";
*s << "Version of OpenLDAP Libraries: " << LDAP_VENDOR_VERSION_MAJOR << "."
<< LDAP_VENDOR_VERSION_MINOR << "." << LDAP_VENDOR_VERSION_PATCH << "\n";
*s << "Version of Cyrus SASL Libraries: " << SASL_VERSION_MAJOR << "."
<< SASL_VERSION_MINOR << "." << SASL_VERSION_STEP << "\n";
# endif //USE_OPENLDAP
*s << "Rev. " << GetIdent() << " (" << GetDate() << ").\n";
}
# |
Change |
User |
Description |
Committed |
|
#1
|
19472 |
Liz Lam |
Initial add of the 2016.1 p4/p4api source code. |
|
|