FreeBSD Bugzilla – Attachment 177384 Details for
Bug 214820
[NEW PORT] www/go-www: Static web server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
go-www shar USES= go
go-www.shar (text/plain), 2.47 KB, created by
nbari
on 2016-11-25 12:52:24 UTC
(
hide
)
Description:
go-www shar USES= go
Filename:
MIME Type:
Creator:
nbari
Created:
2016-11-25 12:52:24 UTC
Size:
2.47 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># go-www ># go-www/Makefile ># go-www/distinfo ># go-www/pkg-descr ># >echo c - go-www >mkdir -p go-www > /dev/null 2>&1 >echo x - go-www/Makefile >sed 's/^X//' >go-www/Makefile << 'd6a526a046b3791eaf657327a51540a7' >X# $FreeBSD$ >X >XPORTNAME= go-www >XPORTVERSION= 0.3.1 >XCATEGORIES= www >X >XMAINTAINER= nbari@tequila.io >XCOMMENT= static web server >X >XLICENSE= BSD3CLAUSE >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XBUILD_DEPENDS= go>=1.7:lang/go >X >XUSES= compiler go >X >XUSE_GITHUB= yes >XGH_ACCOUNT= nbari:DEFAULT \ >X nbari:violetear >XGH_PROJECT= www violetear:violetear >XGH_TAGNAME= 2.2.0:violetear >X >XSTRIP= # stripping can break go binaries >X >XPLIST_FILES= bin/www >X >Xpost-patch: >X @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} >X.for src in ssl.go cmd >X @${MV} ${WRKSRC}/${src} \ >X ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} >X.endfor >X @${MV} ${WRKSRC_violetear}/${src} \ >X ${WRKSRC}/src/github.com/${GH_ACCOUNT}/violetear >X >Xdo-build: >X @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \ >X ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \ >X "-X main.version=${PORTVERSION}" -o www cmd/www/main.go; >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/www ${STAGEDIR}${PREFIX}/bin/www >X >X.include <bsd.port.mk> >d6a526a046b3791eaf657327a51540a7 >echo x - go-www/distinfo >sed 's/^X//' >go-www/distinfo << '4350fb0f2e480671d61174621af59512' >XTIMESTAMP = 1480072061 >XSHA256 (nbari-www-0.3.1_GH0.tar.gz) = 322612b8ad3167df0a6bf84b283db958f670d6f0e4770376ae24fc4ea39d9f68 >XSIZE (nbari-www-0.3.1_GH0.tar.gz) = 3633 >XSHA256 (nbari-violetear-2.2.0_GH0.tar.gz) = a71a2355548ae5adef5578552dc522c1a6174f9ac88b36db25c8bba1c39ab01e >XSIZE (nbari-violetear-2.2.0_GH0.tar.gz) = 14408 >4350fb0f2e480671d61174621af59512 >echo x - go-www/pkg-descr >sed 's/^X//' >go-www/pkg-descr << '7bebb9fdb200f7c511132fdd8feba872' >Xstatic web server >X >Xwww will start a web server listening on port 8000 and use as document root >Xthe directory where the command was called. Different document root may be >Xspecified as also the port and use of SSL, more info using the -h option. >X >XWWW: https://github.com/nbari/www >7bebb9fdb200f7c511132fdd8feba872 >exit >
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 Raw
Actions:
View
Attachments on
bug 214820
:
177375
|
177377
| 177384