[MacPorts] #38485: rethinkdb: add new package
#38485: rethinkdb: add new package ------------------------------+-------------------------------- Reporter: anatol.pomozov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: rethinkdb ------------------------------+-------------------------------- RethinkDB is a new hotness. It is NoSQL database with replication out-of- box and claims that it fixes MongoDB pitfalls. http://http://www.rethinkdb.com/ The package installs binaries correctly, but probably needs cleanup. -- Ticket URL: <https://trac.macports.org/ticket/38485> MacPorts <http://www.macports.org/> Ports system for OS X
#38485: rethinkdb: add new package -------------------------------+-------------------------------- Reporter: anatol.pomozov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rethinkdb | -------------------------------+-------------------------------- Comment (by anatol.pomozov@…): Here is startup line from Linux Arch for rethinkdb. Environment=CLUSTER_PORT=29015 Environment=DRIVER_PORT=28015 Environment=HTTP_PORT=8080 Environment=PORT_OFFSET=0 /usr/bin/rethinkdb serve -d /var/lib/rethinkdb --cluster-port $CLUSTER_PORT --driver-port $DRIVER_PORT --port-offset $PORT_OFFSET --http-port $HTTP_PORT --pid-file /run/rethinkdb/rethinkdb.pid macports should use similar command (but use correct prefix). -- Ticket URL: <https://trac.macports.org/ticket/38485#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38485: rethinkdb: add new package -------------------------------+-------------------------- Reporter: anatol.pomozov@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rethinkdb | -------------------------------+-------------------------- Changes (by ryandesign@…): * cc: dports (removed) * cc: dports@… (added) * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: Thanks. Note that if you were trying to Cc Dan Ports for some reason, the Cc field requires complete email addresses, and that you should use WikiFormatting when writing in Trac. -- Ticket URL: <https://trac.macports.org/ticket/38485#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38485: rethinkdb: add new package -------------------------------+-------------------------- Reporter: anatol.pomozov@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: rethinkdb | -------------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: I have committed your port in r104261 with these changes * changed tabs to spaces and removed trailing whitespace * changed the maintainers line to nomaintainer (unless you want to maintain this port?) * removed the lines "distname rethinkdb-${version}", "use_configure yes" and "worksrcdir rethinkdb-${version}" because those are the defaults * allowed nodejs-devel to satisfy the nodejs dependency * changed creation of empty ${destroot}${prefix}/var/lib/rethinkdb/ directory into a destroot.keepdirs invocation, which I assume is what you wanted, because otherwise MacPorts deletes empty directories after the destroot phase * removed comment "correct permissions for files?" and changed xinstall invocations to not set the execute bit on files that don't need it * made a variable for ${prefix}/share/rethinkdb/web and used it throughout * modified the livecheck slightly * reordered some lines * disabled universal variant and indicated support only for i386 and x86_64 architectures, to match nodejs * shortened the description 1.4.1 is out already. Should we update? I did not add a startup script. On OS X, we would use a launchd plist, which in MacPorts is created using using the [http://guide.macports.org/chunked/reference.startupitems.html startupitem keywords]. Feel free to open a new ticket with a patch to add that. I noticed that rethinkdb only actually links with libv8 and libprotobuf; do we know more about how rethinkdb uses boost, nodejs and coffee-script? Maybe they need to be a different dependency type instead of depends_lib. -- Ticket URL: <https://trac.macports.org/ticket/38485#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38485: rethinkdb: add new package -------------------------------+-------------------------- Reporter: anatol.pomozov@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: rethinkdb | -------------------------------+-------------------------- Comment (by ryandesign@…): The Snow Leopard buildbot failed to build the port, saying: {{{ * Detecting system configuration Bash: 3.2.48(1)-release Operating System: Darwin OS Version: Darwin 10.8.0 x86_64 Without tcmalloc: yes Build client drivers: yes Architecture: x86_64 C++ Compiler: too old * Error: GCC 4.2.1 is too old. At least GCC 4.4.3 is required }}} So I blacklisted old gcc compilers in r104262. -- Ticket URL: <https://trac.macports.org/ticket/38485#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38485: rethinkdb: add new package -------------------------------+-------------------------- Reporter: anatol.pomozov@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: rethinkdb | -------------------------------+-------------------------- Comment (by ryandesign@…): That didn't help so we'll have to investigate further. I've filed a new ticket for that: #38490. -- Ticket URL: <https://trac.macports.org/ticket/38485#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38485: rethinkdb: add new package -------------------------------+-------------------------- Reporter: anatol.pomozov@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: rethinkdb | -------------------------------+-------------------------- Comment (by anatol.pomozov@…): Thanks for updates. I'll open another ticket. I'll - update to 1.4.1 - add startup item - check boost, nodejs and coffee-script. I am positive that it uses boost during compilation (I saw boost related errors), maybe they use static compilation? Anyway I'll doublecheck it. -- Ticket URL: <https://trac.macports.org/ticket/38485#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38485: rethinkdb: add new package -------------------------------+-------------------------- Reporter: anatol.pomozov@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: rethinkdb | -------------------------------+-------------------------- Comment (by egall@…): Replying to [comment:6 anatol.pomozov@…]:
Thanks for updates. I'll open another ticket. I'll
- update to 1.4.1 - add startup item - check boost, nodejs and coffee-script. I am positive that it uses boost during compilation (I saw boost related errors), maybe they use static compilation? Anyway I'll doublecheck it.
(This is #38497 btw) -- Ticket URL: <https://trac.macports.org/ticket/38485#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts