Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 354924 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/riak-1.3.1.ebuild
riak-1.3.1.ebuild (text/plain), 2.87 KB, created by
Matthias Krull
on 2013-08-02 14:26:56 UTC
(
hide
)
Description:
dev-db/riak/riak-1.3.1.ebuild
Filename:
MIME Type:
Creator:
Matthias Krull
Created:
2013-08-02 14:26:56 UTC
Size:
2.87 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >inherit versionator eutils user multilib toolchain-funcs > ># needed to download the archive >MAJ_PV="$(get_major_version)" >MED_PV="$(get_version_component_range 2)" >MIN_PV="$(get_version_component_range 3)" > ># build time dependency ># fork of the google project with riak specific changes ># is used to build the eleveldb lib and gets removed before install >LEVELDB_PV="1.3.0" >LEVELDB_URI="https://github.com/basho/leveldb/archive/${LEVELDB_PV}.tar.gz" >LEVELDB_P="leveldb-${LEVELDB_PV}.tar.gz" >LEVELDB_WD="${WORKDIR}/leveldb-${LEVELDB_PV}" >LEVELDB_TARGET_LOCATION="${S}/deps/eleveldb/c_src/leveldb" > >DESCRIPTION="An open source, distributed database" >HOMEPAGE="http://www.basho.com/" >SRC_URI="http://s3.amazonaws.com/downloads.basho.com/${PN}/${MAJ_PV}.${MED_PV}/${PV}/${P}.tar.gz > ${LEVELDB_URI} -> ${LEVELDB_P} >" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~amd64 ~x86" ># TODO luwak useflag and patches >IUSE="doc" > ># TODO test non smp install >RDEPEND=" > <dev-lang/erlang-16 > >=dev-lang/erlang-15.2.3.1[smp] >" > >DEPEND="${RDEPEND}" > >pkg_setup() { > ebegin "Creating riak user and group" > local riak_home="/var/lib/riak" > enewgroup riak > enewuser riak -1 -1 $riak_home riak > eend $? >} > >src_prepare() { > epatch "${FILESDIR}/${PV}-fix-directories.patch" > epatch "${FILESDIR}/${PV}-honor-cflags.patch" > sed -i \ > -e '/XLDFLAGS="$(LDFLAGS)"/d' deps/erlang_js/c_src/Makefile || die > > # avoid fetching deps via git that are already available > ln -s ${LEVELDB_WD} ${LEVELDB_TARGET_LOCATION} || die > mkdir -p "${S}"/deps/riaknostic/deps || die > ln -s "${S}"/deps/lager "${S}"/deps/riaknostic/deps || die > ln -s "${S}"/deps/meck "${S}"/deps/riaknostic/deps || die > ln -s "${S}"/deps/getopt "${S}"/deps/riaknostic/deps || die >} > >src_compile() { > # build fails with MAKEOPTS > -j1 > emake -j1 \ > CC=$(tc-getCC) \ > CXX=$(tc-getCXX) \ > AR=$(tc-getAR) \ > LD=$(tc-getLD) \ > STRIP=$(tc-getSTRIP) rel >} > >src_install() { > # install /usr/lib > # TODO test on x86 > local lib_dir=$(get_libdir) > insinto /usr/$lib_dir/riak > doins -r rel/riak/lib > doins -r rel/riak/releases > doins -r rel/riak/erts-5.9.3.1 > fperms -R 0755 /usr/$lib_dir/riak/erts-5.9.3.1/bin > > # install /usr/bin > dobin rel/riak/bin/* > > # install /etc/riak > insinto /etc/riak > doins rel/riak/etc/* > > # restrict access to cert and key > fperms 0600 /etc/riak/cert.pem > fperms 0600 /etc/riak/key.pem > > # create neccessary directories > keepdir /var/lib/riak/{bitcask,ring} > keepdir /var/log/riak/sasl > > # change owner to riak > fowners -R riak:riak /var/lib/riak > fowners -R riak:riak /var/log/riak > > # create docs > doman doc/man/man1/* > use doc && dodoc doc/*.txt > > # init.d file > newinitd "${FILESDIR}/${P}.initd" riak > newconfd "${FILESDIR}/${P}.confd" riak > > # TODO logrotate >} > >pkg_postinst() { > ewarn "To use kernel polling build erlang with the 'kpoll' useflag" >}
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