summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2020-10-29 16:26:48 +0100
committerUltrabug <ultrabug@gentoo.org>2020-10-29 16:26:48 +0100
commitd0676da1dcdb6fdc3a111bdb6de77ae0bf14d0ca (patch)
tree855d14f41182c737d203105a353d0993e58abb11 /dev-db/scylla-bin
parentdev-db/scylla-bin: drop old, bump to 4.1.8 (diff)
downloadultrabug-d0676da1dcdb6fdc3a111bdb6de77ae0bf14d0ca.tar.gz
ultrabug-d0676da1dcdb6fdc3a111bdb6de77ae0bf14d0ca.tar.bz2
ultrabug-d0676da1dcdb6fdc3a111bdb6de77ae0bf14d0ca.zip
dev-db/scylla-bin: version bump to 4.2.0
Package-Manager: Portage-3.0.5, Repoman-3.0.2 Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'dev-db/scylla-bin')
-rw-r--r--dev-db/scylla-bin/Manifest21
-rw-r--r--dev-db/scylla-bin/scylla-bin-4.2.0.ebuild128
2 files changed, 141 insertions, 8 deletions
diff --git a/dev-db/scylla-bin/Manifest b/dev-db/scylla-bin/Manifest
index 5449867..5032ff7 100644
--- a/dev-db/scylla-bin/Manifest
+++ b/dev-db/scylla-bin/Manifest
@@ -35,6 +35,10 @@ DIST scylla-bin-4.1.8-jmx.tar.gz 7676133 BLAKE2B 5a919eceeaab4c44afab65b35039365
DIST scylla-bin-4.1.8-package.tar.gz 808934528 BLAKE2B 2107764f33ad48a588f9231edd9540c22b785f7bc28f376ce1e0fd5ee91ad87a4b01700965c7f82e3b0b6bf5c12ce912792a41f322ce61de3ccf35f0f4ea3003 SHA512 3b0c27ffae2b9da2ba0b68b267083c2a9bac4256b172d52403c4fa0bdd27823456e69dd92821343fad56ba642e884ede79a10112737222272ca6205d9c8283fd
DIST scylla-bin-4.1.8-python3.tar.gz 36067975 BLAKE2B c9669d413e4fd7913b9cb66c626e7df43d56f0d1da7ae0ea7b63a48d58914d55f07cdd9e1ee915d37762cb492507f62bef104bab7176939fb6fde3f4a04629f0 SHA512 8a1b96701d1d57da6a9b099c89b4af586c737cb131d700c738feee8c351eabdec8a8dbf0f08e2be21715e3916e3cecaaaea1b5ec4e721d9edf08cb4deb97ddce
DIST scylla-bin-4.1.8-tools.tar.gz 33862685 BLAKE2B a449ffed48cd5ed2559db81d46d3c5660230f72f9ab5e443f449ba9a3314c75c8931f4a5c544697c8e7a942b75293df9b669544b1ae777efed852c063d2f2303 SHA512 f410557eb947b348d6f50100328039974bd6dcb20e9c78877e342159db531705ad9bcfafd81a4b6149796dfa19fb6425dbf3ad68aaa8af2d91b606afa208e31d
+DIST scylla-bin-4.2.0-jmx.tar.gz 8372157 BLAKE2B df9e95f03b8c4589ca206d4d55daae1c2e5d8d414248ec98828fe44e55c6ce432d4ef98862ba24b4b721ef6b2701fb4757ee27bd0a065ac3507f53e832f14af4 SHA512 00ee6a1a17805b0d3b5defb85f879230f604e2a8a42e12e826ad75ff2a63ef655ff56398d57c4c6c181ddf45299c22de76729ec4425cd16822844eb8deb68a83
+DIST scylla-bin-4.2.0-package.tar.gz 809401381 BLAKE2B 77e2a19a34d8f18e5d920ade4d4e8772cb1f305870677e1b7b2959fe12fe727ee8d1c1dec33045ac774c6f12c4383d5f4f8dfdf51366b19f2fef0de12f27da65 SHA512 c22259e45d3e7a6d2852484eb3f2336f59705ad0d6b0aef4b43d4980961d5f5ae0291b64786bdb5447307f73575a39a65fae1b2064259effc0470b642fcd608d
+DIST scylla-bin-4.2.0-python3.tar.gz 21441844 BLAKE2B 13c8e5597284c1167013c68bd7a53935aa8652948a6d0ec00be288060c40bcd9d99199778c0197316cfa522cd72f07d346698eb6dddd17c0be184a9e669c85bd SHA512 3e68c66ffbca68d178d8681d143715ceb6273a80dab5d1a5383d608c842d9d2398bb658c5b8bc8f284ebaaf353027be65edb76a82fa1de76eeb49d67e6dd1859
+DIST scylla-bin-4.2.0-tools.tar.gz 33882353 BLAKE2B f157e9b291990198f678fb23c7c341351579c9fdb06ea03ba87cf3d3f365e5f6d96f4a5605dc0a9defc6b32af0338fdcd64bf3e14e6ea4edacb9f942a1bc3f7b SHA512 8b93787dcf2cc6d48e63230519e629670e45bcb09031d8762ec189a36a39289694554c9383252a5bd9166ba9f70dcc9dd8a93945584109e17ad488ef897a7523
EBUILD scylla-bin-3.2_p202004222203.ebuild 4422 BLAKE2B 747a8b8ba7020a8c864725a7a11aea5b6343284e2b77b5aa014132bf5771ab9922b588bf40c154850b9aeb116679e1818d369f9cf57f08b404a1d972fbc4ddeb SHA512 641fc805ae0f30ae89d4746a884778a68766f8db96f2cd534fa620515b6dbcce60930b9927f450b007a568b9c3a5c21eb918004562a2a6072347bfb46fc70f36
EBUILD scylla-bin-3.2_p20201008.ebuild 4393 BLAKE2B f40b2db7459da877394169fa61b8b9562e4fc0b2a27fd37fd2f4e08ae9352b136b36ccf13a97b5c4d5a1ee86eedcf21d132f930f51a41e976e9ff68559b13a5b SHA512 fbbfc2bb498bef65a28cc1a00e15b6207174ad0f2624f7d9b7b234bd4c2d8de62f0c52587497b1746541c02589697167143a0b0c40b1d84eac8c94d682dcba85
EBUILD scylla-bin-3.2_p20201009.ebuild 4412 BLAKE2B 09ec3b51a434e24fd0b3df0c630810b314b6e0116243b8f2443c4a76257d028551604358ae92ad1288be5babb4b1fad8ddf9aba640aac16c534fb098d54c3cba SHA512 5738fb63b5e480ed12ffebb7fe2d8aa586c222b2dc952264a38e0eb22b02555dc7a373c3eca3491a486cd467498a1255c8e2fedf66fd4c1dba6d9e699a8c8288
@@ -42,18 +46,19 @@ EBUILD scylla-bin-3.3_p202006160043.ebuild 4615 BLAKE2B 66dfb66d70a71cefa38c4cdc
EBUILD scylla-bin-4.0.8.ebuild 4068 BLAKE2B 79fbbe320cc8651aa2f84db166ad1df85d4a14cfa4016a5953686ab82b52743738c8a453166e1cad53963b3683b2d6dbad9363901021e55a111d48cd5e0d80d9 SHA512 531f8e834b8c87c60171953f69fddc4883e39b95b67a1cefc371883667dbb530637c349a83059df966a4a302ecda51de5387e2e9d8add9f3a7f32aac0ca3c767
EBUILD scylla-bin-4.1.3.ebuild 3710 BLAKE2B ae927512db6ae431cdc73a1f1bbe46daf7500cbebd4f4a614cf8c724bea224ed370c30815733bcaa82a457ec8c7de6daf9d969ce54ef7d68bd4f09b9238c2dde SHA512 04c6d2a66ea2b2580367066fc9ca06fb97fdcb0eb82b9b71e1f2dc1e94985dcaa901d0216bda199a0a33de2ed019a268bb8d505eb794a652f552cd400d23c8ed
EBUILD scylla-bin-4.1.8.ebuild 3929 BLAKE2B 961c8eb3b40f15bc298777bb7b85008e3855f63671c0eac8c198a0ee154cfc818158d334d110cdddb0df53ba34ed910f2ebb8678f279c5f50f9bfe2e224c206c SHA512 99d4ec487308549f1bb7a535f355e94d1a2a888ae007c6becbd452456a4c0c1ed3fac42ac435e24896e0103e32222175002886e8791347321a632ed14cb91ab4
+EBUILD scylla-bin-4.2.0.ebuild 4293 BLAKE2B 077b5d248592e844c85116cb779066d1ad92deb734c23bd581de155862e71254a346132eac63da9719429a066da8419372be24186285797b1cc4cd644c579f17 SHA512 2e21d73f5c6c7e2a37bfbe44b69a84ee190e1859942ddbbfba0e07e359380ed89df561ac7d99561dc43c5dc7032e861aca46eac0222eaf2dd43f7ca4ea72744e
MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl+FvlZfFIAAAAAALgAo
+iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl+a3xxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3
QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX
-dy/G0ggApreX6xiJ4ic0jXp7vM6A9I1x4OlFGUlpFpRUB7xeSIPgr7a2+ajw6AbE
-jJf016gZMu22E91XokGRGDw1+2PSEcSf3yczgGyVT2raEyaypYTQrRpBA0MFN/SS
-3+6BH0VF33Du9VszZ3gAjGIp2CrNDykYzvDJ/PW0Q2BojXZGXPMMuIv2OOOZzpsz
-2+vQtsRJcdXJnOcQbaTqWneXSXlDjAkvRPDf6ExtHAsEPR2mqMwjxnIwL1SNRvBG
-yc95Elm7EsXMuhPrIuFeatnRahZ0TVTgGMjQRSaUDMMuvwny48Aac/6DNUn0DPDv
-IcyXGCnYNezujvnPdsaFa/2yDV5meA==
-=UQl+
+dy/IgAf/VsvPz5OlpnbDSEc5k3GqdBC/ikXuotzYveVgHHOEZsUhLhfiq75nc18f
+T89et/6rD1MdydRCg2CFD9JUAalBJUAN2Y9pUv2LPibjwvDljIkG2MaCM/EhS/Co
+THgXbTznzfZImZDb+PA8j6B7YyaxwxvoIIQ5Vx8WYu4/5oyIuEQQT1eMDWvJ9xwG
+IgPqY8qeMGZ5IjkXFvvWUlE9VVXgSX06iW4kmXIsWfWXhiDBw0cSEokGTE7xL/zd
+Rf7bJWrYiRIvaRCDVDcx06TTTHwGIxMWbYxvZnsP2xKfMXV3KJJYlhebB2lFcyGd
+CjRn5HmD9/0iD/0lTkdpC1mwRjMG5A==
+=Bjsl
-----END PGP SIGNATURE-----
diff --git a/dev-db/scylla-bin/scylla-bin-4.2.0.ebuild b/dev-db/scylla-bin/scylla-bin-4.2.0.ebuild
new file mode 100644
index 0000000..8a9904e
--- /dev/null
+++ b/dev-db/scylla-bin/scylla-bin-4.2.0.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PV="4.2.0-0.20201025.94597e38e2"
+
+inherit linux-info user versionator
+
+DESCRIPTION="NoSQL data store using the seastar framework, compatible with Apache Cassandra"
+HOMEPAGE="https://scylladb.com/"
+SRC_URI="http://downloads.scylladb.com/downloads/scylla/relocatable/scylladb-$(get_version_component_range 1-2 ${PV})/scylla-package-${MY_PV}.tar.gz -> ${P}-package.tar.gz http://downloads.scylladb.com/downloads/scylla/relocatable/scylladb-$(get_version_component_range 1-2 ${PV})/scylla-python3-package-${MY_PV}.tar.gz -> ${P}-python3.tar.gz http://downloads.scylladb.com/downloads/scylla/relocatable/scylladb-$(get_version_component_range 1-2 ${PV})/scylla-tools-package-${MY_PV}.tar.gz -> ${P}-tools.tar.gz http://downloads.scylladb.com/downloads/scylla/relocatable/scylladb-$(get_version_component_range 1-2 ${PV})/scylla-jmx-package-${MY_PV}.tar.gz -> ${P}-jmx.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="doc"
+RESTRICT="strip test"
+
+RDEPEND="
+ !app-admin/scylla-jmx
+ !app-admin/scylla-tools
+ !dev-db/scylla
+ virtual/jdk:1.8
+"
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-3.5
+"
+
+# Discussion about kernel configuration:
+# https://groups.google.com/forum/#!topic/scylladb-dev/qJu2zrryv-s
+CONFIG_CHECK="~NUMA_BALANCING ~SYN_COOKIES ~TRANSPARENT_HUGEPAGE"
+ERROR_NUMA_BALANCING="${PN} recommends support for Memory placement aware NUMA scheduler (NUMA_BALANCING)."
+ERROR_SYN_COOKIES="${PN} recommends support for TCP syncookie (SYN_COOKIES)."
+ERROR_TRANSPARENT_HUGEPAGE="${PN} recommends support for Transparent Hugepage (TRANSPARENT_HUGEPAGE)."
+
+# NOTE: maybe later depending on upstream energy, support DPDK
+# For DPDK, removed HUGETLBFS PROC_PAGE_MONITOR UIO_PCI_GENERIC in favor of VFIO
+# CONFIG_CHECK="~NUMA_BALANCING ~SYN_COOKIES ~TRANSPARENT_HUGEPAGE ~VFIO"
+# ERROR_VFIO="${PN} running with DPDK recommends support for Non-Privileged userspace driver framework (VFIO)."
+
+DOCS=( README.md NOTICE.txt SCYLLA-PRODUCT-FILE SCYLLA-RELEASE-FILE SCYLLA-RELOCATABLE-FILE SCYLLA-VERSION-FILE )
+PATCHES=( )
+S=${WORKDIR}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ enewgroup scylla
+ enewuser scylla -1 -1 /var/lib/${PN} scylla
+}
+
+src_unpack() {
+ for pkg in package python3 tools jmx;
+ do
+ unpack ${P}-${pkg}.tar.gz || die
+ find . -type f -name "*.pyc" -delete
+ done
+}
+
+install_package() {
+ pushd scylla
+
+ einfo "Installing scylla-package"
+ # fix sysconfig path for systemd service files
+ sed -e "s@/etc/sysconfig@/etc/default@g" -i dist/common/systemd/*.service || die
+ bash install.sh --root "${D}" --sysconfdir /etc/default --packaging || die
+
+ for x in /var/lib/scylla /var/lib/scylla/{data,commitlog,hints,coredump,hints,view_hints} /var/lib/scylla-housekeeping /var/log/scylla; do
+ keepdir "${x}"
+ fowners scylla:scylla "${x}"
+ done
+
+ insinto /etc/sudoers.d
+ newins "${FILESDIR}"/scylla.sudoers scylla
+
+ insinto /etc/rsyslog.d
+ doins "${FILESDIR}/10-scylla.conf"
+
+ newinitd "${FILESDIR}/scylla-server.initd" scylla-server
+ newconfd "${FILESDIR}/scylla-server.confd" scylla-server
+
+ popd
+}
+
+install_python3() {
+ pushd scylla-python3
+ einfo "Installing scylla-python3"
+ bash install.sh --root "${D}" || die
+ popd
+}
+
+install_jmx() {
+ pushd scylla-jmx
+ einfo "Installing scylla-jmx"
+ # fix sysconfig path for systemd service files
+ sed -e "s@/etc/sysconfig@/etc/default@g" -i dist/common/systemd/*.service || die
+ # fix symlink runtime error on scylla-jmx script
+ # * scylla-jmx is not available for oracle-jdk-bin-1.8 on x86_64
+ # * IMPORTANT: some Java tools are not available on some VMs on some architectures
+ sed -e 's@"$LOCATION_SCRIPTS"/symlinks/scylla-jmx@/usr/bin/java@g' -i scylla-jmx || die
+ bash install.sh --root "${D}" --sysconfdir /etc/default --packaging || die
+ newinitd "${FILESDIR}/scylla-jmx.initd" scylla-jmx
+ newconfd "${FILESDIR}/scylla-jmx.confd" scylla-jmx
+ popd
+}
+
+install_tools() {
+ pushd scylla-tools
+ einfo "Installing scylla-tools"
+ bash install.sh --root "${D}" || die
+ popd
+}
+
+src_install() {
+ install_python3
+ install_package
+ install_tools
+ install_jmx
+}
+
+pkg_postinst() {
+ elog "You should run 'emerge --config dev-db/scylla' to finalize your Scylla installation."
+}
+
+pkg_config() {
+ elog "Running 'scylla_setup'..."
+ scylla_setup
+}