summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2006-11-02 18:27:26 +0000
committerDaniel Drake <dsd@gentoo.org>2006-11-02 18:27:26 +0000
commita0ecebb00c823fb6fa13d42328ff4c9bc62acc31 (patch)
treebe1e7bfab4218ed0b3608750a87bcacc6e4a364f /sys-fs
parentConfig files installed to /etc/ati, bug #153780 (diff)
downloadgentoo-2-a0ecebb00c823fb6fa13d42328ff4c9bc62acc31.tar.gz
gentoo-2-a0ecebb00c823fb6fa13d42328ff4c9bc62acc31.tar.bz2
gentoo-2-a0ecebb00c823fb6fa13d42328ff4c9bc62acc31.zip
Version bump
(Portage version: 2.1.2_rc1-r2)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/device-mapper/ChangeLog7
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.12.ebuild49
-rw-r--r--sys-fs/device-mapper/files/digest-device-mapper-1.02.123
3 files changed, 58 insertions, 1 deletions
diff --git a/sys-fs/device-mapper/ChangeLog b/sys-fs/device-mapper/ChangeLog
index 7da89d9012bf..737409cbf5f1 100644
--- a/sys-fs/device-mapper/ChangeLog
+++ b/sys-fs/device-mapper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/device-mapper
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.52 2006/11/02 18:02:50 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.53 2006/11/02 18:27:26 dsd Exp $
+
+*device-mapper-1.02.12 (02 Nov 2006)
+
+ 02 Nov 2006; Daniel Drake <dsd@gentoo.org> +device-mapper-1.02.12.ebuild:
+ Version bump
02 Nov 2006; Daniel Drake <dsd@gentoo.org> -device-mapper-1.02.10.ebuild,
device-mapper-1.02.10-r1.ebuild:
diff --git a/sys-fs/device-mapper/device-mapper-1.02.12.ebuild b/sys-fs/device-mapper/device-mapper-1.02.12.ebuild
new file mode 100644
index 000000000000..ce7d88f3f82b
--- /dev/null
+++ b/sys-fs/device-mapper/device-mapper-1.02.12.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.12.ebuild,v 1.1 2006/11/02 18:27:26 dsd Exp $
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
+HOMEPAGE="http://sources.redhat.com/dm/"
+SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
+ ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="selinux"
+
+DEPEND="selinux? ( sys-libs/libselinux )"
+
+S=${WORKDIR}/${PN}.${PV}
+
+src_compile() {
+ econf --sbindir=/sbin $(use_enable selinux) || die "econf failed"
+ emake || die "compile problem"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+
+ # move shared libs to /
+ mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
+ dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
+ gen_usr_ldscript libdevmapper.so
+
+ insinto /etc
+ doins "${FILESDIR}"/dmtab
+ insinto /lib/rcscripts/addons
+ doins "${FILESDIR}"/dm-start.sh
+
+ dodoc INSTALL INTRO README VERSION WHATS_NEW
+}
+
+pkg_preinst() {
+ local l=${ROOT}/$(get_libdir)/libdevmapper.so.1.01
+ [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
+}
diff --git a/sys-fs/device-mapper/files/digest-device-mapper-1.02.12 b/sys-fs/device-mapper/files/digest-device-mapper-1.02.12
new file mode 100644
index 000000000000..488a98d38743
--- /dev/null
+++ b/sys-fs/device-mapper/files/digest-device-mapper-1.02.12
@@ -0,0 +1,3 @@
+MD5 8e27c50311adfe4fbb448f060ddfb332 device-mapper.1.02.12.tgz 162634
+RMD160 ac9605e9b3587685ddc075a0eadb899e10ea1af6 device-mapper.1.02.12.tgz 162634
+SHA256 2ced9a96554b966b4cd63ecf26a3782a2ff75773751bcf0055f6c5d388b148bb device-mapper.1.02.12.tgz 162634