FreeBSD Bugzilla – Attachment 195216 Details for
Bug 229847
www/gohugo: Update to 0.44
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff to upgrade to 0.44
gohugo-0.44.diff (text/plain), 11.14 KB, created by
Ben Lavery-Griffiths
on 2018-07-17 21:00:26 UTC
(
hide
)
Description:
svn diff to upgrade to 0.44
Filename:
MIME Type:
Creator:
Ben Lavery-Griffiths
Created:
2018-07-17 21:00:26 UTC
Size:
11.14 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 474753) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= hugo > DISTVERSIONPREFIX= v >-DISTVERSION= 0.42.2 >+DISTVERSION= 0.44 > CATEGORIES= www > PKGNAMEPREFIX= go > DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} >@@ -17,12 +17,18 @@ > USE_GITHUB= yes > GH_ACCOUNT= gohugoio > GH_SUBDIR= src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} >-GH_TUPLE= BurntSushi:toml:a368813:toml/src/github.com/BurntSushi/toml \ >+COMMIT_ID= 9f9695cf7b061afc0238e4a1948bd21dc0ef3eba >+GH_TUPLE= BurntSushi:locker:a6e239e:locker/src/github.com/BurntSushi/locker \ >+ BurntSushi:toml:a368813:toml/src/github.com/BurntSushi/toml \ > PuerkitoBio:purell:0bcb03f:purell/src/github.com/PuerkitoBio/purell \ > PuerkitoBio:urlesc:de5bf2a:urlesc/src/github.com/PuerkitoBio/urlesc \ >+ alecthomas:assert:405dbfe:assert/src/github.com/alecthomas/assert \ > alecthomas:chroma:1b755a9:chroma/src/github.com/alecthomas/chroma \ >+ alecthomas:colour:60882d9:colour/src/github.com/alecthomas/colour \ >+ alecthomas:repr:f49988b:repr/src/github.com/alecthomas/repr \ > bep:debounce:844797f:debounce/src/github.com/bep/debounce \ > bep:gitmap:012701e:gitmap/src/github.com/bep/gitmap \ >+ bep:go-tocss:2abb118:go_tocss/src/github.com/bep/go-tocss \ > chaseadamsio:goorgeous:dcf1ef8:goorgeous/src/github.com/chaseadamsio/goorgeous \ > cpuguy83:go-md2man:a65d4d2:go_md2man/src/github.com/cpuguy83/go-md2man \ > danwakefield:fnmatch:cbb64ac:fnmatch/src/github.com/danwakefield/fnmatch \ >@@ -43,8 +49,10 @@ > magefile:mage:2f97430:mage/src/github.com/magefile/mage \ > magiconair:properties:c3beff4:properties/src/github.com/magiconair/properties \ > markbates:inflect:a12c3ae:inflect/src/github.com/markbates/inflect \ >+ mattn:go-isatty:0360b2a:go_isatty/src/github.com/mattn/go-isatty \ > mattn:go-runewidth:9e777a8:go_runewidth/src/github.com/mattn/go-runewidth \ > miekg:mmark:fd2f6c1:mmark/src/github.com/miekg/mmark \ >+ mitchellh:hashstructure:2bca23e:hashstructure/src/github.com/mitchellh/hashstructure \ > mitchellh:mapstructure:00c29f5:mapstructure/src/github.com/mitchellh/mapstructure \ > muesli:smartcrop:f6ebaa7:smartcrop/src/github.com/muesli/smartcrop \ > nicksnyder:go-i18n:0dc1626:go_i18n/src/github.com/nicksnyder/go-i18n \ >@@ -53,6 +61,7 @@ > pmezard:go-difflib:792786c:go_difflib/src/github.com/pmezard/go-difflib \ > russross:blackfriday:11635eb:blackfriday/src/github.com/russross/blackfriday \ > sanity-io:litter:ae543b7:litter/src/github.com/sanity-io/litter \ >+ sergi:go-diff:1744e29:go_diff/src/github.com/sergi/go-diff \ > shurcooL:sanitized_anchor_name:86672fc:sanitized_anchor_name/src/github.com/shurcooL/sanitized_anchor_name \ > spf13:afero:787d034:afero/src/github.com/spf13/afero \ > spf13:cast:8965335:cast/src/github.com/spf13/cast \ >@@ -63,6 +72,9 @@ > spf13:pflag:e57e3ee:pflag/src/github.com/spf13/pflag \ > spf13:viper:b5e8006:viper/src/github.com/spf13/viper \ > stretchr:testify:12b6f73:testify/src/github.com/stretchr/testify \ >+ tdewolff:minify:8d72a41:minify/src/github.com/tdewolff/minify \ >+ tdewolff:parse:d739d6f:parse/src/github.com/tdewolff/parse \ >+ wellington:go-libsass:615eaa4:go_libsass/src/github.com/wellington/go-libsass \ > yosssi:ace:ea038f4:ace/src/github.com/yosssi/ace \ > golang:image:f315e44:image/src/golang.org/x/image \ > golang:net:61147c4:net/src/golang.org/x/net \ >@@ -71,12 +83,20 @@ > golang:text:2cb4393:text/src/golang.org/x/text \ > go-yaml:yaml:5420a8b:yaml/src/gopkg.in/yaml.v2 > >-OPTIONS_DEFINE= MANPAGES >+OPTIONS_DEFINE= MANPAGES EXTENDED >+ >+EXTENDED_DESC= Enable SCSS/SASS support >+ > OPTIONS_DEFAULT= MANPAGES >+ >+EXTENDED_VARS= CGO_ENABLED=1 BUILD_TAGS="-tags extended" >+EXTENDED_VARS_OFF= CGO_ENABLED=0 >+ > OPTIONS_SUB= yes > > GOENV= GOPATH=${WRKSRC} CGO_CFLAGS="${CGO_CFLAGS}" \ > CGO_LDFLAGS="${CGO_LDFLAGS}" GOBIN="" >+CGO_ENABLED= 0 > > PORTMANS= hugo-benchmark.1 hugo-config.1 hugo-convert-toJSON.1 \ > hugo-convert-toTOML.1 hugo-convert-toYAML.1 hugo-convert.1 \ >@@ -88,18 +108,30 @@ > hugo.1 > > do-build: >- @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} && \ >- ${SETENV} ${MAKE_ENV} ${GOENV} ${GO_CMD} build -o bin/${PORTNAME} >+ @(if [ -z "$${SOURCE_DATE_EPOCH}" ]; then\ >+ SOURCE_DATE_EPOCH=`grep TIMESTAMP ${DISTINFO_FILE} \ >+ | ${SED} -e 's/[^0-9]//g'`; \ >+ SOURCE_DATE_EPOCH=`date -r $${SOURCE_DATE_EPOCH} "+%FT%TZ%z"`; \ >+ fi; \ >+ cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}; \ >+ ${SETENV} ${MAKE_ENV} CGO_ENABLED=${CGO_ENABLED} ${GOENV} \ >+ ${GO_CMD} build \ >+ -ldflags "\ >+ -s -w \ >+ -X github.com/gohugoio/hugo/hugolib.BuildDate=$${SOURCE_DATE_EPOCH} \ >+ -X github.com/gohugoio/hugo/hugolib.CommitHash=${COMMIT_ID}" \ >+ ${BUILD_TAGS} \ >+ -o bin/${PORTNAME}) > > do-build-MANPAGES-on: > @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} && ./bin/${PORTNAME} gen man --dir man/man1/ > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} >+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} > > do-install-MANPAGES-on: > .for i in ${PORTMANS} >- ${INSTALL_MAN} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}/man/man1/$i ${STAGEDIR}/${PREFIX}/man/man1 >+ ${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${STAGEDIR}/${PREFIX}/man/man1 > .endfor > > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 474753) >+++ distinfo (working copy) >@@ -1,6 +1,8 @@ >-TIMESTAMP = 1530216118 >-SHA256 (gohugo/gohugoio-hugo-v0.42.2_GH0.tar.gz) = 3e834b71c3aab605db0fa7ae54a98161119a9a5758991dd03fcb55151c6de122 >-SIZE (gohugo/gohugoio-hugo-v0.42.2_GH0.tar.gz) = 16529045 >+TIMESTAMP = 1531736352 >+SHA256 (gohugo/gohugoio-hugo-v0.44_GH0.tar.gz) = 63e6ae4be7e7b23ab5551842182b49be9a9a07a82d217c1a7a2815b49976129d >+SIZE (gohugo/gohugoio-hugo-v0.44_GH0.tar.gz) = 17634657 >+SHA256 (gohugo/BurntSushi-locker-a6e239e_GH0.tar.gz) = 6bdc1b865e2e27dd92921c0e4c3aa743156bb5d2cf227af1d0e80573568bcd4a >+SIZE (gohugo/BurntSushi-locker-a6e239e_GH0.tar.gz) = 2108 > SHA256 (gohugo/BurntSushi-toml-a368813_GH0.tar.gz) = 68dc067c4105cd20a642ddf1f4acaada7474c1b58e5b249d4bd9b0d7e8edebc2 > SIZE (gohugo/BurntSushi-toml-a368813_GH0.tar.gz) = 42252 > SHA256 (gohugo/PuerkitoBio-purell-0bcb03f_GH0.tar.gz) = ade9e6e2a5d1d79daaf2d729f450c482ff0aa316ea0a1d9e5e3f7a753d05c49c >@@ -7,12 +9,20 @@ > SIZE (gohugo/PuerkitoBio-purell-0bcb03f_GH0.tar.gz) = 11654 > SHA256 (gohugo/PuerkitoBio-urlesc-de5bf2a_GH0.tar.gz) = 0d4b469d8d1dfe12e740661d242df9f49779e6f07a31361231d5314979391df5 > SIZE (gohugo/PuerkitoBio-urlesc-de5bf2a_GH0.tar.gz) = 6796 >+SHA256 (gohugo/alecthomas-assert-405dbfe_GH0.tar.gz) = 5f9a1b6f048bb3346b2db0c52061ef3330583eba4dfdb3a3309e234fded670e4 >+SIZE (gohugo/alecthomas-assert-405dbfe_GH0.tar.gz) = 71064 > SHA256 (gohugo/alecthomas-chroma-1b755a9_GH0.tar.gz) = dac50afb449ca4fb6a61f3c9866302a5d133e5fe67af7219c2356511e4724a35 > SIZE (gohugo/alecthomas-chroma-1b755a9_GH0.tar.gz) = 300880 >+SHA256 (gohugo/alecthomas-colour-60882d9_GH0.tar.gz) = f7eafbd51169a9c0c3ba6a0b1dc49038eb38733058aae51c3157a5ec86751fe4 >+SIZE (gohugo/alecthomas-colour-60882d9_GH0.tar.gz) = 3479 >+SHA256 (gohugo/alecthomas-repr-f49988b_GH0.tar.gz) = 8e8d1081d04f937082747d338932f83334b807411d92c807591158231173444c >+SIZE (gohugo/alecthomas-repr-f49988b_GH0.tar.gz) = 4603 > SHA256 (gohugo/bep-debounce-844797f_GH0.tar.gz) = e957962f6cf46be644cc31c6de4c2d5dda00736a6f507bc24042235d0295c9c8 > SIZE (gohugo/bep-debounce-844797f_GH0.tar.gz) = 3489 > SHA256 (gohugo/bep-gitmap-012701e_GH0.tar.gz) = 6af8c509315fcaa0abc8d922009357e360d86ac419a611639ca3b67636d053c1 > SIZE (gohugo/bep-gitmap-012701e_GH0.tar.gz) = 4596 >+SHA256 (gohugo/bep-go-tocss-2abb118_GH0.tar.gz) = c594eac88edad15993badc2cb64f0a1865c7962acd73d67fbde27e33969b733a >+SIZE (gohugo/bep-go-tocss-2abb118_GH0.tar.gz) = 5369 > SHA256 (gohugo/chaseadamsio-goorgeous-dcf1ef8_GH0.tar.gz) = 6dbf5f61257fc8c71ec6ae533f477f351c1b0fa11774cf6e8abf27edc7d90d61 > SIZE (gohugo/chaseadamsio-goorgeous-dcf1ef8_GH0.tar.gz) = 34318 > SHA256 (gohugo/cpuguy83-go-md2man-a65d4d2_GH0.tar.gz) = aa57abcc9cc5b034a91479922764bffdcd602d29c8b8ce5512f4dc6bbaab54b9 >@@ -53,10 +63,14 @@ > SIZE (gohugo/magiconair-properties-c3beff4_GH0.tar.gz) = 28713 > SHA256 (gohugo/markbates-inflect-a12c3ae_GH0.tar.gz) = f2849b7cd73f15d391ccc1375e0430f7c3ed32fb612f5a2834015450d0d0491a > SIZE (gohugo/markbates-inflect-a12c3ae_GH0.tar.gz) = 10753 >+SHA256 (gohugo/mattn-go-isatty-0360b2a_GH0.tar.gz) = a1fcc21e454948c43e3098bcc84601a8cc8c871872af7d61ef8d0297e3b7c90b >+SIZE (gohugo/mattn-go-isatty-0360b2a_GH0.tar.gz) = 3364 > SHA256 (gohugo/mattn-go-runewidth-9e777a8_GH0.tar.gz) = 4249ccc1fa807f20a7034e8e8f792fbd939509ff52e8488c6e1d173f7dd3c41e > SIZE (gohugo/mattn-go-runewidth-9e777a8_GH0.tar.gz) = 22363 > SHA256 (gohugo/miekg-mmark-fd2f6c1_GH0.tar.gz) = 5651c08280f6d8468b30c53368f23722b868206427c905c3d6ac6022e7185945 > SIZE (gohugo/miekg-mmark-fd2f6c1_GH0.tar.gz) = 198722 >+SHA256 (gohugo/mitchellh-hashstructure-2bca23e_GH0.tar.gz) = 73e0a2e3c9e965678955774e80cb83006336e2b880704b0f6eb488baf55102d5 >+SIZE (gohugo/mitchellh-hashstructure-2bca23e_GH0.tar.gz) = 6460 > SHA256 (gohugo/mitchellh-mapstructure-00c29f5_GH0.tar.gz) = 612c2d0d6aade35b2556e74be050689517bc9f68a2f0c8c8b3cb1d09d8d123b4 > SIZE (gohugo/mitchellh-mapstructure-00c29f5_GH0.tar.gz) = 18395 > SHA256 (gohugo/muesli-smartcrop-f6ebaa7_GH0.tar.gz) = 337fa158b74dd3b2fd4904737329789f7765fe88c815cb099590d9717cc80085 >@@ -73,6 +87,8 @@ > SIZE (gohugo/russross-blackfriday-11635eb_GH0.tar.gz) = 75168 > SHA256 (gohugo/sanity-io-litter-ae543b7_GH0.tar.gz) = c92fa1e341b82514e3e88408c3701721895497e2ae88d7c165f1ce7cf6cf996f > SIZE (gohugo/sanity-io-litter-ae543b7_GH0.tar.gz) = 8781 >+SHA256 (gohugo/sergi-go-diff-1744e29_GH0.tar.gz) = 5cad5ab4540ef9d4f9966f690f094cb9bde2ef57d7037a73c008531e383372ca >+SIZE (gohugo/sergi-go-diff-1744e29_GH0.tar.gz) = 41627 > SHA256 (gohugo/shurcooL-sanitized_anchor_name-86672fc_GH0.tar.gz) = 01ba94d077da9cac1a008e46dcb77ec36b83c96712fbedfe77cdef7818899996 > SIZE (gohugo/shurcooL-sanitized_anchor_name-86672fc_GH0.tar.gz) = 2059 > SHA256 (gohugo/spf13-afero-787d034_GH0.tar.gz) = f247e0e82612887f145bd2f721096a96c9728f9f67e4ee2eb7a4c1fd3425d1bc >@@ -93,6 +109,12 @@ > SIZE (gohugo/spf13-viper-b5e8006_GH0.tar.gz) = 32022 > SHA256 (gohugo/stretchr-testify-12b6f73_GH0.tar.gz) = d916c3ed1ccbba35f0e01dce8f602a0f185a1670561dbe36e5bb1efddf604794 > SIZE (gohugo/stretchr-testify-12b6f73_GH0.tar.gz) = 95230 >+SHA256 (gohugo/tdewolff-minify-8d72a41_GH0.tar.gz) = 9d94e4a650e060b3b790c7fcaab6f5c72fa9f827c5d00721d39301da7cec2d64 >+SIZE (gohugo/tdewolff-minify-8d72a41_GH0.tar.gz) = 2108677 >+SHA256 (gohugo/tdewolff-parse-d739d6f_GH0.tar.gz) = b63e701a7362c5a4aaebfa886a37a8270ea26ec868ab49abda7142db6aa81fc1 >+SIZE (gohugo/tdewolff-parse-d739d6f_GH0.tar.gz) = 73546 >+SHA256 (gohugo/wellington-go-libsass-615eaa4_GH0.tar.gz) = c61167dc546c15a0ac085adc6e96305af60b80b4ab5dc763ee90481c0539c21d >+SIZE (gohugo/wellington-go-libsass-615eaa4_GH0.tar.gz) = 333300 > SHA256 (gohugo/yosssi-ace-ea038f4_GH0.tar.gz) = 0d8da272af4618613b62f6f28fff6142d285c70de0658b8c328f588a690e4b85 > SIZE (gohugo/yosssi-ace-ea038f4_GH0.tar.gz) = 23269 > SHA256 (gohugo/golang-image-f315e44_GH0.tar.gz) = ad2d55d7f42049f0d5b30d7850b1bea18631dc2c7bec70bb30454a37556707d6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229847
: 195216 |
195217
|
195218