From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C99F138334 for ; Fri, 13 Sep 2019 15:11:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DDA0E0CDA; Fri, 13 Sep 2019 15:11:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14654E0CDA for ; Fri, 13 Sep 2019 15:11:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9415634B10D for ; Fri, 13 Sep 2019 15:11:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0C484720 for ; Fri, 13 Sep 2019 15:11:50 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1568387502.76aaea7d5b986c9f5832993016404047422f50f9.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/, sys-cluster/rdma-core/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/rdma-core/Manifest sys-cluster/rdma-core/files/optional_pandoc.patch sys-cluster/rdma-core/rdma-core-24.0.ebuild sys-cluster/rdma-core/rdma-core-25.0.ebuild sys-cluster/rdma-core/rdma-core-9999.ebuild X-VCS-Directories: sys-cluster/rdma-core/files/ sys-cluster/rdma-core/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 76aaea7d5b986c9f5832993016404047422f50f9 X-VCS-Branch: master Date: Fri, 13 Sep 2019 15:11:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cc76855f-bcdf-4a0f-9d8a-beac9cfef9dd X-Archives-Hash: ad1d8dabe7dfc3524d08ca5334f97111 commit: 76aaea7d5b986c9f5832993016404047422f50f9 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Sep 13 15:08:34 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Fri Sep 13 15:11:42 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76aaea7d sys-cluster/rdma-core: Version bump (v25.0) - make pandoc optional (otherwise 25.0 fails to build) - point correct SHAREDSTATEDIR Closes: https://bugs.gentoo.org/694158 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> sys-cluster/rdma-core/Manifest | 1 + sys-cluster/rdma-core/files/optional_pandoc.patch | 54 ++++++++++++++++++++++ sys-cluster/rdma-core/rdma-core-24.0.ebuild | 1 + ...rdma-core-24.0.ebuild => rdma-core-25.0.ebuild} | 3 ++ sys-cluster/rdma-core/rdma-core-9999.ebuild | 1 + 5 files changed, 60 insertions(+) diff --git a/sys-cluster/rdma-core/Manifest b/sys-cluster/rdma-core/Manifest index 195599ddb95..923dc163552 100644 --- a/sys-cluster/rdma-core/Manifest +++ b/sys-cluster/rdma-core/Manifest @@ -1 +1,2 @@ DIST rdma-core-24.0.tar.gz 1219485 BLAKE2B 400076305ca634a14d8f46df3477f9e3e753b95840237a217cfffe1a78e93ee90994e628f2a0693bde588ce15965df0014acb55bc92c36e3c45011cc69e9898a SHA512 0ef2b2b4250a1738adec964911a286f60e2310472c943dac1be45c70974a8bd1f32ee96013bff9e492132403af810aee1350d404a87ae7671731f7a5bd80c655 +DIST rdma-core-25.0.tar.gz 1494005 BLAKE2B 406926ae57ae4914a77c82025906270bbc45632ed1e0ecb44b1662d797066bf27275c8b4c4bee40795880bdb4ed06f8f9d3714cfffc64132c00395328ee0527f SHA512 b2c6eaf16f89fb913e35b0eb602f60e8bf45979673597c34006ed78c2e671cf1e50b1cc0752740dc474a58fc94eb0c3f66175183e6b903605ff1512469ceef38 diff --git a/sys-cluster/rdma-core/files/optional_pandoc.patch b/sys-cluster/rdma-core/files/optional_pandoc.patch new file mode 100644 index 00000000000..4ed0e3a63ef --- /dev/null +++ b/sys-cluster/rdma-core/files/optional_pandoc.patch @@ -0,0 +1,54 @@ +The master "CMakeLists.txt" listed "pandoc" as an optional dependency, +but subsequent "make install" fails if "pandoc" is missing. +This patch makes "pandoc" really optional. +diff -ru rdma-core-25.0.orig/CMakeLists.txt rdma-core-25.0/CMakeLists.txt +--- a/CMakeLists.txt 2019-07-26 02:17:21.000000000 +0800 ++++ b/CMakeLists.txt 2019-07-31 00:08:41.485085990 +0800 +@@ -602,11 +602,17 @@ + add_subdirectory(kernel-headers) + # Libraries + add_subdirectory(libibumad) ++if (PANDOC_FOUND) + add_subdirectory(libibumad/man) ++endif() + add_subdirectory(libibverbs) ++if (PANDOC_FOUND) + add_subdirectory(libibverbs/man) ++endif() + add_subdirectory(librdmacm) ++if (PANDOC_FOUND) + add_subdirectory(librdmacm/man) ++endif() + + # Providers + if (HAVE_COHERENT_DMA) +@@ -614,13 +620,19 @@ + add_subdirectory(providers/cxgb3) # NO SPARSE + add_subdirectory(providers/cxgb4) # NO SPARSE + add_subdirectory(providers/efa) ++if (PANDOC_FOUND) + add_subdirectory(providers/efa/man) ++endif() + add_subdirectory(providers/hns) + add_subdirectory(providers/i40iw) # NO SPARSE + add_subdirectory(providers/mlx4) ++if (PANDOC_FOUND) + add_subdirectory(providers/mlx4/man) ++endif() + add_subdirectory(providers/mlx5) ++if (PANDOC_FOUND) + add_subdirectory(providers/mlx5/man) ++endif() + add_subdirectory(providers/mthca) + add_subdirectory(providers/nes) # NO SPARSE + add_subdirectory(providers/ocrdma) +@@ -639,7 +651,9 @@ + add_subdirectory(libibnetdisc/man) + add_subdirectory(infiniband-diags) + add_subdirectory(infiniband-diags/scripts) ++if (PANDOC_FOUND) + add_subdirectory(infiniband-diags/man) ++endif() + + if (CYTHON_EXECUTABLE) + add_subdirectory(pyverbs) diff --git a/sys-cluster/rdma-core/rdma-core-24.0.ebuild b/sys-cluster/rdma-core/rdma-core-24.0.ebuild index fb16737ff02..f50ad59a5b0 100644 --- a/sys-cluster/rdma-core/rdma-core-24.0.ebuild +++ b/sys-cluster/rdma-core/rdma-core-24.0.ebuild @@ -61,6 +61,7 @@ src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_FULL_RUNDIR=/run + -DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib -DCMAKE_INSTALL_UDEV_RULESDIR="$(get_udevdir)"/rules.d -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)" -DCMAKE_DISABLE_FIND_PACKAGE_pandoc=yes diff --git a/sys-cluster/rdma-core/rdma-core-24.0.ebuild b/sys-cluster/rdma-core/rdma-core-25.0.ebuild similarity index 96% copy from sys-cluster/rdma-core/rdma-core-24.0.ebuild copy to sys-cluster/rdma-core/rdma-core-25.0.ebuild index fb16737ff02..c2d102716c9 100644 --- a/sys-cluster/rdma-core/rdma-core-24.0.ebuild +++ b/sys-cluster/rdma-core/rdma-core-25.0.ebuild @@ -52,6 +52,8 @@ RDEPEND="${COMMON_DEPEND} BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}"/optional_pandoc.patch ) + pkg_setup() { python-single-r1_pkg_setup @@ -61,6 +63,7 @@ src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_FULL_RUNDIR=/run + -DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib -DCMAKE_INSTALL_UDEV_RULESDIR="$(get_udevdir)"/rules.d -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)" -DCMAKE_DISABLE_FIND_PACKAGE_pandoc=yes diff --git a/sys-cluster/rdma-core/rdma-core-9999.ebuild b/sys-cluster/rdma-core/rdma-core-9999.ebuild index e96e6d79908..69def0d58b5 100644 --- a/sys-cluster/rdma-core/rdma-core-9999.ebuild +++ b/sys-cluster/rdma-core/rdma-core-9999.ebuild @@ -61,6 +61,7 @@ src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_FULL_RUNDIR=/run + -DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib -DCMAKE_INSTALL_UDEV_RULESDIR="$(get_udevdir)"/rules.d -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)" -DCMAKE_DISABLE_FIND_PACKAGE_pandoc=yes