FreeBSD Bugzilla – Attachment 236046 Details for
Bug 265975
net/cloud-init: Update to 22.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update to 22.3
cloud-init.diff (text/plain), 3.70 KB, created by
Andrey Fesenko
on 2022-08-21 16:08:25 UTC
(
hide
)
Description:
update to 22.3
Filename:
MIME Type:
Creator:
Andrey Fesenko
Created:
2022-08-21 16:08:25 UTC
Size:
3.70 KB
patch
obsolete
>diff --git a/net/cloud-init/Makefile b/net/cloud-init/Makefile >index eb4fd9923d..b9dbe25d77 100644 >--- a/net/cloud-init/Makefile >+++ b/net/cloud-init/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= cloud-init >-DISTVERSION= 21.4 >+DISTVERSION= 22.3 > CATEGORIES= net python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > >diff --git a/net/cloud-init/distinfo b/net/cloud-init/distinfo >index 60e1acba3d..6723002a46 100644 >--- a/net/cloud-init/distinfo >+++ b/net/cloud-init/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1639345579 >-SHA256 (canonical-cloud-init-21.4_GH0.tar.gz) = ff0794e94b5a21e2496c2d2b1e7ceffb8da443bcb2f86eeb9db06992c4c56e4b >-SIZE (canonical-cloud-init-21.4_GH0.tar.gz) = 1293892 >+TIMESTAMP = 1661007749 >+SHA256 (canonical-cloud-init-22.3_GH0.tar.gz) = d3c5d129e88678b3db56472a4dddc4612aa09f1c367e4f3048477f16dc0b711a >+SIZE (canonical-cloud-init-22.3_GH0.tar.gz) = 1417910 >diff --git a/net/cloud-init/files/patch-cloudinit_config_cc__salt__minion.py b/net/cloud-init/files/patch-cloudinit_config_cc__salt__minion.py >deleted file mode 100644 >index b1a65b7bd7..0000000000 >--- a/net/cloud-init/files/patch-cloudinit_config_cc__salt__minion.py >+++ /dev/null >@@ -1,21 +0,0 @@ >---- cloudinit/config/cc_salt_minion.py.orig 2021-01-15 17:33:05 UTC >-+++ cloudinit/config/cc_salt_minion.py >-@@ -46,7 +46,7 @@ specify them with ``pkg_name``, ``service_name`` and ` >- import os >- >- from cloudinit import safeyaml, subp, util >--from cloudinit.distros import rhel_util >-+from cloudinit.distros import bsd_utils >- >- >- # Note: see https://docs.saltstack.com/en/latest/topics/installation/ >-@@ -125,8 +141,7 @@ def handle(name, cfg, cloud, log, _args): >- # we need to have the salt minion service enabled in rc in order to be >- # able to start the service. this does only apply on FreeBSD servers. >- if cloud.distro.osfamily == 'freebsd': >-- rhel_util.update_sysconfig_file( >-- '/etc/rc.conf', {'salt_minion_enable': 'YES'}) >-+ bsd_utils.set_rc_config_value('salt_minion_enable', 'YES') >- >- # restart salt-minion. 'service' will start even if not started. if it >- # was started, it needs to be restarted for config change. >diff --git a/net/cloud-init/files/patch-cloudinit_settings.py b/net/cloud-init/files/patch-cloudinit_settings.py >index 45c101c4b6..d7ca2bd87f 100644 >--- a/net/cloud-init/files/patch-cloudinit_settings.py >+++ b/net/cloud-init/files/patch-cloudinit_settings.py >@@ -4,17 +4,17 @@ > CFG_ENV_NAME = "CLOUD_CFG" > > # This is expected to be a yaml formatted file >--CLOUD_CONFIG = '/etc/cloud/cloud.cfg' >-+CLOUD_CONFIG = '%%PREFIX%%/etc/cloud/cloud.cfg' >+-CLOUD_CONFIG = "/etc/cloud/cloud.cfg" >++CLOUD_CONFIG = "%%PREFIX%%/etc/cloud/cloud.cfg" > >- RUN_CLOUD_CONFIG = '/run/cloud-init/cloud.cfg' >+ RUN_CLOUD_CONFIG = "/run/cloud-init/cloud.cfg" > > @@ -50,7 +50,7 @@ CFG_BUILTIN = { >- 'system_info': { >- 'paths': { >- 'cloud_dir': '/var/lib/cloud', >-- 'templates_dir': '/etc/cloud/templates/', >-+ 'templates_dir': '%%PREFIX%%/etc/cloud/templates/', >+ "system_info": { >+ "paths": { >+ "cloud_dir": "/var/lib/cloud", >+- "templates_dir": "/etc/cloud/templates/", >++ "templates_dir": "%%PREFIX%%/etc/cloud/templates/", > }, >- 'distro': 'ubuntu', >- 'network': {'renderers': None}, >+ "distro": "ubuntu", >+ "network": {"renderers": None}, >diff --git a/net/cloud-init/files/patch-setup.py b/net/cloud-init/files/patch-setup.py >index badbe6c0eb..c94715dc97 100644 >--- a/net/cloud-init/files/patch-setup.py >+++ b/net/cloud-init/files/patch-setup.py >@@ -8,4 +8,4 @@ > +ETC = "%%PREFIX%%/etc" > USR_LIB_EXEC = "usr/lib" > LIB = "lib" >- if os.uname()[0] in ['FreeBSD', 'DragonFly']: >+ if os.uname()[0] in ["FreeBSD", "DragonFly"]:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265975
: 236046