Diff cacti-spine-1.2.20 with a cacti-spine-9999
| /usr/portage/net-analyzer/cacti-spine/cacti-spine-9999.ebuild 2023-10-09 14:52:33.308368446 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2021 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit autotools |
|
| 6 |
inherit autotools git-r3 |
|
| 7 | 7 | |
| 8 | 8 |
MY_P=${PN}-${PV/_p/-}
|
| 9 | 9 | |
| 10 | 10 |
DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)" |
| 11 | 11 |
HOMEPAGE="https://cacti.net/spine_info.php" |
| 12 |
SRC_URI="https://www.cacti.net/downloads/spine/${MY_P}.tar.gz"
|
|
| 12 |
EGIT_REPO_URI="https://github.com/Cacti/spine" |
|
| 13 | 13 | |
| 14 | 14 |
LICENSE="LGPL-2.1" |
| 15 | 15 |
SLOT="0" |
| 16 |
KEYWORDS="amd64 ~hppa ~ppc64 sparc x86" |
|
| 17 | 16 | |
| 18 |
DEPEND="dev-db/mysql-connector-c:= |
|
| 19 |
dev-libs/openssl:= |
|
| 20 |
net-analyzer/net-snmp:=" |
|
| 17 |
BDEPEND="sys-apps/help2man" |
|
| 18 |
DEPEND="dev-libs/openssl:= |
|
| 19 |
net-analyzer/net-snmp:= |
|
| 20 |
dev-db/mysql-connector-c:0=" |
|
| 21 | 21 |
RDEPEND="${DEPEND}
|
| 22 | 22 |
>net-analyzer/cacti-0.8.8" |
| 23 |
BDEPEND="sys-apps/help2man" |
|
| 23 | ||
| 24 |
PATCHES=( |
|
| 25 |
"${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch
|
|
| 26 |
) |
|
| 24 | 27 | |
| 25 | 28 |
src_prepare() {
|
| 26 | 29 |
default |
| ... | ... | |
| 28 | 31 |
eautoreconf |
| 29 | 32 |
} |
| 30 | 33 | |
| 31 |
src_configure() {
|
|
| 32 |
# Drop CONFIG_SHELL after 1.2.x (fix is on develop branch) |
|
| 33 |
CONFIG_SHELL="${BROOT}"/bin/bash econf
|
|
| 34 |
} |
|
| 35 | ||
| 36 | 34 |
src_install() {
|
| 37 | 35 |
dosbin spine |
| 38 | 36 | |