dev-perl/GLPlugin - 6.0 (icinga)

Search

Package Information

Description:
Perl modules providing the basis for labs.consol.de Nagios/Naemon/Icinga plugins
Homepage:
https://github.com/lausser/GLPlugin
License:
Artistic-2

Ebuild Details

Version EAPI Keywords Slot
6.0 8 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit perl-functions

EGIT_COMMIT="0f0770ec0e6f63b40da1af9b014e0e2eb1a322b5"
DESCRIPTION="Perl modules providing the basis for labs.consol.de Nagios/Naemon/Icinga plugins"
HOMEPAGE="https://github.com/lausser/GLPlugin"
SRC_URI="https://github.com/lausser/GLPlugin/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"

PATCHES=(
	"${FILESDIR}"/01_snmp_timeout.patch
)

LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="
	dev-perl/JSON
"
DEPEND=""

src_configure(){
	default

	echo '1;'> autosplit.ix
}

src_install(){
	default

	my_vendorlib="$(perl_get_vendorlib)"

	insinto "${my_vendorlib}"/auto/Monitoring/GLPlugin/UPNP/
	doins autosplit.ix
	insinto "${my_vendorlib}"/auto/Monitoring/GLPlugin/SNMP/
	doins autosplit.ix

	pushd lib/Monitoring || die
	perl_domodule -C Monitoring -r .
	popd || die
}

Dependencies

RDEPEND

	dev-perl/JSON

Manifest for 6.0

Type File Size Source URLs
DIST GLPlugin-6.0.tar.gz 1605972 bytes https://github.com/lausser/GLPlugin/archive/0f0770ec0e6f63b40da1af9b014e0e2eb1a322b5.tar.gz