X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=yR7p+mBTSHbnpF6L VXrl2teBF2anngb7cF9ixK26dQGmMJDq1j12JW1JQ45MgH8NEXhqLagauegW1KQQ OnsOi00YeEM6JSKPYcI2q+d1AJjIyu93VirDX+kE75aAjhlTTbMPC9kDgGtHJf3T 3rGmm+zbennp6GLCqDHI1TFgO/k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=qt1mMyeXOn2DwnyCKn0O74 LVXmc=; b=NtKG7/pGR98oIeXeKDAO7eT2uAHbKbdDfIBQLu+9hFzF8ULPEadSa+ ANeqMajxP5UpDufugKDzsqsGqYb08Tp3nHDh1wdeVSqDv+jI5e5i+5CASbfNiZhu 2Endepy6ppHksL99otf7HbBQ5CtirOpMLONZ5gPfAN9of/DW0wrvM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=renewed, expiry, holiday, H*R:D*ca X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=_Nh0O-PlAAAA:8 a=uPZiAMpXAAAA:8 a=OWKeD0aiILIP9tuiRk0A:9 a=L8g_yb0iaRCTeTQD:21 a=H5m_nC04cp0OfJQU:21 a=QEXdDO2ut3YA:10 a=ffgMdrdep9hD-8cvKZdr:22 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: [ANNOUNCEMENT] Updated: units 2.14-1 To: cygwin AT cygwin DOT com References: <23d9fab5-b291-d1ee-c262-e06dcd584c60 AT SystematicSw DOT ab DOT ca> From: Brian Inglis Message-ID: <12812f41-6b74-fe8c-0043-78198e78164c@SystematicSw.ab.ca> Date: Mon, 22 May 2017 12:09:35 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <23d9fab5-b291-d1ee-c262-e06dcd584c60@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfBn0KX8Kl7f5oHzDf7sXMujmgLmhA0JVYb5WD+8DkjYpaULH3wQr36qk1nA9e38A53GSATK1rvM5+smw+oWCXPd1SchDVNyRjv4DV7Ey7Pv15i9wxy2O DJenrAyQc2KYIIQ0IgbWV/j1g/+z6xAYkaUZpzj1/iU0N0+ikWivGq4hbXDGBXjgVYl3ztIfZcwAoQ== X-IsSubscribed: yes On 2017-05-21 23:45, Brian Inglis wrote: > On 2017-04-27 13:20, Brian Inglis wrote: >> * units-2.14-1 >> >> The Units program converts quantities expressed in various scales to >> their equivalents in other scales. The units program can handle >> multiplicative scale changes as well as nonlinear conversions such as >> Fahrenheit to Celsius or wire gauge. Units comes with an annotated, >> extendable database defining over two thousand units. >> >> This is an update to the latest upstream release, which now supports >> longer input expressions (e.g. a sum of more than 100 units), control >> characters treated as white space to avoid producing errors about >> invalid UTF-8, and includes 2980 units, 109 prefixes, and 96 nonlinear >> units. Timegenie.com cert has been renewed for another 3 months until August 19 and redeployed, so certs are valid and will no longer produce errors. > Currency exchange rates are updated on every run of setup by a permanent > postinstall script > /etc/postinstall/zp_units_cur.sh > running > /usr/bin/units_cur > to access > https://rss.timegenie.com > which uses HSTS to enforce https access, and whose security certificate > has expired, so runs will fail with message: > Error connecting to currency server. CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)> > > If this causes you problems, please temporarily rename the current > update script /usr/bin/units_cur and replace by the attached, or replace > the line between the first try: and except ...: by the following lines: > [the first line is a comment, the remainder are indented two spaces] > > # > http://stackoverflow.com/questions/36600583/python-3-urllib-ignore-ssl-certificate-verification > import ssl > ctx = ssl.create_default_context() > ctx.check_hostname = False > ctx.verify_mode = ssl.CERT_NONE > currencies = > ET.parse(urllib.request.urlopen('https://rss.timegenie.com/forex.xml',context=ctx)).findall('data') > > to ignore the security certificate expiry until it is renewed (hopefully > by sometime Tuesday after the holiday): when the security certificate > has been renewed, I will follow up here to let everyone know. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple