tis-simplewall icon

simplewall

Silent install package for simplewall

3.8.7-1

  • package: tis-simplewall
  • name: simplewall
  • version: 3.8.7-1
  • categories: security
  • maintainer: WAPT Team,Tranquil IT,Pierre Cosson,Ingrid TALBOT
  • licence: opensource_free,cpe:/a:gnu:gpl_v3
  • locale: all
  • target_os: windows
  • impacted_process: simplewall
  • architecture: all
  • signature_date:
  • size: 1.16 Mo
  • installed_size: 1.16 Mo
  • homepage : https://www.henrypp.org/product/simplewall

package           : tis-simplewall
version           : 3.8.7-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      : 4ea0986f-384e-4d88-97eb-edf998e96de7
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    : 2025-08-13T13:00:29.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         : d6hAqi+vMIVEq7KALF0tKlZwlXSI824AO7maWE4fCIpPOptlCN723ZJ7a7mer33qfWlh+92Cz5OA6t/ZM9Lv+SbqbaXyYtnQvLK2DZ5PaUFoIzIj5f74GW+mUztfya2fcoqVZM1MRzaycQCER8mNei82GJBOspVveuJhi0nJTm4tR9RjpVWPuGWr79Ba05FzG1d6UeTdY3DtULl5BdOLuaK2Ie8/ze/hGRctrNbA4s8NZ7QNwaI6LEuYxxAVGtTBcDNztPAIxvLlEGSKF1fAGmL5c+JgmJGnAv3WO5vvGkf+aaZ1tusr4TJ/dn4LHnu8rq1iBEbsBYETRRXb27sabA==

# -*- 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
9a09cbb1f9858d9733970509e1ede47219a62ae20e3a6d08222660de161e2015 : WAPT/control
0e74ac020f870b5db35723bb4df96e8654443eb147d56c345d3f7ee22aba66f6 : WAPT/icon.png
9efd37b2de0e665869ff0d82bbea9f477873e043c25095117d628ba201bc5c40 : luti.json
d27f1ddf6b7a6c2a213f59f511da9a62d31a0b8f05c42a1596afc9bcc3fbc471 : setup.py
c8656dd1bf26d05be6e89011bc2688935e76f91c20ddf89d52457cd142592afc : simplewall-3.8.7-setup.exe
f1e4f86434755fd0f51eef25b2c0600dc1325b524a6c0f498f8747df9a03e8da : update_package.py