Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
OpenWBEM is an enterprise-grade open-source implementation of WBEM,
written in C++, suitable for commercial and non-commercial
applications. It provides a foundation for development of management
frameworks that overcome cross-platform barriers and empower true
interoperability. Developers can use OpenWBEM as a management agent
and WBEM framework to provide applications for configuration and
change management, system health monitoring, and enterprise-wide
management functionality.
+87
View File
@@ -0,0 +1,87 @@
# $NetBSD: Makefile,v 1.6 2013/05/31 12:41:35 wiz Exp $
DISTNAME= openwbem-3.2.2
PKGREVISION= 2
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openwbem/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openwbem.org/
COMMENT= Web-based Enterprise Management software
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ac_cv_path_TRUE_PATHNAME=true ac_cv_path_FALSE_PATHNAME=false
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES+= c c++
INSTALLATION_DIRS+= etc/openwbem include/openwbem var/openwbem
INSTALLATION_DIRS+= share/openwbem lib/openwbem share/examples/openwbem
INSTALLATION_DIRS+= lib/openwbem/services lib/openwbem/requesthandlers
INSTALLATION_DIRS+= lib/openwbem/provifcs lib/openwbem/c++providers
INSTALLATION_DIRS+= lib/authentication
PKG_SYSCONFSUBDIR= openwbem
EGDIR= ${PREFIX}/share/examples/openwbem
CONF_FILES+= ${EGDIR}/openwbem.conf \
${PKG_SYSCONFDIR}/openwbem.conf
CONF_FILES+= ${EGDIR}/owgencert \
${PKG_SYSCONFDIR}/owgencert
CONF_FILES+= ${EGDIR}/ssleay.cnf \
${PKG_SYSCONFDIR}/ssleay.cnf
SUBST_CLASSES+= mkdir
SUBST_STAGE.mkdir= pre-configure
SUBST_FILES.mkdir= ${WRKSRC}/db/db/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/mof/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/wql/common/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/wql/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/xml/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/http/client/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/http/common/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/provideragent/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providerifcs/cpp/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providerifcs/npi/common/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providerifcs/npi/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providerifcs/cmpi/common/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providerifcs/cmpi/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providerifcs/perl/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providerifcs/remote/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/repositories/hdb/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/repositories/tdbcr/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/cimom/embedded/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/cimom/common/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/cimom/server/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/cimom/indication/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/client/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/common/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/authorizers/simple2/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/authorizers/simple/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/authenticators/aix/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/authenticators/pam/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/authenticators/pamcl/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/authenticators/nonauthenticating/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/authenticators/simple/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/services/http/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/provider/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/requesthandlers/binary/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/requesthandlers/cimxml/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/cimxmllistener/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/polled/slp/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/polled/unloader/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/indicationexport/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/indication/IndicationRepLayer/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/CIM_Namespace/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/OpenWBEM_UnitaryComputerSystem/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/CIM_IndicationSubscription/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/OpenWBEM_ObjectManager/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/OW_NameSpace/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/CIM_IndicationFilter/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/CIM_NamespaceInManager/Makefile.in
SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/OpenWBEM_ConfigSettingData/Makefile.in
SUBST_SED.mkdir= -e "s|\$$(INSTALL_PROGRAM) -d|\$${mkdir_p}|g"
SUBST_MESSAGE.mkdir= Fixing ${INSTALL_PROGRAM} -d lines (the -s does not interoperate with -d)
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+481
View File
@@ -0,0 +1,481 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 21:00:05 joerg Exp $
bin/owcimindicationlistener
bin/owcreatenamespace
bin/owdeletenamespace
bin/owenumclasses
bin/owenumclassnames
bin/owenumnamespace
bin/owenumqualifiers
bin/owexecwql
bin/owgetclass
bin/owmofc
share/examples/openwbem/openwbem.conf
share/examples/openwbem/owgencert
share/examples/openwbem/ssleay.cnf
include/openwbem/CmpiArgs.h
include/openwbem/CmpiArray.h
include/openwbem/CmpiAssociationMI.h
include/openwbem/CmpiBaseMI.h
include/openwbem/CmpiBroker.h
include/openwbem/CmpiContext.h
include/openwbem/CmpiData.h
include/openwbem/CmpiDateTime.h
include/openwbem/CmpiEnumeration.h
include/openwbem/CmpiIndicationMI.h
include/openwbem/CmpiInstance.h
include/openwbem/CmpiInstanceMI.h
include/openwbem/CmpiMethodMI.h
include/openwbem/CmpiObject.h
include/openwbem/CmpiObjectPath.h
include/openwbem/CmpiPropertyMI.h
include/openwbem/CmpiProviderBase.h
include/openwbem/CmpiResult.h
include/openwbem/CmpiSelectExp.h
include/openwbem/CmpiStatus.h
include/openwbem/CmpiString.h
include/openwbem/OW_AppenderLogger.hpp
include/openwbem/OW_Array.hpp
include/openwbem/OW_ArrayFwd.hpp
include/openwbem/OW_ArrayImpl.hpp
include/openwbem/OW_Assertion.hpp
include/openwbem/OW_AssocDb.hpp
include/openwbem/OW_AssociatorProviderIFC.hpp
include/openwbem/OW_AssociatorProviderInfo.hpp
include/openwbem/OW_AtomicOps.hpp
include/openwbem/OW_AuthenticationException.hpp
include/openwbem/OW_AuthenticatorIFC.hpp
include/openwbem/OW_Authorizer2IFC.hpp
include/openwbem/OW_AuthorizerIFC.hpp
include/openwbem/OW_AutoPtr.hpp
include/openwbem/OW_Base64FormatException.hpp
include/openwbem/OW_BaseStreamBuffer.hpp
include/openwbem/OW_BinaryCIMOMHandle.hpp
include/openwbem/OW_BinarySerialization.hpp
include/openwbem/OW_Bool.hpp
include/openwbem/OW_ByteSwap.hpp
include/openwbem/OW_CIM.hpp
include/openwbem/OW_CIMBase.hpp
include/openwbem/OW_CIMClass.hpp
include/openwbem/OW_CIMClassEnumeration.hpp
include/openwbem/OW_CIMClient.hpp
include/openwbem/OW_CIMDataType.hpp
include/openwbem/OW_CIMDateTime.hpp
include/openwbem/OW_CIMElement.hpp
include/openwbem/OW_CIMErrorException.hpp
include/openwbem/OW_CIMException.hpp
include/openwbem/OW_CIMFeatures.hpp
include/openwbem/OW_CIMFlavor.hpp
include/openwbem/OW_CIMFwd.hpp
include/openwbem/OW_CIMInstance.hpp
include/openwbem/OW_CIMInstanceEnumeration.hpp
include/openwbem/OW_CIMListenerCallback.hpp
include/openwbem/OW_CIMMethod.hpp
include/openwbem/OW_CIMNULL.hpp
include/openwbem/OW_CIMName.hpp
include/openwbem/OW_CIMNameSpace.hpp
include/openwbem/OW_CIMNameSpaceUtils.hpp
include/openwbem/OW_CIMOMHandleIFC.hpp
include/openwbem/OW_CIMOMInfo.hpp
include/openwbem/OW_CIMOMLocator.hpp
include/openwbem/OW_CIMOMLocatorSLP.hpp
include/openwbem/OW_CIMObjectPath.hpp
include/openwbem/OW_CIMObjectPathEnumeration.hpp
include/openwbem/OW_CIMParamValue.hpp
include/openwbem/OW_CIMParameter.hpp
include/openwbem/OW_CIMProperty.hpp
include/openwbem/OW_CIMProtocolIFC.hpp
include/openwbem/OW_CIMProtocolIStreamIFC.hpp
include/openwbem/OW_CIMQualifier.hpp
include/openwbem/OW_CIMQualifierEnumeration.hpp
include/openwbem/OW_CIMQualifierType.hpp
include/openwbem/OW_CIMRepository.hpp
include/openwbem/OW_CIMScope.hpp
include/openwbem/OW_CIMUrl.hpp
include/openwbem/OW_CIMValue.hpp
include/openwbem/OW_CIMValueCast.hpp
include/openwbem/OW_CIMXMLCIMOMHandle.hpp
include/openwbem/OW_CIMXMLListener.hpp
include/openwbem/OW_CIMXMLListenerFwd.hpp
include/openwbem/OW_CIMXMLParser.hpp
include/openwbem/OW_CIMtoXML.hpp
include/openwbem/OW_COWIntrusiveCountableBase.hpp
include/openwbem/OW_COWIntrusiveReference.hpp
include/openwbem/OW_COWReference.hpp
include/openwbem/OW_COWReferenceBase.hpp
include/openwbem/OW_Cache.hpp
include/openwbem/OW_CerrAppender.hpp
include/openwbem/OW_CerrLogger.hpp
include/openwbem/OW_Char16.hpp
include/openwbem/OW_CimomCommonFwd.hpp
include/openwbem/OW_CimomServerFwd.hpp
include/openwbem/OW_ClientAuthCBIFC.hpp
include/openwbem/OW_ClientCIMOMHandle.hpp
include/openwbem/OW_ClientCIMOMHandleConnectionPool.hpp
include/openwbem/OW_ClientFwd.hpp
include/openwbem/OW_CmdLineParser.hpp
include/openwbem/OW_CommonFwd.hpp
include/openwbem/OW_Condition.hpp
include/openwbem/OW_ConfigException.hpp
include/openwbem/OW_ConfigFile.hpp
include/openwbem/OW_ConfigOpts.hpp
include/openwbem/OW_CppAssociatorProviderIFC.hpp
include/openwbem/OW_CppIndicationExportProviderIFC.hpp
include/openwbem/OW_CppIndicationProviderIFC.hpp
include/openwbem/OW_CppInstanceProviderIFC.hpp
include/openwbem/OW_CppMethodProviderIFC.hpp
include/openwbem/OW_CppPolledProviderIFC.hpp
include/openwbem/OW_CppProviderBaseIFC.hpp
include/openwbem/OW_CppProviderIncludes.hpp
include/openwbem/OW_CppReadOnlyInstanceProviderIFC.hpp
include/openwbem/OW_CppSecondaryInstanceProviderIFC.hpp
include/openwbem/OW_CppSimpleAssociatorProviderIFC.hpp
include/openwbem/OW_CppSimpleInstanceProviderIFC.hpp
include/openwbem/OW_CryptographicRandomNumber.hpp
include/openwbem/OW_DataStreams.hpp
include/openwbem/OW_DateTime.hpp
include/openwbem/OW_EmbeddedCIMOMEnvironment.hpp
include/openwbem/OW_Enumeration.hpp
include/openwbem/OW_EnumerationException.hpp
include/openwbem/OW_EnvVars.hpp
include/openwbem/OW_Exception.hpp
include/openwbem/OW_ExceptionIds.hpp
include/openwbem/OW_Exec.hpp
include/openwbem/OW_File.hpp
include/openwbem/OW_FileAppender.hpp
include/openwbem/OW_FileSystem.hpp
include/openwbem/OW_Format.hpp
include/openwbem/OW_FuncNamePrinter.hpp
include/openwbem/OW_GenericHDBRepository.hpp
include/openwbem/OW_GetPass.hpp
include/openwbem/OW_HDB.hpp
include/openwbem/OW_HDBCommon.hpp
include/openwbem/OW_HDBNode.hpp
include/openwbem/OW_HTTPChunkException.hpp
include/openwbem/OW_HTTPChunkedIStream.hpp
include/openwbem/OW_HTTPChunkedOStream.hpp
include/openwbem/OW_HTTPClient.hpp
include/openwbem/OW_HTTPCounter.hpp
include/openwbem/OW_HTTPDeflateIStream.hpp
include/openwbem/OW_HTTPDeflateOStream.hpp
include/openwbem/OW_HTTPException.hpp
include/openwbem/OW_HTTPLenLimitIStream.hpp
include/openwbem/OW_HTTPStatusCodes.hpp
include/openwbem/OW_HTTPUtils.hpp
include/openwbem/OW_HTTPXMLCIMListener.hpp
include/openwbem/OW_HashMap.hpp
include/openwbem/OW_HashMultiMap.hpp
include/openwbem/OW_HttpCommonFwd.hpp
include/openwbem/OW_IOException.hpp
include/openwbem/OW_IOIFC.hpp
include/openwbem/OW_IOIFCStreamBuffer.hpp
include/openwbem/OW_IfcsFwd.hpp
include/openwbem/OW_Index.hpp
include/openwbem/OW_IndicationExportProviderIFC.hpp
include/openwbem/OW_IndicationProviderIFC.hpp
include/openwbem/OW_IndicationProviderInfo.hpp
include/openwbem/OW_InstanceProviderIFC.hpp
include/openwbem/OW_InstanceProviderInfo.hpp
include/openwbem/OW_InstanceRepository.hpp
include/openwbem/OW_IntrusiveCountableBase.hpp
include/openwbem/OW_IntrusiveReference.hpp
include/openwbem/OW_IstreamBufIterator.hpp
include/openwbem/OW_List.hpp
include/openwbem/OW_ListenerAuthenticator.hpp
include/openwbem/OW_LocalEmbeddedCIMOMHandle.hpp
include/openwbem/OW_LogAppender.hpp
include/openwbem/OW_LogLevel.hpp
include/openwbem/OW_LogMessage.hpp
include/openwbem/OW_LogMessagePatternFormatter.hpp
include/openwbem/OW_Logger.hpp
include/openwbem/OW_MD5.hpp
include/openwbem/OW_MOFCIMOMVisitor.hpp
include/openwbem/OW_MOFCompiler.hpp
include/openwbem/OW_MOFGrammar.hpp
include/openwbem/OW_MOFLineInfo.hpp
include/openwbem/OW_MOFParserDecls.hpp
include/openwbem/OW_MOFParserErrorHandlerIFC.hpp
include/openwbem/OW_MOFVisitor.hpp
include/openwbem/OW_Map.hpp
include/openwbem/OW_MemTracer.hpp
include/openwbem/OW_MetaRepository.hpp
include/openwbem/OW_MethodProviderIFC.hpp
include/openwbem/OW_MethodProviderInfo.hpp
include/openwbem/OW_Mutex.hpp
include/openwbem/OW_MutexImpl.hpp
include/openwbem/OW_MutexLock.hpp
include/openwbem/OW_NULLValueException.hpp
include/openwbem/OW_NetwareIdentity.hpp
include/openwbem/OW_NetworkTypes.hpp
include/openwbem/OW_NoSuchPropertyException.hpp
include/openwbem/OW_NoSuchProviderException.hpp
include/openwbem/OW_NoSuchQualifierException.hpp
include/openwbem/OW_NonRecursiveMutex.hpp
include/openwbem/OW_NonRecursiveMutexImpl.hpp
include/openwbem/OW_NonRecursiveMutexLock.hpp
include/openwbem/OW_NullAppender.hpp
include/openwbem/OW_NullLogger.hpp
include/openwbem/OW_NwIface.hpp
include/openwbem/OW_OperationContext.hpp
include/openwbem/OW_Param.hpp
include/openwbem/OW_PolledProviderIFC.hpp
include/openwbem/OW_PosixUnnamedPipe.hpp
include/openwbem/OW_ProviderAgent.hpp
include/openwbem/OW_ProviderAgentFwd.hpp
include/openwbem/OW_ProviderAgentLifecycleCallbackIFC.hpp
include/openwbem/OW_ProviderAgentLockerIFC.hpp
include/openwbem/OW_ProviderBaseIFC.hpp
include/openwbem/OW_ProviderEnvironmentIFC.hpp
include/openwbem/OW_ProviderFwd.hpp
include/openwbem/OW_ProviderIFCBaseIFC.hpp
include/openwbem/OW_ProviderInfoBase.hpp
include/openwbem/OW_ProviderRegistrationEnvironmentIFC.hpp
include/openwbem/OW_RWLocker.hpp
include/openwbem/OW_RandomNumber.hpp
include/openwbem/OW_RefCount.hpp
include/openwbem/OW_Reference.hpp
include/openwbem/OW_ReferenceBase.hpp
include/openwbem/OW_RepositoryCIMOMHandle.hpp
include/openwbem/OW_RepositoryIFC.hpp
include/openwbem/OW_RequestHandlerIFC.hpp
include/openwbem/OW_RequestHandlerIFCXML.hpp
include/openwbem/OW_ResultHandlerIFC.hpp
include/openwbem/OW_ResultHandlers.hpp
include/openwbem/OW_Runnable.hpp
include/openwbem/OW_SSLCtxMgr.hpp
include/openwbem/OW_SSLException.hpp
include/openwbem/OW_SSLSocketImpl.hpp
include/openwbem/OW_SafeLibCreate.hpp
include/openwbem/OW_SecondaryInstanceProviderIFC.hpp
include/openwbem/OW_SecondaryInstanceProviderInfo.hpp
include/openwbem/OW_Select.hpp
include/openwbem/OW_SelectEngine.hpp
include/openwbem/OW_SelectableCallbackIFC.hpp
include/openwbem/OW_SelectableIFC.hpp
include/openwbem/OW_Semaphore.hpp
include/openwbem/OW_SerializableIFC.hpp
include/openwbem/OW_ServerSocket.hpp
include/openwbem/OW_ServerSocketImpl.hpp
include/openwbem/OW_ServiceEnvironmentIFC.hpp
include/openwbem/OW_ServiceIFC.hpp
include/openwbem/OW_ServiceIFCNames.hpp
include/openwbem/OW_ServicesHttpFwd.hpp
include/openwbem/OW_SessionLanguage.hpp
include/openwbem/OW_SharedLibrary.hpp
include/openwbem/OW_SharedLibraryException.hpp
include/openwbem/OW_SharedLibraryLoader.hpp
include/openwbem/OW_SharedLibraryReference.hpp
include/openwbem/OW_SignalScope.hpp
include/openwbem/OW_Socket.hpp
include/openwbem/OW_SocketAddress.hpp
include/openwbem/OW_SocketBaseImpl.hpp
include/openwbem/OW_SocketException.hpp
include/openwbem/OW_SocketFlags.hpp
include/openwbem/OW_SocketImpl.hpp
include/openwbem/OW_SocketStreamBuffer.hpp
include/openwbem/OW_SocketUtils.hpp
include/openwbem/OW_SortedVectorMap.hpp
include/openwbem/OW_SortedVectorSet.hpp
include/openwbem/OW_Stack.hpp
include/openwbem/OW_StackTrace.hpp
include/openwbem/OW_StrictWeakOrdering.hpp
include/openwbem/OW_String.hpp
include/openwbem/OW_StringBuffer.hpp
include/openwbem/OW_StringEnumeration.hpp
include/openwbem/OW_StringStream.hpp
include/openwbem/OW_SyslogAppender.hpp
include/openwbem/OW_System.hpp
include/openwbem/OW_TempFileEnumerationImplBase.hpp
include/openwbem/OW_TempFileStream.hpp
include/openwbem/OW_Thread.hpp
include/openwbem/OW_ThreadBarrier.hpp
include/openwbem/OW_ThreadCancelledException.hpp
include/openwbem/OW_ThreadCounter.hpp
include/openwbem/OW_ThreadDoneCallback.hpp
include/openwbem/OW_ThreadImpl.hpp
include/openwbem/OW_ThreadOnce.hpp
include/openwbem/OW_ThreadPool.hpp
include/openwbem/OW_ThreadTypes.hpp
include/openwbem/OW_TimeoutException.hpp
include/openwbem/OW_TmpFile.hpp
include/openwbem/OW_Types.hpp
include/openwbem/OW_URL.hpp
include/openwbem/OW_UTF8Utils.hpp
include/openwbem/OW_UUID.hpp
include/openwbem/OW_UnnamedPipe.hpp
include/openwbem/OW_UserInfo.hpp
include/openwbem/OW_UserUtils.hpp
include/openwbem/OW_WBEMFlags.hpp
include/openwbem/OW_WQLAst.hpp
include/openwbem/OW_WQLCompile.hpp
include/openwbem/OW_WQLIFC.hpp
include/openwbem/OW_WQLImpl.hpp
include/openwbem/OW_WQLInstancePropertySource.hpp
include/openwbem/OW_WQLOperand.hpp
include/openwbem/OW_WQLOperation.hpp
include/openwbem/OW_WQLPropertySource.hpp
include/openwbem/OW_WQLScanUtils.hpp
include/openwbem/OW_WQLSelectStatement.hpp
include/openwbem/OW_WQLVisitor.hpp
include/openwbem/OW_XMLAttribute.hpp
include/openwbem/OW_XMLCIMFactory.hpp
include/openwbem/OW_XMLClass.hpp
include/openwbem/OW_XMLEscape.hpp
include/openwbem/OW_XMLFwd.hpp
include/openwbem/OW_XMLListener.hpp
include/openwbem/OW_XMLNode.hpp
include/openwbem/OW_XMLOperationGeneric.hpp
include/openwbem/OW_XMLParseException.hpp
include/openwbem/OW_XMLParserCore.hpp
include/openwbem/OW_XMLParserDOM.hpp
include/openwbem/OW_XMLParserSAX.hpp
include/openwbem/OW_XMLPrettyPrint.hpp
include/openwbem/OW_XMLPullParser.hpp
include/openwbem/OW_XMLQualifier.hpp
include/openwbem/OW_XMLUnescape.hpp
include/openwbem/OW_config.h
include/openwbem/OW_dlSharedLibrary.hpp
include/openwbem/OW_dlSharedLibraryLoader.hpp
include/openwbem/OW_dyldSharedLibrary.hpp
include/openwbem/OW_dyldSharedLibraryLoader.hpp
include/openwbem/OW_shlSharedLibrary.hpp
include/openwbem/OW_shlSharedLibraryLoader.hpp
include/openwbem/OW_vector.hpp
include/openwbem/cmpiThreadContext.h
include/openwbem/cmpidt.h
include/openwbem/cmpift.h
include/openwbem/cmpimacs.h
include/openwbem/cmpios.h
include/openwbem/cmpisrv.h
lib/libcmpisupport.a
lib/libcmpisupport.so
lib/libcmpisupport.so.4
lib/libnonauthenticatingauthentication.so
lib/libnonauthenticatingauthentication.so.4
lib/libnpisupport.a
lib/libnpisupport.so
lib/libnpisupport.so.4
lib/libopenwbem.a
lib/libopenwbem.so
lib/libopenwbem.so.4
lib/libowcimomcommon.a
lib/libowcimomcommon.so
lib/libowcimomcommon.so.4
lib/libowcimxmllistener.a
lib/libowcimxmllistener.so
lib/libowcimxmllistener.so.4
lib/libowclient.a
lib/libowclient.so
lib/libowclient.so.4
lib/libowcppprovifc.a
lib/libowcppprovifc.so
lib/libowcppprovifc.so.4
lib/libowdb.a
lib/libowdb.so
lib/libowdb.so.4
lib/libowembeddedcimom.a
lib/libowembeddedcimom.so
lib/libowembeddedcimom.so.4
lib/libowhttpclient.a
lib/libowhttpclient.so
lib/libowhttpclient.so.4
lib/libowhttpcommon.a
lib/libowhttpcommon.so
lib/libowhttpcommon.so.4
lib/libowhttpxmllistener.a
lib/libowhttpxmllistener.so
lib/libowhttpxmllistener.so.4
lib/libowmofc.a
lib/libowmofc.so
lib/libowmofc.so.4
lib/libowprovider.a
lib/libowprovider.so
lib/libowprovider.so.4
lib/libowprovideragent.a
lib/libowprovideragent.so
lib/libowprovideragent.so.4
lib/libowrepositoryhdb.a
lib/libowrepositoryhdb.so
lib/libowrepositoryhdb.so.4
lib/libowrequesthandlerbinary.so
lib/libowrequesthandlerbinary.so.4
lib/libowrequesthandlercimxml.so
lib/libowrequesthandlercimxml.so.4
lib/libowserver.a
lib/libowserver.so
lib/libowserver.so.4
lib/libowservicehttp.a
lib/libowservicehttp.so
lib/libowservicehttp.so.4
lib/libowwql.a
lib/libowwql.so
lib/libowwql.so.4
lib/libowwqlcommon.a
lib/libowwqlcommon.so
lib/libowwqlcommon.so.4
lib/libowxml.a
lib/libowxml.so
lib/libowxml.so.4
lib/libpamauthentication.so
lib/libpamauthentication.so.4
lib/libpamclauthentication.so
lib/libpamclauthentication.so.4
lib/libsimpleauthentication.so
lib/libsimpleauthentication.so.4
lib/openwbem/authentication/libnonauthenticatingauthentication.so
lib/openwbem/authentication/libpamauthentication.so
lib/openwbem/authentication/libpamclauthentication.so
lib/openwbem/authentication/libsimpleauthentication.so
lib/openwbem/c++providers/libcppindicationexportxmlhttpprovider.so
lib/openwbem/c++providers/libcppindicationexportxmlhttpprovider.so.4
lib/openwbem/c++providers/libowprovCIM_IndicationSubscription.so
lib/openwbem/c++providers/libowprovCIM_IndicationSubscription.so.4
lib/openwbem/c++providers/libowprovindIndicationRepLayer.so
lib/openwbem/c++providers/libowprovindIndicationRepLayer.so.4
lib/openwbem/c++providers/libowprovinstCIM_IndicationFilter.so
lib/openwbem/c++providers/libowprovinstCIM_IndicationFilter.so.4
lib/openwbem/c++providers/libowprovinstCIM_Namespace.so
lib/openwbem/c++providers/libowprovinstCIM_Namespace.so.4
lib/openwbem/c++providers/libowprovinstCIM_NamespaceInManager.so
lib/openwbem/c++providers/libowprovinstCIM_NamespaceInManager.so.4
lib/openwbem/c++providers/libowprovinstOW_NameSpace.so
lib/openwbem/c++providers/libowprovinstOW_NameSpace.so.4
lib/openwbem/c++providers/libowprovinstOpenWBEM_ConfigSettingData.so
lib/openwbem/c++providers/libowprovinstOpenWBEM_ConfigSettingData.so.4
lib/openwbem/c++providers/libowprovinstOpenWBEM_ObjectManager.so
lib/openwbem/c++providers/libowprovinstOpenWBEM_ObjectManager.so.4
lib/openwbem/c++providers/libowprovinstOpenWBEM_UnitaryComputerSystem.so
lib/openwbem/c++providers/libowprovinstOpenWBEM_UnitaryComputerSystem.so.4
lib/openwbem/c++providers/libowprovpollUnloader.so
lib/openwbem/c++providers/libowprovpollUnloader.so.4
lib/openwbem/libowindicationreplayer.so
lib/openwbem/libowindicationreplayer.so.4
lib/openwbem/libowindicationserver.so
lib/openwbem/libowindicationserver.so.4
lib/openwbem/libowsimpleauthorizer.so
lib/openwbem/libowsimpleauthorizer.so.4
lib/openwbem/libowsimpleauthorizer2.so
lib/openwbem/libowsimpleauthorizer2.so.4
lib/openwbem/provifcs/libcmpiprovifc.so
lib/openwbem/provifcs/libcmpiprovifc.so.4
lib/openwbem/provifcs/libnpiprovifc.so
lib/openwbem/provifcs/libnpiprovifc.so.4
lib/openwbem/provifcs/libowremoteprovifc.so
lib/openwbem/provifcs/libowremoteprovifc.so.4
lib/openwbem/requesthandlers/libowrequesthandlerbinary.so
lib/openwbem/requesthandlers/libowrequesthandlercimxml.so
lib/openwbem/services/libowservicehttp.so
libexec/openwbem/OW_PAMAuth
libexec/openwbem/owlocalhelper
man/man1/owexecwql.1
man/man1/owmofc.1
man/man8/owcimomd.8
man/man8/owdigestgenpass.8
sbin/owcimomd
sbin/owcimomd_init
sbin/owdigestgenpass
sbin/owprovideragent
sbin/owrepositorydump
share/aclocal/openwbem.m4
share/openwbem/OpenWBEM_Acl1.0.mof
share/openwbem/OpenWBEM_Interop.mof
@pkgdir var/openwbem
+33
View File
@@ -0,0 +1,33 @@
$NetBSD: distinfo,v 1.6 2013/05/23 14:58:09 joerg Exp $
SHA1 (openwbem-3.2.2.tar.gz) = 3272e5cbcfb2a864cccf71e15e0da0f6623420bb
RMD160 (openwbem-3.2.2.tar.gz) = 31ce8c80d47ff7539315e3978b8c1c493bd17f35
Size (openwbem-3.2.2.tar.gz) = 2919455 bytes
SHA1 (patch-aa) = 33cd8d21ed698b511fc662686a7bf7abbf85c232
SHA1 (patch-ab) = c83f632376f12d7378b1f013a0db5d4ae63f15bf
SHA1 (patch-ac) = ea2f928b13eaef464e133b0e510fa4b8cfee95b9
SHA1 (patch-ad) = e8b7c3a3b7fbab6052a9e866c8a1c9f1653db590
SHA1 (patch-ae) = a9d923bdf6e52acff83588605f2913b196c92038
SHA1 (patch-src_authenticators_pam_OW__PAMAuthentication.cpp) = f3dd3bf3b2c4848c928f0909653eb2488a1f3a39
SHA1 (patch-src_cim_OW__CIMDateTime.cpp) = 186db29470cbe526c4e18aca13604ab578b3bad3
SHA1 (patch-src_cimom_server_OW__Platform.cpp) = f7a2f848f565c0c33810bc90ff1455598c024769
SHA1 (patch-src_cimom_server_OW__PlatformSignal.cpp) = f6d2427d1a2f0bce8cbbc558583bd7d429cfc515
SHA1 (patch-src_common_OW__COWReference.hpp) = f67f64de56a8745d24a0d738b9c546f5edf249d8
SHA1 (patch-src_common_OW__CommonFwd.hpp) = 1f1a721f7da14eb0d4ac08f56f1b8086e9d5795a
SHA1 (patch-src_common_OW__HashMap.hpp) = 37475181bf6e979bde55ef717f14ce62ab730aed
SHA1 (patch-src_common_OW__HashMultiMap.hpp) = 3d94543356bf0837996a9faf4075ccc6965bd462
SHA1 (patch-src_common_OW__List.hpp) = e106aca83db05b484ad573cb8da889453321836f
SHA1 (patch-src_common_OW__LogMessagePatternFormatter.cpp) = 8566874493e1c5def31dd0e27d42b65c6f3f3ff8
SHA1 (patch-src_common_OW__PosixFile.cpp) = 865435218984a3106229cb74e72af1d6b29625db
SHA1 (patch-src_common_OW__SharedLibraryReference.hpp) = 3b3ebb250fe602a93ef53915a232fa9919bec7b2
SHA1 (patch-src_common_OW__Stack.hpp) = d63effa7cd81e6671611929edf46f8ba206d9588
SHA1 (patch-src_common_OW__StackTrace.cpp) = 14e3dbdaea069c5ae47d9e06f7e337dd74110b88
SHA1 (patch-src_common_socket_OW__SocketAddress.cpp) = 64af2ecb1f5164bacef823d5769a52c513470db1
SHA1 (patch-src_mof_OW__MOFCompiler.cpp) = bc90a3864f40c535785100e911204221da51403b
SHA1 (patch-src_mof_OW__MOFCompiler.hpp) = 520e8cadaa586a4c4ab17b10d099b33fb539f893
SHA1 (patch-src_providerifcs_cmpi_common_cmpiBrokerEnc.cpp) = c5cf33a0c9be47f064d3300e067fc1aa08609145
SHA1 (patch-src_providerifcs_cmpi_common_cmpiInstance.cpp) = 98d65bcc930c10125d709077f5cb5156f22653fb
SHA1 (patch-src_providerifcs_npi_OW__FTABLERef.hpp) = b05ffdf130bfd4fe94e818ad4a66bb763afea1e7
SHA1 (patch-src_providerifcs_npi_common_NPIExternal.hpp) = 7b719d1111b2a2f8da8a12fc1da169645ffcf45a
SHA1 (patch-src_providerifcs_remote_OW__RemoteProviderInterface.cpp) = c786b848ca905cd5a7cc664597b9836ac3e09cda
SHA1 (patch-src_repositories_hdb_OW__AssocDb.hpp) = a25f7372b2fc0f28f5eb994a705de5c61b519627
+84
View File
@@ -0,0 +1,84 @@
$NetBSD: patch-aa,v 1.2 2007/12/27 18:54:19 joerg Exp $
--- configure.orig 2006-10-19 23:08:04.000000000 +0000
+++ configure
@@ -4590,7 +4590,7 @@ _ACEOF
#define HPUX 1
_ACEOF
- LIBS="$LIBS -lxnet -lpthread -lrt"
+ LIBS="$LIBS -lxnet ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -lrt"
PLAT_CFLAGS="+Z -mt -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
PLAT_CXXFLAGS="-AA +Z -mt +p -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__HPACC_THREAD_SAFE_RB_TREE"
CPPFLAGS="-AA $CPPFLAGS" # need this so the configure tests work right.
@@ -4614,9 +4614,9 @@ _ACEOF
PLAT_CFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe"
PLAT_CXXFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe"
CXXCOMMONLINKFLAGS=""
- CXXBINLINKFLAGS="-Wl,-Bdynamic -lpthread -Wl,-E $LDFLAGS"
- CBINLINKFLAGS="-Wl,-Bdynamic -lpthread $LDFLAGS"
- CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) -lpthread'
+ CXXBINLINKFLAGS="-Wl,-Bdynamic ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -Wl,-E $LDFLAGS"
+ CBINLINKFLAGS="-Wl,-Bdynamic ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LDFLAGS"
+ CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}'
PLAT_OPTFLAGS="-O3"
PIDFILE_DIR="/var/run"
LIB_EXT="so"
@@ -4652,8 +4652,20 @@ _ACEOF
PLAT_CXXFLAGS="-DEXPERIMENTAL"
LIBS="$LIBS -lnetware"
;;
-#*-*-netbsd*)
-# ;;
+*-*-netbsd*)
+ cat >>confdefs.h <<\_ACEOF
+#define NETBSD 1
+_ACEOF
+
+ PLAT_CFLAGS="-fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS"
+ PLAT_CXXFLAGS="-fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS"
+ CXXCOMMONLINKFLAGS="-pthread"
+ CXXBINLINKFLAGS="-Wl,-Bdynamic -Wl,-E $LDFLAGS"
+ CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION)'
+ PLAT_OPTFLAGS="-O3"
+ PIDFILE_DIR="/var/run"
+ LIB_EXT="so"
+ ;;
*-*-freebsd*)
cat >>confdefs.h <<\_ACEOF
#define FREEBSD 1
@@ -4694,9 +4706,9 @@ echo "$as_me: WARNING: *****************
PLAT_CFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe"
PLAT_CXXFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe"
CXXCOMMONLINKFLAGS=""
- CXXBINLINKFLAGS="-Wl,-Bdynamic -lpthread -Wl,-E $LDFLAGS"
- CBINLINKFLAGS="-Wl,-Bdynamic -lpthread $LDFLAGS"
- CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) -lpthread'
+ CXXBINLINKFLAGS="-Wl,-Bdynamic ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -Wl,-E $LDFLAGS"
+ CBINLINKFLAGS="-Wl,-Bdynamic ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LDFLAGS"
+ CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}'
PLAT_OPTFLAGS="-O3"
PIDFILE_DIR="/var/run"
LIB_EXT="so"
@@ -16646,9 +16658,9 @@ main ()
{
pthread_barrier_t barrier;
- assert(pthread_barrier_init(&barrier, NULL, 1) == 0);
- assert(pthread_barrier_wait(&barrier) == PTHREAD_BARRIER_SERIAL_THREAD);
- assert(pthread_barrier_destroy(&barrier) == 0);
+ pthread_barrier_init(&barrier, NULL, 1);
+ pthread_barrier_wait(&barrier);
+ pthread_barrier_destroy(&barrier);
return 0;
;
@@ -16657,7 +16669,7 @@ main ()
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>conftest.er1
+ (eval $ac_link) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
+14
View File
@@ -0,0 +1,14 @@
$NetBSD: patch-ab,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $
--- src/common/socket/OW_NwIface.cpp 2006/02/21 21:29:16 1.1
+++ src/common/socket/OW_NwIface.cpp 2006/02/21 21:30:21
@@ -73,6 +73,9 @@
#elif defined (OW_DARWIN)
#include <net/if.h>
#include <sys/ioctl.h>
+#elif defined (__NetBSD__)
+ #include <net/if.h>
+ #include <sys/ioctl.h>
#else
#ifdef OW_HAVE_STROPTS_H
+22
View File
@@ -0,0 +1,22 @@
$NetBSD: patch-ac,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $
--- fake_library_creator.sh 2007/10/29 00:02:39 1.1
+++ fake_library_creator.sh 2007/10/29 00:03:14
@@ -94,7 +94,7 @@
fi
fi
- if [ "x$BASE_LIBNAME" == "x" ]
+ if [ "x$BASE_LIBNAME" = "x" ]
then
MINUS_NLM=`basename $FILENAME .nlm`
if [ "x$MINUS_NLM" != "x$FILENAME" ]
@@ -106,7 +106,7 @@
if [ "x$BASE_LIBNAME" != "x" ]
then
- if [ "x$LIB_EXT" == "x.nlm" ]
+ if [ "x$LIB_EXT" = "x.nlm" ]
then
IMPORT_FILE=$BASE_LIBNAME".imp"
CREATION_FUNCTION_NAME=`grep "$EXPORT_PREFIX" $IMPORT_FILE | sort -u`
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.2 2010/02/11 22:46:18 joerg Exp $
--- etc/Makefile.in 2007/10/29 14:15:16 1.1
+++ etc/Makefile.in 2007/10/29 14:17:27
@@ -235,7 +235,7 @@
target_alias = @target_alias@
SUBDIRS = init sysconfig pam.d
openwbemconf_DATA = openwbem.conf ssleay.cnf owgencert
-openwbemconfdir = $(sysconfdir)/openwbem
+openwbemconfdir = $(prefix)/share/examples/openwbem
EXTRA_DIST = openwbem.conf.sh owgencert.sh ssleay.cnf
CLEANFILES = openwbem.conf owgencert
SUFFIXES = .sh
+30
View File
@@ -0,0 +1,30 @@
$NetBSD: patch-ae,v 1.1 2007/12/27 18:54:19 joerg Exp $
--- src/common/OW_SafeLibCreate.hpp.orig 2007-12-27 16:26:28.000000000 +0000
+++ src/common/OW_SafeLibCreate.hpp
@@ -185,7 +185,11 @@ public:
}
private:
+#ifdef WIN32
static jmp_buf theLoaderBuf;
+#else
+ static sigjmp_buf theLoaderBuf;
+#endif
// this is commented out because it won't compile. As it is, it may
// invoke undefined behavior if the C calling convention is different
@@ -205,7 +209,12 @@ private:
};
template <typename T>
-jmp_buf SafeLibCreate<T>::theLoaderBuf;
+#ifdef WIN32
+jmp_buf
+#else
+sigjmp_buf
+#endif
+SafeLibCreate<T>::theLoaderBuf;
} // end namespace OW_NAMESPACE
@@ -0,0 +1,14 @@
$NetBSD: patch-src_authenticators_pam_OW__PAMAuthentication.cpp,v 1.1 2013/05/23 14:58:09 joerg Exp $
--- src/authenticators/pam/OW_PAMAuthentication.cpp.orig 2013-05-23 13:20:37.000000000 +0000
+++ src/authenticators/pam/OW_PAMAuthentication.cpp
@@ -39,7 +39,8 @@
#include "OW_AuthenticatorIFC.hpp"
#include "OW_Array.hpp"
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
#ifdef OW_GNU_LINUX
#ifdef OW_HAVE_PWD_H
@@ -0,0 +1,13 @@
$NetBSD: patch-src_cim_OW__CIMDateTime.cpp,v 1.1 2011/11/24 13:40:05 joerg Exp $
--- src/cim/OW_CIMDateTime.cpp.orig 2011-11-24 02:50:22.000000000 +0000
+++ src/cim/OW_CIMDateTime.cpp
@@ -44,6 +44,8 @@
#include "OW_Assertion.hpp"
#include <cstdio>
+#include <cstdlib>
+#include <cstring>
#if defined(OW_HAVE_ISTREAM) && defined(OW_HAVE_OSTREAM)
#include <istream>
#include <ostream>
@@ -0,0 +1,12 @@
$NetBSD: patch-src_cimom_server_OW__Platform.cpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/cimom/server/OW_Platform.cpp.orig 2013-03-25 15:28:45.000000000 +0000
+++ src/cimom/server/OW_Platform.cpp
@@ -34,6 +34,7 @@
* @author Bart Whiteley
*/
+#include <cstdlib>
#include "OW_config.h"
#include "OW_Platform.hpp"
#include "OW_ConfigOpts.hpp"
@@ -0,0 +1,12 @@
$NetBSD: patch-src_cimom_server_OW__PlatformSignal.cpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/cimom/server/OW_PlatformSignal.cpp.orig 2013-03-25 15:29:11.000000000 +0000
+++ src/cimom/server/OW_PlatformSignal.cpp
@@ -36,6 +36,7 @@
#include "OW_PlatformSignal.hpp"
#include "OW_UserUtils.hpp"
#include <ostream>
+#include <cstring>
namespace OW_NAMESPACE
{
@@ -0,0 +1,12 @@
$NetBSD: patch-src_common_OW__COWReference.hpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/common/OW_COWReference.hpp.orig 2013-03-25 15:04:13.000000000 +0000
+++ src/common/OW_COWReference.hpp
@@ -35,6 +35,7 @@
#ifndef OW_COWREFERENCE_HPP_INCLUDE_GUARD_
#define OW_COWREFERENCE_HPP_INCLUDE_GUARD_
#include "OW_config.h"
+#include "OW_vector.hpp"
#include "OW_COWReferenceBase.hpp"
namespace OW_NAMESPACE
@@ -0,0 +1,25 @@
$NetBSD: patch-src_common_OW__CommonFwd.hpp,v 1.1 2013/05/23 14:58:09 joerg Exp $
--- src/common/OW_CommonFwd.hpp.orig 2013-05-23 13:15:41.000000000 +0000
+++ src/common/OW_CommonFwd.hpp
@@ -38,19 +38,7 @@
#include "OW_ArrayFwd.hpp"
#include "OW_IntrusiveReference.hpp"
-// Yeah I know this is forbidden by the standard, but what am I gonna do? #include <algorithm> ? I think not.
-// If it causes a problem on some compiler, just #ifdef a fix in.
-#ifdef OW_WIN32
-namespace std
-{
- template <typename T> struct less;
-}
-#else
-namespace std
-{
- template <typename T> class less;
-}
-#endif
+#include <algorithm>
namespace OW_NAMESPACE
{
@@ -0,0 +1,24 @@
$NetBSD: patch-src_common_OW__HashMap.hpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/common/OW_HashMap.hpp.orig 2013-03-25 15:16:33.000000000 +0000
+++ src/common/OW_HashMap.hpp
@@ -35,14 +35,14 @@
#ifndef OW_HASH_MAP_HPP_INCLUDE_GUARD_
#define OW_HASH_MAP_HPP_INCLUDE_GUARD_
#include "OW_config.h"
-#ifdef OW_HAVE_HASH_MAP
- #include <hash_map> // hash_map is better for the cache than OW_SortedVectorMap
- #define OW_HASH_MAP_NS std
- #define HashMap std::hash_map
-#elif OW_HAVE_EXT_HASH_MAP
+#if OW_HAVE_EXT_HASH_MAP
#include <ext/hash_map> // hash_map is better for the cache than OW_SortedVectorMap
#define OW_HASH_MAP_NS __gnu_cxx
#define HashMap __gnu_cxx::hash_map
+#elif OW_HAVE_HASH_MAP
+ #include <hash_map> // hash_map is better for the cache than OW_SortedVectorMap
+ #define OW_HASH_MAP_NS std
+ #define HashMap std::hash_map
#else
#include "OW_SortedVectorMap.hpp"
#define OW_HASH_MAP_NS OW_NAMESPACE
@@ -0,0 +1,24 @@
$NetBSD: patch-src_common_OW__HashMultiMap.hpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/common/OW_HashMultiMap.hpp.orig 2013-03-25 15:16:16.000000000 +0000
+++ src/common/OW_HashMultiMap.hpp
@@ -35,14 +35,14 @@
#ifndef OW_HASH_MULTI_MAP_HPP_INCLUDE_GUARD_
#define OW_HASH_MULTI_MAP_HPP_INCLUDE_GUARD_
#include "OW_config.h"
-#ifdef OW_HAVE_HASH_MAP
- #include <hash_map>
- #define OW_HASH_MAP_NS std
- #define HashMultiMap std::hash_multimap
-#elif OW_HAVE_EXT_HASH_MAP
+#if OW_HAVE_EXT_HASH_MAP
#include <ext/hash_map>
#define OW_HASH_MAP_NS __gnu_cxx
#define HashMultiMap __gnu_cxx::hash_multimap
+#elif OW_HAVE_HASH_MAP
+ #include <hash_map>
+ #define OW_HASH_MAP_NS std
+ #define HashMultiMap std::hash_multimap
#else
// TODO: Write a real hash multi map
#include <map>
@@ -0,0 +1,48 @@
$NetBSD: patch-src_common_OW__List.hpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/common/OW_List.hpp.orig 2013-03-25 15:33:34.000000000 +0000
+++ src/common/OW_List.hpp
@@ -36,12 +36,10 @@
#ifndef OW_LIST_HPP_INCLUDE_GUARD_
#define OW_LIST_HPP_INCLUDE_GUARD_
#include "OW_config.h"
-#include "OW_COWReference.hpp"
#include <list>
namespace OW_NAMESPACE
{
-
// forward declarations are necessary for template friends.
template<class T> class List;
@@ -51,7 +49,17 @@ inline bool operator==(const List<T>& x,
template <class T>
inline bool operator<(const List<T>& x, const List<T>& y);
-
+template <class T>
+std::list<T>* COWReferenceClone(std::list<T>* obj)
+{
+ return new std::list<T>(*obj);
+}
+}
+
+#include "OW_COWReference.hpp"
+
+namespace OW_NAMESPACE
+{
/**
* This class is a wrapper around std::list<> and adds COW capabilities.
*/
@@ -289,11 +297,6 @@ inline void swap(List<T>& x, List<T>& y)
{
x.swap(y);
}
-template <class T>
-std::list<T>* COWReferenceClone(std::list<T>* obj)
-{
- return new std::list<T>(*obj);
-}
} // end namespace OW_NAMESPACE
@@ -0,0 +1,12 @@
$NetBSD: patch-src_common_OW__LogMessagePatternFormatter.cpp,v 1.1 2011/11/24 13:40:05 joerg Exp $
--- src/common/OW_LogMessagePatternFormatter.cpp.orig 2011-11-24 02:52:41.000000000 +0000
+++ src/common/OW_LogMessagePatternFormatter.cpp
@@ -44,6 +44,7 @@
#include "OW_ThreadImpl.hpp"
#include <vector>
+#include <climits>
#include <cstdlib> // for strtol
extern "C"
@@ -0,0 +1,12 @@
$NetBSD: patch-src_common_OW__PosixFile.cpp,v 1.1 2011/11/24 13:40:05 joerg Exp $
--- src/common/OW_PosixFile.cpp.orig 2011-11-24 02:53:14.000000000 +0000
+++ src/common/OW_PosixFile.cpp
@@ -36,6 +36,7 @@
#include "OW_config.h"
#include "OW_File.hpp"
+#include <string.h>
#ifdef OW_WIN32
#include <io.h>
#include <stdlib.h>
@@ -0,0 +1,13 @@
$NetBSD: patch-src_common_OW__SharedLibraryReference.hpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/common/OW_SharedLibraryReference.hpp.orig 2013-03-25 15:05:11.000000000 +0000
+++ src/common/OW_SharedLibraryReference.hpp
@@ -113,7 +113,7 @@ public:
{
SharedLibraryReference<U> rval;
rval.m_sharedLib = m_sharedLib;
- rval.m_obj = m_obj.cast_to<U>();
+ rval.m_obj = m_obj.template cast_to<U>();
return rval;
}
@@ -0,0 +1,13 @@
$NetBSD: patch-src_common_OW__Stack.hpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/common/OW_Stack.hpp.orig 2013-03-25 15:18:00.000000000 +0000
+++ src/common/OW_Stack.hpp
@@ -54,7 +54,7 @@ public:
reference top() { return this->back(); }
const_reference top() const { return this->back(); }
void pop() { this->pop_back(); }
- void push(const T& x) { push_back(x); }
+ void push(const T& x) { this->push_back(x); }
int search(const T& x) const
{
int i = find(x);
@@ -0,0 +1,12 @@
$NetBSD: patch-src_common_OW__StackTrace.cpp,v 1.1 2011/11/24 13:40:05 joerg Exp $
--- src/common/OW_StackTrace.cpp.orig 2011-11-24 02:53:47.000000000 +0000
+++ src/common/OW_StackTrace.cpp
@@ -35,6 +35,7 @@
#include "OW_config.h"
#include "OW_StackTrace.hpp"
+#include <cstdlib>
#ifdef OW_WIN32
#include <iostream> // for cerr
namespace OW_NAMESPACE
@@ -0,0 +1,12 @@
$NetBSD: patch-src_common_socket_OW__SocketAddress.cpp,v 1.1 2011/11/24 13:40:05 joerg Exp $
--- src/common/socket/OW_SocketAddress.cpp.orig 2011-11-24 02:51:19.000000000 +0000
+++ src/common/socket/OW_SocketAddress.cpp
@@ -50,6 +50,7 @@ extern "C"
#include <sys/param.h>
#include <sys/utsname.h>
#include <unistd.h>
+#include <string.h>
#endif
#include <errno.h>
@@ -0,0 +1,12 @@
$NetBSD: patch-src_mof_OW__MOFCompiler.cpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/mof/OW_MOFCompiler.cpp.orig 2013-03-25 15:38:25.000000000 +0000
+++ src/mof/OW_MOFCompiler.cpp
@@ -51,6 +51,7 @@
#include <assert.h>
#include <cctype>
+#include <climits>
// forward declarations of some lex/yacc functions we need to call.
void owmof_delete_buffer(YY_BUFFER_STATE b);
@@ -0,0 +1,12 @@
$NetBSD: patch-src_mof_OW__MOFCompiler.hpp,v 1.1 2013/03/26 23:34:34 joerg Exp $
--- src/mof/OW_MOFCompiler.hpp.orig 2013-03-25 15:37:55.000000000 +0000
+++ src/mof/OW_MOFCompiler.hpp
@@ -35,6 +35,7 @@
#ifndef OW_MOF_COMPILER_HPP_INCLUDE_GUARD_
#define OW_MOF_COMPILER_HPP_INCLUDE_GUARD_
#include "OW_config.h"
+#include "OW_List.hpp"
#include "OW_CIMOMHandleIFC.hpp"
#include "OW_String.hpp"
#include "OW_MOFParserErrorHandlerIFC.hpp"
@@ -0,0 +1,12 @@
$NetBSD: patch-src_providerifcs_cmpi_common_cmpiBrokerEnc.cpp,v 1.1 2013/03/26 23:34:35 joerg Exp $
--- src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp.orig 2013-03-25 15:27:10.000000000 +0000
+++ src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp
@@ -19,6 +19,7 @@
*
*/
+#include <cstring>
#include "cmpisrv.h"
#include "OW_CIMException.hpp"
#include "OW_CIMProperty.hpp"
@@ -0,0 +1,12 @@
$NetBSD: patch-src_providerifcs_cmpi_common_cmpiInstance.cpp,v 1.1 2013/03/26 23:34:35 joerg Exp $
--- src/providerifcs/cmpi/common/cmpiInstance.cpp.orig 2013-03-25 15:27:54.000000000 +0000
+++ src/providerifcs/cmpi/common/cmpiInstance.cpp
@@ -19,6 +19,7 @@
*
*/
+#include <cstring>
#include "cmpisrv.h"
#include "OW_CIMInstance.hpp"
@@ -0,0 +1,13 @@
$NetBSD: patch-src_providerifcs_npi_OW__FTABLERef.hpp,v 1.1 2013/03/26 23:34:35 joerg Exp $
--- src/providerifcs/npi/OW_FTABLERef.hpp.orig 2013-03-25 15:26:20.000000000 +0000
+++ src/providerifcs/npi/OW_FTABLERef.hpp
@@ -29,7 +29,7 @@
*******************************************************************************/
#ifndef OW_FTABLE_REF_HPP_
#define OW_FTABLE_REF_HPP_
-//#include <string.h>
+#include <cstring>
#include "OW_config.h"
#include "OW_CIMOMHandleIFC.hpp"
#include "OW_CIMDataType.hpp"
@@ -0,0 +1,12 @@
$NetBSD: patch-src_providerifcs_npi_common_NPIExternal.hpp,v 1.1 2013/03/26 23:34:35 joerg Exp $
--- src/providerifcs/npi/common/NPIExternal.hpp.orig 2013-03-25 15:25:53.000000000 +0000
+++ src/providerifcs/npi/common/NPIExternal.hpp
@@ -17,6 +17,7 @@
#ifndef NPIExternal_h
#define NPIExternal_h
#include "OW_FTABLERef.hpp"
+#include <cstdlib>
namespace OW_NAMESPACE
{
@@ -0,0 +1,12 @@
$NetBSD: patch-src_providerifcs_remote_OW__RemoteProviderInterface.cpp,v 1.1 2013/03/26 23:34:35 joerg Exp $
--- src/providerifcs/remote/OW_RemoteProviderInterface.cpp.orig 2013-03-25 15:24:54.000000000 +0000
+++ src/providerifcs/remote/OW_RemoteProviderInterface.cpp
@@ -33,6 +33,7 @@
*/
#include "OW_config.h"
+#include "OW_ClientCIMOMHandle.hpp"
#include "OW_RemoteProviderInterface.hpp"
#include "OW_RemoteInstanceProvider.hpp"
#include "OW_RemoteSecondaryInstanceProvider.hpp"
@@ -0,0 +1,13 @@
$NetBSD: patch-src_repositories_hdb_OW__AssocDb.hpp,v 1.1 2013/03/26 23:34:35 joerg Exp $
--- src/repositories/hdb/OW_AssocDb.hpp.orig 2013-03-25 15:20:50.000000000 +0000
+++ src/repositories/hdb/OW_AssocDb.hpp
@@ -50,6 +50,8 @@
#include "OW_IntrusiveReference.hpp"
#include "OW_IntrusiveCountableBase.hpp"
+#include <cstring>
+
namespace OW_NAMESPACE
{