diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 10:07:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 10:07:19 +0000 |
commit | d8e86ada224eb3b0af564cda2afe0e3d31862c90 (patch) | |
tree | c1d7bcd78677e578bb3da0248f31bb7e8995bef1 /sys-fs | |
parent | Workaround from upstream for crappy regex handling in newer glibcs #173368. (diff) | |
download | gentoo-2-d8e86ada224eb3b0af564cda2afe0e3d31862c90.tar.gz gentoo-2-d8e86ada224eb3b0af564cda2afe0e3d31862c90.tar.bz2 gentoo-2-d8e86ada224eb3b0af564cda2afe0e3d31862c90.zip |
Version bump #173344 by Paul Bredbury.
(Portage version: 2.1.2.3)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/device-mapper/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/device-mapper/device-mapper-1.02.18.ebuild | 49 | ||||
-rw-r--r-- | sys-fs/device-mapper/files/digest-device-mapper-1.02.18 | 3 |
3 files changed, 60 insertions, 2 deletions
diff --git a/sys-fs/device-mapper/ChangeLog b/sys-fs/device-mapper/ChangeLog index 8fca17fb9d1d..272742aba7d7 100644 --- a/sys-fs/device-mapper/ChangeLog +++ b/sys-fs/device-mapper/ChangeLog @@ -1,6 +1,12 @@ # 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.56 2006/12/31 15:17:50 kloeri Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.57 2007/04/07 10:07:19 vapier Exp $ + +*device-mapper-1.02.18 (07 Apr 2007) + + 07 Apr 2007; Mike Frysinger <vapier@gentoo.org> + +device-mapper-1.02.18.ebuild: + Version bump #173344 by Paul Bredbury. 31 Dec 2006; Bryan Østergaard <kloeri@gentoo.org> device-mapper-1.02.10-r1.ebuild: diff --git a/sys-fs/device-mapper/device-mapper-1.02.18.ebuild b/sys-fs/device-mapper/device-mapper-1.02.18.ebuild new file mode 100644 index 000000000000..d166e31bb4a2 --- /dev/null +++ b/sys-fs/device-mapper/device-mapper-1.02.18.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 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.18.ebuild,v 1.1 2007/04/07 10:07:19 vapier 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.18 b/sys-fs/device-mapper/files/digest-device-mapper-1.02.18 new file mode 100644 index 000000000000..ba13241c616e --- /dev/null +++ b/sys-fs/device-mapper/files/digest-device-mapper-1.02.18 @@ -0,0 +1,3 @@ +MD5 8ccb87923a9f33580205e5a9b39c8d58 device-mapper.1.02.18.tgz 177940 +RMD160 528425ce04de13f9be754d408738b4d3ee744cfe device-mapper.1.02.18.tgz 177940 +SHA256 d9a4f7674a728c6ccccd68d29eecb3903b660621def1ae3eccf1b7d8547b4c88 device-mapper.1.02.18.tgz 177940 |