diff --git a/textproc/git-chglog/Makefile b/textproc/git-chglog/Makefile index 4d0e59e701d6..000aa2f2e6c6 100644 --- a/textproc/git-chglog/Makefile +++ b/textproc/git-chglog/Makefile @@ -1,51 +1,45 @@ PORTNAME= git-chglog DISTVERSIONPREFIX= v -DISTVERSION= 0.15.1 -PORTREVISION= 12 +DISTVERSION= 0.15.4 CATEGORIES= textproc MAINTAINER= lcook@FreeBSD.org COMMENT= CHANGELOG generator implemented in Go WWW= https://github.com/git-chglog/git-chglog LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= git:devel/git USES= go:modules -USE_GITHUB= nodefault -GH_TUPLE= golang:sys:v0.6.0:sys +GO_MODULE= github.com/${PORTNAME}/${PORTNAME} _BUILD_VERSION= ${DISTVERSIONFULL} GO_MODULE= github.com/${PORTNAME}/${PORTNAME} GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -s -w \ -X main.version=${_BUILD_VERSION}" PLIST_FILES= bin/${PORTNAME} PORTDOCS= CHANGELOG.md CONTRIBUTING.md README.md _EXAMPLES= .chglog/CHANGELOG.tpl.md .chglog/config.yml PORTEXAMPLES= ${_EXAMPLES:T} OPTIONS_DEFINE= DOCS EXAMPLES EXAMPLES_DESC= Install example template format and configuration -pre-patch: - ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys - ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${_EXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/textproc/git-chglog/distinfo b/textproc/git-chglog/distinfo index b3aa162bd924..b04451785913 100644 --- a/textproc/git-chglog/distinfo +++ b/textproc/git-chglog/distinfo @@ -1,7 +1,5 @@ -TIMESTAMP = 1678699552 -SHA256 (go/textproc_git-chglog/git-chglog-v0.15.1/v0.15.1.mod) = 594a406eb636d0ab5149fabd7e6e8a031a306169413a3ed955a587a1f480de68 -SIZE (go/textproc_git-chglog/git-chglog-v0.15.1/v0.15.1.mod) = 525 -SHA256 (go/textproc_git-chglog/git-chglog-v0.15.1/v0.15.1.zip) = 48c0aefef7b227aa476a14c5eb95cccc7e00a9f0edd159bae684dacd8f6e6c95 -SIZE (go/textproc_git-chglog/git-chglog-v0.15.1/v0.15.1.zip) = 579345 -SHA256 (go/textproc_git-chglog/git-chglog-v0.15.1/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54 -SIZE (go/textproc_git-chglog/git-chglog-v0.15.1/golang-sys-v0.6.0_GH0.tar.gz) = 1434234 +TIMESTAMP = 1679111535 +SHA256 (go/textproc_git-chglog/git-chglog-v0.15.4/v0.15.4.mod) = d3c21568fd4ddd85577ded646edc3659e4530f78bde2a7a9a866004061de59e4 +SIZE (go/textproc_git-chglog/git-chglog-v0.15.4/v0.15.4.mod) = 1835 +SHA256 (go/textproc_git-chglog/git-chglog-v0.15.4/v0.15.4.zip) = 35ac1f56bb527a51343925fe106538ee89a1df7e4832e51e3f7835252d48fc35 +SIZE (go/textproc_git-chglog/git-chglog-v0.15.4/v0.15.4.zip) = 580995 diff --git a/textproc/git-chglog/files/patch-go.mod b/textproc/git-chglog/files/patch-go.mod deleted file mode 100644 index 6f000f735e58..000000000000 --- a/textproc/git-chglog/files/patch-go.mod +++ /dev/null @@ -1,44 +0,0 @@ ---- go.mod.orig 2023-03-13 09:27:46 UTC -+++ go.mod -@@ -1,6 +1,6 @@ - module github.com/git-chglog/git-chglog - --go 1.16 -+go 1.17 - - require ( - github.com/AlecAivazis/survey/v2 v2.3.2 -@@ -15,4 +15,33 @@ require ( - github.com/tsuyoshiwada/go-gitcmd v0.0.0-20180205145712-5f1f5f9475df - github.com/urfave/cli/v2 v2.3.0 - gopkg.in/yaml.v2 v2.4.0 -+) -+ -+require ( -+ github.com/Masterminds/goutils v1.1.1 // indirect -+ github.com/Masterminds/semver/v3 v3.1.1 // indirect -+ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect -+ github.com/davecgh/go-spew v1.1.1 // indirect -+ github.com/fatih/structs v1.1.0 // indirect -+ github.com/golang-jwt/jwt v3.2.1+incompatible // indirect -+ github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135 // indirect -+ github.com/google/uuid v1.1.1 // indirect -+ github.com/huandu/xstrings v1.3.1 // indirect -+ github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect -+ github.com/mattn/go-isatty v0.0.14 // indirect -+ github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect -+ github.com/mitchellh/copystructure v1.0.0 // indirect -+ github.com/mitchellh/reflectwalk v1.0.0 // indirect -+ github.com/pkg/errors v0.9.1 // indirect -+ github.com/pmezard/go-difflib v1.0.0 // indirect -+ github.com/russross/blackfriday/v2 v2.0.1 // indirect -+ github.com/shopspring/decimal v1.2.0 // indirect -+ github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect -+ github.com/spf13/cast v1.3.1 // indirect -+ github.com/trivago/tgo v1.0.7 // indirect -+ golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 // indirect -+ golang.org/x/sys v0.6.0 // indirect -+ golang.org/x/term v0.0.0-20210503060354-a79de5458b56 // indirect -+ golang.org/x/text v0.3.3 // indirect -+ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect - ) diff --git a/textproc/git-chglog/files/patch-go.sum b/textproc/git-chglog/files/patch-go.sum deleted file mode 100644 index 7b37bacabebf..000000000000 --- a/textproc/git-chglog/files/patch-go.sum +++ /dev/null @@ -1,11 +0,0 @@ ---- go.sum.orig 2023-03-13 09:27:49 UTC -+++ go.sum -@@ -95,6 +95,8 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go - golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= - golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 h1:foEbQz/B0Oz6YIqu/69kfXPYeFQAuuMYFkjaqXzl5Wo= - golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -+golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= -+golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= - golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= - golang.org/x/term v0.0.0-20210503060354-a79de5458b56 h1:b8jxX3zqjpqb2LklXPzKSGJhzyxCOZSz8ncv8Nv+y7w= - golang.org/x/term v0.0.0-20210503060354-a79de5458b56/go.mod h1:tfny5GFUkzUvx4ps4ajbZsCe5lw1metzhBm9T3x7oIY= diff --git a/textproc/git-chglog/files/patch-vendor_modules.txt b/textproc/git-chglog/files/patch-vendor_modules.txt deleted file mode 100644 index 3885b29cbd6f..000000000000 --- a/textproc/git-chglog/files/patch-vendor_modules.txt +++ /dev/null @@ -1,138 +0,0 @@ ---- vendor/modules.txt.orig 2023-03-13 09:28:26 UTC -+++ vendor/modules.txt -@@ -1,98 +1,124 @@ - # github.com/AlecAivazis/survey/v2 v2.3.2 --## explicit -+## explicit; go 1.13 - github.com/AlecAivazis/survey/v2 - github.com/AlecAivazis/survey/v2/core - github.com/AlecAivazis/survey/v2/terminal - # github.com/Masterminds/goutils v1.1.1 -+## explicit - github.com/Masterminds/goutils - # github.com/Masterminds/semver/v3 v3.1.1 -+## explicit; go 1.12 - github.com/Masterminds/semver/v3 - # github.com/Masterminds/sprig/v3 v3.2.2 --## explicit -+## explicit; go 1.13 - github.com/Masterminds/sprig/v3 - # github.com/andygrunwald/go-jira v1.14.0 --## explicit -+## explicit; go 1.12 - github.com/andygrunwald/go-jira - # github.com/coreos/go-semver v0.3.0 - ## explicit - github.com/coreos/go-semver/semver - # github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d -+## explicit; go 1.12 - github.com/cpuguy83/go-md2man/v2/md2man - # github.com/davecgh/go-spew v1.1.1 -+## explicit - github.com/davecgh/go-spew/spew - # github.com/fatih/color v1.13.0 --## explicit -+## explicit; go 1.13 - github.com/fatih/color - # github.com/fatih/structs v1.1.0 -+## explicit - github.com/fatih/structs - # github.com/golang-jwt/jwt v3.2.1+incompatible -+## explicit - github.com/golang-jwt/jwt - # github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135 -+## explicit - github.com/google/go-querystring/query - # github.com/google/uuid v1.1.1 -+## explicit - github.com/google/uuid - # github.com/huandu/xstrings v1.3.1 -+## explicit; go 1.12 - github.com/huandu/xstrings - # github.com/imdario/mergo v0.3.12 --## explicit -+## explicit; go 1.13 - github.com/imdario/mergo - # github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 -+## explicit - github.com/kballard/go-shellquote - # github.com/kyokomi/emoji/v2 v2.2.8 --## explicit -+## explicit; go 1.14 - github.com/kyokomi/emoji/v2 - # github.com/mattn/go-colorable v0.1.11 --## explicit -+## explicit; go 1.13 - github.com/mattn/go-colorable - # github.com/mattn/go-isatty v0.0.14 -+## explicit; go 1.12 - github.com/mattn/go-isatty - # github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b -+## explicit - github.com/mgutz/ansi - # github.com/mitchellh/copystructure v1.0.0 -+## explicit - github.com/mitchellh/copystructure - # github.com/mitchellh/reflectwalk v1.0.0 -+## explicit - github.com/mitchellh/reflectwalk - # github.com/pkg/errors v0.9.1 -+## explicit - github.com/pkg/errors - # github.com/pmezard/go-difflib v1.0.0 -+## explicit - github.com/pmezard/go-difflib/difflib - # github.com/russross/blackfriday/v2 v2.0.1 -+## explicit - github.com/russross/blackfriday/v2 - # github.com/shopspring/decimal v1.2.0 -+## explicit; go 1.13 - github.com/shopspring/decimal - # github.com/shurcooL/sanitized_anchor_name v1.0.0 -+## explicit - github.com/shurcooL/sanitized_anchor_name - # github.com/spf13/cast v1.3.1 -+## explicit - github.com/spf13/cast - # github.com/stretchr/testify v1.7.0 --## explicit -+## explicit; go 1.13 - github.com/stretchr/testify/assert - # github.com/trivago/tgo v1.0.7 -+## explicit - github.com/trivago/tgo/tcontainer - github.com/trivago/tgo/treflect - # github.com/tsuyoshiwada/go-gitcmd v0.0.0-20180205145712-5f1f5f9475df - ## explicit - github.com/tsuyoshiwada/go-gitcmd - # github.com/urfave/cli/v2 v2.3.0 --## explicit -+## explicit; go 1.11 - github.com/urfave/cli/v2 - # golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 -+## explicit; go 1.11 - golang.org/x/crypto/bcrypt - golang.org/x/crypto/blowfish - golang.org/x/crypto/pbkdf2 - golang.org/x/crypto/scrypt --# golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 -+# golang.org/x/sys v0.6.0 -+## explicit; go 1.17 - golang.org/x/sys/internal/unsafeheader - golang.org/x/sys/plan9 - golang.org/x/sys/unix - golang.org/x/sys/windows - # golang.org/x/term v0.0.0-20210503060354-a79de5458b56 -+## explicit; go 1.17 - golang.org/x/term - # golang.org/x/text v0.3.3 -+## explicit; go 1.11 - golang.org/x/text/transform - golang.org/x/text/width - # gopkg.in/yaml.v2 v2.4.0 --## explicit -+## explicit; go 1.15 - gopkg.in/yaml.v2 - # gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c -+## explicit - gopkg.in/yaml.v3