commit google-compute-engine for openSUSE:Factory

2020-05-05 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2020-05-05 19:08:19

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.2738 (New)


Package is "google-compute-engine"

Tue May  5 19:08:19 2020 rev:20 rq:800427 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2020-04-16 23:01:30.959594318 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.2738/google-compute-engine.changes
2020-05-05 19:08:45.107104883 +0200
@@ -1,0 +2,7 @@
+Tue Apr 28 15:25:22 UTC 2020 - Robert Schweikert 
+
+- Add gceosl-no-def-sysgrps.patch (bsc#1170719, bsc#1170720)
+  + Do not add the created user to the adm, docker, or lxd groups
+if they exist
+
+---

New:

  gceosl-no-def-sysgrps.patch



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.smVJCK/_old  2020-05-05 19:08:46.939108679 +0200
+++ /var/tmp/diff_new_pack.smVJCK/_new  2020-05-05 19:08:46.939108679 +0200
@@ -40,6 +40,7 @@
 Patch6: gcei_disableipv6.patch
 # see: https://github.com/GoogleCloudPlatform/compute-image-packages/issues/862
 Patch7: gcei-waitlimit-dns.patch
+Patch8: gceosl-no-def-sysgrps.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -106,6 +107,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7
+%patch8
 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
 cp %{SOURCE9} google-optimize-local-ssd.service
 cp %{SOURCE10} google-set-multiqueue.service

++ gceosl-no-def-sysgrps.patch ++
--- packages/google-compute-engine-oslogin/google_oslogin_control.orig
+++ packages/google-compute-engine-oslogin/google_oslogin_control
@@ -265,7 +265,7 @@ modify_group_conf() {
   fi
 
   local group_config="${1:-${group_config}}"
-  local 
group_conf_entry="sshd;*;*;Al-2400;adm,dip,docker,lxd,plugdev,video"
+  local group_conf_entry="sshd;*;*;Al-2400;dip,plugdev,video"
 
   if ! grep -q "$group_conf_entry" "$group_config"; then
 $sed -i"" "\$a ${added_comment}\n${group_conf_entry}" "$group_config"



commit google-compute-engine for openSUSE:Factory

2020-04-16 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2020-04-16 23:01:04

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.2738 (New)


Package is "google-compute-engine"

Thu Apr 16 23:01:04 2020 rev:19 rq:794242 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2019-10-30 14:47:32.866165008 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.2738/google-compute-engine.changes
2020-04-16 23:01:30.959594318 +0200
@@ -1,0 +2,10 @@
+Wed Apr  8 15:45:59 UTC 2020 - Robert Schweikert 
+
+- Rename the sysctl file that applies the GCE network settings (bsc#1167810)
+  + The file 11-gce-network-security.conf applies network configuration
+settings. Specifically the value for net.ipv4.conf.all.rp_filter is also
+part of the system defaults in /usr/lib/sysctl.d/50-default.conf and thus
+the default setting was applied, instead of the desired setting. As
+50-default is processed after 11-gce-network-security.
+
+---



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.9zvpIQ/_old  2020-04-16 23:01:31.775594932 +0200
+++ /var/tmp/diff_new_pack.9zvpIQ/_new  2020-04-16 23:01:31.775594932 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package google-compute-engine
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 Summary:GCE Instance Initialization
 License:Apache-2.0
 Group:  System/Daemons
-Url:https://github.com/GoogleCloudPlatform/compute-image-packages
+URL:https://github.com/GoogleCloudPlatform/compute-image-packages
 Source0:compute-image-packages-%{version}.tar.gz
 Source7:google-compute-engine-rpmlintrc
 Source8:baselibs.conf
@@ -145,7 +145,7 @@
 for srv_name in %{buildroot}%{_unitdir}/*.service; do rc_name=$(basename -s 
'.service' $srv_name); ln -s service %{buildroot}%{_sbindir}/rc$rc_name; done
 # Sysconfig
 mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d
-cp google-compute-engine/src/etc/sysctl.d/11-gce-network-security.conf 
%{buildroot}%{_sysconfdir}/sysctl.d
+cp google-compute-engine/src/etc/sysctl.d/11-gce-network-security.conf 
%{buildroot}%{_sysconfdir}/sysctl.d/52-gce-network-security.conf
 # udev
 mkdir -p %{buildroot}/usr/lib/udev/rules.d
 cp google-compute-engine/src/lib/udev/rules.d/* 
%{buildroot}/usr/lib/udev/rules.d




commit google-compute-engine for openSUSE:Factory

2020-05-29 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2020-05-29 21:18:15

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.3606 (New)


Package is "google-compute-engine"

Fri May 29 21:18:15 2020 rev:21 rq:810012 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2020-05-05 19:08:45.107104883 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.3606/google-compute-engine.changes
2020-05-29 21:29:22.289220070 +0200
@@ -5 +5,2 @@
-  + Do not add the created user to the adm, docker, or lxd groups
+  + Do not add the created user to the adm (CVE-2020-8903),
+docker (CVE-2020-8907), or lxd (CVE-2020-8933) groups



Other differences:
--



commit google-compute-engine for openSUSE:Factory

2018-04-17 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2018-04-17 11:17:52

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Tue Apr 17 11:17:52 2018 rev:7 rq:597081 version:20180227

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2018-02-02 22:23:35.342215149 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2018-04-17 11:17:54.969290078 +0200
@@ -1,0 +2,14 @@
+Mon Apr 16 12:56:50 UTC 2018 - adrian.glaub...@suse.com
+
+- Update to version 20180227 (bsc#1066273)
+  + Add distro specific logic.
+  + Support SLES 11 and 12 in multi-nic setup.
+  + Fix boto config documentation.
+  + Add modprobe blacklist for nouveau and floppy modules.
+  + Fix irqbalance conflict in Debian package.
+  + Fix conflict with other applications that use curl and SSL.
+- Install new kernel module blacklist into /etc/modprobe.d.
+- Refresh patches for new version:
+  + gcei-hide-py-deps.patch
+
+---

Old:

  compute-image-packages-20180129.tar.gz

New:

  compute-image-packages-20180227.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.kiNwE6/_old  2018-04-17 11:17:55.701255765 +0200
+++ /var/tmp/diff_new_pack.kiNwE6/_new  2018-04-17 11:17:55.701255765 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.7.5
+%define setup_version 2.7.6
 
 Name:   google-compute-engine
-Version:20180129
+Version:20180227
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0
@@ -153,6 +153,9 @@
 pushd google_compute_engine_oslogin
 make install DESTDIR=%{buildroot} NSS_INSTALL_PATH=%{_lib} 
PAM_INSTALL_PATH=%{_lib}/security
 popd
+# kernel module blacklist
+mkdir -p %{buildroot}/%{_sysconfdir}/modprobe.d
+cp google_config/modprobe/gce-blacklist.conf 
%{buildroot}/%{_sysconfdir}/modprobe.d/
 
 %pre
 %if 0%{?suse_version} > 1140
@@ -238,7 +241,9 @@
 /usr/lib/udev/rules.d/*
 %endif
 %dir %{_sysconfdir}/rsyslog.d
+%dir %{_sysconfdir}/modprobe.d
 %config %{_sysconfdir}/rsyslog.d/*
+%config %{_sysconfdir}/modprobe.d/gce-blacklist.conf
 
 %files oslogin
 %defattr(0644,root,root,0755)

++ compute-image-packages-20180129.tar.gz -> 
compute-image-packages-20180227.tar.gz ++
 1713 lines of diff (skipped)

++ gcei-hide-py-deps.patch ++
--- /var/tmp/diff_new_pack.kiNwE6/_old  2018-04-17 11:17:55.865248078 +0200
+++ /var/tmp/diff_new_pack.kiNwE6/_new  2018-04-17 11:17:55.869247890 +0200
@@ -1,11 +1,11 @@
 setup.py.orig
-+++ setup.py
-@@ -25,7 +25,7 @@ setuptools.setup(
+--- setup.py.orig  2018-02-27 23:53:04.0 +0100
 setup.py   2018-04-16 13:37:45.384716199 +0200
+@@ -29,7 +29,7 @@
  author_email='gc-t...@google.com',
  description='Google Compute Engine',
  include_package_data=True,
--install_requires=['boto', 'setuptools'],
-+#install_requires=['boto', 'setuptools'],
+-install_requires=install_requires,
++#install_requires=install_requires,
  license='Apache Software License',
  long_description='Google Compute Engine guest environment.',
  name='google-compute-engine',




commit google-compute-engine for openSUSE:Factory

2018-02-02 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2018-02-02 22:23:20

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Fri Feb  2 22:23:20 2018 rev:6 rq:572025 version:20180129

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2017-12-08 12:59:53.800249085 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2018-02-02 22:23:35.342215149 +0100
@@ -1,0 +2,11 @@
+Fri Feb  2 13:21:52 UTC 2018 - adrian.glaub...@suse.com
+
+- Update to version 20180129 (bsc#1078349, bsc#1079077)
+  + Improve rsyslog daemon reset when using the dhcp exit hook.
+  + The OS Login feature is generally available.
+  + Change the OS Login uid restriction to allow uid 1000.
+  + Close socket connections after requesting metadata.
+- From version 20171213
+  + Force IPv4 for Debian apt configs.
+
+---

Old:

  compute-image-packages-20171129.tar.gz

New:

  compute-image-packages-20180129.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.Qi4l9a/_old  2018-02-02 22:23:36.366167351 +0100
+++ /var/tmp/diff_new_pack.Qi4l9a/_new  2018-02-02 22:23:36.370167164 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package google-compute-engine
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.7.2
+%define setup_version 2.7.5
 
 Name:   google-compute-engine
-Version:20171129
+Version:20180129
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0

++ compute-image-packages-20171129.tar.gz -> 
compute-image-packages-20180129.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/compute-image-packages-20171129/LICENSE 
new/compute-image-packages-20180129/LICENSE
--- old/compute-image-packages-20171129/LICENSE 2017-11-29 20:17:58.0 
+0100
+++ new/compute-image-packages-20180129/LICENSE 2018-01-30 02:41:05.0 
+0100
@@ -186,7 +186,7 @@
   same "printed page" as the copyright notice for easier
   identification within third-party archives.
 
-   Copyright 2013 Google Inc.
+   Copyright [] [name of copyright owner]
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/compute-image-packages-20171129/debian/changelog 
new/compute-image-packages-20180129/debian/changelog
--- old/compute-image-packages-20171129/debian/changelog2017-11-29 
20:17:58.0 +0100
+++ new/compute-image-packages-20180129/debian/changelog2018-01-30 
02:41:05.0 +0100
@@ -1,3 +1,27 @@
+google-compute-image-packages (2.7.5-1) stable; urgency=low
+
+  * Revert hostname setting change in Debian.
+
+ -- Google Cloud Team   Mon, 29 Jan 2018 12:00:00 -0700
+
+google-compute-image-packages (2.7.4-1) stable; urgency=low
+
+  * Fix hostname setting in Debian.
+
+ -- Google Cloud Team   Mon, 29 Jan 2018 12:00:00 -0700
+
+google-compute-image-packages (2.7.3-1) stable; urgency=low
+
+  * Improve hostname setting and correctly restart rsyslog.
+
+ -- Google Cloud Team   Thu, 25 Jan 2018 12:00:00 -0700
+
+google-compute-image-packages (2.7.2-2) stable; urgency=low
+
+  * Force IPv4 for apt.
+
+ -- Google Cloud Team   Wed, 13 Dec 2017 12:00:00 -0700
+
 google-compute-image-packages (2.7.2-1) stable; urgency=low
 
   * Generate SSH host keys when none are present.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/compute-image-packages-20171129/debian/control 
new/compute-image-packages-20180129/debian/control
--- old/compute-image-packages-20171129/debian/control  2017-11-29 
20:17:58.0 +0100
+++ new/compute-image-packages-20180129/debian/control  2018-01-30 
02:41:05.0 +0100
@@ -28,6 +28,7 @@
  python-google-compute-engine (= ${source:Version}),
  python3-google-compute-engine (= ${source:Version}),
  chrony | ntp | time-daemon | systemd,
+ rsyslog,
  systemd
 Recommends: google-cloud-sdk
 Conflicts: google-compute-engine-jessie,
diff -urN '--exclud

commit google-compute-engine for openSUSE:Factory

2017-10-27 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2017-10-27 14:01:32

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Fri Oct 27 14:01:32 2017 rev:3 rq:536929 version:20171025

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2017-09-20 17:13:04.478314604 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2017-10-27 14:01:53.174713457 +0200
@@ -1,0 +2,22 @@
+Thu Oct 26 16:38:09 UTC 2017 - adrian.glaub...@suse.com
+
+- Update to version 20171025 (bsc#1064356, bsc#1065308)  
+  + Add apt configuration to prevent auto-removal of Google packages.
+  + Rename set_hostname to prevent naming conflicts.
+  + Remove logging when checking OS Login status.
+- From version 20171019
+  + Support the enable-oslogin metadata key for activating OS Login.
+  + Improve packaging to restart services.  
+  + OS Login is available in Beta.
+  + Add status option to the OS Login control file.
+- From version 20171006
+  + Fix system hang during VM shutdown.
+  + JSON parser accepts string types for int64 values.
+- From version 20170921
+  + JSON parser casts uid and gid to unsigned integers.
+- From version 20170914
+  + Remove fstab barrier options in EL 7.  
+  + Use curl to download metadata script files for SSL certificate validation.
+  + Use netifaces for retrieving MAC address names if the import exists.
+
+---

Old:

  compute-image-packages-20170829.tar.gz

New:

  compute-image-packages-20171025.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.02xw0U/_old  2017-10-27 14:01:54.510651006 +0200
+++ /var/tmp/diff_new_pack.02xw0U/_new  2017-10-27 14:01:54.518650633 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.6.0
+%define setup_version 2.7.1
 
 Name:   google-compute-engine
-Version:20170829
+Version:20171025
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0

++ compute-image-packages-20170829.tar.gz -> 
compute-image-packages-20171025.tar.gz ++
 1858 lines of diff (skipped)




commit google-compute-engine for openSUSE:Factory

2017-11-12 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2017-11-12 18:02:39

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Sun Nov 12 18:02:39 2017 rev:4 rq:540502 version:20171025

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2017-10-27 14:01:53.174713457 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2017-11-12 18:02:39.236146760 +0100
@@ -1,0 +2,13 @@
+Fri Nov  3 13:21:17 UTC 2017 - rjsch...@suse.com
+
+- Change dependencies -init depends on -oslogin
+  + oslogin feature is now enabled by the initialization code
+when appropriate
+- Do not start the oslogin feature upon package install
+
+---
+Fri Oct 27 17:27:16 UTC 2017 - rjsch...@suse.com
+
+- Fix build for SLES 11
+
+---



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.MeBh0L/_old  2017-11-12 18:02:39.780126945 +0100
+++ /var/tmp/diff_new_pack.MeBh0L/_new  2017-11-12 18:02:39.780126945 +0100
@@ -44,6 +44,7 @@
 %package init
 Summary:GCE Instance Initialization
 Group:  System/Daemons
+Requires:   google-compute-engine-oslogin == %{version}
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 Requires:   python3-setuptools
 %else
@@ -81,7 +82,7 @@
 %package oslogin
 Summary:OS Login Functionality for Google Compute Engine
 Group:  Hardware
-Requires:   google-compute-engine-init == %{version}
+
 Requires:   pam
 Requires(post): openssh
 Requires(post): glibc
@@ -171,9 +172,6 @@
 
 %post oslogin
 /sbin/ldconfig
-if [ ! -e /.buildenv ]; then
-   /usr/bin/google_oslogin_control activate
-fi   
 
 %preun
 %if 0%{?suse_version} > 1140
@@ -184,11 +182,6 @@
 %stop_on_removal google-ip-forwarding-daemon
 %endif
 
-%preun oslogin
-if [ ! -e /.buildenv ]; then
-   /usr/bin/google_oslogin_control deactivate
-fi
-
 %postun
 %restart_on_update
 %if 0%{?suse_version} > 1140
@@ -252,6 +245,8 @@
 %attr(0755,root,root) %{_bindir}/google_oslogin_control
 %attr(0755,root,root) %{_bindir}/google_authorized_keys
 /%{_lib}/*
+%if 0%{?suse_version} > 1140
 %exclude /%{_lib}/udev*
+%endif
 
 %changelog




commit google-compute-engine for openSUSE:Factory

2018-05-16 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2018-05-16 11:42:34

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Wed May 16 11:42:34 2018 rev:8 rq:607658 version:20180510

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2018-04-17 11:17:54.969290078 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2018-05-16 11:44:04.274888116 +0200
@@ -1,0 +2,29 @@
+Fri May 11 18:33:09 UTC 2018 - adrian.glaub...@suse.com
+
+- Update to version 20180510 (bsc#1092214)
+  + Prevent delay in configuring IP forwarding routes.
+  + Improve instance setup support for FreeBSD.
+- Include new google-network-daemon
+  + Add google-network-daemon.service activation in
+%pre and %post sections
+  + Add google-network-daemon.suse init script for SysV
+- Stop shipping deprecated google-ip-forwarding-daemon service
+  + Remove google-ip-forwarding-daemon.service activation in
+%pre and %post sections
+  + Drop google-ip-forwarding-daemon.suse from source distribution
+- Add missing association with "init" package for  %pre, %post,
+  %preun and %postun sections
+- Install google_oslogin_nss_cache binary into oslogin package
+
+---
+Tue May  8 10:32:06 UTC 2018 - adrian.glaub...@suse.com
+
+- Update to version 20180504 (bsc#1092214)
+  + Create a new network daemon.
+  + Refactor the IP forwarding daemon and network setup.
+  + Improvements for using NSS cache in the accounts daemon.
+  + Include libnss cache as part of the OS Login package.
+- Refresh patches for new version:
+  + gcei-scripts-after-reg.patch
+
+---

Old:

  compute-image-packages-20180227.tar.gz
  google-ip-forwarding-daemon.suse

New:

  compute-image-packages-20180510.tar.gz
  google-network-daemon.suse



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.Bb5b97/_old  2018-05-16 11:44:05.078858851 +0200
+++ /var/tmp/diff_new_pack.Bb5b97/_new  2018-05-16 11:44:05.078858851 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.7.6
+%define setup_version 2.8.2
 
 Name:   google-compute-engine
-Version:20180227
+Version:20180510
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0
@@ -29,7 +29,7 @@
 Source1:google-accounts-daemon.suse
 Source2:google-clock-skew-daemon.suse
 Source3:google-instance-setup.suse
-Source4:google-ip-forwarding-daemon.suse
+Source4:google-network-daemon.suse
 Source5:google-shutdown-scripts.suse
 Source6:google-startup-scripts.suse
 Source7:google-compute-engine-rpmlintrc
@@ -130,7 +130,7 @@
 cp %{SOURCE1} %{buildroot}%{_initddir}/google-accounts-daemon
 cp %{SOURCE2} %{buildroot}%{_initddir}/google-clock-skew-daemon
 cp %{SOURCE3} %{buildroot}%{_initddir}/google-instance-setup
-cp %{SOURCE4} %{buildroot}%{_initddir}/google-ip-forwarding-daemon
+cp %{SOURCE4} %{buildroot}%{_initddir}/google-network-daemon
 cp %{SOURCE5} %{buildroot}%{_initddir}/google-shutdown-scripts
 cp %{SOURCE6} %{buildroot}%{_initddir}/google-startup-scripts
 for srv_name in %{buildroot}%{_initddir}/*; do rc_name=$(basename $srv_name); 
ln -s %{_initddir}/$rc_name %{buildroot}%{_sbindir}/rc$rc_name; done
@@ -157,18 +157,19 @@
 mkdir -p %{buildroot}/%{_sysconfdir}/modprobe.d
 cp google_config/modprobe/gce-blacklist.conf 
%{buildroot}/%{_sysconfdir}/modprobe.d/
 
-%pre
+%pre init
 %if 0%{?suse_version} > 1140
-%service_add_pre google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-ip-forwarding-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
+%service_add_pre google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
 %endif
 
-%post
+%post init
 %if 0%{?suse_version} > 1140
-%service_add_post google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-ip-forwarding-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
+%service_add_post google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
 %else
 %fillup_and_i

commit google-compute-engine for openSUSE:Factory

2018-06-20 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2018-06-20 15:30:34

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Wed Jun 20 15:30:34 2018 rev:9 rq:617562 version:20180510

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2018-05-16 11:44:04.274888116 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2018-06-20 15:31:46.449168030 +0200
@@ -1,0 +2,29 @@
+Mon Jun 18 17:32:17 UTC 2018 - adrian.glaub...@suse.com
+
+- Ensure that google-ip-forwarding-daemon service and
+  google-network-setup are stopped and disabled
+  during upgrade
+- Ensure that google-network-daemon service is enabled
+  and started during upgrade
+
+---
+Thu Jun 14 10:31:14 UTC 2018 - adrian.glaub...@suse.com
+
+- Add patch to set run_dir to /var/run (bsc#1097378, #1097616)
+  + gcei-set-run_dir.patch
+- Drop deleted patch from spec file
+  + gcei-lnx-distro-py3.patch
+
+---
+Tue May 29 19:21:31 UTC 2018 - rjsch...@suse.com
+
+- Remove gcei-lnx-distro-py3.patch
+  + Upstream intention is to depend on distro module from GitHub
+- Add dependency on python3-distro for SLE/Leap 15 and later
+
+---
+Mon May 21 16:24:22 UTC 2018 - rjsch...@suse.com
+
+- Add patch gcei-lnx-distro-py3.patch (bsc#1094074)
+
+---

New:

  gcei-set-run_dir.patch



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.AhlG1q/_old  2018-06-20 15:31:49.081072539 +0200
+++ /var/tmp/diff_new_pack.AhlG1q/_new  2018-06-20 15:31:49.081072539 +0200
@@ -36,6 +36,7 @@
 Source8:baselibs.conf
 Patch1: gcei-hide-py-deps.patch
 Patch2: gcei-scripts-after-reg.patch
+Patch3: gcei-set-run_dir.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -46,6 +47,7 @@
 Group:  System/Daemons
 Requires:   google-compute-engine-oslogin == %{version}
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
+Requires:   python3-distro
 Requires:   python3-setuptools
 %else
 Requires:   python-setuptools
@@ -60,6 +62,7 @@
 Requires:   sysvinit
 %endif
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
+BuildRequires:  python3-distro
 BuildRequires:  python3-setuptools
 %else
 BuildRequires:  python-setuptools
@@ -101,6 +104,7 @@
 %setup -q -n compute-image-packages-%{version}
 %patch1
 %patch2
+%patch3
 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
 
 %build
@@ -165,7 +169,27 @@
 %post init
 %if 0%{?suse_version} > 1140
 %service_add_post google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
-%else
+if [ -f /usr/lib/systemd/system/google-ip-forwarding-daemon.service ]; 
then
+systemctl stop --no-block google-ip-forwarding-daemon
+systemctl disable google-ip-forwarding-daemon.service
+fi
+if [ -f /usr/lib/systemd/system/google-network-setup.service ]; then
+systemctl stop --no-block google-network-setup
+systemctl disable google-network-setup.service
+fi
+if [ "$1" == "2" ] && ! [ -e /.buildenv ]; then
+# "$1" == "2" means the package is being upgraded
+# ./buildenv is only present during package builds
+systemctl enable google-network-daemon.service
+systemctl start google-network-daemon.service
+fi
+%else
+if [ "$1" == "2" ] && ! [ -e /.buildenv ]; then
+   # "$1" == "2" means the package is being upgraded
+   # ./buildenv is only present during package builds
+   service google-network-daemon start
+fi
+
 %fillup_and_insserv -fy google-accounts-daemon
 %fillup_and_insserv -fy google-clock-skew-daemon
 %fillup_and_insserv -fy google-instance-setup

++ gcei-set-run_dir.patch ++
--- google_compute_engine/instance_setup/instance_config.py.orig
2018-05-11 00:57:22.0 +0200
+++ google_compute_engine/instance_setup/instance_config.py 2018-06-14 
11:26:03.631232864 +0200
@@ -86,7 +86,7 @@
   'target_instance_ips': 'true',
   },
   'MetadataScripts': {
-  'run_dir': '',
+  'run_dir': '/var/run',
   'startup': 'true',
 

commit google-compute-engine for openSUSE:Factory

2019-05-17 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2019-05-17 23:43:50

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.5148 (New)


Package is "google-compute-engine"

Fri May 17 23:43:50 2019 rev:14 rq:703578 version:20190416

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2019-02-01 11:48:40.868353117 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.5148/google-compute-engine.changes
2019-05-17 23:43:51.817889733 +0200
@@ -1,0 +2,34 @@
+Thu May 16 12:48:40 UTC 2019 - John Paul Adrian Glaubitz 

+
+- Update to version 20190416 (bsc#1128392, bsc#1134179)
+  + Google Compute Engine
+* FreeBSD fixes: syslog socket location and OS detection.
+* Upstart systems: only run startup scripts at boot.
+  + Google Compute Engine OS Login
+* Fix pam_group ordering detection.
+* Restart cron from the OS Login control file.
+* Add PAM entry to su:account stack.
+- from version 20190315
+  + Google Compute Engine OS Login
+* Fix alternate challenge section for two factor authentication.
+* Fix FreeBSD compatibility issues in the control file.
+- from version 20190304
+  + Google Compute Engine
+* Set oom_score_adjust for google_accounts_daemon.
+  + Google Compute Engine OS Login
+* Use pam_group to provide users with default groups.
+* Add compat.h to support FreeBSD.
+* Exit immediately after a two factor authentication failure.
+* Add support for Google phone prompt challenges.
+- Adjust paths for new upstream directory layout in %build and %install
+- Include systemd service file to run google_optimize_local_ssd command
+  + google-optimize-local-ssd.service
+- Include systemd service file to run google_set_multiqueue command
+  + google-set-multiqueue.service
+- Install journald configuration files into /usr/lib/systemd/journald.conf.d
+- Refresh patches for new version
+  + gcei-hide-py-deps.patch
+  + gcei-scripts-after-reg.patch
+  + gcei-set-run_dir.patch
+
+---

Old:

  compute-image-packages-20190124.tar.gz

New:

  compute-image-packages-20190416.tar.gz
  google-optimize-local-ssd.service
  google-set-multiqueue.service



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.mwIRVI/_old  2019-05-17 23:43:52.409889408 +0200
+++ /var/tmp/diff_new_pack.mwIRVI/_new  2019-05-17 23:43:52.417889403 +0200
@@ -19,7 +19,7 @@
 %define setup_version 2.8.13
 
 Name:   google-compute-engine
-Version:20190124
+Version:20190416
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0
@@ -28,6 +28,8 @@
 Source0:compute-image-packages-%{version}.tar.gz
 Source7:google-compute-engine-rpmlintrc
 Source8:baselibs.conf
+Source9:google-optimize-local-ssd.service
+Source10:   google-set-multiqueue.service
 Patch1: gcei-hide-py-deps.patch
 Patch2: gcei-scripts-after-reg.patch
 Patch3: gcei-set-run_dir.patch
@@ -88,18 +90,22 @@
 
 %prep
 %setup -q -n compute-image-packages-%{version}
-%patch1
-%patch2
-%patch3
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
+cp %{SOURCE9} google-optimize-local-ssd.service
+cp %{SOURCE10} google-set-multiqueue.service
 
 %build
+cd packages/python-google-compute-engine
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 python3 setup.py build
 %else
 python setup.py build
 %endif
-pushd google_compute_engine_oslogin
+cd ..
+pushd google-compute-engine-oslogin
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 make %{?_smp_mflags}
 %else
@@ -108,32 +114,41 @@
 popd
 
 %install
+cd packages/python-google-compute-engine
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 %else
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 %endif
+cd ..
+mkdir -p %{buildroot}%{_bindir}
+cp google-compute-engine/src/usr/bin/* %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_sbindir}
 # Init
 mkdir -p %{buildroot}%{_unitdir}
-cp google_compute_engine_init/systemd/*.service %{buildroot}%{_unitdir}
+cp ../google-optimize-local-ssd.service %{buildroot}%{_unitdir}
+cp ../google-set-multiqueue.service %{buildroot}%{_unitdir}
+cp google-compute-engine/src/lib/systemd/system/*.service 
%{buildroot}%{_unitdir}
 for srv_name in %{buildroot}%{_unitdir}/*.service; do rc_name=$(basename -s 
'.service' $srv_name); ln -s service %{buildroot}%{_sbindir}/rc$rc_name; done
 # Sysconfig

commit google-compute-engine for openSUSE:Factory

2019-08-06 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2019-08-06 17:27:29

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.4126 (New)


Package is "google-compute-engine"

Tue Aug  6 17:27:29 2019 rev:16 rq:721278 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2019-06-01 09:57:01.643170090 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.4126/google-compute-engine.changes
2019-08-06 17:27:30.492685554 +0200
@@ -1,0 +2,37 @@
+Tue Aug  6 10:43:53 UTC 2019 - John Paul Adrian Glaubitz 

+
+- Add patch to normalize setup version of Python code
+  + gcei-normalize-python-version.patch
+- Fix file matching patterns in %files section for oslogin package
+
+---
+Mon Aug  5 13:00:18 UTC 2019 - John Paul Adrian Glaubitz 

+
+- Update to version 20190801 (bsc#1144092, bsc#1144170)
+  + Google Compute Engine
+* Re-enable boto config without plugin.
+* Fix metadata script retrieval for python 2 and 3.
+  + Google Compute Engine OS Login
+* Fix for 2FA on RHEL 8.
+- from version 20190730
+  + Google Compute Engine
+* Support for Debian 10.
+* New package versioning.
+* Support for Google Private Access over IPv6.
+* Support root disk expansion in RHEL 8 and Debian 10.
+  + Google Compute Engine OS Login
+* Bug fixes for sudoers.
+* Initial groups support (not yet enabled).
+- Add patch to explicitly link NSS and PAM shared
+  libraries against libboost_regex on SLE-12
+  + gcei-link-boost_regex.patch
+- Refresh patches for new version
+  + gcei-scripts-after-reg.patch
+- Set StandardOutput=journal+console in custom systemd service files
+  + google-optimize-local-ssd.service
+  + google-set-multiqueue.service
+- Stop installing configuration file for systemd-journald
+  + Logging is now configured through systemd service files
+- Update file matching patterns in %files section for new version
+
+---

Old:

  compute-image-packages-20190522.tar.gz

New:

  compute-image-packages-20190801.tar.gz
  gcei-link-boost_regex.patch
  gcei-normalize-python-version.patch



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.7HGDAZ/_old  2019-08-06 17:27:31.040685434 +0200
+++ /var/tmp/diff_new_pack.7HGDAZ/_new  2019-08-06 17:27:31.040685434 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.8.16
+%define setup_version 20190801.0
 
 Name:   google-compute-engine
-Version:20190522
+Version:20190801
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0
@@ -33,6 +33,10 @@
 Patch1: gcei-hide-py-deps.patch
 Patch2: gcei-scripts-after-reg.patch
 Patch3: gcei-set-run_dir.patch
+# see: https://github.com/GoogleCloudPlatform/compute-image-packages/issues/830
+Patch4: gcei-link-boost_regex.patch
+# see: https://github.com/GoogleCloudPlatform/compute-image-packages/issues/831
+Patch5: gcei-normalize-python-version.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -93,6 +97,10 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%if 0%{?suse_version} <= 1315
+%patch4 -p1
+%endif
+%patch5 -p1
 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
 cp %{SOURCE9} google-optimize-local-ssd.service
 cp %{SOURCE10} google-set-multiqueue.service
@@ -136,9 +144,6 @@
 # udev
 mkdir -p %{buildroot}/usr/lib/udev/rules.d
 cp google-compute-engine/src/lib/udev/rules.d/* 
%{buildroot}/usr/lib/udev/rules.d
-# journald
-mkdir -p %{buildroot}/usr/lib/systemd/journald.conf.d
-cp google-compute-engine/src/usr/lib/systemd/journald.conf.d/* 
%{buildroot}/usr/lib/systemd/journald.conf.d
 # syslog
 mkdir -p %{buildroot}/%{_sysconfdir}/rsyslog.d
 cp google-compute-engine/src/etc/rsyslog.d/* 
%{buildroot}/%{_sysconfdir}/rsyslog.d
@@ -215,11 +220,9 @@
 %{_unitdir}/*.service
 %config %{_sysconfdir}/sysctl.d/*
 %dir /usr/lib/systemd
-%dir /usr/lib/systemd/journald.conf.d
 %dir /usr/lib/udev
 %dir /usr/lib/udev/rules.d
 /usr/lib/udev/rules.d/*
-/usr/lib/systemd/journald.conf.d/*
 %dir %{_sysconfdir}/rsyslog.d
 %dir %{_sysconfdir}/modprobe.d
 %config %{_sysconfdir}/rsyslog.d/*
@@ -230,7 +233,9 @@
 %attr(0755,root,root) %{_bindir}/google_oslogin_control
 %attr(0755,root,root) %{_bindir}/google_authorized_keys
 %attr(0755,root,root) %{_bindir}/google_oslogin_nss_cache
-/%{_lib}/*
-%exclude /%{_lib}/udev*
+%dir /usr/lib/security
+/%{_mandir}/man8/*
+/usr/lib/*.so*
+/usr/lib

commit google-compute-engine for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2019-06-01 09:57:00

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.5148 (New)


Package is "google-compute-engine"

Sat Jun  1 09:57:00 2019 rev:15 rq:706513 version:20190522

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2019-05-17 23:43:51.817889733 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.5148/google-compute-engine.changes
2019-06-01 09:57:01.643170090 +0200
@@ -1,0 +2,16 @@
+Mon May 27 10:33:55 UTC 2019 - John Paul Adrian Glaubitz 

+
+- Update to version 20190522 (bsc#1136266, bsc#1136267)
+  + Google Compute Engine
+* Fix guest attributes flow in Python 3.
+  + Google Compute Engine OS Login
+* Update OS Login control file for FreeBSD support.
+- from version 20190521
+  + Google Compute Engine
+* Retry download for metadata scripts.
+* Fix script retrieval in Python 3.
+* Disable boto config in Python 3.
+* Update SSH host keys in guest attributes.
+* Fix XPS settings with more than 64 vCPUs.
+
+---

Old:

  compute-image-packages-20190416.tar.gz

New:

  compute-image-packages-20190522.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.yy97x4/_old  2019-06-01 09:57:02.175169909 +0200
+++ /var/tmp/diff_new_pack.yy97x4/_new  2019-06-01 09:57:02.175169909 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.8.13
+%define setup_version 2.8.16
 
 Name:   google-compute-engine
-Version:20190416
+Version:20190522
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0

++ compute-image-packages-20190416.tar.gz -> 
compute-image-packages-20190522.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/compute-image-packages-20190416/README.md 
new/compute-image-packages-20190522/README.md
--- old/compute-image-packages-20190416/README.md   2019-04-17 
02:46:12.0 +0200
+++ new/compute-image-packages-20190522/README.md   2019-05-22 
22:41:34.0 +0200
@@ -43,10 +43,11 @@
 CentOS 7 | rpm  | 2.7| systemd
 RHEL 6   | rpm  | 2.6| upstart
 RHEL 7   | rpm  | 2.7| systemd
+RHEL 8   | rpm  | 3.6| systemd
 Ubuntu 14.04 | deb  | 2.7| upstart
 Ubuntu 16.04 | deb  | 3.5 or 2.7 | systemd
 Ubuntu 18.04 | deb  | 3.6| systemd
-Ubuntu 18.10 | deb  | 3.6| systemd
+Ubuntu 19.04 | deb  | 3.7| systemd
 Debian 9 | deb  | 3.5 or 2.7 | systemd
 
 We build the following packages for the Linux guest environment.
@@ -123,9 +124,9 @@
 ```
 DIST=7
 tee /etc/yum.repos.d/google-cloud.repo << EOM
-[google-cloud-compute]
-name=Google Cloud Compute
-baseurl=https://packages.cloud.google.com/yum/repos/google-cloud-compute-el${DIST}-x86_64
+[google-compute-engine]
+name=Google Compute Engine
+baseurl=https://packages.cloud.google.com/yum/repos/google-compute-engine-el${DIST}-x86_64-stable
 enabled=1
 gpgcheck=1
 repo_gpgcheck=1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/compute-image-packages-20190416/daisy_workflows/build_el.wf.json 
new/compute-image-packages-20190522/daisy_workflows/build_el.wf.json
--- old/compute-image-packages-20190416/daisy_workflows/build_el.wf.json
2019-04-17 02:46:12.0 +0200
+++ new/compute-image-packages-20190522/daisy_workflows/build_el.wf.json
2019-05-22 22:41:34.0 +0200
@@ -21,6 +21,12 @@
 "setup-disk": {
   "CreateDisks": [
 {
+  "Name": "disk-el8-build",
+  "SourceImage": "projects/rhel-cloud/global/images/family/rhel-8",
+  "SizeGb": "10",
+  "Type": "pd-ssd"
+},
+{
   "Name": "disk-el7-build",
   "SourceImage": "projects/centos-cloud/global/images/family/centos-7",
   "SizeGb": "10",
@@ -37,6 +43,20 @@
 "package-build": {
   "CreateInstances": [
 {
+  "Name": "inst-el8-build",
+  "Disks": [
+{"Source": "disk-el8-build"}
+  ],
+  "MachineType": "n1-standard-2",
+  "Metadata": {
+"github_branch": "${github_branch}",
+"github_repo": "${github_repo}",
+"output_path": "${output_path}"
+  },
+  "Scopes": ["https://www.googleapis

commit google-compute-engine for openSUSE:Factory

2019-02-01 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2019-02-01 11:48:18

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.28833 (New)


Package is "google-compute-engine"

Fri Feb  1 11:48:18 2019 rev:13 rq:670338 version:20190124

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2018-12-14 20:57:01.912752995 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.28833/google-compute-engine.changes
   2019-02-01 11:48:40.868353117 +0100
@@ -1,0 +2,15 @@
+Wed Jan 30 13:27:29 UTC 2019 - John Paul Adrian Glaubitz 

+
+- Update to version 20190124 (bsc#1123671, bsc#1123672)
+  + Google Compute Engine
+* Fix metadata script retrieval to support Python 3.
+
+---
+Mon Jan 21 16:38:20 UTC 2019 - Robert Schweikert 
+
+- Remove dropped service from systemd setup macros (bsc#1122172)
+- Drop use of restart_on_update, force service restart with  -f option
+  on service_del_preun and service_del_postun
+- Detect and handle removed services in pre rather than post
+
+---

Old:

  compute-image-packages-20181206.tar.gz

New:

  compute-image-packages-20190124.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.9hV0xG/_old  2019-02-01 11:48:41.732352231 +0100
+++ /var/tmp/diff_new_pack.9hV0xG/_new  2019-02-01 11:48:41.732352231 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package google-compute-engine
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.8.12
+%define setup_version 2.8.13
 
 Name:   google-compute-engine
-Version:20181206
+Version:20190124
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0
@@ -136,10 +136,6 @@
 cp google_config/modprobe/gce-blacklist.conf 
%{buildroot}/%{_sysconfdir}/modprobe.d/
 
 %pre init
-%service_add_pre google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
-
-%post init
-%service_add_post google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
 if [ -f /usr/lib/systemd/system/google-ip-forwarding-daemon.service ]; 
then
 systemctl stop --no-block google-ip-forwarding-daemon
 systemctl disable google-ip-forwarding-daemon.service
@@ -148,6 +144,10 @@
 systemctl stop --no-block google-network-setup
 systemctl disable google-network-setup.service
 fi
+%service_add_pre google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
+
+%post init
+%service_add_post google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
 if [ "$1" == "2" ] && ! [ -e /.buildenv ]; then
 # "$1" == "2" means the package is being upgraded
 # ./buildenv is only present during package builds
@@ -159,11 +159,10 @@
 /sbin/ldconfig
 
 %preun init
-%service_del_preun google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-ip-forwarding-daemon.service google-network-daemon.service 
google-shutdown-scripts.service google-startup-scripts.service
+%service_del_preun -f google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
 
 %postun init
-%restart_on_update
-%service_del_postun google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-ip-forwarding-daemon.service google-network-daemon.service 
google-shutdown-scripts.service google-startup-scripts.service
+%service_del_postun -f google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.serv

commit google-compute-engine for openSUSE:Factory

2017-09-20 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2017-09-20 17:12:57

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Wed Sep 20 17:12:57 2017 rev:2 rq:527358 version:20170829

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2017-09-13 22:36:55.072003162 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2017-09-20 17:13:04.478314604 +0200
@@ -1,0 +2,5 @@
+Tue Sep 19 16:49:18 UTC 2017 - rjsch...@suse.com
+
+- Ship the udevrules with the -init package only
+
+---



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.A6PECh/_old  2017-09-20 17:13:05.046234659 +0200
+++ /var/tmp/diff_new_pack.A6PECh/_new  2017-09-20 17:13:05.050234096 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package google-compute-engine-init
+# spec file for package google-compute-engine
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define setup_version 2.6.0
 
 Name:   google-compute-engine
@@ -41,9 +42,8 @@
 Google Compute Engine instance code.
 
 %package init
-License:Apache-2.0
-Group:  System/Daemons
 Summary:GCE Instance Initialization
+Group:  System/Daemons
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 Requires:   python3-setuptools
 %else
@@ -79,7 +79,6 @@
 Initialization code for Google Compute Engine instances.
 
 %package oslogin
-License:Apache-2.0
 Summary:OS Login Functionality for Google Compute Engine
 Group:  Hardware
 Requires:   google-compute-engine-init == %{version}
@@ -87,9 +86,9 @@
 Requires(post): openssh
 Requires(post): glibc
 BuildRequires:  gcc-c++
-BuildRequires:  make
 BuildRequires:  libcurl-devel
 BuildRequires:  libjson-c-devel
+BuildRequires:  make
 BuildRequires:  pam-devel
 
 %description oslogin
@@ -103,7 +102,6 @@
 %patch2
 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
 
-
 %build
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 python3 setup.py build
@@ -155,7 +153,6 @@
 make install DESTDIR=%{buildroot} NSS_INSTALL_PATH=%{_lib} 
PAM_INSTALL_PATH=%{_lib}/security
 popd
 
-
 %pre
 %if 0%{?suse_version} > 1140
 %service_add_pre google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-ip-forwarding-daemon.service google-shutdown-scripts.service 
google-startup-scripts.service
@@ -255,5 +252,6 @@
 %attr(0755,root,root) %{_bindir}/google_oslogin_control
 %attr(0755,root,root) %{_bindir}/google_authorized_keys
 /%{_lib}/*
+%exclude /%{_lib}/udev*
 
 %changelog




commit google-compute-engine for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2017-12-08 12:59:52

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Fri Dec  8 12:59:52 2017 rev:5 rq:554886 version:20171129

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2017-11-12 18:02:39.236146760 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2017-12-08 12:59:53.800249085 +0100
@@ -1,0 +2,9 @@
+Sun Dec  3 18:26:50 UTC 2017 - adrian.glaub...@suse.com
+
+- Update to version 20171129 (bsc#1070895, bsc#1070918)
+  + Generate SSH host keys when none are present.
+  + Improve logging when activating OS Login.
+  + Fix parsing logic for expiration time on SSH public keys.
+  + Fix home directory creation PAM config.
+
+---

Old:

  compute-image-packages-20171025.tar.gz

New:

  compute-image-packages-20171129.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.aDs6l6/_old  2017-12-08 12:59:54.464225106 +0100
+++ /var/tmp/diff_new_pack.aDs6l6/_new  2017-12-08 12:59:54.464225106 +0100
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.7.1
+%define setup_version 2.7.2
 
 Name:   google-compute-engine
-Version:20171025
+Version:20171129
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0

++ compute-image-packages-20171025.tar.gz -> 
compute-image-packages-20171129.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/compute-image-packages-20171025/.travis.yml 
new/compute-image-packages-20171129/.travis.yml
--- old/compute-image-packages-20171025/.travis.yml 2017-10-25 
20:40:23.0 +0200
+++ new/compute-image-packages-20171129/.travis.yml 2017-11-29 
20:17:58.0 +0100
@@ -1,7 +1,6 @@
 language: python
 sudo: true
 python:
-- 2.6
 - 2.7
 - 3.3
 - 3.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/compute-image-packages-20171025/README.md 
new/compute-image-packages-20171129/README.md
--- old/compute-image-packages-20171025/README.md   2017-10-25 
20:40:23.0 +0200
+++ new/compute-image-packages-20171129/README.md   2017-11-29 
20:17:58.0 +0100
@@ -236,30 +236,32 @@
 
 The following are valid user configuration options.
 
-Section   | Option   | Value
-- |  | -
-Accounts  | deprovision\_remove   | `true` makes deprovisioning a user 
destructive.
-Accounts  | groups   | Comma separated list of groups for 
newly provisioned users.
-Accounts  | useradd\_cmd  | Command string to create a new 
user.
-Accounts  | userdel\_cmd  | Command string to delete a user.
-Accounts  | usermod\_cmd  | Command string to modify a user's 
groups.
-Accounts  | groupadd\_cmd | Command string to create a new 
group.
-Daemons   | accounts\_daemon  | `false` disables the accounts 
daemon.
+Section   | Option | Value
+- | -- | -
+Accounts  | deprovision\_remove| `true` makes deprovisioning a 
user destructive.
+Accounts  | groups | Comma separated list of groups 
for newly provisioned users.
+Accounts  | useradd\_cmd   | Command string to create a new 
user.
+Accounts  | userdel\_cmd   | Command string to delete a user.
+Accounts  | usermod\_cmd   | Command string to modify a user's 
groups.
+Accounts  | groupadd\_cmd  | Command string to create a new 
group.
+Daemons   | accounts\_daemon   | `false` disables the accounts 
daemon.
 Daemons   | clock\_skew\_daemon| `false` disables the clock skew 
daemon.
 Daemons   | ip\_forwarding\_daemon | `false` disables the IP 
forwarding daemon.
+InstanceSetup | host\_key\_types   | Comma separated list of host key 
types to generate.
 InstanceSetup | optimize\_local\_ssd   | `false` prevents optimizing for 
local SSD.
-InstanceSetup | network\_enabled  | `false` skips instance setup 
functions that require metadata.
+InstanceSetup | network\_enabled   | `false` skips instance setup 
functions that require metadata.
 InstanceSetup | set\_boto\_config  | `false` skips setting up a `boto` 
config.
 Instan

commit google-compute-engine for openSUSE:Factory

2019-09-24 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2019-09-25 08:30:00

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.7948 (New)


Package is "google-compute-engine"

Wed Sep 25 08:30:00 2019 rev:17 rq:732804 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2019-08-06 17:27:30.492685554 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.7948/google-compute-engine.changes
2019-09-25 08:30:01.746371402 +0200
@@ -1,0 +2,21 @@
+Tue Sep 17 03:02:11 UTC 2019 - Robert Schweikert 
+
+- Fix file list
+  + On i586 Python code is also under _libdir thus creating a conflict between
+the packages.
+
+---
+Wed Sep 11 11:47:46 UTC 2019 - Robert Schweikert 
+
+- Add gcei_disableipv6.patch (bsc#1150058)
+  + Upstream introduced an interface named "DisableIpv6" but the
+implementation was incomplete and the interface was missing for SUSE
+distros
+
+---
+Tue Aug 20 11:06:50 UTC 2019 - John Paul Adrian Glaubitz 

+
+- Fix install location of NSS and PAM shared libraries (bsc#1146172)
+- Switch RPM group for oslogin package from Hardware to System/Daemons
+
+---

New:

  gcei_disableipv6.patch



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.N1uJXx/_old  2019-09-25 08:30:03.294371193 +0200
+++ /var/tmp/diff_new_pack.N1uJXx/_new  2019-09-25 08:30:03.306371191 +0200
@@ -37,6 +37,7 @@
 Patch4: gcei-link-boost_regex.patch
 # see: https://github.com/GoogleCloudPlatform/compute-image-packages/issues/831
 Patch5: gcei-normalize-python-version.patch
+Patch6: gcei_disableipv6.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -73,7 +74,7 @@
 
 %package oslogin
 Summary:OS Login Functionality for Google Compute Engine
-Group:  Hardware
+Group:  System/Daemons
 
 Requires:   pam
 Requires(post): openssh
@@ -101,6 +102,7 @@
 %patch4 -p1
 %endif
 %patch5 -p1
+%patch6 -p1
 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
 cp %{SOURCE9} google-optimize-local-ssd.service
 cp %{SOURCE10} google-set-multiqueue.service
@@ -149,7 +151,7 @@
 cp google-compute-engine/src/etc/rsyslog.d/* 
%{buildroot}/%{_sysconfdir}/rsyslog.d
 # oslogin
 pushd google-compute-engine-oslogin
-make install DESTDIR=%{buildroot} NSS_INSTALL_PATH=%{_lib} 
PAM_INSTALL_PATH=%{_lib}/security
+make install DESTDIR=%{buildroot} LIBDIR=/%{_libdir} PAMDIR=/%{_lib}/security
 popd
 # kernel module blacklist
 mkdir -p %{buildroot}/%{_sysconfdir}/modprobe.d
@@ -233,9 +235,8 @@
 %attr(0755,root,root) %{_bindir}/google_oslogin_control
 %attr(0755,root,root) %{_bindir}/google_authorized_keys
 %attr(0755,root,root) %{_bindir}/google_oslogin_nss_cache
-%dir /usr/lib/security
 /%{_mandir}/man8/*
-/usr/lib/*.so*
-/usr/lib/security/*.so*
+/%{_lib}/security/*
+/%{_libdir}/libnss*
 
 %changelog

++ gcei_disableipv6.patch ++
>From 028fcda7d0d5b62770d24985dec464b1fea48ee6 Mon Sep 17 00:00:00 2001
From: Zach Marano 
Date: Tue, 10 Sep 2019 14:59:38 -0700
Subject: [PATCH] Add missing DisableIpv6 function for SLES 12 and default
 case.

---
 .../google_compute_engine/distro_lib/sles_12/utils.py| 9 +
 .../google_compute_engine/distro_lib/utils.py| 9 +
 2 files changed, 18 insertions(+)

diff --git 
a/packages/python-google-compute-engine/google_compute_engine/distro_lib/sles_12/utils.py
 
b/packages/python-google-compute-engine/google_compute_engine/distro_lib/sles_12/utils.py
index a8bd4864..aacfc471 100644
--- 
a/packages/python-google-compute-engine/google_compute_engine/distro_lib/sles_12/utils.py
+++ 
b/packages/python-google-compute-engine/google_compute_engine/distro_lib/sles_12/utils.py
@@ -39,6 +39,15 @@ def EnableIpv6(self, interfaces, logger, 
dhclient_script=None):
 """
 pass
 
+  def DisableIpv6(self, interfaces, logger):
+"""Disable Ipv6.
+
+Args:
+  interface: string, the output device names for enabling IPv6.
+  logger: logger object, used to write to SysLog and serial port.
+"""
+pass
+
   def EnableNetworkInterfaces(self, interfaces, logger, dhclient_script=None):
 """Enable the list of network interfaces.
 
diff --git 
a/packages/python-google-compute-engine/google_compute_engine/distro_lib/utils.py
 
b/packages/python-google-compute-engine/google_compute_engine/distro_lib/utils.py
index df1d45cd..50f4f

commit google-compute-engine for openSUSE:Factory

2019-10-30 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2019-10-30 14:47:12

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.2990 (New)


Package is "google-compute-engine"

Wed Oct 30 14:47:12 2019 rev:18 rq:743901 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2019-09-25 08:30:01.746371402 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.2990/google-compute-engine.changes
2019-10-30 14:47:32.866165008 +0100
@@ -1,0 +2,6 @@
+Tue Oct 22 21:54:57 UTC 2019 - Robert Schweikert 
+
+- Add gcei-waitlimit-dns.patch (bsc#1151398)
+  + Add a wait limit to retrying DNS resolution to avoid a forever loop
+
+---

New:

  gcei-waitlimit-dns.patch



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.ZfvuVZ/_old  2019-10-30 14:47:33.854166058 +0100
+++ /var/tmp/diff_new_pack.ZfvuVZ/_new  2019-10-30 14:47:33.862166067 +0100
@@ -38,6 +38,8 @@
 # see: https://github.com/GoogleCloudPlatform/compute-image-packages/issues/831
 Patch5: gcei-normalize-python-version.patch
 Patch6: gcei_disableipv6.patch
+# see: https://github.com/GoogleCloudPlatform/compute-image-packages/issues/862
+Patch7: gcei-waitlimit-dns.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -103,6 +105,7 @@
 %endif
 %patch5 -p1
 %patch6 -p1
+%patch7
 find -name "*.py" | xargs sed -i 'sm#!/usr/bin/pythonmm'
 cp %{SOURCE9} google-optimize-local-ssd.service
 cp %{SOURCE10} google-set-multiqueue.service

++ gcei-waitlimit-dns.patch ++
--- 
packages/python-google-compute-engine/google_compute_engine/metadata_watcher.py.orig
+++ 
packages/python-google-compute-engine/google_compute_engine/metadata_watcher.py
@@ -154,7 +154,7 @@ class MetadataWatcher(object):
 
   def _HandleMetadataUpdate(
   self, metadata_key='', recursive=True, wait=True, timeout=None,
-  retry=True):
+  retry=True, retry_limit=50):
 """Wait for a successful metadata response.
 
 Args:
@@ -163,12 +163,14 @@ class MetadataWatcher(object):
   wait: bool, True if we should wait for a metadata change.
   timeout: int, timeout in seconds for returning metadata output.
   retry: bool, True if we should retry on failure.
+  retry_limit: int, number of times to retry obtaining metadata.
 
 Returns:
   json, the deserialized contents of the metadata server.
 """
 exception = None
-while True:
+retry_count = 0
+while retry_count < retry_limit:
   try:
 return self._GetMetadataUpdate(
 metadata_key=metadata_key, recursive=recursive, wait=wait,
@@ -178,6 +180,7 @@ class MetadataWatcher(object):
   exception = e
   self.logger.error('GET request error retrieving metadata. %s.', e)
 if retry:
+  retry_count += 1
   continue
 else:
   break



commit google-compute-engine for openSUSE:Factory

2018-10-15 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2018-10-15 09:42:23

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new (New)


Package is "google-compute-engine"

Mon Oct 15 09:42:23 2018 rev:10 rq:641716 version:20181011

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2018-06-20 15:31:46.449168030 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new/google-compute-engine.changes
 2018-10-15 09:43:01.327397198 +0200
@@ -1,0 +2,30 @@
+Fri Oct 12 11:02:02 UTC 2018 - John Paul Adrian Glaubitz 

+
+- Update to version 20181011
+  + Google Compute Engine
+* Revert: Remove users from sudoers group on account removal.
+- from version 20181008
+  + Google Compute Engine
+* Remove users from sudoers group on account removal.
+* Remove gsutil dependency for metadata scripts.
+- from version 20180905
+  + Google Compute Engine
+* Remove ntp package dependency.
+* Support Debian 10 Buster.
+* Restart the network daemon if networking is restarted.
+* Prevent setup of the default ethernet interface.
+* Accounts daemon verifies username is 32 characters or less.
+  + Google Compute Engine OS Login  
+* Add user name validation to pam modules.
+* Return false on failed final load.
+* Support FreeBSD.
+* Support Debian 10 Buster.
+- from version 20180611
+  + Google Compute Engine  
+* Prevent IP forwarding daemon log spam.
+* Make default shell configurable when executing metadata scripts.
+* Rename distro directory to distro_lib.
+- Refresh patches for new version
+  + gcei-set-run_dir.patch
+
+---

Old:

  compute-image-packages-20180510.tar.gz

New:

  compute-image-packages-20181011.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.o6LtDe/_old  2018-10-15 09:43:03.035395635 +0200
+++ /var/tmp/diff_new_pack.o6LtDe/_new  2018-10-15 09:43:03.039395631 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.8.2
+%define setup_version 2.8.6
 
 Name:   google-compute-engine
-Version:20180510
+Version:20181011
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0

++ compute-image-packages-20180510.tar.gz -> 
compute-image-packages-20181011.tar.gz ++
 5171 lines of diff (skipped)

++ gcei-set-run_dir.patch ++
--- /var/tmp/diff_new_pack.o6LtDe/_old  2018-10-15 09:43:03.151395529 +0200
+++ /var/tmp/diff_new_pack.o6LtDe/_new  2018-10-15 09:43:03.151395529 +0200
@@ -1,5 +1,5 @@
 google_compute_engine/instance_setup/instance_config.py.orig   
2018-05-11 00:57:22.0 +0200
-+++ google_compute_engine/instance_setup/instance_config.py2018-06-14 
11:26:03.631232864 +0200
+--- google_compute_engine/instance_setup/instance_config.py.orig   
2018-10-11 18:53:23.0 +0200
 google_compute_engine/instance_setup/instance_config.py2018-10-12 
12:59:08.355598380 +0200
 @@ -86,7 +86,7 @@
'target_instance_ips': 'true',
},
@@ -8,4 +8,4 @@
 +  'run_dir': '/var/run',
'startup': 'true',
'shutdown': 'true',
-   },
+   'default_shell': '/bin/bash',




commit google-compute-engine for openSUSE:Factory

2018-12-04 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2018-12-04 20:55:53

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.19453 (New)


Package is "google-compute-engine"

Tue Dec  4 20:55:53 2018 rev:11 rq:653629 version:20181011

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2018-10-15 09:43:01.327397198 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.19453/google-compute-engine.changes
   2018-12-04 20:56:19.356719762 +0100
@@ -1,0 +2,11 @@
+Sun Nov 25 18:06:59 UTC 2018 - Robert Schweikert 
+
+- Remove conditions for distributions older than Leap 42.3 and SLE 12
+  + Delete init scripts google-accounts-daemon.suse,
+google-clock-skew-daemon.suse, google-instance-setup.suse,
+google-network-daemon.suse, google-shutdown-scripts.suse,
+google-startup-scripts.suse
+- Fix build for distributions with gcc version less than 4.9
+  + Add new dependency on boost
+
+---

Old:

  google-accounts-daemon.suse
  google-clock-skew-daemon.suse
  google-instance-setup.suse
  google-network-daemon.suse
  google-shutdown-scripts.suse
  google-startup-scripts.suse



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.ff6AVG/_old  2018-12-04 20:56:19.804719268 +0100
+++ /var/tmp/diff_new_pack.ff6AVG/_new  2018-12-04 20:56:19.808719264 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,12 +26,6 @@
 Group:  System/Daemons
 Url:https://github.com/GoogleCloudPlatform/compute-image-packages
 Source0:compute-image-packages-%{version}.tar.gz
-Source1:google-accounts-daemon.suse
-Source2:google-clock-skew-daemon.suse
-Source3:google-instance-setup.suse
-Source4:google-network-daemon.suse
-Source5:google-shutdown-scripts.suse
-Source6:google-startup-scripts.suse
 Source7:google-compute-engine-rpmlintrc
 Source8:baselibs.conf
 Patch1: gcei-hide-py-deps.patch
@@ -52,26 +46,15 @@
 %else
 Requires:   python-setuptools
 %endif
-%if 0%{?suse_version} > 1140
-Recommends: google-cloud-sdk
 Requires:   systemd
-%endif
 %{?systemd_requires}
-%if 0%{?suse_version} < 1140
-Requires:   insserv
-Requires:   sysvinit
-%endif
 %if 0%{?suse_version} && 0%{?suse_version} > 1315
 BuildRequires:  python3-distro
 BuildRequires:  python3-setuptools
 %else
 BuildRequires:  python-setuptools
 %endif
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
 %if 0%{?suse_version} && 0%{?suse_version} <= 1315
 # These packages were not released in SLE 15 and later, thus no conflict needed
 Conflicts:  google-startup-scripts
@@ -89,6 +72,9 @@
 Requires:   pam
 Requires(post): openssh
 Requires(post): glibc
+%if 0%{?suse_version} && 0%{?suse_version} <= 1315
+BuildRequires:  boost-devel
+%endif
 BuildRequires:  gcc-c++
 BuildRequires:  libcurl-devel
 BuildRequires:  libjson-c-devel
@@ -114,7 +100,11 @@
 python setup.py build
 %endif
 pushd google_compute_engine_oslogin
-make %{?_smp_mflags} LIBS="-lcurl -ljson-c"
+%if 0%{?suse_version} && 0%{?suse_version} > 1315
+make %{?_smp_mflags}
+%else
+make %{?_smp_mflags} LIBS='-lcurl -ljson-c -lboost_regex'
+%endif
 popd
 
 %install
@@ -125,31 +115,15 @@
 %endif
 mkdir -p %{buildroot}%{_sbindir}
 # Init
-%if 0%{?suse_version} > 1140
 mkdir -p %{buildroot}%{_unitdir}
 cp google_compute_engine_init/systemd/*.service %{buildroot}%{_unitdir}
 for srv_name in %{buildroot}%{_unitdir}/*.service; do rc_name=$(basename -s 
'.service' $srv_name); ln -s service %{buildroot}%{_sbindir}/rc$rc_name; done
-%else
-mkdir -p %{buildroot}%{_initddir}
-cp %{SOURCE1} %{buildroot}%{_initddir}/google-accounts-daemon
-cp %{SOURCE2} %{buildroot}%{_initddir}/google-clock-skew-daemon
-cp %{SOURCE3} %{buildroot}%{_initddir}/google-instance-setup
-cp %{SOURCE4} %{buildroot}%{_initddir}/google-network-daemon
-cp %{SOURCE5} %{buildroot}%{_initddir}/google-shutdown-scripts
-cp %{SOURCE6} %{buildroot}%{_initddir}/google-startup-scripts
-for srv_name in %{buildroot}%{_initddir}/*; do rc_name=$(basename $srv_name); 
ln -s %{_initddir}/$rc_name %{buildroot}%{_sbindi

commit google-compute-engine for openSUSE:Factory

2018-12-14 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2018-12-14 20:55:04

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.28833 (New)


Package is "google-compute-engine"

Fri Dec 14 20:55:04 2018 rev:12 rq:658054 version:20181206

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2018-12-04 20:56:19.356719762 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.28833/google-compute-engine.changes
   2018-12-14 20:57:01.912752995 +0100
@@ -1,0 +2,17 @@
+Tue Dec 11 12:06:51 UTC 2018 - John Paul Adrian Glaubitz 

+
+- Update to version 20181206 (bsc#1119029, bsc#1119110)
+  + Google Compute Engine
+* Support enabling OS Login two factor authentication.
+* Improve accounts support for FreeBSD.
+  + Google Compute Engine OS Login
+* Support OS Login two factor authentication (Alpha).
+* Improve SELinux support.
+- from version 20181023
+  + Google Compute Engine
+* Fix: Update sudoer group membership without overriding local groups.
+- from version 20181018
+  + Google Compute Engine
+* Fix: Remove users from sudoers group on account removal.
+
+---

Old:

  compute-image-packages-20181011.tar.gz

New:

  compute-image-packages-20181206.tar.gz



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.TLbvTd/_old  2018-12-14 20:57:02.408752380 +0100
+++ /var/tmp/diff_new_pack.TLbvTd/_new  2018-12-14 20:57:02.408752380 +0100
@@ -16,10 +16,10 @@
 #
 
 
-%define setup_version 2.8.6
+%define setup_version 2.8.12
 
 Name:   google-compute-engine
-Version:20181011
+Version:20181206
 Release:0
 Summary:GCE Instance Initialization
 License:Apache-2.0

++ compute-image-packages-20181011.tar.gz -> 
compute-image-packages-20181206.tar.gz ++
 6672 lines of diff (skipped)




commit google-compute-engine for openSUSE:Factory

2020-07-02 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2020-07-03 00:11:15

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.3060 (New)


Package is "google-compute-engine"

Fri Jul  3 00:11:15 2020 rev:22 rq:818184 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2020-05-29 21:29:22.289220070 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.3060/google-compute-engine.changes
2020-07-03 00:13:56.852371497 +0200
@@ -1,0 +2,6 @@
+Sat Jun 20 07:43:50 UTC 2020 - John Paul Adrian Glaubitz 

+
+- Don't enable and start google-network-daemon.service when it's
+  already installed (bsc#1169978)
+
+---



Other differences:
--
++ google-compute-engine.spec ++
--- /var/tmp/diff_new_pack.WMXWCy/_old  2020-07-03 00:14:01.156385748 +0200
+++ /var/tmp/diff_new_pack.WMXWCy/_new  2020-07-03 00:14:01.160385761 +0200
@@ -175,9 +175,10 @@
 
 %post init
 %service_add_post google-accounts-daemon.service 
google-clock-skew-daemon.service google-instance-setup.service 
google-network-daemon.service google-optimize-local-ssd.service 
google-set-multiqueue.service google-shutdown-scripts.service 
google-startup-scripts.service
-if [ "$1" == "2" ] && ! [ -e /.buildenv ]; then
-# "$1" == "2" means the package is being upgraded
-# ./buildenv is only present during package builds
+if [ "$1" == "2" ] && ! [ -e /.buildenv ] && ! [ -f 
/usr/lib/systemd/system/google-network-daemon.service ]; then
+# - "$1" == "2" means the package is being upgraded
+# - ./buildenv is only present during package builds
+# - don't enable/start if the daemon is already installed
 systemctl enable google-network-daemon.service
 systemctl start google-network-daemon.service
 fi




commit google-compute-engine for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package google-compute-engine for 
openSUSE:Factory checked in at 2020-07-15 15:00:03

Comparing /work/SRC/openSUSE:Factory/google-compute-engine (Old)
 and  /work/SRC/openSUSE:Factory/.google-compute-engine.new.3060 (New)


Package is "google-compute-engine"

Wed Jul 15 15:00:03 2020 rev:23 rq:820663 version:20190801

Changes:

--- 
/work/SRC/openSUSE:Factory/google-compute-engine/google-compute-engine.changes  
2020-07-03 00:13:56.852371497 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-compute-engine.new.3060/google-compute-engine.changes
2020-07-15 15:00:39.827155140 +0200
@@ -13 +13 @@
-if they exist
+if they exist (bsc#1173258)



Other differences:
--