From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25699 invoked by alias); 22 May 2017 18:09:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25009 invoked by uid 89); 22 May 2017 18:09:37 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 May 2017 18:09:35 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id CrlvdHp8xeQWUCrlwdZkq7; Mon, 22 May 2017 12:09:36 -0600 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.Inglis@SystematicSw.ab.ca Subject: Re: [ANNOUNCEMENT] Updated: units 2.14-1 To: cygwin@cygwin.com References: <23d9fab5-b291-d1ee-c262-e06dcd584c60@SystematicSw.ab.ca> From: Brian Inglis Message-ID: <12812f41-6b74-fe8c-0043-78198e78164c@SystematicSw.ab.ca> Date: Mon, 22 May 2017 18:38:00 -0000 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 X-SW-Source: 2017-05/txt/msg00349.txt.bz2 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