From 8dd17625671faf6a47abf31d4c96a1e20d764ba5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 20 Feb 2023 02:17:30 +0000 Subject: gentoo auto-resync : 20:02:2023 - 02:17:29 --- sys-fs/vhba/Manifest | 2 +- sys-fs/vhba/vhba-20211218-r1.ebuild | 61 +++++++++++++++++++++++++++++++++++++ sys-fs/vhba/vhba-20211218.ebuild | 60 ------------------------------------ 3 files changed, 62 insertions(+), 61 deletions(-) create mode 100644 sys-fs/vhba/vhba-20211218-r1.ebuild delete mode 100644 sys-fs/vhba/vhba-20211218.ebuild (limited to 'sys-fs/vhba') diff --git a/sys-fs/vhba/Manifest b/sys-fs/vhba/Manifest index 0ca21383df8c..e28e5265f9ad 100644 --- a/sys-fs/vhba/Manifest +++ b/sys-fs/vhba/Manifest @@ -1,3 +1,3 @@ DIST vhba-module-20211218.tar.xz 16168 BLAKE2B 37fcc56cc34dfbc68c8a8212f30a54c6a04f3b9014a5964b995bfef59df1b8f5a005e6cbfff97f1233451d215b6c4fd3c09a0cd39ebf6cb86bd6b327e5d7d718 SHA512 02b554bb2d0c91c090edeeb7c692164f378273e475a64653df845cb30cdd15d689f7fbe5fa890f77f82bf778d4d228384f656d202b6b6baf02d08321d7c2598d -EBUILD vhba-20211218.ebuild 1146 BLAKE2B 6824487851d6289ba99895edc7b2af4a11045c38ae023ed445abdefdce74ae3d9085c1e30729126d0ba9113b549748521c6da5f2a3a2b1ae1510342261b7f075 SHA512 1b1254917e453d78232ba6209ea3f04ab6d5f54c858e7a1cbae99da9da2594f2e75d5661d31aabf8aa2438eaae6ea4377f24e4260a5791ba86054689a4997897 +EBUILD vhba-20211218-r1.ebuild 1170 BLAKE2B 807564dec9756a003d560573788469f5f6488dbc8bd170bd8291c28e510ca630dcb9cb4fcf71c36e9298b8331952b0d967d8e3c7616c3351b177f487af3327bb SHA512 2da6de99e5d491658e90f02107694265a96c39e9cc2cfe661d6f960d3327a9be3c007381c67a3cc1716d6eaf48cbb1d24bb1f50b8dee199463bd7703434e90ee MISC metadata.xml 333 BLAKE2B 99feb77e860cccd95f60688c7c2104267b6abb6188a8f24e50728b39487892ef29c58e5ddfb7a56578d27c34e9d4bb16371298449d2a3de5e6a79a6a5712e37c SHA512 2a387604d78412e81477271c793d46b197609d4d9037aa55d0146cfbbc9eae01633a7a9ac6908f923174ecfedf7336792147dc6e7c5b13db057855282e45e129 diff --git a/sys-fs/vhba/vhba-20211218-r1.ebuild b/sys-fs/vhba/vhba-20211218-r1.ebuild new file mode 100644 index 000000000000..b22eb7530805 --- /dev/null +++ b/sys-fs/vhba/vhba-20211218-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-mod 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} + virtual/pkgconfig +" + +MODULE_NAMES="vhba(block:${S})" +BUILD_TARGETS=modules + +pkg_setup() { + CONFIG_CHECK="~BLK_DEV_SR ~CHR_DEV_SG" + check_extra_config + BUILD_PARAMS="KDIR=${KV_OUT_DIR}" + linux-mod_pkg_setup +} + +src_prepare() { + # Avoid -Werror problems + sed -i -e '/ccflags/s/-Werror/-Wall/' Makefile || die "sed failed" + eapply_user +} + +src_install() { + dodoc AUTHORS ChangeLog README + linux-mod_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_pkg_postinst + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/sys-fs/vhba/vhba-20211218.ebuild b/sys-fs/vhba/vhba-20211218.ebuild deleted file mode 100644 index 6b51dc2b402e..000000000000 --- a/sys-fs/vhba/vhba-20211218.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-mod 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} - virtual/pkgconfig -" - -MODULE_NAMES="vhba(block:${S})" -BUILD_TARGETS=modules - -pkg_setup() { - CONFIG_CHECK="~BLK_DEV_SR ~CHR_DEV_SG" - check_extra_config - BUILD_PARAMS="KDIR=${KV_OUT_DIR}" - linux-mod_pkg_setup -} - -src_prepare() { - # Avoid -Werror problems - sed -i -e '/ccflags/s/-Werror/-Wall/' Makefile || die "sed failed" - eapply_user -} - -src_install() { - dodoc AUTHORS ChangeLog README - linux-mod_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() { - udev_reload -} - -pkg_postrm() { - udev_reload -} -- cgit v1.2.3