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 5913213933E for ; Mon, 5 Jul 2021 10:18:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2C69E0A7F; Mon, 5 Jul 2021 10:18:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 84409E0A7F for ; Mon, 5 Jul 2021 10:18:16 +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 4E956342A52 for ; Mon, 5 Jul 2021 10:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03251797 for ; Mon, 5 Jul 2021 10:18:14 +0000 (UTC) From: "Aaron W. Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron W. Swenson" Message-ID: <1625480025.890a83ca5a2be8f7663757c937ccfe2b349d22fc.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/fossil/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/fossil/Manifest dev-vcs/fossil/fossil-2.16.ebuild X-VCS-Directories: dev-vcs/fossil/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron W. Swenson X-VCS-Revision: 890a83ca5a2be8f7663757c937ccfe2b349d22fc X-VCS-Branch: master Date: Mon, 5 Jul 2021 10:18:14 +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: 795956d8-7354-479d-bbb8-2c7b728cc493 X-Archives-Hash: 8eca9b5aedcfd561980bcd86b0128779 commit: 890a83ca5a2be8f7663757c937ccfe2b349d22fc Author: Aaron W. Swenson gentoo org> AuthorDate: Mon Jul 5 10:13:45 2021 +0000 Commit: Aaron W. Swenson gentoo org> CommitDate: Mon Jul 5 10:13:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890a83ca dev-vcs/fossil: Bump to 2.16 Security: Fix the client-side TLS so that it verifies that the server hostname matches its certificate. Bug: https://bugs.gentoo.org/800638 Signed-off-by: Aaron W. Swenson gentoo.org> dev-vcs/fossil/Manifest | 1 + dev-vcs/fossil/fossil-2.16.ebuild | 75 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest index 217f726d0db..412f2aab1c2 100644 --- a/dev-vcs/fossil/Manifest +++ b/dev-vcs/fossil/Manifest @@ -1,3 +1,4 @@ DIST fossil-src-2.12.1.tar.gz 6011181 BLAKE2B f9437c4fb20314706bbbec70efbb6a53e2ac7760986baf88ea72505f03877a5d1069d0d2828aa2bfefac96c1358e4c8f824405d61fd24d490442fa8b768711e9 SHA512 08b7fef5a3071e968dedbc645aebf2e873ecf80049b5986d38f851a407b2b8b0c854cfcdfa5ec80eac5bc1b158c5fac3bb4b263d1adb8be470529e67dc6e8cee DIST fossil-src-2.13.tar.gz 6121223 BLAKE2B 41bb83b40faf05d38ccbcc13bde858ee31ab0182193631d738a6e287414b2a93bc49bfa5ed0a16aabbc26190c1a3cd993ce9f1706ecd05b214461313b13c1086 SHA512 bd756aaac2f39005b690230c5a4ef4d618a3200a8eb499aa964285050c247edfb0abfa5db5522269e0a5ee2737c71393a523dc2d7e37eae076364185137964f8 DIST fossil-src-2.14.tar.gz 6207277 BLAKE2B 9a70a49e83e16414150e777289543a984c6b77c4c2ea245ed3187b393a80f6926c80bada31081735d09a9d0febf430587c120e16d60ddbf96d1116c9da6cf008 SHA512 f95291886484c9fb98224c17e07c9c2ada3d79974359234f1cc6a8fce603e45bf980ffe4f43a473d74d190b6975fff66e8d35ca680747385e72981caabfd6b10 +DIST fossil-src-2.16.tar.gz 6275775 BLAKE2B 504f828f121385ec73311b340e0abfdba7da6a8571adb390c55c75fea0ef027366fb914c12552e177988bedbb735a3148d87ebdb23ffc2ce4b7bef8ef603692a SHA512 0569640a3b509c592f812a42526eec88ead034ba0ba3de93da62cfb1caa751954ae185eaa3398d411a02ee2a858ecae6cdf4e47199847527f7524fc9798a4b12 diff --git a/dev-vcs/fossil/fossil-2.16.ebuild b/dev-vcs/fossil/fossil-2.16.ebuild new file mode 100644 index 00000000000..6020baf1be3 --- /dev/null +++ b/dev-vcs/fossil/fossil-2.16.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_TAG=7aedd5675883d4412cf20917d340b6985e3ecb842e88a39f135df034b2d5f4d3 + +DESCRIPTION="Simple, high-reliability, source control management, and more" +HOMEPAGE="https://www.fossil-scm.org/" +SRC_URI="https://fossil-scm.org/home/tarball/${MY_TAG}/fossil-src-${PV}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="debug fusefs json -miniz system-sqlite +ssl static tcl tcl-stubs + tcl-private-stubs th1-docs th1-hooks" + +REQUIRED_USE="ssl? ( !miniz )" + +RDEPEND=" + sys-libs/zlib + || ( + sys-libs/readline:0 + dev-libs/libedit + ) + system-sqlite? ( >=dev-db/sqlite-3.35.0:3 ) + ssl? ( dev-libs/openssl:0 ) + tcl? ( dev-lang/tcl:0= ) +" + +# Either tcl or jimtcl need to be present to build Fossil (Bug #675778) +DEPEND="${RDEPEND} + !tcl? ( + || ( + dev-lang/tcl:* + dev-lang/jimtcl:* + ) + ) +" + +# Tests can't be run from the build directory +RESTRICT="test" + +# fossil-2.10-check-lib64-for-tcl.patch: Bug 690828 +PATCHES=( "${FILESDIR}"/fossil-2.10-check-lib64-for-tcl.patch ) + +S="${WORKDIR}/fossil-src-${PV}" + +src_configure() { + # this is not an autotools situation so don't make it seem like one + # --with-tcl: works + # --without-tcl: dies + local myconf="--with-openssl=$(usex ssl auto none)" + use debug && myconf+=' --fossil-debug' + use json && myconf+=' --json' + use system-sqlite && myconf+=' --disable-internal-sqlite' + use static && myconf+=' --static' + use tcl && myconf+=' --with-tcl=1' + use fusefs || myconf+=' --disable-fusefs' + + local u useflags + useflags=( miniz tcl-stubs tcl-private-stubs th1-docs th1-hooks ) + for u in ${useflags[@]} ; do + use ${u} && myconf+=" --with-${u}" + done + + tc-export CC CXX + CC_FOR_BUILD=${CC} ./configure ${myconf} || die +} + +src_install() { + dobin fossil +}