tis-simplewall

3.8.4-1
Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer
761 downloads
Download
See build result See VirusTotal scan
tis-simplewall icon
  • package : tis-simplewall
  • name : simplewall
  • version : 3.8.4-1
  • categories : security
  • maintainer : WAPT Team,Tranquil IT,Pierre Cosson,Ingrid TALBOT
  • editor :
  • licence : opensource_free,cpe:/a:gnu:gpl_v3
  • locale : all
  • target_os : windows
  • impacted_process : simplewall
  • architecture : all
  • signature_date : 2024-09-16 10:04
  • size : 747.83 Ko
  • installed_size : 1.16 Mo
  • homepage : https://www.henrypp.org/product/simplewall
package           : tis-simplewall
version           : 3.8.4-1
architecture      : all
section           : base
priority          : optional
name              : simplewall
categories        : security
maintainer        : WAPT Team,Tranquil IT,Pierre Cosson,Ingrid TALBOT
description       : Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/henrypp/simplewall/releases
installed_size    : 1159168
impacted_process  : simplewall
description_fr    : Outil simple pour configurer la plate-forme de filtrage Windows (WFP) qui peut configurer l'activité du réseau sur votre ordinateur
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : firewall
licence           : opensource_free,cpe:/a:gnu:gpl_v3
homepage          : https://www.henrypp.org/product/simplewall
package_uuid      : c0e8f6c3-24fc-4e26-aa95-096eea74606c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/henrypp/simplewall/releases
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 0e74ac020f870b5db35723bb4df96e8654443eb147d56c345d3f7ee22aba66f6
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-09-16T10:04:43.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         : EEdVO2rUA7renQCOrgsUU39oaKoL0ds37MliSBeFVFZbl+mt5HbNSd6NuC3isPH+7CIr0m6Yd4PZM7ifAhwHJP6cwTABt7nazMn9n8G8jdOXA5skGWEv4Hvds+1hvJWJxNu+FTx2kpbuChlpnkb51aGzGzt6qhRj2bEdmR51OaySS8a0+eisM/5qNFUySN8bFfG5dJayaZBErdJML9l+xDHGN05Ud23todPIWqx7U4VOLDRtNKDUVWZWzUL1ML1EjsSsVTLO6WcwVytcSG7NnIWTxyHMaFqZavuJWQblYgE79jL7wYvL6DO1dnqp4+G050KUD/iRqmh5FvrDPmVMfw==
# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    install_exe_if_needed(
        glob.glob("simplewall-*-setup.exe")[0],
        silentflags="/S",
        key="simplewall",
        min_version=control.get_software_version(),
    )


create_programs_menu_shortcut("simplewall", target=makepath(programfiles, "simplewall", "simplewall.exe"))


def uninstall():
    remove_programs_menu_shortcut("simplewall")
# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/henrypp/simplewall/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if download["name"].endswith("-setup.exe"):
            download_url = download["browser_download_url"]
            version = download["name"].split("-")[-2]
            latest_bin = download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin).split("-")[0]
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary")
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c06881b501254715f07c8b50c025ec19ed918af7bcdde26052eb77712b273001 : WAPT/control
0e74ac020f870b5db35723bb4df96e8654443eb147d56c345d3f7ee22aba66f6 : WAPT/icon.png
d0fd57f223802510fd1c9659d35209986a201407abd9698c6363e99b8af11256 : luti.json
d27f1ddf6b7a6c2a213f59f511da9a62d31a0b8f05c42a1596afc9bcc3fbc471 : setup.py
65aa87122f0d460619b21ce338ad604b5838379c53661646b20caedbf021bdb5 : simplewall-3.8.4-setup.exe
f1e4f86434755fd0f51eef25b2c0600dc1325b524a6c0f498f8747df9a03e8da : update_package.py