#38497: rethinkdb: version update + other changes -------------------------------+-------------------------------- Reporter: anatol.pomozov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Comment (by ryandesign@…): * You shouldn't use a post-activate block to show `ui_msg`s. Instead, use `notes`. * I agree databases should go in ${prefix}/var/db/${name}. * Regarding "make install DESTDIR=${destroot}" (I assume you mean DESTDIR and not DESTROOT), you can try it out and see what happens. That's what the default MacPorts destroot does, so try removing the custom destroot block. * Service user accounts should have names beginning with an underscore. Apple made this change in OS X 10.5. In some ports, we've emulated this change, by using the username beginning with the underscore on 10.5 and later, and not doing that on 10.4. See e.g. the mysql5-server port, which does: {{{ if {"darwin" == ${os.platform} && ${os.major} > 8} { set mysqluser _mysql } else { set mysqluser mysql } add_users ${mysqluser} group=${mysqluser} realname=MySQL\ Server }}} But that's probably primarily so that upgrading users on Tiger don't end up with two user accounts for the same thing. For a new port, or one that doesn't support Tiger (which I believe includes rethinkdb because it requires nodejs which requires Snow Leopard or newer), it's probably fine to always use the underscore-prefixed name. -- Ticket URL: <https://trac.macports.org/ticket/38497#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X