summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2014-03-27 17:05:12 +0000
committerTony Vroon <chainsaw@gentoo.org>2014-03-27 17:05:12 +0000
commit3a56d1f4cc40ffb21935723b23ccf533753df265 (patch)
tree9c370058d6b9b80407d389ef1d8bc780ef641086
parentSecurity bump (bug #505948). (diff)
downloadhistorical-3a56d1f4cc40ffb21935723b23ccf533753df265.tar.gz
historical-3a56d1f4cc40ffb21935723b23ccf533753df265.tar.bz2
historical-3a56d1f4cc40ffb21935723b23ccf533753df265.zip
Bump up the API version numbers in the header, as recent pmacct release candidates require this to build. Attempt to port to newer python eclass.
Package-Manager: portage-2.2.9-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xB5058F9A
-rw-r--r--dev-libs/mongo-c-driver/ChangeLog9
-rw-r--r--dev-libs/mongo-c-driver/Manifest10
-rw-r--r--dev-libs/mongo-c-driver/files/0.8.1-api-version.diff14
-rw-r--r--dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild44
4 files changed, 72 insertions, 5 deletions
diff --git a/dev-libs/mongo-c-driver/ChangeLog b/dev-libs/mongo-c-driver/ChangeLog
index 11cf683404c8..493928b55961 100644
--- a/dev-libs/mongo-c-driver/ChangeLog
+++ b/dev-libs/mongo-c-driver/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/mongo-c-driver
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.6 2014/03/27 15:05:14 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.7 2014/03/27 17:05:08 chainsaw Exp $
+
+*mongo-c-driver-0.8.1-r1 (27 Mar 2014)
+
+ 27 Mar 2014; Tony Vroon <chainsaw@gentoo.org>
+ +mongo-c-driver-0.8.1-r1.ebuild, +files/0.8.1-api-version.diff:
+ Bump up the API version numbers in the header, as recent pmacct release
+ candidates require this to build. Attempt to port to newer python eclass.
*mongo-c-driver-0.8.1 (27 Mar 2014)
diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 10dd5de8f135..4813ce1cc51a 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,18 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX 0.8.1-api-version.diff 421 SHA256 aa1107858c4ed8b7b2da28216245632100e4981b0bc93b78462a1dfd3e868b92 SHA512 0ee058b1f16feef966cbddc9502507f8890d9a9ce5a6eca70bd0b831909d286caf7c09cfdded4ac97a28efda2215b11df8e9f747ace727b4b972c79841a7400e WHIRLPOOL 96ac8cbda45252688738446809516f443d9d3c690960920b83ba9d70083df0dfd430de8cf1daed7441a29d23b60ccc983b304827aa46022a24d1133f1d1e3fe2
DIST mongo-c-driver-0.6.tar.gz 94393 SHA256 7c7cf89726fb74d94c8f65722f5f8ccf35ccab2738b95003245d55f1f53d56e9 SHA512 2d6e3a40bbddd12ed7b2c1624b692ab25324135b08646a496b0d114699898aaee4541c541c354c2b0406a1cc375b2f07ab9cf538ea04f4751298e8d0f2e3bf53 WHIRLPOOL 5a81c74e6f6803f565887822127d6f6fd9f8ef147b812e0744d58af507b877f28bead4705cbebbb9c2c93476d70f8d138f11cddb1c251464bb0026d5ee802e65
DIST mongo-c-driver-0.7.1.tar.gz 108537 SHA256 6670b50bb4232cc617a114d1320ea97abc55f9570b4ebf53e1e6c22671ffc328 SHA512 5c6996dc47ecbe4d77971e3aa983a877e7de736bf358c467808eceba8b1a5eea342376249cdc682a034fc7ec39290d234527cec3c3732686f184281a72aec724 WHIRLPOOL c3aadbb61bd7bd295398b4510708f95c0a05383e80baba510609870aa39f5442d4bbfb6441889f605578e07e2c97d44d2e2d75b5a2ec6950a362825c6110fbd3
DIST mongo-c-driver-0.8.1.tar.gz 124053 SHA256 9575f05fa87fe1f7c6562b1ec9202fd4b8a98950a4d65ea44c1c62fadc2b48b0 SHA512 7b61ac4b1b154ee1f518eddb2bbc0cdafe0da8786eed4475e5703c2a735ec5a09efde59f5bfa45fb226cbce24d8c0ba0de403d8fc3e561c0e48507dfb07962b1 WHIRLPOOL 1474a7b5fced35b511cedd97f558f284d70135c591bd6d671c34519f68097a1e2e6a32a6323acfa4ea3d0146529d3be79f2f91d1187ba3d01a7da6aaacaabf2d
EBUILD mongo-c-driver-0.6.ebuild 1055 SHA256 32d4b2dff894a200e9729fc23e6a46d83e0e7127183ce9b56887afa8dc5c93d1 SHA512 5050f86224d737ff0f1efb1bcde2bb391b3e136d28aca9f2900579d63669b5afaf3abe4cba0c9ab2ff746f524498d2713e8948afd5bcc3c9c5814e02d171ba0a WHIRLPOOL f6a19ef5a9be957f899449d54fadf1f7d4985b908ec74a7d851a0f8a101e26b4bad63af5205ad308c59754522b3710caa314c1cfb24f2bf7db3adeacf51cd5fe
EBUILD mongo-c-driver-0.7.1.ebuild 1062 SHA256 774ab8bd2bdd93a17261e5d676c0b2eff3ab53ae37a9cd16d9ce79b290548d72 SHA512 ed88d8ee3024a2cf8b6b754cf10eeb250a460b3e40fce887ea290a98066e6eb52f5f81e8a4c9de508d6dc0a5fc5f0e525beb0464ddb2f15595fd259eeaef051b WHIRLPOOL 5ee17064c3e667e109d6f7d4b468519b03aef725813738d1f9714c1d06fdaf8e83d5a4edff2294d80c5abf6ea8a22aa7d43d5e0f3b29e1dd4d62eeee04c1ee3e
+EBUILD mongo-c-driver-0.8.1-r1.ebuild 1097 SHA256 567ca94301c6d6be138e6e6c8fe9525c015c11613bf9497d5e5bb0619533650f SHA512 7e1ed7ac4a2216537a380e382dd031d98a1c9a4c6540e27dfaf2c43152b0a869fc9d1bec9cddf4906dfd8e2ff5f5f48310d4799e5d6f68cb821c122e0ada1b6a WHIRLPOOL 28d0f487682b3ffc9c4bc95ec54fdcb546939402453469d493c69a1cb60cbf6a8f74d34cdff7c9757c8cb7fda7344341c95434ed2e7c7ab205bdbf9fee64400e
EBUILD mongo-c-driver-0.8.1.ebuild 1067 SHA256 64e2b5fddf410a129cbd560d9bf10930801155695d0f66f3d8b3b1a3cd1e3c9e SHA512 f706194468bd06aed2987bfff7e07e2dd321cd2b126d392553645713105968fd8bb78ef12d84fbc7ba6352c8d3c2664b107ca77c1b3bb9a21279f57955894d26 WHIRLPOOL 10a677221e61c4cb77880c46e118bcb767212e12c9d8aaba72b13b1898a2a38d63148ce6134c5ce74a810dc2b710f8804d7c0bda06aa7da493078ad04f49cda1
-MISC ChangeLog 1085 SHA256 f520e783b02fb24506439f270d9156c3eea92c72b027dbff5c897fd2fde29e28 SHA512 0e0ce2d7f224dad65538c6f3705ce9ebcf3c5ca973208e90bd0afc03333f6d0b9d13ccd63b89056a0562d9aed47f16b88f04eac22f078d70ece45f2d2c495ee6 WHIRLPOOL 23d64d2bd68caf5f4c32f60a2a1df12224c70c593ea08cdf6fc811f35af5f75e6c22522b7ee4ed999e63dfe3d84bbb6f8149b6d76cbdbfd3c279946169650b08
+MISC ChangeLog 1390 SHA256 a4d8e4ab4621c712e91b38467aa41a6b3cfc1678ce2232f0bfae9bb629410b98 SHA512 a16a33cb3672eff479d4ed7e2d18865dc36f2fc06121f11b2753b1643a4141961f7297f5e6bf2a4c9302e519fcf94054dbc6a6febdf5319e81feac4e7c92bd0f WHIRLPOOL 7fd7482ae7117b183784b74cb3703926973f10063c02efba63cf75a8461591e83f149cec6d374f7343f54e79ceb7fc313f0957402a2b1232e0ddf43017f78fa7
MISC metadata.xml 412 SHA256 dfb6e343d26a3fad209c0e2e0d2d66dce241ebfbc33e208c113dbfde989445ed SHA512 e4e29acd6759fcd9e188a45199f60bf81150dfc89f6ea2ee32d9e8b69208c91fd00675b290615265c30d5acce8dd4a7bffc70720055abf3198cb7f92c3c5857a WHIRLPOOL d889b77c6dc51c7210885a1c8a08788f3c96c2fd0baaadc239c0707305f09db201c9d86601cddc92cb5caebc9e4465c44a202f5e9f66d7f4dcec314607c381e9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlM0Pg4ACgkQp5vW4rUFj5o40gCfZgrRYsV+7bJ1kGQQ5nM+Zx2v
-P54AoJ5XCRuW6C3eFqmezh41Y/EZ2+1O
-=XK89
+iEYEAREIAAYFAlM0WigACgkQp5vW4rUFj5o92QCfbwngEbde2RmjfKf4tHhX5iIC
+TZkAni4whVOOLZyBTZrPmMJAO5DfIbMD
+=eBRx
-----END PGP SIGNATURE-----
diff --git a/dev-libs/mongo-c-driver/files/0.8.1-api-version.diff b/dev-libs/mongo-c-driver/files/0.8.1-api-version.diff
new file mode 100644
index 000000000000..2bd52253a17b
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/0.8.1-api-version.diff
@@ -0,0 +1,14 @@
+diff -uNr mongo-c-driver-0.8.1.ORIG/src/mongo.h mongo-c-driver-0.8.1/src/mongo.h
+--- mongo-c-driver-0.8.1.ORIG/src/mongo.h 2014-03-27 17:00:42.880465606 +0000
++++ mongo-c-driver-0.8.1/src/mongo.h 2014-03-27 17:01:05.131465940 +0000
+@@ -33,8 +33,8 @@
+ #endif
+
+ #define MONGO_MAJOR 0
+-#define MONGO_MINOR 7
+-#define MONGO_PATCH 0
++#define MONGO_MINOR 8
++#define MONGO_PATCH 1
+
+ #define MONGO_OK 0
+ #define MONGO_ERROR -1
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
new file mode 100644
index 000000000000..141428d9427d
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild,v 1.1 2014/03/27 17:05:08 chainsaw Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit base multilib python-r1
+
+DESCRIPTION="C Driver for MongoDB"
+HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver"
+SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="doc static-libs"
+
+# tests fails to build
+RESTRICT="test"
+
+RDEPEND=""
+DEPEND="doc? ( dev-python/sphinx )"
+PATCHES=( "${FILESDIR}/${PV}-api-version.diff" )
+
+src_unpack() {
+ unpack ${A}
+ mv *-${PN}-* "${S}"
+}
+
+src_compile() {
+ emake
+ use doc && make -C docs/source/sphinx html
+}
+
+src_install() {
+ emake install \
+ INSTALL_LIBRARY_PATH="${D}/usr/$(get_libdir)" \
+ INSTALL_INCLUDE_PATH="${D}/usr/include"
+
+ use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +
+
+ use doc && dohtml -r docs/source/sphinx/build/html/*
+}