blob: aba3bf1143f7b1b1833ac2fb274627a306d893a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN/nagios-/}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Nagios check script for GLSAs (Gentoo Linux Security Advisories)"
HOMEPAGE="https://github.com/craig/check_glsa2"
SRC_URI="https://dev.gentoo.org/~flameeyes/${MY_PN}/${MY_P}.tar.xz"
LICENSE="GPL-2 BSD-2"
SLOT="0"
KEYWORDS="amd64"
DEPEND="
acct-group/nagios
acct-user/nagios"
RDEPEND="
${DEPEND}
app-portage/gentoolkit"
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}"/${PN}-20120930-CACHEDIR.patch )
src_install() {
exeinto /usr/$(get_libdir)/nagios/plugins
doexe *.sh
dodoc README
diropts -o nagios -g nagios
keepdir /var/cache/${MY_PN}
}
|