Lines 14-29
HOMEPAGE="https://www.sleuthkit.org/sleuthkit/"
Link Here
|
14 |
# the tree anymore. So we statically compile and link to sleuthkit. |
14 |
# the tree anymore. So we statically compile and link to sleuthkit. |
15 |
# Hopefully upstream will figure something out in the future. |
15 |
# Hopefully upstream will figure something out in the future. |
16 |
# See: https://bugs.gentoo.org/689752 |
16 |
# See: https://bugs.gentoo.org/689752 |
17 |
# TODO: gson-2.8.5 does not exist in the tree. Building it seems to |
|
|
18 |
# require Java 9. We have Java 11 in the tree but I don't see a |
19 |
# way to use it as a gentoo-vm in order to build gson. Sleuthkit |
20 |
# upstream still uses Java 8. |
21 |
# See: https://bugs.gentoo.org/706274 |
22 |
# TODO: commons-validator-1.6 does not exist in the tree. The latest version |
23 |
# as of writing this ebuild is 1.4.1, for which the build fails. As |
24 |
# per #711930, this is a security sensitive bump. We're gonna fetch |
25 |
# the jar file here and file a bug request for a bump as well: |
26 |
# https://bugs.gentoo.org/721020 |
27 |
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz |
17 |
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz |
28 |
java? ( |
18 |
java? ( |
29 |
https://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar |
19 |
https://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar |
Lines 46-51
DEPEND="
Link Here
|
46 |
java? ( |
36 |
java? ( |
47 |
>=dev-java/c3p0-0.9.5:0 |
37 |
>=dev-java/c3p0-0.9.5:0 |
48 |
dev-java/commons-lang:3.6 |
38 |
dev-java/commons-lang:3.6 |
|
|
39 |
>=dev-java/commons-validator-1.6:0 |
40 |
>=dev-java/gson-2.8.5:2.6 |
49 |
dev-java/guava:20 |
41 |
dev-java/guava:20 |
50 |
>=dev-java/jdbc-postgresql-9.4:0 |
42 |
>=dev-java/jdbc-postgresql-9.4:0 |
51 |
>=dev-java/joda-time-2.4:0 |
43 |
>=dev-java/joda-time-2.4:0 |
Lines 62-76
DEPEND="
Link Here
|
62 |
# " |
54 |
# " |
63 |
|
55 |
|
64 |
RDEPEND="${DEPEND} |
56 |
RDEPEND="${DEPEND} |
65 |
java? ( |
57 |
java? ( >=virtual/jre-1.8:* ) |
66 |
|| ( |
|
|
67 |
virtual/jre:1.8 |
68 |
virtual/jdk:1.8 |
69 |
) |
70 |
) |
71 |
" |
58 |
" |
72 |
DEPEND="${DEPEND} |
59 |
DEPEND="${DEPEND} |
73 |
java? ( virtual/jdk:1.8 ) |
60 |
java? ( >=virtual/jdk-1.8:* ) |
74 |
doc? ( app-doc/doxygen ) |
61 |
doc? ( app-doc/doxygen ) |
75 |
test? ( >=dev-util/cppunit-1.2.1 ) |
62 |
test? ( >=dev-util/cppunit-1.2.1 ) |
76 |
" |
63 |
" |
Lines 243-248
src_compile() {
Link Here
|
243 |
if use java; then |
230 |
if use java; then |
244 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" c3p0 |
231 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" c3p0 |
245 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" commons-lang:3.6 |
232 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" commons-lang:3.6 |
|
|
233 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" commons-validator |
234 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" gson:2.6 |
246 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" guava:20 |
235 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" guava:20 |
247 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" jdbc-postgresql |
236 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" jdbc-postgresql |
248 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" joda-time |
237 |
java-pkg_jar-from --into "${TSK_JAR_DIR}" joda-time |