Fix pgmon-1.0.3 manifest
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST pgmon-1.0.1.tar.bz2 510406 SHA256 5054bcdc95e9dd138bdca897f641b7a613156e616578e22f575160cba8ef1414 SHA512 38ecf378a5a069c758774dc4118b26b3f2eeb1c5a9b58606e75cb56c0ccf54e1a55b76ceafc1adbabc7c06b022b20abdc19a296d03dbee0b3405d3aab3df662a WHIRLPOOL 29290780e6c6f7ce68253752e3c0d8583ff37e79254b35c6481b02c2e91f7e0a5c29464d48182011588eafd9afa1fb51dfac2e35a112ba6c354fdb2f1e8706aa
|
||||
DIST pgmon-1.0.3.tar.bz2 659823 SHA256 5c2d1698e94161a7fd2d5d5f710a3eb0b03cf7ef115b8263f5986271c8728645 SHA512 df95b4e0f7c5249cc73bf185b715818bbc36dc116b1e0a1e7eb598342a2fd445d55aa01a06c5810b3d93d4a07cdd294f4a63167a37152037c0952db38ee4c39d WHIRLPOOL fd26707c9ada51ac18a994c0061a562977f8aa1c7ee1850665e7826b9eea3af6bafcf0cdf80118b73984b84ea438f58fb7d450b10b9b6b697666f3bb88a02f90
|
||||
EBUILD pgmon-1.0.1.ebuild 1351 SHA256 d780dd77df643688017ef447bafc7d5f2a49ecbbd0aa13b8b8627fbf7599281e SHA512 602f8048cfb3b95a18698c0b8f38eba6ce38503703af3dd28eff0e382218cb2a2dd2609bfebbb001ff3b11eb04610871db20738dd125443602b0a8af396ad2d3 WHIRLPOOL 2c055371615e64b1d94c9a3fdf0a55e6a62b1bf7639c4a3ada5b1dd93a5736926c6f082de4c01711476a7b16f656f0862a2c723fd18170358209ec05da551f26
|
||||
DIST pgmon-1.0.3.tar.bz2 40074 SHA256 9653e8ff50365e96457d9f9d7ef4f63894f15ad58db363cfc602ccb9bbf8b29c SHA512 f8b2f71c8363f405c7932eee436f44fc7ed612e1c1cdbc0b97df2a3a6d5dfee476a2dec78c07c000538dd089accad235e2dda3657cba8f425abcb1e8fb21f2ea WHIRLPOOL 415d17a2a8d081f3aa27879784c32967b2f0c58e5479cbeea8b0b4fa3bc5449f107b1533c86144036cd2b5ad6844e3ab0d9b16b71e42bc3613c3efca72fdceab
|
||||
EBUILD pgmon-1.0.3.ebuild 1351 SHA256 d780dd77df643688017ef447bafc7d5f2a49ecbbd0aa13b8b8627fbf7599281e SHA512 602f8048cfb3b95a18698c0b8f38eba6ce38503703af3dd28eff0e382218cb2a2dd2609bfebbb001ff3b11eb04610871db20738dd125443602b0a8af396ad2d3 WHIRLPOOL 2c055371615e64b1d94c9a3fdf0a55e6a62b1bf7639c4a3ada5b1dd93a5736926c6f082de4c01711476a7b16f656f0862a2c723fd18170358209ec05da551f26
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..13} )
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="PostgreSQL monitoring bridge"
|
||||
HOMEPAGE="None"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
SRC_URI="https://code2.shh-dot-com.org/james/${PN}/archive/v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
IUSE="-systemd"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-python/psycopg:2
|
||||
dev-python/pyyaml
|
||||
app-admin/logrotate
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
#S="${WORKDIR}/${PN}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download"
|
||||
einfo " - ${P}.tar.bz2"
|
||||
einfo "from ${HOMEPAGE} and place it in your DISTDIR directory."
|
||||
einfo "The file should be owned by portage:portage."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install init script
|
||||
if ! use systemd ; then
|
||||
newinitd "openrc/pgmon.initd" pgmon
|
||||
newconfd "openrc/pgmon.confd" pgmon
|
||||
fi
|
||||
|
||||
# Install systemd unit
|
||||
if use systemd ; then
|
||||
systemd_dounit "systemd/pgmon.service"
|
||||
fi
|
||||
|
||||
# Install script
|
||||
exeinto /usr/bin
|
||||
newexe "src/pgmon.py" pgmon
|
||||
|
||||
# Install default config
|
||||
diropts -o root -g root -m 0755
|
||||
insinto /etc/pgmon
|
||||
doins "sample-config/pgmon.yml"
|
||||
doins "sample-config/pgmon-metrics.yml"
|
||||
|
||||
# Install logrotate config
|
||||
insinto /etc/logrotate.d
|
||||
newins "logrotate/pgmon.logrotate" pgmon
|
||||
|
||||
# Install man page
|
||||
doman manpages/pgmon.1
|
||||
}
|
||||
Reference in New Issue
Block a user