https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217124
Minio Client is a replacement for ls, cp, mkdir, diff and rsync commands for
filesystems and object storage.
Differential D9642
New Port: misc/minio-client krion on Feb 16 2017, 8:46 PM. Authored by Tags None Referenced Files
Subscribers None
Details
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217124 Minio Client is a replacement for ls, cp, mkdir, diff and rsync commands for
Diff Detail
Event Timeline
Comment Actions It could be possible yes, with: PORTVERSION= 2017.02.06T20.16.19 it prints out the right distfile name, but when it starts to download from github, it expands the URL to: Instead of: Which makes whole game useless, so I better leave it as-is, it's up to maintainer to take care of it later, IMHO. Comment Actions When using USE_GITHUB, NEVER set DISTNAME, because it must be generated by the framework. I think that doing: PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z$//:S/T/-:S/-/./g} would do the trick. Otherwise, you could do: DISTVERSIONPREFIX= RELEASE. DISTVERSION= 2017-02-06T20-16-19 DISTVERSIONSUFFIX= Z Comment Actions BTW, not setting DISTNAME with USE_GITHUB is not documented in Porters Handbook. Nope, PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z$//:S/T/-:S/-/./g} wouldn't work as distfile looks like: Comment Actions I know.
I don't understand the problem, it looks like a perfectly reasonable name for it. Comment Actions You can't use PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z$//:S/T/-:S/-/./g} because it contains "-" so it breaks make. Comment Actions With the PORVERSION change I proposed, what does make -V PKGNAME says ? I'm sure it says the right thing. Comment Actions % make -V PKGNAME make: Unknown modifier '-' make: Unknown modifier '-' make: Unknown modifier '-' make: "/usr/home/krion/ports/Mk/bsd.sites.mk" line 527: Undefined variable "${GH_TAGNAME:S/RELEASE.//:S/Z$//:S/T/-:S/-/./g}" make: Unknown modifier '-' make: Unknown modifier '-' make: Unknown modifier '-' make: Unknown modifier '-' make: Unknown modifier '-' make: Unknown modifier '-' make: Unknown modifier '-' make: Fatal errors encountered -- cannot continue make: stopped in /usr/home/krion/ports/www/minio-client Comment Actions There was a / missing, this works: PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g} |