diff options
author | Ultrabug <ultrabug@gentoo.org> | 2019-12-19 12:22:07 +0100 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2019-12-19 12:22:07 +0100 |
commit | 851ddb33a5212f4a1936481ea7162777dbdd397b (patch) | |
tree | 106dceee644d2770e8739b8323f424e3ed3b8a68 /dev-db/scylla | |
parent | app-admin/scylla-jmx: version bump (diff) | |
download | ultrabug-851ddb33a5212f4a1936481ea7162777dbdd397b.tar.gz ultrabug-851ddb33a5212f4a1936481ea7162777dbdd397b.tar.bz2 ultrabug-851ddb33a5212f4a1936481ea7162777dbdd397b.zip |
dev-db/scylla: version bump, drop old
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'dev-db/scylla')
-rw-r--r-- | dev-db/scylla/Manifest | 45 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.0.10.ebuild | 300 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.0.6.ebuild | 296 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.0.9.ebuild | 300 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.1.0.ebuild | 2 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.1.1-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.1.1-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.1.1.ebuild | 2 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.1.2-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.1.2.ebuild | 2 | ||||
-rw-r--r-- | dev-db/scylla/scylla-3.2_rc3.ebuild (renamed from dev-db/scylla/scylla-3.0.8.ebuild) | 113 |
11 files changed, 53 insertions, 1013 deletions
diff --git a/dev-db/scylla/Manifest b/dev-db/scylla/Manifest index cf489ed..0fa87d1 100644 --- a/dev-db/scylla/Manifest +++ b/dev-db/scylla/Manifest @@ -13,41 +13,26 @@ AUX scylla-server.confd 396 BLAKE2B dc522b308985e51c24449a333d793eaa777a74b8b559 AUX scylla-server.initd 1020 BLAKE2B 63ca86a8e1bf9690c2e5ad33d29d4383f1c7ffd4b120c990d262517b0339127df0d95a87ab64d97bfb1cdf2bfe023df52ab24ac9e586aaa6b48108c83ce40cbd SHA512 c07f2b60926c44462fe2e16774bcd75966fb4e8b49311c86f7559d3563b4821dc5d5f43518addddc00c9d4450a8672023af71a76657f3f4fdf1f3985c03f4ad9 AUX scylla.sudoers 162 BLAKE2B 9aa0dce391da1f420a070d73d061452eeba60ad268f13a5bb8c0525d714d27dfa438efa9c6871c916b82ebf56f34c507826315de8b1fadc3d0eb5feae663cbcc SHA512 aabdeb3854eaad4b1cf9037a998cf94b8f55b2011e8f81a1778095b71806d89e217f2025e772c636569f833f7df45108e2e30c2c1e70fdb59acf37e6cdf81485 AUX v1-0001-repair-Add-a-timer-for-repair-reader.patch 930 BLAKE2B f878c83a33fc56faa1735157266d2392987c5b9f93cb609b57b9554918fe48a35248d56a52d8e2cfd28b24c47a8ee7020711beee1b8b3bbcf0d549467beee00e SHA512 c4b9d725957ad847817ba2ea0ccd416cb79dddc06980554506903a965da35af0774ffd531ce69f3013e4904e2b6e6b1b66a12e073e19486b8be11b3e93a4502c -DIST c-ares-fd6124c74da0801f23f9d324559d8b66fb83f533.tar.gz 1644001 BLAKE2B ee3f919dbb7de3f489a9027cf89b8db1dd36d9d5068e80f6e3851366c7a6fa532c67cf8ebf0d15e01b26a8ec5bb4e49e7844ec46b605f997fac1e961dcc436f1 SHA512 52b929e4d2615338d8ee4ce7c32f006f18e54ef2db9fbe2534c4e99cd3684d86661a6674d2659acb714592f439fac9c4f0ae6337d9d68c1ec3463d4d16572310 -DIST fmt-f61e71ccb9ab253f6d76096b2d958caf38fcccaa.tar.gz 616708 BLAKE2B e71c4ff6d494490366e490307b83fb0619b29228e06650d3abb0a97797009cd6205c23af777a348622eb4c4a08203a0e41c5475ab95c437d0f0c382967e2491f SHA512 d234a58af428e238e559ceec1599ff449fbfbe4ecc212ed00c82ef3f057a3351a9eb59906d3b6f7efeec76188645a49376507d7a78dd68d61806cd63d0fbb3a0 -DIST libdeflate-e7e54eab42d7fd3c684cfe8278084fc354a2455a.tar.gz 123934 BLAKE2B 430eba5f7f6b751d01964198d93ca3683c0131f41964b871c3c2872932f76f35d88dce4df1ac80b03f5719d618d0965097831fe8f12cb0bf0d8233129aad070b SHA512 7f63b71a2e29e6c5cbdb6d18c75122f2d54cc52e09cbce6694db9f76812c03757d1222c219bbd8a10a7d42ea2086d6641505b3385016345b2cb9b034848de1c7 -DIST scylla-3.0.10.tar.gz 5835224 BLAKE2B 185d70a8e1e4a6621d5175ff0af2c7ed4f64d02ada8e9fc0910bef9151675ccfedd5c057e467190207bc1d676ad7238ec58454b3d69a1e32d3b031880ab40a3b SHA512 97c0ce3a0cdb9e1cb57743b7c72f719df4e1e69b82fea3cbab71336871be11ef8cd46802075dea68f278634bc35cd4d10b8b1979bf682b9d1b209c3bd7c81f88 -DIST scylla-3.0.6.tar.gz 5821068 BLAKE2B 3f60f6332f721f80f8fbdf6284971e5d8569a1eba9d404f2741dedc03b6abcd40aea8e1605574f6be5edbaac4938622fd8758c0231e90c10d02b459bf2769018 SHA512 d5afa946bd81d5ce17e1d7a3474461a53a94ba665bd82e9774707a153ee584a685ff552d1835cfb1a5cf2558a55d5ded184b4f21af7e95e6ab5161d9fbf3498e -DIST scylla-3.0.8.tar.gz 5826407 BLAKE2B 59bf7f9d1a486168588c4df1171d472f79354dc0883261c5578f3a29b68d2fd690445e3aad80c9e7c6387a155fca1eb4848f3732da165b9bad66ad490a5efdd3 SHA512 75f430a335656915ca678ade507f864a9e9037ff648ad0aa62ec2bea2775ee923ac7d5f499be44ee0d5f071cfe87172ea60321a1f494a1ebede99e8dfe48ee6d -DIST scylla-3.0.9.tar.gz 5826993 BLAKE2B 88309df7b44d66715a51ceae05b255d6275b3da8b708cca5024f04f6c193f186138252938b8e0acbf5795936800ffe730b67caa9b5605cb23185d9ca244ae3a2 SHA512 f38b077cbcf5c7782bbaf867c16b98386ff43c4d232e1afe9a77b9dab4b0f0489352373280918fbbaae5e23922c56165ccf5994842c446ffda8e8c1ccfaa0249 -DIST scylla-swagger-ui-1b212bbe713905aac22af1edb836f5cf8cc39cc2.tar.gz 1372033 BLAKE2B 5f358f44051a2fa9a10d83fce9cab9e57b56505c4270f089a4d12aaa4e9c45a205665b342a0abb5cf314a9fd24b4186f3a176c58328cc627edc73cc854a30079 SHA512 c726a4dac73d3e9d16624727f4f0703688b7205783c627dd7b88b688b165c9055a1884cf7e9987d8c235d3fa470578852a951e34819431aec12059988394da99 -DIST seastar-16641efb15d7832f5106f294008937923c432c34.tar.gz 849502 BLAKE2B 9af6957138d89a70dabc2cf2b8c96639c6870d9c09b206a2771af8efac8a60fc97fab34c474cd69c65b2deaa306de0f2dc52447348435e3fb078380bf24d3d8b SHA512 2b5fa62dcb3716a69170f2e90b69037f882c57a8b7d6697142b58b8abde676d2c5b580f13392ad8b30040eaceaa096e8d59aeae07f9bf3a2baa374840eacfd8a -DIST seastar-445b5126c2b1c632b95c03850e8d512a682968cc.tar.gz 849519 BLAKE2B 403d82b1186630a66db16ae3f759177fed4f799b7e22838026f8ac30f1f518591834d02c2f3ec2979761d0e4032860192913d67a00d6b944cd9c53f0cd29c30e SHA512 66102b7386ef46f032cf34d708a113b7cf9555f3cc2bfb8adeb009870bc425105b839ab00f89ba983f4bbd06ea50e3026dd7bf627321e6f172086e24d4ed9289 -DIST seastar-f541231a3011420e26fb33e71355415334dcb861.tar.gz 849465 BLAKE2B 0547de4c0e8212aa7b6fc36e6281abf8662b0a68125c9d43a6f14de6760f135cd37e6b8a59da4cb77b0f3d296ddfc981e108b41347d2f3c86b8787a17631261e SHA512 6e6415df73ef9fa509c8f3444298e5e9fb9ae8b9cc357289834658654cbca8d5a66db72454a089aecab7ee09cece6ce2cf94d0a391a934e96ed04cbb5c95b6b5 -DIST xxhash-744892b802dcf61a78a3f2f1311d542577c16d66.tar.gz 29205 BLAKE2B 594f09421030809ed456ba7af906adfbf1243f7ded4161e7777ec2ef2b9ab24c653923f784a2e00b22731be0378aea76263e39614941432cb0128d972e9ff488 SHA512 f94b1b19d1c232c2e59058514be34ee169f2f11722a088ab401a38dcd75ae693bb0fbe87180060207ebff29f7b3c2a4444db54e4f57c61cac0438c4db1f118f3 -EBUILD scylla-3.0.10.ebuild 9218 BLAKE2B b993e32bb1eefb017cfad93061be4b1bf752c233e87f5e7900f952aae364d90dd855aede3f02694d2e5f1575f307a70bf94b1ccfd38624c883cb0e1513a7f9c1 SHA512 a8fb977dae3d4471426ef083d5c20c0d5d002ea2b4faced92ba3ddb695b63525e710cf6723e5df344e481f09edaf95a4eed928525f84179a6158d2055028b039 -EBUILD scylla-3.0.6.ebuild 9030 BLAKE2B a8ac0f6fef3c5b096a8df627c2bd3cb25374214883e655618a2308e6a0652970c2c60d2b48fae42fffd3374189c96441d8cc0c4c7ee5359d500ffe2352058c28 SHA512 87b9fe1aabaedac861fd6868e65501f6e08b75450fa801ba760d0125666445b97cab10683dd07eab7b988d2520d471458ecb5cb867d8822f7ac6d1fe50cb8986 -EBUILD scylla-3.0.8.ebuild 9111 BLAKE2B 565f5d1b42257afbfdf12ec729b7950b77b0f8d7bffb07960c4412e74223966ec368057236ee8fa75c8aee1bdc6f6fa6d06acb4d57a34ffedc2c8670a4178149 SHA512 477be22fcf71b9ec149aeb5b61b5419b3dd0cdb5b28e1d6c094f1acdd6b3aaa1c34b9b0d85bbd13feb9fd2d1b64ba8d90a7dda00b8cb1804f61eec1bdc73fd33 -EBUILD scylla-3.0.9.ebuild 9218 BLAKE2B 0b2966a89c72872bebfd3dbe3bc6fea72257a40e269e812037f574491e5fa28f87b1838978251893e83cf207f6d19db63c4800783071a80d137f24cef6f72cde SHA512 1dbe1b9b4cc719c0241fd9f33f96dffbb2b3430963fc4b57e300059547d274dd3e6592db31bacc60cca783fbe862586c93efd58c8b3b6bbbb303864066d5be12 -EBUILD scylla-3.1.0.ebuild 7051 BLAKE2B 282b4221655c0156d3a39f7245c8b6023a1f4352f864e51c720fbd7059435814a184743d5785a24c5b956f8201815e2ab3f211d261270f9754dc1cfc1605050b SHA512 b386d7394456070de65876c49f9976eaa487dfdf4f949555569d678396e6f18a655081c447681bce226bb8f59a5f1ee60e5e2390464e3d0bd21fd38125f8e244 -EBUILD scylla-3.1.1-r1.ebuild 7571 BLAKE2B 999faabaf0a6d2b8de9f555c0170288a1add0ac69d05afd3ab2b1976deb6e560e3046edede9caefcf56f38cd9995aa0e40f184ba14e15cec35b1f3ccf47e3b7c SHA512 fb6442b55e8152ed6c99f7473dd3b5075521f46e23d3124bfa01a13d6d134df872273c9eae207d96d09a7056f2496867c74deca37090c762c1af026708e55394 -EBUILD scylla-3.1.1-r2.ebuild 7630 BLAKE2B 3593fb08d50353daae99dcabfca109a4abd06853bcdff91b7613faf37fab0bc538413957a0aca3015be86748ab9dc0b10defd62115704399b189715695fce4ba SHA512 b5c6b9263b292a2830ea209676ee2dfddaf44f7b22be61bbdaae7c1a776246bdea92e4780dc14e1df68428cd95a8a777eea41efc27c9203e44d4a7f73b354e5e -EBUILD scylla-3.1.1.ebuild 7505 BLAKE2B 1f3e068c6688c9f3a420102da25966a142dfd3be1f90d94c77c2d744274df4d0eaa82e4af1eeef53d7b6594d940f188263428befd018a4da9aa9ef0896f5799b SHA512 8769a7fd5f69038f958eddd38a70da8cdc76d606638422224394164be09b4b3c0f72c5aac807bcc199a3f56d05b1c3baf48d7dfd1523602b0aca00681fa8a0c4 -EBUILD scylla-3.1.2-r1.ebuild 7680 BLAKE2B e19a665cce5469d956f45e60aa5dbcedd9e7b25ff8d81a3877306b338befa5741f68cd9c805b39fded300560d5999a0d782e36a91f3adb6974388b88baf53f61 SHA512 f3c0ea58ace690d68bbc0646828183a93730ebbede14b7200391aa967f0249b9f8a55c8146b407b5834b4401bb12b192ddbb61c9115148997fc56792d5cedefc -EBUILD scylla-3.1.2.ebuild 7630 BLAKE2B 3593fb08d50353daae99dcabfca109a4abd06853bcdff91b7613faf37fab0bc538413957a0aca3015be86748ab9dc0b10defd62115704399b189715695fce4ba SHA512 b5c6b9263b292a2830ea209676ee2dfddaf44f7b22be61bbdaae7c1a776246bdea92e4780dc14e1df68428cd95a8a777eea41efc27c9203e44d4a7f73b354e5e +EBUILD scylla-3.1.0.ebuild 7043 BLAKE2B a89627def2677d69221b8cb73b8e281a6b836e414616fa7e539f549e7e2ac810c8012a15916ec58cec487d450a5fde7a5d7fe438e610afea49c9c7ce9c13e8c1 SHA512 6c0ddf5df3eb82b4dc428350e8da6314f030aa181f67fa1a6fd2c2a64babb54fc4ca260f1a26e9cc1c5d315e624678a08ed2286a90740640f143be94ec0a375a +EBUILD scylla-3.1.1-r1.ebuild 7563 BLAKE2B 1b955ad9dd0eb185fecd1f0240c66d14749ccb35789fe8ea7e6b9003a3598dc63f54285ad32205dc1a5496d0d16442ab5a987376b4a17c649ad4a4a729ba0742 SHA512 10042a7644f1dbb51147cc5f7de294023ecafa0c7b7de98322ac67be8daaf04c2bdfbd057cd11e3bcffe76edb4afcaf61695e719c53ff71eb74286de4872e85a +EBUILD scylla-3.1.1-r2.ebuild 7622 BLAKE2B 404ab3d8e42898a7379aa9872eb710aa183ca1a0788b69df2acca9fee2add0cff3e20a86496cd4151ebc8127e32678f08386e5bad9b7041cd8e18137bd77b0d2 SHA512 9514d12445fdbf9c7b9a26d9bd0b83decd9be3f4aa6f940943cd7761d5364c7d944a59ecfdcf4686580c25d3572e1b927b6422e19e764e4c348f4f6508ec1b91 +EBUILD scylla-3.1.1.ebuild 7497 BLAKE2B 9f9a71a22eecababea0ec5c4f156b50d2c858f3c764acaedb77eb159d0e4c6c9f8ce4c4efde856d04edce0a89d40759ed56bea62c7f693e44e489d3d69f8f6fa SHA512 b6fee615043cce8801f9d84d0599a6e6fb6ded7553b04b1b38bc7b560576ac918b20e542a8064d54ae9615bafa2fe7e854069bb749d0fd332c3c4584104a05a3 +EBUILD scylla-3.1.2-r1.ebuild 7672 BLAKE2B 7249eb175499b7aa9ac0a5df43ffb4a573eca25d5f1b23c79935bd444320d977d7c2b3953c4569a606ded4a15028dc09c8374d1a0df8ce6dd45471a23fd2c662 SHA512 0e5ebf4b64ce7f4496ab94c87a3f8c432f762909f35b03501a4c84e6f6a7f780c35b947ececf0fd8e32a0a13dd011b8b074a955994cb46342336c2edb0e348c5 +EBUILD scylla-3.1.2.ebuild 7622 BLAKE2B 404ab3d8e42898a7379aa9872eb710aa183ca1a0788b69df2acca9fee2add0cff3e20a86496cd4151ebc8127e32678f08386e5bad9b7041cd8e18137bd77b0d2 SHA512 9514d12445fdbf9c7b9a26d9bd0b83decd9be3f4aa6f940943cd7761d5364c7d944a59ecfdcf4686580c25d3572e1b927b6422e19e764e4c348f4f6508ec1b91 +EBUILD scylla-3.2_rc3.ebuild 7408 BLAKE2B 1578affa64081b92aa7b06e34a9ddd3c6ff2c03edbba8a527f72f6b2872ab1c1525bc3355e328795f33d42eacbb00ebb39bbb489fecce49823292281543cae24 SHA512 df29a07adb02571d876f922dd9da2562a2f38926a5ef804c9357f1b01c07564912ceeb398164f8900007d5e606f64d391b316b1e8b1e24ac0ce336f55578a2fc EBUILD scylla-9999.ebuild 6833 BLAKE2B c21b0db85ca5b2dbe90a7523b739fa6614d40fd0264d8cd5bf77f1c1b37b31f1f042c946b76d5c1e74907badf931c188f7f5112105089658ff6acfc80f440021 SHA512 e5237eddd44fa0f4f88a6aa4bd2d6015dc6c61597636e03957ea932cce240de05533e223aae0abb68d37d16c7734e64267f2b77aedb3913c24b6b73210629972 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl3vhTRfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl37XUNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy/N5Af+K3fbAwbVedEEMoAqr8Hyd02aWJ4IWADrl0tSFUH2pIIiCHIZQwXA8E8U -0iGkO7dWF8Ej4Cj/d+mbqFqMZ8+wr6y84RXR1dZ9Z+7acyzy/fDb2O0fyOVddFt4 -ELPY6KVYR9PPbh+WbkwYBlFJ+wmhH483SF4Y6mnsgnQnoMPwXR3ypuOxWC3yAbvF -CAtfKL0yugpKFbIiZ9GXKy3+XsHNKRqazsiaoxN6TzN7NJGXie+e6uS+rvtPg6SA -G4BHNuWF5iE5Hzc2QfEKfRZLG0k7WYc3uLkWzf4qLJkAknJWxmR50o2sy5bVf03W -p+SVoSWG69jVQSngmse+pWiIBw5M/A== -=p1ER +dy9nCAf/dtSvPqWinuaeRrbtZF110qOBTmtjd+8I7yx9GbcbLqhZFEgDorGk67Ul +zBiisMKUQyf9zf+ngaMU6gxm6jH4a5GUyMB6cXkefI6rzobGCHFPPaUBZm773VFX +GIEAItFO2zGmU3dp9NiXwyQvnGl0uwunVYaUunc0oGAo0O/M8tOyr3EKF3+OEnTe +dEOb1leGOoPaEk2rrJaR25YWeXuhlCCI+2ehILWIA4aQCWih1ASdA3U/5r9Xsaov +e+0OaS2D7lfXxDj3jUL0FCytB4TiXUxTvt+xYO5oeqSjBT0qjo6WF+U5suOuBYsY +9feyUoVHORpqjpytoObFu9suycy3gw== +=tTtN -----END PGP SIGNATURE----- diff --git a/dev-db/scylla/scylla-3.0.10.ebuild b/dev-db/scylla/scylla-3.0.10.ebuild deleted file mode 100644 index 7b1d772..0000000 --- a/dev-db/scylla/scylla-3.0.10.ebuild +++ /dev/null @@ -1,300 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == "9999" ]] ; then - #EGIT_COMMIT="scylla-" - EGIT_REPO_URI="https://github.com/scylladb/scylla.git" - inherit git-r3 -else - MY_PV="${PV/_rc/.rc}" - MY_P="${PN}-${MY_PV}" - C_ARES_COMMIT="fd6124c74da0801f23f9d324559d8b66fb83f533" - FMT_COMMIT="f61e71ccb9ab253f6d76096b2d958caf38fcccaa" - LIBDEFLATE_COMMIT="e7e54eab42d7fd3c684cfe8278084fc354a2455a" - SEASTAR_COMMIT="445b5126c2b1c632b95c03850e8d512a682968cc" - SWAGGER_COMMIT="1b212bbe713905aac22af1edb836f5cf8cc39cc2" - XXHASH_COMMIT="744892b802dcf61a78a3f2f1311d542577c16d66" - SRC_URI=" - https://github.com/scylladb/${PN}/archive/scylla-${MY_PV}.tar.gz -> ${MY_P}.tar.gz - https://github.com/scylladb/scylla-seastar/archive/${SEASTAR_COMMIT}.tar.gz -> seastar-${SEASTAR_COMMIT}.tar.gz - https://github.com/scylladb/scylla-swagger-ui/archive/${SWAGGER_COMMIT}.tar.gz -> scylla-swagger-ui-${SWAGGER_COMMIT}.tar.gz - https://github.com/scylladb/fmt/archive/${FMT_COMMIT}.tar.gz -> fmt-${FMT_COMMIT}.tar.gz - https://github.com/scylladb/c-ares/archive/${C_ARES_COMMIT}.tar.gz -> c-ares-${C_ARES_COMMIT}.tar.gz - https://github.com/scylladb/libdeflate/archive/${LIBDEFLATE_COMMIT}.tar.gz -> libdeflate-${LIBDEFLATE_COMMIT}.tar.gz - https://github.com/scylladb/xxHash/archive/${XXHASH_COMMIT}.tar.gz -> xxhash-${XXHASH_COMMIT}.tar.gz - " - KEYWORDS="~amd64" - S="${WORKDIR}/scylla-${MY_P}" -fi - -PYTHON_COMPAT=( python3_{4,5,6} ) - -inherit autotools flag-o-matic linux-info python-r1 toolchain-funcs systemd user - -DESCRIPTION="NoSQL data store using the seastar framework, compatible with Apache Cassandra" -HOMEPAGE="http://scylladb.com/" - -LICENSE="AGPL-3" -SLOT="0" -IUSE="doc systemd" - -# NOTE: -# if you want to debug using backtraces, enable the 'splitdebug' FEATURE: -# https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces -# -# then check out: -# https://github.com/scylladb/scylla/wiki/How-to-resolve-backtrace - -RESTRICT="test" - -RDEPEND=" - >=dev-libs/thrift-0.11.0 - <dev-util/ragel-7.0 - <sys-apps/hwloc-2.0.0 - ~app-admin/scylla-jmx-${PV} - ~app-admin/scylla-tools-${PV} - >=virtual/jdk-1.8.0:* - ~dev-libs/boost-1.65.0[icu] - app-arch/lz4 - app-arch/snappy - dev-cpp/antlr-cpp:3.5 - dev-cpp/yaml-cpp - dev-java/antlr:3.5 - dev-libs/crypto++ - dev-libs/jsoncpp - dev-libs/libaio - dev-libs/libxml2 - dev-libs/protobuf - dev-python/pyparsing[${PYTHON_USEDEP}] - dev-python/pystache[${PYTHON_USEDEP}] - dev-python/pyudev[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/urwid[${PYTHON_USEDEP}] - dev-util/systemtap - net-libs/gnutls - net-misc/lksctp-tools - sys-apps/ethtool - sys-fs/xfsprogs - sys-libs/libunwind - sys-libs/zlib - sys-process/numactl - x11-libs/libpciaccess - systemd? ( sys-apps/systemd ) -" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-3.5 - dev-util/ninja -" - -# 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=( LICENSE.AGPL NOTICE.txt ORIGIN README.md README-DPDK.md ) -PATCHES=( - "${FILESDIR}"/0001-thrift-support-version-0.11-after-THRIFT-2221.patch -) - -pkg_pretend() { - if tc-is-gcc ; then - if [[ $(gcc-major-version) -lt 7 && $(gcc-minor-version) -lt 3 ]] ; then - die "You need at least sys-devel/gcc-7.3" - elif [[ $(gcc-major-version) -eq 9 ]] ; then - die "GCC-9 support has not been backported yet" - fi - fi -} - -pkg_setup() { - linux-info_pkg_setup - enewgroup scylla - enewuser scylla -1 -1 /var/lib/${PN} scylla -} - -src_prepare() { - default - - # replace git submodules by symlinks - if [[ ${PV} == "9999" ]] ; then - # set version - local git_commit=$(git log --pretty=format:'%h' -n 1) - echo "${PV}-${git_commit}" > version - else - rmdir seastar || die - mv "${WORKDIR}/scylla-seastar-${SEASTAR_COMMIT}" seastar || die - - rmdir seastar/c-ares || die - mv "${WORKDIR}/c-ares-${C_ARES_COMMIT}" seastar/c-ares || die - - rmdir seastar/fmt || die - mv "${WORKDIR}/fmt-${FMT_COMMIT}" seastar/fmt || die - - rmdir swagger-ui || die - mv "${WORKDIR}/scylla-swagger-ui-${SWAGGER_COMMIT}" swagger-ui || die - - rmdir xxHash || die - mv "${WORKDIR}/xxHash-${XXHASH_COMMIT}" xxHash || die - - rmdir libdeflate || die - mv "${WORKDIR}/libdeflate-${LIBDEFLATE_COMMIT}" libdeflate || die - - # set version - echo "${MY_PV}-gentoo" > version - fi - - # fix jsoncpp detection - sed -e 's@json/json.h@jsoncpp/json/json.h@g' -i json.hh || die - - # QA: no -Werror (tho it does not propagate) - sed -e 's/\-Werror//g' -i configure.py || die - - # QA NOTE: respect -O3 as it is upstream recommended - # and because we would kill the RAM of the machine with lower optimization - # since some files can take up to 8GB of RAM to compile! - # sed -e 's/\-O3//g' -i configure.py || die - - # run a clean autoreconf on c-ares - pushd seastar/c-ares - eautoreconf || die - popd - - # I don't agree with the old 4GB of RAM per job, it's more about 8GB now - sed -e 's/4000000000/8000000000/g' -i scripts/jobs || die -} - -src_configure() { - python_setup - - # copied from dist/redhat/scylla.spec.mustache - # we want a package compiled with old kernel headers to - # support nowait aio if the user upgrades their kernel - if ! grep -qwr RWF_NOWAIT /usr/include/linux; then - append-cflags "-DRWF_NOWAIT=8" - fi - if ! grep -qwr aio_rw_flags /usr/include/linux; then - append-cflags "-Daio_rw_flags=aio_reserved1" - fi - - # native CPU CFLAGS are strongly enforced by upstreams, respect that - replace-cpu-flags "*" "native" - - append-cflags "-Wno-attributes -Wno-array-bounds" - - ${EPYTHON} configure.py --enable-gcc6-concepts --mode=release --with=scylla --disable-xen --c-compiler "$(tc-getCC)" --compiler "$(tc-getCXX)" --ldflags "${LDFLAGS}" --cflags "${CFLAGS}" --python ${EPYTHON} --with-antlr3 /usr/bin/antlr3.5 || die -} - -src_compile() { - # we use the provided 'scripts/jobs' to figure out how many parallel - # compilation jobs we can sustain - einfo "Compiling using $(scripts/jobs) jobs" - ninja -v build/release/scylla build/release/iotune -j$(scripts/jobs) || die -} - -src_install() { - # NOTE: - # I base myself on upstream's install.sh file - - default - - local MUSTACHE_DIST="\"debian\": true" - pystache dist/common/systemd/scylla-server.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-server.service - pystache dist/common/systemd/scylla-housekeeping-daily.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-housekeeping-daily.service - pystache dist/common/systemd/scylla-housekeeping-restart.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-housekeeping-restart.service - - insinto /etc/default - doins dist/common/sysconfig/scylla-server - - insinto /etc/security/limits.d - doins dist/common/limits.d/scylla.conf - - insinto /etc/scylla.d - doins dist/common/scylla.d/*.conf - - insinto /etc/sysctl.d - doins dist/common/sysctl.d/*.conf - - insinto /etc/scylla - for config_file in scylla.yaml cassandra-rackdc.properties; do - doins conf/${config_file} - done - - systemd_dounit build/*.service - systemd_dounit dist/common/systemd/*.service - systemd_dounit dist/common/systemd/*.timer - - exeinto /usr/lib/scylla - doexe dist/common/scripts/* - doexe seastar/scripts/* - - dobin build/release/iotune - dobin build/release/scylla - dobin dist/common/bin/scyllatop - - insinto /usr/lib/scylla - doins dist/common/scripts/scylla_blocktune.py - - exeinto /usr/lib/scylla - doexe dist/common/scripts/scylla-blocktune - doexe scylla-housekeeping - - insinto /etc/scylla.d - doins conf/housekeeping.cfg - - newinitd "${FILESDIR}/scylla-server.initd" ${PN}-server - newconfd "${FILESDIR}/scylla-server.confd" ${PN}-server - - dodoc -r licenses - - for x in /var/lib/${PN} /var/lib/${PN}/{data,commitlog,hints,coredump} /var/lib/scylla-housekeeping /var/log/scylla; do - keepdir "${x}" - fowners scylla:scylla "${x}" - done - - insinto /usr/lib/scylla/swagger-ui - doins -r swagger-ui/dist - - insinto /usr/lib/scylla/api - doins -r api/api-doc - - insinto /usr/lib/scylla/scyllatop - doins -r tools/scyllatop/* - fperms +x /usr/lib/scylla/scyllatop/scyllatop.py - - insinto /var/lib/scylla-housekeeping - doins -r scylla-housekeeping - - for util in $(ls dist/common/sbin/); do - dosym /usr/lib/scylla/${util} /usr/sbin/${util} - done - - insinto /etc/sudoers.d - doins dist/debian/sudoers.d/scylla - - insinto /etc/rsyslog.d - doins "${FILESDIR}/10-scylla.conf" - - if ! use systemd; then - insinto /etc/cron.d - newins dist/debian/scylla-server.cron.d scylla_delay_fstrim - fi -} - -pkg_postinst() { - elog "You should run 'emerge --config dev-db/scylla' to finalize your ScyllaDB installation." -} - -pkg_config() { - elog "Running 'scylla_setup'..." - scylla_setup -}
\ No newline at end of file diff --git a/dev-db/scylla/scylla-3.0.6.ebuild b/dev-db/scylla/scylla-3.0.6.ebuild deleted file mode 100644 index dd97312..0000000 --- a/dev-db/scylla/scylla-3.0.6.ebuild +++ /dev/null @@ -1,296 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == "9999" ]] ; then - #EGIT_COMMIT="scylla-" - EGIT_REPO_URI="https://github.com/scylladb/scylla.git" - inherit git-r3 -else - MY_PV="${PV/_rc/.rc}" - MY_P="${PN}-${MY_PV}" - C_ARES_COMMIT="fd6124c74da0801f23f9d324559d8b66fb83f533" - FMT_COMMIT="f61e71ccb9ab253f6d76096b2d958caf38fcccaa" - LIBDEFLATE_COMMIT="e7e54eab42d7fd3c684cfe8278084fc354a2455a" - SEASTAR_COMMIT="f541231a3011420e26fb33e71355415334dcb861" - SWAGGER_COMMIT="1b212bbe713905aac22af1edb836f5cf8cc39cc2" - XXHASH_COMMIT="744892b802dcf61a78a3f2f1311d542577c16d66" - SRC_URI=" - https://github.com/scylladb/${PN}/archive/scylla-${MY_PV}.tar.gz -> ${MY_P}.tar.gz - https://github.com/scylladb/scylla-seastar/archive/${SEASTAR_COMMIT}.tar.gz -> seastar-${SEASTAR_COMMIT}.tar.gz - https://github.com/scylladb/scylla-swagger-ui/archive/${SWAGGER_COMMIT}.tar.gz -> scylla-swagger-ui-${SWAGGER_COMMIT}.tar.gz - https://github.com/scylladb/fmt/archive/${FMT_COMMIT}.tar.gz -> fmt-${FMT_COMMIT}.tar.gz - https://github.com/scylladb/c-ares/archive/${C_ARES_COMMIT}.tar.gz -> c-ares-${C_ARES_COMMIT}.tar.gz - https://github.com/scylladb/libdeflate/archive/${LIBDEFLATE_COMMIT}.tar.gz -> libdeflate-${LIBDEFLATE_COMMIT}.tar.gz - https://github.com/scylladb/xxHash/archive/${XXHASH_COMMIT}.tar.gz -> xxhash-${XXHASH_COMMIT}.tar.gz - " - KEYWORDS="~amd64" - S="${WORKDIR}/scylla-${MY_P}" -fi - -PYTHON_COMPAT=( python3_{4,5,6} ) - -inherit autotools flag-o-matic linux-info python-r1 toolchain-funcs systemd user - -DESCRIPTION="NoSQL data store using the seastar framework, compatible with Apache Cassandra" -HOMEPAGE="http://scylladb.com/" - -LICENSE="AGPL-3" -SLOT="0" -IUSE="doc systemd" - -# NOTE: -# if you want to debug using backtraces, enable the 'splitdebug' FEATURE: -# https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces -# -# then check out: -# https://github.com/scylladb/scylla/wiki/How-to-resolve-backtrace - -RESTRICT="test" - -RDEPEND=" - <dev-libs/thrift-0.11.0 - <dev-util/ragel-7.0 - <sys-apps/hwloc-2.0.0 - ~app-admin/scylla-jmx-${PV} - ~app-admin/scylla-tools-${PV} - >=virtual/jdk-1.8.0 - app-arch/lz4 - app-arch/snappy - dev-cpp/antlr-cpp:3.5 - dev-cpp/yaml-cpp - dev-java/antlr:3.5 - dev-libs/boost - dev-libs/crypto++ - dev-libs/jsoncpp - dev-libs/libaio - dev-libs/libxml2 - dev-libs/protobuf - dev-python/pyparsing[${PYTHON_USEDEP}] - dev-python/pystache[${PYTHON_USEDEP}] - dev-python/pyudev[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/urwid[${PYTHON_USEDEP}] - dev-util/systemtap - net-libs/gnutls - net-misc/lksctp-tools - sys-apps/ethtool - sys-fs/xfsprogs - sys-libs/libunwind - sys-libs/zlib - sys-process/numactl - x11-libs/libpciaccess - systemd? ( sys-apps/systemd ) -" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-3.5 - dev-util/ninja -" - -# 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=( LICENSE.AGPL NOTICE.txt ORIGIN README.md README-DPDK.md ) -PATCHES=() - -pkg_pretend() { - if tc-is-gcc ; then - if [[ $(gcc-major-version) -lt 7 && $(gcc-minor-version) -lt 3 ]] ; then - die "You need at least sys-devel/gcc-7.3" - fi - fi -} - -pkg_setup() { - linux-info_pkg_setup - enewgroup scylla - enewuser scylla -1 -1 /var/lib/${PN} scylla -} - -src_prepare() { - default - - # replace git submodules by symlinks - if [[ ${PV} == "9999" ]] ; then - # set version - local git_commit=$(git log --pretty=format:'%h' -n 1) - echo "${PV}-${git_commit}" > version - else - rmdir seastar || die - mv "${WORKDIR}/scylla-seastar-${SEASTAR_COMMIT}" seastar || die - - rmdir seastar/c-ares || die - mv "${WORKDIR}/c-ares-${C_ARES_COMMIT}" seastar/c-ares || die - - rmdir seastar/fmt || die - mv "${WORKDIR}/fmt-${FMT_COMMIT}" seastar/fmt || die - - rmdir swagger-ui || die - mv "${WORKDIR}/scylla-swagger-ui-${SWAGGER_COMMIT}" swagger-ui || die - - rmdir xxHash || die - mv "${WORKDIR}/xxHash-${XXHASH_COMMIT}" xxHash || die - - rmdir libdeflate || die - mv "${WORKDIR}/libdeflate-${LIBDEFLATE_COMMIT}" libdeflate || die - - # set version - echo "${MY_PV}-gentoo" > version - fi - - # fix jsoncpp detection - sed -e 's@json/json.h@jsoncpp/json/json.h@g' -i json.hh || die - - # QA: no -Werror (tho it does not propagate) - sed -e 's/\-Werror//g' -i configure.py || die - - # QA NOTE: respect -O3 as it is upstream recommended - # and because we would kill the RAM of the machine with lower optimization - # since some files can take up to 8GB of RAM to compile! - # sed -e 's/\-O3//g' -i configure.py || die - - # run a clean autoreconf on c-ares - pushd seastar/c-ares - eautoreconf || die - popd - - # I don't agree with the old 4GB of RAM per job, it's more about 8GB now - sed -e 's/4000000000/8000000000/g' -i scripts/jobs || die -} - -src_configure() { - python_setup - - # copied from dist/redhat/scylla.spec.mustache - # we want a package compiled with old kernel headers to - # support nowait aio if the user upgrades their kernel - if ! grep -qwr RWF_NOWAIT /usr/include/linux; then - append-cflags "-DRWF_NOWAIT=8" - fi - if ! grep -qwr aio_rw_flags /usr/include/linux; then - append-cflags "-Daio_rw_flags=aio_reserved1" - fi - - # native CPU CFLAGS are strongly enforced by upstreams, respect that - replace-cpu-flags "*" "native" - - append-cflags "-Wno-attributes -Wno-array-bounds" - - ${EPYTHON} configure.py --enable-gcc6-concepts --mode=release --with=scylla --disable-xen --c-compiler "$(tc-getCC)" --compiler "$(tc-getCXX)" --ldflags "${LDFLAGS}" --cflags "${CFLAGS}" --python ${EPYTHON} --with-antlr3 /usr/bin/antlr3.5 || die -} - -src_compile() { - # we use the provided 'scripts/jobs' to figure out how many parallel - # compilation jobs we can sustain - einfo "Compiling using $(scripts/jobs) jobs" - ninja -v build/release/scylla build/release/iotune -j$(scripts/jobs) || die -} - -src_install() { - # NOTE: - # I base myself on upstream's install.sh file - - default - - local MUSTACHE_DIST="\"debian\": true" - pystache dist/common/systemd/scylla-server.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-server.service - pystache dist/common/systemd/scylla-housekeeping-daily.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-housekeeping-daily.service - pystache dist/common/systemd/scylla-housekeeping-restart.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-housekeeping-restart.service - - insinto /etc/default - doins dist/common/sysconfig/scylla-server - - insinto /etc/security/limits.d - doins dist/common/limits.d/scylla.conf - - insinto /etc/scylla.d - doins dist/common/scylla.d/*.conf - - insinto /etc/sysctl.d - doins dist/common/sysctl.d/*.conf - - insinto /etc/scylla - for config_file in scylla.yaml cassandra-rackdc.properties; do - doins conf/${config_file} - done - - systemd_dounit build/*.service - systemd_dounit dist/common/systemd/*.service - systemd_dounit dist/common/systemd/*.timer - - exeinto /usr/lib/scylla - doexe dist/common/scripts/* - doexe seastar/scripts/* - - dobin build/release/iotune - dobin build/release/scylla - dobin dist/common/bin/scyllatop - - insinto /usr/lib/scylla - doins dist/common/scripts/scylla_blocktune.py - - exeinto /usr/lib/scylla - doexe dist/common/scripts/scylla-blocktune - doexe scylla-housekeeping - - insinto /etc/scylla.d - doins conf/housekeeping.cfg - - newinitd "${FILESDIR}/scylla-server.initd" ${PN}-server - newconfd "${FILESDIR}/scylla-server.confd" ${PN}-server - - dodoc -r licenses - - for x in /var/lib/${PN} /var/lib/${PN}/{data,commitlog,hints,coredump} /var/lib/scylla-housekeeping /var/log/scylla; do - keepdir "${x}" - fowners scylla:scylla "${x}" - done - - insinto /usr/lib/scylla/swagger-ui - doins -r swagger-ui/dist - - insinto /usr/lib/scylla/api - doins -r api/api-doc - - insinto /usr/lib/scylla/scyllatop - doins -r tools/scyllatop/* - fperms +x /usr/lib/scylla/scyllatop/scyllatop.py - - insinto /var/lib/scylla-housekeeping - doins -r scylla-housekeeping - - for util in $(ls dist/common/sbin/); do - dosym /usr/lib/scylla/${util} /usr/sbin/${util} - done - - insinto /etc/sudoers.d - doins dist/debian/sudoers.d/scylla - - insinto /etc/rsyslog.d - doins "${FILESDIR}/10-scylla.conf" - - if ! use systemd; then - insinto /etc/cron.d - newins dist/debian/scylla-server.cron.d scylla_delay_fstrim - fi -} - -pkg_postinst() { - elog "You should run 'emerge --config dev-db/scylla' to finalize your ScyllaDB installation." -} - -pkg_config() { - elog "Running 'scylla_setup'..." - scylla_setup -}
\ No newline at end of file diff --git a/dev-db/scylla/scylla-3.0.9.ebuild b/dev-db/scylla/scylla-3.0.9.ebuild deleted file mode 100644 index 71bebd1..0000000 --- a/dev-db/scylla/scylla-3.0.9.ebuild +++ /dev/null @@ -1,300 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == "9999" ]] ; then - #EGIT_COMMIT="scylla-" - EGIT_REPO_URI="https://github.com/scylladb/scylla.git" - inherit git-r3 -else - MY_PV="${PV/_rc/.rc}" - MY_P="${PN}-${MY_PV}" - C_ARES_COMMIT="fd6124c74da0801f23f9d324559d8b66fb83f533" - FMT_COMMIT="f61e71ccb9ab253f6d76096b2d958caf38fcccaa" - LIBDEFLATE_COMMIT="e7e54eab42d7fd3c684cfe8278084fc354a2455a" - SEASTAR_COMMIT="16641efb15d7832f5106f294008937923c432c34" - SWAGGER_COMMIT="1b212bbe713905aac22af1edb836f5cf8cc39cc2" - XXHASH_COMMIT="744892b802dcf61a78a3f2f1311d542577c16d66" - SRC_URI=" - https://github.com/scylladb/${PN}/archive/scylla-${MY_PV}.tar.gz -> ${MY_P}.tar.gz - https://github.com/scylladb/scylla-seastar/archive/${SEASTAR_COMMIT}.tar.gz -> seastar-${SEASTAR_COMMIT}.tar.gz - https://github.com/scylladb/scylla-swagger-ui/archive/${SWAGGER_COMMIT}.tar.gz -> scylla-swagger-ui-${SWAGGER_COMMIT}.tar.gz - https://github.com/scylladb/fmt/archive/${FMT_COMMIT}.tar.gz -> fmt-${FMT_COMMIT}.tar.gz - https://github.com/scylladb/c-ares/archive/${C_ARES_COMMIT}.tar.gz -> c-ares-${C_ARES_COMMIT}.tar.gz - https://github.com/scylladb/libdeflate/archive/${LIBDEFLATE_COMMIT}.tar.gz -> libdeflate-${LIBDEFLATE_COMMIT}.tar.gz - https://github.com/scylladb/xxHash/archive/${XXHASH_COMMIT}.tar.gz -> xxhash-${XXHASH_COMMIT}.tar.gz - " - KEYWORDS="~amd64" - S="${WORKDIR}/scylla-${MY_P}" -fi - -PYTHON_COMPAT=( python3_{4,5,6} ) - -inherit autotools flag-o-matic linux-info python-r1 toolchain-funcs systemd user - -DESCRIPTION="NoSQL data store using the seastar framework, compatible with Apache Cassandra" -HOMEPAGE="http://scylladb.com/" - -LICENSE="AGPL-3" -SLOT="0" -IUSE="doc systemd" - -# NOTE: -# if you want to debug using backtraces, enable the 'splitdebug' FEATURE: -# https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces -# -# then check out: -# https://github.com/scylladb/scylla/wiki/How-to-resolve-backtrace - -RESTRICT="test" - -RDEPEND=" - >=dev-libs/thrift-0.11.0 - <dev-util/ragel-7.0 - <sys-apps/hwloc-2.0.0 - ~app-admin/scylla-jmx-${PV} - ~app-admin/scylla-tools-${PV} - >=virtual/jdk-1.8.0:* - ~dev-libs/boost-1.65.0[icu] - app-arch/lz4 - app-arch/snappy - dev-cpp/antlr-cpp:3.5 - dev-cpp/yaml-cpp - dev-java/antlr:3.5 - dev-libs/crypto++ - dev-libs/jsoncpp - dev-libs/libaio - dev-libs/libxml2 - dev-libs/protobuf - dev-python/pyparsing[${PYTHON_USEDEP}] - dev-python/pystache[${PYTHON_USEDEP}] - dev-python/pyudev[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/urwid[${PYTHON_USEDEP}] - dev-util/systemtap - net-libs/gnutls - net-misc/lksctp-tools - sys-apps/ethtool - sys-fs/xfsprogs - sys-libs/libunwind - sys-libs/zlib - sys-process/numactl - x11-libs/libpciaccess - systemd? ( sys-apps/systemd ) -" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-3.5 - dev-util/ninja -" - -# 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=( LICENSE.AGPL NOTICE.txt ORIGIN README.md README-DPDK.md ) -PATCHES=( - "${FILESDIR}"/0001-thrift-support-version-0.11-after-THRIFT-2221.patch -) - -pkg_pretend() { - if tc-is-gcc ; then - if [[ $(gcc-major-version) -lt 7 && $(gcc-minor-version) -lt 3 ]] ; then - die "You need at least sys-devel/gcc-7.3" - elif [[ $(gcc-major-version) -eq 9 ]] ; then - die "GCC-9 support has not been backported yet" - fi - fi -} - -pkg_setup() { - linux-info_pkg_setup - enewgroup scylla - enewuser scylla -1 -1 /var/lib/${PN} scylla -} - -src_prepare() { - default - - # replace git submodules by symlinks - if [[ ${PV} == "9999" ]] ; then - # set version - local git_commit=$(git log --pretty=format:'%h' -n 1) - echo "${PV}-${git_commit}" > version - else - rmdir seastar || die - mv "${WORKDIR}/scylla-seastar-${SEASTAR_COMMIT}" seastar || die - - rmdir seastar/c-ares || die - mv "${WORKDIR}/c-ares-${C_ARES_COMMIT}" seastar/c-ares || die - - rmdir seastar/fmt || die - mv "${WORKDIR}/fmt-${FMT_COMMIT}" seastar/fmt || die - - rmdir swagger-ui || die - mv "${WORKDIR}/scylla-swagger-ui-${SWAGGER_COMMIT}" swagger-ui || die - - rmdir xxHash || die - mv "${WORKDIR}/xxHash-${XXHASH_COMMIT}" xxHash || die - - rmdir libdeflate || die - mv "${WORKDIR}/libdeflate-${LIBDEFLATE_COMMIT}" libdeflate || die - - # set version - echo "${MY_PV}-gentoo" > version - fi - - # fix jsoncpp detection - sed -e 's@json/json.h@jsoncpp/json/json.h@g' -i json.hh || die - - # QA: no -Werror (tho it does not propagate) - sed -e 's/\-Werror//g' -i configure.py || die - - # QA NOTE: respect -O3 as it is upstream recommended - # and because we would kill the RAM of the machine with lower optimization - # since some files can take up to 8GB of RAM to compile! - # sed -e 's/\-O3//g' -i configure.py || die - - # run a clean autoreconf on c-ares - pushd seastar/c-ares - eautoreconf || die - popd - - # I don't agree with the old 4GB of RAM per job, it's more about 8GB now - sed -e 's/4000000000/8000000000/g' -i scripts/jobs || die -} - -src_configure() { - python_setup - - # copied from dist/redhat/scylla.spec.mustache - # we want a package compiled with old kernel headers to - # support nowait aio if the user upgrades their kernel - if ! grep -qwr RWF_NOWAIT /usr/include/linux; then - append-cflags "-DRWF_NOWAIT=8" - fi - if ! grep -qwr aio_rw_flags /usr/include/linux; then - append-cflags "-Daio_rw_flags=aio_reserved1" - fi - - # native CPU CFLAGS are strongly enforced by upstreams, respect that - replace-cpu-flags "*" "native" - - append-cflags "-Wno-attributes -Wno-array-bounds" - - ${EPYTHON} configure.py --enable-gcc6-concepts --mode=release --with=scylla --disable-xen --c-compiler "$(tc-getCC)" --compiler "$(tc-getCXX)" --ldflags "${LDFLAGS}" --cflags "${CFLAGS}" --python ${EPYTHON} --with-antlr3 /usr/bin/antlr3.5 || die -} - -src_compile() { - # we use the provided 'scripts/jobs' to figure out how many parallel - # compilation jobs we can sustain - einfo "Compiling using $(scripts/jobs) jobs" - ninja -v build/release/scylla build/release/iotune -j$(scripts/jobs) || die -} - -src_install() { - # NOTE: - # I base myself on upstream's install.sh file - - default - - local MUSTACHE_DIST="\"debian\": true" - pystache dist/common/systemd/scylla-server.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-server.service - pystache dist/common/systemd/scylla-housekeeping-daily.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-housekeeping-daily.service - pystache dist/common/systemd/scylla-housekeeping-restart.service.mustache "{ $MUSTACHE_DIST }" > build/scylla-housekeeping-restart.service - - insinto /etc/default - doins dist/common/sysconfig/scylla-server - - insinto /etc/security/limits.d - doins dist/common/limits.d/scylla.conf - - insinto /etc/scylla.d - doins dist/common/scylla.d/*.conf - - insinto /etc/sysctl.d - doins dist/common/sysctl.d/*.conf - - insinto /etc/scylla - for config_file in scylla.yaml cassandra-rackdc.properties; do - doins conf/${config_file} - done - - systemd_dounit build/*.service - systemd_dounit dist/common/systemd/*.service - systemd_dounit dist/common/systemd/*.timer - - exeinto /usr/lib/scylla - doexe dist/common/scripts/* - doexe seastar/scripts/* - - dobin build/release/iotune - dobin build/release/scylla - dobin dist/common/bin/scyllatop - - insinto /usr/lib/scylla - doins dist/common/scripts/scylla_blocktune.py - - exeinto /usr/lib/scylla - doexe dist/common/scripts/scylla-blocktune - doexe scylla-housekeeping - - insinto /etc/scylla.d - doins conf/housekeeping.cfg - - newinitd "${FILESDIR}/scylla-server.initd" ${PN}-server - newconfd "${FILESDIR}/scylla-server.confd" ${PN}-server - - dodoc -r licenses - - for x in /var/lib/${PN} /var/lib/${PN}/{data,commitlog,hints,coredump} /var/lib/scylla-housekeeping /var/log/scylla; do - keepdir "${x}" - fowners scylla:scylla "${x}" - done - - insinto /usr/lib/scylla/swagger-ui - doins -r swagger-ui/dist - - insinto /usr/lib/scylla/api - doins -r api/api-doc - - insinto /usr/lib/scylla/scyllatop - doins -r tools/scyllatop/* - fperms +x /usr/lib/scylla/scyllatop/scyllatop.py - - insinto /var/lib/scylla-housekeeping - doins -r scylla-housekeeping - - for util in $(ls dist/common/sbin/); do - dosym /usr/lib/scylla/${util} /usr/sbin/${util} - done - - insinto /etc/sudoers.d - doins dist/debian/sudoers.d/scylla - - insinto /etc/rsyslog.d - doins "${FILESDIR}/10-scylla.conf" - - if ! use systemd; then - insinto /etc/cron.d - newins dist/debian/scylla-server.cron.d scylla_delay_fstrim - fi -} - -pkg_postinst() { - elog "You should run 'emerge --config dev-db/scylla' to finalize your ScyllaDB installation." -} - -pkg_config() { - elog "Running 'scylla_setup'..." - scylla_setup -}
\ No newline at end of file diff --git a/dev-db/scylla/scylla-3.1.0.ebuild b/dev-db/scylla/scylla-3.1.0.ebuild index 7d5cc89..f935332 100644 --- a/dev-db/scylla/scylla-3.1.0.ebuild +++ b/dev-db/scylla/scylla-3.1.0.ebuild @@ -43,7 +43,7 @@ RDEPEND=" dev-cpp/antlr-cpp:3.5 dev-cpp/yaml-cpp dev-java/antlr:3.5 - ~dev-libs/boost-1.65.0[icu] + dev-libs/boost[icu] dev-libs/crypto++ dev-libs/jsoncpp dev-libs/libaio diff --git a/dev-db/scylla/scylla-3.1.1-r1.ebuild b/dev-db/scylla/scylla-3.1.1-r1.ebuild index 7323dfc..4b6edf0 100644 --- a/dev-db/scylla/scylla-3.1.1-r1.ebuild +++ b/dev-db/scylla/scylla-3.1.1-r1.ebuild @@ -43,7 +43,7 @@ RDEPEND=" dev-cpp/antlr-cpp:3.5 dev-cpp/yaml-cpp dev-java/antlr:3.5 - ~dev-libs/boost-1.65.0[icu] + dev-libs/boost[icu] dev-libs/crypto++ dev-libs/jsoncpp dev-libs/libaio diff --git a/dev-db/scylla/scylla-3.1.1-r2.ebuild b/dev-db/scylla/scylla-3.1.1-r2.ebuild index 8ded546..6f8f43a 100644 --- a/dev-db/scylla/scylla-3.1.1-r2.ebuild +++ b/dev-db/scylla/scylla-3.1.1-r2.ebuild @@ -43,7 +43,7 @@ RDEPEND=" dev-cpp/antlr-cpp:3.5 dev-cpp/yaml-cpp dev-java/antlr:3.5 - ~dev-libs/boost-1.65.0[icu] + dev-libs/boost[icu] dev-libs/crypto++ dev-libs/jsoncpp dev-libs/libaio diff --git a/dev-db/scylla/scylla-3.1.1.ebuild b/dev-db/scylla/scylla-3.1.1.ebuild index afa91f0..1977657 100644 --- a/dev-db/scylla/scylla-3.1.1.ebuild +++ b/dev-db/scylla/scylla-3.1.1.ebuild @@ -43,7 +43,7 @@ RDEPEND=" dev-cpp/antlr-cpp:3.5 dev-cpp/yaml-cpp dev-java/antlr:3.5 - ~dev-libs/boost-1.65.0[icu] + dev-libs/boost[icu] dev-libs/crypto++ dev-libs/jsoncpp dev-libs/libaio diff --git a/dev-db/scylla/scylla-3.1.2-r1.ebuild b/dev-db/scylla/scylla-3.1.2-r1.ebuild index 86e46aa..f0fc18e 100644 --- a/dev-db/scylla/scylla-3.1.2-r1.ebuild +++ b/dev-db/scylla/scylla-3.1.2-r1.ebuild @@ -43,7 +43,7 @@ RDEPEND=" dev-cpp/antlr-cpp:3.5 dev-cpp/yaml-cpp dev-java/antlr:3.5 - ~dev-libs/boost-1.65.0[icu] + dev-libs/boost[icu] dev-libs/crypto++ dev-libs/jsoncpp dev-libs/libaio diff --git a/dev-db/scylla/scylla-3.1.2.ebuild b/dev-db/scylla/scylla-3.1.2.ebuild index 8ded546..6f8f43a 100644 --- a/dev-db/scylla/scylla-3.1.2.ebuild +++ b/dev-db/scylla/scylla-3.1.2.ebuild @@ -43,7 +43,7 @@ RDEPEND=" dev-cpp/antlr-cpp:3.5 dev-cpp/yaml-cpp dev-java/antlr:3.5 - ~dev-libs/boost-1.65.0[icu] + dev-libs/boost[icu] dev-libs/crypto++ dev-libs/jsoncpp dev-libs/libaio diff --git a/dev-db/scylla/scylla-3.0.8.ebuild b/dev-db/scylla/scylla-3.2_rc3.ebuild index e3701e8..52edb36 100644 --- a/dev-db/scylla/scylla-3.0.8.ebuild +++ b/dev-db/scylla/scylla-3.2_rc3.ebuild @@ -3,39 +3,20 @@ EAPI=6 -if [[ ${PV} == "9999" ]] ; then - #EGIT_COMMIT="scylla-" - EGIT_REPO_URI="https://github.com/scylladb/scylla.git" - inherit git-r3 -else - MY_PV="${PV/_rc/.rc}" - MY_P="${PN}-${MY_PV}" - C_ARES_COMMIT="fd6124c74da0801f23f9d324559d8b66fb83f533" - FMT_COMMIT="f61e71ccb9ab253f6d76096b2d958caf38fcccaa" - LIBDEFLATE_COMMIT="e7e54eab42d7fd3c684cfe8278084fc354a2455a" - SEASTAR_COMMIT="16641efb15d7832f5106f294008937923c432c34" - SWAGGER_COMMIT="1b212bbe713905aac22af1edb836f5cf8cc39cc2" - XXHASH_COMMIT="744892b802dcf61a78a3f2f1311d542577c16d66" - SRC_URI=" - https://github.com/scylladb/${PN}/archive/scylla-${MY_PV}.tar.gz -> ${MY_P}.tar.gz - https://github.com/scylladb/scylla-seastar/archive/${SEASTAR_COMMIT}.tar.gz -> seastar-${SEASTAR_COMMIT}.tar.gz - https://github.com/scylladb/scylla-swagger-ui/archive/${SWAGGER_COMMIT}.tar.gz -> scylla-swagger-ui-${SWAGGER_COMMIT}.tar.gz - https://github.com/scylladb/fmt/archive/${FMT_COMMIT}.tar.gz -> fmt-${FMT_COMMIT}.tar.gz - https://github.com/scylladb/c-ares/archive/${C_ARES_COMMIT}.tar.gz -> c-ares-${C_ARES_COMMIT}.tar.gz - https://github.com/scylladb/libdeflate/archive/${LIBDEFLATE_COMMIT}.tar.gz -> libdeflate-${LIBDEFLATE_COMMIT}.tar.gz - https://github.com/scylladb/xxHash/archive/${XXHASH_COMMIT}.tar.gz -> xxhash-${XXHASH_COMMIT}.tar.gz - " - KEYWORDS="~amd64" - S="${WORKDIR}/scylla-${MY_P}" -fi - -PYTHON_COMPAT=( python3_{4,5,6} ) +MY_PV="${PV/_/.}" +EGIT_CLONE_TYPE="mirror" +EGIT_COMMIT="scylla-${MY_PV}" +EGIT_REPO_URI="https://github.com/scylladb/scylla.git" +inherit git-r3 + +PYTHON_COMPAT=( python3_{5,6} ) inherit autotools flag-o-matic linux-info python-r1 toolchain-funcs systemd user DESCRIPTION="NoSQL data store using the seastar framework, compatible with Apache Cassandra" HOMEPAGE="http://scylladb.com/" +KEYWORDS="~amd64" LICENSE="AGPL-3" SLOT="0" IUSE="doc systemd" @@ -58,6 +39,7 @@ RDEPEND=" >=virtual/jdk-1.8.0:* app-arch/lz4 app-arch/snappy + app-arch/zstd dev-cpp/antlr-cpp:3.5 dev-cpp/yaml-cpp dev-java/antlr:3.5 @@ -65,12 +47,14 @@ RDEPEND=" dev-libs/crypto++ dev-libs/jsoncpp dev-libs/libaio + >=dev-libs/libfmt-3.2.1 dev-libs/libxml2 dev-libs/protobuf + dev-python/psutil[${PYTHON_USEDEP}] dev-python/pyparsing[${PYTHON_USEDEP}] dev-python/pystache[${PYTHON_USEDEP}] dev-python/pyudev[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/urwid[${PYTHON_USEDEP}] dev-util/systemtap @@ -103,17 +87,8 @@ ERROR_TRANSPARENT_HUGEPAGE="${PN} recommends support for Transparent Hugepage (T DOCS=( LICENSE.AGPL NOTICE.txt ORIGIN README.md README-DPDK.md ) PATCHES=( - "${FILESDIR}"/0001-thrift-support-version-0.11-after-THRIFT-2221.patch ) -pkg_pretend() { - if tc-is-gcc ; then - if [[ $(gcc-major-version) -lt 7 && $(gcc-minor-version) -lt 3 ]] ; then - die "You need at least sys-devel/gcc-7.3" - fi - fi -} - pkg_setup() { linux-info_pkg_setup enewgroup scylla @@ -123,33 +98,9 @@ pkg_setup() { src_prepare() { default - # replace git submodules by symlinks - if [[ ${PV} == "9999" ]] ; then - # set version - local git_commit=$(git log --pretty=format:'%h' -n 1) - echo "${PV}-${git_commit}" > version - else - rmdir seastar || die - mv "${WORKDIR}/scylla-seastar-${SEASTAR_COMMIT}" seastar || die - - rmdir seastar/c-ares || die - mv "${WORKDIR}/c-ares-${C_ARES_COMMIT}" seastar/c-ares || die - - rmdir seastar/fmt || die - mv "${WORKDIR}/fmt-${FMT_COMMIT}" seastar/fmt || die - - rmdir swagger-ui || die - mv "${WORKDIR}/scylla-swagger-ui-${SWAGGER_COMMIT}" swagger-ui || die - - rmdir xxHash || die - mv "${WORKDIR}/xxHash-${XXHASH_COMMIT}" xxHash || die - - rmdir libdeflate || die - mv "${WORKDIR}/libdeflate-${LIBDEFLATE_COMMIT}" libdeflate || die - - # set version - echo "${MY_PV}-gentoo" > version - fi + # set version + local git_commit=$(git log --pretty=format:'%h' -n 1) + echo "${PV}-${git_commit}" > version # fix jsoncpp detection sed -e 's@json/json.h@jsoncpp/json/json.h@g' -i json.hh || die @@ -162,13 +113,20 @@ src_prepare() { # since some files can take up to 8GB of RAM to compile! # sed -e 's/\-O3//g' -i configure.py || die - # run a clean autoreconf on c-ares - pushd seastar/c-ares - eautoreconf || die - popd - # I don't agree with the old 4GB of RAM per job, it's more about 8GB now sed -e 's/4000000000/8000000000/g' -i scripts/jobs || die + + # TODO: contribute me + # fix pyyaml vulnerability #659348 + # seastar/scripts/perftune.py + # dist/docker/redhat/scyllasetup.py + # dist/common/scripts/scylla_io_setup + # dist/common/scripts/scylla_fstrim + # dist/common/scripts/scylla_blocktune.py + # dist/common/scripts/scylla_util.py + # dist/common/scripts/scylla_config_get.py + find "${S}/dist" -type f -exec sed -e 's/yaml.load(/yaml.full_load(/g' -i {} \+ || die + sed -e 's/yaml.load(/yaml.safe_load(/g' -i seastar/scripts/perftune.py || die } src_configure() { @@ -234,17 +192,17 @@ src_install() { exeinto /usr/lib/scylla doexe dist/common/scripts/* doexe seastar/scripts/* + doexe scylla-gdb.py dobin build/release/iotune dobin build/release/scylla - dobin dist/common/bin/scyllatop insinto /usr/lib/scylla doins dist/common/scripts/scylla_blocktune.py exeinto /usr/lib/scylla doexe dist/common/scripts/scylla-blocktune - doexe scylla-housekeeping + doexe dist/common/scripts/scylla-housekeeping insinto /etc/scylla.d doins conf/housekeeping.cfg @@ -268,24 +226,17 @@ src_install() { insinto /usr/lib/scylla/scyllatop doins -r tools/scyllatop/* fperms +x /usr/lib/scylla/scyllatop/scyllatop.py - - insinto /var/lib/scylla-housekeeping - doins -r scylla-housekeeping + dosym /usr/lib/scylla/scyllatop/scyllatop.py /usr/sbin/scyllatop for util in $(ls dist/common/sbin/); do dosym /usr/lib/scylla/${util} /usr/sbin/${util} done insinto /etc/sudoers.d - doins dist/debian/sudoers.d/scylla + newins "${FILESDIR}"/scylla.sudoers scylla insinto /etc/rsyslog.d doins "${FILESDIR}/10-scylla.conf" - - if ! use systemd; then - insinto /etc/cron.d - newins dist/debian/scylla-server.cron.d scylla_delay_fstrim - fi } pkg_postinst() { @@ -295,4 +246,4 @@ pkg_postinst() { pkg_config() { elog "Running 'scylla_setup'..." scylla_setup -}
\ No newline at end of file +} |