Bug 248424 - [NEW PORT] net/quiche: QUIC/HTTP3 implementation
Summary: [NEW PORT] net/quiche: QUIC/HTTP3 implementation
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: feature
Depends on:
Blocks:
 
Reported: 2020-08-02 10:03 UTC by Junho Choi
Modified: 2020-08-11 10:14 UTC (History)
3 users (show)

See Also:


Attachments
generated using svn diff. (17.93 KB, patch)
2020-08-02 10:03 UTC, Junho Choi
no flags Details | Diff
version scheme changed (15.05 KB, application/x-shellscript)
2020-08-02 19:01 UTC, Junho Choi
no flags Details
quiche-0.5.1.6 port (shar) (15.05 KB, application/x-shellscript)
2020-08-11 06:44 UTC, Junho Choi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Junho Choi 2020-08-02 10:03:01 UTC
Created attachment 216950 [details]
generated using svn diff.

quiche is an implementation of the QUIC transport protocol and HTTP/3
as specified by the IETF.

It provides a low level API for processing QUIC packets and handling
connection state. The application is responsible for providing I/O
(e.g. sockets handling) as well as an event loop with support for timers.



Porting Notes:
- use latest github master. crate.io artifact doesn't include quiche apps and github release doesn't include boringssl, so not able to build
- qlog support is optional
- in addition to libquiche, build and install quiche apps (tools/apps) as well.
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2020-08-02 10:12:06 UTC
I think it would be better to stick to releases and add patches if needed?
https://github.com/cloudflare/quiche/releases/tag/0.5.1 - Only 3 commits behind  master if they're needed at all

If you insist on using dates it should be g not r as far as I can tell by looking at handbook.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html (Example 5.13)
Comment 2 Junho Choi 2020-08-02 19:01:57 UTC
Created attachment 216963 [details]
version scheme changed
Comment 3 Junho Choi 2020-08-02 19:05:52 UTC
(In reply to daniel.engberg.lists from comment #1)

As explained in the PR description, there is a problem in release tarball, so easier to use directly from github otherwise it will be more complex. Also quiche moves quickly (I am also a developer of quiche) so better to use latest.

Also I updated the version scheme based on the handbook. now it's 0.5.1.3, much simpler. Initially I copied versioning from cad/kicad-library-footprints-devel but it seems too complicated.

I uploaded a new one. Thanks!
Comment 4 Junho Choi 2020-08-11 06:44:14 UTC
Created attachment 217145 [details]
quiche-0.5.1.6 port (shar)

Update to 0.5.1.6
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2020-08-11 07:43:32 UTC
testbuilds@work
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2020-08-11 10:14:03 UTC
Committed, thanks!
Comment 7 commit-hook freebsd_committer freebsd_triage 2020-08-11 10:14:37 UTC
A commit references this bug:

Author: pi
Date: Tue Aug 11 10:13:43 UTC 2020
New revision: 544679
URL: https://svnweb.freebsd.org/changeset/ports/544679

Log:
  New port: net/quiche

  quiche is an implementation of the QUIC transport protocol and HTTP/3
  as specified by the IETF.

  It provides a low level API for processing QUIC packets and handling
  connection state. The application is responsible for providing I/O
  (e.g. sockets handling) as well as an event loop with support for timers.

  WWW: https://github.com/cloudflare/quiche
  WWW: https://crates.io/crates/quiche

  PR:		248424
  Submitted by:	Junho Choi <junho.choi@gmail.com>

Changes:
  head/net/Makefile
  head/net/quiche/
  head/net/quiche/Makefile
  head/net/quiche/distinfo
  head/net/quiche/pkg-descr