Сравнение telegraf-1.18.3 с telegraf-1.26.3-r1
/usr/portage/net-analyzer/telegraf/telegraf-1.26.3-r1.ebuild 2023-10-09 14:52:33.340368447 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 |
inherit go-module systemd |
6 | 6 |
MY_PV="${PV/_rc/-rc.}" |
7 |
COMMIT=cd037b49 |
|
8 |
BRANCH=release-1.18 |
|
7 |
COMMIT=90f4eb29 |
|
8 |
BRANCH=HEAD |
|
9 | 9 |
VERSION=v${MY_PV} |
10 | 10 | |
11 | 11 |
DESCRIPTION="The plugin-driven server agent for collecting & reporting metrics" |
... | ... | |
26 | 26 | |
27 | 27 |
src_compile() { |
28 | 28 |
unset LDFLAGS |
29 |
emake \ |
|
29 |
emake -j1 \ |
|
30 | 30 |
COMMIT=${COMMIT} \ |
31 | 31 |
BRANCH=${BRANCH} \ |
32 |
VERSION=v${MY_PV} \ |
|
33 |
telegraf |
|
32 |
VERSION=v${MY_PV} |
|
34 | 33 |
} |
35 | 34 | |
36 | 35 |
src_install() { |
37 | 36 |
dobin telegraf |
38 |
insinto /etc/telegraf |
|
39 |
doins etc/telegraf.conf |
|
40 |
keepdir /etc/telegraf/telegraf.d |
|
41 | ||
42 | 37 |
insinto /etc/logrotate.d |
43 | 38 |
doins etc/logrotate.d/telegraf |
44 | ||
39 |
keepdir /etc/telegraf |
|
40 |
keepdir /etc/telegraf/telegraf.d |
|
45 | 41 |
systemd_dounit scripts/telegraf.service |
46 | 42 |
newconfd "${FILESDIR}"/telegraf.confd telegraf |
47 | 43 |
newinitd "${FILESDIR}"/telegraf.rc telegraf |
48 | ||
49 |
dodoc -r docs/* |
|
50 | ||
44 |
dodoc -r *.md docs |
|
51 | 45 |
keepdir /var/log/telegraf |
52 | 46 |
fowners telegraf:telegraf /var/log/telegraf |
53 | 47 |
} |