1 |
commit: 117d8016f0c25b74f852b8f8becd3f148a366bdb |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 11:48:06 2020 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 11:48:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117d8016 |
7 |
|
8 |
dev-vcs/fossil: Bump to 2.11 |
9 |
|
10 |
No longer calls cc directly now the CC_FOR_BUILD is set. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/724272 |
13 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
14 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
15 |
|
16 |
dev-vcs/fossil/Manifest | 1 + |
17 |
dev-vcs/fossil/fossil-2.11.ebuild | 72 +++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 73 insertions(+) |
19 |
|
20 |
diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest |
21 |
index 824827d52c1..362f2d703a6 100644 |
22 |
--- a/dev-vcs/fossil/Manifest |
23 |
+++ b/dev-vcs/fossil/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST fossil-src-2.10.tar.gz 5634327 BLAKE2B 1a02ef0d32b06dd09760d6a62450ad7bc15de97b5263d50ec776dbf0e2fff6b6fba4ec944eecffdaf31737f4a45e30aa898a728590a0c6e2ae171937a349e92b SHA512 aad54e3eaa2d647257c5c723fca4e55981aac0432d3d0b4deaa9651c7db7d27cb9f26f7ff40c31c452cb8dd54b0f0663c632183dc11982bc9cc24adf78b952e5 |
26 |
+DIST fossil-src-2.11.tar.gz 5850256 BLAKE2B af825ca9b79360149d53001b2952259bbad50fe05e77e84e54d58b11a66e612fd8c5f7bb3a8c36dd6f1b267ede3a1ed4c6b8229d10c6f25ff4de858842e100ce SHA512 0489b5b8595a0c50c8a7d787ff2d4a30980dce83b33052f7bf8f4630320fe8a0276bc73a00f3ced2962a474df1fddb2dd2e0d70f8854e1fc83e3746ea63b6ba1 |
27 |
DIST fossil-src-2.8.tar.gz 5359975 BLAKE2B 6b63eadc8cd563d646698edc9972a52ec1feb868cb362449c232c99dcb81fea2fa227d631ebf8b695417c571933784dfffd5ecbec2a5027ac9901578a054c559 SHA512 5c6a8dc1545c43b3c95fbbec343db023e27a9db58f282a881bb7e488e3e26a0f7913a41f505dedf618b884507e48956780bd0e12482e184345d68edd1e79ff8e |
28 |
DIST fossil-src-2.9.tar.gz 5440118 BLAKE2B 2817e3c88073a26ef384d45271511eaacf5394a67ba6041ba0b37f321303abcba28655daf7963b8e51a8bc9bfeee681cea1f318f5ba66e93a5317b98771ad059 SHA512 c3786d4ae5517c88917819448863e9e1e37704a7073a1c87c042660313b77ce3a63f32e35e6a56af1c681e7b8a5acc652b4447d0387b8a8a5b3b5aa04dd9a9b5 |
29 |
|
30 |
diff --git a/dev-vcs/fossil/fossil-2.11.ebuild b/dev-vcs/fossil/fossil-2.11.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..e75b8051847 |
33 |
--- /dev/null |
34 |
+++ b/dev-vcs/fossil/fossil-2.11.ebuild |
35 |
@@ -0,0 +1,72 @@ |
36 |
+# Copyright 1999-2020 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 |
+DESCRIPTION="Simple, high-reliability, source control management, and more" |
44 |
+HOMEPAGE="https://www.fossil-scm.org/" |
45 |
+SRC_URI="https://fossil-scm.org/home/uv/fossil-src-${PV}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
50 |
+IUSE="debug fusefs json -legacy-mv-rm -miniz system-sqlite +ssl static |
51 |
+ tcl tcl-stubs tcl-private-stubs th1-docs th1-hooks" |
52 |
+ |
53 |
+REQUIRED_USE="ssl? ( !miniz )" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ sys-libs/zlib |
57 |
+ || ( |
58 |
+ sys-libs/readline:0 |
59 |
+ dev-libs/libedit |
60 |
+ ) |
61 |
+ system-sqlite? ( >=dev-db/sqlite-3.28.0:3 ) |
62 |
+ ssl? ( dev-libs/openssl:0 ) |
63 |
+ tcl? ( dev-lang/tcl:0= ) |
64 |
+" |
65 |
+ |
66 |
+# Either tcl or jimtcl need to be present to build Fossil (Bug #675778) |
67 |
+DEPEND="${RDEPEND} |
68 |
+ !tcl? ( |
69 |
+ || ( |
70 |
+ dev-lang/tcl:* |
71 |
+ dev-lang/jimtcl:* |
72 |
+ ) |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+# Tests can't be run from the build directory |
77 |
+RESTRICT="test" |
78 |
+ |
79 |
+# fossil-2.10-check-lib64-for-tcl.patch: Bug 690828 |
80 |
+PATCHES=( "${FILESDIR}"/fossil-2.10-check-lib64-for-tcl.patch ) |
81 |
+ |
82 |
+src_configure() { |
83 |
+ # this is not an autotools situation so don't make it seem like one |
84 |
+ # --with-tcl: works |
85 |
+ # --without-tcl: dies |
86 |
+ local myconf="--with-openssl=$(usex ssl auto none)" |
87 |
+ use debug && myconf+=' --fossil-debug' |
88 |
+ use json && myconf+=' --json' |
89 |
+ use system-sqlite && myconf+=' --disable-internal-sqlite' |
90 |
+ use static && myconf+=' --static' |
91 |
+ use tcl && myconf+=' --with-tcl=1' |
92 |
+ use fusefs || myconf+=' --disable-fusefs' |
93 |
+ |
94 |
+ local u useflags |
95 |
+ useflags=( legacy-mv-rm miniz tcl-stubs tcl-private-stubs |
96 |
+ th1-docs th1-hooks ) |
97 |
+ for u in ${useflags[@]} ; do |
98 |
+ use ${u} && myconf+=" --with-${u}" |
99 |
+ done |
100 |
+ |
101 |
+ tc-export CC CXX |
102 |
+ CC_FOR_BUILD=${CC} ./configure ${myconf} || die |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ dobin fossil |
107 |
+} |