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