Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 425132

Summary: dev-db/riak - highly scalable, schema-free document-oriented database
Product: Gentoo Linux Reporter: Judson <nyarly>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: normal CC: bugs+gentoo, holger, m.krull, sunrise
Priority: Normal Keywords: EBUILD, InOverlay, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://wiki.basho.com/Installing-Riak-from-Source.html
Whiteboard: sunrise-removal
Package list:
Runtime testing required: ---
Attachments: dev-db/riak-1.3.1.ebuild
files/conf.d/riak
files/init.d/riak
files/riak-1.0.2-rel.patch
dev-db/riak-1.3.1.ebuild
dev-db/files/riak-1.3.1.initd
dev-db/riak/files/riak-1.3.1.confd
dev-db/riak/files/1.3.1-fix-directories.patch
dev-db/riak/riak-1.3.1.ebuild
dev-db/riak/files/riak-1.3.1.initd
dev-db/riak/files/riak-1.3.1.confd
dev-db/riak/files/1.3.1-fix-directories.patch
dev-db/riak/riak-1.3.1.ebuild
dev-db/riak/riak-1.3.1.ebuild
dev-db/riak/files/riak-1.3.1.initd
dev-db/riak/files/riak-1.3.1.initd
dev-db/riak/files/riak-1.3.1.confd
dev-db/riak/riak-1.3.1.ebuild
dev-db/riak/riak-1.3.1.ebuild
dev-db/riak/files/1.3.1-honor-cflags.patch
dev-db/riak/files/riak-1.3.1.initd
dev-db/riak/riak-1.3.2.ebuild
dev-db/riak/files/riak-1.3.2.initd
dev-db/riak/files/1.3.2-honor-cflags.patch
dev-db/riak/riak-1.4.1.ebuild
dev-db/riak/files/1.4.1-honor-cflags.patch
dev-db/riak/files/1.4.1-fix-directories.patch
dev-db/riak/files/riak.initd

Description Judson 2012-07-07 05:40:08 UTC
It would be great if there was an ebuild for the Riak NoSQL database.

If there's no objections, I can try to find time to add to sunrise.
Comment 1 Florian Klink 2013-03-07 11:55:05 UTC
@Judson: did make progress in creating an ebuild for riak?
Comment 2 Judson 2013-03-08 19:28:12 UTC
(In reply to comment #1)
> @Judson: did make progress in creating an ebuild for riak?

I haven't started to put anything for sunrise - I got really burned on the ebuild submission process before and I'm not sure I want to sink time into it without a better guarantee it'll be accepted.
Comment 3 Florian Klink 2013-03-22 11:51:34 UTC
An ebuild for riak appeared in the ultrabug overlay:

http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=tree;f=dev-db/riak
Comment 4 Florian Klink 2013-05-31 15:26:20 UTC
Created attachment 349732 [details]
dev-db/riak-1.3.1.ebuild

I updated this ebuild to 1.3.1 and added init scripts for it.

There are still a lot of ugly things happening in the build process (like git-cloning dependencies etc), but for me it works so far.
Comment 5 Florian Klink 2013-05-31 15:26:47 UTC
Created attachment 349734 [details]
files/conf.d/riak
Comment 6 Florian Klink 2013-05-31 15:27:09 UTC
Created attachment 349736 [details]
files/init.d/riak
Comment 7 Florian Klink 2013-05-31 15:27:48 UTC
Created attachment 349738 [details, diff]
files/riak-1.0.2-rel.patch
Comment 8 Matthias Krull 2013-06-14 20:28:11 UTC
I created a 1.3.1 ebuild without seeing this one. It is based on the 1.0.2 ebuild I guess.

Some additional checks were added and the latest Erlang version available on portage required. My tests did work with smp enabled erlang only but that could just be my environment.

I will attach the files and maybe you can take a look.
Comment 9 Matthias Krull 2013-06-14 20:29:29 UTC
Created attachment 350960 [details]
dev-db/riak-1.3.1.ebuild
Comment 10 Matthias Krull 2013-06-14 20:30:41 UTC
Created attachment 350962 [details]
dev-db/files/riak-1.3.1.initd
Comment 11 Matthias Krull 2013-06-14 20:31:27 UTC
Created attachment 350964 [details]
dev-db/riak/files/riak-1.3.1.confd
Comment 12 Matthias Krull 2013-06-14 20:32:46 UTC
Created attachment 350966 [details]
dev-db/riak/files/1.3.1-fix-directories.patch
Comment 13 Julian Ospald 2013-06-14 22:32:50 UTC
sunrise would be a good idea before a dev gets interested in this
Comment 14 Matthias Krull 2013-06-16 11:18:09 UTC
I have send a new version to #gentoo-sunrise for review. If it is done I will attach it here too.
Comment 15 Matthias Krull 2013-06-17 14:48:45 UTC
Created attachment 351228 [details]
dev-db/riak/riak-1.3.1.ebuild
Comment 16 Matthias Krull 2013-06-17 14:49:47 UTC
Created attachment 351230 [details]
dev-db/riak/files/riak-1.3.1.initd
Comment 17 Matthias Krull 2013-06-17 14:50:14 UTC
Created attachment 351232 [details]
dev-db/riak/files/riak-1.3.1.confd
Comment 18 Matthias Krull 2013-06-17 14:50:47 UTC
Created attachment 351234 [details]
dev-db/riak/files/1.3.1-fix-directories.patch
Comment 19 Matthias Krull 2013-06-17 14:59:04 UTC
And could anyone change the title of this bug please? It is somewhat ridiculous ;)
Comment 20 Matthias Krull 2013-06-21 07:12:08 UTC
Created attachment 351510 [details]
dev-db/riak/riak-1.3.1.ebuild

Removed kpoll useflag as it does not change anything but a config file. Even that change is not important as the kpoll option gets ignored when it is unsupported.

Placed a postinst warning instead.
Comment 21 Matthias Krull 2013-06-21 09:43:25 UTC
Created attachment 351520 [details]
dev-db/riak/riak-1.3.1.ebuild

Added some explanation on the leveldb dependency
Comment 22 Matthias Krull 2013-06-21 09:45:06 UTC
Created attachment 351522 [details]
dev-db/riak/files/riak-1.3.1.initd

added check if multiple beam pids get returned
Comment 23 Matthias Krull 2013-06-24 16:23:10 UTC
Created attachment 351816 [details]
dev-db/riak/files/riak-1.3.1.initd

some fixes and cleanup
Comment 24 Matthias Krull 2013-06-24 16:23:52 UTC
Created attachment 351818 [details]
dev-db/riak/files/riak-1.3.1.confd

moved some variables to conf.d
Comment 25 Matthias Krull 2013-07-08 11:29:29 UTC
Created attachment 352852 [details]
dev-db/riak/riak-1.3.1.ebuild

Changed description. More general.
Comment 26 Matthias Krull 2013-08-02 14:26:56 UTC
Created attachment 354924 [details]
dev-db/riak/riak-1.3.1.ebuild

Using functions to install and added emake variables to make build honor the toolchain.
Comment 27 Matthias Krull 2013-08-02 14:27:37 UTC
Created attachment 354926 [details, diff]
dev-db/riak/files/1.3.1-honor-cflags.patch
Comment 28 Matthias Krull 2013-08-02 14:28:01 UTC
Created attachment 354928 [details]
dev-db/riak/files/riak-1.3.1.initd
Comment 29 Matthias Krull 2013-08-07 16:46:35 UTC
Created attachment 355352 [details]
dev-db/riak/riak-1.3.2.ebuild

a lot of fixes and cleanup from review on #gentoo-sunrise
Comment 30 Matthias Krull 2013-08-07 16:47:16 UTC
Created attachment 355354 [details]
dev-db/riak/files/riak-1.3.2.initd

removed bashisms
Comment 31 Matthias Krull 2013-08-07 16:48:02 UTC
Created attachment 355356 [details, diff]
dev-db/riak/files/1.3.2-honor-cflags.patch

not touching -fPIC
Comment 32 Matthias Krull 2013-08-23 10:59:34 UTC
Created attachment 356736 [details]
dev-db/riak/riak-1.4.1.ebuild

latest release
Comment 33 Matthias Krull 2013-08-23 11:00:59 UTC
Created attachment 356738 [details, diff]
dev-db/riak/files/1.4.1-honor-cflags.patch

A lot more flags patched
Comment 34 Matthias Krull 2013-08-23 11:02:20 UTC
Created attachment 356740 [details, diff]
dev-db/riak/files/1.4.1-fix-directories.patch

updated for 1.4.1 release
Comment 35 Matthias Krull 2013-08-23 11:03:11 UTC
Created attachment 356742 [details]
dev-db/riak/files/riak.initd

a bit beautification
Comment 36 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:45:03 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/