tis-clamwin

0.99.4-12
ClamWin is a Free Antivirus program for Microsoft Windows 10 / 8 / 7 / Vista / XP / Me / 2000 / 98 and Windows Server 2012, 2008 and 2003.
8495 downloads
Download

  Description 

  • package : tis-clamwin
  • version : 0.99.4-12
  • architecture : all
  • categories : Utilities,Security,System and network
  • maintainer : Tranquil IT Systems - BRAYE Benjamin
  • description : ClamWin is a Free Antivirus program for Microsoft Windows 10 / 8 / 7 / Vista / XP / Me / 2000 / 98 and Windows Server 2012, 2008 and 2003.
  • locale :
  • target_os : windows
  • min_wapt_version :
  • sources :
  • installed_size : 190971904
  • impacted_process :
  • description_fr : ClamWin est un Antivirus Gratuit pour Microsoft Windows 98/Me/2000/XP/2003/Vista.
  • description_pl :
  • description_de : ClamWin ist ein freies Antivirenprogramm für Microsoft Windows 98/Me/2000/XP/2003/Vista
  • description_es : ClamWin es un antivirus libre para Microsoft Windows 98/Me/2000/XP/2003/Vista.
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : ClamWin Pty Ltd
  • licence : Freeware
  • signature_date : 2020-11-26T14:05:24.878093
  • Homepage : http://www.clamwin.com/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json
import requests

uninstallkey=[]

bin_name_temp = "clamwin-%s-setup.exe"

silentArgs = "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-"


def install():
    
    def get_version_clamwin(key):
        versfile =  get_file_properties(makepath(programfiles32,'ClamWin','bin','ClamWin.exe'))['ProductVersion']
        if len(versfile.split('.')) == 4 :
            versfile = versfile.rsplit('.',1)[0]
        return versfile

    # list all msi in package

    versionsoft = control['version'].split('-',1)[0]
    exe = "clamwin-%s-setup.exe" % versionsoft
    install_exe_if_needed(exe,silentArgs,min_version=versionsoft,key='ClamWin Free Antivirus_is1',get_version=get_version_clamwin)



def update_package():

    # Initializing variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    app_name = control.name
    git_repo = 'clamwin'
    url_api = 'https://sourceforge.net/projects/%s/best_release.json' % git_repo


    # Getting latest version from official website
    print('API used is: ' + url_api)
    json_load = json.loads(wgets(url_api,proxies=proxies))
    version = json_load['platform_releases']['windows']['url'].split('/')[-2]
    latest_bin = bin_name_temp % version
    url_dl = json_load['platform_releases']['windows']['url']

    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)
    
    # Incrementing version of the package
    control.version = '%s-%s'%(version,int(control.version.split('-')[-1])+1)
    control.save_control_to_wapt()
    print('Changing package version to: %s in WAPT\\control' % control.version)



def get_proxies():
    if platform.python_version_tuple()[0] == '3':
        from urllib.request import getproxies
    else:
        from urllib import getproxies
    return getproxies()


def get_proxies_from_wapt_console():
    proxies = {}
    if platform.system() == 'Windows':
        waptconsole_ini_path = makepath(user_local_appdata(), 'waptconsole', 'waptconsole.ini')
    else:
        waptconsole_ini_path = makepath(user_home_directory(), '.config', 'waptconsole', 'waptconsole.ini')
    if isfile(waptconsole_ini_path):
        proxy_wapt = inifile_readstring(waptconsole_ini_path, 'global', 'http_proxy')
        if proxy_wapt:
            proxies = {'http': proxy_wapt, 'https': proxy_wapt}
    return proxies

										

  Changelog 



Thursday, 15 March 2018
This security patch release updates ClamAV scanning engine to the latest version and addresses the following issues:

    ClamAV UAF Vulnerabilities
    ClamAV Buffer Overflow Vulnerabilities
    ClamAV Null Dereference Vulnerability
    A number of other outstanding vulnerability bugs

									
  manifest.sha256