From 613a808541ffef09264359be75feb865588cd1d4 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 26 May 2014 23:23:05 +0100 Subject: [PATCH] Fix ebuilds. Lower systemd service priority. Update stable branch. ebuild variable references fixed ebuild's cleaned up and slimmed down stable branch of btsync updated from 1.3.94 to 1.3.105 btsync binary install path corrected to Gentoo standard: /opt/ systemd service unit CPU & I/O priority lowered to idle systemd service units reference corrected btsync binary path OpenRC/init.d files tied up and reference corrected binary path Manifest file rebuilt --- net-p2p/btsync/Manifest | 26 +++++++------- net-p2p/btsync/btsync-1.1.70.ebuild | 29 +++++++-------- net-p2p/btsync/btsync-1.1.82.ebuild | 29 +++++++-------- net-p2p/btsync/btsync-1.2.82.ebuild | 29 +++++++-------- ...nc-1.3.94.ebuild => btsync-1.3.105.ebuild} | 29 +++++++-------- net-p2p/btsync/files/btsync.service | 7 ++-- net-p2p/btsync/files/btsync@.service | 7 ++-- net-p2p/btsync/files/btsync_initd | 36 ------------------- net-p2p/btsync/files/btsync_user.service | 7 ++-- .../files/{btsync_confd => conf.d/btsync} | 0 net-p2p/btsync/files/init.d/btsync | 30 ++++++++++------ 11 files changed, 100 insertions(+), 129 deletions(-) rename net-p2p/btsync/{btsync-1.3.94.ebuild => btsync-1.3.105.ebuild} (74%) delete mode 100644 net-p2p/btsync/files/btsync_initd rename net-p2p/btsync/files/{btsync_confd => conf.d/btsync} (100%) diff --git a/net-p2p/btsync/Manifest b/net-p2p/btsync/Manifest index b2cb870..c8011c8 100644 --- a/net-p2p/btsync/Manifest +++ b/net-p2p/btsync/Manifest @@ -1,26 +1,26 @@ -AUX btsync@.service 227 SHA256 642a86e82ae572413076aec85437c4e339eb3643f10028fc9b0bc55010864fe4 SHA512 bb80ec245e457769a2afe2b43c90a47a055fa0e9c07cfbe458e700690ce33dfaa39c98360ebbb424ea4500cc47c53801d76e817d159e4b50b78d885bf47ad8dd WHIRLPOOL 9a0cc2c7c1ce3a2aa94cab074dbe059ae24eb12c30264874e3e9088ad248c25a33b84de59324de3f652b16c5fa8834bcefa59db8e4ab9d7271266c153ba4b876 -AUX btsync.service 218 SHA256 dd9a145f089ec2420f31e9b5caf8277942c7b6f9c9b341f6707f1435d43cd165 SHA512 ba6f7301b3edc7f2a3c925d9951bb02846224e1892da7e18997a54162efc35b730a1a4da2747b886323f5cfd739f34f5e71851a668a6fbb11f1012eb1d1da543 WHIRLPOOL a7bca1c94ef6ccda8457417182c5686ebfa4a78a8716045daf633c8904b40af93414b6c1ccf2f1a93cb5c82dff4cc557ca3717d374c6a35b17d4710afe56111b -AUX btsync_confd 101 SHA256 4b49669c0900eb34bbe10c28f2c0ea2b55aa390faf321089cfb14fcbc0ff63aa SHA512 53450a2b14f99eb9ef2d6f5116798ce052e6e2360b61ca14aea390136a081226373e9a3d3d50941648050125b84828a530f95fd5faaf46334070f3273f033c72 WHIRLPOOL 3e9c05c1a5043e32d10bb338099a9ddf6e44cfa0a6a7f7bd39d7e20af8af85e092c38d66f3905883145c5e471f00dc6f63a111b4fe6b0b8bb1c77ddfa91c0039 -AUX btsync_initd 750 SHA256 94110485db134e3c0d8a891da3058ff26f8bba39f62a8a6756088ecfcc260a4c SHA512 8fd145f350d1f2294ebba117f2da4b0573ad17a09108867802680ee487b143f80a244755601deb7d9ca539dd5e009b53691e6ba8173ab4dabaabacef6789f5de WHIRLPOOL 9a1a15ecfcf4e1c84c42f361463f4035464082bfd6c8e04fb753303b497973329303214eda42d41ef1262128a8fd337b5941fbc9e0f13f4b549be4ae903bcad1 -AUX btsync_user.service 212 SHA256 dcef7bb26cd8c41df60f6970ed8d28839592f59046d4c1a53461c78edbbb7e8b SHA512 b9fbd3ec4de5f2aee42ebb0c7d18156acf8f84634a586c43f6fe8ff8061da3087ec2ef3fae0f1cb947e766e976f5250a0164f99dc35d918828088e61d48a6953 WHIRLPOOL 1c848008fb2e45c2cdcd42d5e0c315c4418ab60c5fc8cba9001c414423f0705e1237c341f71711586b53220dcc7e5013b7d98465ce7f0b8053c6a4ce922cf35c +AUX btsync.service 276 SHA256 a2d482f1dd3fa47ffa8a6a335f1595cf1311e9faccb423206466ee6f3d3eb05c SHA512 eb9d09103b12bbce7472a4145526159d25ed90e7e5d8743d6669ab633966bb647bb46f61f3b6f3648b2571f75aeee2cd3287063b725238447a870c6eef311dcc WHIRLPOOL 8405df44ea1581ce1b82f00045841369d64c8d090c2f4f40d6a9aab9ad347dcf556282007e106b6b01195ef80445be612d84cb04c355501e93587dcbff95e8b6 +AUX btsync_user.service 273 SHA256 02de03a305db627e1427a02d08effc0d7acf667795e96317b55167e5e08e7ded SHA512 c056021d7c00c033758d6e6255a3bcc1b50beb4acb4ab0cfa6a2f9b12010efdc8550435648aaebf310087fda4d2e6b6535c25acbc5d9b95c7c50a61fb953a0f8 WHIRLPOOL e6eab62c44483357a22e6e738798701e69a7ad1eb609b629a4b35b3492f2d139d90bc3f14a71807a54b18e3f006daee3668f039f367f0ea2b67c11530a584bbd +AUX btsync@.service 292 SHA256 fb5467875ef107b3ef4acc40ac4faa09b56fa5d00608d18618411e357c6ccab0 SHA512 bdb464c5a61b0b8db3cf8a2432ad27bef54ecdb95ac8abecc7cff63e179dd00c01488e1a5935a0a4313358d26a55f525a91733dddc4ac25cf7aefe710f1ca63d WHIRLPOOL d870774992158f13d3982a154611ee46bd8a8622ef68861a16166e881fb72188f05c01ba78a6fb9c768db05a7b5c519ef2b36da2c25d5e99662c984a3cd0325d +AUX conf.d/btsync 101 SHA256 4b49669c0900eb34bbe10c28f2c0ea2b55aa390faf321089cfb14fcbc0ff63aa SHA512 53450a2b14f99eb9ef2d6f5116798ce052e6e2360b61ca14aea390136a081226373e9a3d3d50941648050125b84828a530f95fd5faaf46334070f3273f033c72 WHIRLPOOL 3e9c05c1a5043e32d10bb338099a9ddf6e44cfa0a6a7f7bd39d7e20af8af85e092c38d66f3905883145c5e471f00dc6f63a111b4fe6b0b8bb1c77ddfa91c0039 +AUX init.d/btsync 1025 SHA256 8c53b5f142a32817cbc0a27c896c5623dfe7bd58f3c453e70f8acd76794b8f7c SHA512 5dbc96aaf7f394e6f4be5b700366bbd3cb2fde7c340982684f7460b07c5aeecb66516bd68549b958f8947d4ba6cf7e586996204429d659adcfd63dc9f62e1e7f WHIRLPOOL 87c66dd9e596cfea519f9fc9b62ea3ad6179d03065f98dc8746434863c115feec12da7623b036dc98844008d14408771e7b8d19e8b78a6d5798d394ad8ff064e DIST btsync_arm-1.1.70.tar.gz 1279220 SHA256 d79b3cf1881fcab95614693569c950d07dd93ffb70cefd901963dec54b75a05b SHA512 321079de894170eafdd8f923f2e1bfd0909904d350b678707f67566ed0afd1ef8af333270b791d6a429774d7e454da4ef064b417be36b338de2e53599e699bd3 WHIRLPOOL f6499199eae078bc7609aa190a61800866dffbc40fcf08f1ae65456ab6ebf36123e5542b3bbff39f0e61d7ae7161d97684ebed3f091145a90e6eb0b789d3db41 DIST btsync_arm-1.1.82.tar.gz 1287272 SHA256 c1502fb7d907caf105c7aa5403f4d575f86aa8ca57817ca90aa4ba1398181a3e SHA512 627e24495f3ee1f48f666a85df8d053f5f7ed51784c23d454410d468773c0d6251211ea188f8235b1cb3c14da20e01a5d4cfdc28b0e16de841a4c805ed2bfbe4 WHIRLPOOL 9d58ff32d68e969a64f2c51cae865b5372f69835b90855de61e927355e794d686760ddef8a651076a6bfb01e4269d15c1e2883f0910f7ac25c3c989097bdf4ed DIST btsync_arm-1.2.82.tar.gz 2244128 SHA256 e9f1a3aacfda8e1b5002228de134e5798ff4e0a69ca749fcde6f803c5b500885 SHA512 203806be2d7f066420b006a3eb3897a67d02fde4edef7778cbf6c17b057e8e5102aeefd08f446854fe7db0a595f2dc0468d6ea5b7d8db110a5d3fafc46656182 WHIRLPOOL 8746e9e924b48429d8847a3a190ebd5db9d9bea1b36c23a05d3e5258908741c3740c28d93d488608d3df36d7466da2d1887df30dd524e5c3bedbd9296c3efebc -DIST btsync_arm-1.3.94.tar.gz 2355923 SHA256 82f3e5a01c81723a2586e8db733127a91572527f7574425ba812b0fcafeba4d5 SHA512 a16412abea6ce7c08311771e30b1e30a354756081ca8f2765497c0ae55889f7dca8efe4bc7972a53ca632d83831d14075447d32072db0980c8260248b9a23495 WHIRLPOOL 59460634541ff6d10ff7cf5f2c67b4d2116ff77d7266b2e58e64dd75aa1ba6199239e13dd0d4a626ee37e05fc127a73683d106860785976ab4e26ea5e7f1d2f2 +DIST btsync_arm-1.3.105.tar.gz 3635899 SHA256 aea852b34fa2963156d1479db973da26b72feaf7731819ca76deb4604b783a6b SHA512 36065c327416fd759455b59dbe4486052a3f4ec39880bd879fc0e13e58c829d44068d9eeff1b97609cdbc98e561f980d1c94d088a241f2bb18a3dd7f370aed35 WHIRLPOOL 89da61b40321ab55397c101f492a72722f9c85f3eb68a56d42ccff08d03b34f199ebefc80cd59408e83254bda7d610de2a147c6ce1b4e24dba258455c0cf6bf2 DIST btsync_i386-1.1.70.tar.gz 1367784 SHA256 25161852b8eaddf50ae385771f79bac47818467bc5cabc539a64d985e8af4dc6 SHA512 ac18a91a2d9549388541c2c7dabcae1e8b04534115d3c7e5d93b3fe984c801ebdeed931d63d59e7e7e767587fe42d2bb80e6833127b4cf475d30130314f5c864 WHIRLPOOL a5b12b32a521b7f730b8e9cd1505ac4b7ccd56f0d5f91a1988192b32a539a48380d040d6485327153051708c4d5919d517202d90aaf3c8033bdb730b72981314 DIST btsync_i386-1.1.82.tar.gz 1375007 SHA256 1b163881631d008ea5472b1f03a49e96f2a107b9565c5d8ae48124042e3a4def SHA512 2f7f24989412945f1da18d88760e955fa55ca8e97a75e2e72e48a001e6a3d9253a7c0856e5b8dfc5bef9dcd8c405f76f1aed6f05fdb0ae7f2bdffe0c6f90a1a8 WHIRLPOOL daf2af288b1e55bd3700bfba600eab9b975ad3701cf41b921554bcc5760096c8afba90ef70a3e4972d73eaf92fd82815f0d19d36de55547529f0eba175b094bd DIST btsync_i386-1.2.82.tar.gz 2044500 SHA256 3a1ed93c2b27be0ca9711bd4736de3dd62d6527b1cbbbdfc0f124e0ea6b339ad SHA512 71d34dbb006ada48a51d3cb9528f62c1607d91b808cdb21b3b19b67c90fc5c85143b251dad48831941b5c93f95fba1d74e3a7a82e8b4bf2831bbfbf083c4402b WHIRLPOOL 6b65873441594bb449c50019e955a2ce6ac1fabc0fff4739f1467232b174b4c03df1cec9b29e236f1bcdef31e045640468ef681107b595434cd73c66b0e60bcf -DIST btsync_i386-1.3.94.tar.gz 2157170 SHA256 d39dbaf08c66f2dcdcf9c22c9a95727ba7da2030b092c5be1922f548190fb482 SHA512 d1abf01d7c5191590a50cb3445cae95cb0bcda8a1705dde3452eae588fa00995b8c766abb5a203dc5e6a073293f7db437a851c153f1f43cfe03c249772e66f02 WHIRLPOOL e1859c305f131b90e2a9a2d61f951a8a644ad3ca9b6039bc0d20ae53c8a5bb9784e4cc635727c1e25fb73ff79af2068d1397a7f34c25f4f59e407581f9d69f4c +DIST btsync_i386-1.3.105.tar.gz 3442149 SHA256 4a0c79bc9cc26091971c8bc886e389d5666cb6af2f44925cd859b759d75344a0 SHA512 3dff61669ad2953e0cd5bf5915e1858c5e2840d317d226069868c7b252d8e55ff5ea0ef8162509ef2d8f8c757fa3c3ad86f34aea010ce20636d8079b04b84b87 WHIRLPOOL 418bee6a968a0d93dbf1e342360018f7083f1a0208ef120882dfdbcd8acdc4a5ef174e21ab4809a85b985a04f24b369b597bb33a02e941fb4194f0dbb36330b3 DIST btsync_powerpc-1.1.70.tar.gz 1451029 SHA256 7d68783020627a019363c20d776aaf017bde023886989cac4bd96528fdae9faf SHA512 7f0e22d1cf10e7ebbae78e43cbd84d4d4de2b20478a6605534ee4c04ade68b2bbdea33049a9861cfd53badc4e7e7b2ff24e35c3156d3cf62a8828300094ba5ba WHIRLPOOL ab33985672e29c69c7aaa9729c93dd35a78152fde6b64adaba8a04f93f3ef4006defe240d127e33f6f348a7b825a3ce2e642228f43beb64ecd2fb811f300bdf3 DIST btsync_powerpc-1.1.82.tar.gz 1458242 SHA256 076f92c1b4340eb1283e053065df6156b43730c5603961eb6f127d38792aebf3 SHA512 ad96616c3b2edcb5a7829a4d9dd4d82aa3bf60d66d1c0b0f40697510786e83682c7348dd4be6ec35e553544d3ccadf08e1f5f073032995b87cfc8aa586570fe7 WHIRLPOOL 0eb2969d376b172a7550c1f050cfe55c817a1cd12282e0ec8bc95fb0f0ad860494d3afb53e328d8a482e39cf4f4d813cf9ef63d1c7dfcefbcd2728a2f9764d7c DIST btsync_powerpc-1.2.82.tar.gz 2188642 SHA256 d89ed515e968a9f92784b2e65ad23ff4488ea36ddc826651dce5ac78ae37d90b SHA512 85c7e9674dd85cef3587dcac29ada8dc6bc2b8ba63d70fea8924384ac15aaa0e38a6e7f85ce52b8c804dd364f1fd4c2de85d327b0bbebbf232b7b70203328e01 WHIRLPOOL abc5202f87cb3135277b9933c7b13e8558fd40b6cde5703fb849801ad60eae3694ff661a13beea7d559b6dfc6e9420c6a344e63f76452e053b1537ef5cd8819b -DIST btsync_powerpc-1.3.94.tar.gz 2293294 SHA256 7b274385a80a819b51b49f9e3bb1916d85f9453116603540c7ca9a4cb793c06f SHA512 762f4ed5f8ec5830cf1266fae02460622b4c06b82f0aa733024dfb0e544cd9085394f0a3f80529ddd02afc84375a646fc975a1c75ae3731c5f016aa31fc35471 WHIRLPOOL 392ac4520059e782d4faebba9a43b776ca6529edeb4be1ba7c1ace96cd905184606816140525efbd895b690587ff75ad6d3281ab51bf1e62707c8bd6a6fafc19 +DIST btsync_powerpc-1.3.105.tar.gz 3576841 SHA256 5c7af7555bbf637817e141e999bbd21273f43ac0d6e5040194b63894c0a7719a SHA512 302061fc8776c893e627adf081135bf4fcbdb902c92262210c1380198754fbcef86da9177f403785a3e903cb4201aca021da64cbe5057267eb7a077bfc235555 WHIRLPOOL 12a4514cd2d1a8afd7f6a913a76c064b3d9e33136d0c9038ca50024d575756c7a37dff520a4ded9432ae4a3da5d4b7e8811b6d48a694b444322ac2e2f8d626bc DIST btsync_x64-1.1.70.tar.gz 1449204 SHA256 7197ac1a23ff593b1cc6ef124cb2555376aac4637f368483ed2e0d5230b3dec2 SHA512 768f960935cacd1ccc655e9182ada0ddf61d4b8fd0dc8a5386182a46014e6bd11f1743a78884f17b9d3b04d6668bb98c56bce8019c902a216ed26d65a60492c7 WHIRLPOOL 6261713d643ef0eb9816837975a0d0af534819cf978de8370b088c93bd86770f3053c0976e27aee32fc00b0ecf1a9a01cf083e95c1325dcd632896a6e6b5bf2c DIST btsync_x64-1.1.82.tar.gz 1457129 SHA256 3cefbef2af6323dfdb7ccfaad32f7d0c8ed5cb4ebbab58936a479f0c30804bbb SHA512 513048820cdfa02bf90bb731479baf84f7e43947cd3794d3d867f785ed7750b50518b5ed1f5447d78d563eaf25079669293d4da66624c0c8cc501213e1ec8808 WHIRLPOOL 7eab7873aefb8ef704082d782c2df4b3193ce9a0073e725180e3d1c4daa721d1a5110de698cfe07882351ed96ca4a87e84cc3b0ed2e8959d04aed0491a0d08cb DIST btsync_x64-1.2.82.tar.gz 2218854 SHA256 2a87c4ec255b3669decb9746d54f52ec7cc3bb019e9ba7f2f9bc9fb215d31933 SHA512 e1b47e13d35080c4f1275bc671581ce13690ca30ca7bbd6ce8d3598e35c79939b9a2d20aab2c7d566d10f603758487d670081e0bec8207039f90eca881d4c526 WHIRLPOOL ea05e594378e8ba6cd4f1f2429830b04cd8e3b4ac763fc2d9fb9f76e9075a59560123ba6112fd1e55c53f2a6b9da37cb737acdcba1881006b9fff2b11b6d1d81 -DIST btsync_x64-1.3.94.tar.gz 2328717 SHA256 3e1681379206fd5b857a3bb89367e7496e42a69bdceb12097a93f04236076af5 SHA512 9a44abf4386247fd18462780528d7e62a84599fc6f1439f7a453ad0e4795e2db161a7d18057fa1cf228513123e8df4e87fa7978b436381d1c72ef0a95238e37f WHIRLPOOL 586007436a55591442bf9de4eeb99ac2c0b915e7dfe3f616c66eca3bafe4cad17571aaa4b7a50e326c072b7261784ee83b4099f97a2209156552efd8325afced -EBUILD btsync-1.1.70.ebuild 2417 SHA256 16bac57bffbf25e192e73230b2412d66dd651c99c2af6bccfaa3fdb9f30a9fa4 SHA512 321df7d575f2f19a14cc5bb3ecf94859fa5710777cd8c16109fffec5da15c4a4b1cc55ee66e5c2ee70fd81723c610548ecb456bacfad109fcec9461f5824e227 WHIRLPOOL 8b874b2cd3696d217c10674d8a1f2420b19c54a55b8b22f3c2ca51fc38a2a390db1fb77687afa577c71d689d8e10d76c04768f800abb19d99d7b2b7789e7a460 -EBUILD btsync-1.1.82.ebuild 2417 SHA256 16bac57bffbf25e192e73230b2412d66dd651c99c2af6bccfaa3fdb9f30a9fa4 SHA512 321df7d575f2f19a14cc5bb3ecf94859fa5710777cd8c16109fffec5da15c4a4b1cc55ee66e5c2ee70fd81723c610548ecb456bacfad109fcec9461f5824e227 WHIRLPOOL 8b874b2cd3696d217c10674d8a1f2420b19c54a55b8b22f3c2ca51fc38a2a390db1fb77687afa577c71d689d8e10d76c04768f800abb19d99d7b2b7789e7a460 -EBUILD btsync-1.2.82.ebuild 2417 SHA256 16bac57bffbf25e192e73230b2412d66dd651c99c2af6bccfaa3fdb9f30a9fa4 SHA512 321df7d575f2f19a14cc5bb3ecf94859fa5710777cd8c16109fffec5da15c4a4b1cc55ee66e5c2ee70fd81723c610548ecb456bacfad109fcec9461f5824e227 WHIRLPOOL 8b874b2cd3696d217c10674d8a1f2420b19c54a55b8b22f3c2ca51fc38a2a390db1fb77687afa577c71d689d8e10d76c04768f800abb19d99d7b2b7789e7a460 -EBUILD btsync-1.3.94.ebuild 2417 SHA256 16bac57bffbf25e192e73230b2412d66dd651c99c2af6bccfaa3fdb9f30a9fa4 SHA512 321df7d575f2f19a14cc5bb3ecf94859fa5710777cd8c16109fffec5da15c4a4b1cc55ee66e5c2ee70fd81723c610548ecb456bacfad109fcec9461f5824e227 WHIRLPOOL 8b874b2cd3696d217c10674d8a1f2420b19c54a55b8b22f3c2ca51fc38a2a390db1fb77687afa577c71d689d8e10d76c04768f800abb19d99d7b2b7789e7a460 +DIST btsync_x64-1.3.105.tar.gz 3615069 SHA256 83dc9687bb4ec0dbc0b4e4304e18f42007064b58d29148b11c5fdca0dbffe033 SHA512 29f3a36e7ff9ec281e3da71b48dd6182193e31b883aebef7783ee54dae9342987b3066d77187f0b5e7c278f20b2a91a5d28719fe497a99665180fd18304f8985 WHIRLPOOL edf8a5077c66c24516132bfe3fd9a3198e0025793841ad390695357c7a412c8b51bfd52bbfac8cd537b771c196156d3cff5586c80f0778c7c20a11fc4ea4f2ee +EBUILD btsync-1.1.70.ebuild 2223 SHA256 d0c4ab4c6f3b814bc9dbe4fdd999a5f22fe49c25bb77b82670e94d0c4e3feb50 SHA512 77574cf968c1881c49f6ec277b9c57fc7459b90a42cbd20dd72ec43ad53efbcbd4b7fcc04daa8de78f2bdd71938a10854043eea8facce9f5d5a98452e43e4bba WHIRLPOOL 55b41d6caad450ecb74cfc39e6173440ce2d1a72f11b4df79ed0add6b27ef3db445e27f264e280f46cfb642543ee0b39363ee9229a2f454ae9a92183179371c0 +EBUILD btsync-1.1.82.ebuild 2223 SHA256 d0c4ab4c6f3b814bc9dbe4fdd999a5f22fe49c25bb77b82670e94d0c4e3feb50 SHA512 77574cf968c1881c49f6ec277b9c57fc7459b90a42cbd20dd72ec43ad53efbcbd4b7fcc04daa8de78f2bdd71938a10854043eea8facce9f5d5a98452e43e4bba WHIRLPOOL 55b41d6caad450ecb74cfc39e6173440ce2d1a72f11b4df79ed0add6b27ef3db445e27f264e280f46cfb642543ee0b39363ee9229a2f454ae9a92183179371c0 +EBUILD btsync-1.2.82.ebuild 2223 SHA256 d0c4ab4c6f3b814bc9dbe4fdd999a5f22fe49c25bb77b82670e94d0c4e3feb50 SHA512 77574cf968c1881c49f6ec277b9c57fc7459b90a42cbd20dd72ec43ad53efbcbd4b7fcc04daa8de78f2bdd71938a10854043eea8facce9f5d5a98452e43e4bba WHIRLPOOL 55b41d6caad450ecb74cfc39e6173440ce2d1a72f11b4df79ed0add6b27ef3db445e27f264e280f46cfb642543ee0b39363ee9229a2f454ae9a92183179371c0 +EBUILD btsync-1.3.105.ebuild 2223 SHA256 d0c4ab4c6f3b814bc9dbe4fdd999a5f22fe49c25bb77b82670e94d0c4e3feb50 SHA512 77574cf968c1881c49f6ec277b9c57fc7459b90a42cbd20dd72ec43ad53efbcbd4b7fcc04daa8de78f2bdd71938a10854043eea8facce9f5d5a98452e43e4bba WHIRLPOOL 55b41d6caad450ecb74cfc39e6173440ce2d1a72f11b4df79ed0add6b27ef3db445e27f264e280f46cfb642543ee0b39363ee9229a2f454ae9a92183179371c0 MISC metadata.xml 568 SHA256 b1d3e7890f091cd427ad778d1e5b427c169aa2224cd96186cc8c1b710d2195e5 SHA512 a2b5cb56caea4f5288058d760e12a294ba644cda7e5cb0dc5350bfa077e6f7c09841701aa20e1124d49f554028dee4d8db7c8ae006f8c2ee9682654e1ae92fd9 WHIRLPOOL 061bcd4b8650a7b26e1c0361a3dea5df2470228d87f51c4e5d15bfaccc83f7171acb1818d3b46466980c1b3d35a7eacf37b24ba9f09704297d7244f8af65fe99 diff --git a/net-p2p/btsync/btsync-1.1.70.ebuild b/net-p2p/btsync/btsync-1.1.70.ebuild index c3332a0..beab723 100644 --- a/net-p2p/btsync/btsync-1.1.70.ebuild +++ b/net-p2p/btsync/btsync-1.1.70.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit eutils pax-utils user flag-o-matic multilib autotools pam systemd versionator -DESCRIPTION="Sync stuff via BitTorrent" +DESCRIPTION="Sync files & folders using BitTorrent protocol" HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html" SRC_URI="amd64? ( http://syncapp.bittorrent.com/${PV}/${PN}_x64-${PV}.tar.gz ) x86? ( http://syncapp.bittorrent.com/${PV}/${PN}_i386-${PV}.tar.gz ) @@ -24,36 +24,33 @@ RDEPEND="${DEPEND}" S="${WORKDIR}" -QA_PREBUILT="usr/bin/btsync" - +QA_PREBUILT="/opt/${PN}/" src_install() { dodoc "${S}"/LICENSE.TXT - newconfd "${FILESDIR}/btsync_confd" btsync - "{S}/btsync" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "btsync.conf" + doconfd "${FILESDIR}/conf.d/${PN}" + "${S}/${PN}" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "${PN}.conf" insinto /etc - doins "btsync.conf" + doins "${PN}.conf" # system-v-init support - newinitd "${FILESDIR}/btsync_initd" btsync + doinitd "${FILESDIR}/init.d/${PN}" # systemd support systemd_dounit "${FILESDIR}/btsync.service" - systemd_newunit "${FILESDIR}/btsync.service" 'btsync.service' systemd_dounit "${FILESDIR}/btsync@.service" - systemd_newunit "${FILESDIR}/btsync@.service" 'btsync@.service' systemd_dounit "${FILESDIR}/btsync_user.service" - systemd_newunit "${FILESDIR}/btsync_user.service" 'btsync_user.service' - into /usr/ - dobin btsync + + exeinto "/opt/${PN}/" + doexe "${PN}" } pkg_preinst() { - enewgroup btsync - enewuser btsync -1 /bin/false /dev/null btsync - dodir "/run/btsync" - fowners btsync:btsync "/run/btsync" + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /dev/null "${PN}" + dodir "/run/${PN}" + fowners "${PN}":"${PN}" "/run/${PN}" } pkg_postinst() { diff --git a/net-p2p/btsync/btsync-1.1.82.ebuild b/net-p2p/btsync/btsync-1.1.82.ebuild index c3332a0..beab723 100644 --- a/net-p2p/btsync/btsync-1.1.82.ebuild +++ b/net-p2p/btsync/btsync-1.1.82.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit eutils pax-utils user flag-o-matic multilib autotools pam systemd versionator -DESCRIPTION="Sync stuff via BitTorrent" +DESCRIPTION="Sync files & folders using BitTorrent protocol" HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html" SRC_URI="amd64? ( http://syncapp.bittorrent.com/${PV}/${PN}_x64-${PV}.tar.gz ) x86? ( http://syncapp.bittorrent.com/${PV}/${PN}_i386-${PV}.tar.gz ) @@ -24,36 +24,33 @@ RDEPEND="${DEPEND}" S="${WORKDIR}" -QA_PREBUILT="usr/bin/btsync" - +QA_PREBUILT="/opt/${PN}/" src_install() { dodoc "${S}"/LICENSE.TXT - newconfd "${FILESDIR}/btsync_confd" btsync - "{S}/btsync" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "btsync.conf" + doconfd "${FILESDIR}/conf.d/${PN}" + "${S}/${PN}" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "${PN}.conf" insinto /etc - doins "btsync.conf" + doins "${PN}.conf" # system-v-init support - newinitd "${FILESDIR}/btsync_initd" btsync + doinitd "${FILESDIR}/init.d/${PN}" # systemd support systemd_dounit "${FILESDIR}/btsync.service" - systemd_newunit "${FILESDIR}/btsync.service" 'btsync.service' systemd_dounit "${FILESDIR}/btsync@.service" - systemd_newunit "${FILESDIR}/btsync@.service" 'btsync@.service' systemd_dounit "${FILESDIR}/btsync_user.service" - systemd_newunit "${FILESDIR}/btsync_user.service" 'btsync_user.service' - into /usr/ - dobin btsync + + exeinto "/opt/${PN}/" + doexe "${PN}" } pkg_preinst() { - enewgroup btsync - enewuser btsync -1 /bin/false /dev/null btsync - dodir "/run/btsync" - fowners btsync:btsync "/run/btsync" + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /dev/null "${PN}" + dodir "/run/${PN}" + fowners "${PN}":"${PN}" "/run/${PN}" } pkg_postinst() { diff --git a/net-p2p/btsync/btsync-1.2.82.ebuild b/net-p2p/btsync/btsync-1.2.82.ebuild index c3332a0..beab723 100644 --- a/net-p2p/btsync/btsync-1.2.82.ebuild +++ b/net-p2p/btsync/btsync-1.2.82.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit eutils pax-utils user flag-o-matic multilib autotools pam systemd versionator -DESCRIPTION="Sync stuff via BitTorrent" +DESCRIPTION="Sync files & folders using BitTorrent protocol" HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html" SRC_URI="amd64? ( http://syncapp.bittorrent.com/${PV}/${PN}_x64-${PV}.tar.gz ) x86? ( http://syncapp.bittorrent.com/${PV}/${PN}_i386-${PV}.tar.gz ) @@ -24,36 +24,33 @@ RDEPEND="${DEPEND}" S="${WORKDIR}" -QA_PREBUILT="usr/bin/btsync" - +QA_PREBUILT="/opt/${PN}/" src_install() { dodoc "${S}"/LICENSE.TXT - newconfd "${FILESDIR}/btsync_confd" btsync - "{S}/btsync" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "btsync.conf" + doconfd "${FILESDIR}/conf.d/${PN}" + "${S}/${PN}" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "${PN}.conf" insinto /etc - doins "btsync.conf" + doins "${PN}.conf" # system-v-init support - newinitd "${FILESDIR}/btsync_initd" btsync + doinitd "${FILESDIR}/init.d/${PN}" # systemd support systemd_dounit "${FILESDIR}/btsync.service" - systemd_newunit "${FILESDIR}/btsync.service" 'btsync.service' systemd_dounit "${FILESDIR}/btsync@.service" - systemd_newunit "${FILESDIR}/btsync@.service" 'btsync@.service' systemd_dounit "${FILESDIR}/btsync_user.service" - systemd_newunit "${FILESDIR}/btsync_user.service" 'btsync_user.service' - into /usr/ - dobin btsync + + exeinto "/opt/${PN}/" + doexe "${PN}" } pkg_preinst() { - enewgroup btsync - enewuser btsync -1 /bin/false /dev/null btsync - dodir "/run/btsync" - fowners btsync:btsync "/run/btsync" + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /dev/null "${PN}" + dodir "/run/${PN}" + fowners "${PN}":"${PN}" "/run/${PN}" } pkg_postinst() { diff --git a/net-p2p/btsync/btsync-1.3.94.ebuild b/net-p2p/btsync/btsync-1.3.105.ebuild similarity index 74% rename from net-p2p/btsync/btsync-1.3.94.ebuild rename to net-p2p/btsync/btsync-1.3.105.ebuild index c3332a0..beab723 100644 --- a/net-p2p/btsync/btsync-1.3.94.ebuild +++ b/net-p2p/btsync/btsync-1.3.105.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit eutils pax-utils user flag-o-matic multilib autotools pam systemd versionator -DESCRIPTION="Sync stuff via BitTorrent" +DESCRIPTION="Sync files & folders using BitTorrent protocol" HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html" SRC_URI="amd64? ( http://syncapp.bittorrent.com/${PV}/${PN}_x64-${PV}.tar.gz ) x86? ( http://syncapp.bittorrent.com/${PV}/${PN}_i386-${PV}.tar.gz ) @@ -24,36 +24,33 @@ RDEPEND="${DEPEND}" S="${WORKDIR}" -QA_PREBUILT="usr/bin/btsync" - +QA_PREBUILT="/opt/${PN}/" src_install() { dodoc "${S}"/LICENSE.TXT - newconfd "${FILESDIR}/btsync_confd" btsync - "{S}/btsync" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "btsync.conf" + doconfd "${FILESDIR}/conf.d/${PN}" + "${S}/${PN}" --dump-sample-config | sed 's:/home/user/\.sync:/var/lib/btsync:g' > "${PN}.conf" insinto /etc - doins "btsync.conf" + doins "${PN}.conf" # system-v-init support - newinitd "${FILESDIR}/btsync_initd" btsync + doinitd "${FILESDIR}/init.d/${PN}" # systemd support systemd_dounit "${FILESDIR}/btsync.service" - systemd_newunit "${FILESDIR}/btsync.service" 'btsync.service' systemd_dounit "${FILESDIR}/btsync@.service" - systemd_newunit "${FILESDIR}/btsync@.service" 'btsync@.service' systemd_dounit "${FILESDIR}/btsync_user.service" - systemd_newunit "${FILESDIR}/btsync_user.service" 'btsync_user.service' - into /usr/ - dobin btsync + + exeinto "/opt/${PN}/" + doexe "${PN}" } pkg_preinst() { - enewgroup btsync - enewuser btsync -1 /bin/false /dev/null btsync - dodir "/run/btsync" - fowners btsync:btsync "/run/btsync" + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /dev/null "${PN}" + dodir "/run/${PN}" + fowners "${PN}":"${PN}" "/run/${PN}" } pkg_postinst() { diff --git a/net-p2p/btsync/files/btsync.service b/net-p2p/btsync/files/btsync.service index 0ffff45..e5ec73d 100644 --- a/net-p2p/btsync/files/btsync.service +++ b/net-p2p/btsync/files/btsync.service @@ -1,11 +1,14 @@ [Unit] -Description=Bittorent Sync service +Description=Bittorrent Sync service After=network.target [Service] +Nice=19 +IOSchedulingClass=idle +IOSchedulingPriority=7 User=btsync Group=btsync -ExecStart=/usr/bin/btsync --config /etc/btsync.conf --nodaemon +ExecStart=/opt/btsync/btsync --config /etc/btsync.conf --nodaemon Restart=on-abort [Install] diff --git a/net-p2p/btsync/files/btsync@.service b/net-p2p/btsync/files/btsync@.service index f01610b..2f9d3dd 100644 --- a/net-p2p/btsync/files/btsync@.service +++ b/net-p2p/btsync/files/btsync@.service @@ -1,10 +1,13 @@ [Unit] -Description=Bittorent Sync service for %i +Description=Bittorrent Sync service for %i After=network.target [Service] +Nice=19 +IOSchedulingClass=idle +IOSchedulingPriority=7 User=%i -ExecStart=/usr/bin/btsync --config /home/%i/.config/btsync/btsync.conf --nodaemon +ExecStart=/opt/btsync/btsync --config /home/%i/.config/btsync/btsync.conf --nodaemon Restart=on-abort [Install] diff --git a/net-p2p/btsync/files/btsync_initd b/net-p2p/btsync/files/btsync_initd deleted file mode 100644 index ebd0fbf..0000000 --- a/net-p2p/btsync/files/btsync_initd +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -PIDFILE="/run/btsync/btsync.pid" - -depend() { - need localmount net - after bootmisc -} - -start() { - if [ ! -d /run/btsync ]; then - mkdir /run/btsync - chown "${BTSYNC_USER}:${BTSYNC_GROUP}" /run/btsync - fi - - ebegin "Starting btsync" - start-stop-daemon \ - --start \ - --pidfile "${PIDFILE}" \ - --user "${BTSYNC_USER}" \ - --group "${BTSYNC_GROUP}" \ - --exec /usr/bin/btsync \ - -- --config /etc/btsync.conf - eend $? -} - -stop() { - ebegin "Stopping btsync" - start-stop-daemon \ - --stop \ - --pidfile "${PIDFILE}" - eend $? -} diff --git a/net-p2p/btsync/files/btsync_user.service b/net-p2p/btsync/files/btsync_user.service index f1abcec..c6aea15 100644 --- a/net-p2p/btsync/files/btsync_user.service +++ b/net-p2p/btsync/files/btsync_user.service @@ -1,9 +1,12 @@ [Unit] -Description=Bittorent Sync per-user service +Description=Bittorrent Sync user service After=network.target [Service] -ExecStart=/usr/bin/btsync --config %h/.config/btsync/btsync.conf --nodaemon +Nice=19 +IOSchedulingClass=idle +IOSchedulingPriority=7 +ExecStart=/opt/btsync/btsync --config %h/.config/btsync/btsync.conf --nodaemon Restart=on-abort [Install] diff --git a/net-p2p/btsync/files/btsync_confd b/net-p2p/btsync/files/conf.d/btsync similarity index 100% rename from net-p2p/btsync/files/btsync_confd rename to net-p2p/btsync/files/conf.d/btsync diff --git a/net-p2p/btsync/files/init.d/btsync b/net-p2p/btsync/files/init.d/btsync index 982f1d2..433ef35 100644 --- a/net-p2p/btsync/files/init.d/btsync +++ b/net-p2p/btsync/files/init.d/btsync @@ -2,25 +2,35 @@ # Copyright (C) 2013 Jonathan Vasquez # Distributed under the terms of the Simplified BSD License. -NAME="BitTorrent Sync" SYNC_NAME="btsync" SYNC_PATH="/opt/${SYNC_NAME}/" SYNC_BINARY="${SYNC_PATH}/${SYNC_NAME}" -SYNC_OPTS="--nodaemon --config /etc/${SYNC_NAME}/config" SYNC_PIDFILE="/var/run/${SYNC_NAME}.pid" +depend() { + need localmount net + after bootmisc +} + start() { - ebegin "Starting ${NAME}" + if [ ! -d /run/btsync ]; then + mkdir /run/btsync + chown "${BTSYNC_USER}:${BTSYNC_GROUP}" /run/btsync + fi - start-stop-daemon --start --exec "${SYNC_BINARY}" \ - --pidfile "${SYNC_PIDFILE}" --background \ - -- ${SYNC_OPTS} - - eend $? + ebegin "Starting ${SYNC_NAME}" + start-stop-daemon \ + --start \ + --pidfile "${PIDFILE}" \ + --user "${BTSYNC_USER}" \ + --group "${BTSYNC_GROUP}" \ + --exec "${SYNC_BINARY}" \ + -- --config "/etc/btsync.conf" + eend $? } stop() { - ebegin "Stopping ${NAME}" + ebegin "Stopping ${SYNC_NAME}" start-stop-daemon --stop --exec "${SYNC_BINARY}" \ --pidfile "${SYNC_PIDFILE}" @@ -29,7 +39,7 @@ stop() { } reload() { - ebegin "Reloading ${NAME}" + ebegin "Reloading ${SYNC_NAME}" start-stop-daemon --signal HUP --exec "${SYNC_BINARY}" \ --pidfile "${SYNC_PIDFILE}"