summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2008-07-16 00:56:51 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2008-07-16 00:56:51 +0000
commitf8ae8d026fbc5c79e6bfbde7ade3da0adb2f165e (patch)
tree12459a7e642dbaecb16ce525d856a4f87dcec294 /sys-fs
parentStable on amd64 (bug #231884) (diff)
downloadhistorical-f8ae8d026fbc5c79e6bfbde7ade3da0adb2f165e.tar.gz
historical-f8ae8d026fbc5c79e6bfbde7ade3da0adb2f165e.tar.bz2
historical-f8ae8d026fbc5c79e6bfbde7ade3da0adb2f165e.zip
1.1.0 version bump. Thanks to Pham Ngoc Hai <pngochai at yahoo dot com> in bug
198672. Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/vhba/ChangeLog8
-rw-r--r--sys-fs/vhba/Manifest4
-rw-r--r--sys-fs/vhba/vhba-1.1.0.ebuild56
3 files changed, 66 insertions, 2 deletions
diff --git a/sys-fs/vhba/ChangeLog b/sys-fs/vhba/ChangeLog
index b45962b29f2b..e09eb7c6c0f3 100644
--- a/sys-fs/vhba/ChangeLog
+++ b/sys-fs/vhba/ChangeLog
@@ -1,6 +1,12 @@
# 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.4 2008/06/26 13:27:30 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.5 2008/07/16 00:56:51 vanquirius Exp $
+
+*vhba-1.1.0 (16 Jul 2008)
+
+ 16 Jul 2008; Marcelo Goes <vanquirius@gentoo.org> +vhba-1.1.0.ebuild:
+ 1.1.0 version bump. Thanks to Pham Ngoc Hai <pngochai at yahoo dot com> in
+ bug 198672.
26 Jun 2008; Santiago M. Mola <coldwind@gentoo.org> vhba-1.0.0.ebuild:
Add ~amd64 keyword wrt bug #198672
diff --git a/sys-fs/vhba/Manifest b/sys-fs/vhba/Manifest
index 67dc74a9fbe3..ae7cb0d02545 100644
--- a/sys-fs/vhba/Manifest
+++ b/sys-fs/vhba/Manifest
@@ -2,6 +2,8 @@ AUX vhba-1.0.0-makefile.patch 778 RMD160 4782607437fd3f55162d3086472933376b574d9
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
EBUILD vhba-1.0.0.ebuild 2051 RMD160 01e308302f8156253b89716116a5529658e101bf SHA1 08e2144fd151f5b38e2f70b93cad027f2770fd70 SHA256 2b82cc96df740786a2660272508f9d4d477d5c710a0c971949b1c923f68c77fa
-MISC ChangeLog 1311 RMD160 5fb9d2fb5867d96e549147e0738f961f94b28074 SHA1 59683a4cad5287bb38b2383c2a178861fb6eb5e7 SHA256 72f5ca790a983f51b03714022c84d183b2a7258aafccf63abcbe138b0c5d3cf4
+EBUILD vhba-1.1.0.ebuild 1532 RMD160 8a92bca99b7d4bbc7f9c2f29b07d2b8ac2d8e2f8 SHA1 c7763fc764f615b512700642ab99aaba690cca74 SHA256 061563dc37ba4282378eb9b3ebff5fdd07b011a95c3fb8c542fa976a319d56c1
+MISC ChangeLog 1504 RMD160 bfff421c2d932d3d1459daad1c48dbf7666987ba SHA1 f1404c5c5919ff6a11c3ba0029c090de6d4b42c1 SHA256 d98c2beadad72b866ee8d88792504ecdc9f85eb8ea7001d245aadef4d987382a
MISC metadata.xml 225 RMD160 461e7786d6f2b4ad0796cdbd8da127d2aa1d9c88 SHA1 7e14b4551dd441a467b812e3b4c4f3fd795e5a58 SHA256 1c4c96d3ac062761d9e938c233751ff32b23e2c21aff1e38df6a37ffa0e97cb1
diff --git a/sys-fs/vhba/vhba-1.1.0.ebuild b/sys-fs/vhba/vhba-1.1.0.ebuild
new file mode 100644
index 000000000000..ef4106b7bb7d
--- /dev/null
+++ b/sys-fs/vhba/vhba-1.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-1.1.0.ebuild,v 1.1 2008/07/16 00:56:51 vanquirius Exp $
+
+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="clean all"
+
+pkg_setup() {
+ CONFIG_CHECK="~BLK_DEV_SR ~CHR_DEV_SG"
+ check_extra_config
+ BUILD_PARAMS="KERNELDIR=${KV_DIR}"
+ linux-mod_pkg_setup
+}
+
+src_compile() {
+ linux-mod_src_compile || die "Error: building module 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
+}
+
+pkg_postrm() {
+ linux-mod_pkg_postrm
+}