Bug 213391

Summary: [NEW PORT] devel/listserialc: Multiplatform program to list serial ports
Product: Ports & Packages Reporter: Kyle Evans <kevans>
Component: Individual Port(s)Assignee: Boris Samorodov <bsam>
Status: Closed FIXED    
Severity: Affects Only Me CC: bsam
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 213053    
Bug Blocks:    
Attachments:
Description Flags
shar(1) archive of devel/listserialc none

Description Kyle Evans freebsd_committer freebsd_triage 2016-10-11 19:34:12 UTC
Created attachment 175635 [details]
shar(1) archive of devel/listserialc

Provides lib/jni/liblistSerialsj.so and bin/listSerialC, the former of which is required for Arduino 1.6. This is generally a simple/small wrapper around devel/libserialport, thus inheriting the license from it.

Tested using Poudriere, builds on my -CURRENT machine, and portlint seems to be happy.
Comment 1 Boris Samorodov freebsd_committer freebsd_triage 2016-10-11 20:06:29 UTC
Take.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-10-11 22:04:24 UTC
A commit references this bug:

Author: bsam
Date: Tue Oct 11 22:03:27 UTC 2016
New revision: 423803
URL: https://svnweb.freebsd.org/changeset/ports/423803

Log:
  Simple multi-platform program to list serial ports with vid/pid/iserial fields.

  WWW: https://github.com/arduino/listSerialPortsC

  PR:		213391
  Submitted by:	bsdports@kyle-evans.net

Changes:
  head/devel/Makefile
  head/devel/listserialc/
  head/devel/listserialc/Makefile
  head/devel/listserialc/distinfo
  head/devel/listserialc/pkg-descr
Comment 3 Boris Samorodov freebsd_committer freebsd_triage 2016-10-11 22:08:57 UTC
Committed, thanks!

A note: seems that some ports (i.e. my new devel/libserialport) along with this one most fit comms CATEGORY. What do you think?
Comment 4 Kyle Evans freebsd_committer freebsd_triage 2016-10-11 22:35:31 UTC
(In reply to Boris Samorodov from comment #3)

I would be inclined to agree, personally. I offered devel/listserialc based solely on the fact that libserialport was already in devel/ and this is just a light wrapper around it. comms/ would seem to be a much better fit for both of them.
Comment 5 Boris Samorodov freebsd_committer freebsd_triage 2016-10-11 22:54:16 UTC
OK. Then let's do the hard part (arduino-1.6 port) and then do shuffling and refinements.
Comment 6 Kyle Evans freebsd_committer freebsd_triage 2016-10-11 23:01:48 UTC
Roger. Here in a bit I'll be submitting devel/arduino-ctags (ctags-5.8 + arduino patches)- would it be acceptable to just throw the ctags binary it produces @ $PREFIX/arduino/tools-builder/ctags-5.8/ctags?