summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/py-google-compute-engine/Makefile6
-rw-r--r--sysutils/py-google-compute-engine/files/90-google.conf.sample7
-rw-r--r--sysutils/py-google-compute-engine/pkg-plist1
3 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/py-google-compute-engine/Makefile b/sysutils/py-google-compute-engine/Makefile
index 9f41130263fd..1c1b4d218765 100644
--- a/sysutils/py-google-compute-engine/Makefile
+++ b/sysutils/py-google-compute-engine/Makefile
@@ -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>
diff --git a/sysutils/py-google-compute-engine/files/90-google.conf.sample b/sysutils/py-google-compute-engine/files/90-google.conf.sample
new file mode 100644
index 000000000000..97f52ff3edca
--- /dev/null
+++ b/sysutils/py-google-compute-engine/files/90-google.conf.sample
@@ -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
diff --git a/sysutils/py-google-compute-engine/pkg-plist b/sysutils/py-google-compute-engine/pkg-plist
index 5ca34a24cbd9..3c25a00cd2a6 100644
--- a/sysutils/py-google-compute-engine/pkg-plist
+++ b/sysutils/py-google-compute-engine/pkg-plist
@@ -1 +1,2 @@
@sample etc/instance_configs.cfg.distro.sample
+@sample etc/syslog.d/90-google.conf.sample