On 12.01.2016 20:22, Aaron W. Swenson wrote: > There are several ebuilds that repeat the same checks and need to > perform the same duties when it comes to working with PostgreSQL. For > example, making sure the users' currently slot is compatible with the > ebuild requirements. postgres.eclass addresses this and has > additional conveniences to build a dependency string and add a new user > into the postgres system group. > > Additionally, as most of you are aware, we have a slot capable > dev-db/postgresql. There is some difficulty that needed to be resolved > so that extensions could also be installed into multiple slots, which is > addressed by postgres-multi.eclass. > > I've an overlay at: > https://github.com/titanofold/titanofold-gentoo-x86 > > With the pgsql-eclass branch containing the eclass and a postgres-multi > enabled PostGIS. > > Naturally, the eclasses work for me, so far. > > For your convenience, I've also attached the eclasses. >
You might wanna add some quotes around the variables in that line: enewuser $1 $2 $3 $4 ${groups} Cheers, Manuel
signature.asc
Description: OpenPGP digital signature