Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350960 Details for
Bug 425132
dev-db/riak - highly scalable, schema-free document-oriented database
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-db/riak-1.3.1.ebuild
riak-1.3.1.ebuild (text/plain), 2.42 KB, created by
Matthias Krull
on 2013-06-14 20:29:29 UTC
(
hide
)
Description:
dev-db/riak-1.3.1.ebuild
Filename:
MIME Type:
Creator:
Matthias Krull
Created:
2013-06-14 20:29:29 UTC
Size:
2.42 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >inherit versionator > >MAJ_PV="$(get_major_version)" >MED_PV="$(get_version_component_range 2)" >MIN_PV="$(get_version_component_range 3)" > >DESCRIPTION="An open source, highly scalable, schema-free document-oriented database" >HOMEPAGE="http://www.basho.com/" >SRC_URI="http://s3.amazonaws.com/downloads.basho.com/${PN}/${MAJ_PV}.${MED_PV}/${MAJ_PV}.${MED_PV}.${MIN_PV}/${PN}-${MAJ_PV}.${MED_PV}.${MIN_PV}.tar.gz" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="kpoll hipe" > >RDEPEND=" ><dev-lang/erlang-16 >>=dev-lang/erlang-15.2.3.1[smp] >kpoll? ( >=dev-lang/erlang-15.2.3.1[kpoll] ) >hipe? ( >=dev-lang/erlang-15.2.3.1[hipe] ) >!hipe? ( >=dev-lang/erlang-15.2.3.1[-hipe] ) >" >DEPEND="${RDEPEND} >dev-vcs/git >" > >pkg_setup() { > enewgroup riak > enewuser riak -1 /bin/bash /var/lib/${PN} riak >} > >src_prepare() { > epatch "${FILESDIR}/${MAJ_PV}.${MED_PV}.${MIN_PV}-fix-directories.patch" > sed -i -e 's/XLDFLAGS="$(LDFLAGS)"//g' -e 's/ $(CFLAGS)//g' deps/erlang_js/c_src/Makefile || die >} > >src_compile() { > MAKEOPTS="-j1" emake rel >} > >src_install() { > # install /usr/lib stuff > insinto /usr/lib/${PN} > cp -R rel/riak/lib "${D}"/usr/lib/riak > cp -R rel/riak/releases "${D}"/usr/lib/riak > cp -R rel/riak/erts* "${D}"/usr/lib/riak > chmod 0755 "${D}"/usr/lib/riak/erts*/bin/* > > # install /usr/bin stuff > dobin rel/riak/bin/* > > # install /etc/riak stuff > # adjust config to used flags > if ! use kpoll; then > sed -i -e '/+K true/d' rel/${PN}/etc/vm.args || die > fi > > insinto /etc/${PN} > doins rel/riak/etc/* > fperms 0600 /etc/${PN}/cert.pem > fperms 0600 /etc/${PN}/key.pem > > # create neccessary directories > keepdir /var/lib/${PN}/{bitcask,ring} > keepdir /var/log/${PN}/sasl > keepdir /run/${PN} > > # change owner to riak > fowners riak.riak /var/lib/${PN} > fowners riak.riak /var/lib/${PN}/ring > fowners riak.riak /var/lib/${PN}/bitcask > fowners riak.riak /var/log/${PN} > fowners riak.riak /var/log/${PN}/sasl > fowners riak.riak /run/${PN} > > # create docs > doman doc/man/man1/* > dodoc doc/*.txt > > # init.d file > newinitd "${FILESDIR}/${PN}-${MAJ_PV}.${MED_PV}.${MIN_PV}.initd" ${PN} > newconfd "${FILESDIR}/${PN}-${MAJ_PV}.${MED_PV}.${MIN_PV}.confd" ${PN} > >} > >pkg_postinst() { > ewarn "The default user to run riak is 'riak'" > > local ULIMIT=$(ulimit -n) > if [[ $ULIMIT < 4096 ]]; then > ewarn "Current ulimit -n is $ULIMIT. 4096 is the recommended minimum." > fi >} >
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 425132
:
349732
|
349734
|
349736
|
349738
|
350960
|
350962
|
350964
|
350966
|
351228
|
351230
|
351232
|
351234
|
351510
|
351520
|
351522
|
351816
|
351818
|
352852
|
354924
|
354926
|
354928
|
355352
|
355354
|
355356
|
356736
|
356738
|
356740
|
356742