1 |
commit: 3946b7b9e5f07022f945623b6dac78583c85d554 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 13 13:31:04 2020 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 13 13:31:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3946b7b9 |
7 |
|
8 |
net-analyzer/nagios-icinga-openvpn: remove old "unused" version. |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
12 |
|
13 |
.../nagios-icinga-openvpn-0.0.1.ebuild | 37 ---------------------- |
14 |
1 file changed, 37 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild |
17 |
deleted file mode 100644 |
18 |
index fce8d525b7e..00000000000 |
19 |
--- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,37 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PYTHON_COMPAT=( python3_6 ) |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-MY_PN="check_openvpn" |
31 |
-DESCRIPTION="A Nagios plugin to check whether an OpenVPN server is alive" |
32 |
-HOMEPAGE="https://github.com/liquidat/nagios-icinga-openvpn" |
33 |
-SRC_URI="https://github.com/liquidat/nagios-icinga-openvpn/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="MIT" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64" |
38 |
-IUSE="" |
39 |
- |
40 |
-src_install() { |
41 |
- distutils-r1_src_install |
42 |
- |
43 |
- local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins" |
44 |
- dodir "${nagiosplugindir}" |
45 |
- |
46 |
- # Create a symlink from the nagios plugin directory to the /usr/bin |
47 |
- # location. The "binary" in /usr/bin should also be a symlink, since |
48 |
- # the python machinery allows the user to switch out the |
49 |
- # interpreter. We don't want to mess with any of that, so we just |
50 |
- # point to whatever the system would use if the user executed |
51 |
- # ${MY_PN}. |
52 |
- # |
53 |
- # The relative symlink is preferred so that if the package is |
54 |
- # installed e.g. while in a chroot, the symlink will never point |
55 |
- # outside of that chroot. |
56 |
- # |
57 |
- dosym "../../../bin/${MY_PN}" "${nagiosplugindir}/${MY_PN}" |
58 |
-} |