- package: tis-infrarecorder
- name: InfraRecorder
- version: 0.53-8
- categories: Media
- maintainer: WAPT Team, Tranquil IT, Jimmy PELÉ
- editor: Christian Kindahl
- licence: GPLv3
- locale: all
- target_os: windows
- impacted_process: infrarecorder
- architecture: x64
- signature_date:
- size: 3.92 Mo
- homepage : http://infrarecorder.org/
package : tis-infrarecorder
version : 0.53-8
architecture : x64
section : base
priority : optional
name : InfraRecorder
categories : Media
maintainer : WAPT Team, Tranquil IT, Jimmy PELÉ
description : InfraRecorder is an open-source CD and DVD writing program
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://www.fosshub.com/InfraRecorder.html
installed_size :
impacted_process : infrarecorder
description_fr : InfraRecorder est un logiciel libre de gravure de CD et DVD
description_pl : InfraRecorder to program do nagrywania płyt CD i DVD o otwartym kodzie źródłowym
description_de : InfraRecorder ist ein Open-Source-CD- und DVD-Brennprogramm
description_es : InfraRecorder es un programa de grabación de CD y DVD de código abierto
description_pt : InfraRecorder é um programa de gravação de CD e DVD de código aberto
description_it : InfraRecorder è un programma open-source per la scrittura di CD e DVD
description_nl : InfraRecorder is een open-source CD en DVD schrijfprogramma
description_ru : InfraRecorder - программа для записи CD и DVD с открытым исходным кодом
audit_schedule :
editor : Christian Kindahl
keywords :
licence : GPLv3
homepage : http://infrarecorder.org/
package_uuid : 023d6f22-8af6-4f8c-941a-fe6d84add2ae
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : ce977e9627746bba4833ca683af7dbf7cae1d304115ce6d58159481efb6d9aaf
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : o2wYcYpS0rmc7TLu4VNYqqDeLy4yKmLxRcBM73a3OWLX0LsnEc5QIBYZ7NPOVxY5YQmS6zK57CtZU4ohgfUxrTNhFM/SgW1ecxNDBXsn69KVGvS4HFxoiOkHIOJq5EqNmY91mu5dcuDMKGGhId4XYt9EEneEHxlB4nTFZ/p+tIC6oXPl4D4p864aWGZWi2hsOoyaia4ABBJ+9PgFEr0s00poWVmxNbvouS9UDNfOGk/wJPJk5u2PLRtL+Nx/9oWZldE+ePcD7j4KipRAmrtky71Eqintn7t7dC4cfw1vTAgOGC0V7bxjAhnyamIjUmdetJWx6lfwKGV4fDc17JwcQQ==
signature_date : 2022-08-09T22:22:53.607083
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
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Initializing variables
package_version = control.get_software_version()
bin_name = "ir_%s_x64.msi" % package_version
# Installing the package
install_msi_if_needed(
bin_name,
min_version=package_version,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
import requests
def update_package():
print("Downloading/Updating package content from upstream binary sources")
# Initializing variables
app_name = control.name
url = "https://www.fosshub.com/InfraRecorder.html"
bin_name_string = "ir_%s_x64.msi"
# Getting proxy informations from WAPT settings
proxies = get_proxies()
version = bs_find(
url,
"dd",
"itemprop",
"softwareVersion",
proxies=proxies,
headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"},
).text
# FossHub function
url_dl = get_download_url_from_fosshub(url, file_type="64-bit Windows Installer", proxies=proxies)
latest_bin = bin_name_string % version
print("Latest %s version is: %s" % (app_name, version))
print("Download url is: %s" % url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_dl, latest_bin, proxies=proxies)
# Changing version of the package
control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
control.save_control_to_wapt()
print("Changing version to: %s in WAPT\\control" % control.version)
# Deleting outdated binaries
remove_outdated_binaries(version)
def get_download_url_from_fosshub(url, file_type="64-bit Windows Installer", proxies=None):
url_api_fosshub = "https://university.fosshub.com/projects.json"
for script in bs_find_all(
url, "script", proxies=proxies, headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"}
):
if (len(script.contents) >= 1) and ("var settings" in script.contents[0]):
var_settings = script.contents[0].replace("\n var settings =", "").replace("\n", "")
break
for readapifosshub in json.loads(wgets(url_api_fosshub, proxies=proxies))["projects"]:
if readapifosshub["url"].endswith(url.split("//")[-1]):
for filename in readapifosshub["files"]:
if filename["type"] == file_type:
file_name = filename["name"]
settings = json.loads(var_settings)
apiUrl = "https://api." + settings["domain"]
downloadUrl = apiUrl + "/download/"
def forming_fosshub_url(a, b, c, d, e):
params = {"projectId": a, "releaseId": b, "projectUri": c, "fileName": d, "source": e}
r = requests.post(downloadUrl, data=params)
return r
pool = settings["pool"]
f = pool["f"]
for c in f:
r = forming_fosshub_url(pool["p"], c["r"], pool["u"], file_name, pool["c"])
r = forming_fosshub_url(pool["p"], c["r"], pool["u"], file_name, pool["c"])
rj = r.json()
return rj["data"]["url"]
cb30d73c34bb5779069ab762376cce4dabd1210eaff8b7ce9b9f9a4afe477b2a : setup.py
33056b5a571e15d75066591b6ab1e2e5a63c2b2c124e0e3f2b2f0ce2451abcfd : update_package.py
ce977e9627746bba4833ca683af7dbf7cae1d304115ce6d58159481efb6d9aaf : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
864475bec2122e5b40385eab6cd3fbbfd831e34fb4686ad2b4f83553e5623400 : luti.json
332704763605252ef9e88d2a8ce6d076719f0acb307db231069483ae5ca407ff : ir_0.53_x64.msi
2c23e8f9b59b96ce8c30aa8e3e7aeb9576f4bcf8166b800307c2f5ec4a1791b1 : WAPT/control