1 |
commit: 5c82757d6d951a51308de7ab1f4330deecce7b99 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 19:32:25 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 19:32:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c82757d |
7 |
|
8 |
dev-db/pgagent: drop 4.0.0-r1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/781284 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
dev-db/pgagent/Manifest | 1 - |
14 |
.../files/pgagent-4.0.0-pthreads-linking.patch | 33 ------------- |
15 |
dev-db/pgagent/pgagent-4.0.0-r1.ebuild | 55 ---------------------- |
16 |
3 files changed, 89 deletions(-) |
17 |
|
18 |
diff --git a/dev-db/pgagent/Manifest b/dev-db/pgagent/Manifest |
19 |
index d3bd5981bcec..9e64e509a8e8 100644 |
20 |
--- a/dev-db/pgagent/Manifest |
21 |
+++ b/dev-db/pgagent/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST pgAgent-4.0.0-Source.tar.gz 63561 BLAKE2B 1731e748a6a5e76cd8b177162eb5b82ae633d1b507739e3193a8857a0eee0fe775fdaadb871eb5d708c0f7e80558680b5d7d246f4cb5d2bc1c10955bdf9cc09e SHA512 df2d6f5817d83d4cf60f0f1106718225870bcfd2f5b882765e5fd459e1614208225f90b29de492bec5284f3727f3d4be9f724b92ef503fea08029fab22a8fbb4 |
24 |
DIST pgAgent-4.2.1-Source.tar.gz 65583 BLAKE2B ee75803475dfbb751f1a81da5c3a6bec82aee80e9ce7d0413f94395069b5c0cbb6ff8770083078ce0e3a571a4c1b6d2e6adf6af8f0bfa9e8adfc862fff38d0d3 SHA512 778ca020ec23b3d042760cdcf84d3c2da8da48c8a648a9999812c2e79edfcc8912ab23cc1a1c29f379d6a56960cdd876164397b8fe6b21dd386a917a80eaa71c |
25 |
|
26 |
diff --git a/dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch b/dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch |
27 |
deleted file mode 100644 |
28 |
index 95f8e998f58f..000000000000 |
29 |
--- a/dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch |
30 |
+++ /dev/null |
31 |
@@ -1,33 +0,0 @@ |
32 |
-From 5b79460bdda286ca988b39e93e446176e8a781d1 Mon Sep 17 00:00:00 2001 |
33 |
-From: Neel Patel <neel.patel@××××××××××××.com> |
34 |
-Date: Fri, 20 Jul 2018 13:35:35 +0100 |
35 |
-Subject: [PATCH] Link with pthreads on non-Windows and non-macOS platforms. |
36 |
- |
37 |
-Patch based on feedback and initial work by Christoph Berg. |
38 |
---- |
39 |
- CMakeLists.txt | 6 ++++++ |
40 |
- 1 file changed, 6 insertions(+) |
41 |
- |
42 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
43 |
-index 1be24da..6f1eaa0 100755 |
44 |
---- a/CMakeLists.txt |
45 |
-+++ b/CMakeLists.txt |
46 |
-@@ -134,9 +134,15 @@ IF(WIN32) |
47 |
- ENDIF(WIN32) |
48 |
- |
49 |
- ADD_EXECUTABLE(pgagent ${_srcs}) |
50 |
-+IF(UNIX AND NOT APPLE) |
51 |
-+TARGET_LINK_LIBRARIES( |
52 |
-+ pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES} -pthread |
53 |
-+) |
54 |
-+ELSE() |
55 |
- TARGET_LINK_LIBRARIES( |
56 |
- pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES} |
57 |
- ) |
58 |
-+ENDIF() |
59 |
- |
60 |
- # Installation |
61 |
- IF (WIN32) |
62 |
--- |
63 |
-2.24.1 |
64 |
- |
65 |
|
66 |
diff --git a/dev-db/pgagent/pgagent-4.0.0-r1.ebuild b/dev-db/pgagent/pgagent-4.0.0-r1.ebuild |
67 |
deleted file mode 100644 |
68 |
index 50120fe2593b..000000000000 |
69 |
--- a/dev-db/pgagent/pgagent-4.0.0-r1.ebuild |
70 |
+++ /dev/null |
71 |
@@ -1,55 +0,0 @@ |
72 |
-# Copyright 1999-2020 Gentoo Authors |
73 |
-# Distributed under the terms of the GNU General Public License v2 |
74 |
- |
75 |
-EAPI=7 |
76 |
-CMAKE_IN_SOURCE_BUILD=1 |
77 |
- |
78 |
-inherit cmake-utils user |
79 |
- |
80 |
-MY_PN=${PN/a/A} |
81 |
- |
82 |
-KEYWORDS="amd64 x86" |
83 |
- |
84 |
-DESCRIPTION="${MY_PN} is a job scheduler for PostgreSQL" |
85 |
-HOMEPAGE="https://www.pgadmin.org/download/pgagent-source-code/" |
86 |
-SRC_URI="https://ftp.postgresql.org/pub/pgadmin/${PN}/${MY_PN}-${PV}-Source.tar.gz" |
87 |
- |
88 |
-LICENSE="POSTGRESQL GPL-2" |
89 |
-SLOT="0" |
90 |
- |
91 |
-RDEPEND="dev-db/postgresql:* |
92 |
- dev-libs/boost |
93 |
-" |
94 |
-DEPEND="${RDEPEND}" |
95 |
- |
96 |
-S="${WORKDIR}/${MY_PN}-${PV}-Source" |
97 |
- |
98 |
-PATCHES=( "${FILESDIR}"/pgagent-4.0.0-pthreads-linking.patch ) |
99 |
- |
100 |
-src_prepare() { |
101 |
- cmake-utils_src_prepare |
102 |
- |
103 |
- sed -e "s:share):share/${P}):" \ |
104 |
- -i CMakeLists.txt || die "failed to patch CMakeLists.txt" |
105 |
-} |
106 |
- |
107 |
-src_configure() { |
108 |
- mycmakeargs=( "-DSTATIC_BUILD:BOOLEAN=FALSE" |
109 |
- ) |
110 |
- cmake-utils_src_configure |
111 |
-} |
112 |
- |
113 |
-src_install() { |
114 |
- cmake-utils_src_install |
115 |
- |
116 |
- newinitd "${FILESDIR}/pgagent.initd-r1" "${PN}" |
117 |
- newconfd "${FILESDIR}/pgagent.confd" "${PN}" |
118 |
- |
119 |
- rm "${ED}"/usr/{LICENSE,README} || die "failed to remove useless docs" |
120 |
-} |
121 |
- |
122 |
-pkg_preinst() { |
123 |
- # This user needs a real shell, and the daemon will use the |
124 |
- # ~/.pgpass file from its home directory. |
125 |
- enewuser pgagent -1 /bin/bash /home/pgagent |
126 |
-} |