diff options
Diffstat (limited to 'dev-db/pgagent')
-rw-r--r-- | dev-db/pgagent/Manifest | 3 | ||||
-rw-r--r-- | dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch | 33 | ||||
-rw-r--r-- | dev-db/pgagent/pgagent-4.0.0-r1.ebuild | 55 |
3 files changed, 0 insertions, 91 deletions
diff --git a/dev-db/pgagent/Manifest b/dev-db/pgagent/Manifest index df61bbda5047..beb487f9f1e0 100644 --- a/dev-db/pgagent/Manifest +++ b/dev-db/pgagent/Manifest @@ -1,8 +1,5 @@ -AUX pgagent-4.0.0-pthreads-linking.patch 806 BLAKE2B 771541db654044bc7de240a9b1df3a0d14fbedfbd396b887fb252c83b105cce3431f74913faf07f9c638f2b7a046d5aeb7f944692f03efb0b097c5d683133632 SHA512 7693f63555dc817caa41ed5052f2548c06f6ab87da3ef0267e07ff99bda9e1aac6c20dee5628bbc9ed79adc0183da726f9e256bd658c0283046b6d41f8cb7905 AUX pgagent.confd 292 BLAKE2B e40e12a1a915653ffa62b113733db93cc7b1c3fc7200ef476a91080fdc054fdb64b6ee9b838583b93b27827a7858e905df8fbe0084dedd8d70deee6887469005 SHA512 a7346ae4dc7231efb8c29d3b7a1d7d377a2b1dabe01b0be9b090e070bec927b29d8e8c20ce30d437cab2ab5c119af89dfcdc6f75fecaca7366b2c10c5e48ed11 AUX pgagent.initd-r1 837 BLAKE2B 27bd762c0fd56cf63d1c31c2c0d94b6d8ed62dbfeaed42e260294604a5059c55dc9d204a526bfd5725831c99f712f1e5812a8bb7ee80cb745fc9bebfa06d7359 SHA512 ec6843ad55a7b2800c146ce7ee0551c5ede319d1fca1cfd700acd2245c6fcbaa36a87ad6cda04f33e124b479e6ca6b040cb57d0f78e40d335276e29c800f6627 -DIST pgAgent-4.0.0-Source.tar.gz 63561 BLAKE2B 1731e748a6a5e76cd8b177162eb5b82ae633d1b507739e3193a8857a0eee0fe775fdaadb871eb5d708c0f7e80558680b5d7d246f4cb5d2bc1c10955bdf9cc09e SHA512 df2d6f5817d83d4cf60f0f1106718225870bcfd2f5b882765e5fd459e1614208225f90b29de492bec5284f3727f3d4be9f724b92ef503fea08029fab22a8fbb4 DIST pgAgent-4.2.1-Source.tar.gz 65583 BLAKE2B ee75803475dfbb751f1a81da5c3a6bec82aee80e9ce7d0413f94395069b5c0cbb6ff8770083078ce0e3a571a4c1b6d2e6adf6af8f0bfa9e8adfc862fff38d0d3 SHA512 778ca020ec23b3d042760cdcf84d3c2da8da48c8a648a9999812c2e79edfcc8912ab23cc1a1c29f379d6a56960cdd876164397b8fe6b21dd386a917a80eaa71c -EBUILD pgagent-4.0.0-r1.ebuild 1239 BLAKE2B 765398f1d00a72a30ab9b676d5688ddd9370b4e29324938fff1b85694c8732d64302ab0d3b6b7e91f3d44ef5f7c42492553b5581aa7422e0a9f6c617db6eb72e SHA512 b2054c28cd377fd4b69e895ae8a5494cf78fd15f23d67171f91f15c7369ae9ba51a0bd832ab8a889b50e7ab5debad98e9a5a21f693460404052f4ced3a98e236 EBUILD pgagent-4.2.1.ebuild 997 BLAKE2B 617f7af8b9ecae9b605f11a42a75aff2b734ba622e2dcdecf30a79ddf52f5015962a9be34927a5ce5bbfe603fcb26fcdaf3cec82cf1828280ea7632e458cc7f7 SHA512 5ad50c6b3be485966f7d131ddbae74f0929330dbeac42a0a7d92ac2732ca77b59a3a47b91f594ec15b9acd33e4f5e6411529190b0c0f8df3ef003488b53e2f78 MISC metadata.xml 299 BLAKE2B 8a9e141d133ba835d7cc3b57fd23fb87809747ddc080ccb6f62901c37efb805ce9cd76f975137085a7a2cc3360b7273c8520e3e9d5a44cd049035432c808950c SHA512 08ed9516733ab595f4c68d25aa24dceb31661d60acdc1e2bc44d0b397052c761aee80857a47eb62b37cbf3bb38e4619c1ef4fe5caddcce2137b6a8bb73baa4ac 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 deleted file mode 100644 index 95f8e998f58f..000000000000 --- a/dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 5b79460bdda286ca988b39e93e446176e8a781d1 Mon Sep 17 00:00:00 2001 -From: Neel Patel <neel.patel@enterprisedb.com> -Date: Fri, 20 Jul 2018 13:35:35 +0100 -Subject: [PATCH] Link with pthreads on non-Windows and non-macOS platforms. - -Patch based on feedback and initial work by Christoph Berg. ---- - CMakeLists.txt | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1be24da..6f1eaa0 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -134,9 +134,15 @@ IF(WIN32) - ENDIF(WIN32) - - ADD_EXECUTABLE(pgagent ${_srcs}) -+IF(UNIX AND NOT APPLE) -+TARGET_LINK_LIBRARIES( -+ pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES} -pthread -+) -+ELSE() - TARGET_LINK_LIBRARIES( - pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES} - ) -+ENDIF() - - # Installation - IF (WIN32) --- -2.24.1 - diff --git a/dev-db/pgagent/pgagent-4.0.0-r1.ebuild b/dev-db/pgagent/pgagent-4.0.0-r1.ebuild deleted file mode 100644 index 50120fe2593b..000000000000 --- a/dev-db/pgagent/pgagent-4.0.0-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -CMAKE_IN_SOURCE_BUILD=1 - -inherit cmake-utils user - -MY_PN=${PN/a/A} - -KEYWORDS="amd64 x86" - -DESCRIPTION="${MY_PN} is a job scheduler for PostgreSQL" -HOMEPAGE="https://www.pgadmin.org/download/pgagent-source-code/" -SRC_URI="https://ftp.postgresql.org/pub/pgadmin/${PN}/${MY_PN}-${PV}-Source.tar.gz" - -LICENSE="POSTGRESQL GPL-2" -SLOT="0" - -RDEPEND="dev-db/postgresql:* - dev-libs/boost -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_PN}-${PV}-Source" - -PATCHES=( "${FILESDIR}"/pgagent-4.0.0-pthreads-linking.patch ) - -src_prepare() { - cmake-utils_src_prepare - - sed -e "s:share):share/${P}):" \ - -i CMakeLists.txt || die "failed to patch CMakeLists.txt" -} - -src_configure() { - mycmakeargs=( "-DSTATIC_BUILD:BOOLEAN=FALSE" - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - newinitd "${FILESDIR}/pgagent.initd-r1" "${PN}" - newconfd "${FILESDIR}/pgagent.confd" "${PN}" - - rm "${ED}"/usr/{LICENSE,README} || die "failed to remove useless docs" -} - -pkg_preinst() { - # This user needs a real shell, and the daemon will use the - # ~/.pgpass file from its home directory. - enewuser pgagent -1 /bin/bash /home/pgagent -} |