dev-perl/GLPlugin - 6.3 (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.3 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit perl-functions

EGIT_COMMIT="c0f276cb7912e15864f5ef489fe733d795244686"
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.3

Type File Size Source URLs
DIST GLPlugin-6.3.tar.gz 1645774 bytes https://github.com/lausser/GLPlugin/archive/c0f276cb7912e15864f5ef489fe733d795244686.tar.gz