tis-podman-cli icon

podman

Silent install package for podman

5.5.0-1

  • package: tis-podman-cli
  • name: podman
  • version: 5.5.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: 24.54 Mo
  • installed_size: 64.85 Mo
  • homepage : https://podman.io/

package           : tis-podman-cli
version           : 5.5.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      : 0a891b8e-3875-447d-b9bf-ba780668c56a
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-05-19T17:02:34.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         : JM7//LcCBjoHqe/ATAszMj398/x8rcTWP3QwDtYW0/NPPoHAez29S8TLUxTJtIeZFn1b5pfYbOHlEprgGE1ZfZo/+oXuDYWsiCamvYpAJafJbbt+eBaSkh2UmDHYyN57rS2OFYKKl5zg8gd6IvAB5rxe29MxaFeuzMMvhRDlBOpSb7F/rxr1B3HyFxbznsQtPwNL/cONGcUQPAq0Kq4pcGzBR7ALxpS6aHY9F/ol2PXIsNHgtiKhB78S58yJfzdk4LSEhfW+9WXnckOhCqKEVNmBPpXSSLYnPs4JC+ds14jSWY/ILRXIwossNGg8zTz2FJnQemKxgvnLtl0Xy+K4sg==

# -*- 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
e54abe9776e7c7fb81c447d2f59cba3fcf22263e997e5564402df0524611dce4 : WAPT/control
f457e972a6782b75c31b9329a2ea50a0043341dae1d9a3aaa608dc17ddec967b : WAPT/icon.png
191f3e5c1762ee3df6e853d8484a00be1867a560ea9b72b6251dbb6c6dff8802 : luti.json
b49f3af40cdcca60fd9315e6ebaba6d9ecb41285a4ff72c2462e9f4f8fb3fb03 : podman-remote-static-linux_amd64.tar.gz
505dbcc45b31f4d3c1e44af1d14e924928b77f74033c6e1d8808659f7cb66dad : setup.py
067975c7ad762d9f8e7034430224190d9fa27905f55aba0a226a5e498a7408dc : update_package.py