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:
parent
97db2ed202
commit
9277c8e5b2
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= cloud-init
|
PORTNAME= cloud-init
|
||||||
DISTVERSION= 22.3.4
|
DISTVERSION= 22.4.2
|
||||||
CATEGORIES= net python
|
CATEGORIES= net python
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
@ -28,14 +28,13 @@ RUN_DEPENDS= sudo>0:security/sudo \
|
||||||
USES= python:3.6+ shebangfix
|
USES= python:3.6+ shebangfix
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= canonical
|
GH_ACCOUNT= canonical
|
||||||
|
USE_PYTHON= autoplist distutils
|
||||||
|
PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd"
|
||||||
|
|
||||||
SHEBANG_FILES= tools/validate-yaml.py tools/read-dependencies \
|
SHEBANG_FILES= tools/validate-yaml.py tools/read-dependencies \
|
||||||
tools/read-version tools/hook-hotplug
|
tools/read-version tools/hook-hotplug
|
||||||
USE_PYTHON= autoplist distutils
|
|
||||||
ETCDIR= ${PREFIX}/etc/cloud
|
ETCDIR= ${PREFIX}/etc/cloud
|
||||||
|
|
||||||
PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd"
|
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1666819675
|
TIMESTAMP = 1670787766
|
||||||
SHA256 (canonical-cloud-init-22.3.4_GH0.tar.gz) = e601a3ce278d6b5c0d0cfbffe2c9a4fa71a5e4ff8589b0f63b6868d1177e0eaa
|
SHA256 (canonical-cloud-init-22.4.2_GH0.tar.gz) = 9542bc57138f50bcbbb47283c8fc57762d0dfb4bdd0829a02c2104c26ca5e1ac
|
||||||
SIZE (canonical-cloud-init-22.3.4_GH0.tar.gz) = 1425504
|
SIZE (canonical-cloud-init-22.4.2_GH0.tar.gz) = 1511043
|
||||||
|
|
10
net/cloud-init/files/patch-cloudinit_distros_networking.py
Normal file
10
net/cloud-init/files/patch-cloudinit_distros_networking.py
Normal 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"])
|
Loading…
Reference in New Issue
Block a user