From nobody Sun Jan 16 02:41:39 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B994A194DDE3; Sun, 16 Jan 2022 02:41:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jbznb4Fmhz4YY5; Sun, 16 Jan 2022 02:41:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642300899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=03Fbh15xO/G8kiLL/G9w+ZERKaOgaE4Hu/SsTwkssBI=; b=jT2F/AW45AMP7/8NUhideJ+/nBFaN/ET4t3M8YNhE1yTyc5pjDkTcyK7uokDP1r5DtspTy ncl5DQkA5E8eGYCtjaQleGmsxlLRyHGH6RGoINvfShmgrPuhKNXQoQkpdwFNrkEQmNQZY1 we/hvNmj/YdxSWd2wkrwUwx9s/udOBOdirJuO14cDocoCunl+RVTbZJbrQVzETv/cTPQSO BPNRIKgCuVsXu4shyE/xBwbirWP4eqD5i5Zh68J3QL/wieiYfD5wtdS3Ok8x92AQEO3jdF pLsz5kmg4Ao7a/iJmN3rSkqqUDXWBPWb18eWUa+YhioYAdEtOeJ/40+wmROiiw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 727F412A2E; Sun, 16 Jan 2022 02:41:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20G2fdur099218; Sun, 16 Jan 2022 02:41:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20G2fdKb099217; Sun, 16 Jan 2022 02:41:39 GMT (envelope-from git) Date: Sun, 16 Jan 2022 02:41:39 GMT Message-Id: <202201160241.20G2fdKb099217@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Gmelin Subject: git: e97f58f3a5b0 - main - devel/{ice37,php-ice37,py-ice37}: Update to 3.7.6 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grembo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e97f58f3a5b099a022e640e7c7b8e363c5847291 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642300899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=03Fbh15xO/G8kiLL/G9w+ZERKaOgaE4Hu/SsTwkssBI=; b=j73P2HXFHIgUdmks76BSwqDT40t6ZGH6uZSr2Qn2P76ziMOWl5SRz/ZxwsHGzqqPqQYJNC JpsWLpeBcQu0f0r0JWkmYRxxXo9knmek61oHlDJCdqpfjz3lWCS0zKxkv78SrQ3mphAT+m 8TNcNzmQjQehOao6GM/rQ8grOcQfl6yZdMQwtsOpDLlksPElkPPxq3NPSSc2ODOK+EZL15 ns5f3vWZX+LaxV3UyyzeiSUJ5qMHvLABkAo3l9Tgat3POJIDx/++DulSM1tHAC0XpFgFeI w/9SEYaAoZqGAbfH5zXB/andCP2iLMSNVYBHvRq1+jlEcDNxW0/+eeu7Y6DROg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642300899; a=rsa-sha256; cv=none; b=DGiPFwNTXb1Pk4In024Vc0/dDlIPYN42LNUAjyjJDXwRLhTqq05JOmrCMBHY9QXI6U+gdv Uw6aakebpUii0Dub+00gWm9NVqymGsh39Tr3JwICekJzCah1PUm5rTnvfFkKPjrAn4iE/T 2YUgKcmhum3LCdf3zfluv+UBpBYvfTBf3PVY/3XmKdmYnYsvqjUvn3QzhdOFwAGKkQIh9W txre4V2UT3PpbGD/vYAykTmommgf0KiuTjNqfM42wveE5YwN6G43AwZ51iLaQh2bmuTBW1 bKBKu29KEQQGkp00lvn/5UzCBJ8Vq2lThH7oEaDjVhCuOELkwiua/niZ3bDvGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=e97f58f3a5b099a022e640e7c7b8e363c5847291 commit e97f58f3a5b099a022e640e7c7b8e363c5847291 Author: Michael Gmelin AuthorDate: 2022-01-16 02:36:37 +0000 Commit: Michael Gmelin CommitDate: 2022-01-16 02:38:07 +0000 devel/{ice37,php-ice37,py-ice37}: Update to 3.7.6 --- devel/ice37/Makefile | 7 +--- devel/ice37/distinfo | 10 ++--- devel/ice37/files/patch-config-Make.project.rules | 22 +++++------ devel/ice37/files/patch-config-Make.rules | 4 +- .../ice37/files/patch-cpp-include-IceUtil-Config.h | 6 +-- .../ice37/files/patch-cpp-src-Ice-ProxyFactory.cpp | 4 +- devel/ice37/files/patch-cpp-src-Ice-Thread.cpp | 4 +- devel/ice37/files/patch-cpp-src-Ice-ThreadPool.cpp | 23 +++++++++++ .../files/patch-cpp-src-IceGrid-PluginFacadeI.cpp | 4 +- .../files/patch-cpp-src-IceGrid-RegistryI.cpp | 6 +-- devel/ice37/files/patch-cpp-src-IceStorm-Replica.h | 11 ++++++ .../files/patch-cpp-test-Glacier2-ssl-Server.cpp | 8 ++-- .../files/patch-cpp-test-Ice-info-AllTests.cpp | 8 ++-- .../files/patch-cpp-test-Ice-metrics-AllTests.cpp | 10 ++--- ...ch-cpp-test-Ice-threadPoolPriority-AllTests.cpp | 4 +- ...atch-cpp-test-Ice-threadPoolPriority-Server.cpp | 4 +- ...e-threadPoolPriority-ServerCustomThreadPool.cpp | 4 +- ...atch-cpp-test-IceSSL-configuration-AllTests.cpp | 36 +++--------------- .../files/patch-cpp-test-IceStorm-single-test.py | 17 --------- ...cpp-test-IceUtil-priority-PriorityInversion.cpp | 6 +-- .../patch-cpp-test-Slice-unicodePaths-test.py | 4 +- .../files/patch-cpp-test-include-TestHelper.h | 6 +-- devel/ice37/files/patch-php-Makefile | 6 +-- devel/ice37/files/patch-php-config-Make.rules | 4 +- ...7-Makefile.mk => patch-php-src-php-Makefile.mk} | 13 +++++-- devel/ice37/files/patch-php-src-php5-Makefile.mk | 4 +- devel/ice37/files/patch-python-Makefile | 4 +- devel/ice37/files/patch-python-config-Make.rules | 8 ++-- .../files/patch-python-modules-IcePy-Makefile.mk | 4 +- devel/ice37/files/patch-python-python-Makefile | 8 ++-- .../files/patch-python-test-Ice-info-AllTests.py | 18 ++++----- devel/ice37/files/patch-scripts-Glacier2Util.py | 10 ++--- devel/ice37/files/patch-scripts-Util.py | 42 +++++++++------------ devel/ice37/pkg-plist | 44 +++++++++++----------- devel/php-ice37/Makefile | 1 - 35 files changed, 181 insertions(+), 193 deletions(-) diff --git a/devel/ice37/Makefile b/devel/ice37/Makefile index 5547efb53727..c49a9a177dc6 100644 --- a/devel/ice37/Makefile +++ b/devel/ice37/Makefile @@ -1,14 +1,9 @@ PORTNAME= Ice -PORTVERSION= 3.7.2 -PORTREVISION= 1 +PORTVERSION= 3.7.6 DISTVERSIONPREFIX= v CATEGORIES= devel PKGNAMESUFFIX?= 37 -# Fix ${WRKSRC}/python/config/Make.rules to allow build with Python 3.8 -PATCH_SITES= https://github.com/zeroc-ice/ice/commit/ -PATCHFILES= 067fd319b37f0ebdb995b3771e7c0b8b6e2b55f1.patch:-p1 - MAINTAINER= grembo@FreeBSD.org COMMENT= Modern alternative to object middleware such as CORBA/COM/DCOM/COM+ diff --git a/devel/ice37/distinfo b/devel/ice37/distinfo index 31010fff478f..00a3e36b5262 100644 --- a/devel/ice37/distinfo +++ b/devel/ice37/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1617032905 -SHA256 (zeroc-ice-ice-v3.7.2_GH0.tar.gz) = e329a24abf94a4772a58a0fe61af4e707743a272c854552eef3d7833099f40f9 -SIZE (zeroc-ice-ice-v3.7.2_GH0.tar.gz) = 9427121 -SHA256 (067fd319b37f0ebdb995b3771e7c0b8b6e2b55f1.patch) = c9186f79236968030b169f5649c5b35ec3b16210fb3949c9660014c878680421 -SIZE (067fd319b37f0ebdb995b3771e7c0b8b6e2b55f1.patch) = 1912 +TIMESTAMP = 1642272308 +SHA256 (zeroc-ice-ice-v3.7.6_GH0.tar.gz) = 75b18697c0c74f363bd0b85943f15638736e859c26778337cbfe72d31f5cfb47 +SIZE (zeroc-ice-ice-v3.7.6_GH0.tar.gz) = 10652936 +SHA256 (067fd319b37f0ebdb995b3771e7c0b8b6e2b55f1.patch) = b63312229fa59650fdb7fe7a6666900c26685d9eb34ced357909c2e2abe34ee7 +SIZE (067fd319b37f0ebdb995b3771e7c0b8b6e2b55f1.patch) = 1916 diff --git a/devel/ice37/files/patch-config-Make.project.rules b/devel/ice37/files/patch-config-Make.project.rules index afb1637630bc..6c1ba4238058 100644 --- a/devel/ice37/files/patch-config-Make.project.rules +++ b/devel/ice37/files/patch-config-Make.project.rules @@ -1,14 +1,14 @@ ---- config/Make.project.rules.orig 2018-04-20 15:02:08 UTC +--- config/Make.project.rules.orig 2021-06-21 14:44:58 UTC +++ config/Make.project.rules -@@ -48,17 +48,16 @@ component-configs = $(call unique, +@@ -43,17 +43,16 @@ component-configs = $(call unique,$(foreach c,$( # # Some variables for utilities # --INSTALL = install -p --MV = mv -f --RM = rm -f --MKDIR = mkdir --CHMOD = chmod +-INSTALL ?= install -p +-MV ?= mv -f +-RM ?= rm -f +-MKDIR ?= mkdir +-CHMOD ?= chmod +MV = /bin/mv +RM = /bin/rm -f +MKDIR = /bin/mkdir -p @@ -23,7 +23,7 @@ # # $(call install-data-files,$1=files,$2=$srcdir,$3=$destdir,$4=target,$5=text-output) -@@ -218,7 +217,7 @@ endef +@@ -213,7 +212,7 @@ endef define install-static-library $(DESTDIR)$5/$(call mklibname,$1,$3,$4): $2/$(call mklibname,$1,$3,$4) | $(DESTDIR)$5 $(E) "Installing $$@" @@ -32,7 +32,7 @@ endef # $(call get-static-library-targets,$1=libname,$2=libdir,$3=version,$4=soversion,$5=devinstall) -@@ -254,8 +253,7 @@ define install-shared-library +@@ -249,8 +248,7 @@ define install-shared-library $(DESTDIR)$5/$(call mkshlibfilename,$1,$3,$4): $2/$(call mkshlibfilename,$1,$3,$4) | $(DESTDIR)$5 $(E) "Installing $$@" @@ -42,7 +42,7 @@ ifneq ($(and $4,$(filter-out undefined,$(origin mksoname))),) $(DESTDIR)$5/$(call mksoname,$1,$3,$4): $(DESTDIR)$5/$(call mkshlibfilename,$1,$3,$4) \ -@@ -295,8 +293,7 @@ endef +@@ -289,8 +287,7 @@ endef define install-shared-module $(DESTDIR)$5/$1: $2/$1 | $(DESTDIR)$5 $(E) "Installing $$@" @@ -52,7 +52,7 @@ endef # $(call get-shared-module-targets,$1=libname,$2=libdir,$3=version,$4=soversion,$5=devinstall) -@@ -320,8 +317,7 @@ endef +@@ -314,8 +311,7 @@ endef define install-program $(DESTDIR)$5/$1$(EXE_EXT): $2/$1$(EXE_EXT) | $(DESTDIR)$5 $(E) "Installing $$@" diff --git a/devel/ice37/files/patch-config-Make.rules b/devel/ice37/files/patch-config-Make.rules index 92b0ad0d59b7..d216f7a4ac23 100644 --- a/devel/ice37/files/patch-config-Make.rules +++ b/devel/ice37/files/patch-config-Make.rules @@ -1,6 +1,6 @@ ---- config/Make.rules.orig 2018-04-20 15:02:08 UTC +--- config/Make.rules.orig 2021-06-21 14:44:58 UTC +++ config/Make.rules -@@ -150,7 +150,7 @@ slicedir = $(if $(use-bin +@@ -151,7 +151,7 @@ slicedir = $(if $(use-bin-dist),$(ice_s sdkdir = $(if $(use-bin-dist),$(ice_home)/sdk,$(top_srcdir)/sdk) srcdir = $(call mappingdir,$(or $1,$(currentdir)),src) diff --git a/devel/ice37/files/patch-cpp-include-IceUtil-Config.h b/devel/ice37/files/patch-cpp-include-IceUtil-Config.h index 743bbb2a7c13..e78b3d453d1e 100644 --- a/devel/ice37/files/patch-cpp-include-IceUtil-Config.h +++ b/devel/ice37/files/patch-cpp-include-IceUtil-Config.h @@ -1,6 +1,6 @@ ---- cpp/include/IceUtil/Config.h.orig 2018-04-20 15:02:08 UTC +--- cpp/include/IceUtil/Config.h.orig 2021-06-21 14:44:58 UTC +++ cpp/include/IceUtil/Config.h -@@ -80,13 +80,15 @@ +@@ -78,13 +78,15 @@ // # include @@ -11,7 +11,7 @@ +# elif (__cplusplus >= 201103L) && defined(__WORDSIZE) && (__WORDSIZE == 32) # define ICE_32 # elif defined(__sun) && (defined(__sparcv9) || defined(__x86_64)) || \ - defined(__linux) && defined(__x86_64) || \ + defined(__linux__) && defined(__x86_64) || \ defined(__APPLE__) && defined(__x86_64) || \ + defined(__FreeBSD__) && defined(__x86_64) || \ + defined(__FreeBSD__) && defined(__LP64__) || \ diff --git a/devel/ice37/files/patch-cpp-src-Ice-ProxyFactory.cpp b/devel/ice37/files/patch-cpp-src-Ice-ProxyFactory.cpp index 80d813663345..17b4b01eaf97 100644 --- a/devel/ice37/files/patch-cpp-src-Ice-ProxyFactory.cpp +++ b/devel/ice37/files/patch-cpp-src-Ice-ProxyFactory.cpp @@ -1,6 +1,6 @@ ---- cpp/src/Ice/ProxyFactory.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/src/Ice/ProxyFactory.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/src/Ice/ProxyFactory.cpp -@@ -233,6 +233,7 @@ IceInternal::ProxyFactory::checkRetryAft +@@ -237,6 +237,7 @@ IceInternal::ProxyFactory::checkRetryAfterException(co } else if(cnt > static_cast(_retryIntervals.size())) { diff --git a/devel/ice37/files/patch-cpp-src-Ice-Thread.cpp b/devel/ice37/files/patch-cpp-src-Ice-Thread.cpp index 21714728ccd1..3bd93a474d32 100644 --- a/devel/ice37/files/patch-cpp-src-Ice-Thread.cpp +++ b/devel/ice37/files/patch-cpp-src-Ice-Thread.cpp @@ -1,6 +1,6 @@ ---- cpp/src/Ice/Thread.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/src/Ice/Thread.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/src/Ice/Thread.cpp -@@ -720,6 +720,12 @@ IceUtil::Thread::start(size_t stackSize, +@@ -724,6 +724,12 @@ IceUtil::Thread::start(size_t stackSize, bool realtime stackSize = stackSize / 4096 * 4096 + 4096; } #endif diff --git a/devel/ice37/files/patch-cpp-src-Ice-ThreadPool.cpp b/devel/ice37/files/patch-cpp-src-Ice-ThreadPool.cpp new file mode 100644 index 000000000000..c5eeed90796c --- /dev/null +++ b/devel/ice37/files/patch-cpp-src-Ice-ThreadPool.cpp @@ -0,0 +1,23 @@ +--- cpp/src/Ice/ThreadPool.cpp.orig 2021-06-21 14:44:58 UTC ++++ cpp/src/Ice/ThreadPool.cpp +@@ -17,6 +17,10 @@ + # include + #endif + ++#if defined(__FreeBSD__) ++# include ++#endif ++ + using namespace std; + using namespace Ice; + using namespace Ice::Instrumentation; +@@ -303,8 +307,8 @@ IceInternal::ThreadPool::ThreadPool(const InstancePtr& + int nProcessors = sysInfo.dwNumberOfProcessors; + # elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + static int ncpu[2] = { CTL_HW, HW_NCPU }; +- size_t sz = sizeof(nProcessors); + int nProcessors; ++ size_t sz = sizeof(nProcessors); + if(sysctl(ncpu, 2, &nProcessors, &sz, 0, 0) == -1) + { + nProcessors = 1; diff --git a/devel/ice37/files/patch-cpp-src-IceGrid-PluginFacadeI.cpp b/devel/ice37/files/patch-cpp-src-IceGrid-PluginFacadeI.cpp index cadd284f3d60..ace6dc36ed27 100644 --- a/devel/ice37/files/patch-cpp-src-IceGrid-PluginFacadeI.cpp +++ b/devel/ice37/files/patch-cpp-src-IceGrid-PluginFacadeI.cpp @@ -1,6 +1,6 @@ ---- cpp/src/IceGrid/PluginFacadeI.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/src/IceGrid/PluginFacadeI.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/src/IceGrid/PluginFacadeI.cpp -@@ -34,10 +34,16 @@ public: +@@ -29,10 +29,16 @@ class Init (public) IceGrid::setRegistryPluginFacade(new RegistryPluginFacadeI); } diff --git a/devel/ice37/files/patch-cpp-src-IceGrid-RegistryI.cpp b/devel/ice37/files/patch-cpp-src-IceGrid-RegistryI.cpp index afa418cdeb94..24999e88883a 100644 --- a/devel/ice37/files/patch-cpp-src-IceGrid-RegistryI.cpp +++ b/devel/ice37/files/patch-cpp-src-IceGrid-RegistryI.cpp @@ -1,6 +1,6 @@ ---- cpp/src/IceGrid/RegistryI.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/src/IceGrid/RegistryI.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/src/IceGrid/RegistryI.cpp -@@ -46,6 +46,13 @@ using namespace std; +@@ -41,6 +41,13 @@ using namespace std; using namespace Ice; using namespace IceGrid; @@ -14,7 +14,7 @@ namespace { -@@ -183,6 +190,7 @@ RegistryI::RegistryI(const CommunicatorP +@@ -178,6 +185,7 @@ RegistryI::RegistryI(const CommunicatorPtr& communicat RegistryI::~RegistryI() { diff --git a/devel/ice37/files/patch-cpp-src-IceStorm-Replica.h b/devel/ice37/files/patch-cpp-src-IceStorm-Replica.h new file mode 100644 index 000000000000..82d60fdf8a29 --- /dev/null +++ b/devel/ice37/files/patch-cpp-src-IceStorm-Replica.h @@ -0,0 +1,11 @@ +--- cpp/src/IceStorm/Replica.h.orig 2021-06-21 14:44:58 UTC ++++ cpp/src/IceStorm/Replica.h +@@ -23,7 +23,7 @@ struct GroupNodeInfo + // + #if defined(__clang__) && defined(_LIBCPP_VERSION) + # ifdef ICE_CPP11_COMPILER +- GroupNodeInfo(const GroupNodeInfo&); ++ GroupNodeInfo(const GroupNodeInfo&) = default; + # endif + GroupNodeInfo& operator=(const GroupNodeInfo&); + #endif diff --git a/devel/ice37/files/patch-cpp-test-Glacier2-ssl-Server.cpp b/devel/ice37/files/patch-cpp-test-Glacier2-ssl-Server.cpp index 0c3fc64ae6b6..b75846bfa295 100644 --- a/devel/ice37/files/patch-cpp-test-Glacier2-ssl-Server.cpp +++ b/devel/ice37/files/patch-cpp-test-Glacier2-ssl-Server.cpp @@ -1,7 +1,7 @@ ---- cpp/test/Glacier2/ssl/Server.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/Glacier2/ssl/Server.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/Glacier2/ssl/Server.cpp -@@ -35,9 +35,9 @@ void testContext(bool ssl, const Ice::Co - port << getTestPort(communicator->getProperties(), 1); +@@ -31,9 +31,9 @@ void testContext(bool ssl, const Ice::CommunicatorPtr& + port << TestHelper::getTestPort(communicator->getProperties(), 1); test(ctx["_con.localPort"] == port.str()); } - test(ctx["_con.localAddress"] == "127.0.0.1"); @@ -12,7 +12,7 @@ } } -@@ -129,8 +129,8 @@ public: +@@ -125,8 +125,8 @@ class SSLSessionManagerI : public Glacier2::SSLSession { testContext(true, current.adapter->getCommunicator(), current.ctx); diff --git a/devel/ice37/files/patch-cpp-test-Ice-info-AllTests.cpp b/devel/ice37/files/patch-cpp-test-Ice-info-AllTests.cpp index ec7d5f6f85dd..81ecd3d7d9ad 100644 --- a/devel/ice37/files/patch-cpp-test-Ice-info-AllTests.cpp +++ b/devel/ice37/files/patch-cpp-test-Ice-info-AllTests.cpp @@ -1,6 +1,6 @@ ---- cpp/test/Ice/info/AllTests.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/Ice/info/AllTests.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/Ice/info/AllTests.cpp -@@ -129,13 +129,13 @@ allTests(const Ice::CommunicatorPtr& com +@@ -125,13 +125,13 @@ allTests(Test::TestHelper* helper) test(ipEndpoint); test(ipEndpoint->type() == Ice::TCPEndpointType || ipEndpoint->type() == Ice::SSLEndpointType || ipEndpoint->type() == Ice::WSEndpointType || ipEndpoint->type() == Ice::WSSEndpointType); @@ -16,7 +16,7 @@ test(udpEndpoint->datagram()); test(udpEndpoint->port > 0); -@@ -218,8 +218,8 @@ allTests(const Ice::CommunicatorPtr& com +@@ -214,8 +214,8 @@ allTests(Test::TestHelper* helper) test(info->remotePort == port); if(defaultHost == "127.0.0.1") { @@ -27,7 +27,7 @@ } #if !defined(ICE_OS_UWP) test(info->rcvSize >= 1024); -@@ -279,8 +279,8 @@ allTests(const Ice::CommunicatorPtr& com +@@ -275,8 +275,8 @@ allTests(Test::TestHelper* helper) test(udpinfo->remotePort == port); if(defaultHost == "127.0.0.1") { diff --git a/devel/ice37/files/patch-cpp-test-Ice-metrics-AllTests.cpp b/devel/ice37/files/patch-cpp-test-Ice-metrics-AllTests.cpp index dde1aa63ced3..56c6ba8766ab 100644 --- a/devel/ice37/files/patch-cpp-test-Ice-metrics-AllTests.cpp +++ b/devel/ice37/files/patch-cpp-test-Ice-metrics-AllTests.cpp @@ -1,6 +1,6 @@ ---- cpp/test/Ice/metrics/AllTests.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/Ice/metrics/AllTests.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/Ice/metrics/AllTests.cpp -@@ -712,9 +712,12 @@ allTests(const Ice::CommunicatorPtr& com +@@ -858,9 +858,12 @@ allTests(Test::TestHelper* helper, const CommunicatorO testAttribute(clientMetrics, clientProps, update.get(), "Connection", "incoming", "false"); testAttribute(clientMetrics, clientProps, update.get(), "Connection", "adapterName", ""); testAttribute(clientMetrics, clientProps, update.get(), "Connection", "connectionId", "Con1"); @@ -16,7 +16,7 @@ testAttribute(clientMetrics, clientProps, update.get(), "Connection", "remotePort", port); testAttribute(clientMetrics, clientProps, update.get(), "Connection", "mcastHost", ""); testAttribute(clientMetrics, clientProps, update.get(), "Connection", "mcastPort", ""); -@@ -803,7 +806,7 @@ allTests(const Ice::CommunicatorPtr& com +@@ -949,7 +952,7 @@ allTests(Test::TestHelper* helper, const CommunicatorO bool dnsException = false; try { @@ -25,7 +25,7 @@ test(false); } catch(const Ice::DNSException&) -@@ -816,7 +819,7 @@ allTests(const Ice::CommunicatorPtr& com +@@ -962,7 +965,7 @@ allTests(Test::TestHelper* helper, const CommunicatorO } test(clientMetrics->getMetricsView("View", timestamp)["EndpointLookup"].size() == 2); m1 = clientMetrics->getMetricsView("View", timestamp)["EndpointLookup"][1]; @@ -34,7 +34,7 @@ (!dnsException || m1->failures == 2)); if(dnsException) { -@@ -947,9 +950,11 @@ allTests(const Ice::CommunicatorPtr& com +@@ -1093,9 +1096,11 @@ allTests(Test::TestHelper* helper, const CommunicatorO testAttribute(serverMetrics, serverProps, update.get(), "Dispatch", "incoming", "true", op); testAttribute(serverMetrics, serverProps, update.get(), "Dispatch", "adapterName", "TestAdapter", op); testAttribute(serverMetrics, serverProps, update.get(), "Dispatch", "connectionId", "", op); diff --git a/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-AllTests.cpp b/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-AllTests.cpp index 8dd6993a3603..c70bd8395fe7 100644 --- a/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-AllTests.cpp +++ b/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-AllTests.cpp @@ -1,6 +1,6 @@ ---- cpp/test/Ice/threadPoolPriority/AllTests.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/Ice/threadPoolPriority/AllTests.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/Ice/threadPoolPriority/AllTests.cpp -@@ -30,7 +30,7 @@ allTests(const Ice::CommunicatorPtr& com +@@ -26,7 +26,7 @@ allTests(Test::TestHelper* helper) #ifdef _WIN32 test(1 == priority->getPriority()); #else diff --git a/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-Server.cpp b/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-Server.cpp index a5ab3dcd00d9..0a71a898c603 100644 --- a/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-Server.cpp +++ b/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-Server.cpp @@ -1,6 +1,6 @@ ---- cpp/test/Ice/threadPoolPriority/Server.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/Ice/threadPoolPriority/Server.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/Ice/threadPoolPriority/Server.cpp -@@ -43,7 +43,7 @@ run(int, char**, const Ice::Communicator +@@ -46,7 +46,7 @@ Server::run(int argc, char** argv) #ifdef _WIN32 communicator->getProperties()->setProperty("Ice.ThreadPool.Server.ThreadPriority", "1"); #else diff --git a/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-ServerCustomThreadPool.cpp b/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-ServerCustomThreadPool.cpp index 9ee38ed0c75c..052e07920dd6 100644 --- a/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-ServerCustomThreadPool.cpp +++ b/devel/ice37/files/patch-cpp-test-Ice-threadPoolPriority-ServerCustomThreadPool.cpp @@ -1,6 +1,6 @@ ---- cpp/test/Ice/threadPoolPriority/ServerCustomThreadPool.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/Ice/threadPoolPriority/ServerCustomThreadPool.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/Ice/threadPoolPriority/ServerCustomThreadPool.cpp -@@ -48,7 +48,7 @@ run(int, char**, const Ice::Communicator +@@ -51,7 +51,7 @@ ServerCustomThreadPool::run(int argc, char** argv) communicator->getProperties()->setProperty("TestAdapter.ThreadPool.ThreadPriority", "1"); #else communicator->getProperties()->setProperty("Ice.ThreadPool.Server.ThreadPriority", "10"); diff --git a/devel/ice37/files/patch-cpp-test-IceSSL-configuration-AllTests.cpp b/devel/ice37/files/patch-cpp-test-IceSSL-configuration-AllTests.cpp index a9951417629e..3058341ece46 100644 --- a/devel/ice37/files/patch-cpp-test-IceSSL-configuration-AllTests.cpp +++ b/devel/ice37/files/patch-cpp-test-IceSSL-configuration-AllTests.cpp @@ -1,6 +1,6 @@ ---- cpp/test/IceSSL/configuration/AllTests.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/IceSSL/configuration/AllTests.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/IceSSL/configuration/AllTests.cpp -@@ -741,7 +741,11 @@ allTests(const CommunicatorPtr& communic +@@ -743,7 +743,11 @@ allTests(Test::TestHelper* helper, const string& /*tes openSSLVersion = plugin->getOpenSSLVersion(); comm->destroy(); } @@ -12,15 +12,15 @@ #endif IceSSL::ConnectionInfoPtr info; -@@ -2655,6 +2659,7 @@ allTests(const CommunicatorPtr& communic - // This is fixed in 10.11.3 - if(!elCapitanUpdate2OrLower) +@@ -2681,6 +2685,7 @@ allTests(Test::TestHelper* helper, const string& /*tes + } + { +#if !defined(LIBRESSL_VERSION_NUMBER) // // This should fail because we disabled all anonymous ciphers and the server doesn't // provide a certificate. -@@ -2692,6 +2697,7 @@ allTests(const CommunicatorPtr& communic +@@ -2718,6 +2723,7 @@ allTests(Test::TestHelper* helper, const string& /*tes } fact->destroyServer(server); comm->destroy(); @@ -28,27 +28,3 @@ } # ifdef ICE_USE_SECURE_TRANSPORT { -@@ -2843,7 +2849,7 @@ allTests(const CommunicatorPtr& communic - // - // No DSA support in Secure Transport / AIX 7.1 - // --# if !defined(ICE_USE_SECURE_TRANSPORT) && !defined(_AIX) && !defined(ICE_USE_SCHANNEL) -+# if !defined(ICE_USE_SECURE_TRANSPORT) && !defined(_AIX) && !defined(ICE_USE_SCHANNEL) && !defined(LIBRESSL_VERSION_NUMBER) - { - // - // DSA PEM keys are not supported with SChannel. Since Windows 10 -@@ -4165,6 +4171,7 @@ allTests(const CommunicatorPtr& communic - #endif - } - -+#if 0 - #if !defined(_AIX) && !defined(ICE_OS_UWP) && !(defined(_WIN32) && defined(ICE_USE_OPENSSL)) - // - // On AIX 6.1, the default root certificates don't validate demo.zeroc.com. -@@ -4279,5 +4286,6 @@ allTests(const CommunicatorPtr& communic - } - cout << "ok" << endl; - #endif -+#endif - return factory; - } diff --git a/devel/ice37/files/patch-cpp-test-IceStorm-single-test.py b/devel/ice37/files/patch-cpp-test-IceStorm-single-test.py deleted file mode 100644 index 4014f670bcf9..000000000000 --- a/devel/ice37/files/patch-cpp-test-IceStorm-single-test.py +++ /dev/null @@ -1,17 +0,0 @@ ---- cpp/test/IceStorm/single/test.py.orig 2018-08-27 01:10:47 UTC -+++ cpp/test/IceStorm/single/test.py -@@ -15,12 +15,12 @@ - # send buffer size (causing the received messages to be truncated). See - # bug #6070 and #7558. - # --props = { "Ice.UDP.SndSize" : 2048 * 1024, "Ice.Warn.Dispatch" : 0 } -+props = { "Ice.UDP.SndSize" : 512 * 1024, "Ice.Warn.Dispatch" : 0 } - persistent = IceStorm(props = props) - transient = IceStorm(props = props, transient=True) - replicated = [ IceStorm(replica=i, nreplicas=3, props = props) for i in range(0,3) ] - --sub = Subscriber(args=["{testcase.parent.name}"], props = { "Ice.UDP.RcvSize" : 4096 * 1024 }, readyCount=3) -+sub = Subscriber(args=["{testcase.parent.name}"], props = { "Ice.UDP.RcvSize" : 1024 * 1024 }, readyCount=3) - pub = Publisher(args=["{testcase.parent.name}"]) - - class IceStormSingleTestCase(IceStormTestCase): diff --git a/devel/ice37/files/patch-cpp-test-IceUtil-priority-PriorityInversion.cpp b/devel/ice37/files/patch-cpp-test-IceUtil-priority-PriorityInversion.cpp index 9e629463b17a..84b30979c7cc 100644 --- a/devel/ice37/files/patch-cpp-test-IceUtil-priority-PriorityInversion.cpp +++ b/devel/ice37/files/patch-cpp-test-IceUtil-priority-PriorityInversion.cpp @@ -1,6 +1,6 @@ ---- cpp/test/IceUtil/priority/PriorityInversion.cpp.orig 2018-04-20 15:02:08 UTC +--- cpp/test/IceUtil/priority/PriorityInversion.cpp.orig 2021-06-21 14:44:58 UTC +++ cpp/test/IceUtil/priority/PriorityInversion.cpp -@@ -342,8 +342,8 @@ PriorityInversionTest::run() +@@ -338,8 +338,8 @@ PriorityInversionTest::run() return; // Mutex protocol PrioInherit not supported } cores = static_cast(sysconf(_SC_NPROCESSORS_ONLN)); @@ -9,5 +9,5 @@ + high = 31; + medium = 15; low = 1; - #endif + { diff --git a/devel/ice37/files/patch-cpp-test-Slice-unicodePaths-test.py b/devel/ice37/files/patch-cpp-test-Slice-unicodePaths-test.py index 848dc24d3d06..b9b90f287dc6 100644 --- a/devel/ice37/files/patch-cpp-test-Slice-unicodePaths-test.py +++ b/devel/ice37/files/patch-cpp-test-Slice-unicodePaths-test.py @@ -1,6 +1,6 @@ ---- cpp/test/Slice/unicodePaths/test.py.orig 2018-08-27 01:10:47 UTC +--- cpp/test/Slice/unicodePaths/test.py.orig 2022-01-15 23:22:20 UTC +++ cpp/test/Slice/unicodePaths/test.py -@@ -14,7 +14,7 @@ class SliceUnicodePathsTestCase(ClientTe +@@ -9,7 +9,7 @@ class SliceUnicodePathsTestCase(ClientTestCase): def runClientSide(self, current): diff --git a/devel/ice37/files/patch-cpp-test-include-TestHelper.h b/devel/ice37/files/patch-cpp-test-include-TestHelper.h index 3ccbef2f6a7a..008bdd729e5e 100644 --- a/devel/ice37/files/patch-cpp-test-include-TestHelper.h +++ b/devel/ice37/files/patch-cpp-test-include-TestHelper.h @@ -1,6 +1,6 @@ ---- cpp/test/include/TestHelper.h.orig 2019-02-11 14:02:41.681160000 +0100 -+++ cpp/test/include/TestHelper.h 2019-02-11 16:04:38.557681000 +0100 -@@ -199,4 +199,20 @@ +--- cpp/test/include/TestHelper.h.orig 2021-06-21 14:44:58 UTC ++++ cpp/test/include/TestHelper.h +@@ -199,4 +199,20 @@ runTest(int argc, char* argv[]) #define test(ex) ((ex) ? ((void)0) : ::Test::testFailed(#ex, __FILE__, __LINE__)) diff --git a/devel/ice37/files/patch-php-Makefile b/devel/ice37/files/patch-php-Makefile index d038b70d2560..fd5028b54af0 100644 --- a/devel/ice37/files/patch-php-Makefile +++ b/devel/ice37/files/patch-php-Makefile @@ -1,6 +1,6 @@ ---- php/Makefile.orig 2018-04-20 15:02:08 UTC +--- php/Makefile.orig 2021-06-21 14:44:58 UTC +++ php/Makefile -@@ -15,8 +15,8 @@ include $(top_srcdir)/config/Make.rules +@@ -10,8 +10,8 @@ include $(top_srcdir)/config/Make.rules # # Load C++ dependencies # @@ -11,7 +11,7 @@ # # Load php rules after loading C++ dependencies -@@ -44,11 +44,11 @@ $(call make-projects,$(projects)) +@@ -39,11 +39,11 @@ $(call make-projects,$(projects)) install:: | $(DESTDIR)$(install_phpdir) $(E) "Installing generated code" diff --git a/devel/ice37/files/patch-php-config-Make.rules b/devel/ice37/files/patch-php-config-Make.rules index aa92a5b380b6..9076196cc46e 100644 --- a/devel/ice37/files/patch-php-config-Make.rules +++ b/devel/ice37/files/patch-php-config-Make.rules @@ -1,6 +1,6 @@ ---- php/config/Make.rules.orig 2018-04-20 15:02:08 UTC +--- php/config/Make.rules.orig 2021-06-21 14:44:58 UTC +++ php/config/Make.rules -@@ -23,6 +23,10 @@ USE_NAMESPACES ?= yes +@@ -18,6 +18,10 @@ USE_NAMESPACES ?= yes # Don't change anything below this line! # ---------------------------------------------------------------------- diff --git a/devel/ice37/files/patch-php-src-php7-Makefile.mk b/devel/ice37/files/patch-php-src-php-Makefile.mk similarity index 61% rename from devel/ice37/files/patch-php-src-php7-Makefile.mk rename to devel/ice37/files/patch-php-src-php-Makefile.mk index 5ac204d7d143..5c98014365bd 100644 --- a/devel/ice37/files/patch-php-src-php7-Makefile.mk +++ b/devel/ice37/files/patch-php-src-php-Makefile.mk @@ -1,12 +1,17 @@ ---- php/src/php7/Makefile.mk.orig 2018-04-20 15:02:08 UTC -+++ php/src/php7/Makefile.mk -@@ -14,8 +14,8 @@ IcePHP_targetname := ice +--- php/src/php/Makefile.mk.orig 2021-06-21 14:44:58 UTC ++++ php/src/php/Makefile.mk +@@ -9,8 +9,13 @@ IcePHP_targetname := ice IcePHP_targetdir := lib IcePHP_installdir := $(install_phplibdir) IcePHP_cppflags := -I$(project) -I$(top_srcdir)/cpp/src $(ice_cpp_cppflags) $(php_cppflags) -IcePHP_ldflags := $(php_ldflags) -IcePHP_dependencies := IceDiscovery IceLocatorDiscovery IceSSL Ice -+IcePHP_system_libs := $(php_ldflags) -L/usr/local/lib -lIceDiscovery -lIceLocatorDiscovery -lIceSSL -lIce -lphp7 ++IcePHP_system_libs := $(php_ldflags) -L/usr/local/lib -lIceDiscovery -lIceLocatorDiscovery -lIceSSL -lIce ++ifeq ($(shell [ $$($(PHP_CONFIG) --vernum) -lt 80000 ] && echo 0),0) ++ IcePHP_system_libs += -lphp7 ++else ++ IcePHP_system_libs += -lphp ++endif +#IcePHP_dependencies := IceDiscovery IceLocatorDiscovery IceSSL Ice IcePHP_extra_sources := $(top_srcdir)/cpp/src/Slice/PHPUtil.cpp diff --git a/devel/ice37/files/patch-php-src-php5-Makefile.mk b/devel/ice37/files/patch-php-src-php5-Makefile.mk index 2a9c6fe1462c..fb1ef3c2352b 100644 --- a/devel/ice37/files/patch-php-src-php5-Makefile.mk +++ b/devel/ice37/files/patch-php-src-php5-Makefile.mk @@ -1,6 +1,6 @@ ---- php/src/php5/Makefile.mk.orig 2018-04-20 15:02:08 UTC +--- php/src/php5/Makefile.mk.orig 2021-06-21 14:44:58 UTC +++ php/src/php5/Makefile.mk -@@ -14,8 +14,8 @@ IcePHP_targetname := ice +@@ -9,8 +9,8 @@ IcePHP_targetname := ice IcePHP_targetdir := lib IcePHP_installdir := $(install_phplibdir) IcePHP_cppflags := -I$(project) -I$(top_srcdir)/cpp/src $(ice_cpp_cppflags) $(php_cppflags) diff --git a/devel/ice37/files/patch-python-Makefile b/devel/ice37/files/patch-python-Makefile index ae548b0db5fb..e79cc325995b 100644 --- a/devel/ice37/files/patch-python-Makefile +++ b/devel/ice37/files/patch-python-Makefile @@ -1,6 +1,6 @@ ---- python/Makefile.orig 2018-04-20 15:02:08 UTC +--- python/Makefile.orig 2021-06-21 14:44:58 UTC +++ python/Makefile -@@ -19,7 +19,7 @@ include $(top_srcdir)/config/Make.rules +@@ -14,7 +14,7 @@ include $(top_srcdir)/config/Make.rules # # Load C++ dependencies # diff --git a/devel/ice37/files/patch-python-config-Make.rules b/devel/ice37/files/patch-python-config-Make.rules index fc7a58188d1b..8878487979ba 100644 --- a/devel/ice37/files/patch-python-config-Make.rules +++ b/devel/ice37/files/patch-python-config-Make.rules @@ -1,6 +1,6 @@ ---- python/config/Make.rules.orig 2018-04-20 15:02:08 UTC +--- python/config/Make.rules.orig 2021-06-21 14:44:58 UTC +++ python/config/Make.rules -@@ -12,7 +12,8 @@ +@@ -7,7 +7,8 @@ # version to be used for building the Ice extension, set PYTHON to the # location of the python interpreter. # @@ -10,11 +10,11 @@ # ---------------------------------------------------------------------- # Don't change anything below this line! -@@ -46,7 +47,7 @@ python_cppflags := $(filter-out +@@ -59,7 +60,7 @@ python_cppflags := $(filter-out -Wunreachable- # # Python installation directory # --install_pythondir = $(if $(usr_dir_install),$(shell $(PYTHON) $(lang_srcdir)/config/install_dir),$(prefix)/python) +-install_pythondir = $(or $(PYTHON_INSTALLDIR),$(if $(usr_dir_install),$(shell $(PYTHON) $(lang_srcdir)/config/install_dir),$(prefix)/python)) +install_pythondir = %%PYTHON_SITELIBDIR%% # diff --git a/devel/ice37/files/patch-python-modules-IcePy-Makefile.mk b/devel/ice37/files/patch-python-modules-IcePy-Makefile.mk index 1e7a46995bb3..b4455e08699e 100644 --- a/devel/ice37/files/patch-python-modules-IcePy-Makefile.mk +++ b/devel/ice37/files/patch-python-modules-IcePy-Makefile.mk @@ -1,6 +1,6 @@ ---- python/modules/IcePy/Makefile.mk.orig 2018-04-20 15:02:08 UTC +--- python/modules/IcePy/Makefile.mk.orig 2021-06-21 14:44:58 UTC +++ python/modules/IcePy/Makefile.mk -@@ -14,8 +14,8 @@ IcePy_targetname := IcePy +@@ -9,8 +9,8 @@ IcePy_targetname := IcePy IcePy_targetdir := $(lang_srcdir)/python IcePy_installdir := $(install_pythondir) IcePy_cppflags := -I$(project) $(ice_cpp_cppflags) -I$(top_srcdir)/cpp/src $(python_cppflags) diff --git a/devel/ice37/files/patch-python-python-Makefile b/devel/ice37/files/patch-python-python-Makefile index dcefed3195ed..671af7462679 100644 --- a/devel/ice37/files/patch-python-python-Makefile +++ b/devel/ice37/files/patch-python-python-Makefile @@ -1,6 +1,6 @@ ---- python/python/Makefile.orig 2018-04-20 15:02:08 UTC +--- python/python/Makefile.orig 2021-06-21 14:44:58 UTC +++ python/python/Makefile -@@ -16,7 +16,7 @@ include $(lang_srcdir)/config/Make.rules +@@ -11,7 +11,7 @@ include $(lang_srcdir)/config/Make.rules # # Load C++ dependencies # @@ -9,7 +9,7 @@ .NOTPARALLEL: -@@ -35,12 +35,12 @@ $(eval $(call make-python-slice,$(sliced +@@ -30,12 +30,12 @@ $(eval $(call make-python-slice,$(slicedir),$(lang_src install:: | $(DESTDIR)$(install_pythondir)/Ice $(E) "Installing generated code" @@ -17,7 +17,7 @@ + $(Q)%%INSTALL_DATA%% -m 644 Ice/__init__.py $(DESTDIR)$(install_pythondir)/Ice # Ice/Future requires python >= 3.5 ifeq ($(shell $(PYTHON) -c "print(1 if $(python-version) >= 3.5 else 0)"),1) -- $(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(install_pythondir)/Ice/Py3 +- $(Q)$(MKDIR) -p -m 755 $(DESTDIR)$(install_pythondir)/Ice/Py3 - $(Q)$(INSTALL) -m 644 Ice/Py3/IceFuture.py $(DESTDIR)$(install_pythondir)/Ice/Py3/ + $(Q)%%MKDIR%% $(DESTDIR)$(install_pythondir)/Ice/Py3 + $(Q)%%INSTALL_DATA%% -m 644 Ice/Py3/IceFuture.py $(DESTDIR)$(install_pythondir)/Ice/Py3/ diff --git a/devel/ice37/files/patch-python-test-Ice-info-AllTests.py b/devel/ice37/files/patch-python-test-Ice-info-AllTests.py index bb36c22792b6..b73a9c3a5ad8 100644 --- a/devel/ice37/files/patch-python-test-Ice-info-AllTests.py +++ b/devel/ice37/files/patch-python-test-Ice-info-AllTests.py @@ -1,8 +1,8 @@ ---- python/test/Ice/info/AllTests.py.orig 2018-08-27 01:10:47 UTC +--- python/test/Ice/info/AllTests.py.orig 2022-01-15 23:22:20 UTC +++ python/test/Ice/info/AllTests.py -@@ -7,12 +7,31 @@ +@@ -2,12 +2,31 @@ + # Copyright (c) ZeroC, Inc. All rights reserved. # - # ********************************************************************** -import Ice, Test, sys, threading +import Ice, Test, sys, subprocess, threading @@ -33,7 +33,7 @@ def getTCPEndpointInfo(info): while(info): if isinstance(info, Ice.TCPEndpointInfo): -@@ -119,7 +138,7 @@ def allTests(communicator): +@@ -114,7 +133,7 @@ def allTests(helper, communicator): test(tcpEndpoint.port == 15000) tcpEndpoint = getTCPEndpointInfo(publishedEndpoints[0].getInfo()) @@ -42,16 +42,16 @@ test(tcpEndpoint.port == 15000) adapter.destroy() -@@ -137,7 +156,7 @@ def allTests(communicator): +@@ -134,7 +153,7 @@ def allTests(helper, communicator): tcpinfo = getTCPEndpointInfo(base.ice_getConnection().getEndpoint().getInfo()) - test(tcpinfo.port == 12010) + test(tcpinfo.port == port) test(not tcpinfo.compress) - test(tcpinfo.host == defaultHost) + test(tcpinfo.host == defaultHost or isFreeBSDJail()) ctx = testIntf.getEndpointInfoAsContext() test(ctx["host"] == tcpinfo.host) -@@ -147,7 +166,7 @@ def allTests(communicator): +@@ -144,7 +163,7 @@ def allTests(helper, communicator): udp = base.ice_datagram().ice_getConnection().getEndpoint().getInfo() test(udp.port == port) @@ -60,9 +60,9 @@ print("ok") -@@ -163,8 +182,8 @@ def allTests(communicator): +@@ -160,8 +179,8 @@ def allTests(helper, communicator): test(len(info.adapterName) == 0) - test(tcpinfo.remotePort == 12010) + test(tcpinfo.remotePort == port) if defaultHost == '127.0.0.1': - test(tcpinfo.remoteAddress == defaultHost) - test(tcpinfo.localAddress == defaultHost) diff --git a/devel/ice37/files/patch-scripts-Glacier2Util.py b/devel/ice37/files/patch-scripts-Glacier2Util.py index 288d07fe67ad..5fb0e391ce03 100644 --- a/devel/ice37/files/patch-scripts-Glacier2Util.py +++ b/devel/ice37/files/patch-scripts-Glacier2Util.py @@ -1,12 +1,12 @@ ---- scripts/Glacier2Util.py.orig 2018-08-27 01:10:47 UTC +--- scripts/Glacier2Util.py.orig 2022-01-15 23:22:20 UTC +++ scripts/Glacier2Util.py -@@ -19,10 +19,13 @@ class Glacier2Router(ProcessFromBinDir, - self.passwords = passwords +@@ -17,10 +17,13 @@ class Glacier2Router(ProcessFromBinDir, ProcessIsRelea + return self.exe + "_32" if current.config.buildPlatform == "ppc" else self.exe def setup(self, current): + glacier2router = self.getMapping(current).getCommandLine(current, self, self.exe, "") -+ if not os.path.exists(self.exe) and os.path.exists("/usr/local/bin/glacier2router"): -+ self.exe = "/usr/local/bin/glacier2router" ++ if not os.path.exists(self.exe) and os.path.exists("%%LOCALBASE%%/bin/glacier2router"): ++ self.exe = "%%LOCALBASE%%/bin/glacier2router" if self.passwords: path = os.path.join(current.testsuite.getPath(), "passwords") with open(path, "w") as file: diff --git a/devel/ice37/files/patch-scripts-Util.py b/devel/ice37/files/patch-scripts-Util.py index c0a047a7fde9..18d8b6fb30f7 100644 --- a/devel/ice37/files/patch-scripts-Util.py +++ b/devel/ice37/files/patch-scripts-Util.py @@ -1,6 +1,6 @@ ---- scripts/Util.py.orig 2019-02-11 16:48:19.076747000 +0100 -+++ scripts/Util.py 2019-02-11 19:16:32.768690000 +0100 -@@ -232,7 +232,7 @@ +--- scripts/Util.py.orig 2022-01-15 23:22:20 UTC ++++ scripts/Util.py +@@ -263,7 +263,7 @@ class Platform(object): elif Mapping.getByName("cpp"): cwd = Mapping.getByName("cpp").getPath() @@ -9,14 +9,16 @@ for l in output.split("\n"): match = re.match(r'^.*:.*: (.*) = (.*)', l) if match and match.group(1): -@@ -304,6 +304,27 @@ - def hasOpenSSL(self): - return True +@@ -348,6 +348,29 @@ class AIX(Platform): + def getInstallDir(self): + return "/opt/freeware" +class FreeBSD(Platform): + + def __init__(self): + self.nugetPackageCache = None ++ self._hasNodeJS = None ++ self._hasSwift = None + + def hasOpenSSL(self): + return True @@ -37,24 +39,16 @@ class Linux(Platform): def __init__(self): -@@ -1374,13 +1402,13 @@ - if os.path.exists(translator): - return translator + " " + args if args else translator - elif isinstance(platform, Windows): -- return os.path.join(os.path.dirname(sys.executable), "Scripts", "slice2py.exe") -+ return os.path.join(os.path.dirname(sys.executable), "Scripts", "slice2py.exe") + " " + args if args else translator - elif os.path.exists("/usr/local/bin/slice2py"): -- return "/usr/local/bin/slice2py" -+ return "/usr/local/bin/slice2py" + " " + args if args else translator - else: - import slice2py - return sys.executable + " " + os.path.normpath( -- os.path.join(slice2py.__file__, "..", "..", "..", "..", "bin", "slice2py")) -+ os.path.join(slice2py.__file__, "..", "..", "..", "..", "bin", "slice2py")) + " " + args if args else translator - else: - return Process.getCommandLine(self, current, args) - -@@ -3786,6 +3807,8 @@ +@@ -1443,7 +1466,7 @@ + # Look for slice2py installed by pip if not found in the bin directory + # + if self.exe == "slice2py": +- translator = self.getMapping(current).getCommandLine(current, self, self.getExe(current), "") ++ translator = self.getMapping(current).getCommandLine(current, self, "%%LOCALBASE%%/bin/slice2py", "") + if not os.path.exists(translator): + translator = sys.executable + " -m slice2py" + return (translator + " " + args).strip() +@@ -4059,6 +4082,8 @@ if sys.platform == "darwin": platform = Darwin() elif sys.platform.startswith("aix"): platform = AIX() diff --git a/devel/ice37/pkg-plist b/devel/ice37/pkg-plist index 7d2cbf0cc540..32549fc42d85 100644 --- a/devel/ice37/pkg-plist +++ b/devel/ice37/pkg-plist @@ -23,6 +23,7 @@ bin/slice2objc bin/slice2php bin/slice2py bin/slice2rb +bin/slice2swift include/Glacier2/Application.h include/Glacier2/Config.h include/Glacier2/Glacier2.h @@ -219,79 +220,79 @@ include/IceUtil/UUID.h include/IceUtil/UndefSysMacros.h %%STATIC%%lib/libGlacier2++11.a lib/libGlacier2++11.so -lib/libGlacier2++11.so.3.7.2 +lib/libGlacier2++11.so.3.7.6 lib/libGlacier2++11.so.37 %%STATIC%%lib/libGlacier2.a lib/libGlacier2.so -lib/libGlacier2.so.3.7.2 +lib/libGlacier2.so.3.7.6 lib/libGlacier2.so.37 -lib/libGlacier2CryptPermissionsVerifier.so.3.7.2 +lib/libGlacier2CryptPermissionsVerifier.so.3.7.6 lib/libGlacier2CryptPermissionsVerifier.so.37 %%STATIC%%lib/libIce++11.a lib/libIce++11.so -lib/libIce++11.so.3.7.2 +lib/libIce++11.so.3.7.6 lib/libIce++11.so.37 %%STATIC%%lib/libIce.a lib/libIce.so -lib/libIce.so.3.7.2 +lib/libIce.so.3.7.6 lib/libIce.so.37 %%STATIC%%lib/libIceBox++11.a lib/libIceBox++11.so -lib/libIceBox++11.so.3.7.2 +lib/libIceBox++11.so.3.7.6 lib/libIceBox++11.so.37 %%STATIC%%lib/libIceBox.a lib/libIceBox.so -lib/libIceBox.so.3.7.2 +lib/libIceBox.so.3.7.6 lib/libIceBox.so.37 -lib/libIceDB.so.3.7.2 +lib/libIceDB.so.3.7.6 lib/libIceDB.so.37 %%STATIC%%lib/libIceDiscovery++11.a lib/libIceDiscovery++11.so -lib/libIceDiscovery++11.so.3.7.2 +lib/libIceDiscovery++11.so.3.7.6 lib/libIceDiscovery++11.so.37 %%STATIC%%lib/libIceDiscovery.a lib/libIceDiscovery.so -lib/libIceDiscovery.so.3.7.2 +lib/libIceDiscovery.so.3.7.6 lib/libIceDiscovery.so.37 %%STATIC%%lib/libIceGrid++11.a lib/libIceGrid++11.so -lib/libIceGrid++11.so.3.7.2 +lib/libIceGrid++11.so.3.7.6 lib/libIceGrid++11.so.37 %%STATIC%%lib/libIceGrid.a lib/libIceGrid.so -lib/libIceGrid.so.3.7.2 +lib/libIceGrid.so.3.7.6 lib/libIceGrid.so.37 %%STATIC%%lib/libIceLocatorDiscovery++11.a lib/libIceLocatorDiscovery++11.so -lib/libIceLocatorDiscovery++11.so.3.7.2 +lib/libIceLocatorDiscovery++11.so.3.7.6 lib/libIceLocatorDiscovery++11.so.37 %%STATIC%%lib/libIceLocatorDiscovery.a lib/libIceLocatorDiscovery.so -lib/libIceLocatorDiscovery.so.3.7.2 +lib/libIceLocatorDiscovery.so.3.7.6 lib/libIceLocatorDiscovery.so.37 %%STATIC%%lib/libIcePatch2.a lib/libIcePatch2.so -lib/libIcePatch2.so.3.7.2 +lib/libIcePatch2.so.3.7.6 lib/libIcePatch2.so.37 %%STATIC%%lib/libIceSSL++11.a lib/libIceSSL++11.so -lib/libIceSSL++11.so.3.7.2 +lib/libIceSSL++11.so.3.7.6 lib/libIceSSL++11.so.37 %%STATIC%%lib/libIceSSL.a lib/libIceSSL.so -lib/libIceSSL.so.3.7.2 +lib/libIceSSL.so.3.7.6 lib/libIceSSL.so.37 %%STATIC%%lib/libIceStorm++11.a lib/libIceStorm++11.so -lib/libIceStorm++11.so.3.7.2 +lib/libIceStorm++11.so.3.7.6 lib/libIceStorm++11.so.37 %%STATIC%%lib/libIceStorm.a lib/libIceStorm.so -lib/libIceStorm.so.3.7.2 +lib/libIceStorm.so.3.7.6 lib/libIceStorm.so.37 -lib/libIceStormService.so.3.7.2 +lib/libIceStormService.so.3.7.6 lib/libIceStormService.so.37 -lib/libIceXML.so.3.7.2 +lib/libIceXML.so.3.7.6 lib/libIceXML.so.37 man/man1/glacier2router.1.gz man/man1/icebox.1.gz @@ -316,6 +317,7 @@ man/man1/slice2objc.1.gz man/man1/slice2php.1.gz man/man1/slice2py.1.gz man/man1/slice2rb.1.gz +man/man1/slice2swift.1.gz %%DATADIR%%/Glacier2/Metrics.ice %%DATADIR%%/Glacier2/PermissionsVerifier.ice %%DATADIR%%/Glacier2/PermissionsVerifierF.ice diff --git a/devel/php-ice37/Makefile b/devel/php-ice37/Makefile index 9117ddad8d86..2de74d14f8d4 100644 --- a/devel/php-ice37/Makefile +++ b/devel/php-ice37/Makefile *** 8 LINES SKIPPED ***