forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-analyzer/cacti-spine: Version 1.2.5
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <[email protected]>
- Loading branch information
Jeroen Roovers
committed
Aug 12, 2019
1 parent
9a44116
commit fb873c5
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST cacti-spine-1.1.38.tar.gz 805437 BLAKE2B 32d934f54e00d83e9807dd194a7cacf8d5526c8e5b84c44ffad201c07edcb117f862266843552299fe04cc780575b9b2dc7129a106a20bd709cb82844ade7812 SHA512 5409a690e89fcc74e1e87e34e1918cab27d1243825955eb8256a92f8e9658f312345c66b338a4a07a0e38c94e3275131cb4e58fb70e7b59837c0e6c47746e45e | ||
DIST cacti-spine-1.2.2.tar.gz 2310298 BLAKE2B 782fb21fda6acf06434c6e996863a235670970b19e5218624723df4736c388c2d9f00c1e3cc623dad7973bcbbe7ae5d4bbe89e366c1f47ce83eac9b416f88cb4 SHA512 ef2f839f7b247439a8576d49e311546cfd2346eea06cfb26b7a05d4757ae28334e6ed6ea00396027dc6c0c6e107121ed38f356ba62d8202003553fea3b5d139e | ||
DIST cacti-spine-1.2.5.tar.gz 105494 BLAKE2B 1bd2f33cee841fb7b05a1a32d3d0d2824c36ccdc69fbf52c48cfe2d7bdbface4c1925261c8643c19addde90346c5ecdee547d8014705dc34800f59eab6ac248c SHA512 5bbf5f68e0d3477d43afee57bc86bfeb61a3ddaa18f7c0e5e0c2413bde6646bcd662d93e4c124daa6eaef5bca5843fb359b733c5189d9f43a34a14fba7f03682 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
inherit autotools | ||
|
||
MY_P=${PN}-${PV/_p/-} | ||
|
||
DESCRIPTION="Spine is a fast poller for Cacti (formerly known as Cactid)" | ||
HOMEPAGE="https://cacti.net/spine_info.php" | ||
SRC_URI="https://www.cacti.net/downloads/spine/${MY_P}.tar.gz" | ||
|
||
LICENSE="LGPL-2.1" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" | ||
|
||
CDEPEND=" | ||
dev-libs/openssl:0= | ||
net-analyzer/net-snmp:= | ||
dev-db/mysql-connector-c:0= | ||
" | ||
DEPEND=" | ||
${CDEPEND} | ||
sys-apps/help2man | ||
" | ||
RDEPEND=" | ||
${CDEPEND} | ||
>net-analyzer/cacti-0.8.8 | ||
" | ||
PATCHES=( | ||
"${FILESDIR}"/${PN}-0.8.8d-ping.patch | ||
"${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch | ||
) | ||
|
||
src_prepare() { | ||
default | ||
|
||
AT_M4DIR="config" eautoreconf | ||
} | ||
|
||
src_install() { | ||
dosbin spine | ||
|
||
insinto /etc/ | ||
insopts -m0640 -o root | ||
newins spine.conf{.dist,} | ||
|
||
doman spine.1 | ||
dodoc CHANGELOG | ||
} |