svn commit: r566996 - in head/sysutils/py-qmk: . files
Mateusz Piotrowski
0mp at FreeBSD.org
Tue Mar 2 22:20:46 UTC 2021
Author: 0mp
Date: Tue Mar 2 22:20:45 2021
New Revision: 566996
URL: https://svnweb.freebsd.org/changeset/ports/566996
Log:
Update to 0.0.40
Also, explain how to configure USB for qmk flash.
Modified:
head/sysutils/py-qmk/Makefile
head/sysutils/py-qmk/distinfo
head/sysutils/py-qmk/files/pkg-message.in
Modified: head/sysutils/py-qmk/Makefile
==============================================================================
--- head/sysutils/py-qmk/Makefile Tue Mar 2 22:18:33 2021 (r566995)
+++ head/sysutils/py-qmk/Makefile Tue Mar 2 22:20:45 2021 (r566996)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= qmk
-PORTVERSION= 0.0.39
+PORTVERSION= 0.0.40
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Modified: head/sysutils/py-qmk/distinfo
==============================================================================
--- head/sysutils/py-qmk/distinfo Tue Mar 2 22:18:33 2021 (r566995)
+++ head/sysutils/py-qmk/distinfo Tue Mar 2 22:20:45 2021 (r566996)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1613584355
-SHA256 (qmk-0.0.39.tar.gz) = 21532ca4daa40c01f0727a162f9b67e5cd070cacfc636739b87460065a5f1863
-SIZE (qmk-0.0.39.tar.gz) = 9457
+TIMESTAMP = 1614722022
+SHA256 (qmk-0.0.40.tar.gz) = b4c051d2cb922dda1561069d7d98e9300071d37a27d96610cc5cc703eccb5d06
+SIZE (qmk-0.0.40.tar.gz) = 10474
Modified: head/sysutils/py-qmk/files/pkg-message.in
==============================================================================
--- head/sysutils/py-qmk/files/pkg-message.in Tue Mar 2 22:18:33 2021 (r566995)
+++ head/sysutils/py-qmk/files/pkg-message.in Tue Mar 2 22:20:45 2021 (r566996)
@@ -1,13 +1,39 @@
[
{ type: install
message: <<EOM
+Setup
+=====
+
Before finishing the setup of QMK by running `qmk setup`, it is advised to
install the python3 package first:
- pkg install python3
+ # pkg install python3
The reason for this is that the qmk_firmware scripts which are downloaded
during the setup expect python3 to be installed (instead of %%PYTHON_CMD%%).
+
+Granting Write Permissions to USB Controllers
+=============================================
+
+Flashing images to controllers as a non-root user requires
+some additional setup:
+
+1. Add the user to the "operator" group:
+
+ # pw groupmod operator -m piotr
+
+2. Add the following ruleset to /etc/devfs.rules:
+
+ [qmk=10]
+ add path 'ttyU*' mode 0660 group operator
+
+3. Enable "qmk" ruleset:
+
+ # sysrc devfs_system_ruleset+="qmk"
+
+4. Restart the devfs service to load the new rules:
+
+ # service devfs restart
EOM
}
]
More information about the svn-ports-all
mailing list