summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-09-18 14:49:13 +0000
committerThomas Sachau <tommy@gentoo.org>2009-09-18 14:49:13 +0000
commita1e44ee39cbcfe42be61034237524de73c89652e (patch)
tree4d2d01d5f962ad4784dcf61d63901fbe16b29b61 /sys-fs/dmraid
parentRemove old version using built_with_use. (diff)
downloadhistorical-a1e44ee39cbcfe42be61034237524de73c89652e.tar.gz
historical-a1e44ee39cbcfe42be61034237524de73c89652e.tar.bz2
historical-a1e44ee39cbcfe42be61034237524de73c89652e.zip
Version bump (bug #285241), also change metadata.xml, i take over proxy-maintainership since genstef is away
Package-Manager: portage-2.2_rc40-r1/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/dmraid')
-rw-r--r--sys-fs/dmraid/ChangeLog9
-rw-r--r--sys-fs/dmraid/Manifest18
-rw-r--r--sys-fs/dmraid/dmraid-1.0.0_rc16.ebuild78
-rw-r--r--sys-fs/dmraid/files/dmraid-1.0.0_rc16-as-needed.patch11
-rw-r--r--sys-fs/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch13
-rw-r--r--sys-fs/dmraid/metadata.xml9
6 files changed, 128 insertions, 10 deletions
diff --git a/sys-fs/dmraid/ChangeLog b/sys-fs/dmraid/ChangeLog
index 0f308b6e0042..77506f739e07 100644
--- a/sys-fs/dmraid/ChangeLog
+++ b/sys-fs/dmraid/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/dmraid
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.20 2009/09/10 16:42:57 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.21 2009/09/18 14:49:12 tommy Exp $
+
+*dmraid-1.0.0_rc16 (18 Sep 2009)
+
+ 18 Sep 2009; Ian Stakenvicius (_AxS_) <ian@aerobiology.ca>
+ +dmraid-1.0.0_rc16.ebuild, +files/dmraid-1.0.0_rc16-as-needed.patch,
+ +files/dmraid-1.0.0_rc16-undo-p-rename.patch, metadata.xml:
+ Version bump (bug #285241)
10 Sep 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+files/dmraid-1.0.0_rc15-devsk-isw.patch,
diff --git a/sys-fs/dmraid/Manifest b/sys-fs/dmraid/Manifest
index a2b62b5f55fa..38d72b17a09a 100644
--- a/sys-fs/dmraid/Manifest
+++ b/sys-fs/dmraid/Manifest
@@ -3,20 +3,24 @@ Hash: SHA1
AUX dmraid-1.0.0_rc15-devsk-isw.patch 723 RMD160 e5843d1f06eb78db37281a22571905dc8e9f3f19 SHA1 4a8029f5709c3b86ec317461721f3808075cbc52 SHA256 fa7f184b8f76812fbc379265a2e5563cf0242bdf381f8485e4ea781b7172fd43
AUX dmraid-1.0.0_rc15-undo-p-rename.patch 531 RMD160 118b97bb99868033d37c8ce7bebb485f4600af2f SHA1 cbcc203e42894b936ce3adce0ff36eaf1ebe7edf SHA256 5eb8d6b268249fe3ef9e184376dfc04a2b8cffb4204c41d69480f3ae09caa670
+AUX dmraid-1.0.0_rc16-as-needed.patch 421 RMD160 0ea2eea22bfc25f6cdcd41979134d8d784238700 SHA1 16a287f21e2d73295981bb95e63e618cb83469cd SHA256 89fdaa0f393f7df7833d348a4caabaf4b64aa1893c76b575b62671c2f4531ab5
+AUX dmraid-1.0.0_rc16-undo-p-rename.patch 531 RMD160 118b97bb99868033d37c8ce7bebb485f4600af2f SHA1 cbcc203e42894b936ce3adce0ff36eaf1ebe7edf SHA256 5eb8d6b268249fe3ef9e184376dfc04a2b8cffb4204c41d69480f3ae09caa670
AUX dmraid-destdir-fix.patch 902 RMD160 8641454fcab27ff5f122e50cc1cdc4559e484692 SHA1 8dac0fd6d374cbdd490f101817677ac66dfc87ce SHA256 4a275211bd2036ceec2181e1ac1bc4d14d522cb254c81e596af6e1481db1d667
DIST dmraid-1.0.0.rc14.tar.bz2 164234 RMD160 9cd238a981cfef9c5c1f2f1d6466b70c95ec9c7c SHA1 2b3284db46a995967d88993ae5ae36b57c513bc4 SHA256 a777354d6d69a9b58d84966cc7b37bc3f5c89539f885ad25fd874ed1c388fbec
DIST dmraid-1.0.0.rc15.tar.bz2 190475 RMD160 045a58855a93082a7758cfedc6f9cd4cfd91668b SHA1 3fa1f184a497fd2cc6cefa4cb2892ffb1ede64bf SHA256 30847258b7f946ed908e79af4058bbf2c9a3791728b8231f7c490ca601566c05
+DIST dmraid-1.0.0.rc16.tar.bz2 1042907 RMD160 b5fe992f4bc2e1a0716fc0c9e689b214667982d1 SHA1 99e76332bb03c5a79406e3c8cb12b6746288635d SHA256 f849c44d041f8891c61419ddf906e6e34b44948939ae9e550be662ffc2492255
EBUILD dmraid-1.0.0_rc14.ebuild 2209 RMD160 06b4fd23216718242e2f9c20ce2e85b243f0bb43 SHA1 f1635d2629fcb946f251fc0f28a3a85d326d22f2 SHA256 557dc539b6a138f061a1a5e27aa0395c62a225e7ae4f2fa5944e182fc347eb5f
EBUILD dmraid-1.0.0_rc15-r1.ebuild 2316 RMD160 2448f9352973cdb0f21dbb4b68da126a93e72488 SHA1 dc5eb4af5df7d1f52581b2a802e74527e0ca4165 SHA256 34e8cd1f921df769d3d845d200503ff58cd700647d5ead09f429c0185219622a
EBUILD dmraid-1.0.0_rc15.ebuild 2223 RMD160 69c0ff36a37bf9f683dec8bcdfb74a458f4a2ed8 SHA1 203f1c99bdf68f86aff8a017084d75be71e94346 SHA256 c85c488dc8e0b7455651722e54fe00ec5382cee373af5f198146e75187d50fef
-MISC ChangeLog 4194 RMD160 f4fb3dfaa2ae66c4b46daf25ca70fefbc24f2cfe SHA1 2188131b5b9acf8abf3a991882177410f9980fb5 SHA256 d4d27d62b4fb67eaa230f0e0cea590510211ec75fcea6c98c4b2addf33ff0239
-MISC metadata.xml 479 RMD160 f8f87fe9d61a0765e733ceb9a8fbf64baafe75f6 SHA1 3cef4c529760bece235360f92c2492b147210a09 SHA256 1896db02215d0604a855bcb58d442124ccecf6df5d8528166398d55793bf7d6f
+EBUILD dmraid-1.0.0_rc16.ebuild 2396 RMD160 88ed40ecaf0c5552894aa3968019e74bc34c83d7 SHA1 b7b3fb8d15dc56aab602e18a58e0d9275d766a86 SHA256 e3361343cd286039babc862a10ab610f3a23e94c81889fa88bffff3adc91df30
+MISC ChangeLog 4452 RMD160 4ead4a45f8324ff0cf541e9ec11ac0b284480479 SHA1 4bfc05a253735407684fe5594b03b23e7bc1896d SHA256 b2da087365baa8c46ac9de1c85449382fb3c632000ef96f5ba716267e453799b
+MISC metadata.xml 641 RMD160 0d68aa675dd3761869e561d052545cda545ad6a8 SHA1 204907c6eef47ce8dabcc8014a2158a7e5fb720f SHA256 1b896ee56e674a91567b4817566fd038f0ccf40046dd920eed13dbafb93bcc18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iJwEAQECAAYFAkqpLJwACgkQG7kqcTWJkGd52gP/SowyupI5zsdwC0GjJv0R10ra
-zSneFPav5pBEcK3V4xQeEU4e5MNn+Uk4ZU69fTzDolfjVjuUSU84qrSZeJI1FNRb
-SqzjD03uOZdVSuDqGR2y1qSc+eOlzYBQBblYgRkXomIi0dEy9gzyqL05zG7TEoxg
-/i/lh60EXMaISupfOLI=
-=yHT3
+iJwEAQECAAYFAkqznfMACgkQG7kqcTWJkGeyhQP/ZQr0dGNhka2QCnc2QWKqpsVe
+deJW3w+kafiZnyCjhXkeH8XWq+Y77K89EzkL27fL8uJNy0bW2ppQ8tO3S7UqIcus
+YiDfpSic1eSP/9Ee8MeHqjAUbrZKROs1xV9s4C6k6at7iMlnivs46BPtStIl+M1W
+xnxy1nkiz3XHlu1FCK0=
+=+BNe
-----END PGP SIGNATURE-----
diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc16.ebuild b/sys-fs/dmraid/dmraid-1.0.0_rc16.ebuild
new file mode 100644
index 000000000000..45f4d4a7a074
--- /dev/null
+++ b/sys-fs/dmraid/dmraid-1.0.0_rc16.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc16.ebuild,v 1.1 2009/09/18 14:49:12 tommy Exp $
+
+EAPI="2"
+
+inherit linux-info flag-o-matic
+
+MY_PV=${PV/_/.}
+
+DESCRIPTION="Device-mapper RAID tool and library"
+HOMEPAGE="http://people.redhat.com/~heinzm/sw/dmraid/"
+SRC_URI="http://people.redhat.com/~heinzm/sw/dmraid/src/${PN}-${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="static selinux"
+
+RDEPEND="|| ( >=sys-fs/lvm2-2.02.45
+ sys-fs/device-mapper )
+ selinux? ( sys-libs/libselinux
+ sys-libs/libsepol )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}/${MY_PV}
+
+pkg_setup() {
+ if kernel_is lt 2 6 ; then
+ ewarn "You are using a kernel < 2.6"
+ ewarn "DMraid uses recently introduced Device-Mapper features."
+ ewarn "These might be unavailable in the kernel you are running now."
+ fi
+ if use static && use selinux ; then
+ eerror "ERROR - cannot compile static with libselinux / libsepol"
+ die "USE flag conflicts."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-undo-p-rename.patch \
+ "${FILESDIR}"/${PN}-destdir-fix.patch \
+ "${FILESDIR}"/${P}-as-needed.patch
+
+ # archive the patched source for use with genkernel
+ cd "${WORKDIR}"
+ tar -jcf ${PN}-${MY_PV}-prepatched.tar.bz2 ${PN} || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable static static_link) \
+ $(use_enable selinux libselinux) \
+ $(use_enable selinux libsepol)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CHANGELOG README TODO KNOWN_BUGS doc/* || die "dodoc failed"
+ insinto /usr/share/${PN}
+ doins "${WORKDIR}"/${PN}-${MY_PV}-prepatched.tar.bz2 || die
+}
+
+pkg_postinst() {
+ elog "For booting Gentoo from Device-Mapper RAID you can use Genkernel."
+ elog " "
+ elog "Genkernel will generate the kernel and the initrd with a statically "
+ elog "linked dmraid binary (its own version which may not be the same as this version):"
+ elog "\t emerge -av sys-kernel/genkernel"
+ elog "\t genkernel --dmraid all"
+ elog " "
+ elog "If you would rather use this version of DMRAID with Genkernel, update the following"
+ elog "in /etc/genkernel.conf:"
+ elog "\t DMRAID_VER=\"${MY_PV}\""
+ elog "\t DMRAID_SRCTAR=\"/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2\""
+ elog " "
+ ewarn "DMRAID should be safe to use, but no warranties can be given"
+}
diff --git a/sys-fs/dmraid/files/dmraid-1.0.0_rc16-as-needed.patch b/sys-fs/dmraid/files/dmraid-1.0.0_rc16-as-needed.patch
new file mode 100644
index 000000000000..b7c0c8b4b990
--- /dev/null
+++ b/sys-fs/dmraid/files/dmraid-1.0.0_rc16-as-needed.patch
@@ -0,0 +1,11 @@
+--- 1.0.0.rc16/make.tmpl.in 2009-09-17 17:40:28.000000000 -0400
++++ 1.0.0.rc16/make.tmpl.in.new 2009-09-17 17:52:40.000000000 -0400
+@@ -136,7 +136,7 @@
+
+ %.so: $(OBJECTS)
+ $(CC) -shared -Wl,-soname,$(notdir $@).$(DMRAID_LIB_VERSION) \
+- -Wl,--version-script,.export.sym $(OBJECTS) -o $@ -ldevmapper-event
++ -Wl,--version-script,.export.sym $(OBJECTS) -o $@ -ldevmapper-event -ldl
+
+ $(LIB_STATIC): $(OBJECTS)
+ $(RM) $@ \ No newline at end of file
diff --git a/sys-fs/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch b/sys-fs/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch
new file mode 100644
index 000000000000..6636b0563086
--- /dev/null
+++ b/sys-fs/dmraid/files/dmraid-1.0.0_rc16-undo-p-rename.patch
@@ -0,0 +1,13 @@
+Author: Giuseppe Iuculano <giuseppe@iuculano.it>
+Description: Removed "p" from device name. A proper upgrade script is needed before using it.
+--- a/1.0.0.rc15/lib/format/partition/dos.c
++++ b/1.0.0.rc15/lib/format/partition/dos.c
+@@ -31,7 +31,7 @@ _name(struct lib_context *lc, struct rai
+ {
+ const char *base = get_basename(lc, rd->di->path);
+
+- return type ? snprintf(str, len, "%s%s%u", base, OPT_STR_PARTCHAR(lc),
++ return type ? snprintf(str, len, "%s%u", base,
+ partition) : snprintf(str, len, "%s", base);
+ }
+
diff --git a/sys-fs/dmraid/metadata.xml b/sys-fs/dmraid/metadata.xml
index 481ec8a52d9a..7879ce6c954a 100644
--- a/sys-fs/dmraid/metadata.xml
+++ b/sys-fs/dmraid/metadata.xml
@@ -4,8 +4,13 @@
<herd>no-herd</herd>
<maintainer>
<email>ian@aerobiology.ca</email>
- <description>Indirectly maintaining through
- genstef@gentoo.org</description>
+ <name>Ian Stakenvicius</name>
+ <description>Maintainer of ebuilds, assign bugs</description>
+ </maintainer>
+ <maintainer>
+ <email>tommy@gentoo.org</email>
+ <name>Thomas Sachau</name>
+ <description>Proxy committer, CC bugs</description>
</maintainer>
<longdescription>This software discovers, activates, deactivates and displays properties of software RAID sets eg: ATARAID and contained DOS partitions.</longdescription>
</pkgmetadata>