Commit Graph

36 Commits

Author SHA1 Message Date
Oskari Rauta 551ff0f810 podman: update to v5.0.0
Major version update to podman

 - Obsolete patch removed
 - patch 010-do-not-build-docs.patch refreshed

Changelog: https://github.com/containers/podman/releases/tag/v5.0.0

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2024-03-26 00:26:14 +08:00
Oskari Rauta d5c99d7387 podman: update to 4.9.3
Changelogs: https://github.com/containers/podman/releases

Patches refreshed

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2024-02-17 13:21:31 +08:00
Oskari Rauta 9ab2b8a04d podman: update to version 4.8.0
Changelog: https://github.com/containers/podman/releases

I also updated containers.conf - it has gotten quite a many new
options. I added crun to depends, every other distribution
seems to ship it with podman, and after all it is a default
OCI Container Runtime for podman anyway and has a super low
footprint, so shouldn't be a problem for anyone running
containers, after all you need some storage for that anyway.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-12-01 18:00:17 +08:00
Oskari Rauta e25d417f1a podman: update to 4.7.1
Bugfixes

 - Fixed a bug involving non-English locales of Windows where machine installs using user-mode networking were rejected due to erroneous version detection (#20209).
 - Fixed a regression in --env-file handling (#19565).
 - Fixed a bug where podman inspect would fail when stat'ing a device failed.

API
 - The network list compat API endpoint is now much faster (#20035).

Openwrt updates: added patch to allow building with musl-1.2.4
Patch source is from gentoo c4c349f11a/app-containers/podman/files/podman-4.5.0-fix-build-with-musl-1.2.4.patch

Issue was discussed by @jefferyto at mattn/go-sqlite3#1177

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-10-14 11:20:27 +08:00
Oskari Rauta 73c053c00f podman: update to 4.7.0
A lot of changes. Changelog available at https://github.com/containers/podman/releases/tag/v4.7.0

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-10-01 22:13:14 +01:00
Oskari Rauta 500e484f61 podman: depend on catatonit
podman still seems to use catatonit with
rootless containers. It seems that it is
possible to use alternatives, such as tini,
but maybe go the same way they went on mainstream.

This PR just adds catatonit to depends.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-09-17 06:55:26 +03:00
Oskari Rauta 56930920a4 podman: update to 4.6.2
patch refreshed.

Changelog:

 - Fixed a performance issue when calculating diff sizes in overlay. The podman system df command should see a significant performance improvement.
 - Fixed a bug where containers in a pod would use the pod restart policy over the set container restart policy.
 - Fixed a bug in the Compat Build endpoint where the pull query parameter did not parse 0/1 as a boolean.
 - Updated the containers/storage library to v1.48.1

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-09-16 21:43:15 +08:00
Oskari Rauta 4f8c885fb1 podman: update to v4.5.1
Contains several bug fixes.
Package now contains additional tool quadlet.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-06-12 01:14:13 +08:00
Tianling Shen 3570a61cd3 podman: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-19 22:30:41 +08:00
Oskari Rauta f95cd0b387 podman: update to 4.5.0
- added btrfs-tools as a build depency
 - switch from cni networking to recommended new standard, netavark.
 - drop iptables config option (netavark handles that now)
 - patch refreshed

List of changes: https://github.com/containers/podman/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-14 18:52:45 +08:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Oskari Rauta 4eac9e8a2f podman: update to v4.4.2
Security:
 - This release fixes CVE-2023-0778, which allowed a malicious user to potentially replace a normal file in a volume with a symlink while exporting the volume, allowing for access to arbitrary files on the host file system.

Bugfixes:
 - Fixed a bug where containers started via the podman-kube systemd template would always use the "passthrough" log driver (#17482).
 - Fixed a bug where pulls would unexpectedly encounter an EOF error. Now, Podman automatically transparently resumes aborted pull connections.
 - Fixed a race condition in Podman's signal proxy.

Misc:
 - Updated the containers/image library to v5.24.1.

Patch also refreshed

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-02-27 09:29:45 -08:00
Oskari Rauta 0b4185ab92 podman: update 4.4.1
patch refreshed.

Changes
 - Added the podman-systemd.unit man page, which can also be displayed using man quadlet (#17349).
 - Documented journald identifiers used in the journald backend for the podman events command.

Bugfixes
 - Fixed a bug where the default handling of pids-limit was incorrect.
 - Fixed a bug where parallel calls to make docs crashed (#17322).
 - Fixed a regression in the podman kube play command where existing resources got mistakenly removed.

Full list of changes: [Release notes](https://github.com/containers/podman/blob/main/RELEASE_NOTES.md)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-02-17 13:14:39 +08:00
Oskari Rauta ce7deb506d podman: update to 4.3.1
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-01-16 19:56:29 +00:00
Oskari Rauta ce40a5a04e podman: update to 4.1.0
Once again, a lot of changes.
List of changes available at:
https://github.com/containers/podman/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-05-10 00:15:39 +03:00
Oskari Rauta 21d2575a95 podman: updates podman package
- add missing runtime depency catatonit
 - removed SELinux variant, add config option for it instead, I do not believe we need variant of EVERY SELinux support capable software
 - add config option for iptables firewall setup in default cni network config, otherwise skip iptables part (part of nftables transition, use cni-plugins-nft for nftables fw support or better; forget about cni fw completely, instead use openwrt's own as that way your rules for containers do not disappear on firewall restart)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-16 19:39:06 -07:00
Oskari Rauta c36c8ed94c podman: update to version 4.0.2
- Patch had became obsolete, it's contents were merged to upstream. Patch removed.
 - Version updated, long list of changes is available at https://github.com/containers/podman/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-02 16:31:08 -08:00
Oskari Rauta 5ff3b25509 podman: update to v3.4.4
list of changes: https://github.com/containers/podman/releases

Added patch for compiling with musl. Patch can be removed on next
release as it is already merged to podman git but not on this release.
Patch moves definition in source so definition is available before it
is being used.

Patch source: https://github.com/containers/podman/pull/12564

Patch re-created with quilt.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-12-16 10:15:51 +01:00
Oskari Rauta b011f3faf8 podman: update to 3.4.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-11-24 19:39:44 +00:00
Oskari Rauta 3e5761d6cd podman: update to 3.4.1
A lot of changes since 3.3.1.

Full (long) lists of release notes between
versions are available at
https://github.com/containers/podman/releases

containers.conf updated

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-11-05 07:23:33 +01:00
Huangbin Zhan e6e770b268 treewide: fix broken conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2021-10-27 23:18:42 -07:00
W. Michael Petullo 416eced174 podman: update to 3.3.1
Earlier versions of podman did not make use of TMPDIR when running "podman
run ...". Podman's default, /var/tmp, presents a problem to rootless
use since OpenWrt's /var/tmp does not permit writes by non-root users.
Podman 3.3.1 makes full use of TMPDIR.

This is part of an attempt to get rootless podman to work on OpenWrt.
See https://github.com/openwrt/packages/issues/15096.

See also the upstream issue at
https://github.com/containers/podman/issues/10698.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-09-14 20:16:45 -07:00
W. Michael Petullo a41556af4f podman: change permissions on /usr/share/containers/seccomp.json
Running podman as users other than root seems to require that those
users can read /usr/share/containers/seccomp.json. This change sets the
permissions on that file to match those used on Fedora.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-06-16 22:08:01 -05:00
Oskari Rauta e565bebf41 podman: update to 3.2.0
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-06-08 02:57:50 +03:00
W. Michael Petullo f51ef46aa6 podman: change permissions on /etc/containers
Running podman as users other than root seems to require that those
users can read the configuration files in /etc/containers. This change
sets the permissions of /etc/containers and its contents to match those
used on Fedora.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-05-22 14:15:05 +01:00
Oskari Rauta b6299c763a podman: bumb version to 3.1.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-05-18 12:30:31 +03:00
Oskari Rauta 5bb8844fe3 podman: update to 3.1.1
- Add support for AppArmor
 - Gracefully stop containers and pods on shutdown

I found out that If you change location of containers to persistent storage instead of tmpfs, starting them will fail unless they have been stopped. If this is the case that reboot has occurred before pods and containers have been stopped, they cannot be started, they have to be removed and re-created. Change in initscript tries to avoid that. Even if containers are running at tmpfs, this won't hurt. Still, if something happens and system hangs/reboots/etc, script won't save you from that. It's just a attempt to make things better.
I also enabled AppArmor support for future possibilities.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-04-21 04:38:35 +03:00
Oskari Rauta abce423851 podman: Add selinux variant and several improvements
* add -selinux variant which depends on libselinux
* init script for background service
* updated configurations
* maintainer change as requested

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-03-31 00:55:45 +01:00
Daniel Golle 954be76e6a podman: add 'crun' to containers.conf
Now that 'crun' has been packaged, add support for it in podman.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-30 00:21:29 +01:00
Daniel Golle 3c758231cb podman: update to version 3.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-27 02:46:13 +00:00
Daniel Golle 83d81616c5 podman: fix build on MIPS
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-15 23:37:57 +00:00
Daniel Golle 58449afd38 podman: update to version 2.2.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-12-15 18:23:18 +00:00
Daniel Golle ed426fb951
podman: improve packaging
* keep /etc/containers accross sysupgrade
* make 'runc' the default run-time for now

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-22 03:52:28 +00:00
Daniel Golle 75cb9949b7 podman: ship storage.conf and use runc by default for now
Ship podman with defaults more coherent with user expectations and
more likely to work out-of-the-box.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-19 18:00:43 +00:00
Daniel Golle cb45a0d268 podman: set PKG_USE_MIPS16:=0
podman fails to compile due to MIPS16 instructions somehow.
Disable use of MIPS16.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Daniel Golle 3b98ca2fcf podman: add new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00