1 |
commit: 86c9dd9719d58f940d0eb6f5c0c0974ad7e0ab50 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 12 12:01:33 2017 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 12 12:02:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c9dd97 |
7 |
|
8 |
dev-vcs/fossil: Security Bump to 2.3 |
9 |
|
10 |
Version 2.3 fixes a potential XSS vulnerability on the /help webpage. |
11 |
|
12 |
Gentoo-Bug: 627674 |
13 |
|
14 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
15 |
|
16 |
dev-vcs/fossil/Manifest | 1 + |
17 |
dev-vcs/fossil/fossil-2.3.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 56 insertions(+) |
19 |
|
20 |
diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest |
21 |
index e94fe9be129..dd58a323f65 100644 |
22 |
--- a/dev-vcs/fossil/Manifest |
23 |
+++ b/dev-vcs/fossil/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST fossil-src-1.34.tar.gz 4449452 SHA256 53a6b83e878feced9ac7705f87e5b6ea82727314e3e19202ae1c46c7e4dba49f SHA512 7c2677566527466727e823e5bf59f636b5fd08dd1093a742c3f7f72d398d380288030c3a573ae3c66c60f1e8c194f36f5987fa835251d7ced10533b9779578d7 WHIRLPOOL cb00af705b1f4376e09129091154f847da62817548d1838c03c34422eb223704e8a92cee5038a5cf5f75c600d55ce23fd681ca82f1f0e854b42b23b7c82bc66e |
26 |
DIST fossil-src-1.35.tar.gz 4642421 SHA256 c1f92f925a87c9872cb40d166f56ba08b90edbab01a8546ff37025836136ba1d SHA512 2a31530d81a316b69daba446e91236fdb94ced17a7228c094fc6053f9d75e736b6a50a93d97b8e875a4750fa4ff868b0dc78b494131b8ed118d160fff8995905 WHIRLPOOL 83406c7010e462f3e9742e03a6eb7a64e5f31516a6d353e56d71a8e54aec2154cd38160e73800ee72d6a5a91a0954e9bb5628b75bf5fd582696507c67a5da803 |
27 |
DIST fossil-src-2.2.tar.gz 4826890 SHA256 9b8f82196eb89e4a2e82b4bcc51e314ae509a22c37073a18a0b325f11c53cf71 SHA512 1a1aedf3f9883a64f9f98c9a01857f5fb69cff0be23817016a4bc405b2efc85f21ac86a771d5e7314128e3fabc21444ac717017cf0935241fd4af964b7c086e0 WHIRLPOOL 8298287694930286f159a59f14efa07f0d3bcdc2ba961c55f7da1faab804e1a5d27386237c6bfa125341bf76bb33e1c3b63e61417378128c7511c459ae6a4705 |
28 |
+DIST fossil-src-2.3.tar.gz 4898441 SHA256 f073abf455a38ea0a08c3926d7445ab8115b145457f36c763ad9b74cd6a64a5d SHA512 41f87a9f79b87895b1972d2866b27205da34076eb35200b60fd38f1921162bf9099a71caac4063c04b919484208b39c7184dff661dc0b5ca7716d8edd11462cc WHIRLPOOL 920144e9a9adf88e9669c0254e924cc6e240e443361638d757910ef198c09659c6e24497f2fae7646285ad6d493d59a09c65bde6523d2c3a9e3af14ff522e456 |
29 |
|
30 |
diff --git a/dev-vcs/fossil/fossil-2.3.ebuild b/dev-vcs/fossil/fossil-2.3.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..f77c89e7129 |
33 |
--- /dev/null |
34 |
+++ b/dev-vcs/fossil/fossil-2.3.ebuild |
35 |
@@ -0,0 +1,55 @@ |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+inherit toolchain-funcs |
42 |
+ |
43 |
+DESCRIPTION="Simple, high-reliability, source control management, and more" |
44 |
+HOMEPAGE="http://www.fossil-scm.org/" |
45 |
+SRC_URI="http://www.fossil-scm.org/index.html/uv/fossil-src-${PV}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~x86" |
50 |
+IUSE="debug fusefs json legacy-mv-rm -miniz sqlite +ssl static tcl th1-docs th1-hooks" |
51 |
+ |
52 |
+REQUIRED_USE="ssl? ( !miniz )" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ sys-libs/zlib |
56 |
+ || ( sys-libs/readline:0 dev-libs/libedit ) |
57 |
+ sqlite? ( >=dev-db/sqlite-3.14.0:3 ) |
58 |
+ ssl? ( dev-libs/openssl:0 ) |
59 |
+ tcl? ( dev-lang/tcl:0= ) |
60 |
+" |
61 |
+RDEPEND="${DEPEND}" |
62 |
+ |
63 |
+# Tests can't be run from the build directory |
64 |
+RESTRICT="test" |
65 |
+ |
66 |
+src_configure() { |
67 |
+ # this is not an autotools situation so don't make it seem like one |
68 |
+ # --with-tcl: works |
69 |
+ # --without-tcl: dies |
70 |
+ local myconf="--with-openssl=$(usex ssl auto none)" |
71 |
+ use debug && myconf+=' --fossil-debug' |
72 |
+ use json && myconf+=' --json' |
73 |
+ use sqlite && myconf+=' --disable-internal-sqlite' |
74 |
+ use static && myconf+=' --static' |
75 |
+ use tcl && myconf+=' --with-tcl --with-tcl-stubs' |
76 |
+ |
77 |
+ local u |
78 |
+ for u in legacy-mv-rm miniz th1-docs th1-hooks; do |
79 |
+ use ${u} && myconf+=" --with-${u}" |
80 |
+ done |
81 |
+ |
82 |
+ use fusefs || myconf+=' --disable-fusefs' |
83 |
+ |
84 |
+ tc-export CC |
85 |
+ ./configure ${myconf} || die |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ dobin fossil |
90 |
+} |