1 |
commit: 94cf318b303d059aae4290211fde13f462914f9c |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 18 12:53:34 2019 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 18 12:53:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94cf318b |
7 |
|
8 |
dev-vcs/fossil: Bump to 2.9 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
11 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/fossil/Manifest | 1 + |
14 |
dev-vcs/fossil/fossil-2.9.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest |
18 |
index 1e1337d611a..3989e271386 100644 |
19 |
--- a/dev-vcs/fossil/Manifest |
20 |
+++ b/dev-vcs/fossil/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST fossil-src-2.6.tar.gz 5083119 BLAKE2B 7d5cbeb072c72574b9f4fcbc87f9aeaa1db7964f961aa206a04bf64d73782bd6d51f2a19973fa4125969c864031cf78790a67acd32c5e8f209fe1211410a6af4 SHA512 a4f3b2ee696a7f156a295672c17e8ec63737a85cee5d47b1f66a9d45a6011006ed0a075082b5e06e5d75d59babef493d1815ec45f8ae99f42ed1a1c7a2447b1c |
23 |
DIST fossil-src-2.7.tar.gz 5276161 BLAKE2B 7a8a81515075be6d3fc68dac7a293a1ed6b46c0ed2ecf180269d7215e6cc16d796206b648588ab5b6e04176c553cc89556deb5e47683de1eb26ab7469a8c75c9 SHA512 c1f52209bf14cb1b0a134b03fd02926c123bfd38d9b0d45f39d3137f3df2be13371f38611dc66d1d7df71d95c79baf26e66ccb845c769a57b9568629cdd52672 |
24 |
DIST fossil-src-2.8.tar.gz 5359975 BLAKE2B 6b63eadc8cd563d646698edc9972a52ec1feb868cb362449c232c99dcb81fea2fa227d631ebf8b695417c571933784dfffd5ecbec2a5027ac9901578a054c559 SHA512 5c6a8dc1545c43b3c95fbbec343db023e27a9db58f282a881bb7e488e3e26a0f7913a41f505dedf618b884507e48956780bd0e12482e184345d68edd1e79ff8e |
25 |
+DIST fossil-src-2.9.tar.gz 5440118 BLAKE2B 2817e3c88073a26ef384d45271511eaacf5394a67ba6041ba0b37f321303abcba28655daf7963b8e51a8bc9bfeee681cea1f318f5ba66e93a5317b98771ad059 SHA512 c3786d4ae5517c88917819448863e9e1e37704a7073a1c87c042660313b77ce3a63f32e35e6a56af1c681e7b8a5acc652b4447d0387b8a8a5b3b5aa04dd9a9b5 |
26 |
|
27 |
diff --git a/dev-vcs/fossil/fossil-2.9.ebuild b/dev-vcs/fossil/fossil-2.9.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..209a3c8a789 |
30 |
--- /dev/null |
31 |
+++ b/dev-vcs/fossil/fossil-2.9.ebuild |
32 |
@@ -0,0 +1,57 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="Simple, high-reliability, source control management, and more" |
41 |
+HOMEPAGE="http://www.fossil-scm.org/" |
42 |
+SRC_URI="http://www.fossil-scm.org/index.html/uv/fossil-src-${PV}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
47 |
+IUSE="debug fusefs json -legacy-mv-rm -miniz system-sqlite +ssl static |
48 |
+ tcl tcl-stubs tcl-private-stubs th1-docs th1-hooks" |
49 |
+ |
50 |
+REQUIRED_USE="ssl? ( !miniz )" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ sys-libs/zlib |
54 |
+ || ( sys-libs/readline:0 dev-libs/libedit ) |
55 |
+ system-sqlite? ( >=dev-db/sqlite-3.28.0:3 ) |
56 |
+ ssl? ( dev-libs/openssl:0 ) |
57 |
+ tcl? ( dev-lang/tcl:0= ) |
58 |
+" |
59 |
+RDEPEND="${DEPEND}" |
60 |
+ |
61 |
+# Tests can't be run from the build directory |
62 |
+RESTRICT="test" |
63 |
+ |
64 |
+src_configure() { |
65 |
+ # this is not an autotools situation so don't make it seem like one |
66 |
+ # --with-tcl: works |
67 |
+ # --without-tcl: dies |
68 |
+ local myconf="--with-openssl=$(usex ssl auto none)" |
69 |
+ use debug && myconf+=' --fossil-debug' |
70 |
+ use json && myconf+=' --json' |
71 |
+ use system-sqlite && myconf+=' --disable-internal-sqlite' |
72 |
+ use static && myconf+=' --static' |
73 |
+ use tcl && myconf+=' --with-tcl=1' |
74 |
+ use fusefs || myconf+=' --disable-fusefs' |
75 |
+ |
76 |
+ local u useflags |
77 |
+ useflags=( legacy-mv-rm miniz tcl-stubs tcl-private-stubs |
78 |
+ th1-docs th1-hooks ) |
79 |
+ for u in ${useflags[@]} ; do |
80 |
+ use ${u} && myconf+=" --with-${u}" |
81 |
+ done |
82 |
+ |
83 |
+ tc-export CC |
84 |
+ ./configure ${myconf} || die |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ dobin fossil |
89 |
+} |