From 4e8bdedb096beb8fead1d9fc275af6d6956030a6 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Sun, 1 Mar 2020 21:46:27 +0100 Subject: dev-db/scylla-bin: 3.1 version bump Package-Manager: Portage-2.3.89, Repoman-2.3.20 Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5 Signed-off-by: Alexys Jacob --- dev-db/scylla-bin/Manifest | 22 ++--- dev-db/scylla-bin/scylla-bin-3.1_p255.ebuild | 121 --------------------------- dev-db/scylla-bin/scylla-bin-3.1_p259.ebuild | 121 +++++++++++++++++++++++++++ 3 files changed, 132 insertions(+), 132 deletions(-) delete mode 100644 dev-db/scylla-bin/scylla-bin-3.1_p255.ebuild create mode 100644 dev-db/scylla-bin/scylla-bin-3.1_p259.ebuild (limited to 'dev-db') diff --git a/dev-db/scylla-bin/Manifest b/dev-db/scylla-bin/Manifest index 9ed1465..3d504fa 100644 --- a/dev-db/scylla-bin/Manifest +++ b/dev-db/scylla-bin/Manifest @@ -7,24 +7,24 @@ AUX scylla-jmx.initd 585 BLAKE2B 268f2c97d31f101c6911cd2144f9df6068f8fce706d0056 AUX scylla-server.confd 396 BLAKE2B dc522b308985e51c24449a333d793eaa777a74b8b5594f1ff4a092aae003202791019a255ea478c4e794a83ca0e01d2c49aac3d267501624f461fa3edfe1c41f SHA512 51739cdeedaedb1a73a345ec6a4a2761d29fac1b9cf61f02937559aed43f02112109464254213118d40af1fb7e8491c22f8cb88908c9c88523dfe1b78b8430c7 AUX scylla-server.initd 1020 BLAKE2B 99aaf3d265b507cbcc36a1cc55b9ac9cabb7f1f04c006a4cdd1dae0484d3ab96fa0b6895da29c96c93a2416f954bf3dbc837a4de2faa28c0549a4656b77a19ee SHA512 27e423779b6092e0bd50008633d9e92351c1ccce3d33801196f3c43565409afee310ac0fe627a6ce04296731075fe81a1104c7dc3ca32e15315fd1df3f943db4 AUX scylla.sudoers 162 BLAKE2B 9aa0dce391da1f420a070d73d061452eeba60ad268f13a5bb8c0525d714d27dfa438efa9c6871c916b82ebf56f34c507826315de8b1fadc3d0eb5feae663cbcc SHA512 aabdeb3854eaad4b1cf9037a998cf94b8f55b2011e8f81a1778095b71806d89e217f2025e772c636569f833f7df45108e2e30c2c1e70fdb59acf37e6cdf81485 -DIST scylla-bin-3.1_p255-package.tar.gz 1112403241 BLAKE2B 8acdf74376b7efdcc99c9ec20bafd4768f58921173dabb21effa5eef46f3721eedd11712b2ec4d2e3df9fced0484129ee75830d427dc7f9077ad34e603dc2e04 SHA512 8baf0b704ae9919fa38b9100389040cd1f071cb21b771468edd3033bcbbfd821b6dc26fd52944e281331cb8a34540e05713acd2983b44257b0a6453c958254bd -DIST scylla-bin-3.1_p255-python3.tar.gz 29308222 BLAKE2B b21092f8d58020281970eb31f7c87bcb4af6407f2ea27b6afa11ba1eeb1c163b30277f1846fedac0b85c92dd73e17dbbb14119df1a023542b361378e159b3943 SHA512 d1f99caf943ce966e47d6c8b165e0c2dbe6bc110df41d7e3d98afcb87d67e5a0b30df6bb32b4419242facc90586fd714346227cba7542d650c04a31453bc44e5 +DIST scylla-bin-3.1_p259-package.tar.gz 1112368776 BLAKE2B 593f9bed2cccf1dacdc79eb309f5f6533d6c15ae9f34198835283bd4cbefaa6241dcbb11b161e24d031a912a121e11cba65eb2952e0df5d544c5febec105e272 SHA512 edd96df8ee8035a48876750bd2e380f03e51b58dc4a81e262bad2bf32d8f6dcd8aaf9de94c6d9501782470a7928d378ec239e4880d9583052dd5ca81fb791712 +DIST scylla-bin-3.1_p259-python3.tar.gz 29292188 BLAKE2B 169a67b487244b2a391aacc995155a749b0746cfbd342c387423106abda4f361a45a7d5bfbba020e1f32014ead148d5363c4c58bb35eb6147f992b7040ff17c4 SHA512 5883c34c79d8e09ecbefa612c37875383cb4e45d429599a5b0b74a048fd93fc4a672d7b9a2335eb0fefdc05d08edc5a0a72dc2d3fb77485dd1146fd48899936b DIST scylla-bin-3.2_p202002221144-package.tar.gz 1033996280 BLAKE2B 20faa9af84bad4585baef16564fc583bfdfc01a2ea94ffc6e9324fa80b62c625838f46eeeb8a47536c36047640fb68ed738492595c458afb9c2146bdbc070a00 SHA512 f7187c5dd843089a352c607b27efa7ee979dfd10634dc1d5299821ed5d8fa36d65d66f803dd1b5c8addbe6a8e9f7f36ae2d111a86a9e90a2c3514dab4a3435ea DIST scylla-bin-3.2_p202002221144-python3.tar.gz 34258383 BLAKE2B 85d4467448d23ecfeff7319fb478bbc2f24598aaf5380d5a01cb0b8866caf8fa3eb9196cd03fdd79da9147549a868cd6e6259a337bfa848a57981356a5b2cc48 SHA512 87b29858d9b1c63f98548fb796c4811160dcfdc92071e368c81b23d5db6b266a3d9b2f8cd583e99f1545f10425c4bb0dbb895ae5cf8ca97a7b8434d53ed41c17 -EBUILD scylla-bin-3.1_p255.ebuild 3457 BLAKE2B 7502ba6db7b87d4790ff8302a3b757dd92a8bb65eec032b47bf8e60edcd43092b0b64bd65c4298e90e96be0c4e39f7c8c0ffd59b688b8d900fa0e36535614d41 SHA512 5824170d5b28497769ae2542d3711ea65463ff659ead929958f2db8b37012ec609ffd45bcb498400ab0978f9e10c3de72d8429e91e532da62f3c42f2b2c7f317 +EBUILD scylla-bin-3.1_p259.ebuild 3457 BLAKE2B 7502ba6db7b87d4790ff8302a3b757dd92a8bb65eec032b47bf8e60edcd43092b0b64bd65c4298e90e96be0c4e39f7c8c0ffd59b688b8d900fa0e36535614d41 SHA512 5824170d5b28497769ae2542d3711ea65463ff659ead929958f2db8b37012ec609ffd45bcb498400ab0978f9e10c3de72d8429e91e532da62f3c42f2b2c7f317 EBUILD scylla-bin-3.2_p202002221144.ebuild 3119 BLAKE2B 9ac009d042a3721bbc005e18c5a667e7fd071824fb15b9899b225cc9adcfe12f35afbe1c24f6e28dd128b4215c4dad0026ff2cf859f5a4cc65f3af46b8969045 SHA512 b4863d066304534830f3f951c79845e61345ab57d0f0f327b67693ff22e92c2ff83cc592defacfd33e19ffb54a030e0e62cd4451d8276dbc409291862251dd39 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl5b8zhfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl5cHwdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy8snAf/eYTcAOnxyeDRw2rHecQwEQMP3VxH5Mc8bMHLUqv6jVtuEqF7AiGyyR8R -IjW6Q4pfeo+udcr+5LNJugHrwEC0TGyA6djO15vy+KtNrFcVygmgKaY21NisOKt3 -bmVJbLIg2MmkOQC4Eg4rAhmj4ZaXl0xDQKZJzB6ksGxR5+Inr/Pe/qPGwzIo3ph/ -yjFZNaWTr+N631bGEnUhbpnDZMw06BI2u0CqrN+M8Gp101ffayx1l63LqrCoUzal -PY7mWUaDGhTQwl3+kUKhOx54n4F2peyAw8yeHWGw2Trt5RgfDckA3j9EbUWQ8OOn -Kj6kbK4eU15bED6kMfdL7Uvujounpw== -=VXYV +dy+3Bgf/af/x7E9ijaN3NAYZnwiN2ZPCOHSuPw1u/VsSUxcrTSYphIVb6jG7O9P8 +HIY8ZbqnVp9gtUR5vQr1OS1/zmMdA5qh5qoV6IfVy5jTWFXxDzwC39jEYktLvRmb +K2JpeU3YMoY7iNz/j/DrqoYGkR4WByaHzxjVlGu/htMcr2tVfR4yq3VxRD9kzHUh +EO7QqkAoycn6vGDVKXoiI3v5pRjScS09htdtB9U9O6sdNpirSKsDw2oKpvBFCNZi +AJyXZA8xGWQd0j5NHELOW2nljL1p0Q0XAu4cdeqkTdT4UdjVkyYlC6UAtsMWKOXk +vzf2BTcrr3DZHxf32To8fVRjapTKig== +=hpZA -----END PGP SIGNATURE----- diff --git a/dev-db/scylla-bin/scylla-bin-3.1_p255.ebuild b/dev-db/scylla-bin/scylla-bin-3.1_p255.ebuild deleted file mode 100644 index be63125..0000000 --- a/dev-db/scylla-bin/scylla-bin-3.1_p255.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PV="${PV/_p//}" - -inherit linux-info user - -DESCRIPTION="NoSQL data store using the seastar framework, compatible with Apache Cassandra" -HOMEPAGE="https://scylladb.com/" -SRC_URI="http://downloads.scylladb.com/relocatable/unstable/branch-${MY_PV}/scylla-package.tar.gz -> ${P}-package.tar.gz http://downloads.scylladb.com/relocatable/unstable/branch-${MY_PV}/scylla-python3-package.tar.gz -> ${P}-python3.tar.gz" - -KEYWORDS="~amd64" -LICENSE="AGPL-3" -SLOT="0" -IUSE="doc" -RESTRICT="strip test" - -RDEPEND=" - !dev-db/scylla - dev-python/pystache - >=app-admin/scylla-jmx-3.2 -" -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; - do - mkdir "${pkg}" || die - pushd "${pkg}" || die - unpack ${P}-${pkg}.tar.gz || die - find . -type f -name "*.pyc" -delete - popd || die - done -} - -src_prepare() { - default - sed -e 's@/etc/sysconfig@/etc/default@g' -i package/install.sh || die - sed -e 's@retc"/sysconfig@retc"/default@g' -i package/install.sh || die - sed -e 's@retc/sysconfig@retc/default@g' -i package/install.sh || die - sed -e "s@/share/doc@/share/doc/${P}@g" -i package/install.sh || die -} - -install_package() { - pushd package - - bash install.sh --root "${D}" --target debian || 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 python3 - insinto /opt/scylladb/python3 - doins -r bin dist lib64 libexec licenses - popd -} - -#install_jmx_package() { -# # TODO: not working with icedtea JVM -# pushd jmx-package -# bash install.sh --root "${D}" --sysconfdir /etc/default || die -# newinitd "${FILESDIR}/scylla-jmx.initd" scylla-jmx -# newconfd "${FILESDIR}/scylla-jmx.confd" scylla-jmx -# popd -#} - -src_install() { - install_package - install_python3 - #install_jmx_package -} - -pkg_postinst() { - elog "You should run 'emerge --config dev-db/scylla' to finalize your Scylla installation." -} - -pkg_config() { - elog "Running 'scylla_setup'..." - scylla_setup -} diff --git a/dev-db/scylla-bin/scylla-bin-3.1_p259.ebuild b/dev-db/scylla-bin/scylla-bin-3.1_p259.ebuild new file mode 100644 index 0000000..be63125 --- /dev/null +++ b/dev-db/scylla-bin/scylla-bin-3.1_p259.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PV="${PV/_p//}" + +inherit linux-info user + +DESCRIPTION="NoSQL data store using the seastar framework, compatible with Apache Cassandra" +HOMEPAGE="https://scylladb.com/" +SRC_URI="http://downloads.scylladb.com/relocatable/unstable/branch-${MY_PV}/scylla-package.tar.gz -> ${P}-package.tar.gz http://downloads.scylladb.com/relocatable/unstable/branch-${MY_PV}/scylla-python3-package.tar.gz -> ${P}-python3.tar.gz" + +KEYWORDS="~amd64" +LICENSE="AGPL-3" +SLOT="0" +IUSE="doc" +RESTRICT="strip test" + +RDEPEND=" + !dev-db/scylla + dev-python/pystache + >=app-admin/scylla-jmx-3.2 +" +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; + do + mkdir "${pkg}" || die + pushd "${pkg}" || die + unpack ${P}-${pkg}.tar.gz || die + find . -type f -name "*.pyc" -delete + popd || die + done +} + +src_prepare() { + default + sed -e 's@/etc/sysconfig@/etc/default@g' -i package/install.sh || die + sed -e 's@retc"/sysconfig@retc"/default@g' -i package/install.sh || die + sed -e 's@retc/sysconfig@retc/default@g' -i package/install.sh || die + sed -e "s@/share/doc@/share/doc/${P}@g" -i package/install.sh || die +} + +install_package() { + pushd package + + bash install.sh --root "${D}" --target debian || 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 python3 + insinto /opt/scylladb/python3 + doins -r bin dist lib64 libexec licenses + popd +} + +#install_jmx_package() { +# # TODO: not working with icedtea JVM +# pushd jmx-package +# bash install.sh --root "${D}" --sysconfdir /etc/default || die +# newinitd "${FILESDIR}/scylla-jmx.initd" scylla-jmx +# newconfd "${FILESDIR}/scylla-jmx.confd" scylla-jmx +# popd +#} + +src_install() { + install_package + install_python3 + #install_jmx_package +} + +pkg_postinst() { + elog "You should run 'emerge --config dev-db/scylla' to finalize your Scylla installation." +} + +pkg_config() { + elog "Running 'scylla_setup'..." + scylla_setup +} -- cgit v1.2.3-65-gdbad