diff options
author | Ultrabug <ultrabug@gentoo.org> | 2020-03-24 17:19:01 +0100 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2020-03-24 17:19:01 +0100 |
commit | f3e4eb10166eb8e1b5f38b01984d3d13360870f4 (patch) | |
tree | b173cee832a8a3ea49da4170a09a4c77a778bd61 /dev-db/scylla-bin | |
parent | app-admin/scylla-jmx: version bump (diff) | |
download | ultrabug-f3e4eb10166eb8e1b5f38b01984d3d13360870f4.tar.gz ultrabug-f3e4eb10166eb8e1b5f38b01984d3d13360870f4.tar.bz2 ultrabug-f3e4eb10166eb8e1b5f38b01984d3d13360870f4.zip |
dev-db/scylla-bin: version bump
Package-Manager: Portage-2.3.89, Repoman-2.3.20
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/Manifest | 19 | ||||
-rw-r--r-- | dev-db/scylla-bin/scylla-bin-3.1_p263.ebuild | 123 |
2 files changed, 134 insertions, 8 deletions
diff --git a/dev-db/scylla-bin/Manifest b/dev-db/scylla-bin/Manifest index 4ad3c80..9cbc16d 100644 --- a/dev-db/scylla-bin/Manifest +++ b/dev-db/scylla-bin/Manifest @@ -9,25 +9,28 @@ AUX scylla-server.initd 1113 BLAKE2B e8cfc55773c66ab14d6f9eb98df03b763fcf63bb419 AUX scylla.sudoers 162 BLAKE2B 9aa0dce391da1f420a070d73d061452eeba60ad268f13a5bb8c0525d714d27dfa438efa9c6871c916b82ebf56f34c507826315de8b1fadc3d0eb5feae663cbcc SHA512 aabdeb3854eaad4b1cf9037a998cf94b8f55b2011e8f81a1778095b71806d89e217f2025e772c636569f833f7df45108e2e30c2c1e70fdb59acf37e6cdf81485 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.1_p263-package.tar.gz 1112406098 BLAKE2B cf7c375d42935ae70a9bf5d636e0fa758a783d1685ecbbf9077f0b8426955c81e37a2bc2c462b46545a5a9d86d2b5e2112a1abddd1d1ddf596d35c343d1572bf SHA512 947a531b21ad0f0b2ed89c4f42d8b8b71bd0330acb3791d433d58c338dd20699a31cdbbd0ec3133da0f9b4fb4e14be04864d47f4a7643aa4cff65df8b7aeddb5 +DIST scylla-bin-3.1_p263-python3.tar.gz 29325635 BLAKE2B 6ed44587e1693122034c93064ce9c1ec7f85c0cb4c4cb26bf6cad41e5bb0fc8d17b9bb68455f4d1681be928f0c19d4e36da444648cb2a7ec667ffe5e9371ed76 SHA512 1a9a17ed33442b8635dbca3ccced66a91f43389e663ce025c0e4a5d146bccaca9e941936eabbe984b875f75dc6b98fcc2f64eaae236b75d617e91da2e8b637d9 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 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 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.2_p202002221144.ebuild 3149 BLAKE2B 31aa2fbb0c57e2481813beb96c384d863014da40b68da3f2d2dba10e980c0c5e1b03d10afd24d7f06a4b41a98eec39528fb31c2d76ffd8ae92fa2689822cb528 SHA512 87468eb7519857586c2948eb7555a427e4a790d8072f9975566f46eff9726edf1d31b2d4f69c7e601022ffaba40939a8ca2a64080471053cbcb03061aa6c1467 EBUILD scylla-bin-3.2_p202003162053.ebuild 3149 BLAKE2B 31aa2fbb0c57e2481813beb96c384d863014da40b68da3f2d2dba10e980c0c5e1b03d10afd24d7f06a4b41a98eec39528fb31c2d76ffd8ae92fa2689822cb528 SHA512 87468eb7519857586c2948eb7555a427e4a790d8072f9975566f46eff9726edf1d31b2d4f69c7e601022ffaba40939a8ca2a64080471053cbcb03061aa6c1467 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl5zUVNfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl56MvJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy+w2QgAx0pSTeGQDRXJ3LeKUP8Hg7BISkmJQy6lsmF78l9ccidzOm9Pjk+NEAbr -hyAmIdwJ52Md0YdfXt/bkYi9lB6HJkaOLuh95EJMx1BBQnQhuQF7ZvrU+GXEUiPw -OggwRbiF5Dgtzo50cXaNEoPa1KtLHMnszYnQzIsUPYDzLpDvRjjh/rQpmyw4k+Nm -s2/1oV1ICNtFxJ6P0slP4DpxfRl74xV2A2WpUYguQgUAKbxMWGYKVEEQveTs+DJ4 -Hj5nrRzzSzaCWwMsF2LlICFZ8HZal7o0K0N0EBxxFAuqOzZSmtmrzcicWOcrzvax -+cBkvQLAol4VcyMy6MuPFJVIXNPdOQ== -=i1dW +dy8tvgf/Tb5cF090LDkHaWLFjxAxaSHqzRxxNwKgCYZf9oWF/o4tms9D5wG0q0cp +lwNvLI8EwvnfKAww58gCxQgqviRq7SEpsH9q8t42gSz95h0WLeS0B46D5G1GUw1W +rYmeGuh2suVccfd/SmJ68npSO//tEJr0wDgHtM77G7SBWhU9cTK408jztoMIywoQ +HlVUlruneFW1b8hSa2TiKgdJVsnRM4MA1ZZ/HZWPsQIeHhsuwNkTMeTtj03se0pk +UqEFzC8SKbWP83ZHAo+xInsX+6Li/oUURf24JRfCx67hO2mM+mExyyfx8pLsTbCB +KHj19q2I2+oDqkNTV+OPvyvm8+8NcQ== +=C1FY -----END PGP SIGNATURE----- diff --git a/dev-db/scylla-bin/scylla-bin-3.1_p263.ebuild b/dev-db/scylla-bin/scylla-bin-3.1_p263.ebuild new file mode 100644 index 0000000..20cb906 --- /dev/null +++ b/dev-db/scylla-bin/scylla-bin-3.1_p263.ebuild @@ -0,0 +1,123 @@ +# 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.1 + >=app-admin/scylla-tools-3.1 +" +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 + find package/dist -type f -exec sed -e 's/yaml.load(/yaml.safe_load(/g' -i {} \+ || 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 +} |