Created attachment 202510 [details] Fix sunrise API Currently, misc/xfce4-weather-plugin still uses the 1.1 sunrise API, but it has expired [1]. This patch updates to the latest API (2.0, see my comment on Xfce's Bugzilla [2] for details). Manual intervention is required (through UPDATING or pkg-message). Users need to remove ~/.cache/xfce4/weather/ directory. A commit in quarterly branch is needed too. [1] https://api.met.no/weatherapi/sunrise/2.0/documentation [2] https://bugzilla.xfce.org/show_bug.cgi?id=14972#c9
I'm testing the patch. Reading the comments on the XFCE bug, it looks like the manual intervention is not actually needed, am I correct? Also, is this a security related issue? if not I don't think it is eligible for merging to quarterly. Anyway a new quarterly will be branched in a month at most.
(In reply to Guido Falsi from comment #1) Yes, you are right, no manual intervention is required. Merge into quarterly, is for deprecated 1.1 API. It is not security issue (avoid no response from met.no service).
A commit references this bug: Author: madpilot Date: Wed Mar 6 10:52:15 UTC 2019 New revision: 494787 URL: https://svnweb.freebsd.org/changeset/ports/494787 Log: Import patch from upstream bug report for xfce4-weather-plugin to adapt to new upstream weather service API interface. Previous API version is deprecated and expired by upstream. While here, remove unneeded USES=intlhack. PR: 236166 Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com> Obtained from: https://bugzilla.xfce.org/show_bug.cgi?id=14972 MFH: 2019Q1 Changes: head/misc/xfce4-weather-plugin/Makefile head/misc/xfce4-weather-plugin/files/ head/misc/xfce4-weather-plugin/files/patch-new_sunrise_API
Committed. I unified the various patch file sin one patch, which seems more logical to me, since they're just one change actually. Keeping bug open till I get a reply to MFH request. Thanks for the patch!
A commit references this bug: Author: madpilot Date: Wed Mar 6 11:45:30 UTC 2019 New revision: 494791 URL: https://svnweb.freebsd.org/changeset/ports/494791 Log: MFH: r494787 Import patch from upstream bug report for xfce4-weather-plugin to adapt to new upstream weather service API interface. Previous API version is deprecated and expired by upstream. While here, remove unneeded USES=intlhack. PR: 236166 Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com> Obtained from: https://bugzilla.xfce.org/show_bug.cgi?id=14972 Approved by: ports-secteam (joneum) Changes: _U branches/2019Q1/ branches/2019Q1/misc/xfce4-weather-plugin/Makefile branches/2019Q1/misc/xfce4-weather-plugin/files/
Merged too.