From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79B24138335 for ; Wed, 5 Jun 2019 06:53:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 337C9E0936; Wed, 5 Jun 2019 06:53:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06B21E0936 for ; Wed, 5 Jun 2019 06:53:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65D99345735 for ; Wed, 5 Jun 2019 06:53:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4189608 for ; Wed, 5 Jun 2019 06:53:38 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1559717608.13076ec901d7b12fbca02cb5d63b181e7ff02866.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/vhba/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/vhba/Manifest sys-fs/vhba/vhba-20190302.ebuild X-VCS-Directories: sys-fs/vhba/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 13076ec901d7b12fbca02cb5d63b181e7ff02866 X-VCS-Branch: master Date: Wed, 5 Jun 2019 06:53:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08a41489-740d-4ddf-af68-65545d8aec4e X-Archives-Hash: 01870c874877d258e4561ae37d37ed42 commit: 13076ec901d7b12fbca02cb5d63b181e7ff02866 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 5 06:33:00 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 5 06:53:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13076ec9 sys-fs/vhba: Drop old Signed-off-by: Michał Górny gentoo.org> sys-fs/vhba/Manifest | 1 - sys-fs/vhba/vhba-20190302.ebuild | 81 ---------------------------------------- 2 files changed, 82 deletions(-) diff --git a/sys-fs/vhba/Manifest b/sys-fs/vhba/Manifest index 35368ad5da1..667f7ec876d 100644 --- a/sys-fs/vhba/Manifest +++ b/sys-fs/vhba/Manifest @@ -1,2 +1 @@ -DIST vhba-module-20190302.tar.bz2 15708 BLAKE2B 4a6f1f22e893597e50e78fa06e1296079b600ad6b2cf7b319267ef44d1ff07795f2aca22541993a7fc57d15550297e71046ce4147226d0731aa2b4d691dd5299 SHA512 6df59112b9b0597ce98de85744acd8158dbc015841740649fa3538fec32f1d7cbf4e489062998cc13dc85a1b3558bcffc2ea65285e17ee5b3f1c0a7d49cd6a38 DIST vhba-module-20190410.tar.bz2 15741 BLAKE2B 6d513877c771b1c4c5805231cf8bb13333d29dd3c6de7d91879ef1898fdc424df026b0835a772f398dcdc7d8900db462164a40e46c9b66b38ed70f5b5f6a0e7e SHA512 e4b30bea8464d8ac24fd2fddca9d41052af2f5b3dc9e054ead47991bff41366be377600075627c40261722c88c20ed2eaf65fa7afb34690ef09a6f4ea6f9351f diff --git a/sys-fs/vhba/vhba-20190302.ebuild b/sys-fs/vhba/vhba-20190302.ebuild deleted file mode 100644 index 157ae2ff9f9..00000000000 --- a/sys-fs/vhba/vhba-20190302.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils linux-mod udev - -MY_P=vhba-module-${PV} -DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite" -HOMEPAGE="http://cdemu.org" -SRC_URI="mirror://sourceforge/cdemu/${MY_P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="virtual/udev" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} -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 "make jobserver unavailable" warning and -Werror problems - sed -e '/ccflags/s/-Werror$/-Wall/' \ - -i Makefile || die "sed failed" - - eapply_user -} - -src_install() { - dodoc AUTHORS ChangeLog README - linux-mod_src_install - - einfo "Generating udev rules ..." - dodir "$(get_udevdir)"/rules.d - 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", SUBSYSTEM=="misc", TAG+="uaccess" - EOF -} - -pkg_postinst() { - # Older versions of vhba installed their rule file in /etc/udev/rules.d, - # which overrides rules in /lib/udev/rules.d. We remove the old file - # automatically if it is identical to the default one installed by - # vhba-1.2.1 or 20101015-r1. Note that the comment at the top of the rules - # file states that it can be automatically overwritten by the system. - old_rules="${ROOT}etc/udev/rules.d/70-vhba.rules" - if [[ -f "${old_rules}" ]]; then - case "$(md5sum ${old_rules})" in - 2959b3cf61cfe6e466cc3516a7bc19de* | 1e7a7e5d6d28c811eeec98ec26ed5d28* ) - elog - elog "Removing old ${old_rules} ..." - rm -f "${old_rules}" || - eerror "Failed, please remove ${old_rules} manually." - ;; - * ) - ewarn - ewarn "The ${old_rules} file from a previous" - ewarn "installation of ${PN} is overriding ${P}'s" - ewarn "udev rules. Unless you had deliberately customized it," - ewarn "you should remove it." - ewarn - ;; - esac - fi - - linux-mod_pkg_postinst -}