Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud-init: new, 24.1.4-git240513 #5995

Merged
merged 3 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions app-admin/cloud-init/autobuild/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
abinfo "Building cloud-init"

python3 -m build --wheel --no-isolation -C--distro=aosc -C--prefix=/usr

abinfo "Installing cloud-init"
python3 -m installer --destdir="$PKGDIR" $SRCDIR/dist/*.whl

abinfo "Creating necessary directories"

install -vDm 644 $SRCDIR/config/cloud.cfg.d/* -t "$PKGDIR/etc/cloud/cloud.cfg.d/"
$SRCDIR/tools/render-template --variant aosc $SRCDIR/config/cloud.cfg.tmpl "$PKGDIR/etc/cloud/cloud.cfg"
install -vDm 644 $SRCDIR/templates/*.tmpl -t "$PKGDIR/etc/cloud/templates/"
install -vDm 755 $SRCDIR/tools/{ds-identify,hook-hotplug,uncloud-init,write-ssh-key-fingerprints} -t "$PKGDIR/usr/lib/$PKGNAME/"
install -vDm 644 $SRCDIR/doc/*.txt -t "$PKGDIR/usr/share/doc/$PKGNAME/"
install -vDm 644 $SRCDIR/doc/examples/*.txt -t "$PKGDIR/usr/share/doc/$PKGNAME/examples/"
install -vDm 644 $SRCDIR/doc/examples/seed/* -t "$PKGDIR/usr/share/doc/$PKGNAME/examples/seed/"
install -vDm 644 $SRCDIR/doc/man/*.1 -t "$PKGDIR/usr/share/man/man1/"
install -vDm 655 $SRCDIR/bash_completion/$PKGNAME -t "$PKGDIR/usr/share/bash-completion/completions/"

install -vDm 644 $SRCDIR/udev/*.rules -t "$PKGDIR/usr/lib/udev/rules.d/"
install -vdm 755 "$PKGDIR/usr/lib/systemd/system"{,-generators}

for _file in cloud-{config,final,init-local,init}.service; do
$SRCDIR/tools/render-template --variant aosc $SRCDIR/systemd/$_file.tmpl "$PKGDIR/usr/lib/systemd/system/$_file"
done

install -vDm 644 $SRCDIR/systemd/*.{service,socket,target} "$PKGDIR/usr/lib/systemd/system/"
$SRCDIR/tools/render-template --variant aosc $SRCDIR/systemd/cloud-init-generator.tmpl "$PKGDIR/usr/lib/systemd/system-generators/cloud-init-generator"
chmod 755 "$PKGDIR/usr/lib/systemd/system-generators/cloud-init-generator"
install -vDm 644 $SRCDIR/systemd/disable-sshd-keygen-if-cloud-init-active.conf -t "$PKGDIR/usr/lib/systemd/system/sshd-keygen@.service.d/"
7 changes: 7 additions & 0 deletions app-admin/cloud-init/autobuild/defines
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PKGNAME=cloud-init
PKGSEC=admin
PKGDEP="python-3 python-build wheel configobj jinja2 netifaces pyserial pyyaml requests typing-extensions jsonschema jsonpatch oauthlib"
BUILDDEP="python-installer"
PKGDES="Cloud instance initialization"

ABHOST=noarch
4 changes: 4 additions & 0 deletions app-admin/cloud-init/spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VER=24.1.4+git20240513
SRCS="git::commit=e98cae2::https://github.com/AOSC-Tracking/cloud-init"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=11545"
9 changes: 9 additions & 0 deletions lang-python/jsonpatch/autobuild/defines
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PKGNAME=jsonpatch
PKGSEC=python
PKGDEP="setuptools jsonpointer"
PKGDES="An implementation of the JSON Patch format"

ABHOST=noarch
ABTYPE=python

NOPYTHON2=1
4 changes: 4 additions & 0 deletions lang-python/jsonpatch/spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VER=1.33
SRCS="git::commit=tags/v$VER::https://github.com/stefankoegl/python-json-patch"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=3896"
9 changes: 9 additions & 0 deletions lang-python/oauthlib/autobuild/defines
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PKGNAME=oauthlib
PKGSEC=python
PKGDEP="setuptools cryptography"
PKGDES="A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"

ABHOST=noarch
ABTYPE=python

NOPYTHON2=1
4 changes: 4 additions & 0 deletions lang-python/oauthlib/spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VER=3.2.2
SRCS="tbl::https://files.pythonhosted.org/packages/source/o/oauthlib/oauthlib-$VER.tar.gz"
CHKSUMS="sha256::9859c40929662bec5d64f34d01c99e093149682a3f38915dc0655d5a633dd918"
CHKUPDATE="anitya::id=5377"