public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tog-pegasus] rawhide: Update to upstream version 2.14.4
@ 2026-07-21 7:34 Vitezslav Crhonek
0 siblings, 0 replies; only message in thread
From: Vitezslav Crhonek @ 2026-07-21 7:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/tog-pegasus
Branch : rawhide
Commit : 7789d75e72464c07edd3c40fafd125bee8c22205
Author : Vitezslav Crhonek <vcrhonek@redhat.com>
Date : 2026-07-21T09:34:13+02:00
Stats : +153/-329 in 15 file(s)
URL : https://src.fedoraproject.org/rpms/tog-pegasus/c/7789d75e72464c07edd3c40fafd125bee8c22205?branch=rawhide
Log:
Update to upstream version 2.14.4
---
diff --git a/.gitignore b/.gitignore
index 09bc7d6..df261b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/pegasus-2.*.tar.gz
/cim_schema_*.zip
+/OpenPegasus-2.14.4.tar.gz
diff --git a/add-riscv64-support.patch b/add-riscv64-support.patch
index 3147504..0086fb6 100644
--- a/add-riscv64-support.patch
+++ b/add-riscv64-support.patch
@@ -1,6 +1,6 @@
-diff -urN pegasus.old/mak/platform_LINUX_RISCV64_GNU.mak pegasus.new/mak/platform_LINUX_RISCV64_GNU.mak
---- pegasus.old/mak/platform_LINUX_RISCV64_GNU.mak 1970-01-01 01:00:00.000000000 +0100
-+++ pegasus.new/mak/platform_LINUX_RISCV64_GNU.mak 2024-03-01 13:41:39.061839325 +0000
+diff -urN pegasus/mak/platform_LINUX_RISCV64_GNU.mak pegasus/mak/platform_LINUX_RISCV64_GNU.mak
+--- pegasus/mak/platform_LINUX_RISCV64_GNU.mak 1970-01-01 01:00:00.000000000 +0100
++++ pegasus/mak/platform_LINUX_RISCV64_GNU.mak 2024-03-01 13:41:39.061839325 +0000
@@ -0,0 +1,36 @@
+#//%LICENSE////////////////////////////////////////////////////////////////
+#//
@@ -38,9 +38,9 @@ diff -urN pegasus.old/mak/platform_LINUX_RISCV64_GNU.mak pegasus.new/mak/platfor
+ARCHITECTURE = RISCV64
+CXX_MACHINE_OPTIONS =
+LINK_MACHINE_OPTIONS =
-diff -urN pegasus.old/src/Pegasus/Common/Config.h pegasus.new/src/Pegasus/Common/Config.h
---- pegasus.old/src/Pegasus/Common/Config.h 2024-03-01 13:41:15.281485846 +0000
-+++ pegasus.new/src/Pegasus/Common/Config.h 2024-03-01 13:42:22.162479987 +0000
+diff -urN pegasus/src/Pegasus/Common/Config.h pegasus/src/Pegasus/Common/Config.h
+--- pegasus/src/Pegasus/Common/Config.h 2024-03-01 13:41:15.281485846 +0000
++++ pegasus/src/Pegasus/Common/Config.h 2024-03-01 13:42:22.162479987 +0000
@@ -102,6 +102,8 @@
# include <Pegasus/Common/Platform_LINUX_XSCALE_GNU.h>
#elif defined (PEGASUS_PLATFORM_LINUX_AARCH64_GNU)
@@ -50,9 +50,9 @@ diff -urN pegasus.old/src/Pegasus/Common/Config.h pegasus.new/src/Pegasus/Common
#elif defined (PEGASUS_PLATFORM_LINUX_X86_64_CLANG)
# include <Pegasus/Common/Platform_LINUX_X86_64_CLANG.h>
#elif defined (PEGASUS_PLATFORM_LINUX_IX86_CLANG)
-diff -urN pegasus.old/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h pegasus.new/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h
---- pegasus.old/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h 1970-01-01 01:00:00.000000000 +0100
-+++ pegasus.new/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h 2024-03-01 13:41:39.061839325 +0000
+diff -urN pegasus/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h pegasus/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h
+--- pegasus/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h 1970-01-01 01:00:00.000000000 +0100
++++ pegasus/src/Pegasus/Common/Platform_LINUX_RISCV64_GNU.h 2024-03-01 13:41:39.061839325 +0000
@@ -0,0 +1,108 @@
+//%LICENSE////////////////////////////////////////////////////////////////
+//
diff --git a/pegasus-2.10.0-dont-strip.patch b/pegasus-2.10.0-dont-strip.patch
index e485ade..9090e66 100644
--- a/pegasus-2.10.0-dont-strip.patch
+++ b/pegasus-2.10.0-dont-strip.patch
@@ -1,7 +1,7 @@
diff -up pegasus/mak/config-linux.mak.orig pegasus/mak/config-linux.mak
--- pegasus/mak/config-linux.mak.orig 2015-03-31 15:25:23.735154221 +0200
+++ pegasus/mak/config-linux.mak 2015-03-31 15:26:29.349434918 +0200
-@@ -127,6 +127,7 @@ else
+@@ -136,6 +136,7 @@ else
# appeared in the 3.0 series of compilers.
#
ifeq ($(COMPILER), gnu)
diff --git a/pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch b/pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
index 7312327..a818bf3 100644
--- a/pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
+++ b/pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
@@ -13,7 +13,7 @@ diff -up pegasus/rpm/manLinux/man8.Z/cimconfig.8.orig pegasus/rpm/manLinux/man8.
diff -up pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp.orig pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp
--- pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp.orig 2014-01-07 14:48:14.377180640 +0100
+++ pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp 2014-01-07 14:51:30.760729464 +0100
-@@ -121,7 +121,7 @@ static struct ConfigPropertyRow properti
+@@ -124,7 +124,7 @@ static struct ConfigPropertyRow properti
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_OS_LINUX)
# ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
{"enableSubscriptionsForNonprivilegedUsers",
diff --git a/pegasus-2.13.0-gcc5-build.patch b/pegasus-2.13.0-gcc5-build.patch
index 35fae89..3db0396 100644
--- a/pegasus-2.13.0-gcc5-build.patch
+++ b/pegasus-2.13.0-gcc5-build.patch
@@ -12,12 +12,11 @@ diff -up pegasus/src/Pegasus/ControlProviders/InteropProvider/ElementConformsToP
diff -up pegasus/src/Pegasus/ControlProviders/InteropProvider/InteropConstants.h.orig pegasus/src/Pegasus/ControlProviders/InteropProvider/InteropConstants.h
--- pegasus/src/Pegasus/ControlProviders/InteropProvider/InteropConstants.h.orig 2015-02-10 14:43:34.168607514 +0100
+++ pegasus/src/Pegasus/ControlProviders/InteropProvider/InteropConstants.h 2015-02-10 14:43:44.165648967 +0100
-@@ -150,7 +150,7 @@ const String PEGASUS_INTERNAL_PROVIDER_T
- const String PEGASUS_INTERNAL_SERVICE_TYPE(
+@@ -151,7 +151,7 @@ const String PEGASUS_INTERNAL_SERVICE_TY
"Internal Service");
+
const String PEGASUS_DYNAMIC("__DYNAMIC_");
-const Uint32 PEGASUS_DYNAMIC_LEN(PEGASUS_DYNAMIC.size());
+// const Uint32 PEGASUS_DYNAMIC_LEN(PEGASUS_DYNAMIC.size());
+
const CIMNamespaceName PEGASUS_NAMESPACENAME_ROOT("root");
-
- #define thisProvider "InteropProvider"
diff --git a/pegasus-2.14.1-build-fixes.patch b/pegasus-2.14.1-build-fixes.patch
deleted file mode 100644
index ab170bb..0000000
--- a/pegasus-2.14.1-build-fixes.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -up pegasus/src/Pegasus/Common/Message.cpp.orig pegasus/src/Pegasus/Common/Message.cpp
---- pegasus/src/Pegasus/Common/Message.cpp.orig 2015-03-14 14:56:48.000000000 +0100
-+++ pegasus/src/Pegasus/Common/Message.cpp 2015-04-08 10:02:47.355935316 +0200
-@@ -430,7 +430,8 @@ CIMOperationType Message::convertMessage
- */
- Boolean Message::valid() const
- {
-- return magic && (_type < NUMBER_OF_MESSAGES);
-+ //return magic && (_type < NUMBER_OF_MESSAGES);
-+ return true;
- }
-
-
-diff -up pegasus/src/Pegasus/Server/CIMOperationRequestDispatcher.cpp.orig pegasus/src/Pegasus/Server/CIMOperationRequestDispatcher.cpp
---- pegasus/src/Pegasus/Server/CIMOperationRequestDispatcher.cpp.orig 2015-03-14 14:56:48.000000000 +0100
-+++ pegasus/src/Pegasus/Server/CIMOperationRequestDispatcher.cpp 2015-04-08 10:02:47.357935317 +0200
-@@ -1008,9 +1008,11 @@ Boolean CIMOperationRequestDispatcher::_
- }
- else
- {
-+/*
- EnumerationContext* ent = _enumerationContextTable->find(
- poA->_contextId);
- PEGASUS_DEBUG_ASSERT(ent == en);
-+*/
- }
-
- PEGASUS_DEBUG_ASSERT(poA->_contextId == en->getContextId());
diff --git a/pegasus-2.14.1-fix-Wreserved-user-defined-literal.patch b/pegasus-2.14.1-fix-Wreserved-user-defined-literal.patch
index 5078f3b..ac72366 100644
--- a/pegasus-2.14.1-fix-Wreserved-user-defined-literal.patch
+++ b/pegasus-2.14.1-fix-Wreserved-user-defined-literal.patch
@@ -1,18 +1,7 @@
---- pegasus/src/Pegasus/Common/InternalException.cpp.orig 2020-03-25 04:14:59.507215411 +0000
-+++ pegasus/src/Pegasus/Common/InternalException.cpp 2020-03-25 04:06:31.545770255 +0000
-@@ -982,7 +982,7 @@ SocketWriteError::~SocketWriteError()
- // PEGASUS_MAXELEMENTS_NUM HTTP header fields in a single HTTP message
- //==============================================================================
- TooManyHTTPHeadersException::TooManyHTTPHeadersException()
-- : Exception("more than "PEGASUS_MAXELEMENTS
-+ : Exception("more than " PEGASUS_MAXELEMENTS
- " header fields detected in HTTP message")
- {
- }
--- pegasus/src/Pegasus/Client/tests/slp/slpclient.cpp.orig 2020-03-25 04:21:46.078970915 +0000
+++ pegasus/src/Pegasus/Client/tests/slp/slpclient.cpp 2020-03-25 04:22:16.302878401 +0000
@@ -49,7 +49,7 @@ int main(int argc, char** argv)
-
+
Array<Attribute> criteria;
Attribute attr(
- PEG_WBEM_SLP_SERVICE_ID"="PEG_WBEM_SLP_SERVICE_ID_DEFAULT);
diff --git a/pegasus-2.14.1-openssl-1.1-fix.patch b/pegasus-2.14.1-openssl-1.1-fix.patch
deleted file mode 100644
index c96934f..0000000
--- a/pegasus-2.14.1-openssl-1.1-fix.patch
+++ /dev/null
@@ -1,96 +0,0 @@
-diff -up pegasus/src/Pegasus/Common/SSLContext.cpp.orig pegasus/src/Pegasus/Common/SSLContext.cpp
---- pegasus/src/Pegasus/Common/SSLContext.cpp.orig 2017-02-28 14:39:49.497066327 +0100
-+++ pegasus/src/Pegasus/Common/SSLContext.cpp 2017-03-01 10:56:06.726453475 +0100
-@@ -225,27 +225,31 @@ int SSLCallback::verificationCRLCallback
- PEG_TRACE_CSTRING(TRC_SSL, Tracer::LEVEL4, buf);
-
- //initialize the CRL store
-- X509_STORE_CTX crlStoreCtx;
-- X509_STORE_CTX_init(&crlStoreCtx, sslCRLStore, NULL, NULL);
-+ X509_STORE_CTX* crlStoreCtx;
-+ crlStoreCtx = X509_STORE_CTX_new();
-+ X509_STORE_CTX_init(crlStoreCtx, sslCRLStore, NULL, NULL);
-
- PEG_TRACE_CSTRING(TRC_SSL, Tracer::LEVEL4,
- "---> SSL: Initialized CRL store");
-
- //attempt to get a CRL issued by the certificate's issuer
-- X509_OBJECT obj;
-+ X509_OBJECT* obj;
-+ obj = X509_OBJECT_new();
- if (X509_STORE_get_by_subject(
-- &crlStoreCtx, X509_LU_CRL, issuerName, &obj) <= 0)
-+ crlStoreCtx, X509_LU_CRL, issuerName, obj) <= 0)
- {
-- X509_STORE_CTX_cleanup(&crlStoreCtx);
-+ X509_OBJECT_free(obj);
-+ X509_STORE_CTX_cleanup(crlStoreCtx);
- PEG_TRACE_CSTRING(TRC_SSL, Tracer::LEVEL3,
- "---> SSL: No CRL by that issuer");
- PEG_METHOD_EXIT();
- return 0;
- }
-- X509_STORE_CTX_cleanup(&crlStoreCtx);
-+ X509_STORE_CTX_cleanup(crlStoreCtx);
-
- //get CRL
-- X509_CRL* crl = obj.data.crl;
-+ X509_CRL* crl;
-+ crl = X509_OBJECT_get0_X509_CRL(obj);
- if (crl == NULL)
- {
- PEG_TRACE_CSTRING(TRC_SSL, Tracer::LEVEL4, "---> SSL: CRL is null");
-@@ -272,18 +276,18 @@ int SSLCallback::verificationCRLCallback
- {
- revokedCert = sk_X509_REVOKED_value(X509_CRL_get_REVOKED(crl), i);
- //a matching serial number indicates revocation
-- if (ASN1_INTEGER_cmp(revokedCert->serialNumber, serialNumber) == 0)
-+ if (ASN1_INTEGER_cmp(X509_REVOKED_get0_serialNumber(revokedCert), serialNumber) == 0)
- {
- PEG_TRACE_CSTRING(TRC_SSL, Tracer::LEVEL2,
- "---> SSL: Certificate is revoked");
- X509_STORE_CTX_set_error(ctx, X509_V_ERR_CERT_REVOKED);
-- X509_CRL_free(crl);
-+ X509_OBJECT_free(obj);
- PEG_METHOD_EXIT();
- return 1;
- }
- }
-
-- X509_CRL_free(crl);
-+ X509_OBJECT_free(obj);
-
- PEG_TRACE_CSTRING(TRC_SSL, Tracer::LEVEL4,
- "---> SSL: Certificate is not revoked at this level");
-diff -up pegasus/src/Pegasus/Common/SSLContextRep.h.orig pegasus/src/Pegasus/Common/SSLContextRep.h
---- pegasus/src/Pegasus/Common/SSLContextRep.h.orig 2017-02-28 14:32:44.379013979 +0100
-+++ pegasus/src/Pegasus/Common/SSLContextRep.h 2017-02-28 14:36:38.088039077 +0100
-@@ -104,7 +104,11 @@ public:
-
- //important as per following site for
- //http://www.openssl.org/support/faq.html#PROG
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L
- CRYPTO_malloc_init();
-+#else
-+ OPENSSL_malloc_init();
-+#endif
- SSL_library_init();
- SSL_load_error_strings();
- }
-diff -up pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp.orig pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
---- pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp.orig 2017-03-01 10:34:19.367952613 +0100
-+++ pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp 2017-03-01 10:36:18.003931270 +0100
-@@ -531,11 +531,11 @@ inline CIMInstance _getCRLInstance(X509_
- for (int i = 0; i < numRevoked; i++)
- {
- r = sk_X509_REVOKED_value(revoked, i);
-- rawSerialNumber = ASN1_INTEGER_get(r->serialNumber);
-+ rawSerialNumber = ASN1_INTEGER_get(X509_REVOKED_get0_serialNumber(r));
- sprintf(serial, "%lu", (unsigned long)rawSerialNumber);
- revokedSerialNumbers.append(String(serial));
-
-- revocationDate = getDateTime(r->revocationDate);
-+ revocationDate = getDateTime(X509_REVOKED_get0_revocationDate(r));
- revocationDates.append(revocationDate);
- }
-
diff --git a/pegasus-2.14.1-openssl-4.0-fix.patch b/pegasus-2.14.1-openssl-4.0-fix.patch
index b62631a..2019cc4 100644
--- a/pegasus-2.14.1-openssl-4.0-fix.patch
+++ b/pegasus-2.14.1-openssl-4.0-fix.patch
@@ -1,37 +1,24 @@
-From 97e6c162b81cdb9d5ffd90ff3e84f1d07655b4c7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Pavol=20=C5=BD=C3=A1=C4=8Dik?= <pzacik@redhat.com>
-Date: Tue, 12 May 2026 08:57:40 +0200
-Subject: [PATCH] Fix OpenSSL 4.0 compatibility
-
-Remove deprecated ERR_remove_state() call, use ASN1_STRING accessor functions, and add const qualifiers for X509_NAME.
----
- src/Pegasus/Common/SSLContext.cpp | 8 ++++----
- src/Pegasus/Common/SSLContextRep.h | 1 -
- .../CertificateProvider/CertificateProvider.cpp | 4 ++--
- 3 files changed, 6 insertions(+), 7 deletions(-)
-
-diff --git a/src/Pegasus/Common/SSLContext.cpp b/src/Pegasus/Common/SSLContext.cpp
-index 1caad65..888ace4 100644
---- a/src/Pegasus/Common/SSLContext.cpp
-+++ b/src/Pegasus/Common/SSLContext.cpp
-@@ -99,13 +99,13 @@ CIMDateTime getDateTime(const ASN1_UTCTIME *utcTime)
+diff -up pegasus/src/Pegasus/Common/SSLContext.cpp.orig pegasus/src/Pegasus/Common/SSLContext.cpp
+--- pegasus/src/Pegasus/Common/SSLContext.cpp.orig 2026-05-12 08:57:40.000000000 +0200
++++ pegasus/src/Pegasus/Common/SSLContext.cpp 2026-05-12 08:57:40.000000000 +0200
+@@ -135,13 +135,13 @@ CIMDateTime getDateTime(const ASN1_UTCTI
struct tm time;
int offset;
char plusOrMinus = '+';
- unsigned char* utcTimeData = utcTime->data;
+ const unsigned char* utcTimeData = ASN1_STRING_get0_data(utcTime);
-
+
memset(&time, '\0', sizeof(time));
-
+
#define g2(p) ( ( (p)[0] - '0' ) * 10 + (p)[1] - '0' )
-
+
- if (utcTime->type == V_ASN1_GENERALIZEDTIME)
+ if (ASN1_STRING_type(utcTime) == V_ASN1_GENERALIZEDTIME)
{
time.tm_year = g2(utcTimeData) * 100;
utcTimeData += 2; // Remaining data is equivalent to ASN1_UTCTIME type
-@@ -206,8 +206,8 @@ int SSLCallback::verificationCRLCallback(
-
+@@ -242,8 +242,8 @@ int SSLCallback::verificationCRLCallback
+
//get the current certificate info
X509* currentCert;
- X509_NAME* issuerName;
@@ -39,40 +26,24 @@ index 1caad65..888ace4 100644
+ const X509_NAME* issuerName;
+ const X509_NAME* subjectName;
ASN1_INTEGER* serialNumber;
-
+
currentCert = X509_STORE_CTX_get_current_cert(ctx);
-diff --git a/src/Pegasus/Common/SSLContextRep.h b/src/Pegasus/Common/SSLContextRep.h
-index 1e615a5..0bd2b50 100644
---- a/src/Pegasus/Common/SSLContextRep.h
-+++ b/src/Pegasus/Common/SSLContextRep.h
-@@ -133,7 +133,6 @@ public:
- ERR_free_strings();
- _uninitializeCallbacks();
- }
-- ERR_remove_state(0);
- }
-
- private:
-diff --git a/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp b/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
-index e3f092b..859c0f9 100644
---- a/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
-+++ b/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
-@@ -159,13 +159,13 @@ inline CIMDateTime getDateTime(const ASN1_UTCTIME* utcTime)
+diff -up pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp.orig pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
+--- pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp.orig 2026-05-12 08:57:40.000000000 +0200
++++ pegasus/src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp 2026-05-12 08:57:40.000000000 +0200
+@@ -164,13 +164,13 @@ inline CIMDateTime getDateTime(const ASN
struct tm time;
int offset;
char plusOrMinus = '+';
- unsigned char* utcTimeData = utcTime->data;
+ const unsigned char* utcTimeData = ASN1_STRING_get0_data(utcTime);
-
+
memset(&time, '\0', sizeof(time));
-
+
#define g2(p) ( ( (p)[0] - '0' ) * 10 + (p)[1] - '0' )
-
+
- if (utcTime->type == V_ASN1_GENERALIZEDTIME)
+ if (ASN1_STRING_type(utcTime) == V_ASN1_GENERALIZEDTIME)
{
time.tm_year = g2(utcTimeData) * 100;
utcTimeData += 2; // Remaining data is equivalent to ASN1_UTCTIME type
---
-2.53.0
-
diff --git a/pegasus-2.14.1-post-quantum.patch b/pegasus-2.14.1-post-quantum.patch
index c470b71..968d0b9 100644
--- a/pegasus-2.14.1-post-quantum.patch
+++ b/pegasus-2.14.1-post-quantum.patch
@@ -1,7 +1,7 @@
diff -up pegasus/src/Pegasus/Common/SSLContext.cpp.orig pegasus/src/Pegasus/Common/SSLContext.cpp
--- pegasus/src/Pegasus/Common/SSLContext.cpp.orig 2025-05-30 09:11:14.935204675 +0200
+++ pegasus/src/Pegasus/Common/SSLContext.cpp 2025-06-18 09:29:02.485778858 +0200
-@@ -1095,6 +1095,58 @@ SSL_CTX* SSLContextRep::_makeSSLContext(
+@@ -1213,6 +1213,58 @@ SSL_CTX* SSLContextRep::_makeSSLContext(
keyLoaded = true;
}
diff --git a/pegasus-2.14.1-snmp-disable-des.patch b/pegasus-2.14.1-snmp-disable-des.patch
index ada3082..5803da3 100644
--- a/pegasus-2.14.1-snmp-disable-des.patch
+++ b/pegasus-2.14.1-snmp-disable-des.patch
@@ -19,7 +19,7 @@ diff -up pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpDeliverTrap_netsn
CString securityNameCStr = securityName.getCString();
size_t securityNameLen = strlen(securityNameCStr);
@@ -321,14 +331,7 @@ void snmpDeliverTrap_netsnmp::_createSes
-
+
SNMP_FREE(snmpSession.securityPrivProto);
//Privacy
- if(snmpSecPrivProto == 1) //DES
@@ -40,7 +40,7 @@ diff -up pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpDeliverTrap_netsn
@@ -64,6 +64,12 @@ static const char _MSG_VERSION_NOT_SUPPO
"Handler.snmpIndicationHandler.snmpDeliverTrap_netsnmp."
"_MSG_VERSION_NOT_SUPPORTED";
-
+
+static const char _MSG_DES_NOT_SUPPORTED[] =
+ "DES support is disabled in SNMP.";
+static const char _MSG_DES_NOT_SUPPORTED_KEY[] =
diff --git a/pegasus-2.14.1-ssl-include.patch b/pegasus-2.14.1-ssl-include.patch
deleted file mode 100644
index b229d75..0000000
--- a/pegasus-2.14.1-ssl-include.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up pegasus/src/Pegasus/Server/tests/TLSv_1_2_Support/TestTLSv1_2_Support.cpp.orig pegasus/src/Pegasus/Server/tests/TLSv_1_2_Support/TestTLSv1_2_Support.cpp
---- pegasus/src/Pegasus/Server/tests/TLSv_1_2_Support/TestTLSv1_2_Support.cpp.orig 2015-05-19 13:49:59.100133630 +0200
-+++ pegasus/src/Pegasus/Server/tests/TLSv_1_2_Support/TestTLSv1_2_Support.cpp 2015-05-19 13:50:40.665309444 +0200
-@@ -37,6 +37,7 @@
-
-
- #ifdef PEGASUS_HAS_SSL
-+# include <openssl/ssl.h>
- # include <openssl/tls1.h>
- #endif
-
diff --git a/pegasus-2.9.0-sparc.patch b/pegasus-2.9.0-sparc.patch
index a5675b6..192aa38 100644
--- a/pegasus-2.9.0-sparc.patch
+++ b/pegasus-2.9.0-sparc.patch
@@ -1,7 +1,7 @@
diff -up pegasus/mak/config-linux.mak.orig pegasus/mak/config-linux.mak
--- pegasus/mak/config-linux.mak.orig 2013-08-27 14:26:51.229234756 +0200
+++ pegasus/mak/config-linux.mak 2013-08-27 14:27:23.467354043 +0200
-@@ -176,6 +176,9 @@ ifndef PEGASUS_ARCH_LIB
+@@ -187,6 +187,9 @@ ifndef PEGASUS_ARCH_LIB
ifeq ($(PEGASUS_PLATFORM),LINUX_X86_64_CLANG)
PEGASUS_ARCH_LIB = lib64
endif
diff --git a/sources b/sources
index 3673bb9..e1c64b5 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-6e02fe14dd36b2b761d69e19a6fab219 pegasus-2.14.1.tar.gz
-e5cad2e960f80dda4390bf422dd7f164 cim_schema_2.38.0Experimental-MOFs.zip
+SHA512 (OpenPegasus-2.14.4.tar.gz) = 6c7431f9a06870e0f6f8dcfed394e6cf261c594875f4c0922683b30f1f8ee0d74909f7f7b39c2a73c627d889dd3790ff899a0114c924e9618a380d553b6379a2
+SHA512 (cim_schema_2.38.0Experimental-MOFs.zip) = c45368ae3973d1fcafa82446d76f93af7e83d4587f913c892f88d8068d4f3ccaac4bfd22976095205b7d3233f11283d1c59a5c7928ada5243e0cbd8e845e3dad
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index 83892a3..0de118a 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -5,14 +5,14 @@
%global major_ver 2.14
Name: tog-pegasus
-Version: %{major_ver}.1
-Release: 93%{?dist}
+Version: %{major_ver}.4
+Release: 1%{?dist}
Epoch: 2
Summary: OpenPegasus WBEM Services for Linux
License: MIT
-URL: http://www.openpegasus.org
-Source0: https://collaboration.opengroup.org/pegasus/documents/27211/pegasus-%{version}.tar.gz
+URL: https://github.com/OpenPegasus/OpenPegasus
+Source0: https://github.com/OpenPegasus/OpenPegasus/archive/refs/tags/v%{version}.tar.gz#/OpenPegasus-%{version}.tar.gz
# 1: Description of security enhacements
Source1: README.RedHat.Security
# 3: Description of SSL settings
@@ -39,86 +39,80 @@ Source12: repupgrade.1.gz
# 13: sysusers conf file for dynamic creation of the 'pegasus' user and group
Source13: tog-pegasus.sysusers
-# 1: http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5011
-# Removing insecure -rpath
+# Removing insecure -rpath
+# http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5011
Patch1: pegasus-2.9.0-no-rpath.patch
-# 2: Adding -fPIE
+# Adding -fPIE
Patch2: pegasus-2.7.0-PIE.patch
-# 3: http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5016
-# Configuration variables
+# Configuration variables
+# http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5016
Patch3: pegasus-2.9.0-redhat-config.patch
-# 4: don't see how http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5099 fixed it
-# Changing provider dir to the directory we use
+# Changing provider dir to the directory we use
+# http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5099
Patch4: pegasus-2.9.0-cmpi-provider-lib.patch
-# 5: http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5010
-# We distinguish between local and remote user and behave adequately (will be upstream once)
+# We distinguish between local and remote user and behave adequately
+# http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5010
Patch5: pegasus-2.9.0-local-or-remote-auth.patch
-# 6: http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5012
-# Modifies pam rules to use access cofiguration file and local/remote differences
+# Modifies pam rules to use access configuration file and local/remote differences
+# http://cvs.rdg.opengroup.org/bugzilla/show_bug.cgi?id=5012
Patch6: pegasus-2.5.1-pam-wbem.patch
-# 12: Adds snmp tests to the -test rpm, configures snmptrapd
-Patch12: pegasus-2.7.0-snmp-tests.patch
-# 13: Changes to make package compile on sparc
-Patch13: pegasus-2.9.0-sparc.patch
-# 16: Fixes "getpagesize" build error
-Patch16: pegasus-2.9.1-getpagesize.patch
-# 19: Don't strip binaries, add -g flag
-Patch19: pegasus-2.10.0-dont-strip.patch
-# 20: use posix locks on sparc arches
-Patch20: pegasus-2.10.0-sparc-posix-lock.patch
-# 22: Fix CMPI enumGetNext function to change CMPI Data state from default CMPI_nullValue
+# Adds snmp tests to the -test rpm, configures snmptrapd
+Patch7: pegasus-2.7.0-snmp-tests.patch
+# Changes to make package compile on sparc
+Patch8: pegasus-2.9.0-sparc.patch
+# Fixes "getpagesize" build error
+Patch9: pegasus-2.9.1-getpagesize.patch
+# Don't strip binaries, add -g flag
+Patch10: pegasus-2.10.0-dont-strip.patch
+# use posix locks on sparc arches
+Patch11: pegasus-2.10.0-sparc-posix-lock.patch
+# Fix CMPI enumGetNext function to change CMPI Data state from default CMPI_nullValue
# to CMPI_goodValue when it finds and returns next instance correctly
-Patch22: pegasus-2.12.0-null_value.patch
-# 24: bz#883030, getPropertyAt() returns Null instead of empty array
-Patch24: pegasus-2.12.0-empty_arrays.patch
-# 25: allow experimental schema registration with cimmofl during build
-Patch25: pegasus-2.12.0-cimmofl-allow-experimental.patch
-# 26: use external schema and add missing includes there
-Patch26: pegasus-2.12.0-schema-version-and-includes.patch
-# 29: bz#1049314, allow unprivileged users to subscribe to indications by default
-Patch29: pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
-# 33: fixes build with gcc5
-Patch33: pegasus-2.13.0-gcc5-build.patch
-# 34: fixes various build problemss
-Patch34: pegasus-2.14.1-build-fixes.patch
-# 35: add missing ssl.h include
-Patch35: pegasus-2.14.1-ssl-include.patch
-# 36: fixes sending of SNMPv3 traps in cimserver
-Patch36: pegasus-2.14.1-snmpv3-trap.patch
-# 37: fixes setupSDK in -devel
-Patch37: pegasus-2.14.1-fix-setup-sdk.patch
-# 38: cimconfig man page fixes
-Patch38: pegasus-2.14.1-cimconfig-man-page-fixes.patch
-# 39: fixes setupSDK in -devel for ppc64le
-Patch39: pegasus-2.14.1-fix-setup-sdk-ppc64le.patch
-# 40: removes Beaker conflicting env variable
-Patch40: pegasus-2.14.1-tesid.patch
-# 41: moves SSL certificates to /etc/pki/Pegasus
-Patch41: pegasus-2.14.1-ssl-cert-path.patch
-# 42: port to openssl-1.1
-Patch42: pegasus-2.14.1-openssl-1.1-fix.patch
-# 43: fix -Wreserved-user-defined-literal warnings which prevents building with clang
-Patch43: pegasus-2.14.1-fix-Wreserved-user-defined-literal.patch
-# 44: comply with Fedora crypto policy
+Patch12: pegasus-2.12.0-null_value.patch
+# bz#883030, getPropertyAt() returns Null instead of empty array
+Patch13: pegasus-2.12.0-empty_arrays.patch
+# allow experimental schema registration with cimmofl during build
+Patch14: pegasus-2.12.0-cimmofl-allow-experimental.patch
+# use external schema and add missing includes there
+Patch15: pegasus-2.12.0-schema-version-and-includes.patch
+# bz#1049314, allow unprivileged users to subscribe to indications by default
+Patch16: pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
+# fixes build with gcc5
+Patch17: pegasus-2.13.0-gcc5-build.patch
+# fixes sending of SNMPv3 traps in cimserver
+Patch18: pegasus-2.14.1-snmpv3-trap.patch
+# fixes setupSDK in -devel
+Patch19: pegasus-2.14.1-fix-setup-sdk.patch
+# cimconfig man page fixes
+Patch20: pegasus-2.14.1-cimconfig-man-page-fixes.patch
+# fixes setupSDK in -devel for ppc64le
+Patch21: pegasus-2.14.1-fix-setup-sdk-ppc64le.patch
+# removes Beaker conflicting env variable
+Patch22: pegasus-2.14.1-tesid.patch
+# moves SSL certificates to /etc/pki/Pegasus
+Patch23: pegasus-2.14.1-ssl-cert-path.patch
+# fix -Wreserved-user-defined-literal warnings which prevents building with clang
+Patch24: pegasus-2.14.1-fix-Wreserved-user-defined-literal.patch
+# comply with Fedora crypto policy
# (use 'PROFILE=SYSTEM' instead of 'DEFAULT' in SSL_CTX_set_cipher_list calls)
-Patch44: pegasus-2.14.1-crypto-policy-compliance.patch
-# 45: add required lib to fix FTBS
-Patch45: pegasus-2.14.1-add-pegwsmserver-to-ldd-libs.patch
-# 46: fixes FTBFS
-Patch46: pegasus-2.14.1-build-fixes-2.patch
-# 47: disable DES no longer supported in net-snmp
-Patch47: pegasus-2.14.1-snmp-disable-des.patch
-# 48: add RISC-V support
-Patch48: add-riscv64-support.patch
-# 49: bin and sbin unify
-Patch49: tog-pegasus-2.14.1-bin-sbin-unify.patch
-# 50: use sscg to generate cert, openssl as fallback, obtain correct key length
+Patch25: pegasus-2.14.1-crypto-policy-compliance.patch
+# add required lib to fix FTBS
+Patch26: pegasus-2.14.1-add-pegwsmserver-to-ldd-libs.patch
+# fixes FTBFS
+Patch27: pegasus-2.14.1-build-fixes-2.patch
+# disable DES no longer supported in net-snmp
+Patch28: pegasus-2.14.1-snmp-disable-des.patch
+# add RISC-V support
+Patch29: add-riscv64-support.patch
+# bin and sbin unify
+Patch30: tog-pegasus-2.14.1-bin-sbin-unify.patch
+# use sscg to generate cert, openssl as fallback, obtain correct key length
# based upon crypto policy level
-Patch50: pegasus-2.14.1-ssl-certs-gen-changes.patch
-# 51: add mechanism to load fall back certificate/key pair
-Patch51: pegasus-2.14.1-post-quantum.patch
-# 52: fix OpenSSL 4.0 compatibility
-Patch52: pegasus-2.14.1-openssl-4.0-fix.patch
+Patch31: pegasus-2.14.1-ssl-certs-gen-changes.patch
+# add mechanism to load fall back certificate/key pair
+Patch32: pegasus-2.14.1-post-quantum.patch
+# fix OpenSSL 4.0 compatibility
+Patch33: pegasus-2.14.1-openssl-4.0-fix.patch
BuildRequires: libstdc++, pam-devel
BuildRequires: openssl, openssl-devel
@@ -235,55 +229,56 @@ The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
%global PEGASUS_PREV_REPOSITORY_DIR /var/lib/PegasusXXX/prev_repository
%global PEGASUS_DOC_DIR /usr/share/doc/%{name}-%{version}
-%global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/%{srcname}
+%global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/OpenPegasus-%{version}/%{srcname}
%global PEGASUS_RPM_HOME %PEGASUS_RPM_ROOT/build
%global PEGASUS_INSTALL_LOG /var/lib/Pegasus/log/install.log
%prep
-%setup -q -n %{srcname}
+%setup -q -n OpenPegasus-%{version}
# convert DMTF schema for Pegasus
+# The new CreateDmtfSchema detects "Experimental" in the zip filename and
+# creates CIMExperimental238 instead of CIM238. Copy to a neutral name.
export PEGASUS_ROOT=%PEGASUS_RPM_ROOT
-yes | mak/CreateDmtfSchema 238 %{SOURCE9} cim_schema_2.38.0
-%patch -P1 -p1 -b .no-rpath
-%patch -P2 -p1 -b .PIE
-%patch -P3 -p1 -b .redhat-config
-%patch -P4 -p1 -b .cmpi-provider-lib
-%patch -P6 -p1 -b .pam-wbem
-%patch -P12 -p1 -b .snmp-tests
-%patch -P5 -p1 -b .local-or-remote-auth
-%patch -P13 -p1 -b .sparc
-%patch -P16 -p1 -b .getpagesize
-%patch -P19 -p1 -b .dont-strip
-%patch -P20 -p1 -b .sparc-locks
-%patch -P22 -p1 -b .null_value
-%patch -P24 -p1 -b .empty_arrays
-%patch -P25 -p1 -b .cimmofl-allow-experimental
-%patch -P26 -p1 -b .schema-version-and-includes
-%patch -P29 -p1 -b .enable-subscriptions-for-nonprivileged-users
-%patch -P33 -p1 -b .gcc5-build
-%patch -P34 -p1 -b .build-fixes
-%patch -P35 -p1 -b .ssl-include
-%patch -P36 -p1 -b .snmpv3-trap
-%patch -P37 -p1 -b .fix-setup-sdk
-%patch -P38 -p1 -b .cimconfig-man-page-fixes
-%patch -P39 -p1 -b .fix-setup-sdk-ppc64le
-%patch -P40 -p1 -b .testid
-%patch -P41 -p1 -b .ssl-cert-path
-%patch -P42 -p1 -b .openssl-1.1-fix
-%patch -P43 -p1 -b .Wreserved-user-defined-literal-fix
-%patch -P44 -p1 -b .crypto-policy-compliance
-%patch -P45 -p1 -b .add-pegwsmserver-to-ldd-libs
-%patch -P46 -p1 -b .build-fixes-2
-%patch -P47 -p1 -b .snmp-disable-des
-%patch -P48 -p1 -b .add-riscv64-support
-%patch -P49 -p1 -b .bin-sbin-unify
-%patch -P50 -p1 -b .ssl-certs-gen-changes
-%patch -P51 -p1 -b .post-quantum
-%patch -P52 -p1 -b .openssl-4.0-fix
+cp %{SOURCE9} %{_builddir}/cim_schema_2.38.0-MOFs.zip
+yes | pegasus/mak/CreateDmtfSchema 238 %{_builddir}/cim_schema_2.38.0-MOFs.zip cim_schema_2.38.0
+%patch -P1 -p0 -b .no-rpath
+%patch -P2 -p0 -b .PIE
+%patch -P3 -p0 -b .redhat-config
+%patch -P4 -p0 -b .cmpi-provider-lib
+%patch -P5 -p0 -b .local-or-remote-auth
+%patch -P6 -p0 -b .pam-wbem
+%patch -P7 -p0 -b .snmp-tests
+%patch -P8 -p0 -b .sparc
+%patch -P9 -p0 -b .getpagesize
+%patch -P10 -p0 -b .dont-strip
+%patch -P11 -p0 -b .sparc-locks
+%patch -P12 -p0 -b .null_value
+%patch -P13 -p0 -b .empty_arrays
+%patch -P14 -p0 -b .cimmofl-allow-experimental
+%patch -P15 -p0 -b .schema-version-and-includes
+%patch -P16 -p0 -b .enable-subscriptions
+%patch -P17 -p0 -b .gcc5-build
+%patch -P18 -p0 -b .snmpv3-trap
+%patch -P19 -p0 -b .fix-setup-sdk
+%patch -P20 -p0 -b .cimconfig-man-page-fixes
+%patch -P21 -p0 -b .fix-setup-sdk-ppc64le
+%patch -P22 -p0 -b .tesid
+%patch -P23 -p0 -b .ssl-cert-path
+%patch -P24 -p0 -b .fix-Wreserved-user-defined-literal
+%patch -P25 -p0 -b .crypto-policy-compliance
+%patch -P26 -p0 -b .add-pegwsmserver-to-ldd-libs
+%patch -P27 -p0 -b .build-fixes-2
+%patch -P28 -p0 -b .snmp-disable-des
+%patch -P29 -p0 -b .riscv64-support
+%patch -P30 -p0 -b .bin-sbin-unify
+%patch -P31 -p0 -b .ssl-certs-gen-changes
+%patch -P32 -p0 -b .post-quantum
+%patch -P33 -p0 -b .openssl-4.0-fix
%build
+cd %{srcname}
cp -fp %SOURCE1 doc
cp -fp %SOURCE3 doc
cp -fp %SOURCE6 rpm
@@ -314,6 +309,7 @@ export SYS_INCLUDES=-I/usr/kerberos/include
%install
+cd %{srcname}
# Create directory for SSL certificates
mkdir -p $RPM_BUILD_ROOT/etc/pki/Pegasus
@@ -452,7 +448,7 @@ rm $RPM_BUILD_ROOT/usr/share/Pegasus/test/testtracer4.trace.0
%defattr(0644, root, pegasus, 0755)
/usr/share/man/man8/*
/usr/share/man/man1/*
-%doc doc/license.txt doc/Admin_Guide_Release.pdf doc/PegasusSSLGuidelines.htm doc/SecurityGuidelinesForDevelopers.html doc/README.RedHat.Security src/Clients/repupgrade/doc/repupgrade.html doc/README.RedHat.SSL doc/cmpiOSBase_OperatingSystemProvider-cimprovagt.example OpenPegasusNOTICE.txt
+%doc %{srcname}/doc/license.txt %{srcname}/doc/Admin_Guide_Release.pdf %{srcname}/doc/PegasusSSLGuidelines.htm %{srcname}/doc/SecurityGuidelinesForDevelopers.html %{srcname}/doc/README.RedHat.Security %{srcname}/src/Clients/repupgrade/doc/repupgrade.html %{srcname}/doc/README.RedHat.SSL %{srcname}/doc/cmpiOSBase_OperatingSystemProvider-cimprovagt.example %{srcname}/OpenPegasusNOTICE.txt
%files devel
%defattr(0644,root,pegasus,0755)
@@ -580,6 +576,9 @@ fi
%changelog
+* Tue Jul 21 2026 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.14.4-1
+- Update to upstream version 2.14.4
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.14.1-93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-21 7:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 7:34 [rpms/tog-pegasus] rawhide: Update to upstream version 2.14.4 Vitezslav Crhonek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox