net/cloud-init: Update 22.4

ChangeLog:
https://github.com/canonical/cloud-init/blob/ubuntu/bionic-22.4.x/ChangeLog

PR:		268322
Reported by:	andrey@bsdnir.info (maintainer)
This commit is contained in:
Andrey Fesenko 2022-12-12 07:45:35 +01:00 committed by Fernando Apesteguía
parent 97db2ed202
commit 9277c8e5b2
3 changed files with 16 additions and 7 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= cloud-init
DISTVERSION= 22.3.4
DISTVERSION= 22.4.2
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -28,14 +28,13 @@ RUN_DEPENDS= sudo>0:security/sudo \
USES= python:3.6+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= canonical
USE_PYTHON= autoplist distutils
PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd"
SHEBANG_FILES= tools/validate-yaml.py tools/read-dependencies \
tools/read-version tools/hook-hotplug
USE_PYTHON= autoplist distutils
ETCDIR= ${PREFIX}/etc/cloud
PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd"
NO_ARCH= yes
post-patch:

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1666819675
SHA256 (canonical-cloud-init-22.3.4_GH0.tar.gz) = e601a3ce278d6b5c0d0cfbffe2c9a4fa71a5e4ff8589b0f63b6868d1177e0eaa
SIZE (canonical-cloud-init-22.3.4_GH0.tar.gz) = 1425504
TIMESTAMP = 1670787766
SHA256 (canonical-cloud-init-22.4.2_GH0.tar.gz) = 9542bc57138f50bcbbb47283c8fc57762d0dfb4bdd0829a02c2104c26ca5e1ac
SIZE (canonical-cloud-init-22.4.2_GH0.tar.gz) = 1511043

View File

@ -0,0 +1,10 @@
--- cloudinit/distros/networking.py.orig 2022-12-11 19:43:15 UTC
+++ cloudinit/distros/networking.py
@@ -190,6 +190,7 @@ class BSDNetworking(Networking):
self.ifc = ifconfig.Ifconfig()
self.ifs = {}
self._update_ifs()
+ super().__init__()
def _update_ifs(self):
ifconf = subp.subp(["ifconfig", "-a"])