[arch-commits] Commit in cloud-init/repos/community-any (6 files)

Christian Rebischke shibumi at archlinux.org
Wed Aug 5 19:21:29 UTC 2020


    Date: Wednesday, August 5, 2020 @ 19:21:29
  Author: shibumi
Revision: 670319

archrelease: copy trunk to community-any

Added:
  cloud-init/repos/community-any/PKGBUILD
    (from rev 670318, cloud-init/trunk/PKGBUILD)
  cloud-init/repos/community-any/archlinux.cloud.cfg
    (from rev 670318, cloud-init/trunk/archlinux.cloud.cfg)
  cloud-init/repos/community-any/fix-lib.patch
    (from rev 670318, cloud-init/trunk/fix-lib.patch)
Deleted:
  cloud-init/repos/community-any/PKGBUILD
  cloud-init/repos/community-any/archlinux.cloud.cfg
  cloud-init/repos/community-any/fix-lib.patch

---------------------+
 PKGBUILD            |   92 +++++++++++++++++++++----------------------
 archlinux.cloud.cfg |  106 +++++++++++++++++++++++++-------------------------
 fix-lib.patch       |   22 +++++-----
 3 files changed, 110 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 19:21:20 UTC (rev 670318)
+++ PKGBUILD	2020-08-05 19:21:29 UTC (rev 670319)
@@ -1,46 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor:  kpcyrd <git at rxv.cc>
-# Contributor: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: flaccid aka Chris Fordham <chris at fordham.id.au>
-# Contributor: Sparadox <etienne.lafarge at gmail.com>
-
-pkgname=cloud-init
-pkgver=19.3
-pkgrel=2
-pkgdesc="The standard for customising cloud instances"
-arch=('any')
-url="https://cloud-init.io"
-license=('GPL3')
-depends=('systemd' 'sudo' 'python-yaml' 'python-prettytable'
-  'python-oauthlib' 'python-configobj'
-  'python-jsonschema' 'python-jsonpatch' 'net-tools'
-  'python-requests' 'python-oauthlib' 'python-jinja' 'python-six'
-  'netplan' 'dhclient')
-makedepends=('python' 'python-setuptools')
-backup=('etc/cloud/cloud.cfg' 'etc/cloud/cloud.cfg.d/05_logging.cfg')
-source=("https://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
-  'fix-lib.patch'
-  'archlinux.cloud.cfg')
-sha512sums=('4b2c7dbcfeeaa9abc097e4f89035009fe839347041ab93cf33593bf31add3f6e6744cf8cd080de4d937b7e1aa50026f109c8f9240452dbff331b4d477d558e2d'
-            '6c435fbe1e0a7093b79f8bb3789b05a39afd1e43b7ff96f13e68c9ad16311cc58270b947bae574cfdc3d2e27c7258789880a101c9bdf2c3c141bcbedc47a8a4b'
-            '915cbe0da65e754d23661f9b6d5680ed6395fab3df3a9946e51920edcf4191a4fa5475260f5a744a1962801b69f04a583bf9db8ca11c4b385aea8d92d7f09f41')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/fix-lib.patch"
-  sed -e 's:/etc/systemd:/usr/lib/systemd:g' -e 's:\"/lib\":\"/usr/lib\":g' -i setup.py
-}
-
-# This checks need: python-mock, python-httpretty
-# Due to a bug unittest2 is used even when python3 is used for building
-# So let's wait until cloud-init implemented a try/except for python3 builds
-# check() {
-#   cd "${pkgname}"-"${pkgver}"
-#   nosetests tests/unittests/
-# }
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python ./setup.py install --root="${pkgdir}" -O1 --init-system systemd
-}

Copied: cloud-init/repos/community-any/PKGBUILD (from rev 670318, cloud-init/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-05 19:21:29 UTC (rev 670319)
@@ -0,0 +1,46 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor:  kpcyrd <git at rxv.cc>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: flaccid aka Chris Fordham <chris at fordham.id.au>
+# Contributor: Sparadox <etienne.lafarge at gmail.com>
+
+pkgname=cloud-init
+pkgver=20.2
+pkgrel=1
+pkgdesc="The standard for customising cloud instances"
+arch=('any')
+url="https://cloud-init.io"
+license=('GPL3')
+depends=('systemd' 'sudo' 'python-yaml' 'python-prettytable'
+  'python-oauthlib' 'python-configobj'
+  'python-jsonschema' 'python-jsonpatch' 'net-tools'
+  'python-requests' 'python-oauthlib' 'python-jinja' 'python-six'
+  'netplan' 'dhclient')
+makedepends=('python' 'python-setuptools')
+backup=('etc/cloud/cloud.cfg' 'etc/cloud/cloud.cfg.d/05_logging.cfg')
+source=("https://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
+  'fix-lib.patch'
+  'archlinux.cloud.cfg')
+sha512sums=('2b63d435b162b6db232121959dc2e5fa59c7cc8916fca3bccb637dd5e583931930f6b4e0a22b961ee71058f518a090c0a636da8147b999acdaa06cd2fc3ee51c'
+            '6c435fbe1e0a7093b79f8bb3789b05a39afd1e43b7ff96f13e68c9ad16311cc58270b947bae574cfdc3d2e27c7258789880a101c9bdf2c3c141bcbedc47a8a4b'
+            '915cbe0da65e754d23661f9b6d5680ed6395fab3df3a9946e51920edcf4191a4fa5475260f5a744a1962801b69f04a583bf9db8ca11c4b385aea8d92d7f09f41')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/fix-lib.patch"
+  sed -e 's:/etc/systemd:/usr/lib/systemd:g' -e 's:\"/lib\":\"/usr/lib\":g' -i setup.py
+}
+
+# This checks need: python-mock, python-httpretty
+# Due to a bug unittest2 is used even when python3 is used for building
+# So let's wait until cloud-init implemented a try/except for python3 builds
+# check() {
+#   cd "${pkgname}"-"${pkgver}"
+#   nosetests tests/unittests/
+# }
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python ./setup.py install --root="${pkgdir}" -O1 --init-system systemd
+}

Deleted: archlinux.cloud.cfg
===================================================================
--- archlinux.cloud.cfg	2020-08-05 19:21:20 UTC (rev 670318)
+++ archlinux.cloud.cfg	2020-08-05 19:21:29 UTC (rev 670319)
@@ -1,53 +0,0 @@
-##
-### Arch Linux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules.
-##
-
-# Not using additional user / sudoers scheme.
-disable_root: false
-
-# Allow cloud-init to set the hostname.
-preserve_hostname: false
-
-ssh_genkeytypes: ['dsa', 'rsa', 'ecdsa', 'ed25519']
-
-# The modules that run in the 'init' stage.
-cloud_init_modules:
- - bootcmd
- - write-files
- - set_hostname
- - update_hostname
- - update_etc_hosts
- - users-groups
- - ssh
-
-# The modules that run in the 'config' stage.
-cloud_config_modules:
- - runcmd
-
-# The modules that run in the 'final' stage.
-cloud_final_modules:
- - rightscale_userdata
- - scripts-per-once
- - scripts-per-boot
- - scripts-per-instance
- - scripts-user
- - ssh-authkey-fingerprints
- - keys-to-console
- - final-message
-
-# root:log matches the rest of the logs on Arch
-syslog_fix_perms: root:log
-
-system_info:
-   distro: arch
-   default_user:
-     name: archlinux
-     lock_passwd: True
-     gecos: Archlinux
-     groups: [users, power, audio, video, wheel]
-     sudo: ["ALL=(ALL) NOPASSWD:ALL"]
-     shell: /bin/bash
-   paths:
-      cloud_dir: /var/lib/cloud/
-      templates_dir: /etc/cloud/templates/
-   ssh_svcname: sshd

Copied: cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 670318, cloud-init/trunk/archlinux.cloud.cfg)
===================================================================
--- archlinux.cloud.cfg	                        (rev 0)
+++ archlinux.cloud.cfg	2020-08-05 19:21:29 UTC (rev 670319)
@@ -0,0 +1,53 @@
+##
+### Arch Linux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules.
+##
+
+# Not using additional user / sudoers scheme.
+disable_root: false
+
+# Allow cloud-init to set the hostname.
+preserve_hostname: false
+
+ssh_genkeytypes: ['dsa', 'rsa', 'ecdsa', 'ed25519']
+
+# The modules that run in the 'init' stage.
+cloud_init_modules:
+ - bootcmd
+ - write-files
+ - set_hostname
+ - update_hostname
+ - update_etc_hosts
+ - users-groups
+ - ssh
+
+# The modules that run in the 'config' stage.
+cloud_config_modules:
+ - runcmd
+
+# The modules that run in the 'final' stage.
+cloud_final_modules:
+ - rightscale_userdata
+ - scripts-per-once
+ - scripts-per-boot
+ - scripts-per-instance
+ - scripts-user
+ - ssh-authkey-fingerprints
+ - keys-to-console
+ - final-message
+
+# root:log matches the rest of the logs on Arch
+syslog_fix_perms: root:log
+
+system_info:
+   distro: arch
+   default_user:
+     name: archlinux
+     lock_passwd: True
+     gecos: Archlinux
+     groups: [users, power, audio, video, wheel]
+     sudo: ["ALL=(ALL) NOPASSWD:ALL"]
+     shell: /bin/bash
+   paths:
+      cloud_dir: /var/lib/cloud/
+      templates_dir: /etc/cloud/templates/
+   ssh_svcname: sshd

Deleted: fix-lib.patch
===================================================================
--- fix-lib.patch	2020-08-05 19:21:20 UTC (rev 670318)
+++ fix-lib.patch	2020-08-05 19:21:29 UTC (rev 670319)
@@ -1,11 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -151,7 +151,7 @@ INITSYS_TYPES = sorted([f.partition(".")[0] for f in INITSYS_ROOTS.keys()])
- USR = "usr"
- ETC = "etc"
- USR_LIB_EXEC = "usr/lib"
--LIB = "lib"
-+LIB = "usr/lib"
- if os.uname()[0] == 'FreeBSD':
-     USR = "usr/local"
-     USR_LIB_EXEC = "usr/local/lib"

Copied: cloud-init/repos/community-any/fix-lib.patch (from rev 670318, cloud-init/trunk/fix-lib.patch)
===================================================================
--- fix-lib.patch	                        (rev 0)
+++ fix-lib.patch	2020-08-05 19:21:29 UTC (rev 670319)
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -151,7 +151,7 @@ INITSYS_TYPES = sorted([f.partition(".")[0] for f in INITSYS_ROOTS.keys()])
+ USR = "usr"
+ ETC = "etc"
+ USR_LIB_EXEC = "usr/lib"
+-LIB = "lib"
++LIB = "usr/lib"
+ if os.uname()[0] == 'FreeBSD':
+     USR = "usr/local"
+     USR_LIB_EXEC = "usr/local/lib"


More information about the arch-commits mailing list