diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-29 03:22:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-29 03:22:09 +0100 |
commit | d4bd6695641f6d2ec7ff8681913d304e995902f5 (patch) | |
tree | 6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /net-p2p | |
parent | 22910f5d14da606bd7f06e19a2f61c5d1a8fc94b (diff) |
gentoo resync : 29.05.2018
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/Manifest.gz | bin | 9424 -> 9431 bytes | |||
-rw-r--r-- | net-p2p/dbhub/Manifest | 6 | ||||
-rw-r--r-- | net-p2p/dbhub/dbhub-0.451-r1.ebuild | 20 | ||||
-rw-r--r-- | net-p2p/dbhub/files/dbhub-gentoo.patch | 4 | ||||
-rw-r--r-- | net-p2p/dbhub/files/dbhub-no-dynaloader.patch | 4 | ||||
-rw-r--r-- | net-p2p/pybitmessage/Manifest | 6 | ||||
-rw-r--r-- | net-p2p/pybitmessage/pybitmessage-0.4.2.ebuild | 73 | ||||
-rw-r--r-- | net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180521.ebuild (renamed from net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180326-r1.ebuild) | 2 | ||||
-rw-r--r-- | net-p2p/syrep/Manifest | 2 | ||||
-rw-r--r-- | net-p2p/syrep/syrep-0.9.ebuild | 12 | ||||
-rw-r--r-- | net-p2p/transmission/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/transmission/transmission-2.94.ebuild | 163 | ||||
-rw-r--r-- | net-p2p/transmission/transmission-9999.ebuild | 4 |
13 files changed, 195 insertions, 105 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz Binary files differindex 081d95492f39..cb67d9f07dd2 100644 --- a/net-p2p/Manifest.gz +++ b/net-p2p/Manifest.gz diff --git a/net-p2p/dbhub/Manifest b/net-p2p/dbhub/Manifest index c9e819a755e0..136070885ee6 100644 --- a/net-p2p/dbhub/Manifest +++ b/net-p2p/dbhub/Manifest @@ -1,6 +1,6 @@ AUX dbhub-fix-buffer-overflows.patch 1406 BLAKE2B b2d3229fad49d6a281855714d62233c0d56c7ec7e32b296b143d45d1a6acd6fe2068ac561c66230d32aca37e5f73ccd5bfe8b4f0ed32f2bb6b032cb362875f2e SHA512 f3f5c328f6a9b5ac5c57b2b556b628b11bb56616c4cc9d246798c0e47ad80ee90a9bfed31f11cb0e00e7596a342166214946ab52983118a3d1486e4299e31d89 -AUX dbhub-gentoo.patch 769 BLAKE2B a1725c2cfb14cb97053179fa93010e56e789ea9b1c8e6fc8311e51a23f15ddeb3939cbd6b9718d9f759da00838040c0ec6f7d8ede83a44ab21fa36b4f06b7250 SHA512 8981d3d9ebf833cc5d82ac930d2fef0620743f370ec904c338a19e4b2950c198d669857e5f1e64d9cd00ab95cdd0adc3853dea48f69d2c94e88c1bbeae391159 -AUX dbhub-no-dynaloader.patch 323 BLAKE2B 19cc885f7f6446340fab2ff53ff30d31ea21668d2c8ce2159b86da4702f3ddce15a91a794e76bed10249e0b4a4fdbdda2e27d15472c95f458a91635426a344b7 SHA512 395191e51ac3ce10908793bf1fe86f126a30595409dd6cfb642b2d551d3f7c9288418bf06a9f7a843f7cb7ed95d184ac46a38a49c9af6c18396eabaf01568072 +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 820 BLAKE2B e70fe7ab2abbc2ee4dd0f04b451c806ab4aee1e4ce3e328141b750fde84b587fb2d1f70b9a2503f2b9431dfc0e831d0d96d7ab2e0b4c10b1bd26ce5e66c516e6 SHA512 d286da2f33c3569fff7160acca45d2ce5bd0076f3fe6bd1abdfc73db3121aa4753babcedd6494c6e4cffd93d88679f682f7b87b4ca1c4d140af0f016318f7088 +EBUILD dbhub-0.451-r1.ebuild 766 BLAKE2B e5715273b6aa7252927a75499682a62c376abaabc245f1e846b27a01e8e04034069d4ed98ce072c76c20dc23379a2640080757f42183faff3c7f77ae56518ddd SHA512 220972f09bc27fc216ff7c6dc8ff8022a650ebdf2c914c523c3754627c8319faeaf58a835ec0460908029d9e551ddbd7e95b24d9cee9704144163ff219f73e7c MISC metadata.xml 334 BLAKE2B 69031fa317e0c6dce8d17ba2d91c8ed0114aed611c133823090524a102f5484e36806df0938a09eb86d4d5dfead46ec058ccf00befc28055bf527b7850f722c7 SHA512 c3cf4d865b92516b7cf7698743166d7b84589f9147153ad33459dc1fb806bce8448c0ec44e423bf960bfeccf752aa934aa3943180a0c0685418234639fa66c90 diff --git a/net-p2p/dbhub/dbhub-0.451-r1.ebuild b/net-p2p/dbhub/dbhub-0.451-r1.ebuild index 7b53906e3d64..167df3c1edba 100644 --- a/net-p2p/dbhub/dbhub-0.451-r1.ebuild +++ b/net-p2p/dbhub/dbhub-0.451-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit autotools eutils +EAPI=6 +inherit autotools DESCRIPTION="Hub software for Direct Connect, fork of opendchub" HOMEPAGE="http://www.dbhub.org" @@ -18,10 +18,14 @@ DEPEND="perl? ( dev-lang/perl ) RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}/${PN}-gentoo.patch" + "${FILESDIR}/${PN}-no-dynaloader.patch" + "${FILESDIR}/${PN}-fix-buffer-overflows.patch" +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-gentoo.patch \ - "${FILESDIR}"/${PN}-no-dynaloader.patch \ - "${FILESDIR}"/${PN}-fix-buffer-overflows.patch + default eautoreconf } @@ -32,7 +36,3 @@ src_configure() { $(use_enable switch_user) \ $(use_enable debug) } - -src_install() { - emake DESTDIR="${D}" install || die -} diff --git a/net-p2p/dbhub/files/dbhub-gentoo.patch b/net-p2p/dbhub/files/dbhub-gentoo.patch index 6e992cdb0129..509db33e61a9 100644 --- a/net-p2p/dbhub/files/dbhub-gentoo.patch +++ b/net-p2p/dbhub/files/dbhub-gentoo.patch @@ -1,5 +1,5 @@ ---- configure.ac -+++ configure.ac +--- a/configure.ac ++++ b/configure.ac @@ -115,7 +115,7 @@ AC_MSG_CHECKING([Perl LD Objs]) AC_MSG_RESULT([$perl_ldd]) diff --git a/net-p2p/dbhub/files/dbhub-no-dynaloader.patch b/net-p2p/dbhub/files/dbhub-no-dynaloader.patch index 493b83a2943e..f71bb19a0a64 100644 --- a/net-p2p/dbhub/files/dbhub-no-dynaloader.patch +++ b/net-p2p/dbhub/files/dbhub-no-dynaloader.patch @@ -1,7 +1,7 @@ http://bugs.gentoo.org/276928 ---- configure.ac -+++ configure.ac +--- a/configure.ac ++++ b/configure.ac @@ -122,7 +122,6 @@ #endif ]]) diff --git a/net-p2p/pybitmessage/Manifest b/net-p2p/pybitmessage/Manifest index 725617fdb2db..c61395ed7a80 100644 --- a/net-p2p/pybitmessage/Manifest +++ b/net-p2p/pybitmessage/Manifest @@ -1,5 +1,3 @@ -DIST pybitmessage-0.4.2.tar.gz 547565 BLAKE2B 8cb7bc0407601f06c5d0040fa03372e95c34e21aed79021001f7067b3340c60a08f7ab7d2c6578e78e1f7bf09a5adc5805252a27cf8e1bda27de6d1495382e35 SHA512 5e783243db4f507ec221092f6da18d25bb15a8c83f28aab7c1796a063d2608c0115c9d636cc73b66a09264a4ff69dda9ba373eff81640b1dd9595100dcdc4917 -DIST pybitmessage-0.6.3.2_p20180326.tar.gz 1102343 BLAKE2B 55d1458858c1431f341feae10b151590bf8dc577d5a52e5ddfbb629853373339f80d0fb9a855cc82deb50ee952d7a356c0140b67ed1d28108a5c8f19d3b97305 SHA512 836dc5a2fbea96bd46bd50e6462ccb118f22591e9d838af80f05bcce3efa8434942b112725a0b5b161d9c0a544520931e56cfc01c33ea4d231bdc02c112c5894 -EBUILD pybitmessage-0.4.2.ebuild 1491 BLAKE2B bd2a91e4a9142decd90587706e12319806e7ac3d25ed239cf0ad3bef70288b8e8383f5b0c247239778d7cd9e5f3ae56ba41beb32d19a82fa817b7473ab117f63 SHA512 158c5280052bcc4d359f96232e712c85167b088253b08c623c1453e8e8d261edcea09c4c8ae0f9fc72ffeaee63ec8084c6391b1989e6f293adf1bfe98f5fc1cf -EBUILD pybitmessage-0.6.3.2_p20180326-r1.ebuild 1715 BLAKE2B 1a90206fc5edb53bc6e40b0b31396dd88b080ad6d0699374815b66bf19a4df299f3be72cde1bca3d3d5dbf9a9d420264941ff82ffa2fa6f365bf0ad5b7780e24 SHA512 ba1aad10c2942ccb7aa7380ed1e6f8cec0d01732308d1a05caf1746c129a43ab565bdc19a1b18ce88db0eb69bb1480b8814c6e11b4653ef3e140e97ba48cf3d7 +DIST pybitmessage-0.6.3.2_p20180521.tar.gz 1102349 BLAKE2B 346834ba6a6f7805ad79e95137b922b74963dd2c9da1b978e6e161be1e82b8465443ba1de255a6ab3c909c7ee1328509123eaf129dbafa13ec8c0d9f8291c93b SHA512 ef7e64e67cd6438fea1835db26c6ab71af004e1f6a7fb2cb8681674024a1addaeef1a31d959b1f0d3e502d8b96b3c07c6b6e0840e86dff12768ecd36e4fdf026 +EBUILD pybitmessage-0.6.3.2_p20180521.ebuild 1715 BLAKE2B ba16163cf4c602e4f2f03e3e491ba59fb02384f954e4a98c15252ff88f3a740bcd22dc81b9c560f3a674166491971b0ce5e2382bf8c76da1a5c6e1bf82fe87c4 SHA512 6697e5ff79a67bcb432fd7177ad94824fae03f40815d0477dbd2a48be672e488f1fb48ef224e9e7fb9e32fd7ea5ea17327de6da09c34f01de1832bd0c3e590cc MISC metadata.xml 1156 BLAKE2B 9b20373355740d63c1d8e9d2d0b1c569d2d8944a7a477b871a3bc9ec741321fb71670ab9dde1753348369c91e9c2ca17a05d6830ce8ffa9288599e595d06f654 SHA512 0a5d180118567c9d120584a03ed920f2f73931653f714ad7d68ea38cc427e8e443e7a518cc5039f61dcfea9d0c13f889c82124d2009f51bc13e96381bce77c0d diff --git a/net-p2p/pybitmessage/pybitmessage-0.4.2.ebuild b/net-p2p/pybitmessage/pybitmessage-0.4.2.ebuild deleted file mode 100644 index b9c9b12407d1..000000000000 --- a/net-p2p/pybitmessage/pybitmessage-0.4.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" - -inherit eutils python-r1 gnome2-utils - -DESCRIPTION="P2P communications protocol" -HOMEPAGE="https://bitmessage.org" -SRC_URI="https://github.com/Bitmessage/PyBitmessage/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - dev-libs/openssl[-bindist] - dev-python/PyQt4[${PYTHON_USEDEP}]" - -S=${WORKDIR}/PyBitmessage-${PV} - -src_compile() { :; } - -src_install () { - cat >> "${T}"/${PN}-wrapper <<-EOF - #!/usr/bin/env python - import os - import sys - sys.path.append("@SITEDIR@") - os.chdir("@SITEDIR@") - os.execl('@PYTHON@', '@EPYTHON@', '@SITEDIR@/bitmessagemain.py') - EOF - - touch src/__init__.py || die - - install_python() { - python_moduleinto ${PN} - python_domodule src/* - sed \ - -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \ - -e "s#@EPYTHON@#${EPYTHON}#" \ - -e "s#@PYTHON@#${PYTHON}#" \ - "${T}"/${PN}-wrapper > ${PN} || die - python_doscript ${PN} - } - - python_foreach_impl install_python - - dodoc README.md debian/changelog - doman man/* - - newicon -s 24 desktop/icon24.png ${PN}.png - newicon -s scalable desktop/can-icon.svg ${PN}.svg - domenu desktop/${PN}.desktop -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180326-r1.ebuild b/net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180521.ebuild index 5c6c63027b57..8c8aa169578b 100644 --- a/net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180326-r1.ebuild +++ b/net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180521.ebuild @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite" -COMMIT=b210fd84d1053d3a57a888ecc8444f580d4b0651 +COMMIT=30e211367003bafa67834ffff3f31e6b5a897f4b inherit distutils-r1 gnome2-utils MY_PN="PyBitmessage" diff --git a/net-p2p/syrep/Manifest b/net-p2p/syrep/Manifest index 544681663e04..65f13bc3aae5 100644 --- a/net-p2p/syrep/Manifest +++ b/net-p2p/syrep/Manifest @@ -1,3 +1,3 @@ DIST syrep-0.9.tar.gz 192317 BLAKE2B 63f8020032829f5b8d5cae700f4bff96e9e3ea38b82958017e2babaca057a3988629c35c6b2e6e74a6283cca75021ab6f46eb548f2bae2aa662a9998c946b9c5 SHA512 2146b5e317e6bec60567976d6e17f68b817b80eb41fdb12125f899bf86dd27e92de1c5ef48b41ef09b6c61d3821d163e37486683d6b054dec46923cf451e8fed -EBUILD syrep-0.9.ebuild 818 BLAKE2B 3c060283fceb567e635d08f90c97e191eb2888df3ca3b6043cb60d03ce7d129c5266afe2e95f9d9f00720c67b4d5a3843558a645f0223e0aa222063410ac2be5 SHA512 25b14aab9bf89b3053615414dd49a278a8473e58ed599b5da715e018b65584793b60719f27fe7c9395d159074ce7e7bc983d0b1e0f746e2b4b77a11e000bcab7 +EBUILD syrep-0.9.ebuild 813 BLAKE2B dbec068ff0278b073d54ae2463578d408ad169be11d73480c6b25838a1b56b61eb60d50df56b2c76f4a8355fbde099e3a832e5297e655d46416782450b9051ea SHA512 a4443bf336cb66763eaa295a4c5045cad72c20fbc7efa28950a28fb950b96ab710c357380dca37d1a696386b2c08b1dbfd24d032f1254c6552b6bbee5fb7349b MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/net-p2p/syrep/syrep-0.9.ebuild b/net-p2p/syrep/syrep-0.9.ebuild index 5c015c5d59c5..578c19a71e22 100644 --- a/net-p2p/syrep/syrep-0.9.ebuild +++ b/net-p2p/syrep/syrep-0.9.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 +EAPI=6 inherit autotools DESCRIPTION="A generic file repository synchronization tool" @@ -18,6 +18,7 @@ DEPEND="sys-libs/zlib doc? ( www-client/lynx )" src_prepare() { + default sed -i \ -e "s/#if (DB_VERSION_MAJOR != 4).*/#if (DB_VERSION_MAJOR < 4)/" \ configure.ac || die @@ -33,8 +34,7 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install || die - cd doc - dodoc README *.txt - use doc && dohtml *.html *.css + DOCS=( doc/README doc/*.txt ) + use doc && HTML_DOCS=( doc/*.{css,html} ) + default } diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest index 80f9dd0e8331..6920b97dea21 100644 --- a/net-p2p/transmission/Manifest +++ b/net-p2p/transmission/Manifest @@ -7,8 +7,10 @@ AUX transmission-daemon.initd.10 1707 BLAKE2B 57857fa0b628f0c49ebaf13544b366bf9d AUX transmission-daemon.service.conf 69 BLAKE2B 6e38a28f54366850ae794896f2954c3af77afead303197c49970873fa604d6b375e71122de8d3645f9fcc8abed4f696ac257bd59ba87ebdc5cdd5839d32c0a7b SHA512 3dc02be596296fc1efbf1bc690be3953709af00c230f55db4d067ff592d87e1a465faa4067bc15d65a8a27fed2cf07d108abb2ed45fc76b47b0642ce2e182946 DIST transmission-2.92.tar.xz 3378116 BLAKE2B 8929a2eab8a1617db44ca8a081fd7de786daef92e891ac86d4690451c0f4fa0d4e1ea03692c59babea6e9aee5dcfef57bd81e5c72a0bb4fe9efbd436ff006104 SHA512 4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11 DIST transmission-2.93.tar.xz 3363868 BLAKE2B 786a8daec548d96b05d90c238cc7b67d402dc0d828860bb1a79b8059c687de309288be17fd12fd51abeafa28d9630fd19be9513c76cbf091f81ce9a181596042 SHA512 7565893f67fc10f1b683814fa4d365d841ec833bc8dfdab731432fe68f1a38daeb4c9100653763f16bfb4336fba11c9b0b9730a9817e17a140704a7c4aa5c087 +DIST transmission-2.94.tar.xz 3365952 BLAKE2B d0215a2c595dd3ebb2ed5c94cc3d380c78f62b98388557620534b88b9e2304bb6ac91960395541267f82d70800c4860d0e58125bca33dd158da992d19b4c0def SHA512 ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7 EBUILD transmission-2.92-r2.ebuild 4347 BLAKE2B ccdce02673646bcc583f0fbd173c10cb2445669e04dd48ac2012298e1d7f663e78fe50ed6e300194e29a08dba3fbea3dc8c1028722f6a9e6a894dd85a696cac8 SHA512 1dc44445ec7bda9aff29c70a0a368cfca377795e14d887e66c9c552f0629142398f13b49c8b1da8b46fa8f5d15f7a9c7c7430e772dfc135e45619c69e35bf332 EBUILD transmission-2.92-r3.ebuild 4409 BLAKE2B d6a4fa648bffd2a900aa5cf6dd962188aab4e9fe25d83ccce8f24b19389d3e2b5c9c1a552e37304b564be3d1ed69e657048afe850f4a592c73676b270c7fa911 SHA512 5fb59bff0ada74dc9ee9d12e81ebafba842ce2c56d7259640ca78f5b55983792b8763dc1076732f2c539703778e70f918a40055940c9445c3d65721c11dd6bb6 EBUILD transmission-2.93.ebuild 4375 BLAKE2B dd60b643985afdb20cb782f229011535b1c6dd98554e1b28b32dc805ca6b4ffd25485d10ca3dcd0eaa7b0a498d40edbd5c5533965def675e3c7b93193a38acb6 SHA512 5afb734ad2ee190605e6d7204b59afd556cbfd50e3a8c5308d916f2d40fbaf81301c53f5e664ffc0db7bf701d37bb6e01d9b73027de527f1fe036b0638926e91 -EBUILD transmission-9999.ebuild 3723 BLAKE2B 1e51460058b1558a1a5e74d3e53d212d824b0fd387e38f854ab8c807aa7eff9db9dca7916ba2432852bd90123c8b2d87a4650fe3a3ada05d91581678ffa2ec31 SHA512 35a45181911532da8a7b1c7b1cac6ca2d1c0cf6cd385c8b7598eb53a255fcd4cf79e86a3a1f98eec346cbc153489b2c35eb9fd4ec7d2f33ea3301a73dafeebd2 +EBUILD transmission-2.94.ebuild 4331 BLAKE2B 5017f6413789c8c9a42c845cff467424a4a5424b492cc10126b18519d4814d75e7497f251b78b64b08f67d1691be2e3b95411a0cb60f81eb7246173687e78971 SHA512 aba78a0d158f9b864fcd6bf7f11386d2ee9009f9a2c556e4071b9c19d13a1a72e56a38303bd8e02a54ba39a73b4c763114581e17378cffdde898c604fa090ea8 +EBUILD transmission-9999.ebuild 3726 BLAKE2B ed8e5e8ddc738eddfbcd5d562f31f8ff62a7833fcbfac05ef8a9b0c157ec579eb8ad8ec471527371221f14dd00094ec4f5f429a831154a5d2cbc80425c4f2a64 SHA512 af09f34bd910244bea541f350fc8df64229cf1df57332a80d6b109190630b37ccebf835a85aff6f3803d12c00d25dee24ecee93bedd02d6f9a54a118c0fea4cf MISC metadata.xml 602 BLAKE2B 05300c81bd2c4df76aaaf8381a788016777e259075aa6a3bf9da239b4832dac1281f718f0fd79ece7d5c238440e07d1aabe15b7da40f34674ac30bbd356d0c6b SHA512 0047a936eda032a4521707ea50dcde06dce3837993e70d43a5b033183ba58633ae46e2d2e56de98a56f3480b30e596c7fbae82fd1e2ee9cbebc7983d9551617d diff --git a/net-p2p/transmission/transmission-2.94.ebuild b/net-p2p/transmission/transmission-2.94.ebuild new file mode 100644 index 000000000000..37645783a92a --- /dev/null +++ b/net-p2p/transmission/transmission-2.94.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools flag-o-matic gnome2-utils qmake-utils systemd user xdg-utils + +DESCRIPTION="A Fast, Easy and Free BitTorrent client" +HOMEPAGE="http://www.transmissionbt.com/" +SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.tar.xz" + +# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest +# transmission in licenses/ is for mentioning OpenSSL linking exception +# MIT is in several libtransmission/ headers +LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" +SLOT=0 +IUSE="ayatana gtk libressl lightweight systemd qt5 xfs" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" + +RDEPEND=">=dev-libs/libevent-2.0.10:= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + net-libs/libnatpmp + >=net-libs/miniupnpc-1.7:= + >=net-misc/curl-7.16.3[ssl] + sys-libs/zlib:= + gtk? ( + >=dev-libs/dbus-glib-0.100 + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.4:3 + ayatana? ( >=dev-libs/libappindicator-0.4.90:3 ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + systemd? ( >=sys-apps/systemd-209:= )" +DEPEND="${RDEPEND} + >=dev-libs/glib-2.32 + dev-util/intltool + sys-devel/gettext + virtual/os-headers + virtual/pkgconfig + qt5? ( dev-qt/linguist-tools:5 ) + xfs? ( sys-fs/xfsprogs )" + +REQUIRED_USE="ayatana? ( gtk )" + +DOCS=( AUTHORS NEWS qt/README.txt ) + +PATCHES=( + "${FILESDIR}"/libsystemd.patch +) + +src_prepare() { + sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die + + # Trick to avoid automagic dependency + if ! use ayatana ; then + sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die + fi + + # http://trac.transmissionbt.com/ticket/4324 + sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' libtransmission/Makefile.am || die + + # Prevent m4_copy error when running aclocal + # m4_copy: won't overwrite defined macro: glib_DEFUN + rm m4/glib-gettext.m4 || die + + default + eautoreconf +} + +src_configure() { + export ac_cv_header_xfs_xfs_h=$(usex xfs) + + # https://bugs.gentoo.org/577528 + append-lfs-flags + + econf \ + --enable-external-natpmp \ + $(use_enable lightweight) \ + $(use_with systemd systemd-daemon) \ + $(use_with gtk) + + if use qt5; then + pushd qt >/dev/null || die + eqmake5 qtr.pro + popd >/dev/null || die + fi +} + +src_compile() { + emake + + if use qt5; then + emake -C qt + $(qt5_get_bindir)/lrelease qt/translations/*.ts || die + fi +} + +src_install() { + default + + rm "${ED%/}"/usr/share/transmission/web/LICENSE || die + + newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon + newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon + systemd_dounit daemon/transmission-daemon.service + systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf + + if use qt5; then + pushd qt >/dev/null || die + emake INSTALL_ROOT="${ED%/}"/usr install + + domenu transmission-qt.desktop + + local res + for res in 16 22 24 32 48 64 72 96 128 192 256; do + doicon -s ${res} icons/hicolor/${res}x${res}/transmission-qt.png + done + doicon -s scalable icons/hicolor/scalable/transmission-qt.svg + + insinto /usr/share/qt5/translations + doins translations/*.qm + popd >/dev/null || die + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update + + enewgroup transmission + enewuser transmission -1 -1 /var/lib/transmission transmission + + if [[ ! -e "${EROOT%/}"/var/lib/transmission ]]; then + mkdir -p "${EROOT%/}"/var/lib/transmission || die + chown transmission:transmission "${EROOT%/}"/var/lib/transmission || die + fi + + elog "If you use transmission-daemon, please, set 'rpc-username' and" + elog "'rpc-password' (in plain text, transmission-daemon will hash it on" + elog "start) in settings.json file located at /var/lib/transmission/config or" + elog "any other appropriate config directory." + elog + elog "Since µTP is enabled by default, transmission needs large kernel buffers for" + elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" + elog " net.core.rmem_max = 4194304" + elog " net.core.wmem_max = 1048576" + elog "and run sysctl -p" +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update +} diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild index c81c8b0942fa..392d8cb5bf3e 100644 --- a/net-p2p/transmission/transmission-9999.ebuild +++ b/net-p2p/transmission/transmission-9999.ebuild @@ -9,8 +9,8 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/transmission/transmission" else - SRC_URI="https://github.com/transmission/transmission/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" + SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" fi DESCRIPTION="A fast, easy, and free BitTorrent client" |