Compare commits
2 Commits
88f9967d3f
...
10d7686897
| Author | SHA1 | Date | |
|---|---|---|---|
| 10d7686897 | |||
| 885aeb6330 |
@ -3,3 +3,4 @@ AUX pgmon.logrotate 116 SHA256 d7cc697cc640f661ec0019363b8a411e0df62cbe63b97c5fc
|
|||||||
AUX pgmon.openrc 829 SHA256 bbfd3ec3834e0f04539696715c6529099a4329d7dbce8fe045974b220e123f73 SHA512 bfeb3b9417a32019b20e0147eeb7489551da206409c43d14d683685affafafcdee943493bca1d4d3b0d092eb909ac61764e8898798a737b38edacdb72d021fd7 WHIRLPOOL a0825737f9becd8079f784b5bdc5aab8548c5330ddae815404607fbb52c722d08bf32dd50f8c5dca3c6452d6201f45576c4a072960c42ea736a4939ab394edcf
|
AUX pgmon.openrc 829 SHA256 bbfd3ec3834e0f04539696715c6529099a4329d7dbce8fe045974b220e123f73 SHA512 bfeb3b9417a32019b20e0147eeb7489551da206409c43d14d683685affafafcdee943493bca1d4d3b0d092eb909ac61764e8898798a737b38edacdb72d021fd7 WHIRLPOOL a0825737f9becd8079f784b5bdc5aab8548c5330ddae815404607fbb52c722d08bf32dd50f8c5dca3c6452d6201f45576c4a072960c42ea736a4939ab394edcf
|
||||||
AUX pgmon_userparameter.conf 90 SHA256 72ac9abc29908206a57b084f029fce6d662633cac5988c1d79a8628687b7a912 SHA512 1dcf74ebca08ddc077ee35212cdc084a14faa717433f9fb5e2a994863cbf6d9ca7be81f8533df9d1afdcea46b7b0afb3c1182f059774fb5704ccebaae446c24b WHIRLPOOL 8d6dc97519d9c62419a65e201e012d823076156b972ed3da193d6d5e5d01e1a2adb8c60910dd954c096fadc5d772707974467270707ceb70aac80eef3723eb90
|
AUX pgmon_userparameter.conf 90 SHA256 72ac9abc29908206a57b084f029fce6d662633cac5988c1d79a8628687b7a912 SHA512 1dcf74ebca08ddc077ee35212cdc084a14faa717433f9fb5e2a994863cbf6d9ca7be81f8533df9d1afdcea46b7b0afb3c1182f059774fb5704ccebaae446c24b WHIRLPOOL 8d6dc97519d9c62419a65e201e012d823076156b972ed3da193d6d5e5d01e1a2adb8c60910dd954c096fadc5d772707974467270707ceb70aac80eef3723eb90
|
||||||
EBUILD pgmon-0.0.1.ebuild 1493 SHA256 0f8623c016ea2b15a3343cf83abf022e17652b3bbab78b200afff7857fc3f12e SHA512 ce2f13e66b960481ede10542788129fadc46de3d95d19ff1e4317c381624fcca35d00be8c11d74b55274f86b618754bcff71ae10aecdb39133ef0111bb3aa2cd WHIRLPOOL 5c38382e171d20d84fba360e39b7854e32c5d108564695ce25f537a55702eeff3f5df169b8ffc501f27e82f1c49dfa7328c96bcd93d0a9ddca9110de4b044bd9
|
EBUILD pgmon-0.0.1.ebuild 1493 SHA256 0f8623c016ea2b15a3343cf83abf022e17652b3bbab78b200afff7857fc3f12e SHA512 ce2f13e66b960481ede10542788129fadc46de3d95d19ff1e4317c381624fcca35d00be8c11d74b55274f86b618754bcff71ae10aecdb39133ef0111bb3aa2cd WHIRLPOOL 5c38382e171d20d84fba360e39b7854e32c5d108564695ce25f537a55702eeff3f5df169b8ffc501f27e82f1c49dfa7328c96bcd93d0a9ddca9110de4b044bd9
|
||||||
|
EBUILD pgmon-0.0.2.ebuild 1499 SHA256 4753b7c82f12814843c795110347b74a16e1c9abafd3590be4dad954ad65110e SHA512 25a8309c33d819a099fcbfdc4c6428497f40658dee2db053caaeb437715fd6680df4ac0c0f36b079b69db8561bf8870e28a67e3ecc660fc7abbe547a61b84003 WHIRLPOOL b4069127dd8a303c2926fbeb7fa8f3c1689d03012c1ac3bdbaa7faa1fb76282e9f0115741f2b1cc15d82ff4452188dbac835c202082907ab5712881afe2689e9
|
||||||
|
|||||||
68
dev-db/pgmon/pgmon-0.0.2.ebuild
Normal file
68
dev-db/pgmon/pgmon-0.0.2.ebuild
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6..11} )
|
||||||
|
|
||||||
|
inherit git-r3 python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="PostgreSQL monitoring bridge"
|
||||||
|
HOMEPAGE="None"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64"
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://code2.shh-dot-com.org/james/pgmon.git"
|
||||||
|
EGIT_COMMIT="9fd03f5"
|
||||||
|
|
||||||
|
IUSE="+agent agent2"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-python/psycopg:2
|
||||||
|
acct-user/zabbix
|
||||||
|
acct-group/zabbix
|
||||||
|
agent? ( net-analyzer/zabbix[agent] )
|
||||||
|
agent2? ( net-analyzer/zabbix[agent2] )
|
||||||
|
app-admin/logrotate
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Install init script
|
||||||
|
newinitd "${FILESDIR}/pgmon.openrc" pgmon
|
||||||
|
|
||||||
|
# Install script
|
||||||
|
exeinto /usr/bin
|
||||||
|
newexe "${S}/pgmon.py" pgmon
|
||||||
|
|
||||||
|
# Install default config
|
||||||
|
diropts -o root -g zabbix -m 0755
|
||||||
|
insinto /etc/pgmon
|
||||||
|
doins "${FILESDIR}/pgmon.cfg"
|
||||||
|
doins "${S}/pgmon-metrics.cfg"
|
||||||
|
|
||||||
|
# Install Zabbix userparams file
|
||||||
|
if use agent; then
|
||||||
|
insinto /etc/zabbix/zabbix_agent.d
|
||||||
|
newins "${FILESDIR}/pgmon_userparameter.conf" pgmon.conf
|
||||||
|
fperms 0644 /etc/zabbix/zabbix_agent.d/pgmon.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_agent.d/pgmon.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use agent2; then
|
||||||
|
insinto /etc/zabbix/zabbix_agent2.d
|
||||||
|
newins "${S}/pgmon_userparameter.conf" pgmon.conf
|
||||||
|
fperms 0644 /etc/zabbix/zabbix_agent2.d/pgmon.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_agent2.d/pgmon.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install logrotate config
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/pgmon.logrotate" pgmon
|
||||||
|
}
|
||||||
@ -1,5 +1,3 @@
|
|||||||
EBUILD x2x-2018.07.ebuild 1686 SHA256 661ce64a0b3c467a30cc22a7d3913d1e935f0381866b37d4f0f2b1bc2b16a18c SHA512 60c8c811e15dc2d81cbd885ef52bf5f0e829930913aba8122907cb48d3174f4d9f6c0015a630478b6467e6b0f292294f9fcc2c474392c99b134ed75a7308505c WHIRLPOOL bf44de811163379da1184e0d8e41fa52e6f97e0f3448c1f2f4cbe7a88dc090b92d85f69ae4b4ab51770e18ff5741986aef66cbf5e8dd44c6932189d5c619613e
|
EBUILD x2x-2020.01-r1.ebuild 751 SHA256 88b657b2735326b7445f8447bf0bf1f4d2be8d5803f16011f8baf785f1ba4030 SHA512 4817ea6f3272258788ac5a47d26fae8baae2c8e28703c4c3054b5fa0b8e77700a71904673332aad537e4ab688c2349aace04205854ee81a2b0a812edc09fead2 WHIRLPOOL 184783049a85efab67a3a3ee546aabd41f72a150b67b61f85795def1ecc7b22425e5367c9a0cb91821ebb7454b90de87cd8c4bad93a04942356f79a332068cd8
|
||||||
EBUILD x2x-2020.01-r1.ebuild 751 SHA256 010d3b8ef540fefe706f19d8fa298587e4ee657ef6eadd2803043f5266e6e527 SHA512 2c2efe9e985a98056279a03a9d925d501c16c96410e814da468170e655c533d2d24e73b17276f65f6d05b8c1245f5288609d690a49dc8247588a9e25ef429c54 WHIRLPOOL 8d18f5d3fae0c61b433b494dd82c205dddcfb7abb837a1e70fc2dbd9bb77f94177ca5f3451a2f90c46d32a30285d215cb0b24f348aecdc602fcf81801b32610a
|
EBUILD x2x-9999.ebuild 1690 SHA256 7c4e0f6f6e812aa4b1984404029f66e0786a721a526b4034eead4c178f2b770c SHA512 15f11253544ef6ab1bdbe06541327b717e899ce68386f1e6777e20145db7f3777a8d3fcbef6e453a4babe730bad3da0507793df9d5bf51853884f0185c45376f WHIRLPOOL 7344f8a9a80b53ffaf14018204116086743e07cb0fd1080a460fd9d0c6df5010bebde52147d1518853773c4f14ddc52e3c880ef7516fa20a03e761e17468e32e
|
||||||
EBUILD x2x-2020.01.ebuild 1664 SHA256 3b6f077d2c4839cafcc65a8d6f7097e10b84b41b2e2cb56a2dc7f36f8dc6b784 SHA512 003e3d550fffbee9ff50d6517505bd32ae686a0be8e631ff314d0a06e103858316ac19257587b76c3a83f6011d91c728a0c627c3ef694d236a0642bcf534fbc7 WHIRLPOOL 5226c18da92b30612d3ea3d7357da61ff0712bfcdf3c1809368309a3b2cc4232a7dd3f4ff499f10c7f1d71c17e2b0ce4034d7d73a0aee5e5070e7a73788e1994
|
|
||||||
EBUILD x2x-9999.ebuild 1690 SHA256 6044c765d7be781034ce651767dee3e4d7138303cb8d3cdfffb64b6ce9269dd0 SHA512 e171c47ddef4f66a90914ed7fa85c02721aff453fd82b32d2adc9a89f563bee0b3db42fabda2613960e04997227480e08d1a2c753cc9415f31b6985206c5c526 WHIRLPOOL ec105f7dd0c124f2e073633c94cfa2bd8cd796c125a8493e50cbb8ef98ca1e23150f5785a8430bcb7f85b7a3cc05c3052f31773b4a4e6df862395b63bea0fe3d
|
|
||||||
MISC x2x-9999.ebuild.bak 1630 SHA256 415db01b7419209f1dae8bf0cc7c6d7d35cc724bc7e2e75ddf7439a19d20d0ed SHA512 2a7e78d3f762dedb29d2d6fd011d4689e3de2aeb7990f4fae78d3985f94a51aab1694bbe3d588728f0cb4a0518863e488a008e5b5cef7c2073fd732ff66deb3e WHIRLPOOL 787b97d4133a4ad94b05fa1244911a2ca0d9563fe95ee54ca4b8b3aab8ee952caf622199e7006b33164199e3cd83edcb195432dcdd16ddd4ea5bdd0291f5f9d1
|
MISC x2x-9999.ebuild.bak 1630 SHA256 415db01b7419209f1dae8bf0cc7c6d7d35cc724bc7e2e75ddf7439a19d20d0ed SHA512 2a7e78d3f762dedb29d2d6fd011d4689e3de2aeb7990f4fae78d3985f94a51aab1694bbe3d588728f0cb4a0518863e488a008e5b5cef7c2073fd732ff66deb3e WHIRLPOOL 787b97d4133a4ad94b05fa1244911a2ca0d9563fe95ee54ca4b8b3aab8ee952caf622199e7006b33164199e3cd83edcb195432dcdd16ddd4ea5bdd0291f5f9d1
|
||||||
|
|||||||
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
#inherit eutils toolchain-funcs
|
|
||||||
inherit autotools git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="A utility to connect the Mouse and KeyBoard to another X"
|
|
||||||
HOMEPAGE="https://github.com/dottedmag/x2x/wiki"
|
|
||||||
LICENSE="BSD MIT"
|
|
||||||
#SRC_URI="https://github.com/dottedmag/${PN}/archive/master.zip -> ${PN}.zip"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~mips ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
EGIT_REPO_URI="https://github.com/dottedmag/x2x.git"
|
|
||||||
EGIT_COMMIT="e62a535f9bace33c8b61ea9ff95f040622cb34a2"
|
|
||||||
|
|
||||||
RDEPEND="x11-libs/libX11
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-libs/libXext"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
x11-proto/inputproto
|
|
||||||
app-text/rman
|
|
||||||
x11-misc/imake
|
|
||||||
x11-proto/xproto"
|
|
||||||
|
|
||||||
#S="${WORKDIR}/${PN}-master"
|
|
||||||
|
|
||||||
#src_unpack() {
|
|
||||||
# unpack ${A}
|
|
||||||
# cd "${S}"
|
|
||||||
|
|
||||||
# Patch from Debian to add -north and -south, among other fixes
|
|
||||||
#epatch "${DISTDIR}"/x2x_1.27-8.diff.gz
|
|
||||||
# Revert part of debian patch messing with CFLAGS
|
|
||||||
#sed -i '/CFLAGS = -Wall/d' Imakefile || die
|
|
||||||
|
|
||||||
# Fix variable initialization in Debian patch
|
|
||||||
#epatch "${DISTDIR}"/x2x_1.27-8-initvars.patch.gz
|
|
||||||
|
|
||||||
# Patch to add LICENSE
|
|
||||||
#epatch "${DISTDIR}"/${P}-license.patch.gz
|
|
||||||
|
|
||||||
# Patch to fix bug #126939
|
|
||||||
# AltGr does not work in x2x with different keymaps:
|
|
||||||
#epatch "${DISTDIR}"/${P}-keymap.diff.gz
|
|
||||||
|
|
||||||
# Man-page is packaged as x2x.1 but needs to be x2x.man for building
|
|
||||||
#mv x2x.1 x2x.man || die
|
|
||||||
#}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
#xmkmf || die
|
|
||||||
#emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
|
|
||||||
# EXTRA_LDOPTIONS="${LDFLAGS}" || die
|
|
||||||
cd "${S}"
|
|
||||||
./bootstrap.sh || die
|
|
||||||
./configure --prefix="${EPREFIX}"/usr
|
|
||||||
emake || die
|
|
||||||
}
|
|
||||||
|
|
||||||
#src_install () {
|
|
||||||
# emake DESTDIR="${D}" install || die
|
|
||||||
#newman x2x.man x2x.1 || die
|
|
||||||
#}
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
EAPI="6"
|
EAPI="8"
|
||||||
|
|
||||||
#inherit eutils toolchain-funcs
|
#inherit eutils toolchain-funcs
|
||||||
inherit autotools git-r3
|
inherit autotools git-r3
|
||||||
|
|||||||
@ -1,67 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
#inherit eutils toolchain-funcs
|
|
||||||
inherit autotools git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="A utility to connect the Mouse and KeyBoard to another X"
|
|
||||||
HOMEPAGE="https://github.com/dottedmag/x2x/wiki"
|
|
||||||
LICENSE="BSD MIT"
|
|
||||||
#SRC_URI="https://github.com/dottedmag/${PN}/archive/master.zip -> ${PN}.zip"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~mips ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
EGIT_REPO_URI="https://github.com/dottedmag/x2x.git"
|
|
||||||
EGIT_COMMIT="ec10215d558f4b227547522c660f35db8ba6901e"
|
|
||||||
|
|
||||||
RDEPEND="x11-libs/libX11
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-libs/libXext"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-text/rman
|
|
||||||
x11-misc/imake
|
|
||||||
x11-proto/xproto"
|
|
||||||
|
|
||||||
#S="${WORKDIR}/${PN}-master"
|
|
||||||
|
|
||||||
#src_unpack() {
|
|
||||||
# unpack ${A}
|
|
||||||
# cd "${S}"
|
|
||||||
|
|
||||||
# Patch from Debian to add -north and -south, among other fixes
|
|
||||||
#epatch "${DISTDIR}"/x2x_1.27-8.diff.gz
|
|
||||||
# Revert part of debian patch messing with CFLAGS
|
|
||||||
#sed -i '/CFLAGS = -Wall/d' Imakefile || die
|
|
||||||
|
|
||||||
# Fix variable initialization in Debian patch
|
|
||||||
#epatch "${DISTDIR}"/x2x_1.27-8-initvars.patch.gz
|
|
||||||
|
|
||||||
# Patch to add LICENSE
|
|
||||||
#epatch "${DISTDIR}"/${P}-license.patch.gz
|
|
||||||
|
|
||||||
# Patch to fix bug #126939
|
|
||||||
# AltGr does not work in x2x with different keymaps:
|
|
||||||
#epatch "${DISTDIR}"/${P}-keymap.diff.gz
|
|
||||||
|
|
||||||
# Man-page is packaged as x2x.1 but needs to be x2x.man for building
|
|
||||||
#mv x2x.1 x2x.man || die
|
|
||||||
#}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
#xmkmf || die
|
|
||||||
#emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
|
|
||||||
# EXTRA_LDOPTIONS="${LDFLAGS}" || die
|
|
||||||
cd "${S}"
|
|
||||||
./bootstrap.sh || die
|
|
||||||
./configure --prefix="${EPREFIX}"/usr
|
|
||||||
emake || die
|
|
||||||
}
|
|
||||||
|
|
||||||
#src_install () {
|
|
||||||
# emake DESTDIR="${D}" install || die
|
|
||||||
#newman x2x.man x2x.1 || die
|
|
||||||
#}
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
EAPI="6"
|
EAPI="8"
|
||||||
|
|
||||||
#inherit eutils toolchain-funcs
|
#inherit eutils toolchain-funcs
|
||||||
inherit autotools git-r3
|
inherit autotools git-r3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user