mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 15:37:40 -04:00
net-mgmt/cacti-spine: Update 1.2.28 => 1.2.29
Along with updating net-mgmt/cacti also net-mgmt/cacti-spine could be
updated.
Changelog:
http://www.cacti.net/info/changelog
Improve port:
- replace PORTVERSION with DISTVERSION,
- remove GNU_CONFIGURE_MANPREFIX,
- pet portclippy - move USES higher,
- sort USES,
- split long lines.
PR: 284586
Approved by: skreuzer (maintainer, timeout > 2 weeks)
MFH: 2025Q1
(cherry picked from commit de22918fce
)
This commit is contained in:
parent
bbb6177b73
commit
979c70bcb3
2 changed files with 12 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
||||||
PORTNAME= spine
|
PORTNAME= spine
|
||||||
PORTVERSION= 1.2.28
|
DISTVERSION= 1.2.29
|
||||||
CATEGORIES= net-mgmt
|
CATEGORIES= net-mgmt
|
||||||
MASTER_SITES= http://www.cacti.net/downloads/${PORTNAME}/
|
MASTER_SITES= http://www.cacti.net/downloads/${PORTNAME}/
|
||||||
DISTNAME= cacti-${PORTNAME}-${PORTVERSION}
|
DISTNAME= cacti-${PORTNAME}-${DISTVERSION}
|
||||||
|
|
||||||
MAINTAINER= skreuzer@FreeBSD.org
|
MAINTAINER= skreuzer@FreeBSD.org
|
||||||
COMMENT= Multithreaded poller for Cacti written in C
|
COMMENT= Multithreaded poller for Cacti written in C
|
||||||
|
@ -15,19 +15,22 @@ BUILD_DEPENDS= help2man:misc/help2man
|
||||||
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \
|
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \
|
||||||
libpkg.so:${PKG_ORIGIN}
|
libpkg.so:${PKG_ORIGIN}
|
||||||
|
|
||||||
|
USES= autoreconf libtool mysql ssl
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
||||||
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}
|
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}
|
||||||
CPPFLAGS+= `net-snmp-config --cflags`
|
CPPFLAGS+= `net-snmp-config --cflags`
|
||||||
LDFLAGS+= `net-snmp-config --libs` -lexecinfo
|
LDFLAGS+= `net-snmp-config --libs` -lexecinfo
|
||||||
USES= libtool mysql ssl autoreconf
|
|
||||||
|
|
||||||
CONFLICTS_INSTALL= cacti88
|
CONFLICTS_INSTALL= cacti88
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h
|
@${REINPLACE_CMD} \
|
||||||
|
's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' \
|
||||||
|
${WRKSRC}/spine.h
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MV} ${STAGEDIR}${PREFIX}/etc/spine.conf.dist ${STAGEDIR}${PREFIX}/etc/spine.conf.sample
|
${MV} ${STAGEDIR}${PREFIX}/etc/spine.conf.dist \
|
||||||
|
${STAGEDIR}${PREFIX}/etc/spine.conf.sample
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1730074270
|
TIMESTAMP = 1739270587
|
||||||
SHA256 (cacti-spine-1.2.28.tar.gz) = fd37bc5789dced477aa6049eb0663a1e6a93524f52ee91dc04b0de6c53e20afc
|
SHA256 (cacti-spine-1.2.29.tar.gz) = 89d4578b48e17eda3dae528e9ed208d286eddf8d40db993d92107154da043d32
|
||||||
SIZE (cacti-spine-1.2.28.tar.gz) = 123133
|
SIZE (cacti-spine-1.2.29.tar.gz) = 123138
|
||||||
|
|
Loading…
Add table
Reference in a new issue