From 9d9935369bf6ca6998915579ce558f58b299b5b2 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Fri, 24 Apr 2020 20:55:55 +0200 Subject: dev-db/scylla-bin: 3.2 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 | 19 ++-- .../scylla-bin/scylla-bin-3.2_p202004222203.ebuild | 113 +++++++++++++++++++++ 2 files changed, 124 insertions(+), 8 deletions(-) create mode 100644 dev-db/scylla-bin/scylla-bin-3.2_p202004222203.ebuild (limited to 'dev-db') diff --git a/dev-db/scylla-bin/Manifest b/dev-db/scylla-bin/Manifest index a4b1066..cec659d 100644 --- a/dev-db/scylla-bin/Manifest +++ b/dev-db/scylla-bin/Manifest @@ -17,23 +17,26 @@ DIST scylla-bin-3.2_p202002221144-package.tar.gz 1033996280 BLAKE2B 20faa9af84ba DIST scylla-bin-3.2_p202002221144-python3.tar.gz 34258383 BLAKE2B 85d4467448d23ecfeff7319fb478bbc2f24598aaf5380d5a01cb0b8866caf8fa3eb9196cd03fdd79da9147549a868cd6e6259a337bfa848a57981356a5b2cc48 SHA512 87b29858d9b1c63f98548fb796c4811160dcfdc92071e368c81b23d5db6b266a3d9b2f8cd583e99f1545f10425c4bb0dbb895ae5cf8ca97a7b8434d53ed41c17 DIST scylla-bin-3.2_p202003162053-package.tar.gz 1034202869 BLAKE2B ca68cbfebe56976ce4a4034b5a059b439f7eca6a23745425b75560d201d916901d5bdc104d03e1b2ecec589537bdc5b53b2f2ebb0f1693f3f4c2cea4e2b3c7d3 SHA512 a24fcb1bd80503d2980885ddf2a47a098a146da4dd2ec5b4f53ca9bd5d6684ca032e4cff1927e70d0725160dedcc49b3e19712ea871d90cd8019c5554f319c02 DIST scylla-bin-3.2_p202003162053-python3.tar.gz 34293296 BLAKE2B e3b326b655b5bc6f35fe020b88561bee5193818fc265581725526fe7144581cea153a529c10abd489a8e69862af6f811bc963cb86e66b638bcb9d341cb62200b SHA512 0d965b2a10e4b7d6f448321cef051a2db1e9af413b7cd2a653857f769931f27e51b8f39d95278498aa86d8cdc15c939b194659247d27529decdd1dabdf68fdab +DIST scylla-bin-3.2_p202004222203-package.tar.gz 1034049721 BLAKE2B 6c25f519cd8d68fc5c57c15eb72dbf0e6024badc03f5c3269c0b7996a23daf301f556371cfc7eb059e318b7ed4b1deeb2274ea8ca405b3d8ff68598a6891c123 SHA512 0a95c282dcc80727ffd36ad20ed54e4cbffbc9062c27ba114da1eae47289615b9506ecc5ffd6f086115fe5a979d4622714384b18bfcc6dff6cdbb8c268cfede6 +DIST scylla-bin-3.2_p202004222203-python3.tar.gz 34294614 BLAKE2B 34035d5d72c36c275bcf29b157717c87cfa9d41585bac05df8062cafe9ce00a17bca1c6a1cfad5f58877e89f01a84c2424f035482ca057c04a8b3970dab6ed4f SHA512 39a6ab5e3711f82b6584cbf8ea2952f47b2e25dfe5bdcaa3b31894cde91c7674f207f9172ecc4e607e6c45a494ef4349eb53cbc389eda2e80dd5fced0434af5e EBUILD scylla-bin-3.1_p259.ebuild 3576 BLAKE2B c518749676fe53d03aeb42ad7e2523af94bae6aac778f45f69831decde56222dafb8291b7bc7f78361c2003086005a0fd5e61b085f7040b5fea66bbf7e4fc583 SHA512 e2d5801bfa4e8e1231cabe3ef9832f5299ec06209aa077186d4a1022aa8c6bba493691dcc23ac7c81f3244a08b0a10464476a9a05a8c0b1b1b870fd90f030995 EBUILD scylla-bin-3.1_p263.ebuild 3576 BLAKE2B c518749676fe53d03aeb42ad7e2523af94bae6aac778f45f69831decde56222dafb8291b7bc7f78361c2003086005a0fd5e61b085f7040b5fea66bbf7e4fc583 SHA512 e2d5801bfa4e8e1231cabe3ef9832f5299ec06209aa077186d4a1022aa8c6bba493691dcc23ac7c81f3244a08b0a10464476a9a05a8c0b1b1b870fd90f030995 EBUILD scylla-bin-3.1_p999.ebuild 3528 BLAKE2B 434132bb9ce41486b9b6812e914104922a775542315138cbfae9f7a926de1139367ff3b57aa0f82cb227014c141ba7e5c1e90743d60881d1ec46aea3fb7d5f9a SHA512 68f42cac52b9f77c319585213eb50d520d6cb934402338a5c693dfd42dcfb33a212b99f39c92127b8b67098cc0a2ca78acd44187b59a9b60d99d6ede859eb2de EBUILD scylla-bin-3.2_p202002221144.ebuild 3149 BLAKE2B 31aa2fbb0c57e2481813beb96c384d863014da40b68da3f2d2dba10e980c0c5e1b03d10afd24d7f06a4b41a98eec39528fb31c2d76ffd8ae92fa2689822cb528 SHA512 87468eb7519857586c2948eb7555a427e4a790d8072f9975566f46eff9726edf1d31b2d4f69c7e601022ffaba40939a8ca2a64080471053cbcb03061aa6c1467 EBUILD scylla-bin-3.2_p202003162053.ebuild 3149 BLAKE2B 31aa2fbb0c57e2481813beb96c384d863014da40b68da3f2d2dba10e980c0c5e1b03d10afd24d7f06a4b41a98eec39528fb31c2d76ffd8ae92fa2689822cb528 SHA512 87468eb7519857586c2948eb7555a427e4a790d8072f9975566f46eff9726edf1d31b2d4f69c7e601022ffaba40939a8ca2a64080471053cbcb03061aa6c1467 +EBUILD scylla-bin-3.2_p202004222203.ebuild 3149 BLAKE2B 31aa2fbb0c57e2481813beb96c384d863014da40b68da3f2d2dba10e980c0c5e1b03d10afd24d7f06a4b41a98eec39528fb31c2d76ffd8ae92fa2689822cb528 SHA512 87468eb7519857586c2948eb7555a427e4a790d8072f9975566f46eff9726edf1d31b2d4f69c7e601022ffaba40939a8ca2a64080471053cbcb03061aa6c1467 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl6VutRfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl6jNh9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy+hWAgAmjLnsYMTS56RN08O76cTmqzxiJgynBb4psQKXMVMpqP+a/k5phfyvs25 -5pag34C8YGhBRgH8oUlnITTPFwVdvmtHtSNiQz9k834aw15XXWSSV3AfuEHA9IN+ -+5I9od+KYizzeL6ekmT5JpEqAB82xVLCKSEtO63MrIvWhLGSWcJSqgOFeqjKR75c -wiTKLCCu5qp1p/Q2FHlV/WNf6piMhx0Vaf74sEUe0qvZcf0/mGoMyyWgaYvvwRMU -e5v6FsHnXnr+z2IFNX5H3ql/nBrMLv54acmqwrQe6vdVPOn5amWlRCfCedFDRWrS -tqarjG2deskBrmF8mm87Ux83PDH9AQ== -=y0py +dy+e+Af9GiSLj0OrpOuoop+nMIc4HWuGa+rT0wOYRWRQcMl/3duYqBtlaD+8YPu2 +eFvfgp4fxd4dqT/k4qTPIuyOBS+Q6Mc44R1p39bmCYfGmXUdB7hhdRWZa4aFc2qp +OVphbJSZC4zJWhhwd0NXqrfIy+C+3h/7yQYe5/L/fDjCuU0e/SfsLsYpIQVfjCq+ +nuA9YAmTnggi1xVdOX6ekn4E94U3yup7S/ZJ5Kn7huveNVbbMhLS31WyqYWypSNM +Ni+HwrArs9S5lc+rxO21v6mg+Iuq168DkVWxAOilTd6akgaOnR0eeD3e9W5sWTru +hBtIcPbLVQ0/JWuCiX5scT1ajs4cnw== +=wXkd -----END PGP SIGNATURE----- diff --git a/dev-db/scylla-bin/scylla-bin-3.2_p202004222203.ebuild b/dev-db/scylla-bin/scylla-bin-3.2_p202004222203.ebuild new file mode 100644 index 0000000..4968dde --- /dev/null +++ b/dev-db/scylla-bin/scylla-bin-3.2_p202004222203.ebuild @@ -0,0 +1,113 @@ +# 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 + >=app-admin/scylla-tools-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 +} + +install_package() { + pushd package + + bash install.sh --root "${D}" --sysconfdir /etc/default || 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 + bash install.sh --root "${D}" || die + 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