summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-02-13 23:02:14 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-03-15 16:43:27 +0100
commit1afbb8d69a3ec6684893f064f3a7e05ab4c2df85 (patch)
tree414a232e64e0ce042c98b0e19d06a8973613946c /dev-db
parentacct-user/pgpool: initial import (diff)
downloadgentoo-1afbb8d69a3ec6684893f064f3a7e05ab4c2df85.tar.gz
gentoo-1afbb8d69a3ec6684893f064f3a7e05ab4c2df85.tar.bz2
gentoo-1afbb8d69a3ec6684893f064f3a7e05ab4c2df85.zip
dev-db/pgpool2: migrate to glep-81
Closes: https://github.com/gentoo/gentoo/pull/24185 Bug: https://bugs.gentoo.org/802498 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild (renamed from dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild)13
-rw-r--r--dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild (renamed from dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild)12
-rw-r--r--dev-db/pgpool2/pgpool2-9999.ebuild6
3 files changed, 14 insertions, 17 deletions
diff --git a/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild b/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
index 7e2ba70df24b..d34913fcacc3 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,15 +12,17 @@ MY_P="${PN/2/-II}-${PV}"
DESCRIPTION="Connection pool server for PostgreSQL"
HOMEPAGE="https://www.pgpool.net/"
SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
LICENSE="BSD"
SLOT="0"
-
KEYWORDS="amd64 x86"
-
IUSE="doc memcached pam ssl static-libs"
RDEPEND="
${POSTGRES_DEP}
+ acct-group/postgres
+ acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
@@ -29,16 +31,13 @@ RDEPEND="
dev-libs/openssl:0=
)
"
+
DEPEND="${RDEPEND}
sys-devel/bison
virtual/pkgconfig
"
-S=${WORKDIR}/${MY_P}
-
pkg_setup() {
- postgres_new_user pgpool
-
postgres-multi_pkg_setup
}
diff --git a/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild b/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
index 45d450412b69..d05f5c5dea0f 100644
--- a/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,15 +12,17 @@ MY_P="${PN/2/-II}-${PV}"
DESCRIPTION="Connection pool server for PostgreSQL"
HOMEPAGE="https://www.pgpool.net/"
SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
LICENSE="BSD"
SLOT="0"
-
KEYWORDS="~amd64 ~x86"
-
IUSE="doc memcached pam ssl static-libs"
RDEPEND="
${POSTGRES_DEP}
+ acct-group/postgres
+ acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
@@ -34,11 +36,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
-S=${WORKDIR}/${MY_P}
-
pkg_setup() {
- postgres_new_user pgpool
-
postgres-multi_pkg_setup
}
diff --git a/dev-db/pgpool2/pgpool2-9999.ebuild b/dev-db/pgpool2/pgpool2-9999.ebuild
index 364ed807be0f..2c9d504b504e 100644
--- a/dev-db/pgpool2/pgpool2-9999.ebuild
+++ b/dev-db/pgpool2/pgpool2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,8 @@ IUSE="doc memcached pam ssl static-libs"
RDEPEND="
${POSTGRES_DEP}
+ acct-group/postgres
+ acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
@@ -35,8 +37,6 @@ DEPEND="${RDEPEND}
"
pkg_setup() {
- postgres_new_user pgpool
-
postgres-multi_pkg_setup
}