From a46960b1350961e89ff03494d21f6616b7803e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mina=20Gali=C4=87?= Date: Wed, 14 Sep 2022 22:16:04 +0100 Subject: net/cloud-init-devel: [New port] Customize cloud instances Cloud-init is the industry standard multi-distribution method for cross-platform cloud instance initialization. It is supported across all major public cloud providers, provisioning systems for private cloud infrastructure, and bare-metal installations. This is the development version, it follows the git HEAD. WWW: https://cloud-init.io/ PR: 266847 Sponsored by: The FreeBSD Foundation Co-authored-by: Joseph Mingrone --- net/cloud-init-devel/files/patch-setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/cloud-init-devel/files/patch-setup.py (limited to 'net/cloud-init-devel/files/patch-setup.py') diff --git a/net/cloud-init-devel/files/patch-setup.py b/net/cloud-init-devel/files/patch-setup.py new file mode 100644 index 000000000000..c94715dc97c6 --- /dev/null +++ b/net/cloud-init-devel/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-03-17 15:40:30 UTC ++++ setup.py +@@ -153,7 +153,7 @@ INITSYS_TYPES = sorted([f.partition(".")[0] for f in I + # Install everything in the right location and take care of Linux (default) and + # FreeBSD systems. + USR = "usr" +-ETC = "etc" ++ETC = "%%PREFIX%%/etc" + USR_LIB_EXEC = "usr/lib" + LIB = "lib" + if os.uname()[0] in ["FreeBSD", "DragonFly"]: -- cgit v1.2.3