From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgagent/files/, dev-db/pgagent/
Date: Wed, 21 May 2025 20:28:23 +0000 (UTC) [thread overview]
Message-ID: <1747859264.7a0a6922e746fcea02a151f9ee7fdf1c5ce680a3.sam@gentoo> (raw)
commit: 7a0a6922e746fcea02a151f9ee7fdf1c5ce680a3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 20:24:55 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 20:27:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0a6922
dev-db/pgagent: add 4.2.3
Bug: https://bugs.gentoo.org/956398
Closes: https://bugs.gentoo.org/884711
Closes: https://bugs.gentoo.org/954002
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/pgagent/Manifest | 1 +
dev-db/pgagent/files/pgagent-4.2.3-cmake-4.patch | 12 ++++++
dev-db/pgagent/pgagent-4.2.3.ebuild | 48 ++++++++++++++++++++++++
3 files changed, 61 insertions(+)
diff --git a/dev-db/pgagent/Manifest b/dev-db/pgagent/Manifest
index 9e64e509a8e8..896754a76129 100644
--- a/dev-db/pgagent/Manifest
+++ b/dev-db/pgagent/Manifest
@@ -1 +1,2 @@
DIST pgAgent-4.2.1-Source.tar.gz 65583 BLAKE2B ee75803475dfbb751f1a81da5c3a6bec82aee80e9ce7d0413f94395069b5c0cbb6ff8770083078ce0e3a571a4c1b6d2e6adf6af8f0bfa9e8adfc862fff38d0d3 SHA512 778ca020ec23b3d042760cdcf84d3c2da8da48c8a648a9999812c2e79edfcc8912ab23cc1a1c29f379d6a56960cdd876164397b8fe6b21dd386a917a80eaa71c
+DIST pgagent-4.2.3.tar.gz 53108 BLAKE2B ed51c0da86794674c09242bb87398ad9cac836fac7d88b72939257a277fcb8b96a3adc9c06598eefae0dee1e7c7f759231fb8dc306371755747e9b575cd52cd3 SHA512 f255c414f28b6f5e46162584919c6cc7da010c652827780ba350d19225f69539ab28144e3dde57879487c8c713d54001db890528e69926dd3823f122b91d3d7f
diff --git a/dev-db/pgagent/files/pgagent-4.2.3-cmake-4.patch b/dev-db/pgagent/files/pgagent-4.2.3-cmake-4.patch
new file mode 100644
index 000000000000..c667fb3f7250
--- /dev/null
+++ b/dev-db/pgagent/files/pgagent-4.2.3-cmake-4.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/954002
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -11,7 +11,7 @@
+ ################################################################################
+ # Initial setup
+ ################################################################################
+-CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+
+ IF(COMMAND cmake_policy)
+ CMAKE_POLICY(SET CMP0003 NEW)
diff --git a/dev-db/pgagent/pgagent-4.2.3.ebuild b/dev-db/pgagent/pgagent-4.2.3.ebuild
new file mode 100644
index 000000000000..b09e6bb6801c
--- /dev/null
+++ b/dev-db/pgagent/pgagent-4.2.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake
+
+DESCRIPTION="pgAgent is a job scheduler for PostgreSQL"
+HOMEPAGE="https://www.pgadmin.org/download/pgagent-source-code/"
+SRC_URI="https://github.com/pgadmin-org/${PN}/archive/refs/tags/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="POSTGRESQL GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ acct-user/pgagent
+ dev-db/postgresql:*
+ dev-libs/boost
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.2.3-cmake-4.patch
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -e "s:share):share/${P}):" \
+ -i CMakeLists.txt || die "failed to patch CMakeLists.txt"
+}
+
+src_configure() {
+ local mycmakeargs=( "-DSTATIC_BUILD:BOOLEAN=FALSE" )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ newinitd "${FILESDIR}/pgagent.initd-r1" "${PN}"
+ newconfd "${FILESDIR}/pgagent.confd" "${PN}"
+
+ rm "${ED}"/usr/{LICENSE,README} || die "failed to remove useless docs"
+}
next reply other threads:[~2025-05-21 20:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 20:28 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-27 19:33 [gentoo-commits] repo/gentoo:master commit in: dev-db/pgagent/files/, dev-db/pgagent/ Conrad Kostecki
2020-02-18 19:04 Aaron W. Swenson
2018-02-07 3:08 Michael Orlitzky
2017-08-16 13:52 Michael Orlitzky
2017-08-16 5:16 Michael Orlitzky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1747859264.7a0a6922e746fcea02a151f9ee7fdf1c5ce680a3.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox