[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/files/, net-libs/rb_libtorrent/
commit: a23ccc8f8406ca9a136093270db9523465f75bd4 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Mar 18 21:48:49 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Mar 18 23:02:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23ccc8f net-libs/rb_libtorrent: Drop old Gentoo-bug: 585278, 609750 Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-libs/rb_libtorrent/Manifest| 2 - .../files/rb_libtorrent-0.16.17-python.patch | 37 --- .../rb_libtorrent/rb_libtorrent-0.16.17.ebuild | 77 -- .../rb_libtorrent/rb_libtorrent-0.16.19.ebuild | 72 4 files changed, 188 deletions(-) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index f6618040b0c..99d34b4f775 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,5 +1,3 @@ -DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb -DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60 DIST libtorrent-rasterbar-1.0.11.tar.gz 3325786 SHA256 828d686770346f6da2c143c5a2844c5f5e407eb4a37982e90022763508abd62f SHA512 770d16b241174ae4b121af9b2ac7bcde8b14c6ed99352b827b760a3cbdc2c0ebd0d505319762897720c5f72acdff506ee9948ac1140e6d4591805eca5439b184 WHIRLPOOL e56bfe0830cfc7776436552171b14b08913d99a2c726c9eefa828027caaa96d9c3d97e6442a3b53f315eaa3e7e0f68175d813dbab1d6de1da5937054fc6cac9c DIST libtorrent-rasterbar-1.1.1.tar.gz 3641815 SHA256 f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f SHA512 9d2409ee733f7579df61a63e37092d3c59a386b94031bae6a7ea64617131d2c347ba0825b3d337ce2fedad3b527c8f697e3b49cea643d6543c972a1ebc12 WHIRLPOOL 36c4a007e0bf684e9603cd88b594a8ff91193b7d73447375e5651f945dba713c91daf0c625f90af6bb35c2ab017ca69da50d856ac6ce6be2e13f6d04ee7b2e35 diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-0.16.17-python.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-0.16.17-python.patch deleted file mode 100644 index 6f843204084..000 --- a/net-libs/rb_libtorrent/files/rb_libtorrent-0.16.17-python.patch +++ /dev/null @@ -1,37 +0,0 @@ - bindings/python/setup.py.in | 6 +++--- - configure.ac| 4 - 2 files changed, 3 insertions(+), 7 deletions(-) - -diff --git a/bindings/python/setup.py.in b/bindings/python/setup.py.in -index adc474c..3faf982 100644 a/bindings/python/setup.py.in -+++ b/bindings/python/setup.py.in -@@ -61,10 +61,10 @@ if "CFLAGS" in config_vars and "-Wstrict-prototypes" in config_vars["CFLAGS"]: - if "OPT" in config_vars and "-Wstrict-prototypes" in config_vars["OPT"]: - config_vars["OPT"] = config_vars["OPT"].replace("-Wstrict-prototypes", " ") - --source_list = os.listdir(os.path.join(os.path.dirname(__file__), "src")) --source_list = [os.path.join("src", s) for s in source_list if s.endswith(".cpp")] -+source_list = os.listdir(os.path.join('@srcdir@', "src")) -+source_list = [os.path.join('@srcdir@', "src", s) for s in source_list if s.endswith(".cpp")] - --extra_cmd = '@COMPILETIME_OPTIONS@ @CPPFLAGS@ @LIBS@ @BOOST_SYSTEM_LIB@ @BOOST_PYTHON_LIB@ @PTHREAD_LIBS@ @OPENSSL_LIBS@ @OPENSSL_LDFLAGS@ @OPENSSL_INCLUDES@' -+extra_cmd = '@COMPILETIME_OPTIONS@ @CPPFLAGS@ @LIBS@ @BOOST_SYSTEM_LIB@ @PTHREAD_LIBS@ @OPENSSL_LIBS@ @OPENSSL_LDFLAGS@ @OPENSSL_INCLUDES@' + '-lboost_python-%s-mt' % (platform.python_version()[:3]) - - setup( name='python-libtorrent', - version='@PACKAGE_VERSION@', -diff --git a/configure.ac b/configure.ac -index 55ee13a..bdbf2a3 100644 a/configure.ac -+++ b/configure.ac -@@ -559,10 +559,6 @@ AS_CASE(["$ARG_ENABLE_PYTHON_BINDING"], - - AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.])) - AX_PYTHON_DEVEL([>= '2.4']) -- AX_BOOST_PYTHON() -- -- AS_IF([test -z "$BOOST_PYTHON_LIB"], --[AC_MSG_ERROR([Boost.Python
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 57492a91161550801cb82e66f0a7882ecd849fac Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Mar 17 10:40:34 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Mar 17 10:40:34 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57492a91 net-libs/rb_libtorrent: sparc stable wrt bug #530720 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild index 84dbe476fb4..cc933fbd7dd 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_ LICENSE="BSD" SLOT="0/8" -KEYWORDS="amd64 arm ppc ppc64 ~sparc x86 ~x86-fbsd" +KEYWORDS="amd64 arm ppc ppc64 sparc x86 ~x86-fbsd" IUSE="debug +dht doc examples +geoip libressl python +ssl static-libs test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: c1dacea196b620f52ea8d644cd3ae075b1863c97 Author: Patrick McLean gentoo org> AuthorDate: Thu Mar 16 23:26:31 2017 + Commit: Patrick McLean gentoo org> CommitDate: Thu Mar 16 23:26:31 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1dacea1 net-libs/rb_libtorrent: link the python bindings against the right libpython version Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild index c3a54a8c6d7..5a8412d4f63 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild @@ -71,12 +71,10 @@ src_configure() { econf "${myeconfargs[@]}" if use python; then - myeconfargs+=( - --enable-python-binding - --with-boost-python - ) python_configure() { - econf "${myeconfargs[@]}" + econf "${myeconfargs[@]}" \ + --enable-python-binding \ + --with-boost-python="${EPYTHON#python}" } distutils-r1_src_configure fi
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 4618be2a414a5d9f24844e515e775a603d034ccd Author: Patrick McLean gentoo org> AuthorDate: Wed Mar 15 21:29:04 2017 + Commit: Patrick McLean gentoo org> CommitDate: Wed Mar 15 21:31:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4618be2a net-libs/rb_libtorrent: Make sure 1.1.2 links against the right version of the library Also makes sure that we are using the right header files. When building the python bindings, since we are working in a copy of the source tree, rather than the one the lib was built in, it tends to use the installed versions rather the new ones. Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild index a896476e7a5..c3a54a8c6d7 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild @@ -48,7 +48,10 @@ src_prepare() { # bug 578026 # prepend -L${S}/... to ensure bindings link against the lib we just built - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/compile_flags.in || die + sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die + + # prepend -I${S}/... to ensure bindings use the right headers + sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die use python && distutils-r1_src_prepare }
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 53b0d58dcf1b84675831f6c451a8fbc4e0eb0867 Author: Patrick McLean gentoo org> AuthorDate: Wed Mar 15 20:35:33 2017 + Commit: Patrick McLean gentoo org> CommitDate: Wed Mar 15 20:36:05 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53b0d58d net-libs/rb_libtorrent: Version bump to 1.1.2 Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-libs/rb_libtorrent/Manifest | 1 + net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild | 104 ++ 2 files changed, 105 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index 522bf25c445..f6618040b0c 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -3,3 +3,4 @@ DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbb DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60 DIST libtorrent-rasterbar-1.0.11.tar.gz 3325786 SHA256 828d686770346f6da2c143c5a2844c5f5e407eb4a37982e90022763508abd62f SHA512 770d16b241174ae4b121af9b2ac7bcde8b14c6ed99352b827b760a3cbdc2c0ebd0d505319762897720c5f72acdff506ee9948ac1140e6d4591805eca5439b184 WHIRLPOOL e56bfe0830cfc7776436552171b14b08913d99a2c726c9eefa828027caaa96d9c3d97e6442a3b53f315eaa3e7e0f68175d813dbab1d6de1da5937054fc6cac9c DIST libtorrent-rasterbar-1.1.1.tar.gz 3641815 SHA256 f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f SHA512 9d2409ee733f7579df61a63e37092d3c59a386b94031bae6a7ea64617131d2c347ba0825b3d337ce2fedad3b527c8f697e3b49cea643d6543c972a1ebc12 WHIRLPOOL 36c4a007e0bf684e9603cd88b594a8ff91193b7d73447375e5651f945dba713c91daf0c625f90af6bb35c2ab017ca69da50d856ac6ce6be2e13f6d04ee7b2e35 +DIST libtorrent-rasterbar-1.1.2.tar.gz 3909420 SHA256 45e55f2374507bb67a9b9125f6b8d1c45e6cd33849c62b1d9cb56657354e359a SHA512 8cbf6b08bb21c6cbc3b5215a74ecdcce81e312484c688f2b20f95b7288d7f154e7f1337dd0c7d213687159d731bd4518166a964d6a1bda47dc2bd46115a55600 WHIRLPOOL ffd8f1afaece5762298fc8d3380ffe23ed79b5eb019e923d92fd408594054c2caf25e01b237b4cdc2c11181d93df6978301eecb44661378dc944dc89b3e6838a diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild new file mode 100644 index 000..a896476e7a5 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +DISTUTILS_IN_SOURCE_BUILD=true + +inherit distutils-r1 eutils versionator + +MY_P=libtorrent-rasterbar-${PV} # TODO: rename, bug 576126 +MY_PV=$(replace_all_version_separators _) + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org; +SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz; + +LICENSE="BSD" +SLOT="0/9" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug +dht doc examples libressl python +ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-libs/boost:=[threads] + virtual/libiconv + examples? ( !net-p2p/mldonkey ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) +" +DEPEND="${RDEPEND} + sys-devel/libtool +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + # bug 578026 + # prepend -L${S}/... to ensure bindings link against the lib we just built + sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/compile_flags.in || die + + use python && distutils-r1_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable debug logging) + $(use_enable debug disk-stats) + $(use_enable dht dht $(usex debug logging yes)) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable static-libs static) + $(use_enable test tests) + --with-libiconv + ) + econf "${myeconfargs[@]}" + + if use python; then + myeconfargs+=( + --enable-python-binding + --with-boost-python + ) + python_configure() { + econf "${myeconfargs[@]}" +
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 3950a5e665cb2a2a16f71263e2e20cdfdbbcd8f9 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Mar 10 09:12:37 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Mar 10 09:12:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3950a5e6 net-libs/rb_libtorrent: amd64 stable wrt bug #530720 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild index 5ef5a172620..c3bca627247 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_ LICENSE="BSD" SLOT="0/8" -KEYWORDS="~amd64 arm ppc ppc64 ~sparc ~x86 ~x86-fbsd" +KEYWORDS="amd64 arm ppc ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="debug +dht doc examples +geoip libressl python +ssl static-libs test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: db591d9fafad073062ec98ef47b59756b16f4bcc Author: Michael Weber gentoo org> AuthorDate: Wed Mar 8 22:00:43 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Mar 8 22:00:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db591d9f net-libs/rb_libtorrent: ppc ppc64 stable (bug 530720). Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild index 0f63abd3fe6..5ef5a172620 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_ LICENSE="BSD" SLOT="0/8" -KEYWORDS="~amd64 arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +KEYWORDS="~amd64 arm ppc ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="debug +dht doc examples +geoip libressl python +ssl static-libs test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/, net-libs/rb_libtorrent/files/
commit: 4a9c486ebdde12ae9e2ce0b84c6f67005d01d6c1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Mar 7 21:12:31 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Mar 7 22:14:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a9c486e net-libs/rb_libtorrent: 1.0.11 version bump, fix tests, ABI break Dropped eutils.eclass. Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-libs/rb_libtorrent/Manifest| 1 + .../files/rb_libtorrent-1.0.11-fix-abicompat.patch | 157 + .../files/rb_libtorrent-1.0.11-fix-test_ssl.patch | 21 +++ .../files/rb_libtorrent-1.0.11-move-header.patch | 34 + net-libs/rb_libtorrent/rb_libtorrent-1.0.11.ebuild | 119 5 files changed, 332 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index 9602799a659..522bf25c445 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,4 +1,5 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60 +DIST libtorrent-rasterbar-1.0.11.tar.gz 3325786 SHA256 828d686770346f6da2c143c5a2844c5f5e407eb4a37982e90022763508abd62f SHA512 770d16b241174ae4b121af9b2ac7bcde8b14c6ed99352b827b760a3cbdc2c0ebd0d505319762897720c5f72acdff506ee9948ac1140e6d4591805eca5439b184 WHIRLPOOL e56bfe0830cfc7776436552171b14b08913d99a2c726c9eefa828027caaa96d9c3d97e6442a3b53f315eaa3e7e0f68175d813dbab1d6de1da5937054fc6cac9c DIST libtorrent-rasterbar-1.1.1.tar.gz 3641815 SHA256 f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f SHA512 9d2409ee733f7579df61a63e37092d3c59a386b94031bae6a7ea64617131d2c347ba0825b3d337ce2fedad3b527c8f697e3b49cea643d6543c972a1ebc12 WHIRLPOOL 36c4a007e0bf684e9603cd88b594a8ff91193b7d73447375e5651f945dba713c91daf0c625f90af6bb35c2ab017ca69da50d856ac6ce6be2e13f6d04ee7b2e35 diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.11-fix-abicompat.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.11-fix-abicompat.patch new file mode 100644 index 000..eebee122551 --- /dev/null +++ b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.11-fix-abicompat.patch @@ -0,0 +1,157 @@ +From 76381835be19da2f8f1fc501445e31d32e6d83e4 Mon Sep 17 00:00:00 2001 +From: Arvid Norberg+Date: Sun, 12 Feb 2017 21:05:22 -0500 +Subject: [PATCH] fix ABI compatibility issue introduced with preformatted + entry type (#1702) + +fix ABI compatibility issue introduced with preformatted entry type +--- + ChangeLog | 2 ++ + bindings/python/src/create_torrent.cpp | 2 +- + include/libtorrent/create_torrent.hpp | 6 ++ + src/create_torrent.cpp | 31 --- + src/torrent.cpp| 11 --- + test/test_create_torrent.cpp | 2 +- + 6 files changed, 46 insertions(+), 8 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index 9b501ce..9defe7c 100644 +--- a/ChangeLog b/ChangeLog +@@ -1,3 +1,5 @@ ++ * fix ABI compatibility issue introduced with preformatted entry type ++ + 1.0.11 release + + * updating super seeding would include the torrent in state_update_alert +diff --git a/bindings/python/src/create_torrent.cpp b/bindings/python/src/create_torrent.cpp +index 55b6b51..31abb07 100644 +--- a/bindings/python/src/create_torrent.cpp b/bindings/python/src/create_torrent.cpp +@@ -127,7 +127,7 @@ void bind_create_torrent() + + class_("create_torrent", no_init) + .def(init ()) +-.def(init(arg("ti"))) ++.def(init((arg("ti"), arg("version") = LIBTORRENT_VERSION_NUM))) + .def(init ((arg("storage"), arg("piece_size") = 0 + , arg("pad_file_limit") = -1, arg("flags") =
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 83c08155054adac0fcc059124bef56c5282a70b0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Mar 7 22:13:14 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Mar 7 22:14:33 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c08155 net-libs/rb_libtorrent: Fix tests with boost-1.62 Gentoo-bug: 608864 Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild index 21c41bd81c2..0f63abd3fe6 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -44,7 +44,11 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} -PATCHES=( "${FILESDIR}/${PN}-1.0.9-test_torrent_parse.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-1.0.9-test_torrent_parse.patch" + # master branch + "${FILESDIR}/${PN}-1.0.11-fix-test_ssl.patch" +) src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: b16115c6022da268839b1da1fcf58ce245fbc41c Author: Markos Chandras gentoo org> AuthorDate: Sun Dec 11 10:15:55 2016 + Commit: Markos Chandras gentoo org> CommitDate: Sun Dec 11 10:16:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b16115c6 net-libs/rb_libtorrent: Bump subslot Package-Manager: portage-2.3.3 net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild index 2f9612c..32f6697 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="http://libtorrent.org; SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz; LICENSE="BSD" -SLOT="0/8" +SLOT="0/9" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="debug +dht doc examples libressl python +ssl static-libs test"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 89ff91db7208e01c05a416cd793f1f396c6cf46e Author: Markos Chandras gentoo org> AuthorDate: Sat Dec 10 21:05:44 2016 + Commit: Markos Chandras gentoo org> CommitDate: Sat Dec 10 21:08:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89ff91db net-libs/rb_libtorrent: Version bump Gentoo-Bug: 580760 Package-Manager: portage-2.3.3 net-libs/rb_libtorrent/Manifest | 1 + net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild | 105 ++ 2 files changed, 106 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index 30fae05..9602799 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,3 +1,4 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60 +DIST libtorrent-rasterbar-1.1.1.tar.gz 3641815 SHA256 f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f SHA512 9d2409ee733f7579df61a63e37092d3c59a386b94031bae6a7ea64617131d2c347ba0825b3d337ce2fedad3b527c8f697e3b49cea643d6543c972a1ebc12 WHIRLPOOL 36c4a007e0bf684e9603cd88b594a8ff91193b7d73447375e5651f945dba713c91daf0c625f90af6bb35c2ab017ca69da50d856ac6ce6be2e13f6d04ee7b2e35 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild new file mode 100644 index ..2f9612c --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.1.1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +DISTUTILS_IN_SOURCE_BUILD=true + +inherit distutils-r1 eutils versionator + +MY_P=libtorrent-rasterbar-${PV} # TODO: rename, bug 576126 +MY_PV=$(replace_all_version_separators _) + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org; +SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz; + +LICENSE="BSD" +SLOT="0/8" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug +dht doc examples libressl python +ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-libs/boost:=[threads] + virtual/libiconv + examples? ( !net-p2p/mldonkey ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) +" +DEPEND="${RDEPEND} + sys-devel/libtool +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + # bug 578026 + # prepend -L${S}/... to ensure bindings link against the lib we just built + sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/compile_flags.in || die + + use python && distutils-r1_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable debug logging) + $(use_enable debug disk-stats) + $(use_enable dht dht $(usex debug logging yes)) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable static-libs static) + $(use_enable test tests) + --with-libiconv + ) + econf "${myeconfargs[@]}" + + if use python; then + myeconfargs+=( + --enable-python-binding + --with-boost-python + ) + python_configure() { + econf "${myeconfargs[@]}" + } + distutils-r1_src_configure + fi +} +
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 940961988808daa3f2b45734ee61273f99d90c60 Author: Markus Meier gentoo org> AuthorDate: Sun Nov 13 08:39:38 2016 + Commit: Markus Meier gentoo org> CommitDate: Sun Nov 13 08:39:38 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94096198 net-libs/rb_libtorrent: arm stable, bug #530720 Package-Manager: portage-2.3.2 RepoMan-Options: --include-arches="arm" net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild index b63751a..573ce40 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_ LICENSE="BSD" SLOT="0/8" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +KEYWORDS="~amd64 arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="debug +dht doc examples +geoip libressl python +ssl static-libs test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/files/, net-libs/rb_libtorrent/
commit: 4ad7bbe555e8293305faf5191e22613724026890 Author: Pacho Ramos gentoo org> AuthorDate: Mon Oct 24 12:58:03 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Mon Oct 24 13:04:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad7bbe5 net-libs/rb_libtorrent: Drop old Package-Manager: portage-2.3.2 RepoMan-Options: --force net-libs/rb_libtorrent/Manifest| 2 - .../files/rb_libtorrent-1.0.2-python.patch | 32 --- .../files/rb_libtorrent-1.0.9-CVE-2016-5301.patch | 289 - net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild | 78 -- .../rb_libtorrent/rb_libtorrent-1.0.9-r2.ebuild| 114 5 files changed, 515 deletions(-) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index 8a441a2..30fae05 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,5 +1,3 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60 -DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 -DIST libtorrent-rasterbar-1.0.9.tar.gz 3292886 SHA256 11a93125ed49f796fca83da925ab7dc29e91d88b915f078caaddaaf559d63db6 SHA512 68558d440c8220711a410e54a28316b7b98f6dd4d0dae2d56cee3a3f0bd031f8b0623a8eb3fde312c4d1b61b4be8fc21396cb3e9fd7f6d86e3a9a693ee036b66 WHIRLPOOL 2c2f695458fe1069d4159d308def7591bc318eed30e649bc5ad4579fef1c67d3ccabc6acfb7570ae09a9b78fe8c00f975c88d48231b9db71e714672e1043d1f5 diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.2-python.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.2-python.patch deleted file mode 100644 index e729a19.. --- a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.2-python.patch +++ /dev/null @@ -1,32 +0,0 @@ - bindings/python/setup.py | 2 +- - configure.ac | 4 - 2 files changed, 1 insertion(+), 5 deletions(-) - -diff --git a/bindings/python/setup.py b/bindings/python/setup.py -index 961395f..c38ef52 100644 a/bindings/python/setup.py -+++ b/bindings/python/setup.py -@@ -36,7 +36,7 @@ def target_specific(): - - try: - with open('compile_flags') as _file: -- extra_cmd = _file.read() -+ extra_cmd = _file.read() + '-lboost_python-%s-mt' % (platform.python_version()[:3]) - - except: - extra_cmd = None -diff --git a/configure.ac b/configure.ac -index ebb1f7e..3e07828 100644 a/configure.ac -+++ b/configure.ac -@@ -540,10 +540,6 @@ AS_CASE(["$ARG_ENABLE_PYTHON_BINDING"], - - AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.])) - AX_PYTHON_DEVEL([>= '2.4']) -- AX_BOOST_PYTHON() -- -- AS_IF([test -z "$BOOST_PYTHON_LIB"], --[AC_MSG_ERROR([Boost.Python library not found. Try using --with-boost-python=lib.])]) - ], - ["no"], [ - AC_MSG_RESULT([no]) diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.9-CVE-2016-5301.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.9-CVE-2016-5301.patch deleted file mode 100644 index 19ebeeb.. --- a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.9-CVE-2016-5301.patch +++ /dev/null @@ -1,289 +0,0 @@ -From 22099cec46741417a6fb6df560468eb64655db33 Mon Sep 17 00:00:00 2001 -From: arvidn-Date: Sat, 4 Jun 2016 12:49:38 -0400 -Subject: [PATCH] back-port http_parser bugfix - - src/http_parser.cpp | 32 +++ - test/test_http_parser.cpp | 142 -- - -diff --git
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 43c6bad3bcce05dd6ed996f1f49eb2283167cbb8 Author: Davide Pesavento gentoo org> AuthorDate: Sat Oct 15 23:47:41 2016 + Commit: Davide Pesavento gentoo org> CommitDate: Sat Oct 15 23:49:52 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43c6bad3 net-libs/rb_libtorrent: version bump Package-Manager: portage-2.3.2 net-libs/rb_libtorrent/Manifest| 1 + net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild | 111 + 2 files changed, 112 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index dcccf65..ed9ba60 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,5 +1,6 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c +DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60 DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 DIST libtorrent-rasterbar-1.0.9.tar.gz 3292886 SHA256 11a93125ed49f796fca83da925ab7dc29e91d88b915f078caaddaaf559d63db6 SHA512 68558d440c8220711a410e54a28316b7b98f6dd4d0dae2d56cee3a3f0bd031f8b0623a8eb3fde312c4d1b61b4be8fc21396cb3e9fd7f6d86e3a9a693ee036b66 WHIRLPOOL 2c2f695458fe1069d4159d308def7591bc318eed30e649bc5ad4579fef1c67d3ccabc6acfb7570ae09a9b78fe8c00f975c88d48231b9db71e714672e1043d1f5 DIST rb_libtorrent-1.0.9.tar.gz 2977503 SHA256 f4eadcbc779edc590d0162b0188c1b179d2cc72519c3756989ef925e376ddecd SHA512 0980ebb5567310ad6f235899770cfc7a23ef754f5a8513e1baa8bbec139ff26006a6b47a1cca62e45da496b901c6646eee3dd76ab4bb5410ce3fc119e717c072 WHIRLPOOL 7c6862d9d4fbc27d6de04cba8ac605dbffafcf1b26a3519bc94964727416655450b74cb62928f27fa568dcc163c8a599ca78f080a86171b6e1283d9b794924b8 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild new file mode 100644 index ..b63751a --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.10.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +DISTUTILS_IN_SOURCE_BUILD=true + +inherit distutils-r1 eutils versionator + +MY_P=libtorrent-rasterbar-${PV} # TODO: rename, bug 576126 +MY_PV=$(replace_all_version_separators _) + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org; +SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz; + +LICENSE="BSD" +SLOT="0/8" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug +dht doc examples +geoip libressl python +ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-libs/boost:=[threads] + virtual/libiconv + examples? ( !net-p2p/mldonkey ) + geoip? ( dev-libs/geoip ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) +" +DEPEND="${RDEPEND} + sys-devel/libtool +" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}/${PN}-1.0.9-test_torrent_parse.patch" ) + +src_prepare() { + default + + # bug 578026 + # prepend -L${S}/... to ensure bindings link against the lib we just built + sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/compile_flags.in || die + +
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 27fb8c64f6181eadf56c95dfd80d191d76d6807f Author: Davide Pesavento gentoo org> AuthorDate: Sat Oct 15 23:49:35 2016 + Commit: Davide Pesavento gentoo org> CommitDate: Sat Oct 15 23:49:54 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27fb8c64 net-libs/rb_libtorrent: remove old Package-Manager: portage-2.3.2 net-libs/rb_libtorrent/Manifest| 1 - .../rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild| 103 - 2 files changed, 104 deletions(-) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index ed9ba60..8a441a2 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -3,4 +3,3 @@ DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbb DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60 DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 DIST libtorrent-rasterbar-1.0.9.tar.gz 3292886 SHA256 11a93125ed49f796fca83da925ab7dc29e91d88b915f078caaddaaf559d63db6 SHA512 68558d440c8220711a410e54a28316b7b98f6dd4d0dae2d56cee3a3f0bd031f8b0623a8eb3fde312c4d1b61b4be8fc21396cb3e9fd7f6d86e3a9a693ee036b66 WHIRLPOOL 2c2f695458fe1069d4159d308def7591bc318eed30e649bc5ad4579fef1c67d3ccabc6acfb7570ae09a9b78fe8c00f975c88d48231b9db71e714672e1043d1f5 -DIST rb_libtorrent-1.0.9.tar.gz 2977503 SHA256 f4eadcbc779edc590d0162b0188c1b179d2cc72519c3756989ef925e376ddecd SHA512 0980ebb5567310ad6f235899770cfc7a23ef754f5a8513e1baa8bbec139ff26006a6b47a1cca62e45da496b901c6646eee3dd76ab4bb5410ce3fc119e717c072 WHIRLPOOL 7c6862d9d4fbc27d6de04cba8ac605dbffafcf1b26a3519bc94964727416655450b74cb62928f27fa568dcc163c8a599ca78f080a86171b6e1283d9b794924b8 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild deleted file mode 100644 index 6a517b9.. --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5} ) -PYTHON_REQ_USE="threads" -DISTUTILS_OPTIONAL=true -DISTUTILS_IN_SOURCE_BUILD=true - -inherit autotools distutils-r1 versionator - -MY_PV=$(replace_all_version_separators '_' ) -S=${WORKDIR}/libtorrent-libtorrent-${MY_PV} - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://libtorrent.org; -SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${MY_PV}.tar.gz -> rb_libtorrent-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug +dht doc examples python +ssl static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - >=dev-libs/boost-1.53:=[threads] - sys-libs/zlib - virtual/libiconv - examples? ( !net-p2p/mldonkey ) - ssl? ( dev-libs/openssl:0= ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} - >=sys-devel/libtool-2.2" - -RESTRICT="test" - -src_prepare() { - default - - # make sure lib search dir points to the main `S` dir and not to python copies - sed -i "s|-L[^ ]*/src/\.libs|-L${S}/src/.libs|" \ - -- 'bindings/python/link_flags.in' || die - - # needed or else eautoreconf fails - mkdir build-aux && cp {m4,build-aux}/config.rpath || die - - eautoreconf - - use python && python_copy_sources -} - -src_configure() { - local myeconfargs=( - --disable-silent-rules # bug 441842 - --with-boost-system=mt - --with-libiconv - $(use_enable debug) - $(usex debug "--enable-logging=verbose" "") - $(use_enable dht) - $(use_enable examples) - $(use_enable ssl encryption) - $(use_enable static-libs static) - $(use_enable test tests) - ) - econf "${myeconfargs[@]}" - - python_configure() { - local myeconfargs+=( - --enable-python-binding - --with-boost-python=yes - )
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/files/, net-libs/rb_libtorrent/
commit: 9a7268d86d008c69d0f0ccbb3cda4ed455febdba Author: Davide Pesavento gentoo org> AuthorDate: Thu Aug 18 20:24:15 2016 + Commit: Davide Pesavento gentoo org> CommitDate: Thu Aug 18 20:30:13 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a7268d8 net-libs/rb_libtorrent: revbump with several fixes and improvements * add libressl support (bug 574004) * use official "prepared" tarball, saves eautoreconf call (bug 577288) * link python bindings against the just-built library (bug 578026) * backport patch for CVE-2016-5301 (bug 585278) * add subslot * use system copy of geoip library and allow disabling it via USE flag * drop some obsolete/redundant options from econf invocation * revise which logging options are turned on by USE=debug * fix and unrestrict tests * don't install .la file when not needed Package-Manager: portage-2.3.0 net-libs/rb_libtorrent/Manifest| 1 + .../files/rb_libtorrent-1.0.9-CVE-2016-5301.patch | 289 + .../rb_libtorrent-1.0.9-test_torrent_parse.patch | 41 +++ net-libs/rb_libtorrent/metadata.xml| 3 +- .../rb_libtorrent/rb_libtorrent-1.0.9-r2.ebuild| 114 5 files changed, 446 insertions(+), 2 deletions(-) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index e13d166..dcccf65 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,4 +1,5 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 +DIST libtorrent-rasterbar-1.0.9.tar.gz 3292886 SHA256 11a93125ed49f796fca83da925ab7dc29e91d88b915f078caaddaaf559d63db6 SHA512 68558d440c8220711a410e54a28316b7b98f6dd4d0dae2d56cee3a3f0bd031f8b0623a8eb3fde312c4d1b61b4be8fc21396cb3e9fd7f6d86e3a9a693ee036b66 WHIRLPOOL 2c2f695458fe1069d4159d308def7591bc318eed30e649bc5ad4579fef1c67d3ccabc6acfb7570ae09a9b78fe8c00f975c88d48231b9db71e714672e1043d1f5 DIST rb_libtorrent-1.0.9.tar.gz 2977503 SHA256 f4eadcbc779edc590d0162b0188c1b179d2cc72519c3756989ef925e376ddecd SHA512 0980ebb5567310ad6f235899770cfc7a23ef754f5a8513e1baa8bbec139ff26006a6b47a1cca62e45da496b901c6646eee3dd76ab4bb5410ce3fc119e717c072 WHIRLPOOL 7c6862d9d4fbc27d6de04cba8ac605dbffafcf1b26a3519bc94964727416655450b74cb62928f27fa568dcc163c8a599ca78f080a86171b6e1283d9b794924b8 diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.9-CVE-2016-5301.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.9-CVE-2016-5301.patch new file mode 100644 index 000..19ebeeb --- /dev/null +++ b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.9-CVE-2016-5301.patch @@ -0,0 +1,289 @@ +From 22099cec46741417a6fb6df560468eb64655db33 Mon Sep 17 00:00:00 2001 +From: arvidn+Date: Sat, 4 Jun 2016 12:49:38 -0400 +Subject: [PATCH] back-port http_parser bugfix + +--- + src/http_parser.cpp | 32 +++ + test/test_http_parser.cpp | 142 -- + +diff --git a/src/http_parser.cpp b/src/http_parser.cpp +index 7664cad..89de739 100644 +--- a/src/http_parser.cpp b/src/http_parser.cpp +@@ -151,6 +151,7 @@ namespace libtorrent + if (m_state == read_status) + { + TORRENT_ASSERT(!m_finished); ++ TORRENT_ASSERT(pos <= recv_buffer.end); + char const* newline = std::find(pos, recv_buffer.end, '\n'); + // if we don't have a full line yet, wait. + if (newline == recv_buffer.end) +@@ -171,6 +172,7 @@ namespace libtorrent + + char const* line = pos; + ++newline; ++ TORRENT_ASSERT(newline >= pos); + int incoming = int(newline - pos); + m_recv_pos += incoming;
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 9c2dcda81afe398fb9f0e635168e73919e59ecb1 Author: Davide Pesavento gentoo org> AuthorDate: Sat Aug 6 03:10:19 2016 + Commit: Davide Pesavento gentoo org> CommitDate: Thu Aug 18 20:30:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2dcda8 net-libs/rb_libtorrent: remove a few old versions Package-Manager: portage-2.3.0 net-libs/rb_libtorrent/Manifest| 1 - .../rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild | 73 - net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild | 109 --- net-libs/rb_libtorrent/rb_libtorrent-1.0.9.ebuild | 116 - 4 files changed, 299 deletions(-) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index eece58d..e13d166 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,5 +1,4 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 -DIST rb_libtorrent-1.0.8.tar.gz 2977324 SHA256 24498625d946b80b2269789fb666196240fe805a0b6417d83d1f4dd9ee5f9a7a SHA512 7ab98712225e19224c969fe4c6cd2f21f0aff3f5130dc1b3a0ea1b339b23b3cd303e76aeec9ac23e253c77865c60fd6623f7c8cd4e336c5a16fdf3d4627b88e2 WHIRLPOOL 23c3f84f304e642c7c25239a8a209d37afde41454f8688ef1b24c680d0d268e9163244dc06b973a49a8173f7e1cd7b7bf4f359fb89294cee5868060a64dbb2eb DIST rb_libtorrent-1.0.9.tar.gz 2977503 SHA256 f4eadcbc779edc590d0162b0188c1b179d2cc72519c3756989ef925e376ddecd SHA512 0980ebb5567310ad6f235899770cfc7a23ef754f5a8513e1baa8bbec139ff26006a6b47a1cca62e45da496b901c6646eee3dd76ab4bb5410ce3fc119e717c072 WHIRLPOOL 7c6862d9d4fbc27d6de04cba8ac605dbffafcf1b26a3519bc94964727416655450b74cb62928f27fa568dcc163c8a599ca78f080a86171b6e1283d9b794924b8 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild deleted file mode 100644 index f11971e..000 --- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} ) -PYTHON_REQ_USE="threads" -DISTUTILS_OPTIONAL=true -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils multilib distutils-r1 - -MY_P=${P/rb_/} -MY_P=${MY_P/torrent/torrent-rasterbar} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://libtorrent.org; -SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug doc examples python ssl static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - >=dev-libs/boost-1.48:=[threads] - sys-libs/zlib - examples? ( !net-p2p/mldonkey ) - ssl? ( dev-libs/openssl:0= ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost[python,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} - >=sys-devel/libtool-2.2" - -RESTRICT="test" - -PATCHES=( "${FILESDIR}"/${P}-python.patch ) - -src_configure() { - local myeconfargs=( - --disable-silent-rules # bug 441842 - --with-boost-libdir=/usr/$(get_libdir) - $(use_enable debug) - $(use_enable test tests) - $(use_enable examples) - $(use_enable ssl encryption) - $(use_enable python python-binding) - $(usex debug "--enable-logging=verbose" "") - ) - - use python && python_setup - - autotools-utils_src_configure - use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure -} - -src_compile() { - autotools-utils_src_compile - use python && cd
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 40dd89248e1bbcddf04ac23bbca438a6508980b6 Author: PPed72 iol it> AuthorDate: Mon May 2 14:04:58 2016 + Commit: Patrice Clement gentoo org> CommitDate: Fri May 20 07:44:07 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40dd8924 net-libs/rb_libtorrent: fix miscellaneous issues Gentoo-Bug: https://bugs.gentoo.org/581274 Closes: https://github.com/gentoo/gentoo/pull/1394 Signed-off-by: Patrice Clement gentoo.org> net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild index 9476aa4..6a517b9 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild @@ -43,6 +43,10 @@ RESTRICT="test" src_prepare() { default + # make sure lib search dir points to the main `S` dir and not to python copies + sed -i "s|-L[^ ]*/src/\.libs|-L${S}/src/.libs|" \ + -- 'bindings/python/link_flags.in' || die + # needed or else eautoreconf fails mkdir build-aux && cp {m4,build-aux}/config.rpath || die @@ -80,7 +84,7 @@ src_compile() { default python_compile() { - cd "${BUILD_DIR}/../bindings/python" || return 1 + cd "${BUILD_DIR}/../bindings/python" || die distutils-r1_python_compile } use python && distutils-r1_src_compile @@ -92,7 +96,7 @@ src_install() { default python_install() { - cd "${BUILD_DIR}/../bindings/python" || return 1 + cd "${BUILD_DIR}/../bindings/python" || die distutils-r1_python_install } use python && distutils-r1_src_install
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: ffa8bb31531324b7898cd417eb868931cfa84b50 Author: PPed72 iol it> AuthorDate: Fri Apr 15 13:35:19 2016 + Commit: Patrice Clement gentoo org> CommitDate: Thu Apr 21 19:46:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa8bb31 net-libs/rb_libtorrent: fix linking of python bindings Thanks to Jan Chren (rindeal)for the ebuild, I've simply ported the good bits to the current one. Gentoo-Bug: https://bugs.gentoo.org/576910 Closes: https://github.com/gentoo/gentoo/pull/1262 Signed-off-by: Patrice Clement gentoo.org> net-libs/rb_libtorrent/metadata.xml| 4 + .../rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild| 99 ++ 2 files changed, 103 insertions(+) diff --git a/net-libs/rb_libtorrent/metadata.xml b/net-libs/rb_libtorrent/metadata.xml index c0cbcd2..36ca5cc 100644 --- a/net-libs/rb_libtorrent/metadata.xml +++ b/net-libs/rb_libtorrent/metadata.xml @@ -10,4 +10,8 @@ libtorrent arvidn/libtorrent + +Enable DHT (distributed hash table) support for + libtorrent + diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild new file mode 100644 index 000..9476aa4 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.9-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +DISTUTILS_IN_SOURCE_BUILD=true + +inherit autotools distutils-r1 versionator + +MY_PV=$(replace_all_version_separators '_' ) +S=${WORKDIR}/libtorrent-libtorrent-${MY_PV} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org; +SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${MY_PV}.tar.gz -> rb_libtorrent-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug +dht doc examples python +ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.53:=[threads] + sys-libs/zlib + virtual/libiconv + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +src_prepare() { + default + + # needed or else eautoreconf fails + mkdir build-aux && cp {m4,build-aux}/config.rpath || die + + eautoreconf + + use python && python_copy_sources +} + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-system=mt + --with-libiconv + $(use_enable debug) + $(usex debug "--enable-logging=verbose" "") + $(use_enable dht) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable static-libs static) + $(use_enable test tests) + ) + econf "${myeconfargs[@]}" + + python_configure() { + local myeconfargs+=( + --enable-python-binding + --with-boost-python=yes + ) + econf "${myeconfargs[@]}" + } + use python && distutils-r1_src_configure +} + +src_compile() { + default + + python_compile() { + cd "${BUILD_DIR}/../bindings/python" || return 1 + distutils-r1_python_compile + } + use python && distutils-r1_src_compile +} + +src_install() { + use doc && HTML_DOCS+=( "${S}"/docs ) + + default + + python_install() { + cd "${BUILD_DIR}/../bindings/python" || return 1 + distutils-r1_python_install + } + use python && distutils-r1_src_install +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: ff4bb8c30ca2b0c1cc39b76fbf287130d37caf87 Author: Holger Hoffstätte googlemail com> AuthorDate: Thu Mar 10 00:41:45 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Thu Mar 10 08:31:43 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4bb8c3 net-libs/rb_libtorrent: py3.3 is no longer in IUSE net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild index 33c0ed3..40a8610 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild @@ -47,9 +47,7 @@ src_prepare() { } src_configure() { - if use python_targets_python3_3 ;then - boost_py3="--with-boost-python=3.3" - elif use python_targets_python3_4 ;then + if use python_targets_python3_4 ;then boost_py3="--with-boost-python=3.4" elif use python_targets_python3_5 ;then boost_py3="--with-boost-python=3.5"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 28ad7a01926295a630409323d17195acaa421d1d Author: Lars Wendler gentoo org> AuthorDate: Wed Mar 9 16:58:16 2016 + Commit: Lars Wendler gentoo org> CommitDate: Wed Mar 9 17:00:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ad7a01 net-libs/rb_libtorrent: Bump to version 1.0.9 (bug #576794). Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler gentoo.org> net-libs/rb_libtorrent/Manifest | 1 + net-libs/rb_libtorrent/rb_libtorrent-1.0.9.ebuild | 116 ++ 2 files changed, 117 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index c0b0a8c..7c9bbd5 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -5,3 +5,4 @@ DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70 DIST libtorrent-rasterbar-1.0.6.tar.gz 3307491 SHA256 c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61 SHA512 798529f877dc94aa8eb635677a2fffb6deead3937153e78ac5344fd81422f9fd9594e227db3ec0ae954dfc59e4dd5f3b8f6dbed2e3aa1f9a710c32b0622f54ee WHIRLPOOL 250651925c4d09b6e73c3c3e4b1e1f9131b49dbf3bdbeda3d683f204d4cebbcb865b694aa5e079072a73be922a25a2378094744bf4dd3bc4e220e9b0115342b6 DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 DIST rb_libtorrent-1.0.8.tar.gz 2977324 SHA256 24498625d946b80b2269789fb666196240fe805a0b6417d83d1f4dd9ee5f9a7a SHA512 7ab98712225e19224c969fe4c6cd2f21f0aff3f5130dc1b3a0ea1b339b23b3cd303e76aeec9ac23e253c77865c60fd6623f7c8cd4e336c5a16fdf3d4627b88e2 WHIRLPOOL 23c3f84f304e642c7c25239a8a209d37afde41454f8688ef1b24c680d0d268e9163244dc06b973a49a8173f7e1cd7b7bf4f359fb89294cee5868060a64dbb2eb +DIST rb_libtorrent-1.0.9.tar.gz 2977503 SHA256 f4eadcbc779edc590d0162b0188c1b179d2cc72519c3756989ef925e376ddecd SHA512 0980ebb5567310ad6f235899770cfc7a23ef754f5a8513e1baa8bbec139ff26006a6b47a1cca62e45da496b901c6646eee3dd76ab4bb5410ce3fc119e717c072 WHIRLPOOL 7c6862d9d4fbc27d6de04cba8ac605dbffafcf1b26a3519bc94964727416655450b74cb62928f27fa568dcc163c8a599ca78f080a86171b6e1283d9b794924b8 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.9.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.9.ebuild new file mode 100644 index 000..1bf582f --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.9.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools multilib distutils-r1 versionator + +MY_PV=$(replace_all_version_separators '_' ) +S=${WORKDIR}/libtorrent-libtorrent-${MY_PV} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org; +SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${MY_PV}.tar.gz -> rb_libtorrent-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.53:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +src_prepare() { + default + chmod a-x docs/*.rst docs/*.htm* src/*.cpp include/libtorrent/*.hpp || die + + # needed or else eautoreconf fails + mkdir build-aux || die + cp {m4,build-aux}/config.rpath || die + + eautoreconf +} + +src_configure() { + local boost_py2 boost_py3 + + if use python_targets_python3_5 ;then + boost_py3="--with-boost-python=3.5" + elif use python_targets_python3_4 ;then + boost_py3="--with-boost-python=3.4" + fi + + if use python_targets_python2_7 ;then + boost_py2="--with-boost-python=2.7" + fi + + local myeconfargs=( + --enable-shared + --disable-silent-rules # bug 441842 + --with-boost-system=mt + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable static-libs static) + $(use_enable python python-binding) + $(usex debug
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/files/, net-libs/rb_libtorrent/
commit: ec8fdb57666d2f8caa61ddfc6f2f86c1064aa3f6 Author: Lars Wendler gentoo org> AuthorDate: Wed Mar 9 17:00:40 2016 + Commit: Lars Wendler gentoo org> CommitDate: Wed Mar 9 17:00:58 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8fdb57 net-libs/rb_libtorrent: Removed old. Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler gentoo.org> net-libs/rb_libtorrent/Manifest| 3 - .../rb_libtorrent-1.0.6-fix-debug-build.patch | 26 --- ..._libtorrent-1.0.6-remove-parse-hash-fails.patch | 185 - net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild | 75 - net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild | 75 - net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild | 80 - 6 files changed, 444 deletions(-) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index 7c9bbd5..eece58d 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -1,8 +1,5 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c -DIST libtorrent-rasterbar-1.0.4.tar.gz 3297242 SHA256 1f567823133b1493b9717afc8334eed691bf0ab452d4a2e0f644989f13ce9db0 SHA512 1917d1207171d23dbcbbb17f0c3afdadcec059e8e603e2009bb72a610be598f2ff5a5ebdfc5a1b0e07563a05e774b395e24e04fabb17847b6a757f47f41a2313 WHIRLPOOL acbb9658d80f42bc6fe00cbe491e58bc059b6eeb96c0e34f7c86ad549104dabc4c9e2df5c931fd719f064bff6c4d06376022cf0e221034fc5e88af88d258f8f1 -DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0 SHA512 1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6 WHIRLPOOL a84f7895fdfda2020630c387eedd9b5a82ddc51af6b35fe8a2e7216495baaf9901a58ef2335c254fa3c2e0c713c7e6a1d9f976984fa5998329e47bc95ae22a63 -DIST libtorrent-rasterbar-1.0.6.tar.gz 3307491 SHA256 c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61 SHA512 798529f877dc94aa8eb635677a2fffb6deead3937153e78ac5344fd81422f9fd9594e227db3ec0ae954dfc59e4dd5f3b8f6dbed2e3aa1f9a710c32b0622f54ee WHIRLPOOL 250651925c4d09b6e73c3c3e4b1e1f9131b49dbf3bdbeda3d683f204d4cebbcb865b694aa5e079072a73be922a25a2378094744bf4dd3bc4e220e9b0115342b6 DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 DIST rb_libtorrent-1.0.8.tar.gz 2977324 SHA256 24498625d946b80b2269789fb666196240fe805a0b6417d83d1f4dd9ee5f9a7a SHA512 7ab98712225e19224c969fe4c6cd2f21f0aff3f5130dc1b3a0ea1b339b23b3cd303e76aeec9ac23e253c77865c60fd6623f7c8cd4e336c5a16fdf3d4627b88e2 WHIRLPOOL 23c3f84f304e642c7c25239a8a209d37afde41454f8688ef1b24c680d0d268e9163244dc06b973a49a8173f7e1cd7b7bf4f359fb89294cee5868060a64dbb2eb DIST rb_libtorrent-1.0.9.tar.gz 2977503 SHA256 f4eadcbc779edc590d0162b0188c1b179d2cc72519c3756989ef925e376ddecd SHA512 0980ebb5567310ad6f235899770cfc7a23ef754f5a8513e1baa8bbec139ff26006a6b47a1cca62e45da496b901c6646eee3dd76ab4bb5410ce3fc119e717c072 WHIRLPOOL 7c6862d9d4fbc27d6de04cba8ac605dbffafcf1b26a3519bc94964727416655450b74cb62928f27fa568dcc163c8a599ca78f080a86171b6e1283d9b794924b8 diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch deleted file mode 100644 index 62429e7..000 --- a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch +++ /dev/null @@ -1,26 +0,0 @@ -Signed-off-by: Markos Chandras-X-Gentoo-Bug: 559728 -X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=559728 - -From 06ce6a2d8b048c5791e2cc5acd1dfe8845680a84 Mon Sep 17 00:00:00 2001 -From: Chocobo1 -Date: Sat, 1 Aug 2015 20:29:43 +0800 -Subject: [PATCH] Fix typo - - src/torrent.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/torrent.cpp
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 5344ba114f738d03bbcfeb79acf1b4b50112243b Author: Patrick Lauer gentoo org> AuthorDate: Wed Mar 9 15:01:51 2016 + Commit: Patrick Lauer gentoo org> CommitDate: Wed Mar 9 15:01:51 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5344ba11 net-libs/rb_libtorrent: Drop py3.3 as boost dropped it Package-Manager: portage-2.2.27 net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild index 69fdcfa..33c0ed3 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) +PYTHON_COMPAT=( python2_7 python3_{4,5} ) PYTHON_REQ_USE="threads" DISTUTILS_OPTIONAL=true AUTOTOOLS_AUTORECONF=true
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 09f8d729e2a1af1d3fdac6b5592020a42b4b7481 Author: RobinDX gmail com> AuthorDate: Sat Jan 23 05:12:25 2016 + Commit: Markos Chandras gentoo org> CommitDate: Sat Jan 23 05:13:04 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f8d729 net-libs/rb_libtorrent: version bump 1.0.8 net-libs/rb_libtorrent/Manifest | 1 + net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild | 111 ++ 2 files changed, 112 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index 87ef052..c0b0a8c 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -4,3 +4,4 @@ DIST libtorrent-rasterbar-1.0.4.tar.gz 3297242 SHA256 1f567823133b1493b9717afc83 DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0 SHA512 1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6 WHIRLPOOL a84f7895fdfda2020630c387eedd9b5a82ddc51af6b35fe8a2e7216495baaf9901a58ef2335c254fa3c2e0c713c7e6a1d9f976984fa5998329e47bc95ae22a63 DIST libtorrent-rasterbar-1.0.6.tar.gz 3307491 SHA256 c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61 SHA512 798529f877dc94aa8eb635677a2fffb6deead3937153e78ac5344fd81422f9fd9594e227db3ec0ae954dfc59e4dd5f3b8f6dbed2e3aa1f9a710c32b0622f54ee WHIRLPOOL 250651925c4d09b6e73c3c3e4b1e1f9131b49dbf3bdbeda3d683f204d4cebbcb865b694aa5e079072a73be922a25a2378094744bf4dd3bc4e220e9b0115342b6 DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 +DIST rb_libtorrent-1.0.8.tar.gz 2977324 SHA256 24498625d946b80b2269789fb666196240fe805a0b6417d83d1f4dd9ee5f9a7a SHA512 7ab98712225e19224c969fe4c6cd2f21f0aff3f5130dc1b3a0ea1b339b23b3cd303e76aeec9ac23e253c77865c60fd6623f7c8cd4e336c5a16fdf3d4627b88e2 WHIRLPOOL 23c3f84f304e642c7c25239a8a209d37afde41454f8688ef1b24c680d0d268e9163244dc06b973a49a8173f7e1cd7b7bf4f359fb89294cee5868060a64dbb2eb diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild new file mode 100644 index 000..6a42760 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 versionator + +MY_PV=$(replace_all_version_separators '_' ) +S=${WORKDIR}/libtorrent-libtorrent-${MY_PV} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org; +SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${MY_PV}.tar.gz -> rb_libtorrent-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.53:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + chmod a-x docs/*.rst docs/*.htm* src/*.cpp include/libtorrent/*.hpp || die + ./autotool.sh +} + +src_configure() { + if use python_targets_python3_3 ;then + boost_py3="--with-boost-python=3.3" + elif use python_targets_python3_4 ;then + boost_py3="--with-boost-python=3.4" + elif use python_targets_python3_5 ;then + boost_py3="--with-boost-python=3.5" + else + boost_py3="" + fi + + if use python_targets_python2_7 ;then + boost_py2="--with-boost-python=2.7" + else + boost_py2="" + fi + + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-system=mt + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug "--enable-logging=verbose" "") + ${boost_py3} + ${boost_py2} + ) + + if use python ;then +
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 251c1adb341b6d93926ab9870356b5eb61c7c531 Author: Manuel Rüger gentoo org> AuthorDate: Sat Jan 23 15:53:21 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Sat Jan 23 15:53:21 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251c1adb net-libs/rb_libtorrent: Whitespace Package-Manager: portage-2.2.27 net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild index 6a42760..69fdcfa 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -56,7 +56,7 @@ src_configure() { else boost_py3="" fi - + if use python_targets_python2_7 ;then boost_py2="--with-boost-python=2.7" else @@ -79,9 +79,9 @@ src_configure() { if use python ;then python_setup fi - + autotools-utils_src_configure - + if use python ;then cd "${BUILD_DIR}"/bindings/python || die && \ distutils-r1_src_configure @@ -90,7 +90,7 @@ src_configure() { src_compile() { autotools-utils_src_compile - + if use python ;then cd "${BUILD_DIR}"/bindings/python || die && \ distutils-r1_src_compile @@ -101,7 +101,7 @@ src_install() { if use doc ;then HTML_DOCS=( "${S}"/docs/. ) fi - + autotools-utils_src_install if use python ;then
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: b7ffd7f71a8d252ec8f9b66243612051272b1adc Author: Markos Chandras gentoo org> AuthorDate: Thu Dec 3 15:52:16 2015 + Commit: Markos Chandras gentoo org> CommitDate: Thu Dec 3 16:23:38 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ffd7f7 net-libs/rb_libtorrent: Change HOMEPAGE. Bug #567206 Package-Manager: portage-2.2.26 net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild | 2 +- net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild| 2 +- net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild| 2 +- net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild | 2 +- net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild | 2 +- net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild index f5445dd..f11971e 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild @@ -16,7 +16,7 @@ MY_P=${MY_P/torrent/torrent-rasterbar} S=${WORKDIR}/${MY_P} DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/; +HOMEPAGE="http://libtorrent.org; SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" LICENSE="BSD" diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild index 21530dc..c8fac88 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild @@ -14,7 +14,7 @@ MY_P=${MY_P/torrent/torrent-rasterbar} S=${WORKDIR}/${MY_P} DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/; +HOMEPAGE="http://libtorrent.org; SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" LICENSE="BSD" diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild index 00757de..6f65715 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild @@ -16,7 +16,7 @@ MY_P=${MY_P/torrent/torrent-rasterbar} S=${WORKDIR}/${MY_P} DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/; +HOMEPAGE="http://libtorrent.org; SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" LICENSE="BSD" diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild index 8a01bd1..e683398 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild @@ -16,7 +16,7 @@ MY_P=${MY_P/torrent/torrent-rasterbar} S=${WORKDIR}/${MY_P} DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/; +HOMEPAGE="http://libtorrent.org; SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" LICENSE="BSD" diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild index f8f4d39..4d7b03a 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild @@ -16,7 +16,7 @@ MY_P=${MY_P/torrent/torrent-rasterbar} S=${WORKDIR}/${MY_P} DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/; +HOMEPAGE="http://libtorrent.org; SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" LICENSE="BSD" diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild index 17935da..5d8c19f 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild @@ -17,7 +17,7 @@ MY_PV=$(replace_all_version_separators '_' ) S=${WORKDIR}/${MY_P} DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="http://www.rasterbar.com/products/libtorrent/; +HOMEPAGE="http://libtorrent.org; SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz; LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 8d3b87e999002b7df8dea6eb02c00e29b56aaeee Author: Markos Chandras gentoo org> AuthorDate: Thu Dec 3 15:53:24 2015 + Commit: Markos Chandras gentoo org> CommitDate: Thu Dec 3 16:23:38 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3b87e9 net-libs/rb_libtorrent: Version bump Package-Manager: portage-2.2.26 net-libs/rb_libtorrent/Manifest | 1 + net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild | 78 +++ 2 files changed, 79 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index caca87d..87ef052 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -3,3 +3,4 @@ DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbb DIST libtorrent-rasterbar-1.0.4.tar.gz 3297242 SHA256 1f567823133b1493b9717afc8334eed691bf0ab452d4a2e0f644989f13ce9db0 SHA512 1917d1207171d23dbcbbb17f0c3afdadcec059e8e603e2009bb72a610be598f2ff5a5ebdfc5a1b0e07563a05e774b395e24e04fabb17847b6a757f47f41a2313 WHIRLPOOL acbb9658d80f42bc6fe00cbe491e58bc059b6eeb96c0e34f7c86ad549104dabc4c9e2df5c931fd719f064bff6c4d06376022cf0e221034fc5e88af88d258f8f1 DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0 SHA512 1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6 WHIRLPOOL a84f7895fdfda2020630c387eedd9b5a82ddc51af6b35fe8a2e7216495baaf9901a58ef2335c254fa3c2e0c713c7e6a1d9f976984fa5998329e47bc95ae22a63 DIST libtorrent-rasterbar-1.0.6.tar.gz 3307491 SHA256 c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61 SHA512 798529f877dc94aa8eb635677a2fffb6deead3937153e78ac5344fd81422f9fd9594e227db3ec0ae954dfc59e4dd5f3b8f6dbed2e3aa1f9a710c32b0622f54ee WHIRLPOOL 250651925c4d09b6e73c3c3e4b1e1f9131b49dbf3bdbeda3d683f204d4cebbcb865b694aa5e079072a73be922a25a2378094744bf4dd3bc4e220e9b0115342b6 +DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild new file mode 100644 index 000..938d680 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 versionator + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +MY_PV=$(replace_all_version_separators '_' ) +S=${WORKDIR}/${MY_P} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org; +SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.53:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.2-python.patch +) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-libdir=/usr/$(get_libdir) + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug "--enable-logging=verbose" "") + ) + + use python && python_setup + + autotools-utils_src_configure + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure +} + +src_compile() { + autotools-utils_src_compile + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/docs/. ) + + autotools-utils_src_install + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/files/, net-libs/rb_libtorrent/
commit: 26ef4293ecc86d4ddae1cc156cd61beef74530e9 Author: Markos Chandras gentoo org> AuthorDate: Fri Sep 18 14:29:29 2015 + Commit: Markos Chandras gentoo org> CommitDate: Fri Sep 18 14:29:29 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26ef4293 net-libs/rb_libtorrent: Fix USE=examples build. Bug #550252 Package-Manager: portage-2.2.20.1 ..._libtorrent-1.0.6-remove-parse-hash-fails.patch | 185 + net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild | 1 + 2 files changed, 186 insertions(+) diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-remove-parse-hash-fails.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-remove-parse-hash-fails.patch new file mode 100644 index 000..53ba0b8 --- /dev/null +++ b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-remove-parse-hash-fails.patch @@ -0,0 +1,185 @@ +X-Gentoo-Bug: 550252 +X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=550252 +Upstream report: https://github.com/arvidn/libtorrent/issues/157 +[markos]: Merge commits +Signed-off-by: Markos Chandras+ +From 61a896035782436d5a8cceef1fc997e97ebbe019 Mon Sep 17 00:00:00 2001 +From: arvidn +Date: Sat, 12 Sep 2015 09:54:40 -0400 +Subject: [PATCH] remove parse_hash_fails.cpp + +From 21e908ed1ea661c41e836230b8cf066688038d2b Mon Sep 17 00:00:00 2001 +From: arvidn +Date: Sat, 12 Sep 2015 09:56:30 -0400 +Subject: [PATCH] remove parse_hash_fails from Jamfile also +--- + tools/Makefile.am | 2 - + tools/parse_hash_fails.cpp | 104 + tools/parse_request_log.cpp | 5 ++- + tools/Jamfile | 1 - + 4 files changed, 5 insertions(+), 108 deletions(-) + delete mode 100644 tools/parse_hash_fails.cpp + +diff --git a/tools/Makefile.am b/tools/Makefile.am +index 0e41abd..4d90a78 100644 +--- a/tools/Makefile.am b/tools/Makefile.am +@@ -1,5 +1,4 @@ + tool_programs = \ +- parse_hash_fails \ + parse_request_log + + if ENABLE_EXAMPLES +@@ -25,7 +24,6 @@ EXTRA_DIST = Jamfile \ + run_regression_tests.py\ + run_tests.py + +-parse_hash_fails_SOURCES = parse_hash_fails.cpp + parse_request_log_SOURCES = parse_request_log.cpp + + LDADD = $(top_builddir)/src/libtorrent-rasterbar.la +diff --git a/tools/parse_hash_fails.cpp b/tools/parse_hash_fails.cpp +deleted file mode 100644 +index f686c5e..000 +--- a/tools/parse_hash_fails.cpp /dev/null +@@ -1,104 +0,0 @@ +-/* +- +-Copyright (c) 2012, Arvid Norberg +-All rights reserved. +- +-Redistribution and use in source and binary forms, with or without +-modification, are permitted provided that the following conditions +-are met: +- +-* Redistributions of source code must retain the above copyright +- notice, this list of conditions and the following disclaimer. +-* Redistributions in binary form must reproduce the above copyright +- notice, this list of conditions and the following disclaimer in +- the documentation and/or other materials provided with the distribution. +-* Neither the name of the author nor the names of its +- contributors may be used to endorse or promote products derived +- from this software without specific prior written permission. +- +-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +-POSSIBILITY OF SUCH DAMAGE. +- +-*/ +- +-#include +-#include +-#include +-#include "libtorrent/file.hpp" +- +-using namespace libtorrent; +- +-void print_usage() +-{ +- fprintf(stderr, "usage: parse_hash_fails log-directory\n"); +- exit(1); +-} +- +-int main(int argc, char* argv[]) +-{ +- if (argc != 2) print_usage(); +- +- error_code ec; +- directory d(argv[1], ec); +- if (ec) +- { +- fprintf(stderr, "failed to open directory: %s\n%s\n" +- , argv[1], ec.message().c_str()); +- return 1; +- } +- +- for (; !d.done(); d.next(ec)) +- { +- if (ec) +- { +- fprintf(stderr, "error listing directory: %s\n", ec.message().c_str()); +- return 1; +- } +- std::string filename = d.file(); +- char hash[41]; +- int piece;
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/, net-libs/rb_libtorrent/files/
commit: f3b7a35abb258019987890573b730f3c1f18ad04 Author: Markos Chandras gentoo org> AuthorDate: Fri Sep 11 21:35:50 2015 + Commit: Markos Chandras gentoo org> CommitDate: Fri Sep 11 21:36:20 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b7a35a net-libs/rb_libtorrent: Backport upstream patch to fix debug builds. Thanks to Eugene (#559728) Package-Manager: portage-2.2.20.1 .../rb_libtorrent-1.0.6-fix-debug-build.patch | 26 ++ net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild | 5 - 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch new file mode 100644 index 000..62429e7 --- /dev/null +++ b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch @@ -0,0 +1,26 @@ +Signed-off-by: Markos Chandras+X-Gentoo-Bug: 559728 +X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=559728 + +From 06ce6a2d8b048c5791e2cc5acd1dfe8845680a84 Mon Sep 17 00:00:00 2001 +From: Chocobo1 +Date: Sat, 1 Aug 2015 20:29:43 +0800 +Subject: [PATCH] Fix typo + +--- + src/torrent.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/torrent.cpp b/src/torrent.cpp +index d2da131..2e276ec 100644 +--- a/src/torrent.cpp b/src/torrent.cpp +@@ -675,7 +675,7 @@ namespace libtorrent + } + + #if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING +- debug_log("*** LEAVING SEED MODE (%s)", seed ? "as seed" : "as non-seed"); ++ debug_log("*** LEAVING SEED MODE (%s)", m_seed_mode ? "as seed" : "as non-seed"); + #endif + m_seed_mode = false; + // seed is false if we turned out not diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild index 9bad389..4508582 100644 --- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild @@ -41,7 +41,10 @@ DEPEND="${RDEPEND} RESTRICT="test" -PATCHES=( "${FILESDIR}"/${PN}-1.0.2-python.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-1.0.2-python.patch + "${FILESDIR}"/${P}-fix-debug-build.patch +) AUTOTOOLS_IN_SOURCE_BUILD=1
[gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/
commit: 24f55b61cc5216dda27b13b4a43062a2c9d1e10f Author: Jauhien Piatlicki jauhien AT gentoo DOT org AuthorDate: Tue Aug 25 18:40:30 2015 + Commit: Jauhien Piatlicki jauhien AT gentoo DOT org CommitDate: Tue Aug 25 18:48:01 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f55b61 net-libs/rb_libtorrent: version bump Gentoo-Bug: 556336 Package-Manager: portage-2.2.20.1 net-libs/rb_libtorrent/Manifest | 1 + net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index a72c2ce..caca87d 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -2,3 +2,4 @@ DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9 DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c DIST libtorrent-rasterbar-1.0.4.tar.gz 3297242 SHA256 1f567823133b1493b9717afc8334eed691bf0ab452d4a2e0f644989f13ce9db0 SHA512 1917d1207171d23dbcbbb17f0c3afdadcec059e8e603e2009bb72a610be598f2ff5a5ebdfc5a1b0e07563a05e774b395e24e04fabb17847b6a757f47f41a2313 WHIRLPOOL acbb9658d80f42bc6fe00cbe491e58bc059b6eeb96c0e34f7c86ad549104dabc4c9e2df5c931fd719f064bff6c4d06376022cf0e221034fc5e88af88d258f8f1 DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0 SHA512 1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6 WHIRLPOOL a84f7895fdfda2020630c387eedd9b5a82ddc51af6b35fe8a2e7216495baaf9901a58ef2335c254fa3c2e0c713c7e6a1d9f976984fa5998329e47bc95ae22a63 +DIST libtorrent-rasterbar-1.0.6.tar.gz 3307491 SHA256 c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61 SHA512 798529f877dc94aa8eb635677a2fffb6deead3937153e78ac5344fd81422f9fd9594e227db3ec0ae954dfc59e4dd5f3b8f6dbed2e3aa1f9a710c32b0622f54ee WHIRLPOOL 250651925c4d09b6e73c3c3e4b1e1f9131b49dbf3bdbeda3d683f204d4cebbcb865b694aa5e079072a73be922a25a2378094744bf4dd3bc4e220e9b0115342b6 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild new file mode 100644 index 000..9bad389 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE=threads +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 versionator + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +MY_PV=$(replace_all_version_separators '_' ) +S=${WORKDIR}/${MY_P} + +DESCRIPTION=C++ BitTorrent implementation focusing on efficiency and scalability +HOMEPAGE=http://www.rasterbar.com/products/libtorrent/; +SRC_URI=https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz; + +LICENSE=BSD +SLOT=0 +KEYWORDS=~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd +IUSE=debug doc examples python ssl static-libs test + +REQUIRED_USE=python? ( ${PYTHON_REQUIRED_USE} ) + +RDEPEND= + =dev-libs/boost-1.53:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + ) +DEPEND=${RDEPEND} + =sys-devel/libtool-2.2 + +RESTRICT=test + +PATCHES=( ${FILESDIR}/${PN}-1.0.2-python.patch ) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-libdir=/usr/$(get_libdir) + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug --enable-logging=verbose ) + ) + + use python python_setup + + autotools-utils_src_configure + use python cd ${BUILD_DIR}/bindings/python distutils-r1_src_configure +} + +src_compile() { + autotools-utils_src_compile + use python cd ${BUILD_DIR}/bindings/python distutils-r1_src_compile +} + +src_install() { + use doc HTML_DOCS=( ${S}/docs/. ) + + autotools-utils_src_install + use python cd ${BUILD_DIR}/bindings/python distutils-r1_src_install +}