Created attachment 177375 [details] shar file static web server Why? Because of the need to share, test via HTTP the contents of a directory. How it works ? www will start a web server listening on port 8000 and use as document root the directory where the command was called. Different document root may be specified as also the port and use of SSL, more info using the -h option. WWW: https://github.com/nbari/www
This should probably be named go-www Please also confirm this port passes QA (portlint, poudriere). For more information see: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html
It is compiling and passing, It is ok to call it gowww instead of gohugo to keep consistency with other ports like gohugo ?
(In reply to nbari from comment #2) It seems there is not a consistent convention: https://www.freshports.org/search.php?stype=name&method=prefix&query=go- I'd be +1 on go-, which is itself consistent with perl, python, rubygem, etc ports CC lang/go maintainer for their input
Created attachment 177377 [details] go-www shar go-www shar
(In reply to nbari from comment #4) I'm not hugely familiar with golang ports, but I believe they should use USES=go: https://www.au.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#uses-go
From all the ports I have submitted no one currently using USES=go instead they use USES=compiler, port indeed passing, and compiling And have this BUILD_DEPENDS= go>=1.7:lang/go
Created attachment 177384 [details] go-www shar USES= go added the USES= compiler go
Thanks Nicolas. If you could 'obsolete' all previous attachments that would be great. Attachment -> Details -> Edit Details -> [X] Obsolete
Hi, any update on this ? thanks in advance
A commit references this bug: Author: woodsb02 Date: Sun Feb 5 12:39:12 UTC 2017 New revision: 433398 URL: https://svnweb.freebsd.org/changeset/ports/433398 Log: Add www/go-www: Web server for static content www is a static web server, useful for sharing and testing the contents of a directory via HTTP. www will start a web server listening on port 8000 and use as document root the directory where the command was called. Different document root may be specified as also the port and use of SSL, more info using the -h option. WWW: https://github.com/nbari/www PR: 214820 Submitted by: Nicolas de Bari Embriz Garcia Rojas Changes: head/www/Makefile head/www/go-www/ head/www/go-www/Makefile head/www/go-www/distinfo head/www/go-www/pkg-descr
Committed, with some minor changes. Nice work Nicolas.