Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2018 13:04:47 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470608 - in head/sysutils/py-google-compute-engine: . files
Message-ID:  <201805221304.w4MD4lwR093444@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue May 22 13:04:47 2018
New Revision: 470608
URL: https://svnweb.freebsd.org/changeset/ports/470608

Log:
  sysutils/py-google-compute-engine: Fixes agent logging to syslog (console)
  
  PR:		228411
  Submitted by:	Helen Koike <helen.koike@collabora.com> (maintainer)

Added:
  head/sysutils/py-google-compute-engine/files/90-google.conf.sample   (contents, props changed)
Modified:
  head/sysutils/py-google-compute-engine/Makefile   (contents, props changed)
  head/sysutils/py-google-compute-engine/pkg-plist   (contents, props changed)

Modified: head/sysutils/py-google-compute-engine/Makefile
==============================================================================
--- head/sysutils/py-google-compute-engine/Makefile	Tue May 22 11:56:27 2018	(r470607)
+++ head/sysutils/py-google-compute-engine/Makefile	Tue May 22 13:04:47 2018	(r470608)
@@ -2,7 +2,7 @@
 
 PORTNAME=	google-compute-engine
 DISTVERSION=	2.7.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -34,7 +34,11 @@ SUB_LIST=	PYTHON_CMD="${PYTHON_CMD}"
 REINPLACE_ARGS=	-i ''
 
 post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d
 	${INSTALL_DATA} ${FILESDIR}/instance_configs.cfg.distro.sample \
 		${STAGEDIR}${PREFIX}/etc/instance_configs.cfg.distro.sample
+	${INSTALL_DATA} ${FILESDIR}/90-google.conf.sample \
+		${STAGEDIR}${PREFIX}/etc/syslog.d/90-google.conf.sample
+
 
 .include <bsd.port.mk>

Added: head/sysutils/py-google-compute-engine/files/90-google.conf.sample
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-google-compute-engine/files/90-google.conf.sample	Tue May 22 13:04:47 2018	(r470608)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# Google Compute Engine default console logging.
+#
+# daemon: logging from Google provided daemons.
+# kern: logging information in case of an unexpected crash during boot.
+#
+daemon,kern.* /dev/console

Modified: head/sysutils/py-google-compute-engine/pkg-plist
==============================================================================
--- head/sysutils/py-google-compute-engine/pkg-plist	Tue May 22 11:56:27 2018	(r470607)
+++ head/sysutils/py-google-compute-engine/pkg-plist	Tue May 22 13:04:47 2018	(r470608)
@@ -1 +1,2 @@
 @sample etc/instance_configs.cfg.distro.sample
+@sample etc/syslog.d/90-google.conf.sample



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