tis-podman-cli icon

podman

Silent install package for podman

5.6.0-1

  • package: tis-podman-cli
  • name: podman
  • version: 5.6.0-1
  • 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: debian_based
  • impacted_process: podman
  • architecture: x64
  • signature_date:
  • size: 22.12 Mo
  • installed_size: 64.85 Mo
  • homepage : https://podman.io/

package           : tis-podman-cli
version           : 5.6.0-1
architecture      : x64
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         : debian_based
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      : 8d8829d5-0e36-4082-b27c-e79b7239d7b5
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : f457e972a6782b75c31b9329a2ea50a0043341dae1d9a3aaa608dc17ddec967b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-20T17:04:05.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         : sgXAnARWo9KKKPXbqDpr655r6WLvPJD8fTYlQdcZZDHzA7UgY6nF6rkO6UnSEytqnxmF+RKf/1TLeN66LvaUHvzp4MTa4WjcU8nojHjisyKT+jIYqgolHx4RE9WAA9c/aTMdIGMP6zcAmhmor+/n5ed80vPwZ9yURWRcF9oLdqxi53jFSxnGrWa/7gy+r7MWCQGEOG4RcQch3nHteSB9h9mtnNTo/PgRg+UiBU7xn2xSKdjrwFf16cyMCmOuvvc0vAGFdEOW+txPjWzoJgTf9x7dF1pkBu8iOxKUQeiUFnCzGkCafgPqG75cYj1/nih6b4w2P17edc6nDeEFElzycQ==

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

bin_path = makepath("/","usr","local","bin")
app_path = "/opt/podman"

def install():
    extract_path = glob.glob("podman-remote-static-linux_amd64.tar.gz")[0]
    # Removing previous symlink
    if isfile(f"{bin_path}/podman"):
        remove_file(f"{bin_path}/podman")

    # Removing previous directory
    if isdir(app_path):
        remove_tree('/opt/podman')

    mkdirs(app_path)
    run(f"tar -xf {extract_path} -C /opt/podman")

    # Creation of symlink
    os.symlink(f'{app_path}/bin/podman-remote-static-linux_amd64',f'{bin_path}/podman')
    
    if isdir(extract_path):
        remove_tree(extract_path)

def uninstall():
    # Removing of symlink
    if isfile(f"{bin_path}/podman"):
        remove_file(f"{bin_path}/podman")
    # Removing of the software
    if isdir('/opt/podman'):
        remove_tree('/opt/podman')



# -*- 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": ".exe", "debian_based" : "linux_amd64.tar.gz", "macos": ".pkg"}
    api_url = "https://api.github.com/repos/containers/podman/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    deb_found = False  # Flag pour indiquer la découverte d'un fichier .deb
    for release in releases_dict:
        if deb_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".tar.gz") 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", "")
                deb_found = True  # Mettre à jour le flag pour indiquer qu'un deb a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.deb"):
        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
365d2dc11733ee20f37e631ecd04414e601c46064a0788f550210fba8c2a88f7 : WAPT/control
f457e972a6782b75c31b9329a2ea50a0043341dae1d9a3aaa608dc17ddec967b : WAPT/icon.png
dcda3d24b51097106257b10713131e80df994d5b6658240e7557fb3f9d21e1bf : luti.json
9b21bb87f5672006e07ef4fc4ee22fa9f698ff09258a5148c90894d91832b6c5 : podman-remote-static-linux_amd64.tar.gz
505dbcc45b31f4d3c1e44af1d14e924928b77f74033c6e1d8808659f7cb66dad : setup.py
067975c7ad762d9f8e7034430224190d9fa27905f55aba0a226a5e498a7408dc : update_package.py