Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 364048 Details for
Bug 461870
dev-db/rethinkdb - An open-source distributed [database] system
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rethinkdb-1.11.0.ebuild
rethinkdb-1.11.0.ebuild (text/plain), 3.70 KB, created by
Erich Seifert
on 2013-11-27 03:17:05 UTC
(
hide
)
Description:
rethinkdb-1.11.0.ebuild
Filename:
MIME Type:
Creator:
Erich Seifert
Created:
2013-11-27 03:17:05 UTC
Size:
3.70 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="5" > >PYTHON_COMPAT=( python2_7 ) > >inherit eutils multilib bash-completion-r1 distutils-r1 > >DESCRIPTION="Open-source distributed database built with love" >HOMEPAGE="http://www.rethinkdb.com/" >SRC_URI="http://download.rethinkdb.com/dist/${P}.tgz" > >LICENSE="AGPL-3 python? ( Apache-2.0 )" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="+precompiled-web python +tcmalloc" > >RDEPEND=" > >=dev-libs/boost-1.40 > dev-libs/protobuf > dev-lang/v8 > sys-libs/ncurses > tcmalloc? ( dev-util/google-perftools ) > python? ( > ${PYTHON_DEPS} > dev-libs/protobuf[python] > ) >" ># ruby? ( ># >=dev-lang/ruby-1.9 ># dev-ruby/json ># dev-ruby/ruby_protobuf ># ) > >DEPEND="${RDEPEND} > sys-devel/m4 > ${PYTHON_DEPS} > dev-libs/protobuf-c > !precompiled-web? ( > >=net-libs/nodejs-0.10.0[npm] > dev-python/pyyaml > ) >" > >RETHINKDB="/usr/bin/rethinkdb" >RETHINKDB_CONFIG_PATH="/etc/${PN}/instances.d" >RETHINKDB_CONFIG_TEMPLATE="${RETHINKDB_CONFIG_PATH}/../default.conf.sample" >RETHINKDB_INSTANCES_PATH="/var/lib/${PN}/instances.d" > >pkg_setup() { > enewgroup rethinkdb > enewuser rethinkdb -1 -1 "/var/lib/${PN}" rethinkdb >} > >src_prepare() { > epatch_user > sed -e 's/^\(\s*required_libs=".*\) termcap\(.*"\)$/\1 ncurses\2/' -i "./configure" || die "Couldn't replace termcap with ncurses lib" > sed -e 's/TERMCAP_LIBS/NCURSES_LIBS/' -i "src/build.mk" || die "Couldn't replace termcap with ncurses flags" > #if use ruby; then > # sed -e 's/ruby-protoc/rprotoc/' -i drivers/ruby/Makefile \ > # || die "Fixing ruby protobuf compiler failed" > #fi >} > >src_configure() { > ./configure \ > $(use_enable precompiled-web ) \ > $(use_with tcmalloc ) \ > --static=none \ > --prefix=/usr \ > --sysconfdir=/etc \ > --localstatedir=/var >} > >src_compile() { > emake VERBOSE=1 > pushd drivers &>/dev/null > use python && emake VERBOSE=1 python-driver > #if use ruby; then > # emake VERBOSE=1 ruby-driver > # pushd ruby &>/dev/null > # gem build rethinkdb.gemspec > # popd &>/dev/null > #fi > popd &>/dev/null >} > >src_install() { > emake STRIP_ON_INSTALL=0 VERBOSE=0 DESTDIR="${D}" install-binaries install-manpages install-web install-data install-config > > newbashcomp packaging/assets/scripts/rethinkdb.bash ${PN} > newinitd packaging/assets/init/rethinkdb ${PN} > dodoc COPYRIGHT NOTES README.md > > chown -R rethinkdb:rethinkdb "${D}"/var/lib/rethinkdb > > pushd drivers &>/dev/null > if use python; then > pushd python &>/dev/null > distutils-r1_src_install > popd &>/dev/null > fi > # TODO > #if use ruby; then > # gem install ruby/rethinkdb-*.gem > #fi > popd &>/dev/null >} > >pkg_config() { > einfo "This will prepare a new RethinkDB instance. Press Control-C to abort." > > einfo "Enter the name for the new instance: " > read instance_name > [[ -z "${instance_name}" ]] && die "Invalid instance name" > > local instance_data="${RETHINKDB_INSTANCES_PATH}/${instance_name}" > local instance_config="${RETHINKDB_CONFIG_PATH}/${instance_name}.conf" > if [[ -e "${instance_data}" || -e "${instance_config}" ]]; then > eerror "An instance with the same name already exists:" > eerror "Check ${instance_data} or ${instance_config}." > die "Instance already exists" > fi > > "${RETHINKDB}" create -d "${instance_data}" &>/dev/null \ > || die "Creating instance failed" > chown -R rethinkdb:rethinkdb "${instance_data}" \ > || die "Correcting permissions for instance failed" > cp "${RETHINKDB_CONFIG_TEMPLATE}" "${instance_config}" \ > || die "Creating configuration file failed" > sed -e "s:^# \(directory=\).*$:\1${instance_data}:" \ > -i "${instance_config}" \ > || die "Modifying configuration file failed" > > einfo "Successfully created the instance at ${instance_data}." > einfo "To change the default settings edit the configuration file:" > einfo "${instance_config}" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 461870
:
342186
|
356370
|
356392
|
357166
|
357904
|
358486
|
359882
|
364048
|
381480
|
382214
|
385552
|
385556
|
385616
|
385618
|
385622
|
395612
|
401298
|
404826
|
409078
|
429166
|
429180