From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 57E361388BF for ; Tue, 12 Jan 2016 21:56:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B892E08B1; Tue, 12 Jan 2016 21:56:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5EF2FE08AB for ; Tue, 12 Jan 2016 21:56:41 +0000 (UTC) Received: from localhost (unknown [63.142.135.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: titanofold) by smtp.gentoo.org (Postfix) with ESMTPSA id 4EF22340B30 for ; Tue, 12 Jan 2016 21:56:40 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 5465428A713D; Tue, 12 Jan 2016 16:53:29 -0500 (EST) Date: Tue, 12 Jan 2016 16:53:29 -0500 From: "Aaron W. Swenson" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New Eclasses: postgres and postgres-multi Message-ID: <20160112215328.GC2008@gengoff.gsmr1.local> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20160112192204.GB2008@gengoff.gsmr1.local> <569568CE.6040404@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pZs/OQEoSSbxGlYw" Content-Disposition: inline In-Reply-To: <569568CE.6040404@gentoo.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: ce073d9e-019f-4f30-b114-c98ed5727489 X-Archives-Hash: 72d92e4f6c0ce23174df753c3fe16f5e --pZs/OQEoSSbxGlYw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2016-01-12 21:57, Manuel R=C3=BCger wrote: > 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. > >=20 > > 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. > >=20 > > I've an overlay at: > > https://github.com/titanofold/titanofold-gentoo-x86 > >=20 > > With the pgsql-eclass branch containing the eclass and a postgres-multi > > enabled PostGIS. > >=20 > > Naturally, the eclasses work for me, so far. > >=20 > > For your convenience, I've also attached the eclasses. > >=20 >=20 > You might wanna add some quotes around the variables in that line: > enewuser $1 $2 $3 $4 ${groups} >=20 > Cheers, >=20 > Manuel >=20 Done. https://github.com/titanofold/titanofold-gentoo-x86/commit/976455582c95d62e= d7ee5c102e58948a4afb037c --pZs/OQEoSSbxGlYw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 iL4EAREKAGYFAlaVddhfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldDRGNEVENDM2QzYzRDAwQTdCNDYzQTQwMDI4 OTc2MzczNjFENjJENUQACgkQKJdjc2HWLV1zqAD/XfRTzZ3YGNUhsTYkdJzt2Yya cJfdcsjmZd12n1buXxsA/3vKEOqMUiCkNFllTEtJL7sfDbx7XvcSDzzMb0zbxMjl =YeoX -----END PGP SIGNATURE----- --pZs/OQEoSSbxGlYw--