Diff sleuthkit-4.11.1-r1 with a sleuthkit-4.12.0

/usr/portage/app-forensics/sleuthkit/sleuthkit-4.12.0.ebuild 2023-10-09 14:52:28.752368331 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
16 16
#		See: https://bugs.gentoo.org/689752
17 17
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz
18 18
	java? (
19
		http://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.25.2/sqlite-jdbc-3.25.2.jar
19
		https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
20 20
	)
21 21
	ewf? ( https://github.com/sleuthkit/libewf_64bit/archive/VisualStudio_2010.tar.gz -> sleuthkit-libewf_64bit-20130416.tar.gz )"
22 22

  
23 23
LICENSE="BSD CPL-1.0 GPL-2+ IBM java? ( Apache-2.0 )"
24 24
SLOT="0/19" # subslot = major soname version
25
KEYWORDS="amd64 ~hppa ppc x86"
25
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
26 26
IUSE="aff doc ewf java static-libs test +threads zlib"
27 27
RESTRICT="!test? ( test )"
28 28

  
......
32 32
	aff? ( app-forensics/afflib )
33 33
	ewf? ( sys-libs/zlib )
34 34
	java? (
35
		>=dev-java/c3p0-0.9.5:0
35
		>=dev-java/c3p0-0.9.5.5:0
36 36
		dev-java/commons-lang:3.6
37 37
		>=dev-java/commons-validator-1.6:0
38 38
		>=dev-java/gson-2.8.5:2.6
39 39
		dev-java/guava:0
40 40
		>=dev-java/jdbc-postgresql-9.4:0
41 41
		>=dev-java/joda-time-2.4:0
42
		>=dev-java/mchange-commons-0.2.20:0
42 43
		dev-java/sparsebitset:0
43 44
	)
44 45
	zlib? ( sys-libs/zlib )
45 46
"
46
# TODO: add support for not-in-tree libraries libvhdi and libvmdk
47
# TODO: add support for not-in-tree libraries:
47 48
# libvhdi: https://github.com/libyal/libvhdi
48 49
# libvmdk: https://github.com/libyal/libvmdk
50
# libvslvm: https://github.com/libyal/libvslvm
51
#   Upstream also says "A stand-alone version of libbfio is needed
52
#   to allow libvslvm to directly read from a TSK_IMAGE." Not sure
53
#   what it means yet.
54
#
49 55
# DEPEND="${DEPEND}
50 56
# 	vhdi? ( dev-libs/libvhdi )
51 57
# 	vmdk? ( dev-libs/libvmdk )
58
#   vslvm? ( dev-libs/libvslvm dev-libs/libbfio )
52 59
# "
53 60

  
54 61
RDEPEND="${DEPEND}
......
69 76
	"${FILESDIR}"/${PN}-4.1.0-tools-shared-libs.patch
70 77
	"${FILESDIR}"/${PN}-4.6.4-default-jar-location-fix.patch
71 78
	"${FILESDIR}"/${PN}-4.10.1-exclude-usr-local.patch
79
	"${FILESDIR}"/${PN}-4.12.0-configure-ac-test-fix.patch
72 80
)
73 81

  
74 82
src_unpack() {
......
213 221
		$(use_with aff afflib)
214 222
		$(use_with zlib)
215 223
	)
216
	# TODO: add support for non-existing libraries libvhdi and libvmdk
224
	# TODO: add support for non-existing libraries:
217 225
	# myeconfargs+=(
218 226
	# 	$(use_with vhdi libvhdi)
219 227
	# 	$(use_with vmdk libvmdk)
228
	# 	$(use_with vslvm libvslvm)
229
	# 	$(use_with vslvm libbfio) # not a typo
220 230
	# )
221 231
	myeconfargs+=(
222 232
		--without-libvhdi
223 233
		--without-libvmdk
234
		--without-libvslvm
235
		--without-libbfio
224 236
	)
225 237

  
226 238
	use ewf && tsk_compile_libewf
......
248 260
		java-pkg_jar-from --into "${TSK_JAR_DIR}" guava
249 261
		java-pkg_jar-from --into "${TSK_JAR_DIR}" jdbc-postgresql
250 262
		java-pkg_jar-from --into "${TSK_JAR_DIR}" joda-time
263
		java-pkg_jar-from --into "${TSK_JAR_DIR}" mchange-commons
251 264
		java-pkg_jar-from --into "${TSK_JAR_DIR}" sparsebitset
252 265

  
253 266
		# case-uco needs gson and expects it under case-uco/java/lib
Thank you!