summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2009-03-12 07:59:38 +0000
committerTiziano Müller <dev-zero@gentoo.org>2009-03-12 07:59:38 +0000
commit0b065543fa7052c614dd7408b1dfce57f448edd4 (patch)
tree1200f5785c96e84f36c58c618f8436be8aa4ad2d /sys-fs
parentUse EAPI=2, removed non-existing TODO, fixed broken DEPEND=${DEPEND}. (diff)
downloadhistorical-0b065543fa7052c614dd7408b1dfce57f448edd4.tar.gz
historical-0b065543fa7052c614dd7408b1dfce57f448edd4.tar.bz2
historical-0b065543fa7052c614dd7408b1dfce57f448edd4.zip
Version bump (bug #255743, should also fix #233910 and #233102), general ebuild cleanup.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/vhba/ChangeLog11
-rw-r--r--sys-fs/vhba/Manifest15
-rw-r--r--sys-fs/vhba/files/1.2.1-parallel_build.patch17
-rw-r--r--sys-fs/vhba/vhba-1.2.1.ebuild57
4 files changed, 87 insertions, 13 deletions
diff --git a/sys-fs/vhba/ChangeLog b/sys-fs/vhba/ChangeLog
index caa5cedd7ce9..3bd8cf5d818d 100644
--- a/sys-fs/vhba/ChangeLog
+++ b/sys-fs/vhba/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/vhba
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.9 2008/11/16 01:24:38 vanquirius Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.10 2009/03/12 07:59:38 dev-zero Exp $
+
+*vhba-1.2.1 (12 Mar 2009)
+
+ 12 Mar 2009; Tiziano Müller <dev-zero@gentoo.org>
+ +files/1.2.1-parallel_build.patch, +vhba-1.2.1.ebuild:
+ Version bump (bug #255743, should also fix #233910 and #233102), general
+ ebuild cleanup.
16 Nov 2008; Marcelo Goes <vanquirius@gentoo.org> vhba-1.1.0.ebuild:
Build against sources in /usr/src/linux instead of /lib/modules/uname -r for
diff --git a/sys-fs/vhba/Manifest b/sys-fs/vhba/Manifest
index 212145cfad8a..f839f012fc24 100644
--- a/sys-fs/vhba/Manifest
+++ b/sys-fs/vhba/Manifest
@@ -1,19 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX 1.2.1-parallel_build.patch 407 RMD160 ea79001e78a46fa3e0e317cbd46b84e320d3744c SHA1 9574f541729acaa29c3f08c0a4abde373e10aa0a SHA256 bda2f1efd960e53dc4a01ca119991a5a8c16cb80f9c052309e42bc9f939b4491
AUX vhba-1.0.0-makefile.patch 778 RMD160 4782607437fd3f55162d3086472933376b574d90 SHA1 61f7b098c654bb83b117c0760e4c8c9d365d8282 SHA256 ff8512f15f13de655c39168a9e000a5a3dfd6ae8b89789bc3ae6c8610ae6725a
AUX vhba-1.0.0-scatterlist.patch 583 RMD160 7d1af6d447705df0644056258f67a0cb74a43381 SHA1 ba11da0b2c77b3ad47f8185fc134716c20568fb3 SHA256 eae66a805ee1e599f65ff5487ba2e8535a30d5d8a9cc8a8b95d166425e65fc95
AUX vhba-1.0.0-scsicmnd.patch 2736 RMD160 503eb663d33fa082eceab87d2521b9d2dab469b9 SHA1 4ded720928b7483fe89da43712bf8952acb854e3 SHA256 da335b69398cf92dbd72db4c320939d6fa2530c60c0482eb2d629ce3724100ca
DIST vhba-module-1.0.0.tar.bz2 5210 RMD160 862d4f3f33589a4546c6bb6eff8eb17c4a86edcf SHA1 978411599ab252b5a0305f73026150ab9269b1b4 SHA256 4a728b0d3d61841ac94007748799e37f48379ee8687eb3181040418d2021f5cc
DIST vhba-module-1.1.0.tar.bz2 13667 RMD160 c68bc151f7889978c65d9e221da2a37954b5b55f SHA1 bb8701d99c1a1166e0ac2ace013b60a7666674d3 SHA256 e22b5d85c8cf47deeee09724cfadb25c5966947350c6e761c4b306eff83f8b2c
+DIST vhba-module-1.2.1.tar.bz2 6585 RMD160 ecdbbd40f34b68816b0eefe43a64a4c664b31580 SHA1 5226b3dd16d793cd58a712e8ca44f3b45194e248 SHA256 1ab729d029c49e5e6231cdec3b9f88f17c44a292fe77f2bfbab506b62999a3ae
EBUILD vhba-1.0.0.ebuild 2051 RMD160 37f0ea1955dbe9b616e3abec015f152bb63c9fab SHA1 29b7d3c208e13745eba04ad6d3193ecf36587905 SHA256 218e97a2028a0f15cc04d165a42cd86157533204811509d557c8ef55acdefefd
EBUILD vhba-1.1.0.ebuild 1668 RMD160 8561bcd06448ed46300c9fdfe1d34a9684bdfff8 SHA1 2f992e266826db33968f33462a427227aea4a7bc SHA256 56d47a4a30b4974e493175b4cbc69eecb515f8e6611f30aa7092fc94421f714d
-MISC ChangeLog 2520 RMD160 e0ab181717f2c82bf13c5118c62c76b3446a1259 SHA1 64b89b4f531b761bacf6a781dde36eeba88727ea SHA256 c927ec5f2034f8e36258db77e536b5213455ceba017e9c0a1814268bddd429eb
+EBUILD vhba-1.2.1.ebuild 1585 RMD160 f70949631d808ab8accea4c694e4b97b43d367e4 SHA1 983706096dc6294ef572133df9f79b04b4617907 SHA256 2becbc4693722368e307a4c01faa0c25724e30207392ec2b1d4472fb82dba82c
+MISC ChangeLog 2750 RMD160 c00b4567c6e68ee86ed7038d68fba7b58117f0f0 SHA1 5ff0c27b4da64af595c38dd3e9bbe9449f519497 SHA256 9191072d0fd1963058658c4a2a3c5ff3827a22f9e4203a916a51f6dc0751d70b
MISC metadata.xml 225 RMD160 461e7786d6f2b4ad0796cdbd8da127d2aa1d9c88 SHA1 7e14b4551dd441a467b812e3b4c4f3fd795e5a58 SHA256 1c4c96d3ac062761d9e938c233751ff32b23e2c21aff1e38df6a37ffa0e97cb1
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkfdl4ACgkQrV3T0ZYD7E7NfACggQCQCOPuhVfPnUjysxbYS/8N
-ayUAn2wmUUffdXLyTr1bhPZ9PMj9DQyR
-=qbuK
------END PGP SIGNATURE-----
diff --git a/sys-fs/vhba/files/1.2.1-parallel_build.patch b/sys-fs/vhba/files/1.2.1-parallel_build.patch
new file mode 100644
index 000000000000..2de83a56375f
--- /dev/null
+++ b/sys-fs/vhba/files/1.2.1-parallel_build.patch
@@ -0,0 +1,17 @@
+--- vhba-module-1.2.1/Makefile.orig 2009-03-12 07:27:57.162795736 +0100
++++ vhba-module-1.2.1/Makefile 2009-03-12 07:28:11.929429127 +0100
+@@ -12,12 +12,12 @@
+ KDIR := /lib/modules/$(KERNELRELEASE)/build
+ KMAKE := $(MAKE) -C $(KDIR) M=$(PWD)
+
+-all: kernel.api.h modules
++all: modules
+
+ kernel.api.h: kat/*.c
+ kat/kat ${KDIR} $@ $^
+
+-modules:
++modules: kernel.api.h
+ $(KMAKE) modules
+
+ module_install:
diff --git a/sys-fs/vhba/vhba-1.2.1.ebuild b/sys-fs/vhba/vhba-1.2.1.ebuild
new file mode 100644
index 000000000000..749c9484fa73
--- /dev/null
+++ b/sys-fs/vhba/vhba-1.2.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 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.ebuild,v 1.1 2009/03/12 07:59:38 dev-zero Exp $
+
+EAPI="2"
+
+inherit linux-info linux-mod eutils
+
+DESCRIPTION="VHBA module provides Virtual (SCSI) Host Bus Adapter for the cdemu suite"
+HOMEPAGE="http://cdemu.org"
+SRC_URI="mirror://sourceforge/cdemu/vhba-module-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/linux-sources-2.6.19"
+RDEPEND=""
+
+S="${WORKDIR}/vhba-module-${PV}"
+MODULE_NAMES="vhba(block:${S})"
+BUILD_TARGETS="all"
+
+pkg_setup() {
+ CONFIG_CHECK="~BLK_DEV_SR ~CHR_DEV_SG"
+ check_extra_config
+ BUILD_PARAMS="KERNELDIR=${KV_DIR}"
+ linux-mod_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-parallel_build.patch"
+ sed -i \
+ -e "s:/lib/modules/\$(KERNELRELEASE)/build:${KERNEL_DIR}:g" \
+ Makefile || die "sed failed"
+}
+
+src_install() {
+ KV_OBJ="ko"
+ linux-mod_src_install || die "Error: installing module failed!"
+ UDEV_RULES="/etc/udev/rules.d/70-vhba.rules"
+ einfo "Generating UDEV-rules ..."
+ mkdir -p "${D}"/${UDEV_RULES%/*}
+ echo -e "# do not edit this file, it will be overwritten on update\n#" \
+ > "${D}"/${UDEV_RULES}
+ echo -e "KERNEL==\"vhba_ctl\", NAME=\"%k\", MODE=\"0660\", OWNER=\"root\",GROUP=\"cdemu\"" >> "${D}"/${UDEV_RULES}
+}
+
+pkg_postinst() {
+ einfo "Generating cdemu group ..."
+ 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
+}