public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/vhba/
Date: Tue, 30 May 2023 15:14:19 +0000 (UTC)	[thread overview]
Message-ID: <1685459653.337727f10b6b7e6bf23caf0bb6bd89cf258686a6.mgorny@gentoo> (raw)

commit:     337727f10b6b7e6bf23caf0bb6bd89cf258686a6
Author:     Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Tue May 30 05:57:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 30 15:14:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337727f1

sys-fs/vhba: update EAPI 7 -> 8 and porting to linux-mod-r1

Closes: https://bugs.gentoo.org/859553
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31224
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-fs/vhba/vhba-20211218-r2.ebuild | 58 +++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/sys-fs/vhba/vhba-20211218-r2.ebuild b/sys-fs/vhba/vhba-20211218-r2.ebuild
new file mode 100644
index 000000000000..62e5c2e3cf50
--- /dev/null
+++ b/sys-fs/vhba/vhba-20211218-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1 udev
+
+MY_P=vhba-module-${PV}
+DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite"
+HOMEPAGE="https://cdemu.sourceforge.io/"
+SRC_URI="https://download.sourceforge.net/cdemu/vhba-module/${MY_P}.tar.xz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	virtual/udev
+"
+DEPEND="
+	${RDEPEND}
+"
+
+CONFIG_CHECK="~BLK_DEV_SR ~CHR_DEV_SG"
+
+src_compile() {
+	local modlist=( vhba )
+	local modargs=( KDIR="${KV_OUT_DIR}" )
+
+	linux-mod-r1_src_compile
+}
+
+src_prepare() {
+	default
+	# Avoid -Werror problems
+	sed -i -e '/ccflags/s/-Werror/-Wall/' Makefile || die "sed failed"
+}
+
+src_install() {
+	linux-mod-r1_src_install
+
+	einfo "Generating udev rules ..."
+	udev_newrules - 69-vhba.rules <<-EOF
+		# do not edit this file, it will be overwritten on update
+		#
+		KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"
+	EOF
+}
+
+pkg_postinst() {
+	linux-mod-r1_pkg_postinst
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}


             reply	other threads:[~2023-05-30 15:14 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 15:14 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-05  8:08 [gentoo-commits] repo/gentoo:master commit in: sys-fs/vhba/ Arthur Zamarin
2024-09-18  4:42 Michał Górny
2024-03-12 15:43 Michał Górny
2024-03-12  7:15 Arthur Zamarin
2024-02-18  0:15 Sam James
2024-02-02 13:24 Michał Górny
2023-08-24 18:32 Michał Górny
2023-08-24 18:12 Arthur Zamarin
2023-07-24 11:03 Jakov Smolić
2023-02-19 19:50 Michał Górny
2023-02-01 15:11 Michał Górny
2022-02-10 12:02 Michał Górny
2022-02-10 11:43 Sam James
2022-02-10 11:13 Jakov Smolić
2021-12-19  7:25 Michał Górny
2021-12-18 15:39 Michał Górny
2021-12-18 15:09 Arthur Zamarin
2021-12-18 15:09 Arthur Zamarin
2021-10-23 20:20 Michał Górny
2021-05-29 15:23 Sam James
2021-05-28  2:27 Sam James
2021-04-19  6:44 Michał Górny
2020-08-08 12:18 Mikle Kolyada
2020-03-19 17:20 Michał Górny
2020-02-21 15:57 Agostino Sarubbo
2020-02-16 21:14 Thomas Deutschmann
2020-01-07  6:02 Michał Górny
2019-12-08  9:57 Michał Górny
2019-11-15 14:33 Agostino Sarubbo
2019-10-21 12:47 Thomas Deutschmann
2019-09-01  5:36 Michał Górny
2019-08-28  7:07 Michał Górny
2019-06-05  6:53 Michał Górny
2019-06-04 20:58 Thomas Deutschmann
2019-05-26 11:46 Mikle Kolyada
2019-04-14  7:18 Michał Górny
2019-04-10 15:07 Michał Górny
2019-04-09 21:04 Mikle Kolyada
2019-04-09 21:04 Mikle Kolyada
2019-03-10 15:48 Jeroen Roovers
2019-03-10  9:56 Michał Górny
2019-03-05 14:29 Michał Górny
2017-06-12  3:42 Alexandre Rostovtsev
2017-06-12  3:42 Alexandre Rostovtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1685459653.337727f10b6b7e6bf23caf0bb6bd89cf258686a6.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox