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 8ABE8138359 for ; Wed, 7 Oct 2020 22:49:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C150CE0833; Wed, 7 Oct 2020 22:49:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A5EC7E0833 for ; Wed, 7 Oct 2020 22:49:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 386E9340D7D for ; Wed, 7 Oct 2020 22:49:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6ACE2CC for ; Wed, 7 Oct 2020 22:49:12 +0000 (UTC) From: "Steve Arnold" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Steve Arnold" Message-ID: <1602110924.7f1e7fafe1ce27758f59f65282b93b1b70f3badd.nerdboy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/, net-misc/ntpsec/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch net-misc/ntpsec/ntpsec-1.1.9.ebuild X-VCS-Directories: net-misc/ntpsec/files/ net-misc/ntpsec/ X-VCS-Committer: nerdboy X-VCS-Committer-Name: Steve Arnold X-VCS-Revision: 7f1e7fafe1ce27758f59f65282b93b1b70f3badd X-VCS-Branch: master Date: Wed, 7 Oct 2020 22:49:12 +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: 5e4d280b-c01b-4f1a-9ea8-4d68e2a858b4 X-Archives-Hash: 588e016c1883e75aaacab17b6a484978 commit: 7f1e7fafe1ce27758f59f65282b93b1b70f3badd Author: Steve Arnold gentoo org> AuthorDate: Wed Oct 7 22:47:07 2020 +0000 Commit: Steve Arnold gentoo org> CommitDate: Wed Oct 7 22:48:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f1e7faf net-misc/ntpsec: short-circuit broken asciidoctor version parsing * update doc use flag for new upstream default Closes: https://bugs.gentoo.org/746872 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Steve Arnold gentoo.org> .../ntpsec-1.1.9-remove-asciidoctor-from-config.patch | 14 ++++++++++++++ net-misc/ntpsec/ntpsec-1.1.9.ebuild | 9 +++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch b/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch new file mode 100644 index 00000000000..1f483ce33fb --- /dev/null +++ b/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch @@ -0,0 +1,14 @@ +--- a/wafhelpers/asciidoc.py 2020-10-06 20:14:47.040245129 -0700 ++++ b/wafhelpers/asciidoc.py 2020-10-06 20:17:48.100394117 -0700 +@@ -37,9 +37,9 @@ + # asciidoc versions 8.6.5-8.6.7 throw warnings for warp.adoc and versions + # < 8.6.4 have no HTML5 backend. + # asciidoc3 versions < 3.0.2 throw errors. +- adoc_list = [['asciidoctor', (1, 5, 8)], +- ['asciidoc', (8, 6, 8)], ++ adoc_list = [['asciidoc', (8, 6, 8)], + ['asciidoc3', (3, 0, 2)], ++ ['asciidoctor-bad', (1, 5, 8)], + ] + for progname, asciidocminver in adoc_list: + if 'BIN_ASCIIDOC' not in ctx.env or ctx.env.BIN_ASCIIDOC == []: diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild index 1af747e2e91..51381f4b16b 100644 --- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild +++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild @@ -48,7 +48,7 @@ RDEPEND="${CDEPEND} acct-user/ntp " DEPEND="${CDEPEND} - app-text/asciidoc + >=app-text/asciidoc-8.6.8 dev-libs/libxslt app-text/docbook-xsl-stylesheets sys-devel/bison @@ -56,6 +56,11 @@ DEPEND="${CDEPEND} rclock_pps? ( net-misc/pps-tools ) " +PATCHES=( + "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch" + "${FILESDIR}/${P}-remove-asciidoctor-from-config.patch" +) + WAF_BINARY="${S}/waf" src_prepare() { @@ -87,7 +92,7 @@ src_configure() { --nopyo --refclock="${CLOCKSTRING}" --build-epoch="$(date +%s)" - $(use doc && echo "--enable-doc") + $(use doc || echo "--disable-doc") $(use early && echo "--enable-early-droproot") $(use gdb && echo "--enable-debug-gdb") $(use samba && echo "--enable-mssntp")