summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-07 14:40:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-07 14:40:15 +0100
commita431c1e891e1cc3a171d86972d3285d7a8adba49 (patch)
treedc6dfa4b663826346f20fe1ad9ba20262d37e75c /sys-fs
parent6e9580c749e7fe2da2b9d64dad543c0c5af1c8a5 (diff)
sys-fs/vhba && sys-kernel/vhba-dkms : version bump
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/vhba/Manifest2
-rw-r--r--sys-fs/vhba/vhba-20190410.ebuild (renamed from sys-fs/vhba/vhba-20170610-r1.ebuild)27
2 files changed, 13 insertions, 16 deletions
diff --git a/sys-fs/vhba/Manifest b/sys-fs/vhba/Manifest
index 376b2472..667f7ec8 100644
--- a/sys-fs/vhba/Manifest
+++ b/sys-fs/vhba/Manifest
@@ -1 +1 @@
-DIST vhba-module-20170610.tar.bz2 15622 BLAKE2B 7556f13dba719779a8c9c2acb03c51f9f4b33153b46146109cd3387094a9e3ca2ad9750e4564139696c2a417a5aad347c32a33eeb7b69594477efc2ceab0e12e SHA512 bf27a6a7a6aabf6c1a4c1f16b1a08dce460ee675ea53b141c6db8edf0637dffa900e03b9141f9f1a672fcd8f84e6f2be86a07e1f78bc5667a7a7669d45f1f687
+DIST vhba-module-20190410.tar.bz2 15741 BLAKE2B 6d513877c771b1c4c5805231cf8bb13333d29dd3c6de7d91879ef1898fdc424df026b0835a772f398dcdc7d8900db462164a40e46c9b66b38ed70f5b5f6a0e7e SHA512 e4b30bea8464d8ac24fd2fddca9d41052af2f5b3dc9e054ead47991bff41366be377600075627c40261722c88c20ed2eaf65fa7afb34690ef09a6f4ea6f9351f
diff --git a/sys-fs/vhba/vhba-20170610-r1.ebuild b/sys-fs/vhba/vhba-20190410.ebuild
index d1c895d2..25191183 100644
--- a/sys-fs/vhba/vhba-20170610-r1.ebuild
+++ b/sys-fs/vhba/vhba-20190410.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
-inherit user udev
+inherit eutils udev
MY_P=vhba-module-${PV}
DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite"
@@ -12,17 +12,18 @@ SRC_URI="mirror://sourceforge/cdemu/${MY_P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
+KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="~sys-kernel/${PN}-dkms-${PV}"
-RDEPEND="${DEPEND}
- virtual/udev
+RDEPEND="
+ ~sys-kernel/${PN}-dkms-${PV}
+ virtual/udev"
+DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/${MY_P}
-pkg_setup() {
+pkgsetup() {
enewgroup cdemu
}
@@ -36,16 +37,12 @@ src_compile() {
src_install() {
dodoc AUTHORS ChangeLog README
+
einfo "Generating udev rules ..."
dodir "$(get_udevdir)"/rules.d
- cat > "${D}/$(get_udevdir)"/rules.d/70-vhba.rules <<-EOF || die
+ cat > "${D}/$(get_udevdir)"/rules.d/69-vhba.rules <<-EOF || die
# do not edit this file, it will be overwritten on update
#
- KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu"
+ KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"
EOF
}
-
-pkg_postinst() {
- elog "Don't forget to add your user to the cdemu group if you want to"
- elog "be able to use virtual cdemu devices."
-}