diff options
author | 2025-01-05 20:03:31 +0100 | |
---|---|---|
committer | 2025-01-05 20:03:31 +0100 | |
commit | 1662441d4ed0021e0228f264981bc95f4897f672 (patch) | |
tree | 833a3bff3272a3090889e1840e1120eb8440e611 /sys-kernel/vtty/vtty-0_p20230917.ebuild | |
parent | sys-kernel/vtty: new package, add 0_p20230917 (diff) | |
download | ebuilds-1662441d4ed0021e0228f264981bc95f4897f672.tar.xz |
sys-kernel/vtty: patches for 6.12 kernel
Diffstat (limited to 'sys-kernel/vtty/vtty-0_p20230917.ebuild')
-rw-r--r-- | sys-kernel/vtty/vtty-0_p20230917.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/sys-kernel/vtty/vtty-0_p20230917.ebuild b/sys-kernel/vtty/vtty-0_p20230917.ebuild deleted file mode 100644 index 8419b74..0000000 --- a/sys-kernel/vtty/vtty-0_p20230917.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit linux-mod-r1 udev - -DESCRIPTION="Virtual serial port kernel module" -HOMEPAGE="https://github.com/anszom/vtty" -COMMIT="49f3fb0ba5f062771d06182d24c2b525e4b67dea" -SRC_URI="https://github.com/anszom/vtty/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="virtual/udev" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/vtty-tty_operations.patch -) - -src_compile() { - local modlist=( vtty ) - local modargs=( KDIR="${KV_OUT_DIR}" ) - - linux-mod-r1_src_compile -} - -src_install() { - linux-mod-r1_src_install - - udev_newrules - 69-vtty.rules <<-EOF - # do not edit this file, it will be overwritten on update - # - KERNEL=="vtmx", SUBSYSTEM=="misc", TAG+="uaccess" - KERNEL=="ttyV[0-9]*", SUBSYSTEM=="tty", TAG+="uaccess" - EOF -} - -pkg_postinst() { - linux-mod-r1_pkg_postinst - udev_reload -} - -pkg_postrm() { - udev_reload -} |