summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-09-01 20:21:56 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-09-01 20:21:56 +0000
commit5fe82bfcf28ae5da384325a2339115faa486df7d (patch)
treec18bffa8db6c2e18e0a5f4fb751842000421603b /sys-fs/dmraid
parentStable on alpha/amd64/x86 wrt bug #145893. (diff)
downloadhistorical-5fe82bfcf28ae5da384325a2339115faa486df7d.tar.gz
historical-5fe82bfcf28ae5da384325a2339115faa486df7d.tar.bz2
historical-5fe82bfcf28ae5da384325a2339115faa486df7d.zip
new version by ian, "New Ebuild (version bump) for bugs #107826, #139860 -- thanks to genstef, ColdWind"
Package-Manager: portage-2.1.1_rc1-r2
Diffstat (limited to 'sys-fs/dmraid')
-rw-r--r--sys-fs/dmraid/ChangeLog11
-rw-r--r--sys-fs/dmraid/Manifest20
-rw-r--r--sys-fs/dmraid/dmraid-1.0.0_rc12.ebuild79
-rw-r--r--sys-fs/dmraid/files/digest-dmraid-1.0.0_rc123
-rw-r--r--sys-fs/dmraid/files/dmraid-manpage-destdir.patch30
5 files changed, 138 insertions, 5 deletions
diff --git a/sys-fs/dmraid/ChangeLog b/sys-fs/dmraid/ChangeLog
index cfc837529cb8..fde1969415c4 100644
--- a/sys-fs/dmraid/ChangeLog
+++ b/sys-fs/dmraid/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-fs/dmraid
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.3 2006/06/23 13:19:12 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.4 2006/09/01 20:21:56 genstef Exp $
+
+ 01 Sep 2006; Ian Stakenvicius <ian@syndicated-productions.com>
+ dmraid-1.0.0_rc12.ebuild:
+ Updated src_uri to match upstream's fix
+
+ 01 Sep 2006; Ian Stakenvicius <ian@syndicated-productions.com>
+ +dmraid-1.0.0_rc12.ebuild, +files/dmraid-manpage-destdir.patch:
+ New Ebuild (version bump) for bugs #107826, #139860 -- thanks to genstef,
+ ColdWind;
23 Jun 2006; Simon Stelling <blubb@gentoo.org> metadata.xml:
it's maintainer-needed, not -wanted
diff --git a/sys-fs/dmraid/Manifest b/sys-fs/dmraid/Manifest
index 2e058fed7d19..8c5fa04eb408 100644
--- a/sys-fs/dmraid/Manifest
+++ b/sys-fs/dmraid/Manifest
@@ -1,16 +1,28 @@
+AUX dmraid-manpage-destdir.patch 769 RMD160 0af2fbcc913f1eb0ddc8dac10c4693dbb1db7fd7 SHA1 58ec15949f1158f7b1524358039cac0f6c66fafb SHA256 9c22b26f2f6844f6581a749def6c20e8ebb70fd427b3a74e023aaec798d1ab1f
+MD5 502a31b1fc536bd48b5c991d84f16946 files/dmraid-manpage-destdir.patch 769
+RMD160 0af2fbcc913f1eb0ddc8dac10c4693dbb1db7fd7 files/dmraid-manpage-destdir.patch 769
+SHA256 9c22b26f2f6844f6581a749def6c20e8ebb70fd427b3a74e023aaec798d1ab1f files/dmraid-manpage-destdir.patch 769
+DIST dmraid-1.0.0.rc12-pre1.tar.bz2 181529 RMD160 af3e64637e28610aaf68bc5368a8d0a5735ef6ea SHA1 e0e62b9f1b79dc5cc476e6eae2c8a87eb2cc5db6 SHA256 c49a5221683d510a51f2abc1cf5ca31a0f84fef252b1eff0659f53cc828fcb91
DIST dmraid-1.0.0.rc8.tar.bz2 130421
+EBUILD dmraid-1.0.0_rc12.ebuild 2406 RMD160 4a83578d51853afd2b35eabb1ce7298f9c9a5dbd SHA1 21b5ff225123bd0bb27e1ce6bbaa201f16451437 SHA256 1b0ac65f9a198ac2ec0d97774a4953646be9d9777281642865c4e9a4499d0eb6
+MD5 24ad9139b5def4bcb5b708620a9fa0b7 dmraid-1.0.0_rc12.ebuild 2406
+RMD160 4a83578d51853afd2b35eabb1ce7298f9c9a5dbd dmraid-1.0.0_rc12.ebuild 2406
+SHA256 1b0ac65f9a198ac2ec0d97774a4953646be9d9777281642865c4e9a4499d0eb6 dmraid-1.0.0_rc12.ebuild 2406
EBUILD dmraid-1.0.0_rc8-r1.ebuild 1802 RMD160 d1b1cd807d0b5e561a55d7c8cf62ec0e88dddbe9 SHA1 762c271a49d547755f48432d98ba10709caf4eaa SHA256 f83cbe4f7e7d7937758c5ca1d1b0f90526a10fcab60b5e86101dd88e04eb59cc
MD5 46a1d838b5b9f7ad952de8ee586fde52 dmraid-1.0.0_rc8-r1.ebuild 1802
RMD160 d1b1cd807d0b5e561a55d7c8cf62ec0e88dddbe9 dmraid-1.0.0_rc8-r1.ebuild 1802
SHA256 f83cbe4f7e7d7937758c5ca1d1b0f90526a10fcab60b5e86101dd88e04eb59cc dmraid-1.0.0_rc8-r1.ebuild 1802
-MISC ChangeLog 844 RMD160 7aee9a1e16e1bba6c164f5639c6738e9adef440a SHA1 b76bfb0a08211f8268a25f1b408b13d7804f97ee SHA256 9a6f137fd0edddb22bf508d36082197c5dce479650ed892fc132d671a9b20f38
-MD5 7cc993960e8aaaed1a64c0f543bea474 ChangeLog 844
-RMD160 7aee9a1e16e1bba6c164f5639c6738e9adef440a ChangeLog 844
-SHA256 9a6f137fd0edddb22bf508d36082197c5dce479650ed892fc132d671a9b20f38 ChangeLog 844
+MISC ChangeLog 1203 RMD160 a3c6d13b3b4c3a3a3ef8f9a9c5586cf52d5bd258 SHA1 d86e96d44d989c72eff926117b5ab460915c6c73 SHA256 369d045e701bb0be445addf31d17b63aeee46a3bdfaeebd52e46c3cd440933e3
+MD5 68432802a201e30f3813020fb5d86582 ChangeLog 1203
+RMD160 a3c6d13b3b4c3a3a3ef8f9a9c5586cf52d5bd258 ChangeLog 1203
+SHA256 369d045e701bb0be445addf31d17b63aeee46a3bdfaeebd52e46c3cd440933e3 ChangeLog 1203
MISC metadata.xml 457 RMD160 49eaf30c26d504ec995cb5c003f89934ac013e5f SHA1 28c51022cadd6b7d2fd7ef63c8d1c05d30e37f06 SHA256 e4b4b611c77529f5f7a7e2d7dc668ee804dafa7451148c383eed72686f6b9571
MD5 be5b21e50b5c9de2887ecf88ddca3c8e metadata.xml 457
RMD160 49eaf30c26d504ec995cb5c003f89934ac013e5f metadata.xml 457
SHA256 e4b4b611c77529f5f7a7e2d7dc668ee804dafa7451148c383eed72686f6b9571 metadata.xml 457
+MD5 24afeb99140a5517c67cff9001555ff4 files/digest-dmraid-1.0.0_rc12 271
+RMD160 a29d21b2f272594bd22fdd0de3258edb38bb900c files/digest-dmraid-1.0.0_rc12 271
+SHA256 082360d173d55e9f3fa2db4d50335eccba0b50c306c2496a4ed645a9d658c2cb files/digest-dmraid-1.0.0_rc12 271
MD5 397241bdc56be36ee9e2bc81b7a67f67 files/digest-dmraid-1.0.0_rc8-r1 69
RMD160 88181803edd2be1263078121f1930aa5f567138d files/digest-dmraid-1.0.0_rc8-r1 69
SHA256 980904d8f081aee0c1e5b43f43fbf7b3bb64315d99d7071d1012caca98933d7a files/digest-dmraid-1.0.0_rc8-r1 69
diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc12.ebuild b/sys-fs/dmraid/dmraid-1.0.0_rc12.ebuild
new file mode 100644
index 000000000000..fb0bede3500f
--- /dev/null
+++ b/sys-fs/dmraid/dmraid-1.0.0_rc12.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2006 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_rc12.ebuild,v 1.1 2006/09/01 20:21:56 genstef Exp $
+
+inherit linux-info flag-o-matic
+
+MY_PV=${PV/_/.}-pre1
+MY_P=${PN}-${MY_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/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE="static selinux"
+
+DEPEND="sys-fs/device-mapper
+ selinux? ( sys-libs/libselinux
+ sys-libs/libsepol )
+ genkernel? ( sys-kernel/genkernel )"
+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_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/dmraid-manpage-destdir.patch
+}
+
+src_compile() {
+ #inlining doesnt seem to work for dmraid
+ filter-flags -fno-inline
+
+ econf $(use_enable static static_link) \
+ $(use_enable selinux libselinux) \
+ $(use_enable selinux libsepol) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+
+ # Put the distfile into /usr/share/genkernel/pkg for genkernel
+ # in case the user wants to uuse this instead of genkernel's internal version
+ dodir /usr/share/genkernel/pkg
+ cp ${DISTDIR}/${A} ${D}/usr/share/genkernel/pkg/${A}
+
+ dodoc CHANGELOG README TODO KNOWN_BUGS doc/*
+}
+
+pkg_postinst() {
+ einfo "For booting Gentoo from Device-Mapper RAID you can use Genkernel."
+ einfo " "
+ einfo "Genkernel will generate the kernel and the initrd with a statically "
+ einfo "linked dmraid binary (its own version - not this version):"
+ einfo "emerge -av sys-kernel/genkernel"
+ einfo "genkernel --dmraid --udev all"
+ einfo " "
+ einfo "If you would rather use this version of DMRAID with Genkernel, update"
+ einfo "the following in /etc/genkernel.conf:"
+ einfo "DMRAID_VER=\"${MY_PV/_/.}\""
+ einfo "DMRAID_SRCTAR=\"\${GK_SHARE}/pkg/${A}\""
+ ewarn " "
+ ewarn "DMRAID should be safe to use, but no warranties can be given"
+ ewarn " "
+}
diff --git a/sys-fs/dmraid/files/digest-dmraid-1.0.0_rc12 b/sys-fs/dmraid/files/digest-dmraid-1.0.0_rc12
new file mode 100644
index 000000000000..a47c240efe32
--- /dev/null
+++ b/sys-fs/dmraid/files/digest-dmraid-1.0.0_rc12
@@ -0,0 +1,3 @@
+MD5 de8e53dee0bbc928138c1c988e9b6f26 dmraid-1.0.0.rc12-pre1.tar.bz2 181529
+RMD160 af3e64637e28610aaf68bc5368a8d0a5735ef6ea dmraid-1.0.0.rc12-pre1.tar.bz2 181529
+SHA256 c49a5221683d510a51f2abc1cf5ca31a0f84fef252b1eff0659f53cc828fcb91 dmraid-1.0.0.rc12-pre1.tar.bz2 181529
diff --git a/sys-fs/dmraid/files/dmraid-manpage-destdir.patch b/sys-fs/dmraid/files/dmraid-manpage-destdir.patch
new file mode 100644
index 000000000000..eee7c45b55d5
--- /dev/null
+++ b/sys-fs/dmraid/files/dmraid-manpage-destdir.patch
@@ -0,0 +1,30 @@
+--- make.tmpl.in 2006-02-17 11:18:27.000000000 -0500
++++ make.tmpl.in 2006-08-22 16:48:28.000000000 -0400
+@@ -20,22 +20,22 @@
+ LD_DEPS += @LD_DEPS@
+ SOFLAG += @SOFLAG@
+
+ # Setup directory variables
+ prefix = $(DESTDIR)@prefix@
+-exec_prefix = $(DESTDIR)@exec_prefix@
++exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ ifeq ("@KLIBC@", "no")
+ libdir = @libdir@
+ sbindir = @sbindir@
+ includedir = @includedir@
+- infodir = @infodir@
+- mandir = @mandir@
++ infodir = $(DESTDIR)@infodir@
++ mandir = $(DESTDIR)@mandir@
+ else
+ libdir = $(DESTDIR)@KLIBC_LIB_DIR@
+ sbindir = $(DESTDIR)@KLIBC_SBIN_DIR@
+ includedir = $(DESTDIR)@KLIBC_INCLUDE_DIR@
+- infodir = @infodir@
+- mandir = @mandir@
++ infodir = $(DESTDIR)@infodir@
++ mandir = $(DESTDIR)@mandir@
+ endif
+
+