diff options
author | 2018-04-11 21:05:52 +0200 | |
---|---|---|
committer | 2018-04-11 22:30:40 +0200 | |
commit | 769f91df3760fbcc4031c08852306687c52ab101 (patch) | |
tree | 29a80b8822b42673a3b15f943ab9c96a8884521c | |
parent | scylla: version bump to 2.1.1 (diff) | |
download | ultrabug-769f91df3760fbcc4031c08852306687c52ab101.tar.gz ultrabug-769f91df3760fbcc4031c08852306687c52ab101.tar.bz2 ultrabug-769f91df3760fbcc4031c08852306687c52ab101.zip |
app-admin/scylla-manager: new ebuild for enterprise edition
-rw-r--r-- | app-admin/scylla-manager/Manifest | 7 | ||||
-rw-r--r-- | app-admin/scylla-manager/files/scylla-manager.confd | 3 | ||||
-rw-r--r-- | app-admin/scylla-manager/files/scylla-manager.initd | 28 | ||||
-rw-r--r-- | app-admin/scylla-manager/metadata.xml | 8 | ||||
-rw-r--r-- | app-admin/scylla-manager/scylla-manager-9999.ebuild | 57 | ||||
-rw-r--r-- | licenses/SCYLLADB-PROPRIETARY | 180 |
6 files changed, 283 insertions, 0 deletions
diff --git a/app-admin/scylla-manager/Manifest b/app-admin/scylla-manager/Manifest new file mode 100644 index 0000000..d7f6824 --- /dev/null +++ b/app-admin/scylla-manager/Manifest @@ -0,0 +1,7 @@ +AUX scylla-manager.confd 41 BLAKE2B 2a08457a1b67bdf625af12c38b1db8a33d648a7369f6a1e238a42037c77a10cb20619225ffda16c9cbf1737181d5078e5aafcca905b2a76d1891470fca5aca33 SHA512 f48bd6076789dcfe8db04cefbe14a1810e2383ab533a7600faafdfa96fbc0470f779decb58993052f449117db61806a513d08916e2bb071e16c4a0c70dedfa9b +AUX scylla-manager.initd 750 BLAKE2B 4359c5fea19aa785408ddf29fbf746e0ebf4e3bd0e39eabcf69312676a9032a759f9d43651e6e9e5876e7d09b34694f24355dbe6910ae3c41f92721bbe1585ba SHA512 8ceb1c445d1c68b3d627e09c271760220f91a44dc163320cd102201fd89e4ce4ffa61feb7dcb9fba80181ac6dabba87187ffb6c3fb6c358052e8a8e707c16c44 +DIST scylla-manager-1.0.0-0.20180119.49f4a33.x86_64.rpm 7740 BLAKE2B 88f88f6da3b195b8d245c13f887ffbc124d530aee12475258eaef89bbd2c367438e90892e878536a408f89d2c0050fd106a71e804ee8c4b89ed24c8244f7b951 SHA512 f000bdb94b219a83de1351f420b1f5a3cd5af5668dbec26d9e9565c3af3e7451ddcd28ec4db3f37bfd9375f371e98817bb4f947ff46a19b5f7bb9208e581062a +DIST scylla-manager-client-1.0.0-0.20180119.49f4a33.x86_64.rpm 2429108 BLAKE2B 1a6a20656a9ac0eb11ca9228906c668357d65ea451cf66b48b97af2180b99de65e92eefc488f78b5b4919bdfd0ef05d76c5a838da2e11374e6c38d4b7f7562ac SHA512 95217f84f58448a6ab89adbed8064ae0f28b0925896738fa03b594216dd48f9523eab1ec44c8be4e8a8d734ac28e71ec4f396b3789c21f8c34e8480dd2bbb54f +DIST scylla-manager-server-1.0.0-0.20180119.49f4a33.x86_64.rpm 3812808 BLAKE2B 8cd8c6a5569b9606aa898edda59c87ff0ee289cf46d087281456b60fb35ed5c0ca5a017684a789279149846ffc437882d464f5d43bc499e9b03ab9ca94c6ef73 SHA512 03045750e39539eeb789b7e3ffcae5758703f29ff7ad2f902e9a2428a91e14fa8500bca1182d407ab990526f310927293ad2b69dbfdb6d4805d01f5732cb2279 +EBUILD scylla-manager-9999.ebuild 1108 BLAKE2B fed0f8d1ebe98e4b2a74ee7bcbffff28f008788e80883140d491fb7c2d3adc7cc6e10a4acc896cdba3c8faf8a8877e8f5417e0375dad91629b72e5285805a74b SHA512 ee5930006b0fc0a245be98ef64aa5a7bd0ad8023be254b61784cba103b01c76890cfd3dc978c079b09d4df9420b2c3306b5ef2ecb67fcd12b21d31ad0d4cfc40 +MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c diff --git a/app-admin/scylla-manager/files/scylla-manager.confd b/app-admin/scylla-manager/files/scylla-manager.confd new file mode 100644 index 0000000..70f8728 --- /dev/null +++ b/app-admin/scylla-manager/files/scylla-manager.confd @@ -0,0 +1,3 @@ +# scylla-manager + +rc_need="scylla-server"
\ No newline at end of file diff --git a/app-admin/scylla-manager/files/scylla-manager.initd b/app-admin/scylla-manager/files/scylla-manager.initd new file mode 100644 index 0000000..1329c06 --- /dev/null +++ b/app-admin/scylla-manager/files/scylla-manager.initd @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +config_file=${config_file:-/etc/scylla-manager/scylla-manager.yaml} +run_dir=${run_dir:-/run/scylla-manager} + +command="/usr/bin/scylla-manager" +command_args="" +command_background="true" +command_progress="true" +pidfile=${run_dir}/${SVCNAME}.pid +user=${USER:-scylla-manager} +group=${GROUP:-scylla-manager} +retry="SIGTERM/120" +start_stop_daemon_args="--user ${user} --group ${group}" + +depend() { + use net localmount logger +} + +start_pre() { + checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}" + if [ ! -f ${config_file} ]; then + eerror "Missing configuration file ${config_file}" + return 1 + fi +} diff --git a/app-admin/scylla-manager/metadata.xml b/app-admin/scylla-manager/metadata.xml new file mode 100644 index 0000000..f4e95c6 --- /dev/null +++ b/app-admin/scylla-manager/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ultrabug@gentoo.org</email> + <name>Ultrabug</name> + </maintainer> +</pkgmetadata> diff --git a/app-admin/scylla-manager/scylla-manager-9999.ebuild b/app-admin/scylla-manager/scylla-manager-9999.ebuild new file mode 100644 index 0000000..0898e9c --- /dev/null +++ b/app-admin/scylla-manager/scylla-manager-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +MY_V="1.0.0-0.20180119.49f4a33" + +DESCRIPTION="Scylla Manager" +HOMEPAGE="http://docs.scylladb.com/operating-scylla/manager/" +SRC_URI="${PN}-${MY_V}.x86_64.rpm ${PN}-client-${MY_V}.x86_64.rpm ${PN}-server-${MY_V}.x86_64.rpm" + +LICENSE="SCYLLADB-PROPRIETARY" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + app-arch/rpm2targz + dev-db/scylla +" +DEPEND="${RDEPEND}" + +RESTRICT="fetch" +S=${WORKDIR} + +pkg_setup() { + enewgroup scylla-manager + enewuser scylla-manager -1 -1 /var/lib/${PN} scylla-manager +} + +src_unpack() { + for rpm in ${A}; do + rpmunpack "${DISTDIR}/${rpm}" || die + done +} + +src_install() { + default + + keepdir /var/lib/scylla-manager + fowners scylla-manager:scylla-manager "/var/lib/${PN}" + + insinto /etc + doins -r */etc/* + + insinto /usr + doins -r */usr/* + + fperms +x /usr/bin/scylla-manager + fperms +x /usr/bin/sctool + fperms +x /usr/lib/scylla-manager/scyllamgr_setup + + newinitd "${FILESDIR}/scylla-manager.initd" ${PN} + newconfd "${FILESDIR}/scylla-manager.confd" ${PN} +} diff --git a/licenses/SCYLLADB-PROPRIETARY b/licenses/SCYLLADB-PROPRIETARY new file mode 100644 index 0000000..f3f6774 --- /dev/null +++ b/licenses/SCYLLADB-PROPRIETARY @@ -0,0 +1,180 @@ +ScyllaDB Proprietary +Software License Agreement v. 1.0 +The ScyllaDB database (the “Software”) is licensed to you under the following terms and conditions: +LICENSES +Subject to and conditioned upon compliance with the terms and conditions of this Agreement, including +the limitations, conditions, restrictions and obligations set forth below: +Evaluation License. +For the Software designated as provided under an Evaluation License, ScyllaDB Inc. +( +“ScyllaDB” +) grants you a non-exclusive, non-transferable, non-sublicensable, revocable, limited right +to install and use the Software for 90 days period commencing as of the Effective Date, subject to the +parameters contained in the applicable purchase order, for the sole purpose of evaluating the Software +and determining whether you wish to purchase an Enterprise License (the “ +Evaluation License +”). +Development License. + For the Software designated as provided under a Development License, ScyllaDB +grants you a non-exclusive, non-transferable, non-sublicensable, revocable, limited right to install and use +the Software, subject to the parameters contained in the applicable purchase order, for the sole purpose +of developing and testing the Software in order to determine its the compatibility to your internal systems +(the “ +Development License +”). For the avoidance of doubt, in case you wish to use the Software for any +purpose other than as permitted under this Development License, you must first contact ScyllaDB and +purchase an Enterprise License. +Enterprise License. + For the Software designated as provided under an Enterprise License, ScyllaDB grants +you a non-exclusive, non-transferable, non-sublicensable, revocable, limited right to install and use the +Software, subject to the parameters contained in the applicable purchase order (the “ +Enterprise License +”). +Use Restrictions. +Under any of the licenses granted herein, you shall not: (a) transfer the Software or any +portions of the Software to any other party except as expressly provided herein; (b) copy the Software or +any portion thereof, except that you may make one copy of the Software for backup purposes, in object +code form only, provided that the backup copy must include all copyright or other proprietary notices +contained on the original; (c) reverse engineer, disassemble, or decompile the Software in any form or +by any means; (d) modify or create derivative works of the Software; (e) incorporate the Software into +the structure, machinery or controls of any aircraft, other aerial device, military vehicle, hovercraft, +waterborne craft or any medical equipment; or (f) distribute, sell, sublicense or otherwise transfer or +provide access to the Software to any third party, including, without limitation, provision of database +management services through the Software. +PROPRIETARY RIGHTS +ScyllaDB retains ownership of all rights, interests and title in the Software and in the copies thereof and +Customer acknowledges that all rights, title and interest in and to the Software and any and all trademarks, +trade names, copyrights, patents, patentable inventions, and any and all other intellectual property rights +used or embodied in or in connection therewith, are and shall remain in the sole and exclusive ownership +of ScyllaDB, subject only to the rights and licenses expressly granted by ScyllaDB hereunder. Customer +shall make no claim of right to any Software to be supplied by ScyllaDB hereunder and acknowledges +that as between ScyllaDB and Customer, such Software is proprietary to ScyllaDB. +TAXES +All prices for the Software and any services provided in connection therewith as stated in applicable order +are exclusive of all federal, state and local excise, sales, use, value-added, occupational, levies, assessments, +import duties and like taxes which may be imposed by any governmental entity in connection with any +transaction contemplated by this Agreement and/or the purchase order (excluding any taxes assessed +against ScyllaDB’s net income). +CONFIDENTIALTIY +During the term of this Agreement and thereafter, the Parties (i) shall treat as confidential and proprietary +all information which is identified as confidential or proprietary, or which can be reasonably deemed to +be such, and which is disclosed by one Party to the other; (ii) shall not disclose such information to any +third party, except for such party’s employees and consultants which have a specific need to know such +information for the purpose of this Agreement and only if such employees or consultants executed a +confidentiality agreement protecting such information by terms no less stringent than those contained +in this Section. The foregoing shall not apply to any information that the Party receiving such information +can prove by reasonable written and dated records: (a) is already in the Party’s possession, prior to the +disclosure thereof, other than as a result of the breach of a legal or contractual obligation on the part of +the receiving Party; (b) was lawfully received by such Party from a third party having rights to disclose, +and under no confidentiality obligations known to such Party with respect to such information; (c) is +or becomes a part of the public knowledge through no wrongful act of either Party; (d) is approved for +release in writing by the Party to whom the confidential or proprietary information belongs; or (e) is or was +developed independently by the receiving Party without reliance on, reference to or use of any information +of the other Party, and without any breach of this Agreement, as evidenced by contemporaneous written +documents. +DISCLAIMER OF WARRANTIES +YOU AGREE THAT SCYLLADB HAS MADE NO EXPRESS WARRANTIES TO YOU REGARDING +THE SOFTWARE AND THAT THE SOFTWARE IS BEING PROVIDED TO YOU “AS IS” WITHOUT +WARRANTY OF ANY KIND. SCYLLADB DISCLAIMS ALL WARRANTIES WITH REGARD +TO THE SOFTWARE; EXPRESS OR IMPLIED; INCLUDING; WITHOUT LIMITATION; ANY +IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE; MERCHANTABILITY; +MERCHANTABLE QUALITY OR NONINFRINGEMENT OF THIRD PARTY RIGHTS. +LIMITATION OF LIABILITY +TO THE EXTENT PERMISSIBLE UNDER APPLICABLE LAW, IN NO EVENT WILL SCYLLADB +BE LIABLE TO YOU FOR ANY LOSS OF USE; INTERRUPTION OF BUSINESS; OR ANY +DIRECT; INDIRECT; SPECIAL; INCIDENTAL; OR CONSEQUENTIAL DAMAGES OF ANY +KIND (INCLUDING LOST PROFITS) REGARDLESS OF THE FORM OF ACTION WHETHER +IN CONTRACT; TORT (INCLUDING NEGLIGENCE); STRICT PRODUCT LIABILITY OR +OTHERWISE; EVEN IF SCYLLADB HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. +In no event shall the total cumulative liability of ScyllaDB, for all claims arising out of or relating to this +Agreement, exceed the total amounts paid and due by Customer to ScyllaDB during the period of the +12 months preceding the date of the claim. The foregoing provision limiting the liability of ScyllaDB shall +apply regardless of the form or cause of action, whether in contract or tort, or a breach of a fundamental +term or condition. +INTELLECTUAL PROPERTY INFRINGEMENT +Indemnity Obligation and Conditions. +In the event that a legal action is brought against Customer to +the extent that it is based on a claim that the Software infringes a U.S. patent or copyright of a third party, +ScyllaDB shall provide Customer with legal defense at its own expense and pay for costs and damages +awarded against Customer in such action or agreed to under a settlement, provided that: (i) Customer +promptly provides ScyllaDB with a written notice of such legal action; (ii) Customer grants ScyllaDB +complete authority over the legal defense and settlement negotiations; (iii) Customer fully cooperates with +ScyllaDB with respect to such legal action; and (iv) no settlement with respect to such legal action shall be +made without ScyllaDB’s prior written approval. +Notwithstanding the above, ScyllaDB shall have no liability to defend and pay for any action pertaining to +an infringement of intellectual property rights to the extent that the action: (i) is based on a modification +of the Software modified not by ScyllaDB; (ii) results from Customer’s failure to use an updated version +of the Software; (iii) is based on a combination or use of the Software with any software, program or +device, including without limitation software licensed under the terms of applicable open source licenses, +not provided or approved by ScyllaDB; (iv) results from Customer’s use of the Software following the +termination of the Agreement. +THIS SECTION STATES SCYLLADB’S SOLE AND EXCLUSIVE LIABILITY, AND CUSTOMER’S +SOLE AND EXCLUSIVE REMEDY, WITH RESPECT TO AN INFRINGEMENT OF INTELLECTUAL +PROPERTY RIGHTS OF ANY KIND. +EXPORT CONTROL +As required by the laws of the United States and other countries, you represent and warrant that you: +(a) understand that the Software may be subject to export controls under the U.S. Commerce +Department’s Export Administration Regulations (“ +EAR +”); (b) are not located in a prohibited destination +country under the EAR or U.S. sanctions regulations; (c) will not export, re-export, or transfer the +Software to any prohibited destination or persons or entities on the U.S. Bureau of Industry and Security +Denied Parties List or Entity List, or the U.S. Office of Foreign Assets Control list of Specially Designated +Nationals and Blocked Persons, or any similar lists maintained by other countries, without the necessary +export license(s) or authorization(s); (d) will not use or transfer the Software for use in connection with +any nuclear, chemical or biological weapons, missile technology, or military end-uses where prohibited by +an applicable arms embargo, unless authorized by the relevant government agency by regulation or specific +license; (e) understand and agree that if you are in the United States and export or transfers the Software to +United States Headquarters +1900 Embarcadero Rd +Palo Alto, CA 94303 U.S.A. +Phone: +1 (650) 332-9582 +Email: info@scylladb.com +Israel Headquarters +11 Galgalei Haplada +Herzelia, Israel +scylladb.com +eligible end users, you will, to the extent required by EAR Section 740.17(e), submit semi-annual reports +to the Commerce Department’s Bureau of Industry and Security, which include the name and address +(including country) of each transferee; and (f) understand that countries including the United States +may restrict the import, use, or export of encryption products (which may include the Software and the +components) and agree that you shall be solely responsible for compliance with any such import, use, +or export restrictions. +TERMINATION OF THIS AGREEMENT +You may terminate this Agreement by destroying all copies of the Software. Your right to use the Software +shall end immediately if you fail to comply with any of the terms set forth in this Agreement, in which +case you shall destroy all copies of the Software. This Agreement shall immediately terminate upon the +termination or expiration of the Support Services Agreement between Customer and ScyllaDB. +GENERAL PROVISIONS +Assignment. + The Customer may not assign, transfer, or otherwise dispose of this Agreement or any of its +rights, interest, or obligations hereunder without the prior written consent of ScyllaDB. ScyllaDB may +transfer or assign this agreement to: (a) an affiliate of the Company; or (b) an acquirer of all or substantially +all of the shares or assets of such party through change of control event. Any assignment of this Agreement +in violation of this provision shall be null and void. +Notices. +All notices and demands hereunder shall be in writing and shall be served by at least one of the +following: (1) personal service; (2) registered or certified mail at the address of the receiving party set forth +in this Agreement (or at such different address as may be designated by such Party by written notice to the +other Party); (3) electronic mail with electronic confirmation and followed immediately by (1) and/or (2). +Governing Law and Jurisdiction. + This Agreement shall be governed and construed in accordance with the +laws of Israel, without giving effect to its conflicts of laws provisions, and the Courts situated in Tel Aviv, +Israel shall have sole and exclusive jurisdiction over the Parties and any conflict and/or dispute arising out +of, or in connection to, this Agreement. +Integration. + This Agreement sets forth the entire agreement between the parties on the subject hereof +and supersedes any and all previously or currently existing oral or written agreements, understandings, +memoranda, letters of intent, or representations on the subject matter hereof, as of the Effective Date. This +Agreement may be amended only by a writing signed by the duly empowered representatives of the Parties. +Severance. + If any one or more of the terms of this Agreement shall for any reason be held to be invalid +or unenforceable, such term shall be construed in a manner to enable it to be enforced to the extent +compatible with applicable law. Any determination of the invalidity or unenforceability of any provision +of the Agreement shall not affect the remaining provisions hereof unless the business purpose of this +Agreement is substantially frustrated thereby. +Headings. + The titles and headings of the various sections and paragraphs in this Agreement are intended +solely for reference and are not intended for any other purpose whatsoever or to explain, modify, or place +any construction on any of the provisions of this Agreement. |