Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/newrelic-sysmond/
Date: Fri, 29 Apr 2016 19:32:39
Message-Id: 1461958333.80977ac713d6a8e565935cb745c46f613d9f3109.wizardedit@gentoo
1 commit: 80977ac713d6a8e565935cb745c46f613d9f3109
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 17:56:06 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 19:32:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80977ac7
7
8 sys-apps/newrelic-sysmond: remove newrelic-sysmond-1.1.2.124-r1
9
10 Package-Manager: portage-2.2.26
11
12 .../newrelic-sysmond-1.1.2.124.ebuild | 57 ----------------------
13 1 file changed, 57 deletions(-)
14
15 diff --git a/sys-apps/newrelic-sysmond/newrelic-sysmond-1.1.2.124.ebuild b/sys-apps/newrelic-sysmond/newrelic-sysmond-1.1.2.124.ebuild
16 deleted file mode 100644
17 index 33d232c..0000000
18 --- a/sys-apps/newrelic-sysmond/newrelic-sysmond-1.1.2.124.ebuild
19 +++ /dev/null
20 @@ -1,57 +0,0 @@
21 -# Copyright 1999-2012 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=4
26 -
27 -inherit user
28 -
29 -DESCRIPTION="NewRelic System Monitor"
30 -HOMEPAGE="http://www.newrelic.com/"
31 -SRC_URI="http://download.newrelic.com/server_monitor/release/${P}-linux.tar.gz"
32 -
33 -LICENSE="newrelic Apache-2.0 MIT ISC openssl GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~x86 ~amd64"
36 -IUSE=""
37 -RESTRICT="strip"
38 -
39 -S="${WORKDIR}/${P}-linux"
40 -
41 -pkg_setup() {
42 - enewgroup newrelic
43 - enewuser newrelic -1 -1 -1 newrelic
44 -}
45 -
46 -src_install() {
47 - if [[ "${ARCH}" == "amd64" ]]; then
48 - NR_ARCH="x64"
49 - elif [[ "${ARCH}" == "x86" ]]; then
50 - NR_ARCH="x86"
51 - else
52 - die "Unsupported architecture (${ARCH})"
53 - fi
54 -
55 - dosbin "scripts/nrsysmond-config"
56 - newsbin "daemon/nrsysmond.${NR_ARCH}" "nrsysmond"
57 - newinitd "${FILESDIR}/newrelic-sysmond.rc" "newrelic-sysmond"
58 -
59 - keepdir "/etc/newrelic"
60 - insinto "/etc/newrelic"
61 - doins nrsysmond.cfg
62 -
63 - keepdir "/var/run/newrelic"
64 - fowners newrelic.newrelic "/var/run/newrelic"
65 - fperms 0775 "/var/run/newrelic"
66 -
67 - keepdir "/var/log/newrelic"
68 - fowners newrelic.newrelic "/var/log/newrelic"
69 - fperms 0775 "/var/log/newrelic"
70 -
71 - dodoc INSTALL.txt LICENSE.txt
72 -}
73 -
74 -pkg_postinst() {
75 - elog "Remember to set your license key via:"
76 - elog "$ nrsysmond-config --set license_key=\$YOUR_KEY"
77 -}