Google Compute Engine offers scripts and daemons which run in the
background and provides the following services:
- Accounts daemon to setup and manage user accounts, and to enable SSH key based
authentication.
- Clock skew daemon to keep the system clock in sync after VM start and stop
events.
- Instance setup scripts to execute VM configuration scripts during boot.
- IP forwarding daemon that integrates network load balancing with forwarding
rule changes into the guest.
- Metadata scripts to run user provided scripts at VM startup and shutdown.
- Network setup service to enable multiple network interfaces on boot.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-google-compute-engine listed in the above command, you can pick from the names under the Packages section.
google-compute-engine has been installed, and the following services are
available:
google_accounts_daemon Responsible for provisioning and
deprovisioning user accounts
google_clock_skew_daemon Responsible for syncing the software clock with
the hypervisor clock
google_instance_setup Configure the guest at boot
google_network_daemon Responsible to manage network interfaces and ip
routes in the guest
google_startup Implement support for running host provided
startup / shutdown scripts
To enable the above services, sysrc <servicename>_enable=YES
Reboot your system or start the services, service <servicename> start
*/*: Introduction USES=sudo
A new uses 'sudo' has been added to transperently depends of the
proper flavor of sudo 'default' or 'sssd' depending on the default
version set by the user.
If you prefere to use 'sssd' flavor of sudo, add the following
to your make.conf:
DEFAULT_VERSIONS+=sudo=sssd
All sudo consummer ports has benn updated to USES=sudo
Reviewed by: 0mp
Approved by: mat
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D52160
*/*: PORTREVISION++ on some @sample-using ports
The handling of @sample with regard to no-root installation was
recently fixed, by 452309533805 (in ports) plus changes in pkg 2.4.
These need new packages built before they will correctly install,
including into VM images generated as part of the FreeBSD release
process.
Unfortunately with the release scheduled for just a few weeks away
and generally slow arm64 package building, there isn't time for a
full pkg set rebuild; so bump a handful of ports which are used in
the release process so that they will be rebuilt.
Users who are not building VM images using the "no-root" pathway
(aka using a METALOG index of the disk image) are not affected by
this; we doubt anyone other than re@ will notice.
With hat: re@
Discussed with: bapt, antoine
sysutils/py-google-compute-engine: revive port
This reverts commit 5a7ff5102154b08055c37868810192a9dca8044b and uses
www/py-boto3 instead of the removed devel/py-boto, and releng-gce@
assumes maintainership.
This is meant to be a temporary measure as we are exploring alternatives
for GCE support.
MFH: 2025Q2
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/py-google-compute-engine: Fix google_set_hostname script.
- Remove duplicated copy of the script
- Use -i '' instead of -i for inplace sed(1).
sysutils/py-google-compute-engine: disable boto
This avoids breakage when running with python3
PR: 237877
Submitted by: Lucas Kanashiro <lucas.kanashiro@collabora.com> (maintainer)
MFH: 2019Q2
sysutils/py-google-compute-engine: update to 20190416 [1]
This fixes a python3 runtime issue [1]
While here, pull in missing dependency in python3 case [2]
PR: 237505 [1]
PR: 237203 [2]
Submitted by: Lucas Kanashiro <lucas.kanashiro@collabora.com> (maintainer) [1]
Submitted by: Miroslav Lachman <000.fbsd@quip.cz> [2]
Approved by: Lucas Kanashiro <lucas.kanashiro@collabora.com> (maintainer) [2]
Patch to add missing config and take the maintainership
Two new variables was added to instance_config.cfg file
in version 2.8.13 to allow the addition and removal of
users from groups.
I am also taking over the maintainership of this packages
as previously discussed with Helen.
Bump PORTREVISION.
PR: 236500
Submitted by: Lucas Kanashiro <lucas.kanashiro@collabora.com>
Approved by: Helen Koike <helen.koike@collabora.com> (maintainer)
sysutils/py-google-compute-engine: update to 2.8.6
PR: 232439
Submitted by: Lucas Kanashiro <lucas.kanashiro@collabora.com>
Approved by: Helen Koike <helen.koike@collabora.com> (maintainer, earlier
version of patch)
sysutils/py-google-compute-engine: remove patches for InstanceSetup
While here, pet portlint by fixing shebang and bump PORTREVISION.
PR: 230741
Submitted by: Helen Koike <helen.koike@collabora.com> (maintainer)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Fixed ntpd starting too early causing other services to fail at start.
Fixed error when stopping services.
PR: 222197
Submitted by: Helen Koike (maintainer)
Reported by: Vick Khera
MFH: 2017Q4
Add missing rc script, this should fix possible issues with ip forwarding
PR: 221917
Submitted by: Helen Koike (maintainer)
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D12207
Google Compute Engine offers scripts and daemons which runs in the
background and provides the following services:
- Accounts daemon to setup and manage user accounts, and to enable SSH key based
authentication.
- Clock skew daemon to keep the system clock in sync after VM start and stop
events.
- Instance setup scripts to execute VM configuration scripts during boot.
- IP forwarding daemon that integrates network load balancing with forwarding
rule changes into the guest.
- Metadata scripts to run user provided scripts at VM startup and shutdown.
- Network setup service to enable multiple network interfaces on boot.
WWW: https://github.com/GoogleCloudPlatform/compute-image-packages
PR: 219687
Submitted by: Helen Koike (maintainer)
Reviewed by: matthew (mentor), koobs, sunpoet, swills, julian
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D12077