diff options
author | Peter Volkov <pva@gentoo.org> | 2010-08-11 14:58:48 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-08-11 14:58:48 +0000 |
commit | cf4679570e98968eb59c76aa411d34496bb0b6d1 (patch) | |
tree | 449c2b55aef4f9e35f1c57683f74e75f66fec3de /sys-fs | |
parent | Respect LDFLAGS, CFLAGS, and CC (Bug #332227) (diff) | |
download | historical-cf4679570e98968eb59c76aa411d34496bb0b6d1.tar.gz historical-cf4679570e98968eb59c76aa411d34496bb0b6d1.tar.bz2 historical-cf4679570e98968eb59c76aa411d34496bb0b6d1.zip |
Fix udev deprecation warning, bug #304267, thank haarp for report. Fix build problem on hppa, thank Jeroen Roovers for report and fix in bug #305893.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/vhba/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/vhba/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/vhba/vhba-1.2.1_p682.ebuild | 62 |
3 files changed, 73 insertions, 2 deletions
diff --git a/sys-fs/vhba/ChangeLog b/sys-fs/vhba/ChangeLog index 29f7388acb57..92f596c3a3d1 100644 --- a/sys-fs/vhba/ChangeLog +++ b/sys-fs/vhba/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-fs/vhba # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.17 2010/04/26 19:40:36 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.18 2010/08/11 14:58:48 pva Exp $ + +*vhba-1.2.1_p682 (11 Aug 2010) + + 11 Aug 2010; Peter Volkov <pva@gentoo.org> +vhba-1.2.1_p682.ebuild: + Fix udev deprecation warning, bug #304267, thank haarp for report. Fix + build problem on hppa, thank Jeroen Roovers for report and fix in bug + #305893. 26 Apr 2010; Peter Volkov <pva@gentoo.org> +files/vhba-1.2.1-kernel-2.6.34.patch: diff --git a/sys-fs/vhba/Manifest b/sys-fs/vhba/Manifest index 0c530b767215..3eadf0dd1b9d 100644 --- a/sys-fs/vhba/Manifest +++ b/sys-fs/vhba/Manifest @@ -6,6 +6,8 @@ AUX vhba-1.0.0-scsicmnd.patch 2736 RMD160 503eb663d33fa082eceab87d2521b9d2dab469 AUX vhba-1.2.1-kernel-2.6.33.patch 549 RMD160 bf721cc0713a8b3dc3d53663e6dcfc29c8b8282e SHA1 f3db205d4b653229681c53d48162e9572ff1ca5e SHA256 370f0c77775d5646537aba809f5adfd0d11c7ddb8fdd4f6572dd541aad4b675e AUX vhba-1.2.1-kernel-2.6.34.patch 517 RMD160 43906e3240da7f85eb6f27fe0672ae7a8a2a3647 SHA1 c89de77d3c6dc86bf8b149968d5865c08d49235a SHA256 379e968a94e8b4736c01ccbe2635dec22371b0885a37cea1a685dc403c5c4989 DIST vhba-module-1.2.1.tar.bz2 6585 RMD160 ecdbbd40f34b68816b0eefe43a64a4c664b31580 SHA1 5226b3dd16d793cd58a712e8ca44f3b45194e248 SHA256 1ab729d029c49e5e6231cdec3b9f88f17c44a292fe77f2bfbab506b62999a3ae +DIST vhba-module-1.2.1_p682.tar.bz2 16489 RMD160 c1323857268190b45382db6fe2daeab3c94e34d8 SHA1 2344159b8d859e43f2646552ab442e1c8dbb0927 SHA256 36c8418fbb62b828af67a7210ec1f4a417efb226190426838eb9cc864d299e2b EBUILD vhba-1.2.1.ebuild 1587 RMD160 859fb63c322df9c9b6b20f00dcb1a7a5c65eda55 SHA1 d89c1db99a407a39d0a47898dfdfcd2794b3d05d SHA256 71535d710b33be182d09365aa3e9231c24c454a37231a6628786052cd9e0e0b6 -MISC ChangeLog 3797 RMD160 751829116c4da5e6b1f609c2beb7707d8df40626 SHA1 790178f6846d05aa4877155aeb271536b9ff22cd SHA256 b3aaebaaee190ce8f6a14a8cfd475fa5aba1deef17f16fcc158f42f1018e2ce7 +EBUILD vhba-1.2.1_p682.ebuild 1614 RMD160 cfb330f6f9afb49f8bfcdcd6274b9a09ebf2f5de SHA1 fffb42b5beedf39c05b143080c11c6d9120101e8 SHA256 098c7a69d6a4931f154f9d0eaf89f61d4da34219a7711601025e1ae08823e5fb +MISC ChangeLog 4056 RMD160 1d021da05559cb8338da3cfbf80d4d0f06ed9eb6 SHA1 1bc315173891c6f2ae95eb96ac42004dbc2a9fa4 SHA256 496b91af1420ee7295212231bc2230f9d2e90d5d43fe0e77f19c09865a821a8e MISC metadata.xml 225 RMD160 461e7786d6f2b4ad0796cdbd8da127d2aa1d9c88 SHA1 7e14b4551dd441a467b812e3b4c4f3fd795e5a58 SHA256 1c4c96d3ac062761d9e938c233751ff32b23e2c21aff1e38df6a37ffa0e97cb1 diff --git a/sys-fs/vhba/vhba-1.2.1_p682.ebuild b/sys-fs/vhba/vhba-1.2.1_p682.ebuild new file mode 100644 index 000000000000..b153b3ba215c --- /dev/null +++ b/sys-fs/vhba/vhba-1.2.1_p682.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-1.2.1_p682.ebuild,v 1.1 2010/08/11 14:58:48 pva Exp $ + +# Use svn snapshots: +# https://sourceforge.net/tracker/?func=detail&atid=603423&aid=3041832&group_id=93175 +# "As for the release, could you package the SVN version instead? I'd prefer +# if people used latest SVN at any time anyway..." -- Upstream + +EAPI="2" + +inherit linux-mod eutils + +MY_P=vhba-module-${PV} +DESCRIPTION="VHBA module provides Virtual (SCSI) Host Bus Adapter for the cdemu suite" +HOMEPAGE="http://cdemu.org" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/linux-sources-2.6.19" +RDEPEND="" + +S=${WORKDIR}/${MY_P} +MODULE_NAMES="vhba(block:${S})" +BUILD_TARGETS=all + +pkg_setup() { + CONFIG_CHECK="~BLK_DEV_SR ~CHR_DEV_SG" + check_extra_config + BUILD_PARAMS="KDIR=${KV_DIR}" + linux-mod_pkg_setup +} + +src_prepare() { + epatch \ + "${FILESDIR}/1.2.1-parallel_build.patch" \ + "${FILESDIR}/1.2.1-kerneldir.patch" +} + +src_install() { + linux-mod_src_install || die "Error: installing module failed!" + + einfo "Generating udev rules ..." + dodir /etc/udev/rules.d/ + cat > "${D}"/etc/udev/rules.d/70-vhba.rules <<-EOF || die + # do not edit this file, it will be overwritten on update + # + KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu" + EOF +} + +pkg_postinst() { + enewgroup cdemu + + elog "Don't forget to add your user to the cdemu group" + elog "if you want to be able to use virtual cdemu devices." + linux-mod_pkg_postinst +} |