Bug 194987 - [New port] devel/statik
Summary: [New port] devel/statik
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords: patch-ready
Depends on:
Blocks:
 
Reported: 2014-11-13 08:56 UTC by cheffo
Modified: 2015-02-08 10:09 UTC (History)
2 users (show)

See Also:


Attachments
statik shar file (2.05 KB, text/plain)
2014-11-13 08:56 UTC, cheffo
no flags Details
poudriere testport output (9.26 KB, text/plain)
2014-11-13 08:56 UTC, cheffo
no flags Details
poudriere testport portlint output (91 bytes, text/plain)
2014-11-13 08:56 UTC, cheffo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description cheffo 2014-11-13 08:56:00 UTC
Created attachment 149357 [details]
statik shar file

statik allows you to embed a directory of static files into your Go binary to
be later served from an http.FileSystem. Is this a crazy idea?
No, not necessarily. If you're building a tool that has a Web component, you
typically want to serve some images, CSS and JavaScript. You like the comfort
of distributing a single binary, so you don't want to mess with deploying them
elsewhere. If your static files are not large in size and will be browsed by a
few people, statik is a solution you are looking for.

WWW: https://github.com/rakyll/statik

Redports logs - https://redports.org/buildarchive/20141113084810-12388/
Comment 1 cheffo 2014-11-13 08:56:24 UTC
Created attachment 149358 [details]
poudriere testport output
Comment 2 cheffo 2014-11-13 08:56:53 UTC
Created attachment 149359 [details]
poudriere testport portlint output
Comment 3 John Marino freebsd_committer freebsd_triage 2015-02-06 15:19:13 UTC
This new port is poudriere tested and visually looks fine, promoting to "patch-ready" pool.
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2015-02-08 09:57:17 UTC
Testing @work
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-02-08 10:07:38 UTC
A commit references this bug:

Author: pi
Date: Sun Feb  8 10:06:56 UTC 2015
New revision: 378634
URL: https://svnweb.freebsd.org/changeset/ports/378634

Log:
  New port: devel/statik

  statik allows you to embed a directory of static files into your
  Go binary to be later served from an http.FileSystem. Is this a
  crazy idea?  No, not necessarily. If you're building a tool that
  has a Web component, you typically want to serve some images, CSS
  and JavaScript. You like the comfort of distributing a single binary,
  so you don't want to mess with deploying them elsewhere. If your
  static files are not large in size and will be browsed by a few
  people, statik is a solution you are looking for.

  WWW: https://github.com/rakyll/statik

  PR:		194987
  Submitted by:	cheffo@freebsd-bg.org

Changes:
  head/devel/Makefile
  head/devel/statik/
  head/devel/statik/Makefile
  head/devel/statik/distinfo
  head/devel/statik/pkg-descr
  head/devel/statik/pkg-plist
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2015-02-08 10:09:21 UTC
Committed, thanks for your patience.