Bug 228524 - www/gohugo: Update to 0.41
Summary: www/gohugo: Update to 0.41
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-26 23:01 UTC by Ben Lavery-Griffiths
Modified: 2018-05-27 07:29 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.41 (1.14 KB, patch)
2018-05-26 23:01 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs for all platforms (5.35 KB, application/x-xz)
2018-05-26 23:02 UTC, Ben Lavery-Griffiths
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Lavery-Griffiths 2018-05-26 23:01:59 UTC
Created attachment 193733 [details]
svn diff to upgrade to 0.41

gohugo has been updated to 0.41
(https://github.com/gohugoio/hugo/releases/tag/v0.41):

The attached svn diff brings this port up from 0.40.3 to 0.41

Change log:
 - new Privacy Configuration section to meet the new regulations in the new General Data Protection Regulation (GDPR).
 - fixed an issue where we sent the wrong .Site object into the archetype templates used in hugo new.
 - Alias tweet shortode to twitter
 - Adjust GA templates
 - Wrap the relevant templates with the privacy policy disable check
 - Extract internal templates
 - Use double quotes instead of back quotes
 - Provide the correct .Site object to archetype templates
 - Document the GDPR Privacy Config
 - Add no-cookie variants of the Google Analytics templates
 - Remove youtube_simple for now 
 - Add anonymizeIP to GA privacy config
 - Support DNT in Twitter shortcode for GDPR
 - Regenerate embedded templates
 - Add instagram_simple shortcode
 - Go fmt 
 - Remove the id from youtube_simple
 - Add an unified .Site.Config with a services section
 - Move the privacy config into a parent
 - Make the simple mode YouTube links schemaless
 - Add YouTube shortcode simple mode
 - Do not return error on .Get "class" and vice versa in shortcodes
 - Create SUPPORT.md
 - Add PrivacyEnhanced mode for YouTube to the GDPR Policy
 - Add RespectDoNotTrack to GDPR privacy policy for Google Analytics
 - Add the foundation for GDPR privacy configuration
 - Show site build warning in TestPageBundlerSiteRegular
 - Do not show empty BuildDate in version
 - Improve markup determination logic
 - Update CONTRIBUTING.md

Tested against amd64/i386 10.4-RELEASE, 11.1-RELEASE, 11.1-STABLE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time:
https://logs.bnix.club/gohugo-0.41_2018-05-26/

portlint -AC:
looks fine.

poudriere bulk -tC:
10_4-RELEASE__amd64: success
10_4-RELEASE__i386: success
11_1-RELEASE__amd64: success
11_1-RELEASE__i386: couldn't get jail to start...
11_1-STABLE__amd64: success
11_1-STABLE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 1 Ben Lavery-Griffiths 2018-05-26 23:02:45 UTC
Created attachment 193734 [details]
Poudriere logs for all platforms
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-05-27 07:28:25 UTC
A commit references this bug:

Author: joneum
Date: Sun May 27 07:28:21 UTC 2018
New revision: 470962
URL: https://svnweb.freebsd.org/changeset/ports/470962

Log:
  Update to 0.41

  Changelog: https://github.com/gohugoio/hugo/releases/tag/v0.41

  PR:		228524
  Submitted by:	ben.lavery@hashbang0.com <ben.lavery@hashbang0.com> (maintainer)

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo
Comment 3 Jochen Neumeister freebsd_committer freebsd_triage 2018-05-27 07:29:06 UTC
Landed. Thanks :-)