Index: branches/2019Q1/net-mgmt/netdata/Makefile =================================================================== --- branches/2019Q1/net-mgmt/netdata/Makefile (revision 489232) +++ branches/2019Q1/net-mgmt/netdata/Makefile (revision 489233) @@ -1,76 +1,76 @@ # Created by: Mahdi Mokhtari # $FreeBSD$ PORTNAME= netdata PORTVERSION= 1.11.1 DISTVERSIONPREFIX=v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MAINTAINER= mmokhi@FreeBSD.org COMMENT= Scalable distributed realtime performance and health monitoring LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/include/uuid/uuid.h:misc/e2fsprogs-libuuid LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= bash:shells/bash \ curl:ftp/curl USES= autoreconf pathfix pkgconfig:both python shebangfix USE_GITHUB= yes GH_ACCOUNT= firehol NETDATA_CACHE= /var/cache/${PORTNAME} NETDATA_LOG= /var/log/${PORTNAME} NETDATA_PERST= /var/db/${PORTNAME} USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -D_WANT_VMMETER -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SUB_LIST= NETDATA_CACHE=${NETDATA_CACHE} \ NETDATA_LOG=${NETDATA_LOG} \ NETDATA_PERST=${NETDATA_PERST} PLIST_SUB= NETDATA_CACHE=${NETDATA_CACHE} \ NETDATA_LOG=${NETDATA_LOG} \ NETDATA_PERST=${NETDATA_PERST} USE_RC_SUBR= ${PORTNAME} SUB_FILES= ${PORTNAME}.conf.sample USERS= netdata GROUPS= netdata OPTIONS_DEFINE= FREEIPMI OPTIONS_SUB= YES FREEIPMI_DESC= Enable support for freeipmi FREEIPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi post-patch: @${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \ ${PATCH_WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|%%NETDATA_LOG%%|${NETDATA_LOG}|g' \ ${PATCH_WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|%%NETDATA_PERST%%|${NETDATA_PERST}|g' \ ${PATCH_WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \ ${PATCH_WRKSRC}/configure.ac post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/netdata.conf.sample ${STAGEDIR}${ETCDIR}/netdata.conf.sample ${MKDIR} ${STAGEDIR}${NETDATA_CACHE} ${MKDIR} ${STAGEDIR}${NETDATA_LOG} ${MKDIR} ${STAGEDIR}${NETDATA_PERST} (for file in ${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*.conf \ ${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*/*.conf; do \ ${MV} $$file $$file".sample"; \ done) .include Index: branches/2019Q1/net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 =================================================================== --- branches/2019Q1/net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 (nonexistent) +++ branches/2019Q1/net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 (revision 489233) @@ -0,0 +1,25 @@ +--- build/m4/ax_c___atomic.m4.orig 2018-12-26 13:22:11 UTC ++++ build/m4/ax_c___atomic.m4 +@@ -6,7 +6,12 @@ AC_DEFUN([AC_C___ATOMIC], + [AC_CACHE_CHECK([for __atomic], ac_cv_c___atomic, + [AC_LINK_IFELSE( + [AC_LANG_SOURCE( +- [[int ++ [[typedef struct test { ++ volatile uint16_t a; ++ volatile uint64_t b; ++ volatile uint64_t c; ++ } test_t; ++ int + main (int argc, char **argv) + { + volatile unsigned long ul1 = 1, ul2 = 0, ul3 = 2; +@@ -23,6 +28,8 @@ AC_DEFUN([AC_C___ATOMIC], + __atomic_fetch_sub(&ull3, 1, __ATOMIC_SEQ_CST); + __atomic_or_fetch(&ull1, ull2, __ATOMIC_SEQ_CST); + __atomic_and_fetch(&ull1, ull2, __ATOMIC_SEQ_CST); ++ volatile test_t test = {.a = 0, .b = 0, .c = 1}; ++ __atomic_fetch_add(&test.b, 1, __ATOMIC_SEQ_CST); + return 0; + } + ]])], Property changes on: branches/2019Q1/net-mgmt/netdata/files/patch-build_m4_ax__c______atomic.m4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q1 =================================================================== --- branches/2019Q1 (revision 489232) +++ branches/2019Q1 (revision 489233) Property changes on: branches/2019Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r489079