Can you make a pkgver()
function that generates a proper, monotoneously increasing, $pkgver
?
You can have a look at my *-git
packages for inspirations if you want.
Thanks for maintaining!
Git Clone URL: | https://aur.archlinux.org/tty0tty-dkms-git.git (read-only, click to copy) |
---|---|
Package Base: | tty0tty-dkms-git |
Description: | tty0tty Virtual Serial Cable (DKMS and userspace variant). |
Upstream URL: | https://github.com/freemed/tty0tty |
Licenses: | GPL-2.0-only |
Conflicts: | tty0tty, tty0tty-pts |
Provides: | tty0tty, tty0tty-doc, tty0tty-pts |
Submitter: | dreieck |
Maintainer: | dreieck |
Last Packager: | dreieck |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2022-06-14 11:09 (UTC) |
Last Updated: | 2024-10-10 09:45 (UTC) |
« First ‹ Previous 1 2 3
Can you make a pkgver()
function that generates a proper, monotoneously increasing, $pkgver
?
You can have a look at my *-git
packages for inspirations if you want.
Thanks for maintaining!
There was a breaking change in kernel 5.14 for serial drivers, this is the patch needed to make it work in kernels >= 5.14: https://github.com/freemed/tty0tty/pull/37
It would be interesting to replace it with this one.
linux null modem emulator v1.3: https://github.com/lcgamboa/tty0tty
I've added two files in my system to support loading module at boot and setting the same rights as other serial devices, maybe you could add them to your package?
/etc/udev/rules.d/95-tty0tty.rules
KERNEL=="tnt[0-7]", SUBSYSTEM=="tty", GROUP="uucp", MODE="0660"
/etc/modules-load.d/tty0tty.conf
tty0tty
Also, git should be added in makedepends.
For proper version numbers, you need:
pkgver() {
cd ${_pkgbase}
git describe --tags | sed 's/-/.r/; s/-/./'
}
It would be also a good idea to install the README under /usr/share/doc/tty0tty/
.
Pinned Comments
dreieck commented on 2024-01-11 19:19 (UTC)
I like to disown since I do not actively use it and I am not familiar with kernel code. @ozz seems to be more familiar.
Anyone wanting to adopt? Please drop me an email and I will transfer ownership to you.
Regards!