summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2007-04-30 14:21:11 +0000
committerDaniel Drake <dsd@gentoo.org>2007-04-30 14:21:11 +0000
commit304ce342f0f199b0e56b1fd4255b39269ef22880 (patch)
treeaeb8e4e8ed6586514c755bcfa739abb89fe680a8 /sys-fs
parentStable on alpha wrt bug #158758 (diff)
downloadhistorical-304ce342f0f199b0e56b1fd4255b39269ef22880.tar.gz
historical-304ce342f0f199b0e56b1fd4255b39269ef22880.tar.bz2
historical-304ce342f0f199b0e56b1fd4255b39269ef22880.zip
Add baselayout-2 init script
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/device-mapper/ChangeLog8
-rw-r--r--sys-fs/device-mapper/Manifest29
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.18-r1.ebuild55
-rw-r--r--sys-fs/device-mapper/files/device-mapper.rc19
-rw-r--r--sys-fs/device-mapper/files/digest-device-mapper-1.02.18-r13
5 files changed, 99 insertions, 15 deletions
diff --git a/sys-fs/device-mapper/ChangeLog b/sys-fs/device-mapper/ChangeLog
index 272742aba7d7..3a5ff8dc4ced 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-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 $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.58 2007/04/30 14:21:11 dsd Exp $
+
+*device-mapper-1.02.18-r1 (30 Apr 2007)
+
+ 30 Apr 2007; Daniel Drake <dsd@gentoo.org> +files/device-mapper.rc,
+ +device-mapper-1.02.18-r1.ebuild:
+ Add baselayout-2 init script
*device-mapper-1.02.18 (07 Apr 2007)
diff --git a/sys-fs/device-mapper/Manifest b/sys-fs/device-mapper/Manifest
index c12731f298e6..830ae2f4c415 100644
--- a/sys-fs/device-mapper/Manifest
+++ b/sys-fs/device-mapper/Manifest
@@ -1,6 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX device-mapper.rc 488 RMD160 1dbee81674b3a6f7afea3d47bc7c8841ea9f1687 SHA1 199ae3a3fd345c862f1de87f3529d1b19dee627f SHA256 b8c4dd0843ef8faded2df6c2e8fb7a081fcaa23eb2a30b9b1e460be746a212d3
+MD5 26bab62411dc0c818719786003cf7162 files/device-mapper.rc 488
+RMD160 1dbee81674b3a6f7afea3d47bc7c8841ea9f1687 files/device-mapper.rc 488
+SHA256 b8c4dd0843ef8faded2df6c2e8fb7a081fcaa23eb2a30b9b1e460be746a212d3 files/device-mapper.rc 488
AUX dm-start.sh 2214 RMD160 a9b6f6d7994dd82a51f312c2a5a61805ead21f60 SHA1 0cc253da82c68b3568f3ff438fed608f0e326cdb SHA256 a15e4f6a63bb757d9d7bc2fc9f6196f7b96b1d351b1c23cb2fa64721f1138e3b
MD5 3122f5bc84f85bede0a21f4d5290f6b0 files/dm-start.sh 2214
RMD160 a9b6f6d7994dd82a51f312c2a5a61805ead21f60 files/dm-start.sh 2214
@@ -25,14 +26,18 @@ EBUILD device-mapper-1.02.12.ebuild 1387 RMD160 ab87c2cbe31bf82be3b6ccda7b4a05c6
MD5 7e406a4590d5ab4647e34752f5a43ed8 device-mapper-1.02.12.ebuild 1387
RMD160 ab87c2cbe31bf82be3b6ccda7b4a05c60886f7b7 device-mapper-1.02.12.ebuild 1387
SHA256 227389b68fd4c19b4e7d9e8b4edc6400ed49c6d67bf0174ca9fe46023fd457cf device-mapper-1.02.12.ebuild 1387
+EBUILD device-mapper-1.02.18-r1.ebuild 1640 RMD160 5815cd0a445d311036793406b8f4b4a50e6c2e8c SHA1 e6167f54849e260cfd0790e962712178163d562a SHA256 04b6ee65909d3d960c35b9ae7fe49a60640c4e38b2bbd00a4d367ab57c2f1c01
+MD5 70e42fdf1fb1d9a859b2ac020fe5fb86 device-mapper-1.02.18-r1.ebuild 1640
+RMD160 5815cd0a445d311036793406b8f4b4a50e6c2e8c device-mapper-1.02.18-r1.ebuild 1640
+SHA256 04b6ee65909d3d960c35b9ae7fe49a60640c4e38b2bbd00a4d367ab57c2f1c01 device-mapper-1.02.18-r1.ebuild 1640
EBUILD device-mapper-1.02.18.ebuild 1390 RMD160 531d21595fa6fe85248f9f11cd589cecf171024c SHA1 7061e35c80230e812c8d9664bf5777443c0c1ac0 SHA256 623dfe29e625e04e92da0b267eaea14c9c9c6a42d55ee57537ab5b7144be0288
MD5 18dd7f7752fe2fe546e73da1099d6cdf device-mapper-1.02.18.ebuild 1390
RMD160 531d21595fa6fe85248f9f11cd589cecf171024c device-mapper-1.02.18.ebuild 1390
SHA256 623dfe29e625e04e92da0b267eaea14c9c9c6a42d55ee57537ab5b7144be0288 device-mapper-1.02.18.ebuild 1390
-MISC ChangeLog 11893 RMD160 a518de17fba76104fd63fa27004e2b1b76ef13c2 SHA1 13c51c3f7cf852eb488d3a9c4ec2bedd87202f89 SHA256 dcb8bec7a02d3098c68f97baec15b59c6b97217d0aeca15676b38fea039f2614
-MD5 b2a0ff433359c215aad0fd020fa9e13a ChangeLog 11893
-RMD160 a518de17fba76104fd63fa27004e2b1b76ef13c2 ChangeLog 11893
-SHA256 dcb8bec7a02d3098c68f97baec15b59c6b97217d0aeca15676b38fea039f2614 ChangeLog 11893
+MISC ChangeLog 12069 RMD160 e8784f9f0a4d9bd53cb5b493853e4626df2d1ec0 SHA1 1ffba048197c246cbbb8201fde2f7be88dfccb8d SHA256 d0e3cdbdfc5f2432c0d0946adb40d6310928dfb2ba9a23acb71d542d1d233422
+MD5 8bb53a67413b1547929c79dd5147d724 ChangeLog 12069
+RMD160 e8784f9f0a4d9bd53cb5b493853e4626df2d1ec0 ChangeLog 12069
+SHA256 d0e3cdbdfc5f2432c0d0946adb40d6310928dfb2ba9a23acb71d542d1d233422 ChangeLog 12069
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -49,10 +54,6 @@ SHA256 8867e4b570824a3e123a65b6543d6d14e64b45a10e76771b8668d3d6b5b37026 files/di
MD5 b81a827a3c3a9bb7b2cc7fda8633dfd8 files/digest-device-mapper-1.02.18 256
RMD160 66e9330cbe347a238bbfec99393cf38fdfafa645 files/digest-device-mapper-1.02.18 256
SHA256 c1652a136dc3701bf16366530e27044db04a6508cf13863577d524b503c70e28 files/digest-device-mapper-1.02.18 256
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFGF21v8bi6rjpTunYRAp9fAJ4wLKbhMsKo8F9SNOliM67h69EC2ACg3fS9
-QbZMOy7fUWjW40kAHLfXFvc=
-=Gz1c
------END PGP SIGNATURE-----
+MD5 b81a827a3c3a9bb7b2cc7fda8633dfd8 files/digest-device-mapper-1.02.18-r1 256
+RMD160 66e9330cbe347a238bbfec99393cf38fdfafa645 files/digest-device-mapper-1.02.18-r1 256
+SHA256 c1652a136dc3701bf16366530e27044db04a6508cf13863577d524b503c70e28 files/digest-device-mapper-1.02.18-r1 256
diff --git a/sys-fs/device-mapper/device-mapper-1.02.18-r1.ebuild b/sys-fs/device-mapper/device-mapper-1.02.18-r1.ebuild
new file mode 100644
index 000000000000..967fa6c682a5
--- /dev/null
+++ b/sys-fs/device-mapper/device-mapper-1.02.18-r1.ebuild
@@ -0,0 +1,55 @@
+# 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-r1.ebuild,v 1.1 2007/04/30 14:21:11 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
+
+ newinitd ${FILESDIR}/device-mapper.rc device-mapper || die
+
+ 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
+
+ elog "device-mapper volumes are no longer automatically created for"
+ elog "baselayout-2 users. If you are using baselayout-2, be sure to"
+ elog "run: # rc-update add device-mapper boot"
+}
diff --git a/sys-fs/device-mapper/files/device-mapper.rc b/sys-fs/device-mapper/files/device-mapper.rc
new file mode 100644
index 000000000000..fa08982aca8a
--- /dev/null
+++ b/sys-fs/device-mapper/files/device-mapper.rc
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# 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/files/device-mapper.rc,v 1.1 2007/04/30 14:21:11 dsd Exp $
+
+depend() {
+ before checkroot
+}
+
+start() {
+ if [ ! -e /lib/librc.so ]; then
+ eerror "The ${SVCNAME} init script is written for baselayout-2"
+ eerror "Please do not use it with baselayout-1"
+ return 1
+ fi
+
+ . /lib/rcscripts/addons/dm-start.sh
+}
+
diff --git a/sys-fs/device-mapper/files/digest-device-mapper-1.02.18-r1 b/sys-fs/device-mapper/files/digest-device-mapper-1.02.18-r1
new file mode 100644
index 000000000000..ba13241c616e
--- /dev/null
+++ b/sys-fs/device-mapper/files/digest-device-mapper-1.02.18-r1
@@ -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