mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
- Upgrade to ganglia 3.0.4 [1]
- Fix support for large memory systems (hw.physmem is a u_long not a long) [2] - Make portlint happier [3] PR: ports/115362 [1], some of [3] Submitted by: Michael Fuckner <michael at fuckner dot net> [1], some of [3] Clement Laforet <clement at FreeBSD dot org> [2]
This commit is contained in:
parent
12169db351
commit
d9d25c1251
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198229
3 changed files with 21 additions and 8 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= monitor-core
|
||||
PORTVERSION= 3.0.3
|
||||
PORTVERSION= 3.0.4
|
||||
CATEGORIES= sysutils net parallel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ganglia
|
||||
|
@ -33,7 +33,7 @@ SUB_FILES= pkg-install
|
|||
|
||||
.if defined (GMETAD_CONF)
|
||||
.if !exists (${GMETAD_CONF})
|
||||
IGNORE= "GMETAD_CONF must point to an existing file when defined"
|
||||
IGNORE= GMETAD_CONF must point to an existing file when defined
|
||||
.endif
|
||||
.else
|
||||
GMETAD_CONF= ${WRKSRC}/gmetad/gmetad.conf
|
||||
|
@ -41,7 +41,7 @@ GMETAD_CONF= ${WRKSRC}/gmetad/gmetad.conf
|
|||
|
||||
.if defined (GMOND_CONF)
|
||||
.if !exists (${GMOND_CONF})
|
||||
IGNORE= "GMOND_CONF must point to an existing file when defined"
|
||||
IGNORE= GMOND_CONF must point to an existing file when defined
|
||||
.endif
|
||||
.else
|
||||
GMOND_CONF= ${WRKDIR}/gmond.conf
|
||||
|
@ -61,7 +61,6 @@ USE_RC_SUBR+= gmetad.sh
|
|||
USE_RC_SUBR= ganglia.sh
|
||||
.endif
|
||||
|
||||
|
||||
.if defined (WITH_GMETAD)
|
||||
LIB_DEPENDS= rrd.2:${PORTSDIR}/databases/rrdtool
|
||||
CONFIGURE_ARGS+= --with-gmetad
|
||||
|
@ -73,7 +72,7 @@ SUB_LIST+= GMETAD="\#"
|
|||
.endif
|
||||
|
||||
.if defined (WITH_LIBGANGLIA)
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LDCONFIG= yes
|
||||
PLIST_SUB+= LIBGANGLIA=
|
||||
.else
|
||||
PLIST_SUB+= LIBGANGLIA="@comment "
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (ganglia-3.0.3.tar.gz) = c48320a112db20e8372ae8e89d97583e
|
||||
SHA256 (ganglia-3.0.3.tar.gz) = 02e6272aa5f614a5ea3336c8cc4e1cdcd794893114d08dda39188c010154deab
|
||||
SIZE (ganglia-3.0.3.tar.gz) = 2824785
|
||||
MD5 (ganglia-3.0.4.tar.gz) = 9a51023accb59b6ba76c10d7cb7322fa
|
||||
SHA256 (ganglia-3.0.4.tar.gz) = a63c802392d211e8c4beabb9eb175292d72b650a6192bbc332feebd9bb5f3ec4
|
||||
SIZE (ganglia-3.0.4.tar.gz) = 2842708
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- libmetrics/freebsd/metrics.c.orig
|
||||
+++ libmetrics/freebsd/metrics.c
|
||||
@@ -211,7 +211,7 @@
|
||||
{
|
||||
g_val_t val;
|
||||
size_t len;
|
||||
- long total;
|
||||
+ u_long total;
|
||||
|
||||
len = sizeof(total);
|
||||
|
Loading…
Add table
Reference in a new issue