From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- net-p2p/Manifest.gz | Bin 7586 -> 7584 bytes net-p2p/dbhub/Manifest | 2 +- net-p2p/dbhub/dbhub-0.451-r1.ebuild | 40 ----------- net-p2p/dbhub/dbhub-0.451-r2.ebuild | 41 ++++++++++++ net-p2p/eiskaltdcpp/Manifest | 2 +- net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild | 2 +- net-p2p/gtk-gnutella/Manifest | 2 +- net-p2p/gtk-gnutella/gtk-gnutella-1.2.0-r1.ebuild | 2 +- net-p2p/opendchub/Manifest | 2 +- net-p2p/opendchub/opendchub-0.8.2-r1.ebuild | 56 ++++++++++++++++ net-p2p/opendchub/opendchub-0.8.2.ebuild | 49 -------------- net-p2p/resilio-sync/Manifest | 2 +- net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild | 78 ++++++++++++++++++++++ net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild | 74 -------------------- 14 files changed, 182 insertions(+), 170 deletions(-) delete mode 100644 net-p2p/dbhub/dbhub-0.451-r1.ebuild create mode 100644 net-p2p/dbhub/dbhub-0.451-r2.ebuild create mode 100644 net-p2p/opendchub/opendchub-0.8.2-r1.ebuild delete mode 100644 net-p2p/opendchub/opendchub-0.8.2.ebuild create mode 100644 net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild delete mode 100644 net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild (limited to 'net-p2p') diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz index 126a1120c71e..6cf9e2db6875 100644 Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ diff --git a/net-p2p/dbhub/Manifest b/net-p2p/dbhub/Manifest index ee215913fa54..526733dffaff 100644 --- a/net-p2p/dbhub/Manifest +++ b/net-p2p/dbhub/Manifest @@ -2,5 +2,5 @@ AUX dbhub-fix-buffer-overflows.patch 1406 BLAKE2B b2d3229fad49d6a281855714d62233 AUX dbhub-gentoo.patch 773 BLAKE2B 5d1cb68ceb4743924de2bf3a355d9f04812e1054ea2623f1141f516aaef13d566a2cd81d1355008500951eadfc5fcb32400442567c32b3b156cbb2f0236232f3 SHA512 76776212755ffd92a68c87752b1b4287bb71ae10539f9ef5b512dc3d2baa85abd62972f761f95358a5df0d5dc5552c4bc0dc741aaaec91a2324d38135c6ec471 AUX dbhub-no-dynaloader.patch 327 BLAKE2B 1a3396cddd596abcf15ee56968cbcd23c8b3db398ef2539b9768d9b89b1d34bcf1940c98361e96508f0e52344d3f049529ccd71874e6238ffcb7c5d52b20d7f3 SHA512 89c903d33120885238c201988150723b168576849a7c0f139208abdcbc1e2049ce098ac667e6bb1fed385660074b64bb292e0242667f01edf7b240616eb99ca0 DIST dbhub-0.451.tbz2 239911 BLAKE2B 064ab63f22ed3e0314ea7007acd63212bef33905079c342a8aad90f009a35ab874efb605320cce9a90d97c0fda3be96af97d6c44a5dffcd9d87d79cd07853fc8 SHA512 c596205b24204d0b319117aa0005cedb143a5d4859c2ea702a6141e82793ab6396c6e1903a3d0db7a164e8b9947471722b252be89df8ab05d36ffee5a1ac7a27 -EBUILD dbhub-0.451-r1.ebuild 832 BLAKE2B 096d27a6b1ebd550e46ef25e0234434b453916a5425534d4cb21d5888a9e57adee45c2ab43fe071c9896a35373157203486881bac2d2c3f5b76400d5aea91a04 SHA512 37d0baabb6c2336b7f90bd971161545c71e918d0785059d5940d755488b27ce899150727063400317bd273dd4ec4c37173849447b9f855507e041dfeec199bf6 +EBUILD dbhub-0.451-r2.ebuild 854 BLAKE2B 53e90693601cebb284726d2df74a9ffecd38f419770bde8d233219b71a3508a6dfc543ccc815772d1c18b497aefd22b29286dd9250fa5e6f982df9eaf5e32085 SHA512 bd3610e65648763067eef2633976ed52c691565de98441e8f037e8654335b25e899ebad0ff11fd46e61481e7a4d0cc2678568b501295e349ddef4f5f3316c382 MISC metadata.xml 334 BLAKE2B afa87ed972c04434a73523e402b94b7a3916840d413622f08cfd1845b6722c5a5a5fcdbfe851e261c79e18a82aba3062ba686bda6fff24fc1ffc6bc5dbe68006 SHA512 ef66366762d598b8f573cc84caa3def0261b44a32cec7c310c7a1edab76c35f7103359743cdca588e0a0a0877fe08a85f824145342b64974d8514f0bdc507769 diff --git a/net-p2p/dbhub/dbhub-0.451-r1.ebuild b/net-p2p/dbhub/dbhub-0.451-r1.ebuild deleted file mode 100644 index b1fef15f647a..000000000000 --- a/net-p2p/dbhub/dbhub-0.451-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic - -DESCRIPTION="Hub software for Direct Connect, fork of opendchub" -HOMEPAGE="https://sourceforge.net/projects/dbhub/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tbz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="debug nls perl switch-user" - -DEPEND=" - perl? ( dev-lang/perl ) - switch-user? ( sys-libs/libcap )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-gentoo.patch - "${FILESDIR}"/${PN}-no-dynaloader.patch - "${FILESDIR}"/${PN}-fix-buffer-overflows.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-flags -fcommon - econf \ - $(use_enable debug) \ - $(use_enable nls) \ - $(use_enable perl) \ - $(use_enable switch-user switch_user) -} diff --git a/net-p2p/dbhub/dbhub-0.451-r2.ebuild b/net-p2p/dbhub/dbhub-0.451-r2.ebuild new file mode 100644 index 000000000000..c091435449b1 --- /dev/null +++ b/net-p2p/dbhub/dbhub-0.451-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="Hub software for Direct Connect, fork of opendchub" +HOMEPAGE="https://sourceforge.net/projects/dbhub/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="debug nls perl switch-user" + +DEPEND=" + virtual/libcrypt:= + perl? ( dev-lang/perl:= ) + switch-user? ( sys-libs/libcap )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-no-dynaloader.patch + "${FILESDIR}"/${PN}-fix-buffer-overflows.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-flags -fcommon + econf \ + $(use_enable debug) \ + $(use_enable nls) \ + $(use_enable perl) \ + $(use_enable switch-user switch_user) +} diff --git a/net-p2p/eiskaltdcpp/Manifest b/net-p2p/eiskaltdcpp/Manifest index 951bb7eab15c..1056ff7b4b9f 100644 --- a/net-p2p/eiskaltdcpp/Manifest +++ b/net-p2p/eiskaltdcpp/Manifest @@ -1,4 +1,4 @@ DIST eiskaltdcpp-2.4.2.tar.xz 4320140 BLAKE2B 8b58a297934398f106bd200d451b5caab7664bee9dbeb34761571fbc4db065aea0cb7e47cbbd95f11eaceef94a0393b1b92bc832607d3b3b68b8acc84a28441c SHA512 f9309188b209636f205295d1686b6aea5a5b59c160e724a10bf642f051f18f64113978144725371ee67db762f6f573cbc95ae934d232918344a9f250c8c044ea -EBUILD eiskaltdcpp-2.4.2.ebuild 3725 BLAKE2B 212ad5cdbd414eeeaeda0f8620e968476fe20ef4a3f5d84ba5ad586c56018223b02e3f5d24d92d161be57866c26dbf374c30f430e0e5a985d7820793b9aa837e SHA512 1cf9f6346225365f3b224f01ec3df7bcc26086b56a82ed0d36cea90f380ea182ba43cfd48d79dd0c77cd6060b6603014dd4f6df1f7fe18c929fd9b559fc8649a +EBUILD eiskaltdcpp-2.4.2.ebuild 3739 BLAKE2B 0a441ad610e1bb3962f826fb97cf4faa902a4dafc64b0d0bb06f2f0d295d52604643c182ec2d20286d8cdebb40e8d8e7f5eb54147f481a4d8b7908d071662a87 SHA512 702caddfd0022f23ab81b558cedeed33b60267678833547c13ade977b52fe0f032b886174d7f1779460c80a72df8b0c6fa0b68c438bfd7dc9de72b9589615b4f EBUILD eiskaltdcpp-9999.ebuild 3676 BLAKE2B 5da6cc475341fe433275d4dfa05717f29299fa24d2ccc9bedc07d08737e7d2673c63366a0920daedd573b1c391c6e30ab8a63f285e8b038ec1437d36bf58031e SHA512 35bacb0fa48bba92023ef04e8164b583a8b3193b27442f7fc8329310c64b633df76f4d96ed4ec84a37c02498c18702421667d9b83c1faa6e3eb074c2cf724009 MISC metadata.xml 1238 BLAKE2B 6386c6dd1b0e559584966e27c31871d0aaaecbca31bc1ffde5c309f6d17a0855d106e7455e868716b5d01d0a76fbb9e856dc31cd8fa237aaade5b084596de043 SHA512 ce2a02bbaec3f47f91d812dfb25108220c678322e0f129764b0b7d158e51edf27562ab8598e9e93d4ad79eacb46669e9351d8dec95f50e63913d44fe72c756d9 diff --git a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild index 6a9de498c3ae..1449f415e750 100644 --- a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild +++ b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild @@ -7,7 +7,7 @@ LUA_COMPAT=( lua5-1 lua5-2 ) PLOCALES="be bg cs da de el en es eu fr hu ie it pl pt_BR ru sk sr sr@latin sv_SE tr uk vi zh_CN" -inherit cmake l10n lua-single xdg-utils toolchain-funcs +inherit cmake l10n lua-single strip-linguas xdg-utils toolchain-funcs [[ ${PV} = *9999* ]] && inherit git-r3 DESCRIPTION="Qt/DC++ based client for DirectConnect and ADC protocols" diff --git a/net-p2p/gtk-gnutella/Manifest b/net-p2p/gtk-gnutella/Manifest index 86c24fb7ae94..bef4402c52d1 100644 --- a/net-p2p/gtk-gnutella/Manifest +++ b/net-p2p/gtk-gnutella/Manifest @@ -1,3 +1,3 @@ DIST gtk-gnutella-1.2.0.tar.xz 20467452 BLAKE2B 8884c74e5c7ba52ce870289579cb26608fd8eb0fff14986fba40e200181e28908aa42c7a345f1c69dd5b1099135b4a0458d266abdf94361cc0a37b8949867322 SHA512 8d4da23acce22af42b39ca4af2ee4d250cadea9f8c549d712ffdfb797b53311ce8db9fcb38bc1f5547b7df32e95ebc53676bff1127805e867b23d0598b1fa4cd -EBUILD gtk-gnutella-1.2.0-r1.ebuild 1870 BLAKE2B 2a782033da8867a347c578cd5f0d30fe7078bbf0fae88acf5b4f0e98710059a1848abc06123a5a1a801ff772f2789f0dfccc5a097996d3a724d0f53e354eeca1 SHA512 368be41a4f5fc0738d7f9c32ff1fd29b3b652f18b76484740bf0ae1f94a61a292133441726d72ca24ec3bcdaefd111a1b482ca4106f90b47fb9be94527c65963 +EBUILD gtk-gnutella-1.2.0-r1.ebuild 1879 BLAKE2B 3a834f074c28a97d0577900d77d8b7e123487b60a55257b7a5f0b97c38b93ad66304eb272d552e6e3df3721f7967736391d0371a8804a35a1502d6ef01ea623d SHA512 7d0dcc558027da78e334e0a9caaea188393602f478987c67d7f5522dc6e7c223f2886ffecbdcac67b7576f213d3a19f4772190f7e00db23c5af5d92aeb07a9db MISC metadata.xml 299 BLAKE2B 8e823e2ff9ff16738e4f1d5a5e04264557ee9529ce035978e59a8d1371a8dba5485bde5095e05346ddca410d197e7fbb62f8b651bbe8cd0815396fdeda7935ed SHA512 ab18fa3318fdd64a0e4bff392a88d9f58b1c611c71ee090a767a4a25f75f273dc60a7cfeb7e386e5fbed548d982788c16654584938aec8ef5f6b11cd6d5b3c61 diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.0-r1.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.0-r1.ebuild index 8b1a4a31ab81..2d4f8c1d8292 100644 --- a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.0-r1.ebuild +++ b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit l10n toolchain-funcs +inherit strip-linguas toolchain-funcs IUSE="nls dbus ssl +gtk" diff --git a/net-p2p/opendchub/Manifest b/net-p2p/opendchub/Manifest index b7349eb75b93..e05f1284e2d1 100644 --- a/net-p2p/opendchub/Manifest +++ b/net-p2p/opendchub/Manifest @@ -1,5 +1,5 @@ AUX opendchub-0.8.2-telnet.patch 347 BLAKE2B fdd3052d7b139bdee2398f0517ada047836f601d0b351055a34f4797d4f29d7e9f536d7b6fef5ff7a4f7dbcb18561aa286830b7aac13c30300af431e341f1a82 SHA512 b8b45dc232a2ca94bff9fc3ab8e80188a9072d38bad30233fab10292911d002e542c0dee58745a4c98c500866e748021a314ddc8abb42ebfd3a39e12cba177ae AUX opendchub_setup.sh 556 BLAKE2B a09a961a7dadde775fb066c15fa665fe70faa86af66547f312f780f0c86ff7428e5984618a87aa676b0c4380049e16b3d9c682af5033737dfcd26cae52932df4 SHA512 392b0cca686b8a8ba43eeca43b109616ef29af38ffec1ae02e0a10fb45986a3f6141485dca708abe103080b9a38c867b0120bcf9cd83deb8f6c220b919ae29eb DIST opendchub-0.8.2.tar.gz 188551 BLAKE2B a92be519386a6582c955b9b4bff9c6accff700bc3707935004cc7312726c28d026965046aad27a2dbef1005e514c47f6f61d9de86ad69e5ee3a705be8c94a4be SHA512 ccb8c5c44ee1e2f4704d681a2f4e0f9fe4035f1984744ca40665abbaa41e8faa7a03b96fe39ca47c9683b4f64b4e833c186681090ac80d82202e7f68e6cb52df -EBUILD opendchub-0.8.2.ebuild 976 BLAKE2B aa3706f30a40ae7ee8d28c945b4a2efb5ce06bd7663a18cad89703777942d2d68210fbe1195ef3483bb44f3013cecfd3296edabbb24ebca057518a37f334cc5e SHA512 2dfd4b1e27011bb86d8e98fa529ca2eb12f6eaed7eb9db14a7251048ba007442d8a4bc4f92b3cea3a8561c51ecee652db55c0d3feabca2c909df9d58006739ab +EBUILD opendchub-0.8.2-r1.ebuild 1049 BLAKE2B 79e23cf6e795ab6f32769756b1f50e78e1ef4f6f222652c737b2a9a6ee0c8e15f8a1294442afbf928b795d58dad73ef2b0706e731f298ce2f1615ec1e36dce57 SHA512 7c6f5753ccf4a156d19b471f95817a59253e1eff84ee25015d03a1d584977e5abdd13a4af3b31e757465a20e60d24800a9ae0d52b548eb5467a0ed8f5ab539ad MISC metadata.xml 251 BLAKE2B 68b20d7614882b61a212114e934513c1cfebbdbf3770c7d8e27ab72f3063da648b085ab138f7ed2221f352d34cfac07ca76f50eb73cc28945d3368d2261fb007 SHA512 9c335c29aef545c47822fa6c48c188e1e5f9ea1125253518078dce88639a828cbe0d6c0a7c5bfc38a662753dbb468d0fef17be88877890335e7320f44e509c62 diff --git a/net-p2p/opendchub/opendchub-0.8.2-r1.ebuild b/net-p2p/opendchub/opendchub-0.8.2-r1.ebuild new file mode 100644 index 000000000000..36f50391ce0d --- /dev/null +++ b/net-p2p/opendchub/opendchub-0.8.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="hub software for Direct Connect" +HOMEPAGE="http://opendchub.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc x86" +IUSE="perl" + +RDEPEND="dev-libs/openssl:= + virtual/libcrypt:= + perl? ( dev-lang/perl:= ) + !perl? ( sys-libs/libcap )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-telnet.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + append-cflags -fcommon + use perl || myconf="--disable-perl --enable-switch_user" + econf ${myconf} +} + +src_install() { + default + + dodoc -r Documentation/. + + if use perl; then + dobin "${FILESDIR}"/opendchub_setup.sh + insinto /usr/share/opendchub/scripts + doins -r Samplescripts/. + fi +} + +pkg_postinst() { + if use perl ; then + einfo "To set up perl scripts for opendchub to use, please run" + einfo "opendchub_setup.sh as the user you will be using opendchub as." + fi +} diff --git a/net-p2p/opendchub/opendchub-0.8.2.ebuild b/net-p2p/opendchub/opendchub-0.8.2.ebuild deleted file mode 100644 index 047e913aefc7..000000000000 --- a/net-p2p/opendchub/opendchub-0.8.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic - -DESCRIPTION="hub software for Direct Connect" -HOMEPAGE="http://opendchub.sf.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc x86" -IUSE="perl" - -RDEPEND="perl? ( dev-lang/perl )" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-telnet.patch ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags -fcommon - use perl || myconf="--disable-perl --enable-switch_user" - econf ${myconf} -} - -src_install() { - default - dodoc -r Documentation/. - - if use perl; then - dobin "${FILESDIR}"/opendchub_setup.sh - insinto /usr/share/opendchub/scripts - doins -r Samplescripts/. - fi -} - -pkg_postinst() { - if use perl ; then - einfo "To set up perl scripts for opendchub to use, please run" - einfo "opendchub_setup.sh as the user you will be using opendchub as." - fi -} diff --git a/net-p2p/resilio-sync/Manifest b/net-p2p/resilio-sync/Manifest index 15f8290c59c2..a963a4371fd4 100644 --- a/net-p2p/resilio-sync/Manifest +++ b/net-p2p/resilio-sync/Manifest @@ -7,5 +7,5 @@ AUX resilio-sync.service 382 BLAKE2B f61c181137d41aeb59c721688a2b208c16d985c0b74 AUX resilio-sync.tmpfile 41 BLAKE2B fb3e9001a32e45cd230f4efef60509f20f52253ad575fb2b1493bae9846ad46210eed639c7a3f9e4a4fa7c901b42a9a7756f8583c204a4bb847e6eb96a2af323 SHA512 d9d54076785ce601023980e3fe5e2eab42e5eaf3b0bdb9caefe508e0d5fda8d32faf1338c6b901deb29488401de74228023016d72d7b0ec9db362b4c2d87edd2 DIST resilio-sync_2.6.3-1_amd64.deb 12111264 BLAKE2B e4b4d3d0bda910db5f10131d9072c47d7daccd6ff37267546385fb2657c84d9b12e9ae637df8380175f175c3e3a304fc3424ab93aa71b69d9890320d3464cf58 SHA512 92097e155fe74c07a89034db75e889fb3679fbd6cc497a361e4cf403bd1ffb5c2bc9f2a327d65d20b03067e5b7b898635a2dbeff7d4d9937b5e5ffe4daf4ba9d DIST resilio-sync_2.6.3-1_i386.deb 12062034 BLAKE2B 9c92e118ee8977a7e26948a21c61e1ff7c0692a2a76ff11e1b6ea8ef0edb08032d33453963b8c400c8945ed67cc561ce8334391fc4d8edc2e4bf37ff3c8acaff SHA512 4254de420b2b2263779befbfd93bddb8fa5352fbcce80e2a21efb463f0f3008a282fd07eb6602d4785ca6f0e770980b6da66c8d33911ae68938aee5e09e08e44 -EBUILD resilio-sync-2.6.3.ebuild 2176 BLAKE2B 524b14c925436148b242fedaa6418662604111bf645940ac7c9d2ae437e66f638ac1e901d71a9ac723541c76f3147ec04687b25a2858138538b8656e6f1f88ed SHA512 cf548d4ce32aacd87da8fa89b93bc022f8412cfbfd0950f4124b36775516e962307e80645e7de8e2c28462d8dc1522a6ed98450adae95b400d49c1790250d708 +EBUILD resilio-sync-2.6.3-r1.ebuild 2244 BLAKE2B d53ad353fe9b604203fe4b0d40c3e56f201028ee425582471cd71c36bac4016fb6460ecb15121ff3096b04651c931b177f235282f1533c77b5bf79d8715267da SHA512 2b2bddd85584a76a2c237302130e0718ff3b755985c7064b40bc581c46a0dd9f036fece88d5fbb34ebc5f9b41e4756760e0600023f1bbc41749370d5f19cf08a MISC metadata.xml 843 BLAKE2B 6bb3347a7fb109eb23583318e491f25cc2aa877d2bf8cd1bd2fee46af6e67ef6e1be7115a788c1fee51a46631818c1b6d6899d8c2016b0d3a1ea14804392f71f SHA512 02f9c77c0fc104eaafb9640b8df6eb96ecefb5159ba1177a61b7cf81016201dc2b110b43613581349b39f5d924cc5c8c2bf9afff87b861149c39ab7abde8d54f diff --git a/net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild b/net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild new file mode 100644 index 000000000000..747808bdcbe1 --- /dev/null +++ b/net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker user + +QA_PREBUILT="usr/bin/rslsync" +BASE_URI="http://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb" + +DESCRIPTION="Resilient, fast and scalable file synchronization tool" +HOMEPAGE="https://resilio.com/" +SRC_URI="amd64? ( ${BASE_URI/@arch@/amd64} ) + x86? ( ${BASE_URI/@arch@/i386} )" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist mirror" + +RDEPEND=" + || ( + sys-libs/glibc[crypt(+)] + sys-libs/libxcrypt[compat] + )" + +DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n +Default metadata path is /var/lib/resilio-sync/.sync\\n +Default web-gui URL is http://localhost:8888/\\n\\n" + +pkg_setup() { + enewgroup rslsync + enewuser rslsync -1 -1 /var/lib/resilio-sync rslsync +} + +src_unpack() { + unpacker_src_unpack + + unpack usr/share/man/man1/resilio-sync.1.gz +} + +src_install() { + dobin usr/bin/rslsync + pax-mark m "${ED}"/usr/bin/rslsync + + doman resilio-sync.1 + + newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync + newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync + newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user + newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user + systemd_dounit "${FILESDIR}"/resilio-sync.service + systemd_douserunit "${FILESDIR}"/resilio-sync-user.service + newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf + + readme.gentoo_create_doc + + # Generate sample config, uncomment config directives and change values + insopts -orslsync -grslsync -m0644 + insinto /etc/resilio-sync + newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \ + sed \ + -e "/storage_path/s|//| |g" \ + -e "/pid_file/s|//| |g" \ + -e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \ + -e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \ + || die "sed failed for config.json" ) + + diropts -orslsync -grslsync -m0700 + keepdir /etc/resilio-sync /var/lib/resilio-sync/ \ + /var/lib/resilio-sync/.sync /var/log/resilio-sync +} + +pkg_postinst() { + tmpfiles_process resilio-sync.conf + readme.gentoo_print_elog +} diff --git a/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild b/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild deleted file mode 100644 index 0b54d78848dc..000000000000 --- a/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker user - -QA_PREBUILT="usr/bin/rslsync" -BASE_URI="http://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb" - -DESCRIPTION="Resilient, fast and scalable file synchronization tool" -HOMEPAGE="https://resilio.com/" -SRC_URI="amd64? ( ${BASE_URI/@arch@/amd64} ) - x86? ( ${BASE_URI/@arch@/i386} )" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="bindist mirror" - -S="${WORKDIR}" - -DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n -Default metadata path is /var/lib/resilio-sync/.sync\\n -Default web-gui URL is http://localhost:8888/\\n\\n" - -pkg_setup() { - enewgroup rslsync - enewuser rslsync -1 -1 /var/lib/resilio-sync rslsync -} - -src_unpack() { - unpacker_src_unpack - - unpack usr/share/man/man1/resilio-sync.1.gz -} - -src_install() { - dobin usr/bin/rslsync - pax-mark m "${ED}"/usr/bin/rslsync - - doman resilio-sync.1 - - newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync - newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync - newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user - newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user - systemd_dounit "${FILESDIR}"/resilio-sync.service - systemd_douserunit "${FILESDIR}"/resilio-sync-user.service - newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf - - readme.gentoo_create_doc - - # Generate sample config, uncomment config directives and change values - insopts -orslsync -grslsync -m0644 - insinto /etc/resilio-sync - newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \ - sed \ - -e "/storage_path/s|//| |g" \ - -e "/pid_file/s|//| |g" \ - -e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \ - -e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \ - || die "sed failed for config.json" ) - - diropts -orslsync -grslsync -m0700 - keepdir /etc/resilio-sync /var/lib/resilio-sync/ \ - /var/lib/resilio-sync/.sync /var/log/resilio-sync -} - -pkg_postinst() { - tmpfiles_process resilio-sync.conf - readme.gentoo_print_elog -} -- cgit v1.2.3