From owner-svn-ports-head@freebsd.org Fri Mar 22 19:04:33 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BDBC154ED70; Fri, 22 Mar 2019 19:04:33 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D29DF8F587; Fri, 22 Mar 2019 19:04:32 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AE32F249F8; Fri, 22 Mar 2019 19:04:32 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2MJ4Wl0001882; Fri, 22 Mar 2019 19:04:32 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2MJ4V2M001878; Fri, 22 Mar 2019 19:04:31 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201903221904.x2MJ4V2M001878@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Fri, 22 Mar 2019 19:04:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496580 - in head/finance/libofx: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jhale X-SVN-Commit-Paths: in head/finance/libofx: . files X-SVN-Commit-Revision: 496580 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D29DF8F587 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2019 19:04:33 -0000 Author: jhale Date: Fri Mar 22 19:04:31 2019 New Revision: 496580 URL: https://svnweb.freebsd.org/changeset/ports/496580 Log: finance/libofx: Update to 0.9.14 Modified: head/finance/libofx/Makefile head/finance/libofx/distinfo head/finance/libofx/files/patch-lib_ofx__utilities.cpp head/finance/libofx/pkg-plist Modified: head/finance/libofx/Makefile ============================================================================== --- head/finance/libofx/Makefile Fri Mar 22 17:58:04 2019 (r496579) +++ head/finance/libofx/Makefile Fri Mar 22 19:04:31 2019 (r496580) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libofx -PORTVERSION= 0.9.12 +PORTVERSION= 0.9.14 CATEGORIES= finance MASTER_SITES= SF/${PORTNAME}/${PORTNAME} @@ -16,7 +16,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libxml++-2.6.so:textproc/libxml++26 \ libosp.so:textproc/opensp -USES= gettext-runtime gmake iconv libtool localbase pathfix pkgconfig \ +USES= gettext-runtime gmake gnome iconv libtool localbase pathfix pkgconfig \ compiler:c++11-lang USE_CXXSTD= c++11 USE_GNOME= glib20 glibmm libsigc++20 libxml2 Modified: head/finance/libofx/distinfo ============================================================================== --- head/finance/libofx/distinfo Fri Mar 22 17:58:04 2019 (r496579) +++ head/finance/libofx/distinfo Fri Mar 22 19:04:31 2019 (r496580) @@ -1,3 +1,3 @@ -TIMESTAMP = 1507465983 -SHA256 (libofx-0.9.12.tar.gz) = c15fa062fa11e759eb6d8c7842191db2185ee1b221a3f75e9650e2849d7b7373 -SIZE (libofx-0.9.12.tar.gz) = 1288227 +TIMESTAMP = 1550800754 +SHA256 (libofx-0.9.14.tar.gz) = b82757bfa15b27c02fb39dfd017cdfe5af51a063ba15afe495dd1b7367ff290a +SIZE (libofx-0.9.14.tar.gz) = 1639297 Modified: head/finance/libofx/files/patch-lib_ofx__utilities.cpp ============================================================================== --- head/finance/libofx/files/patch-lib_ofx__utilities.cpp Fri Mar 22 17:58:04 2019 (r496579) +++ head/finance/libofx/files/patch-lib_ofx__utilities.cpp Fri Mar 22 19:04:31 2019 (r496580) @@ -1,14 +1,24 @@ ---- lib/ofx_utilities.cpp.orig 2013-04-16 19:50:51 UTC +Emulate the behavior of the USG UXIX daylight variable implemented in glibc. +It is supposed to be 0 if the time zone does not have any daylight saving time +rules and non-zero if there is a time during the year when daylight saving +time applies. [1] + +In FreeBSD, tzname[1] should be set to " " (three spaces) if DST is never +observed. [2] + +[1] https://www.gnu.org/software/libc/manual/html_node/Time-Zone-Functions.html#Time-Zone-Functions +[2] https://svnweb.freebsd.org/base/head/contrib/tzcode/stdtime/localtime.c?revision=313774&view=markup#l84 + +--- lib/ofx_utilities.cpp.orig 2018-05-02 19:39:38 UTC +++ lib/ofx_utilities.cpp -@@ -115,6 +115,11 @@ time_t ofxdate_to_time_t(const string ofxdate) - char time_zone_specified = false; - string ofxdate_whole; - time_t temptime; -+ int daylight = 0; -+ +@@ -142,6 +142,10 @@ time_t ofxdate_to_time_t(const string ofxdate) + std::time(&temptime); + local_offset = difftime(mktime(localtime(&temptime)), mktime(gmtime(&temptime))); + /* daylight is set to 1 if the timezone indicated by the environment (either TZ or /etc/localtime) uses daylight savings time (aka summer time). We use it here to provisionally set tm_isdst. */ ++#if defined(__FreeBSD__) + tzset(); -+ if(tzname[1][0] != ' ') -+ daylight = 1; ++ int daylight = ((tzname[1][0] == ' ') ? 0 : 1); ++#endif + time.tm_isdst = daylight; - time.tm_isdst = daylight; // initialize dst setting - std::time(&temptime); + if (ofxdate.size() != 0) Modified: head/finance/libofx/pkg-plist ============================================================================== --- head/finance/libofx/pkg-plist Fri Mar 22 17:58:04 2019 (r496579) +++ head/finance/libofx/pkg-plist Fri Mar 22 19:04:31 2019 (r496580) @@ -5,7 +5,7 @@ include/libofx/libofx.h lib/libofx.a lib/libofx.so lib/libofx.so.7 -lib/libofx.so.7.0.1 +lib/libofx.so.7.0.2 libdata/pkgconfig/libofx.pc man/man1/ofxconnect.1.gz man/man1/ofxdump.1.gz