tis-simplewall

3.8.2-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.2-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-05-14 13:00
  • size : 737.66 Ko
  • installed_size : 1.16 Mo
  • homepage : https://www.henrypp.org/product/simplewall
package           : tis-simplewall
version           : 3.8.2-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      : 6d59bf10-0c47-4b57-bee5-0a54d24a8bf6
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         : dO6Qi1DY90QKDbls38SvkqqD405aYPPxm+l24QsN88yYsSEuHhea7AmLpDKvlxhu0W35B8UooW8WDzj315go1570gdtRmi/NRh+ECgVrya+0P3zLRyE7uiwruoYmO6uYcvEY0PGAITwmnGCWwDhsl6sl+TgK0FBlw5PpQGM8GvLwY7gL46rdApRiKLuX4xVQ+Gkuvmw1HEzM3BLogtaIV0/lqdNRSbBS2BiTJq8XZwV091bi8RRaTSdNyERY9W2NddGzcsiHpZ/Zt3c3GYJPnTHai7hdhgba/n1Tbh1cxXFf106ttYVikwFOv6rh/tE/8D/pDUntAVjeX1P118m7Kw==
signature_date    : 2024-05-14T13:00:09.345349
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():
    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
1b823fd110fd766dd0b0d9858a9850ef883c86d3a4f20dcf7ac4eba7c088ebdc : simplewall-3.8.2-setup.exe
d27f1ddf6b7a6c2a213f59f511da9a62d31a0b8f05c42a1596afc9bcc3fbc471 : setup.py
 : __pycache__
f1e4f86434755fd0f51eef25b2c0600dc1325b524a6c0f498f8747df9a03e8da : update_package.py
0e74ac020f870b5db35723bb4df96e8654443eb147d56c345d3f7ee22aba66f6 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
7ed46217c0f3abf57345e2d9f492d684fcad30e38fb9be1261846f30833caf3e : luti.json
2bcc7c13c13695619fd26c96aec865d372962232a5dc5794f6e1c529865fac1e : WAPT/control