
OpenVPN Connect
Paquet d’installation silencieuse pour OpenVPN Connect
3.5.1-1
- package: tis-openvpn-connect
- name: OpenVPN Connect
- version: 3.5.1-1
- maintainer: Amel FRADJ
- licence: OpenVPN 3 is distributed under GNU Affero General Public License version 3 with a special permission to link against OpenSSL
- target_os: windows
- architecture: x64
- signature_date:
- size: 102.71 Mo
- homepage : https://openvpn.net/
package : tis-openvpn-connect
version : 3.5.1-1
architecture : x64
section : base
priority : optional
name : OpenVPN Connect
categories :
maintainer : Amel FRADJ
description : OpenVPN Connect is a free and full-featured VPN Client
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : OpenVPN Connect est un client VPN gratuit et complet
description_pl : OpenVPN Connect to darmowy i w pełni funkcjonalny klient VPN
description_de : OpenVPN Connect ist ein kostenloser und voll funktionsfähiger VPN-Client
description_es : OpenVPN Connect es un cliente VPN completo y gratuito
description_pt : O OpenVPN Connect é um cliente VPN gratuito e com todas as funcionalidades
description_it : OpenVPN Connect è un client VPN gratuito e completo
description_nl : OpenVPN Connect is een gratis en volledige VPN-client
description_ru : OpenVPN Connect - бесплатный и полнофункциональный VPN-клиент
audit_schedule :
editor :
keywords :
licence : OpenVPN 3 is distributed under GNU Affero General Public License version 3 with a special permission to link against OpenSSL
homepage : https://openvpn.net/
package_uuid : 7f62c670-040c-4a25-b53a-700f740098cf
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 6a972bef440796530e09d50762042dd9846b0acc6f85f75f9e41346fb43a53bc
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-22T19:03:39.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 : V+zhn5600zBXSHuVsYs98oD8H3X23laMRp9q/n5OLJUBRAEbEzwE9BnBcppxxMJWGcJ7xjBtCmVPudQ3I0dyD3dljjwxlVg8oft+LKAc7lIzf8OfzEUSBb5FQcUALymK1vbxzj2aQVK7yPjizAklhLnT3zMebcUTgvfOuy+jHBu1+OANlYW9cX3XSOctzS+gM0kWGrKZ89rxnTJ4R0QrlfkuzK06DAXreSnZ6GBXtQ5b/LQpts0M7Ih73svNZnSx/surbfiYWLtkwo8iiBexh8wHHYlD+PUxOS5Ql2Z/BqpxJ8z4PokLV9pm84zg5gyGNgoSzkuZawVzIJsgitfUHQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob('openvpn-connect-*.msi')[0]
# Installing the software
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
import setupdevhelpers
from setupdevhelpers import *
import re
import requests
def update_package():
# Déclaration des variables locales
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
architecture = control.architecture
url = "https://openvpn.net/client/client-connect-vpn-for-windows/"
divs = bs_find_all(url, 'div', "class", "row",proxies=proxies)
msi_file = None
for div in divs:
links = div.find_all('a', href=True)
for link in links:
href = link['href']
print(f"Found link: {href}")
if href.endswith('.msi'):
if architecture == 'x86' and 'windows-x86' in href:
msi_file = href
break
elif architecture == 'x64' and 'windows' in href:
msi_file = href
break
download_url = requests.head(msi_file,proxies=proxies,allow_redirects=True).url
latest_bin = download_url.split('/')[-1]
print("Download URL is: %s" % download_url)
# Supprimer les anciens fichiers binaires
for f in glob.glob("*.msi"):
if f != latest_bin:
remove_file(f)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Obtenir la version à partir du binaire
version = get_version_from_binary(latest_bin)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
63d773e8aa3dd0ad5288265a9fd72f66297a0daa488c45f4f330952dc6b4bc63 : WAPT/control
6a972bef440796530e09d50762042dd9846b0acc6f85f75f9e41346fb43a53bc : WAPT/icon.png
2c458c1c6c0c4ce094abde8e3b9326c4babdd981ac9db0a77f435bf8d1b2828c : luti.json
ffd922b8afbcaf62079131d663e3eefb63ef173ad6cee6877b9d4945db43a7cf : openvpn-connect-3.5.1.3946_signed.msi
b1822362cfae6aea3775e578547a1596f462088f60c6a71af736d857a62b95aa : setup.py
79b9634b9838361c528675a793ff160bef374cc7b09fafba7b58acf046d3ed1c : update_package.py