Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2017 00:41:39 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436368 - head/sysutils/rsyslog8
Message-ID:  <201703180041.v2I0fdHZ026411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Sat Mar 18 00:41:39 2017
New Revision: 436368
URL: https://svnweb.freebsd.org/changeset/ports/436368

Log:
  Add ELASTIC option to allow elastic search as an output destination. (1)
  
  Add dependency on libcurl.so when ELASTIC selected, missing from
  original submission
  
  Switch from implicit USE_MYSQL=yes to uses= mysql
  
  PR:		217876
  Submitted by:	rum1cro@yandex.ru

Modified:
  head/sysutils/rsyslog8/Makefile

Modified: head/sysutils/rsyslog8/Makefile
==============================================================================
--- head/sysutils/rsyslog8/Makefile	Sat Mar 18 00:31:07 2017	(r436367)
+++ head/sysutils/rsyslog8/Makefile	Sat Mar 18 00:41:39 2017	(r436368)
@@ -2,6 +2,7 @@
 
 PORTNAME=	rsyslog
 PORTVERSION=	8.25.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.rsyslog.com/files/download/rsyslog/
 
@@ -16,19 +17,19 @@ LIB_DEPENDS=	libee.so:devel/libee \
 		libfastjson.so:devel/libfastjson \
 		liblogging-stdlog.so:devel/liblogging \
 		libuuid.so:misc/e2fsprogs-libuuid
-
 BUILD_DEPENDS=	rst2man:textproc/py-docutils
 
 PORTSCOUT=	limit:^8\.
 
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	DBI DOCS GCRYPT GNUTLS GSSAPI MYSQL PGSQL RELP \
+OPTIONS_DEFINE=	DBI DOCS ELASTIC GCRYPT GNUTLS GSSAPI MYSQL PGSQL RELP \
 		SNMP NORMALIZE
 OPTIONS_DEFAULT=GCRYPT
 OPTIONS_SUB=	yes
 
 DBI_DESC=	LibDBI output module for rsyslog
+ELASTIC_DESC=	Elasticsearch module for rsyslog
 GCRYPT_DESC=	Enable support for encrypted logfiles
 GNUTLS_DESC=	GNUTLS module for rsyslog
 GSSAPI_DESC=	GSS API input/output module for rsyslog
@@ -44,6 +45,10 @@ DBI_LIB_DEPENDS=	libdbi.so:databases/lib
 DBI_CONFIGURE_ENABLE=	libdbi
 DBI_PLIST_FILES=	lib/rsyslog/omlibdbi.so
 
+ELASTIC_CONFIGURE_ENABLE=	elasticsearch
+ELASTIC_LIB_DEPENDS=	libcurl.so:ftp/curl
+ELASTIC_PLIST_FILES=	lib/rsyslog/omelasticsearch.so
+
 GCRYPT_CONFIGURE_ENABLE=libgcrypt
 GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 			libgpg-error.so:security/libgpg-error
@@ -59,7 +64,7 @@ GSSAPI_PLIST_FILES=	lib/rsyslog/imgssapi
 			lib/rsyslog/lmgssutil.so \
 			lib/rsyslog/omgssapi.so
 
-MYSQL_USE=		MYSQL=yes
+MYSQL_USES=		mysql
 MYSQL_CONFIGURE_ENABLE=	mysql
 MYSQL_PLIST_FILES=	lib/rsyslog/ommysql.so
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703180041.v2I0fdHZ026411>