tis-cwrsync

5.5.0-8
rsync for windows
2168 downloads
Download
See build result See VirusTotal scan
tis-cwrsync icon
  • package : tis-cwrsync
  • name : Cygwin Rsync
  • version : 5.5.0-8
  • categories : Utilities
  • maintainer : Tranquil IT, Bertrand Lemoigne
  • editor :
  • licence :
  • locale : all
  • target_os : windows
  • impacted_process :
  • architecture : x86
  • signature_date : 2022-08-02 02:34
  • size : 3.48 Mo
package           : tis-cwrsync
version           : 5.5.0-8
architecture      : x86
section           : base
priority          : optional
name              : Cygwin Rsync
categories        : Utilities
maintainer        : Tranquil IT, Bertrand Lemoigne
description       : rsync for windows
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : rsync pour windows
description_pl    : rsync dla windows
description_de    : rsync für Windows
description_es    : rsync para windows
description_pt    : rsync para janelas
description_it    : rsync per Windows
description_nl    : rsync voor windows
description_ru    : rsync для windows
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : de0a5839-e8f9-4547-8c8c-a53add95e55e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d642b35ce6441158dc071677fb958ad01830271d373c332d64e48dec67f80834
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : kVtRDvgOUOSssIs11fT9WfzhPS2ymkhoMRkUi596FxNkWDFvaAm+7QysPzKrr4jUmC9xcJN3VIy9ur4wGkcJ+rM/xK1lGn5StzNWmUw9C4/Q4wMvJ4HuG2Kj7isgEjO9eDGmTpKDvvRhqMTD6hkLrjt7r53jg0/ah2Kx/RIaWGplxlVG2Wuut0VlAyyg5E5T63lBtlE10ndFqgnPvJE0A95gStDzz7XYrPSzWlBGrzO2L2ae/5O/ZCBqAyyW98tZi0wUnYdFffmW9+itjxfjGd+NMWHEctWHL11OPx7OdvfrPK48WOwuxtGF5y4Bnka7fG47Zdk0Cid3B+shtGvfgg==
signature_date    : 2022-08-02T02:34:38.650072
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 *

app_dir = makepath(programfiles, "Cwrsync x86")
app_path = makepath(app_dir, "rsync.exe")


def install():
    # Specific app values
    package_version = control.version.split("-")[0]
    bin_name_x86 = "cwrsync_%s_x86_free.zip" % package_version
    app_name_dir = "cwrsync_%s_x86_free" % package_version
    # Extracting
    print("Extracting " + bin_name_x86)
    if isdir(app_dir):
        remove_tree(app_dir)
    mkdirs(app_dir)
    unzip((bin_name_x86), target=app_dir, filenames=r"%s\*" % app_name_dir)
    remove_file(bin_name_x86)


def uninstall():
    print("uninstalling cwrsync")
    if isdir(app_dir):
        remove_tree(app_dir)
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform

def update_package():
    print("Download/Update package content from upstream binary sources")

    # Initializing variables

    # Getting proxy informations from WAPT settings
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    # download binary
    package_version = control.version.split("-")[0]
    bin_name_x86 = "cwrsync_%s_x86_free.zip" % package_version
    download_html = wgets('https://itefix.net/cwrsync',proxies=proxies).splitlines()
    
    for line in download_html:
        if r'_x86_free.zip' in line:
            dl_version = line.split('_')[-3]
            break
    dl_url = "https://itefix.net/dl/free-software/cwrsync_{}_x86_free.zip".format(dl_version)
    
    if isfile(bin_name_x86):
        if dl_version != package_version:
            print("removing old binary !")
            remove_file(bin_name_x86)
            print("downloading binary")
            wget(dl_url, "cwrsync_%s_x86_free.zip" % dl_version, proxies=proxies)
        else:
            print("last version binary, skip download")
    else:
        print("downloading binary")
        wget(dl_url, bin_name_x86, proxies=proxies)

    # Incrementing version of the package
    version = dl_version
    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)
92ee6e4a4e428fe8d8fc07f874e1d8fcf6d5438961bf298dc40d4a70177825e8 : setup.py
d154e51e3d8ef36bf8fa75bddebd9cdceb45679e65b1371beac23ae4d72243c8 : update_package.py
37e8ef21ac975d4ee86c9d3be40c8935e8b9d0ba84e9302fc106b9452296cb85 : cwrsync_5.5.0_x86_free.zip
d642b35ce6441158dc071677fb958ad01830271d373c332d64e48dec67f80834 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4041935d7044873b1d67aeaceb0705d717050dc986e4c0db42416d5796a444f6 : luti.json
5666363fc6c746b93c1f65d28cac2b6d94a946be6bfe892e982989fc2b50ff01 : WAPT/control