diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2014-08-01 13:08:10 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2014-08-01 13:08:10 +0000 |
commit | d354d9d275ce082e6df3b95c9e19b44c0f3a9c51 (patch) | |
tree | 1f701763544b02976327aaa6f5d557bb9d06338f /dev-db | |
parent | Initial attempt at packaging TokuMX community edition. Improvement requests w... (diff) | |
download | historical-d354d9d275ce082e6df3b95c9e19b44c0f3a9c51.tar.gz historical-d354d9d275ce082e6df3b95c9e19b44c0f3a9c51.tar.bz2 historical-d354d9d275ce082e6df3b95c9e19b44c0f3a9c51.zip |
Initial attempt at packaging TokuMX community edition. Improvement requests welcomed in bug reports, particularly with patches.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB5058F9A
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/tokumx/Manifest | 14 | ||||
-rw-r--r-- | dev-db/tokumx/files/1.5.0-Werror.diff | 45 | ||||
-rw-r--r-- | dev-db/tokumx/metadata.xml | 14 | ||||
-rw-r--r-- | dev-db/tokumx/tokumx-1.5.0.ebuild | 48 |
4 files changed, 119 insertions, 2 deletions
diff --git a/dev-db/tokumx/Manifest b/dev-db/tokumx/Manifest index 7d0a16f738ad..02d42f77fa99 100644 --- a/dev-db/tokumx/Manifest +++ b/dev-db/tokumx/Manifest @@ -1,5 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 1.5.0-Werror.diff 2195 SHA256 4c0c9b0b3c08838ee0139f459559889459d340774c9c7a1c0c3ab33e0e841a25 SHA512 ac6c2f40e65bc4476a5a9def8c56865675da0099d910ff99e14c3a53df3d5055433ca5d5d4f92e23a1cd4b468555936412ead1a35ae5fd017f232e0afa6c60e6 WHIRLPOOL 4798ad52f6e920ff3b2c292329d07ec6e0f008042516a5530207a0bdd8b2178892f4a309b72569ea1a90c49f88dcb7fa4583bfb8c75cbbc04489e9bd088377b4 DIST tokumx-git-tag-1.5.0.tar.bz2 13059584 SHA256 381747c47073c8a6f8717a27756bb793ec6d80f4f7d119385f8d7b805a3d827d SHA512 ba19237db7d3dcbd3ac07b8cc4860549830fa065fa4d26cbae685274524cd5b89f671d5f126ec25bee605c99929ce0436bb2ac32d67efdbb8dd6d7526d3f1c24 WHIRLPOOL e5e33e28ce55b1abcff603a40453ab0a9d68f61cd15c68950dd6f87371565bd05057e8e48475f772524684fdb744093867423b249614d4c02908a467f9380c75 -EBUILD tokumx-1.5.0.ebuild 988 SHA256 6b463154e3c0fa432f9cccbd9e19e83fcc7a52a29e07d76b0337d48ce5331a2f SHA512 66d0a2c21eec0c6d6df5ece051616c1229fcbedba3ba6ea8c975cdeb359c7d37010f9fd43f3c1682ec0aab519270de10c921dc7e201bea807ef8740c8b486e58 WHIRLPOOL 7ec29d700513bb07630f3fd713faf8fd5bf7e4f7953bdd09eeb50642b5143948d01f1a92a2bf407b06618c77bae74e76ccadbc1b72a2e95bca7d7302d4cc44f0 -MISC ChangeLog 389 SHA256 bcbcdb9556ab969d22d36faedcc93c0cf6788141f0ac2a03a8c1c87e1a952a18 SHA512 ec67bff792be4031b450b4e60193b8b0815fd43983aa4a00ee4649286378411688be9860f4d8a82c6d00596bb16b01241666cf7885dfee42d8ceedfd6d51b586 WHIRLPOOL a9ccd6483a227ead827235c9e644d8ae90ade416e9ca88813412a1e88084162d7f4390f0233b29c499b47b5e8a48b982cbf04e22f13f9ca031a26f3ce2764b43 +EBUILD tokumx-1.5.0.ebuild 1085 SHA256 93814526c7155d7712716a8af7b40e6c0faa8200ffd67460a26a360cc0d4e4fb SHA512 22f34eda716f19b46b2f7a371b17ec453135c8ac8067d6e056691f7ed48664f4954c6d49c01504b438de2f7fd0a476ff49c492113d43b491fc9954cb34f09b3e WHIRLPOOL 94462795bd38a9dd928e14e7a149cd74af50e7b1d36498053c4a26456ddecca437f74d969593da332241b8dde84b2f2d8b30926a01cc263344b2f6902d0e1a70 +MISC ChangeLog 476 SHA256 30017435be30e22405648d2795963c811337cfa20bf6cda2587915449a3b6cb5 SHA512 143731f30d4d84051add6e2da3546d1a5ddf387c2c735de90cea29089b3399b7ec06cacd55d620b37934936fae3cf8e37137de86912b2be5f821ff834a410111 WHIRLPOOL a658b5500006130d3aecdc685daaf4a19a6688184c58b86bafd45c24584f748c0b5ecf80927ad1ea057211b43210fbef000f041e2717e11464456959d541bdb6 MISC metadata.xml 388 SHA256 85c7a327143fae530c5cc73caf18c7a7273030a7fc31af5878c4bc91bfe037b7 SHA512 3e4309fca9b7b5fc32a73ba294be619915aa21e300be7bc80385b25ec27c5eab4368d73669d87c3ab7cc8a7125fb92244cf96301c7abdbc965d535ee78385866 WHIRLPOOL 7b938fe4fdef98876852dec98fe1eef9e09fb15d92b6cbc6a6b81e11b80199babcf189e5ba3d9629443208c369f56abfc7bdf33e0d30227e1c588479dc1342df +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlPbkUIACgkQp5vW4rUFj5rBsQCfYDV99NL4/ARN4tKmy0qbqdGf +XC0AoJ4Id5qB8XH9q0rLieS9TqawQEGC +=+SwM +-----END PGP SIGNATURE----- diff --git a/dev-db/tokumx/files/1.5.0-Werror.diff b/dev-db/tokumx/files/1.5.0-Werror.diff new file mode 100644 index 000000000000..a865fe074f37 --- /dev/null +++ b/dev-db/tokumx/files/1.5.0-Werror.diff @@ -0,0 +1,45 @@ +diff -uNr work.ORIG/mongo/CMakeLists.txt work/mongo/CMakeLists.txt +--- work.ORIG/mongo/CMakeLists.txt 2014-08-01 11:51:20.832614062 +0100 ++++ work/mongo/CMakeLists.txt 2014-08-01 11:51:36.898614862 +0100 +@@ -71,14 +71,13 @@ + endforeach(flag) + endmacro(set_cxxflags_if_supported) + +-set(CMAKE_C_FLAGS "-fPIC -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -pipe") ++set(CMAKE_C_FLAGS "-fPIC -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe") + set(CMAKE_CXX_FLAGS "-fPIC -fno-strict-aliasing -ggdb") + set_cxxflags_if_supported( + -Wall + -Wsign-compare + -Wno-unknown-pragmas + -Winvalid-pch +- -Werror + -pipe + -Wnon-virtual-dtor + -Woverloaded-virtual +diff -uNr work.ORIG/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake work/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake +--- work.ORIG/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake 2014-08-01 11:51:20.696614056 +0100 ++++ work/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake 2014-08-01 11:51:36.898614862 +0100 +@@ -174,8 +174,8 @@ + endif () + + ## always want these +-set(CMAKE_C_FLAGS "-Wall -Werror ${CMAKE_C_FLAGS}") +-set(CMAKE_CXX_FLAGS "-Wall -Werror ${CMAKE_CXX_FLAGS}") ++set(CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}") ++set(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}") + + ## need to set -stdlib=libc++ to get real c++11 support on darwin + if (APPLE) +diff -uNr work.ORIG/mongo/src/third_party/ft-index/examples/Makefile work/mongo/src/third_party/ft-index/examples/Makefile +--- work.ORIG/mongo/src/third_party/ft-index/examples/Makefile 2014-08-01 11:51:20.676614055 +0100 ++++ work/mongo/src/third_party/ft-index/examples/Makefile 2014-08-01 11:51:36.898614862 +0100 +@@ -1,7 +1,7 @@ + SRCS = $(wildcard *.c) + TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%-bdb,$(SRCS)) + CPPFLAGS = -I../include -D_GNU_SOURCE +-CFLAGS = -g -std=c99 -Wall -Wextra -Werror -Wno-missing-field-initializers ++CFLAGS = -g -std=c99 -Wall -Wextra -Wno-missing-field-initializers + ifeq ($(USE_STATIC_LIBS),1) + LIBTOKUDB = tokufractaltree_static + LIBTOKUPORTABILITY = tokuportability_static diff --git a/dev-db/tokumx/metadata.xml b/dev-db/tokumx/metadata.xml new file mode 100644 index 000000000000..e1ad531d3674 --- /dev/null +++ b/dev-db/tokumx/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <maintainer> + <email>ultrabug@gentoo.org</email> + <name>Alexys Jacob</name> + <description>Secondary Maintainer. CC on bugs</description> + </maintainer> +</pkgmetadata> + diff --git a/dev-db/tokumx/tokumx-1.5.0.ebuild b/dev-db/tokumx/tokumx-1.5.0.ebuild new file mode 100644 index 000000000000..f43d89df097a --- /dev/null +++ b/dev-db/tokumx/tokumx-1.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/tokumx/tokumx-1.5.0.ebuild,v 1.1 2014/08/01 13:08:05 chainsaw Exp $ + +EAPI=5 +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils + +MY_P=${PN}-git-tag-${PV} + +DESCRIPTION="An open source, high-performance distribution of MongoDB" +HOMEPAGE="http://www.tokutek.com/products/tokumx-for-mongodb/" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="AGPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + !dev-libs/jemalloc + >=dev-libs/boost-1.50[threads(+)] + >=dev-libs/libpcre-8.30[cxx] + net-libs/libpcap" +DEPEND="${RDEPEND} + sys-libs/ncurses + sys-libs/readline" + +S="${WORKDIR}/mongo" +BUILD_DIR="${WORKDIR}/mongo/build" +QA_PRESTRIPPED="/usr/lib64/libHotBackup.so" + +src_prepare() { + epatch "${FILESDIR}/${PV}-Werror.diff" + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -D TOKU_DEBUG_PARANOID=OFF + -D USE_VALGRIND=OFF + -D USE_BDB=OFF + -D BUILD_TESTING=OFF + -D TOKUMX_DISTNAME=${PV} + ) + cmake-utils_src_configure +} |