tis-podman-cli icon

podman

Silent install package for podman

5.5.2-2

  • package: tis-podman-cli
  • name: podman
  • version: 5.5.2-2
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Red Hat Inc.
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: podman
  • architecture: all
  • signature_date:
  • size: 32.54 Mo
  • installed_size: 64.85 Mo
  • homepage : https://podman.io/

package           : tis-podman-cli
version           : 5.5.2-2
architecture      : all
section           : base
priority          : optional
name              : podman
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Podman ("POD manager") is an open-source tool for developing, managing and running containers on Linux systems
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://podman.io/
installed_size    : 64854413
impacted_process  : podman
description_fr    : Podman ("POD manager") est un outil open-source pour le développement, la gestion et l'exécution de conteneurs sur les systèmes Linux
description_pl    : Podman ("POD manager") to narzędzie typu open-source do tworzenia, zarządzania i uruchamiania kontenerów w systemach Linux
description_de    : Podman ("POD manager") ist ein Open-Source-Tool für die Entwicklung, Verwaltung und Ausführung von Containern auf Linux-Systemen
description_es    : Podman ("POD manager") es una herramienta de código abierto para desarrollar, gestionar y ejecutar contenedores en sistemas Linux
description_pt    : O Podman ("POD manager") é uma ferramenta de código aberto para desenvolver, gerir e executar contentores em sistemas Linux
description_it    : Podman ("POD manager") è uno strumento open-source per lo sviluppo, la gestione e l'esecuzione di container su sistemi Linux
description_nl    : Podman ("POD manager") is een open-source tool voor het ontwikkelen, beheren en uitvoeren van containers op Linux-systemen
description_ru    : Podman ("менеджер POD") - это инструмент с открытым исходным кодом для разработки, управления и запуска контейнеров в системах Linux
audit_schedule    : 
editor            : Red Hat Inc.
keywords          : pods,containers
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_public
homepage          : https://podman.io/
package_uuid      : 4c1d5d15-aa06-44a6-869b-d3d1a03ce341
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : f457e972a6782b75c31b9329a2ea50a0043341dae1d9a3aaa608dc17ddec967b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-29T18:00:14.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : DiHKeF5yqioRS4vdayMFobwmi1VzEioeFRSiEI+LDTR6hKU1yb92OATcrgEVNmvtr96S++fSQ5sT9wtkSqybsYyGWCpRdtcyKdsACHKHa9ofC6z+th1xwoPY6lJWGX+Vqvphdbz99uqlVGrUTvYRDV5qMm/v7lwZFq6I1Au0cxd/ncxSOj9rzMV7K/DLe8iATwHhLfgKLkGQXpUalk7VFVwY/6o4MKvHGqxW669Gx7UaM8fNzTeeTYSxxdWSt0AIdwL9Epr4CSPrx8DzyzDGBE13OVdngW567Ucmyj5gNlSoDZrcM1Hy6twD0n90dbfADNXdhiCkF/tBUBj+tTZC/Q==

# -*- coding: utf-8 -*-
from setuphelpers import *


app_name = "podman"
app_dir = makepath(programfiles, app_name)
app_path = makepath(app_dir, f"{app_name}.exe")


def install():
    # Declaring local variables
    zip_name = glob.glob("podman-*-windows_amd64.zip")[0]

    unzipped_dir = app_name
    version = control.get_software_version()
    app_install_dir = makepath(programfiles, f"podman-{version}")

    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_install_dir) and force:
        remove_tree(app_install_dir)
    print("Extracting: %s to: %s" % (zip_name, app_install_dir))
    unzip(zip_name, makepath(programfiles))

def uninstall():
    version = control.get_software_version()
    app_install_dir = makepath(programfiles, f"podman-{version}")

    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_install_dir):
        remove_tree(app_install_dir)

# -*- coding: utf-8 -*-
from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": "windows_amd64.zip", "macos": ".dmg"}
    api_url = "https://api.github.com/repos/containers/podman/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    zip_found = False  # Flag pour indiquer la découverte d'un fichier .zip
    for release in releases_dict:
        if zip_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".zip") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].replace("v", "")
                zip_found = True  # Mettre à jour le flag pour indiquer qu'un zip a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.zip"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2a0b803753e75dfacc129b0a63b6109ceef62de4273a27f2a248163add59d7ce : WAPT/control
f457e972a6782b75c31b9329a2ea50a0043341dae1d9a3aaa608dc17ddec967b : WAPT/icon.png
49d2b02885bd3e70e9df9af4e33dddaccbc7feb9c256a759f36b9721e2552162 : luti.json
2e63aa82cf0b57305e3b8074cf46c09eab85d04bfa81330697dc07d127b2197a : podman-remote-release-windows_amd64.zip
9cf1b2cea11beada792826556e251a2ad1ac335f8e3a86ba175f8240ae882b25 : setup.py
c5a68e1d6872c2c360145922026897cc8eb24515683f3a2af803df6581178399 : update_package.py