Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2022 00:51:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264874] [NEW PORT] net/slackcat: Simple commandline utility to post snippets to Slack
Message-ID:  <bug-264874-7788-7kp8yYR82s@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264874-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264874-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264874

Norikatsu Shigemura <nork@ninth-nine.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #234919|0                           |1
        is obsolete|                            |

--- Comment #3 from Norikatsu Shigemura <nork@ninth-nine.com> ---
Created attachment 234925
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234925&action=
=3Dedit
A new port for slackcat [fixed #2]

Hi Dmitri.

>> GO_MODULE=3D	github.com/bcicen/${PORTNAME}@v1.2.2-0.20210721161326-5c4e4=
410002c
>This will actually install the older v1.2.2 version, not v1.7.3 as the DIS=
TVERSION says.

Oh I see.  This is a result of following command, so it's a specification.

$ go118 list -m -f "{{.Version}}" github.com/bcicen/slackcat@1.7.3
v1.2.2-0.20210721161326-5c4e4410002c

I don't know why "v1.2.2".

>> GO_TARGET=3D	${PORTNAME}
>This is already the default.
>> @${REINPLACE_CMD} -e "/version =3D /s/dev-build/${DISTVERSION}/" ${WRKSR=
C}/main.go
>A better way to do this would be with GO_BUILDFLAGS=3D-ldflags=3D"-X main.=
version=3D${DISTVERSION}"

Thank you. I clean-up-ed, please see attached new patch.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264874-7788-7kp8yYR82s>