diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/scylla-tools/Manifest | 17 | ||||
-rw-r--r-- | app-admin/scylla-tools/scylla-tools-3.2.3.ebuild | 99 |
2 files changed, 108 insertions, 8 deletions
diff --git a/app-admin/scylla-tools/Manifest b/app-admin/scylla-tools/Manifest index fb22138..20ba79e 100644 --- a/app-admin/scylla-tools/Manifest +++ b/app-admin/scylla-tools/Manifest @@ -15,19 +15,20 @@ EBUILD scylla-tools-3.1.0.ebuild 2339 BLAKE2B 79fdf7ea2308ecca2a610a65d240c5467f EBUILD scylla-tools-3.1.1.ebuild 2339 BLAKE2B 79fdf7ea2308ecca2a610a65d240c5467f9416e91eb89a4cc3f6753992778549fa0cf8cd638ea84a6f12eb66db5717cab9f48efb9b3cc8dac8b40eef5b490990 SHA512 4a65e6c33e0a5ee7e81571498f08c828836948bdf7eb3cf7d7c0bd61ba6a460115c490653b939b3c0b636ae486a5c498acf1bd436f3b53d65f1b50e66e0e3890 EBUILD scylla-tools-3.1.2.ebuild 2390 BLAKE2B 6e80f8820bc4d5a9683ced70548126c4699f022daed70604ce1732afa61aeb644b3a1e8b03f7d4455e3f9b474fb98e7e9a92a3386572e72e9fc9920498caf334 SHA512 71f34d307555d2f6f45d6fc31fea6f4379725868a5aeb35b9e1a635f8d42d54e22c4c180c5d9eb3c36d5af6b6623b9e02057a1f30b4a9bd910e208e724fdb7d0 EBUILD scylla-tools-3.2.1.ebuild 2484 BLAKE2B ddeb345ffaacafef1af07d2bb34da3abdd1270f6bbb8733fa2890d1815944e6d6f52dc51dfaae7a1ada3dee838dddb1ea8a6562ee709fcd752c7e723b7c16575 SHA512 f51e045a16ab9999396667f4502d4b509fb5d86350235904d2682c581758977c31c1c782e6c7383f8d076ce3eb6536972d8b80022036e7587c572525f9f19009 +EBUILD scylla-tools-3.2.3.ebuild 2484 BLAKE2B ddeb345ffaacafef1af07d2bb34da3abdd1270f6bbb8733fa2890d1815944e6d6f52dc51dfaae7a1ada3dee838dddb1ea8a6562ee709fcd752c7e723b7c16575 SHA512 f51e045a16ab9999396667f4502d4b509fb5d86350235904d2682c581758977c31c1c782e6c7383f8d076ce3eb6536972d8b80022036e7587c572525f9f19009 EBUILD scylla-tools-9999.ebuild 2286 BLAKE2B a5bb2d8dbfc077f95508e895b2fda990ed8ab7184c63227b7dae47873b473db2dd1ce8836625ae313c581dcce5b852845209f60af33de35dde129104a37267db SHA512 8d9a91f61c62caf5d7a5cb61a80314cec733089f9f94a250a1a328a2cbab7fe051f43177902d9c7ff7a4a14e713ee19fef0ad19147ff0f32b41bd24505205883 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl4wN0JfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl5zUjtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy9znAgAvEqNqxGBABxe38zCr07/dcAQzfr5BBdGGPALfK6bzcokZ8eGseUwrD4E -QwSbuvEr9g9v0Fc1qT3OyhNulGhiOJGZwxBodPJ0KniWcdgMB3Rh62IAwhYUkpny -V08IvG43cWdxDNFabE4LWOUrSBqRVR2qKKY7ZGNZ0pAMY45xHuss3YiOnZVCA9Y+ -SYx1bmSG6qskI3irKViOg1zKs/JACy1x07qL58TKF1mA2TnOOSMJMUZqOHfZHDCs -sFEP4AjH4/9uJ2nrIXsQhQ+VkAMPzEtJNOOJ7FHNtIUhV2Pkt7W/PRj5IgEn1KZC -QI+KXut9K/2MxR7p4tD4a4oPyKRccw== -=GEvY +dy8u5AgAnKTLbYfe4aSg8eiXlBRUuFX38nIF0HOUWva5AV1UxzPmRwug95euIv5/ +/QGpTsVa2wshENo/fEMq+nQZKhY1FzB57myQ5oy9psCpq0kOm82SBjfSdU7E1TbK +Ij6QAcUqquQ/+C45QecR5B0T9rM1gDOQyaqQQCIZ28Z8htT+i7aChEuaknRcvzWG +vbuTWv3WrlszpBF8eboHKqIQPfQ0W+S4dVu++NuozV1Pzf9v6/mAuPk1Jv/J37ZL +XYg9JrBwtRhBjNblw7KoDcHLu+qfQ8aGvHmSRam6dXK8IUVbBoKtyZyjWgIpPcph +5T/g3Qujmlt/c1/7sHMjml14pAZjOQ== +=iyZT -----END PGP SIGNATURE----- diff --git a/app-admin/scylla-tools/scylla-tools-3.2.3.ebuild b/app-admin/scylla-tools/scylla-tools-3.2.3.ebuild new file mode 100644 index 0000000..7a862ea --- /dev/null +++ b/app-admin/scylla-tools/scylla-tools-3.2.3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PV="${PV/_/.}" +EGIT_CLONE_TYPE="mirror" +EGIT_COMMIT="scylla-core-${MY_PV}" +EGIT_REPO_URI="https://github.com/scylladb/scylla-tools-java.git" +inherit git-r3 + +EANT_BUILD_TARGET="jar" +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} ) +JAVA_PKG_IUSE="source doc" + +inherit java-pkg-2 java-ant-2 python-r1 + +DESCRIPTION="scylla tools (Java part)" +HOMEPAGE="https://github.com/scylladb/scylla-tools-java" + +KEYWORDS="~amd64" +LICENSE="Apache-2.0" +SLOT="0" + +CDEPEND="dev-java/antlr:3.5" +RDEPEND=" + ${CDEPEND} + ${PYTHON_DEPS} + >=dev-java/ant-junit-1.10.5 + >=virtual/jre-1.8" +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.8" + +RESTRICT="test" + +src_prepare() { + default + find examples -type f -name \*.xml -exec rm -v {} \; || die + + # remove "build-test" from the "jar" target + sed -e 's/ build-test,//g' -i build.xml || die + + # https everything + sed -e 's@http://@https://@g' -i build.xml build.properties.default || die + + if has network-sandbox ${FEATURES}; then + die "Please set '-network-sandbox' when defining the FEATURES variable" + fi +} + +src_install() { + default + + # find out version + local origin_version=$(grep '"base.version"' build.xml | sed 's/.*value="\(.*\)".*/\1/g') + + python_setup "python2.7" + python_optimize pylib/cqlshlib + python_domodule pylib/cqlshlib + + dodoc -r lib/licenses + + insinto /etc/scylla/cassandra + doins conf/cassandra-env.sh + doins conf/logback.xml + doins conf/logback-tools.xml + doins conf/jvm.options + + insinto /etc/bash_completion.d + doins dist/common/nodetool-completion + + dobin bin/nodetool + dobin bin/sstableloader + dobin bin/cqlsh + dobin bin/cqlsh.py + + dobin tools/bin/cassandra-stress + dobin tools/bin/filter_cassandra_attributes.py + dobin tools/bin/cassandra_attributes.py + dobin tools/bin/cassandra-stressd + dobin tools/bin/sstabledump + dobin tools/bin/sstablelevelreset + dobin tools/bin/sstablemetadata + dobin tools/bin/sstablerepairedset + + insinto /usr/share/scylla/cassandra + doins dist/common/cassandra.in.sh + doins "build/apache-cassandra-${origin_version}-SNAPSHOT.jar" + doins "build/apache-cassandra-thrift-${origin_version}-SNAPSHOT.jar" + doins "build/scylla-tools-${origin_version}-SNAPSHOT.jar" + doins build/tools/lib/stress.jar + # + dosym /usr/share/scylla/cassandra/apache-cassandra-${origin_version}-SNAPSHOT.jar /usr/share/scylla/cassandra/apache-cassandra.jar + + insinto /usr/share/scylla/cassandra/lib + doins lib/*.jar + doins lib/*.zip +} |