Bug 256754

Summary: [NEW PORT]: net/remarkable-devd: automatically configure the USB network connection for Remarkable tablets
Product: Ports & Packages Reporter: Trenton Schulz <trueos>
Component: Individual Port(s)Assignee: Tobias C. Berner <tcberner>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi, tcberner
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Git diff for remarkable-devd port
none
Updated diff due to error in plist trueos: maintainer-approval+

Description Trenton Schulz 2021-06-21 18:29:27 UTC
Created attachment 225974 [details]
Git diff for remarkable-devd port

Create a port for  automatically configuring the USB network connection Remarkable tablets.

Remarkable tablets provide a network connection when they are connected to a computer via a USB cable. This is simply a devd script that automatically calls dhclient on the attached interface to set up a connection.

Tested with Remarkable 1 and Remarkable 2 tablets.
Comment 1 Trenton Schulz 2021-06-21 19:19:42 UTC
Created attachment 225975 [details]
Updated diff due to error in plist
Comment 2 Tobias C. Berner freebsd_committer 2021-07-14 10:37:47 UTC
Committed, thank you very much :)
Comment 3 commit-hook freebsd_committer 2021-07-14 10:38:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5529844e1456e2692b756ca5368e215cea0e0a17

commit 5529844e1456e2692b756ca5368e215cea0e0a17
Author:     Trenton Schulz <trueos@norwegianrockcat.com>
AuthorDate: 2021-07-14 10:32:37 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-07-14 10:36:53 +0000

    net/remarkable-devd: new port -- Devd hotplug rules for Remarkable Tablet

    Automatic IP address when connecting a Remarkable Tablet to USB. This
    makes it possible to access your Remarkable tablet via ssh or its USB
    web interface when it's enabled.

    PR:             256754

 net/Makefile                                       |  1 +
 net/remarkable-devd/Makefile (new)                 | 27 +++++++++++++
 net/remarkable-devd/files/pkg-message.in (new)     | 14 +++++++
 net/remarkable-devd/files/remarkable.conf.in (new) |  7 ++++
 net/remarkable-devd/files/remarkable.in (new)      | 45 ++++++++++++++++++++++
 net/remarkable-devd/pkg-descr (new)                |  3 ++
 6 files changed, 97 insertions(+)