diff options
-rw-r--r-- | net-p2p/bitcoind/ChangeLog | 10 | ||||
-rw-r--r-- | net-p2p/bitcoind/Manifest | 38 | ||||
-rw-r--r-- | net-p2p/bitcoind/bitcoind-0.10.0-r1.ebuild (renamed from net-p2p/bitcoind/bitcoind-0.10.0.ebuild) | 19 | ||||
-rw-r--r-- | net-p2p/bitcoind/bitcoind-9999.ebuild | 5 | ||||
-rw-r--r-- | net-p2p/bitcoind/files/0.10.0-openrc-compat.patch | 24 | ||||
-rw-r--r-- | net-p2p/bitcoind/files/bitcoind.logrotate-r1 | 8 |
6 files changed, 75 insertions, 29 deletions
diff --git a/net-p2p/bitcoind/ChangeLog b/net-p2p/bitcoind/ChangeLog index edb412d9953e..87603c444025 100644 --- a/net-p2p/bitcoind/ChangeLog +++ b/net-p2p/bitcoind/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-p2p/bitcoind # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.102 2015/02/27 16:17:54 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.103 2015/03/04 00:11:48 blueness Exp $ + +*bitcoind-0.10.0-r1 (04 Mar 2015) + + 04 Mar 2015; Anthony G. Basile <blueness@gentoo.org> + +bitcoind-0.10.0-r1.ebuild, +files/0.10.0-openrc-compat.patch, + +files/bitcoind.logrotate-r1, -bitcoind-0.10.0.ebuild, bitcoind-9999.ebuild: + Dependency on leveldb and libsecp256k1 is now handled by the eclass. Fix + logrotate, bug #541510. 27 Feb 2015; Andreas K. Huettel <dilfridge@gentoo.org> bitcoind-0.10.0.ebuild: ComRel: Disable more add-on patches by default diff --git a/net-p2p/bitcoind/Manifest b/net-p2p/bitcoind/Manifest index aea698eaf6f5..a6d99013891b 100644 --- a/net-p2p/bitcoind/Manifest +++ b/net-p2p/bitcoind/Manifest @@ -1,6 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX 0.10.0-openrc-compat.patch 949 SHA256 5cbea89dd672b5fd6c56431d3ba5a792c9ffa37676d759eae03bb98db1536336 SHA512 3af1c031cbfa6d27e1128f864ef51ad34ce241360481a69217abb04774552b06a0a8e1c07cf187c39bf09c0e9ecfc51d9a9a45e23c4bee4b7233e67cfcad4eeb WHIRLPOOL ba476a679cfb5e88aced3bed1f0f59e5aa4402f84440b4225ad2e326666bc2b54095abb304db28e073eaa6f9210648b862afdac9e88467b2931c78f711e24684 AUX 0.8-openssl-101k.patch 1185 SHA256 b983630d22847ea2aa41674ab2317363e48788b01a4157818a2a9cb78e671a2f SHA512 e54a742467d922892a332f786f2a29b1901fc2c8c0e316a69bdc6492977d649c4d57d09ae51f43ba01e2bfc2f4bb19db3f1cddfbe0ee093b3daed4493385d836 WHIRLPOOL 30876d679e4ebb38b6db6524fa3a22be42a2cbe0f2b50458ac7dfbebd74e1d16be6a19f4e369c30ad65c528dcbcff9d79077aad5b8d971a15dceb0339de18c21 AUX 0.8.2-sys_leveldb.patch 6726 SHA256 11322fc7715b9b552075babf60c8261e0343e5ec834188013fb7d77cacf3b4d9 SHA512 e371b6da685c916c5941cfc094d01237f18502597e778b35e1c31cbf93cda1118a97272b56605f7c6da1f2873190415974ebdb4e7ce08a5d04e94dac675a4112 WHIRLPOOL 8579c73d18281b3910c260ef0708842380f8c5001982c94ea51e6b8f99111b11959ffb04fc7812e0c90ba8a919071b13e975ed95ec207017e34bef5844f65068 AUX 0.9-openssl-101k.patch 1192 SHA256 198318943cd1eaff2ce5e94b5b9aea40a2c99c46c459f2f2049eb15c52721566 SHA512 471dd9a581a07f859bb5f7b8d9489995c6e137bec0e3afcf91903135f4dd259f7f56d734749fd5acba0d744d6b8b23688570371656be5af9e960d63bbe3659f0 WHIRLPOOL abc6596e349acb34c2fb657c302b20fa74c545f2c2fbb4062bc1041f4944285ab3a5ff63dfc7ef7a724abb95a1742ac1e9ee05c9e9dbabcba4a5cbf500d4e368 @@ -12,6 +13,7 @@ AUX bitcoin.confd 238 SHA256 72300b41d57325de5a5f2ddea449d5f414f278549fb665d6074 AUX bitcoin.initd 2481 SHA256 5dace582c4bf05d893166794ce620ca13b794b695376030f7d319bb22a0c956a SHA512 3e360bf8310f7d2acf9189f9baf87068a6764996cbfe1a0e3ca17fbebd0b6b8cb68212401db15c59c94a0e7ad2f933f90a765a2d653eface74e4ae8f495fda06 WHIRLPOOL 321a903dd85743cb23909614d1d1fe248d30374f0ea5d68c4f25d95b55ad2ec3f2164f5255a428ae79cd1e9b5e7efc10b09204b0bd68c5a557313b47124d0f16 AUX bitcoin.initd-r1 934 SHA256 8aea8b4ab593ebb7093f1890666d8dd730d5bbc64893b43af1680098bfe531c2 SHA512 2d4313caa1d9ca88bc5c30f28ba012a459863e51cf4bb18415fb77f99f0ba12e7060e84cfc974cc9b993542f66d40d53684814c58d5f03785c25e56e151f00ab WHIRLPOOL 3b31dee4a70fbd5d7572f93e449a6394f55b1e9f63c70471a46913a90698757f390fc358e31f8b497b6d887f30a4fa1aa6bf026cad38be81c5f006f5c7f9d1a8 AUX bitcoind.logrotate 110 SHA256 9b469c67e7af914199d699ac76279f194010f154be91f8136eddeeddf623a475 SHA512 b0e0634fc33979695fc0f37057f76b264ff3eb2655a8828d505a38621a5bba9fd4eafe47b012e5cb3863d607146b5a2d1a995787ed55cb6d5e6147ab795e1949 WHIRLPOOL 5ebd73178d3228b9477b5eae51ee783857d3a88a765c6802923f2a1d682c00cd4cefbf39e1f2d5192704ff2c72e8b91a38755cece6e139371ea2e75cab461e32 +AUX bitcoind.logrotate-r1 121 SHA256 71b195013cd2fe3091eb03a3b8c18d1f021fa91a2e2c02cc3d50384545580b84 SHA512 a4783a310ea6b77f607bcc45d86d25ffd72794983bd1854b77eb057e86377e067f666ca38073c8efcb06256e1202918c77c8e09382cd8462832dee769017dde1 WHIRLPOOL c2879092a8a60d5e485d0540426c1b2bed0d2d4c230540f7716c193393d68792e75ba39f261ac94e24ccfb9f35a806a8b301c131059f32fce3c55d579d840318 AUX bitcoind.service 869 SHA256 c24332570f8ac155847372a4f9019a47a2e3c8c15435584dac4153b8eb300bc7 SHA512 d0e23b98bc9109e7e4d8a6459f73d1f9a06a3da71593613e22c5d0f31a8ad7473242b07690c6f22f35358ed869ffa7160d0daa65937462442bfc9028794321ea WHIRLPOOL 7992f776ac36277ce83898920ed5a8abc6b031f1d88214150c362c6f5befc869eb9901bd346da74da9fb56bda500fe9d3d9ff8dd46f1b3f257691cb106754a93 DIST bitcoin-0.10.0.ljr20150220.patches.tar.xz 34536 SHA256 cac6b61e34f1903d369568895072b7c31e4aed2cceae4c25c1e5b80150c92494 SHA512 08913029dcbf9b43fafbc76525061c18d4e033ac1e88b781301064a35d2f099b4de83e4e964197361657a8c0de49ad463d7004c6af485c09df3589a75928ef19 WHIRLPOOL 0032fc98e947b68c37350b2defc7b2cc160570078bcd8bf0d0e4c435dec16f9bc3149a1117acc7998862bf0206fdbc3752e2b426fe1d51eb4bcb4942bf67b77d DIST bitcoin-0.9.3.ljr20141002.patch.xz 23320 SHA256 d0a480e11159d597a36e300398c858b5713de78d4f00295b46aa6612ed4b28cc SHA512 b6f225c1e6fc4b1b0b53084d62ff6a57af3b45ea48064fb790b51a081bd1a2333ad5ebffdd443da47babac76ca7394d3ccb645fb3e5e532252409de32a3cb768 WHIRLPOOL 2cdb0a3e3b8407ef11a9f6a56c47ca51c38eb7adbf1b0ceaf1b7fec00118a75892782f66a4c85e54f43e3a3107d1b4e3c799eb1171dff8eb9db69d162cde650a @@ -21,29 +23,27 @@ DIST bitcoin-v0.8.6.tgz 3194026 SHA256 26fd485823ee15a823ca51a5ac7ed8664079ef153 DIST bitcoin-v0.9.3.tgz 4788997 SHA256 3ed92e8323cb4187cae015457c7c5920a5c658438f01c6c45f0ce3aabf9bd428 SHA512 cf6ff5bc586b0614b4e74e1c18b30e8f443f03db348382492e49c70ec31a0ef3a4d1989b34a8fdce289788c894b48b72b94d2562e497220453b668dc28ce0d66 WHIRLPOOL 6ce18de9a2b24cedd88e110088d0747452f8403b6239df9212b673e4a893e059bdea2640b13b6fde659a866d4a6a3b4fa62dde3adbf957b80104d41c0e4aeb18 DIST bitcoin-v0.9.4.tgz 4885466 SHA256 e7d17bd33a51a755b2d23f3bd9f384a272d87a234d02789056b2e4b8a8a92ca1 SHA512 6f13b3adf8791458e8eb7c1e62cbb2277f2caeb36c21cf0d783db15473cb0f29047bc3939c529ce893437aaf3eac0e7af2b161bd82381434a16474611136de06 WHIRLPOOL a65841ef1bf44066ed7548f81c5efaf59bb1adb99a698bd2e9910e09c395518218d8443180fcd0f63c7c938e9852c36a27b5f021b128e8c4973ec427fe0995ed DIST bitcoinxt-v0.10.0.patch 72007 SHA256 f2694f976803dfd8cba11cddd6ee2bdd441737d9b82c9d7550f0f362603223b5 SHA512 6b993859b07d28ed8eac79711c0580d29267c1158838772970fe22e88d68f42f46758494e4430b9470ad529e05b24a936052bbb6747c04b54aa8a95694442747 WHIRLPOOL bbf0904cb06f547976edca2f36f49b1352d4c3e99798b19d45f5c34a74167c8db86017c9fdbaca90f3b7de38ece5f3c527e67e97ccbffdd99abd840f6cd335e4 -EBUILD bitcoind-0.10.0.ebuild 1909 SHA256 e9f6f585b07ed439e0453a42c0a5cdc62a225bc27f1dab65f5335583534738bc SHA512 f7cf441f14cec90c146537e328340fcebf5e6876c73bc9f1841abbb324f3bebbeb4a68e8441cce04442529af6c9cd233411cc4457887dcfcb93019b56323ca18 WHIRLPOOL f6e65ec2755ee4c890480cb54454aa11a0f6e230ace4a7790c9f40bf3c7a862fc7e68515dfb32e1f928cb5a639d4b4c54f618bc79dbc58e422f1f9e9aeb2b6f3 +EBUILD bitcoind-0.10.0-r1.ebuild 2016 SHA256 a4609e1f0ccc5df6d519a3ca96f7047a2773791ae5db678d8174d4e81a854f39 SHA512 f59aef0bc89b8558bba089aa58523beeddce721a097c644f21156e163627765ccd144776bd657a5205397e80ee7f771cc073a1a59609dca6ee8d35322d866b10 WHIRLPOOL 78a2fd20df29a859a1d360744762f24ad8d5039a278459b82f62ef57c5d4852b2fc365a4ae293dc19cac7806ac395f1bdacbffe379bd95afbe42022abd7178bf EBUILD bitcoind-0.8.6-r2.ebuild 2898 SHA256 556bb6296952876f47a4a9eac1a7acdc6f21eb4844e3f933eebd0d2f3bc6b490 SHA512 98c50fe05521128e415bf8b4d3d17cf38b49c508d6ce0065e8494c4b90a7b885562f1d53af0003444c181509819fd7918ae908871ddd6b9411862d0be7925cd0 WHIRLPOOL 31642b1f5399b334313c61baae8a6a5fc6460f5b77762abe3912133702278d404a783586f358f4f679849283c6a81c381ecbfac6b204ba5b21722da695212bd0 EBUILD bitcoind-0.9.3-r1.ebuild 2843 SHA256 09e92c05b8ba310525a2e8abfb3502c7931e86b328b1842daab316ec66bd8f89 SHA512 d9fb4bfcf828c9c2e1844a21bae41ed677a8dadb3048b4e33bfa62a5d19ffe78d21c0f3fadc80d688cfe9dcbea26cc0a6f009f84569eda72d9bf589688a5b11d WHIRLPOOL 61d28949152cb693affb300777e20b1b5272d887d041fc4b2cf66030f810b58528864acb561ed8ae8b53672db8221ba8ca439f2f62d9c97a1f34ceb3782aec05 EBUILD bitcoind-0.9.4.ebuild 2795 SHA256 2761986428596808c8497ce96ddc4e0dd6d16c1406f881132250ec7adb78cad8 SHA512 5a473e883747930b9a142b4dc702b5384fb03ea46577fc8bc0bcccc4ec938fafd9d53ce558977c180a0bfc97f5a1f9b84a0d62dbae40114f5bc70530acda4193 WHIRLPOOL 6ff096cff5488878ca78ecf535b0b681e9ac1037b4fdb6c0b78e7ec198d9b792c1131e35b786ef1fdecce3fa9030d996382bbc177e577a2582940c2ad9ea0697 -EBUILD bitcoind-9999.ebuild 1701 SHA256 51e29802020a03214af87328807de32127d6e3e8e91982287eaa8c88b347f8d0 SHA512 2539dc72d40ffb275a38c2e596cbd4f88c723f0d1ea53e7392165ba3204667e10e7f4f9806879b87e9deb9b304cb2e7fcd40bb2ab9068ea77bb057003525eb28 WHIRLPOOL 5218e8ac03efd05a1ff0ea9d007b9f9521a5169271cca1fdb3a457ae66fe8e0b96ef0a79942d4ef511f0b3789ec012013a8a83be6789740b22fda5fe27af0157 -MISC ChangeLog 22464 SHA256 80dd8e48610e6f130210d8459c44a1bb79707d050b11e63a80940cd943551b1f SHA512 5609fe19da2235636e79510d714584ed02ab9b0e6a314ccdb8ebf8de3a045b6ac10641811f33ca7d95947b2f505c3c0e1936303e6351d5dc4e5aece683f82519 WHIRLPOOL 527bc83850719f4d9c99124b06acca9e01fc6d73dd2f4a724370212406cbb5a001d8fca32968d1eb404bec81e8a78ca2d9e21339c5ebccb27125268d01369357 +EBUILD bitcoind-9999.ebuild 1735 SHA256 efa10b1b5d05fd86107f000e9ce8c4aa0672a3f91d3811359d4e5a1c2cab96b5 SHA512 0c87b7a1279d54e511868c86f5b1f93e1e05f3cc5519c425c3349850f7f598cc353b1b9d0a69483234c393e1c2c0c9a1eb13dca899bf853e35d1c539d7bcd2ca WHIRLPOOL 5ae604f02b62073da2126f860471f959e00f54f399303ec4ea3c280dab027fd68f1980e468ba3273a70fcfae34ffb8ff14dae30f65ec0fc7244315097a853423 +MISC ChangeLog 22800 SHA256 c3a8c061691a7f5d0a1cb0c798d74960351902892e2e0a73e290bf675e7a000a SHA512 b23899c9ddbf414ab430e653c9630659b315c3c7989c8325fe1820a91397d9dd08dd9714985d32ae3c5aafa4205024bff2356b951dc1c6132ed68163c28f81d0 WHIRLPOOL 9d6e7b11ccfe326cd144897a01c0791b8ca37c296881bd738ba803e187d63382f8563ef1d953317c201ff4ef3a9d1ba0b9e7c32434ac6d1dcf71eebead259238 MISC metadata.xml 1473 SHA256 10d1dedace964ae686531c3fae71f3a13f8e4f0c5895379085a7c691ba2d1ce3 SHA512 6fcc957b7fad3380ba1c6b99ecbcfc9dc7d0113ebdb49a41896ffbaad5a486688ac3fa10d424d31ef4b039b5d81c738f9ac0430142956221b2a951b8dbf68e83 WHIRLPOOL 42cb131078b6b96be6518633cd3b542fcb10cc2c0821628254e083c2f7ca948f611b1197df44e28d07e213aa99e9fbcacebce40946cb0a5260edce975ee654fe -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0 +Version: GnuPG v2 -iQJ8BAEBCABmBQJU8JhiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMkRCMDNGRDg4MkUwQTczOTgwMkE3RUEx -RjU1NzRDRUExQkE5Mjk1AAoJEB9VdM6hupKV7T4P/A/UKSDdsRiVHMvT2mVPUIbz -4P7aKDIL9c2QooCsV0aTRuNGkTLAPd+gSq7VfjE62kc9EYwh1JRCwogXTvLnse9m -oBvg6NJz/7e6Fm2a7FAB0y7NKxS9+tDlz+hZHmxPE+5WqbqbnZJqRTLkwb4Eluyr -bpCev8meI29shT2mWGEtAARk2mDmZbtrOjUoOsq/J7u+b9sM5eLzlGLskUXLux+E -jsKpL2zvoyjXjqzu264UgpeVl5sf2/L36kj6o3EnGCJY4Vfqeg/Vvu6AfiPIaRX8 -D4cJXnYfT7J4Si6gA1IobBj2zjfrxwACMMHqEDPxgJ5ZUKzdYqMapJUraV1Pzwj6 -CWfuWx/R/iyPug09QjUi7N8rdOA+NGcuxwGNocQtryKnrTACHVvVKp43Y8wO4Mnw -Yyxe6hyU8IeKBw1yhwx7qbu6Er7o9ldpHCwqF+4rN/AIY10dThwa51WUK2SbocKI -9Q8jkG5rJeNKhQvem1Vl9ma3bjCaxNT8th3NtCNvAHWllvKlU52yTWTVLVahHoqJ -gDaH0EKvAg019jHKmlDFeiZh7O97DoAtq17cFlL3BtB8ssV9z4eNmyYlso3ykEKQ -pCtXW+3OZzbBgQ3SpdwO842QuVvUtfk1bgcoT1Bz9uRjlNU2zOb3T0i5bq8WbtgV -mXvVgYVHFa79GHnJM2Gb -=7azV +iQIcBAEBCAAGBQJU9k5IAAoJEJOE+m71LUu6iS8P+wRRzqe9y/9oWj9rm7RczlBs +RYp1bSLiUT1kOkq1FGzSPxIN42jNlkczm9j5tavNtVTqg+7KEnaIyVkClk0WAKkE +jVUr4UFezmfsTOcBPlABHI1XCJW3v0Da0gWrEHNNAAIm+Wgk8JjPCcwGITnECAA/ +0CdVFc3Mb7CaykYZ9A4ABLNyJPchqeW3cXPggygTA2O6nSus3E6A8cMgqq1UbGPQ +MXgjaqPN50kCcgiI7KJqoXOSAkXzQGQNZhFnpqQ8w9PvHCFf/7QAb/lHobPrviit +hhBqTw+YtQZ8oV2GQgUgsoJBwNZi/h/FmFdIrkuKIjd2tV2d4+vifBR/XtOfFY3y +IQ5gbGxeKwt/TS6ec0roxy7UinMDeyEvNvjvbldgCK4uyv3HIGWUEH3Xc+Q8opa7 +oM1gq2L8Pv45cLwI9FBj/KHhtf2MeRQadZQOWHhxZv1n9Mmn3LSLKvUdT/CmWdSc +lKeOXQjbRBlh1b+ql1aOz+XDJBbmdnaU18w7sJ6iXaMfxYF43M2LnyHL6kge9edW +eCbgQggtNbLvqartPsG7nvfj4XwscsQUJfrQ9byKps3VfzwR3rSGU/lUaVSgVkoi ++R83mw1Rc5j22SU5mUnoBB2TVeM5OauckamoqAIvwnjS+9LpLJeiywEG/t168nN1 +EAeAMG7iSVBIaKVzwy1n +=Qg0O -----END PGP SIGNATURE----- diff --git a/net-p2p/bitcoind/bitcoind-0.10.0.ebuild b/net-p2p/bitcoind/bitcoind-0.10.0-r1.ebuild index 6ba032d3ee9b..13155130c56a 100644 --- a/net-p2p/bitcoind/bitcoind-0.10.0.ebuild +++ b/net-p2p/bitcoind/bitcoind-0.10.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 2010-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.10.0.ebuild,v 1.5 2015/02/27 14:27:20 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.10.0-r1.ebuild,v 1.1 2015/03/04 00:11:48 blueness Exp $ EAPI=5 @@ -8,6 +8,8 @@ BITCOINCORE_COMMITHASH="047a89831760ff124740fe9f58411d57ee087078" BITCOINCORE_LJR_DATE="20150220" BITCOINCORE_IUSE="examples ljr logrotate test upnp +wallet xt zeromq" BITCOINCORE_POLICY_PATCHES="cpfp dcmp rbf spamfilter" +BITCOINCORE_NEED_LEVELDB=1 +BITCOINCORE_NEED_LIBSECP256K1=1 inherit bash-completion-r1 bitcoincore user systemd DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" @@ -16,8 +18,6 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~x86" RDEPEND=" - dev-libs/libsecp256k1 - virtual/bitcoin-leveldb logrotate? ( app-admin/logrotate ) @@ -30,6 +30,11 @@ pkg_setup() { enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" } +src_prepare() { + epatch "${FILESDIR}/${PV}-openrc-compat.patch" + bitcoincore_src_prepare +} + src_configure() { # NOTE: --enable-zmq actually disables it bitcoincore_conf \ @@ -44,8 +49,8 @@ src_install() { fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf fperms 600 /etc/bitcoin/bitcoin.conf - newconfd "${FILESDIR}/bitcoin.confd" ${PN} - newinitd "${FILESDIR}/bitcoin.initd-r1" ${PN} + newconfd "contrib/init/bitcoind.openrcconf" ${PN} + newinitd "contrib/init/bitcoind.openrc" ${PN} systemd_dounit "${FILESDIR}/bitcoind.service" keepdir /var/lib/bitcoin/.bitcoin @@ -61,11 +66,11 @@ src_install() { if use examples; then docinto examples - dodoc -r contrib/{bitrpc,pyminer,qos,spendfrom,tidy_datadir.sh} + dodoc -r contrib/{bitrpc,qos,spendfrom,tidy_datadir.sh} fi if use logrotate; then insinto /etc/logrotate.d - newins "${FILESDIR}/bitcoind.logrotate" bitcoind + newins "${FILESDIR}/bitcoind.logrotate-r1" bitcoind fi } diff --git a/net-p2p/bitcoind/bitcoind-9999.ebuild b/net-p2p/bitcoind/bitcoind-9999.ebuild index 811634d8bcd7..85560fc38443 100644 --- a/net-p2p/bitcoind/bitcoind-9999.ebuild +++ b/net-p2p/bitcoind/bitcoind-9999.ebuild @@ -1,10 +1,12 @@ # Copyright 2010-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-9999.ebuild,v 1.3 2015/02/23 21:31:45 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-9999.ebuild,v 1.4 2015/03/04 00:11:48 blueness Exp $ EAPI=5 BITCOINCORE_IUSE="examples logrotate test upnp +wallet" +BITCOINCORE_NEED_LEVELDB=1 +BITCOINCORE_NEED_LIBSECP256K1=1 inherit bash-completion-r1 bitcoincore user systemd DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" @@ -13,7 +15,6 @@ SLOT="0" KEYWORDS="" RDEPEND=" - virtual/bitcoin-leveldb logrotate? ( app-admin/logrotate ) diff --git a/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch b/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch new file mode 100644 index 000000000000..a7c31d680ba8 --- /dev/null +++ b/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch @@ -0,0 +1,24 @@ +--- contrib/init/bitcoind.openrc 2015-03-03 09:37:59.919728713 +0000 ++++ contrib/init/bitcoind.openrc 2015-03-03 09:38:08.109757531 +0000 +@@ -12,9 +12,11 @@ + BITCOIND_PIDDIR=${BITCOIND_PIDDIR:-/var/run/bitcoind} + BITCOIND_PIDFILE=${BITCOIND_PIDFILE:-${BITCOIND_PIDDIR}/bitcoind.pid} + BITCOIND_DATADIR=${BITCOIND_DATADIR:-${BITCOIND_DEFAULT_DATADIR}} +-BITCOIND_USER=${BITCOIND_USER:-bitcoin} ++BITCOIND_USER=${BITCOIND_USER:-${BITCOIN_USER:-bitcoin}} + BITCOIND_GROUP=${BITCOIND_GROUP:-bitcoin} + BITCOIND_BIN=${BITCOIND_BIN:-/usr/bin/bitcoind} ++BITCOIND_NICE=${BITCOIND_NICE:-${NICELEVEL:-0}} ++BITCOIND_OPTS="${BITCOIND_OPTS:-${BITCOIN_OPTS}}" + + name="Bitcoin Core Daemon" + description="Bitcoin crypto-currency p2p network daemon" +@@ -28,7 +30,7 @@ + + required_files="${BITCOIND_CONFIGFILE}" + start_stop_daemon_args="-u ${BITCOIND_USER} \ +- -N ${BITCOIND_NICE:-0} -w 2000" ++ -N ${BITCOIND_NICE} -w 2000" + pidfile="${BITCOIND_PIDFILE}" + retry=60 + diff --git a/net-p2p/bitcoind/files/bitcoind.logrotate-r1 b/net-p2p/bitcoind/files/bitcoind.logrotate-r1 new file mode 100644 index 000000000000..f9a4702720ab --- /dev/null +++ b/net-p2p/bitcoind/files/bitcoind.logrotate-r1 @@ -0,0 +1,8 @@ +/var/lib/bitcoin/.bitcoin/debug.log { + missingok + weekly + sharedscripts + postrotate + killall -HUP bitcoind + endscript +} |