svn commit: r402335 - head/devel/ada-util

John Marino marino at FreeBSD.org
Mon Nov 23 22:30:11 UTC 2015


Author: marino
Date: Mon Nov 23 22:30:10 2015
New Revision: 402335
URL: https://svnweb.freebsd.org/changeset/ports/402335

Log:
  devel/ada-util: Quiet down hardcoded loggers
  
  Loggers are hardcoded for several packages at the INFO level which is
  quite useless for things like spawning commands.  It is too chatty!
  Set the loggers to filter out everything up less than ERROR messages.

Modified:
  head/devel/ada-util/Makefile

Modified: head/devel/ada-util/Makefile
==============================================================================
--- head/devel/ada-util/Makefile	Mon Nov 23 21:56:14 2015	(r402334)
+++ head/devel/ada-util/Makefile	Mon Nov 23 22:30:10 2015	(r402335)
@@ -3,6 +3,7 @@
 
 PORTNAME=	ada-util
 PORTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	marino at FreeBSD.org
@@ -37,6 +38,20 @@ post-patch:
 	@${REINPLACE_CMD} -e '/Content_Type/d' \
 		${WRKSRC}/src/http/util-http-rest.adb
 
+	# Loggers are hardcoded for several packages at the INFO level
+	# which is quite useless for things like spawning commands.
+	# Set the loggers to filter out everything up less than ERROR
+
+	@${REINPLACE_CMD} -e '/Loggers.Create/s|);|, Util.Log.ERROR_LEVEL);|'\
+		${WRKSRC}/src/http/aws/util-http-clients-web.adb \
+		${WRKSRC}/src/http/curl/util-http-clients-curl.adb \
+		${WRKSRC}/src/http/util-http-clients.adb \
+		${WRKSRC}/src/http/util-http-parts.adb \
+		${WRKSRC}/src/util-beans-factory.adb \
+		${WRKSRC}/src/util-processes.adb \
+		${WRKSRC}/src/util-properties-bundles.adb \
+		${WRKSRC}/src/xml/util-serialize-io-xml.adb
+
 post-install:
 	${RM} -r ${STAGEDIR}${PREFIX}/lib/gnat/manifests
 


More information about the svn-ports-all mailing list