From 4be6deadf3e814bc37585cde9dc08faad2561453 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Sep 2023 17:06:27 +0100 Subject: gentoo auto-resync : 18:09:2023 - 17:06:27 --- dev-db/slony1/Manifest | 2 +- dev-db/slony1/slony1-2.2.10-r1.ebuild | 74 +++++++++++++++++++++++++++++++++++ dev-db/slony1/slony1-2.2.10.ebuild | 74 ----------------------------------- 3 files changed, 75 insertions(+), 75 deletions(-) create mode 100644 dev-db/slony1/slony1-2.2.10-r1.ebuild delete mode 100644 dev-db/slony1/slony1-2.2.10.ebuild (limited to 'dev-db/slony1') diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest index 01a9b1b13da0..89cffcd416ba 100644 --- a/dev-db/slony1/Manifest +++ b/dev-db/slony1/Manifest @@ -2,5 +2,5 @@ AUX slony1.conf 249 BLAKE2B ec214fb9a7d51bcaa58dc191d7e943c0d07be85c0f31dadbf199 AUX slony1.init 615 BLAKE2B f1b3fc27ad3c4087713cceb6c2bb9451004b70e87c0347274c75e1c3ed8d439bb99f51d5e6e904d3957150e62760272312423a47235ff4e76792e0661b683bb3 SHA512 d450bba5f65372509e542f138d297202371bcaf78332ba13de72ddf937fcffe419083dddc5032c7bafd51993fbc677b37262e1b1e938e9e3c927e130c0a7c693 DIST slony1-2.2.10-docs.tar.bz2 1445193 BLAKE2B 071f5faf2f7cae822b484f13ede6a8ede5278a065c55d2199f38e2dd195922cbc78982633316792978b968295d69e36651ae0367682ad45afab295e61e5329fa SHA512 d603abccc1ec7922fe8025ab178e6d12b28ffc763848be8d1f9fc93519b9928aa65ed6bcc1d678f2ad9f79818de06da39ec1f69d60de61c5e6fe42137c7c3112 DIST slony1-2.2.10.tar.bz2 1464652 BLAKE2B a07a830501be13f33fc189128851cee02c8d8ca51a8a54f6b97028d65eb17937817c9ab6b5ebbcaa092e96fb00f57959806e5003e016df5e7034583de601084c SHA512 1b41addb7a0be0a130c2efcab1b241e3158d10a5a6e203d83f28353e303dd524e224ab9c04a7e37a0f89cd944237b90feeb8910eb35f717926aa3ad28dbe2d0f -EBUILD slony1-2.2.10.ebuild 1933 BLAKE2B 21ea8f508c4b133728482bde17c241f31cdeef7686fa79f0ea069be53b0f8a7c306b288d4511871a48d96d0720d0f1ac8cfd739b679477833d0563d3e0585abd SHA512 6c0f8eb515b35306031f9d0255a9716229ee9f5328ec47c95ac374791a8b42e92e2942f5716a4d8eceae841b155c8a204e7f7ad292eb9ec0625e3f067c0c999d +EBUILD slony1-2.2.10-r1.ebuild 1936 BLAKE2B 0a2deef586e9fdaf24e8486b035bb806a7521971b6417815eb48aff47dbae62506ff90253a3cb03aac91de9580ac66a564a095019573b1fe58087b6b1b7feac0 SHA512 4ee8bf250a5c63d06c93742b3fbf3f167c1743da25aa920f318c233c69b13d784982cdb624202e0421655b4092e14c035d92860459a97f43a73d370479c4df9a MISC metadata.xml 281 BLAKE2B 85a0d31b886497ac44662bb58420de2f6af5444882f008f902287c6a8265f6e76afa7513b0edeca5b34a26d69d9aa61832c5fb3287c577a7f047180aa3fb242e SHA512 9e9007a37a7acc9948a6eb15bd1bdfea46c95eacc88e96a878237baaf01298b1f849d6e170f04638bbfb68f2c8b8a3bf227e563b5309f859cfcd23d43bc5dd85 diff --git a/dev-db/slony1/slony1-2.2.10-r1.ebuild b/dev-db/slony1/slony1-2.2.10-r1.ebuild new file mode 100644 index 000000000000..81ec3602d9bd --- /dev/null +++ b/dev-db/slony1/slony1-2.2.10-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( 9.6 {10..14} ) +POSTGRES_USEDEP="server,threads(+)" + +inherit postgres-multi + +IUSE="doc perl" + +DESCRIPTION="A replication system for the PostgreSQL Database Management System" +HOMEPAGE="https://slony.info/" + +MAJ_PV=$(ver_cut 1-2) +SRC_URI="https://slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2 + doc? ( https://slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2 ) +" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +DEPEND="${POSTGRES_DEP} + perl? ( dev-perl/DBD-Pg ) +" +RDEPEND=${DEPEND} + +REQUIRE_USE="${POSTGRES_REQ_USE}" + +# Testing requires a more complex setup than we benefit from being able +# to perform. +# https://slony.info/documentation/2.2/testing.html +RESTRICT="test" + +src_unpack() { + unpack ${P}.tar.bz2 + + if use doc ; then + # The docs tarball will unpack over the source directory. So, we + # clear the adminguide directory now to make it easier to + # install later. + rm ${P}/doc/adminguide/* || die + unpack ${P}-docs.tar.bz2 + fi +} + +src_configure() { + local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin" + use perl && myconf=" --with-perltools=\"${slot_bin_dir}\"" + postgres-multi_foreach econf ${myconf} \ + --with-pgconfigdir="${slot_bin_dir}" \ + --with-slonybindir="${slot_bin_dir}" +} + +src_install() { + postgres-multi_foreach emake DESTDIR="${D}" install + + dodoc README SAMPLE TODO UPGRADING share/slon.conf-sample + use doc && postgres-multi_forbest dodoc -r doc/adminguide + + newinitd "${FILESDIR}"/slony1.init slony1 + newconfd "${FILESDIR}"/slony1.conf slony1 +} + +pkg_postinst() { + # Slony-I installs its executables into a directory that is + # processed by the PostgreSQL eselect module. Call it here so that + # the symlinks will be created. + ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks" + postgresql-config update + eend $? +} diff --git a/dev-db/slony1/slony1-2.2.10.ebuild b/dev-db/slony1/slony1-2.2.10.ebuild deleted file mode 100644 index 1e64c0ebe7bd..000000000000 --- a/dev-db/slony1/slony1-2.2.10.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( 9.6 {10..14} ) -POSTGRES_USEDEP="server,threads" - -inherit postgres-multi - -IUSE="doc perl" - -DESCRIPTION="A replication system for the PostgreSQL Database Management System" -HOMEPAGE="https://slony.info/" - -MAJ_PV=$(ver_cut 1-2) -SRC_URI="https://slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2 - doc? ( https://slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2 ) -" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -DEPEND="${POSTGRES_DEP} - perl? ( dev-perl/DBD-Pg ) -" -RDEPEND=${DEPEND} - -REQUIRE_USE="${POSTGRES_REQ_USE}" - -# Testing requires a more complex setup than we benefit from being able -# to perform. -# https://slony.info/documentation/2.2/testing.html -RESTRICT="test" - -src_unpack() { - unpack ${P}.tar.bz2 - - if use doc ; then - # The docs tarball will unpack over the source directory. So, we - # clear the adminguide directory now to make it easier to - # install later. - rm ${P}/doc/adminguide/* || die - unpack ${P}-docs.tar.bz2 - fi -} - -src_configure() { - local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin" - use perl && myconf=" --with-perltools=\"${slot_bin_dir}\"" - postgres-multi_foreach econf ${myconf} \ - --with-pgconfigdir="${slot_bin_dir}" \ - --with-slonybindir="${slot_bin_dir}" -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" install - - dodoc README SAMPLE TODO UPGRADING share/slon.conf-sample - use doc && postgres-multi_forbest dodoc -r doc/adminguide - - newinitd "${FILESDIR}"/slony1.init slony1 - newconfd "${FILESDIR}"/slony1.conf slony1 -} - -pkg_postinst() { - # Slony-I installs its executables into a directory that is - # processed by the PostgreSQL eselect module. Call it here so that - # the symlinks will be created. - ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks" - postgresql-config update - eend $? -} -- cgit v1.2.3