1 |
commit: 890a83ca5a2be8f7663757c937ccfe2b349d22fc |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 5 10:13:45 2021 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 5 10:13:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890a83ca |
7 |
|
8 |
dev-vcs/fossil: Bump to 2.16 |
9 |
|
10 |
Security: Fix the client-side TLS so that it verifies that the server hostname |
11 |
matches its certificate. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/800638 |
14 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
15 |
|
16 |
dev-vcs/fossil/Manifest | 1 + |
17 |
dev-vcs/fossil/fossil-2.16.ebuild | 75 +++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 76 insertions(+) |
19 |
|
20 |
diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest |
21 |
index 217f726d0db..412f2aab1c2 100644 |
22 |
--- a/dev-vcs/fossil/Manifest |
23 |
+++ b/dev-vcs/fossil/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST fossil-src-2.12.1.tar.gz 6011181 BLAKE2B f9437c4fb20314706bbbec70efbb6a53e2ac7760986baf88ea72505f03877a5d1069d0d2828aa2bfefac96c1358e4c8f824405d61fd24d490442fa8b768711e9 SHA512 08b7fef5a3071e968dedbc645aebf2e873ecf80049b5986d38f851a407b2b8b0c854cfcdfa5ec80eac5bc1b158c5fac3bb4b263d1adb8be470529e67dc6e8cee |
26 |
DIST fossil-src-2.13.tar.gz 6121223 BLAKE2B 41bb83b40faf05d38ccbcc13bde858ee31ab0182193631d738a6e287414b2a93bc49bfa5ed0a16aabbc26190c1a3cd993ce9f1706ecd05b214461313b13c1086 SHA512 bd756aaac2f39005b690230c5a4ef4d618a3200a8eb499aa964285050c247edfb0abfa5db5522269e0a5ee2737c71393a523dc2d7e37eae076364185137964f8 |
27 |
DIST fossil-src-2.14.tar.gz 6207277 BLAKE2B 9a70a49e83e16414150e777289543a984c6b77c4c2ea245ed3187b393a80f6926c80bada31081735d09a9d0febf430587c120e16d60ddbf96d1116c9da6cf008 SHA512 f95291886484c9fb98224c17e07c9c2ada3d79974359234f1cc6a8fce603e45bf980ffe4f43a473d74d190b6975fff66e8d35ca680747385e72981caabfd6b10 |
28 |
+DIST fossil-src-2.16.tar.gz 6275775 BLAKE2B 504f828f121385ec73311b340e0abfdba7da6a8571adb390c55c75fea0ef027366fb914c12552e177988bedbb735a3148d87ebdb23ffc2ce4b7bef8ef603692a SHA512 0569640a3b509c592f812a42526eec88ead034ba0ba3de93da62cfb1caa751954ae185eaa3398d411a02ee2a858ecae6cdf4e47199847527f7524fc9798a4b12 |
29 |
|
30 |
diff --git a/dev-vcs/fossil/fossil-2.16.ebuild b/dev-vcs/fossil/fossil-2.16.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..6020baf1be3 |
33 |
--- /dev/null |
34 |
+++ b/dev-vcs/fossil/fossil-2.16.ebuild |
35 |
@@ -0,0 +1,75 @@ |
36 |
+# Copyright 1999-2021 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit toolchain-funcs |
42 |
+ |
43 |
+MY_TAG=7aedd5675883d4412cf20917d340b6985e3ecb842e88a39f135df034b2d5f4d3 |
44 |
+ |
45 |
+DESCRIPTION="Simple, high-reliability, source control management, and more" |
46 |
+HOMEPAGE="https://www.fossil-scm.org/" |
47 |
+SRC_URI="https://fossil-scm.org/home/tarball/${MY_TAG}/fossil-src-${PV}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
52 |
+IUSE="debug fusefs json -miniz system-sqlite +ssl static tcl tcl-stubs |
53 |
+ tcl-private-stubs th1-docs th1-hooks" |
54 |
+ |
55 |
+REQUIRED_USE="ssl? ( !miniz )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ sys-libs/zlib |
59 |
+ || ( |
60 |
+ sys-libs/readline:0 |
61 |
+ dev-libs/libedit |
62 |
+ ) |
63 |
+ system-sqlite? ( >=dev-db/sqlite-3.35.0:3 ) |
64 |
+ ssl? ( dev-libs/openssl:0 ) |
65 |
+ tcl? ( dev-lang/tcl:0= ) |
66 |
+" |
67 |
+ |
68 |
+# Either tcl or jimtcl need to be present to build Fossil (Bug #675778) |
69 |
+DEPEND="${RDEPEND} |
70 |
+ !tcl? ( |
71 |
+ || ( |
72 |
+ dev-lang/tcl:* |
73 |
+ dev-lang/jimtcl:* |
74 |
+ ) |
75 |
+ ) |
76 |
+" |
77 |
+ |
78 |
+# Tests can't be run from the build directory |
79 |
+RESTRICT="test" |
80 |
+ |
81 |
+# fossil-2.10-check-lib64-for-tcl.patch: Bug 690828 |
82 |
+PATCHES=( "${FILESDIR}"/fossil-2.10-check-lib64-for-tcl.patch ) |
83 |
+ |
84 |
+S="${WORKDIR}/fossil-src-${PV}" |
85 |
+ |
86 |
+src_configure() { |
87 |
+ # this is not an autotools situation so don't make it seem like one |
88 |
+ # --with-tcl: works |
89 |
+ # --without-tcl: dies |
90 |
+ local myconf="--with-openssl=$(usex ssl auto none)" |
91 |
+ use debug && myconf+=' --fossil-debug' |
92 |
+ use json && myconf+=' --json' |
93 |
+ use system-sqlite && myconf+=' --disable-internal-sqlite' |
94 |
+ use static && myconf+=' --static' |
95 |
+ use tcl && myconf+=' --with-tcl=1' |
96 |
+ use fusefs || myconf+=' --disable-fusefs' |
97 |
+ |
98 |
+ local u useflags |
99 |
+ useflags=( miniz tcl-stubs tcl-private-stubs th1-docs th1-hooks ) |
100 |
+ for u in ${useflags[@]} ; do |
101 |
+ use ${u} && myconf+=" --with-${u}" |
102 |
+ done |
103 |
+ |
104 |
+ tc-export CC CXX |
105 |
+ CC_FOR_BUILD=${CC} ./configure ${myconf} || die |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ dobin fossil |
110 |
+} |