Bug 248424

Summary: [NEW PORT] net/quiche: QUIC/HTTP3 implementation
Product: Ports & Packages Reporter: Junho Choi <junho.choi>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy, junho.choi, pi
Priority: --- Keywords: feature
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
generated using svn diff.
none
version scheme changed
none
quiche-0.5.1.6 port (shar) none

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