From 91783e1ed29f3f31c2323bf3abdeb87060f229db Mon Sep 17 00:00:00 2001 From: Luigi Semenzato Date: Thu, 25 Aug 2011 14:58:16 -0700 Subject: [PATCH] Bumping lvm2 from 2.02.51-r3 to 2.02.73-r1 Earlier version required a local patch to support devicekit-disks, and therefore was placed in chromiumos-overlay. This version doesn't have that problem. A separate change in chromiumos-overlay/chromeos-base/chromeos-initramfs is required for initramfs to work. BUG=none TEST=made sure that devicekit-disks compiles (previously it required a patch) Change-Id: Ice521216b2545d11a4380eb074a3eba80fc448a0 Reviewed-on: http://gerrit.chromium.org/gerrit/6679 Reviewed-by: Matt Tennant Reviewed-by: Mandeep Singh Baines Tested-by: Luigi Semenzato --- .../portage-stable/sys-fs/lvm2/ChangeLog | 1143 +++++++++++++++++ .../sys-fs/lvm2/files/clvmd.confd-2.02.39 | 9 + .../sys-fs/lvm2/files/clvmd.rc-2.02.39 | 147 +++ .../lvm2/files/device-mapper.conf-1.02.22-r3 | 1 + .../lvm2/files/device-mapper.rc-2.02.67-r1 | 30 + .../sys-fs/lvm2/files/dm-start.sh | 86 ++ .../lvm2/files/dmeventd.initd-2.02.67-r1 | 23 + .../portage-stable/sys-fs/lvm2/files/dmtab | 12 + .../files/lvm-monitoring.initd-2.02.67-r2 | 46 + .../sys-fs/lvm2/files/lvm.conf-2.02.67.patch | 48 + .../sys-fs/lvm2/files/lvm.confd-2.02.28-r2 | 5 + .../sys-fs/lvm2/files/lvm.rc-2.02.67-r1 | 39 + .../lvm2-2.02.56-lvm2create_initrd.patch | 72 ++ ...vm2-2.02.63-always-make-static-libdm.patch | 42 + .../files/lvm2-2.02.64-dmeventd-libs.patch | 15 + .../files/lvm2-2.02.67-createinitrd.patch | 18 + .../lvm2/files/lvm2-2.02.70-asneeded.patch | 15 + .../lvm2-2.02.72-dynamic-static-ldflags.patch | 67 + .../lvm2/files/lvm2-2.02.73-asneeded.patch | 15 + .../lvm2/files/lvm2-2.02.73-locale-muck.patch | 12 + .../lvm2/files/lvm2-start.sh-2.02.67-r1 | 42 + .../sys-fs/lvm2/files/lvm2-stop.sh-2.02.67-r1 | 31 + .../sys-fs/lvm2/lvm2-2.02.73-r1.ebuild | 270 ++++ .../portage-stable/sys-fs/lvm2/metadata.xml | 24 + 24 files changed, 2212 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/ChangeLog create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.confd-2.02.39 create mode 100755 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.rc-2.02.39 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.conf-1.02.22-r3 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.rc-2.02.67-r1 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dm-start.sh create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmeventd.initd-2.02.67-r1 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmtab create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.conf-2.02.67.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.confd-2.02.28-r2 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.rc-2.02.67-r1 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.56-lvm2create_initrd.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.63-always-make-static-libdm.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.64-dmeventd-libs.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.67-createinitrd.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.70-asneeded.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.72-dynamic-static-ldflags.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-asneeded.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-start.sh-2.02.67-r1 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-stop.sh-2.02.67-r1 create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/lvm2-2.02.73-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/lvm2/metadata.xml diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/ChangeLog b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/ChangeLog new file mode 100644 index 0000000000..2eca87ac8f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/ChangeLog @@ -0,0 +1,1143 @@ +# ChangeLog for sys-fs/lvm2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.240 2010/11/25 15:32:02 ranger Exp $ + + 25 Nov 2010; Brent Baude lvm2-2.02.73-r1.ebuild: + Marking lvm2-2.02.73-r1 ppc64 for bug 334087 + + 29 Oct 2010; Jeroen Roovers lvm2-2.02.73-r1.ebuild: + Stable for HPPA (bug #324485). + +*lvm2-2.02.74 (06 Oct 2010) + + 06 Oct 2010; Robin H. Johnson +lvm2-2.02.74.ebuild: + Bug #339810: version bump. + + 07 Sep 2010; Robin H. Johnson lvm2-2.02.73-r1.ebuild: + Bug #336373: Require binutils 2.20.1 for no-export-dynamic. + + 06 Sep 2010; Brent Baude lvm2-2.02.72.ebuild: + Marking lvm2-2.02.72 ppc64 for bug 334087 + + 04 Sep 2010; Raúl Porcel lvm2-2.02.73-r1.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #334087 + + 03 Sep 2010; Pawel Hajdan jr + lvm2-2.02.73-r1.ebuild: + x86 stable wrt security bug #334087 + + 01 Sep 2010; lvm2-2.02.73-r1.ebuild: + Fast tracking to AMD64 stable, --as-needed breakage fixed by Diego E. + "Flameeyes" Pettenò; closes bug #335205. For security bug #327689. + +*lvm2-2.02.73-r1 (01 Sep 2010) + + 01 Sep 2010; Diego E. Pettenò + +lvm2-2.02.73-r1.ebuild, +files/lvm2-2.02.73-asneeded.patch: + Add patch to fix linking when using --as-needed, to fix bug #335205. + + 28 Aug 2010; Markos Chandras lvm2-2.02.73.ebuild: + Stable on amd64 wrt bug #334087 + + 28 Aug 2010; Raúl Porcel lvm2-2.02.67-r2.ebuild, + lvm2-2.02.73.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #334087 + + 28 Aug 2010; Markus Meier lvm2-2.02.73.ebuild: + arm stable, bug #334087 + + 24 Aug 2010; Markos Chandras lvm2-2.02.72.ebuild: + Stable on amd64 wrt bug #334087 + + 24 Aug 2010; Pawel Hajdan jr lvm2-2.02.73.ebuild: + x86 stable wrt security bug #334087 + + 23 Aug 2010; Robin H. Johnson lvm2-2.02.73.ebuild: + Update dependencies ready for stabilization bug #334087. + +*lvm2-2.02.73 (20 Aug 2010) + + 20 Aug 2010; Robin H. Johnson +lvm2-2.02.73.ebuild, + +files/lvm2-2.02.73-locale-muck.patch: + Version bump. + + 20 Aug 2010; Robin H. Johnson + files/lvm-monitoring.initd-2.02.67-r2: + Bug #333557: POSIX compliance for lvm monitoring script. + + 17 Aug 2010; Robin H. Johnson lvm2-2.02.72.ebuild, + +files/lvm2-2.02.72-dynamic-static-ldflags.patch: + Bug #332905: Fix compile for static/export-dynamic together. + + 13 Aug 2010; Joseph Jezak lvm2-2.02.67-r2.ebuild: + Marked ppc/ppc64 stable for bug #324485. + + 04 Aug 2010; Robin H. Johnson lvm2-2.02.70.ebuild, + lvm2-2.02.70-r1.ebuild, +files/lvm2-2.02.70-locale-muck.patch, + lvm2-2.02.72.ebuild: + Bug #330373: fix locale problems. + +*lvm2-2.02.72 (03 Aug 2010) + + 03 Aug 2010; Robin H. Johnson lvm2-2.02.67.ebuild, + lvm2-2.02.67-r1.ebuild, lvm2-2.02.67-r2.ebuild, lvm2-2.02.70.ebuild, + lvm2-2.02.70-r1.ebuild, +lvm2-2.02.72.ebuild: + Version bump. Bug #330375: CONFIG_SYSVIPC is required for udev sync code. + +*lvm2-2.02.70-r1 (03 Aug 2010) + + 03 Aug 2010; Samuli Suominen + +lvm2-2.02.70-r1.ebuild, +files/lvm2-2.02.70-asneeded.patch: + Link liblvm2app to libm even with LDFLAGS="-Wl,--as-needed" wrt #330255 by + Patrizio Bassi. + + 27 Jul 2010; Pacho Ramos lvm2-2.02.67-r2.ebuild: + amd64 stable, bug 324485 + + 25 Jul 2010; Tobias Klausmann + lvm2-2.02.67-r2.ebuild: + Stable on alpha, bug #324485 + + 23 Jul 2010; Christian Faulhammer + lvm2-2.02.67-r2.ebuild: + stable x86, bug 324485 + +*lvm2-2.02.70 (21 Jul 2010) + + 21 Jul 2010; Robin H. Johnson +lvm2-2.02.70.ebuild: + Bug #325827: version bump. + + 18 Jun 2010; Robin H. Johnson + files/lvm-monitoring.initd-2.02.67-r2: + Bug #324567: return code for lvm-monitoring. + +*lvm2-2.02.67-r2 (14 Jun 2010) + + 14 Jun 2010; Robin H. Johnson + +files/lvm-monitoring.initd-2.02.67-r2, +lvm2-2.02.67-r2.ebuild: + Bug #323881: Need to explictly start to monitor LVM devices with new init + re-arrangement. Please notice the new init.d file, lvm-monitoring, that + you should add to your boot runlevel if you require LV monitoring. + +*lvm2-2.02.67-r1 (09 Jun 2010) + + 09 Jun 2010; Robin H. Johnson + +files/device-mapper.rc-2.02.67-r1, +files/dmeventd.initd-2.02.67-r1, + +files/lvm.rc-2.02.67-r1, +files/lvm2-start.sh-2.02.67-r1, + +files/lvm2-stop.sh-2.02.67-r1, +lvm2-2.02.67-r1.ebuild: + Bugs #319017, #322969: adjusting LVM service ordering and optimizing + startup and shutdown processes. When you install this upgrade, you apply + all 3 init.d changes (device-mapper, dmeventd, lvm). + + 07 Jun 2010; Robin H. Johnson lvm2-2.02.33.ebuild, + lvm2-2.02.33-r1.ebuild, lvm2-2.02.36.ebuild, lvm2-2.02.37.ebuild, + lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild, lvm2-2.02.45.ebuild, + lvm2-2.02.45-r1.ebuild, lvm2-2.02.45-r2.ebuild, lvm2-2.02.48.ebuild, + lvm2-2.02.48-r1.ebuild, lvm2-2.02.48-r2.ebuild, lvm2-2.02.49.ebuild, + lvm2-2.02.49-r1.ebuild, lvm2-2.02.49-r2.ebuild, lvm2-2.02.49-r3.ebuild, + lvm2-2.02.51.ebuild, lvm2-2.02.51-r1.ebuild, lvm2-2.02.51-r2.ebuild, + lvm2-2.02.51-r3.ebuild, lvm2-2.02.56.ebuild, lvm2-2.02.56-r1.ebuild, + lvm2-2.02.56-r2.ebuild, lvm2-2.02.56-r3.ebuild, lvm2-2.02.63-r1.ebuild, + lvm2-2.02.63-r2.ebuild, lvm2-2.02.64.ebuild: + Bug #318433: fix QA for old ebuilds. + + 07 Jun 2010; Robin H. Johnson lvm2-2.02.67.ebuild, + files/lvm.conf-2.02.67.patch: + QA cleanup. + +*lvm2-2.02.67 (07 Jun 2010) + + 07 Jun 2010; Robin H. Johnson + +files/lvm2-2.02.64-dmeventd-libs.patch, +lvm2-2.02.67.ebuild, + +files/lvm2-2.02.67-createinitrd.patch, +files/lvm.conf-2.02.67.patch: + Bugs #301331: create initrd fixes; #312321: path for dmeventd; #318433: + QA; #318513: dmeventd libs for bindnow; + + 07 May 2010; Robin H. Johnson lvm2-2.02.63-r1.ebuild, + lvm2-2.02.63-r2.ebuild, lvm2-2.02.64.ebuild: + Bug #318821: Flip the order of udev deps, so that a really new version is + preferred to the patched version. + + 01 May 2010; Robin H. Johnson + files/device-mapper.rc-1.02.51-r2, files/clvmd.rc-2.02.39, + files/lvm.rc-2.02.51-r2: + Bug #318051: In certain situations, LVM needs dmeventd to start before it, + so ensure this enforced by the init system. + +*lvm2-2.02.64 (01 May 2010) + + 01 May 2010; Robin H. Johnson +lvm2-2.02.64.ebuild: + Bug #318037: version bump. + +*lvm2-2.02.63-r2 (22 Apr 2010) + + 22 Apr 2010; Robin H. Johnson + +lvm2-2.02.63-r2.ebuild: + Bug #316571: more work on library installs. + + 21 Apr 2010; Robin H. Johnson -lvm2-2.02.63.ebuild: + 2.02.63-r0 fails to boot on machines with a split /usr, fixed in r1, but + removing r0 for safety reasons. + +*lvm2-2.02.63-r1 (20 Apr 2010) + + 20 Apr 2010; Robin H. Johnson + +lvm2-2.02.63-r1.ebuild: + Bug #316427: upstream changes to makefiles caused some libraries to not be + present in / anymore, causing boot failure for users with a split /usr. + +*lvm2-2.02.63 (19 Apr 2010) + + 19 Apr 2010; Robin H. Johnson +lvm2-2.02.63.ebuild, + +files/lvm2-2.02.63-always-make-static-libdm.patch: + Bug #309757, version bump. Now dropping the export-format patchset + entirely in favour of new lvm2/udev cookie and udev rules from upstream. + This may require us to set a minimum kernel version. + + 02 Feb 2010; Jeroen Roovers lvm2-2.02.56-r2.ebuild: + Stable for HPPA (bug #297439). + + 19 Jan 2010; nixnut lvm2-2.02.56-r2.ebuild: + ppc stable #297439 + + 11 Jan 2010; Robin H. Johnson lvm2-2.02.56-r2.ebuild, + lvm2-2.02.56-r3.ebuild: + Bug #300003: Need pkgconfig for autoreconf. + + 07 Jan 2010; Raúl Porcel lvm2-2.02.56-r2.ebuild: + ia64/s390/sh/sparc stable wrt #297439 + +*lvm2-2.02.56-r3 (05 Jan 2010) + + 05 Jan 2010; Matthias Schwarzott + +files/64-device-mapper.rules-2.02.56-r3, +lvm2-2.02.56-r3.ebuild: + Fix udev rule for mapper/control device, Bug #295186. + + 02 Jan 2010; Markus Meier lvm2-2.02.56-r2.ebuild: + amd64/arm stable, bug #297439 + + 02 Jan 2010; Brent Baude lvm2-2.02.56-r2.ebuild: + Marking lvm2-2.02.56-r2 ppc64 for bug 297439 + + 29 Dec 2009; Christian Faulhammer + lvm2-2.02.56-r2.ebuild: + stable x86, bug 297439 + +*lvm2-2.02.56-r2 (26 Dec 2009) + + 26 Dec 2009; Robin H. Johnson + +lvm2-2.02.56-r2.ebuild, +files/lvm2-2.02.56-lvm2create_initrd.patch: + Bug #296198 redux: package in the contrib lvm2create_initrd script after + patching it for users that have non-genkernel initrds. + + 20 Dec 2009; Raúl Porcel lvm2-2.02.56-r1.ebuild: + alpha stable wrt #297439 + + 11 Dec 2009; Raúl Porcel lvm2-2.02.51-r1.ebuild: + s390/sh stable + + 11 Dec 2009; Raúl Porcel lvm2-2.02.51.ebuild, + lvm2-2.02.51-r1.ebuild, lvm2-2.02.51-r2.ebuild, lvm2-2.02.51-r3.ebuild, + lvm2-2.02.56-r1.ebuild: + Add ~s390/~sh + + 07 Dec 2009; Samuli Suominen + lvm2-2.02.51-r1.ebuild: + amd64 stable wrt #287658 + + 30 Nov 2009; Robin H. Johnson lvm2-2.02.33.ebuild, + lvm2-2.02.33-r1.ebuild, lvm2-2.02.36.ebuild, lvm2-2.02.37.ebuild, + lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild, lvm2-2.02.45.ebuild, + lvm2-2.02.45-r1.ebuild, lvm2-2.02.45-r2.ebuild, lvm2-2.02.48.ebuild, + lvm2-2.02.48-r1.ebuild, lvm2-2.02.48-r2.ebuild, lvm2-2.02.49.ebuild, + lvm2-2.02.49-r1.ebuild, lvm2-2.02.49-r2.ebuild, lvm2-2.02.49-r3.ebuild, + lvm2-2.02.51.ebuild, lvm2-2.02.51-r1.ebuild, lvm2-2.02.51-r2.ebuild, + lvm2-2.02.51-r3.ebuild, lvm2-2.02.56.ebuild, lvm2-2.02.56-r1.ebuild: + Bug #294744: Cleanup the rebuild message. + +*lvm2-2.02.56-r1 (30 Nov 2009) + + 30 Nov 2009; Robin H. Johnson + +lvm2-2.02.56-r1.ebuild, + +files/lvm2-2.02.56-always-make-static-libdm.patch: + Bug #276803: Always build static libdevicemapper for cryptsetup to + optionally link to. Same behavior that sys-fs/devicemapper used to have. + +*lvm2-2.02.56 (30 Nov 2009) + + 30 Nov 2009; Robin H. Johnson +lvm2-2.02.56.ebuild, + +files/lvm2-2.02.56-device-mapper-export-format.patch, + +files/lvm2-2.02.56-dmeventd.patch, +files/lvm.conf-2.02.56.patch: + Bug #294983: version bump. + +*lvm2-2.02.51-r3 (29 Nov 2009) + + 29 Nov 2009; Robin H. Johnson + +lvm2-2.02.51-r3.ebuild, + +files/lvm2-2.02.51-dmsetup-selinux-linking-fix-r3.patch: + Try a different combined fix for bug #291217 (selinux compile) and bug + #293272 (parallel compile fix) that should work better than the previous + revisions. + + 29 Nov 2009; Robin H. Johnson lvm2-2.02.51-r1.ebuild, + lvm2-2.02.51-r2.ebuild: + Bug #293272: Parallel compile fix for case where no LVM/DM was already + present on the system. Thanks to Stephan Hartmann + for the fix. + + 29 Nov 2009; Joseph Jezak lvm2-2.02.51-r1.ebuild: + Marked ppc/ppc64 for bug #287658. + + 29 Nov 2009; Raúl Porcel lvm2-2.02.51-r1.ebuild: + arm stable + + 28 Nov 2009; Raúl Porcel lvm2-2.02.51-r1.ebuild: + ia64/sparc stable wrt #287658 + + 15 Nov 2009; Robin H. Johnson lvm2-2.02.51-r1.ebuild: + Backport selinux compile fix to stable build. + + 09 Nov 2009; Robin H. Johnson lvm2-2.02.51-r2.ebuild, + +files/lvm2-2.02.51-dmsetup-selinux-linking-fix.patch: + Bug #291217: Fix linking of dmsetup on selinux. + + 09 Nov 2009; Christian Faulhammer + lvm2-2.02.51-r1.ebuild: + stable x86, bug 287658 + + 04 Nov 2009; Robin H. Johnson lvm2-2.02.36.ebuild, + lvm2-2.02.37.ebuild, lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild, + lvm2-2.02.45.ebuild, lvm2-2.02.45-r1.ebuild, lvm2-2.02.45-r2.ebuild, + lvm2-2.02.48.ebuild, lvm2-2.02.48-r1.ebuild, lvm2-2.02.48-r2.ebuild, + lvm2-2.02.49.ebuild, lvm2-2.02.49-r1.ebuild, lvm2-2.02.49-r2.ebuild, + lvm2-2.02.49-r3.ebuild, lvm2-2.02.51.ebuild, lvm2-2.02.51-r1.ebuild, + lvm2-2.02.51-r2.ebuild: + Bug #285868: Change openrc dep to make it not downgrade BL2 users to BL1 + _or_ upgrade BL1 users to BL2. This should have the same effect as ( + =sys-apps/baselayout-1* >=sys-apps/openrc-0.4 ) without the bad side + effect. + +*lvm2-2.02.51-r2 (27 Oct 2009) + + 27 Oct 2009; Matthias Schwarzott + +files/device-mapper.rc-1.02.51-r2, +files/lvm.rc-2.02.51-r2, + +lvm2-2.02.51-r2.ebuild: + No longer use deprecated (start stop)_addon, but directly call the + relevant files. + + 21 Oct 2009; Jeroen Roovers lvm2-2.02.51-r1.ebuild: + Stable for HPPA (bug #287658). + + 04 Oct 2009; Tobias Klausmann + lvm2-2.02.51-r1.ebuild: + Stable on alpha, bug #287658 + + 18 Sep 2009; Robin H. Johnson lvm2-2.02.36.ebuild, + lvm2-2.02.37.ebuild, lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild, + lvm2-2.02.45.ebuild, lvm2-2.02.45-r1.ebuild, lvm2-2.02.45-r2.ebuild, + lvm2-2.02.48.ebuild, lvm2-2.02.48-r1.ebuild, lvm2-2.02.48-r2.ebuild, + lvm2-2.02.49.ebuild, lvm2-2.02.49-r1.ebuild, lvm2-2.02.49-r2.ebuild, + lvm2-2.02.49-r3.ebuild, lvm2-2.02.51.ebuild, lvm2-2.02.51-r1.ebuild: + Bug #284926: Update deps to ensure that no old openrc is used, as the init + deptree there does not contain the sysfs script. Bug #285360: With EAPI=2, + we need to use hard blockers. + +*lvm2-2.02.51-r1 (14 Sep 2009) + + 14 Sep 2009; Robin H. Johnson + +lvm2-2.02.51-r1.ebuild, +files/lvm2-2.02.51-fix-pvcreate.patch: + Bug #283983: pvcreate hangs on 2.6.30/.31 presently, waiting for a new + release from upstream. + + 07 Sep 2009; Raúl Porcel lvm2-2.02.51.ebuild: + Add ~arm wrt #283099 + +*lvm2-2.02.51 (27 Aug 2009) + + 27 Aug 2009; Robin H. Johnson +lvm2-2.02.51.ebuild, + +files/lvm2-2.02.51-as-needed.patch, + +files/lvm2-2.02.51-device-mapper-export-format.patch, + +files/lvm.conf-2.02.51.patch: + Version bump. Change the pvmetadatacopies default back to 1 to cut down on + pvresize issues per ongoing bug #252144. + + 07 Aug 2009; Vlastimil Babka Manifest: + Fix manifest. + +*lvm2-2.02.49-r3 (07 Aug 2009) + + 07 Aug 2009; Robin H. Johnson + +files/lvm2-start.sh-2.02.49-r3, +files/lvm2-stop.sh-2.02.49-r3, + +lvm2-2.02.49-r3.ebuild: + Bug #280009: Much better way to set the locking directory, per upstream. + Thanks to TGL for the patches. + + 31 Jul 2009; Samuli Suominen lvm2-2.02.33.ebuild, + lvm2-2.02.33-r1.ebuild, lvm2-2.02.36.ebuild, lvm2-2.02.37.ebuild, + lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild, lvm2-2.02.45.ebuild, + lvm2-2.02.45-r1.ebuild, lvm2-2.02.45-r2.ebuild, lvm2-2.02.48.ebuild, + lvm2-2.02.48-r1.ebuild, lvm2-2.02.48-r2.ebuild, lvm2-2.02.49.ebuild, + lvm2-2.02.49-r1.ebuild, lvm2-2.02.49-r2.ebuild: + Move USE defaults static and lvm1 from profiles/base/package.use to here. + +*lvm2-2.02.49-r2 (28 Jul 2009) + + 28 Jul 2009; Robin H. Johnson + +files/64-device-mapper.rules-1.02.49-r2, +lvm2-2.02.49-r2.ebuild: + Bug #278304: Update removal of vol_id, replaced by blkid -o udev. + +*lvm2-2.02.49-r1 (24 Jul 2009) + + 24 Jul 2009; Robin H. Johnson + +files/lvm2-start.sh-2.02.49-r1, +files/lvm2-stop.sh-2.02.49-r1, + +lvm2-2.02.49-r1.ebuild, +files/lvm2-2.02.49-lockdir-override.patch: + Bug #268999: allow overriding of the locking directory for use during + early boot. This gives us functional locking while root is still read-only + instead of failing the lock path. + +*lvm2-2.02.49 (22 Jul 2009) + + 22 Jul 2009; Robin H. Johnson +lvm2-2.02.49.ebuild: + Bug #278345: Version bump. + +*lvm2-2.02.48-r2 (22 Jul 2009) + + 22 Jul 2009; Robin H. Johnson + +lvm2-2.02.48-r2.ebuild, files/lvm2-2.02.48-as-needed.patch, + +files/lvm2-2.02.48-fix-pkgconfig.patch: + Bug #270350: implement pkgconfig for lvm2. Also bump to EAPI=2. Include + new spin of as-needed patch, tested by Calchan. + + 19 Jul 2009; Christian Ruppert + files/lvm2-2.02.48-as-needed.patch: + Fix bug 217644 #c34, thanks to Chris Coleman . + +*lvm2-2.02.48-r1 (06 Jul 2009) + + 06 Jul 2009; Robin H. Johnson + +lvm2-2.02.48-r1.ebuild: + -r1 now provides more forward momentum. If you want the static binaries + now, they are installed as lvm.static and dmsetup.static, not the base + names, per upstream design. cmdlib/applib/fsadm are also back for usage + now. + + 06 Jul 2009; Robin H. Johnson lvm2-2.02.48.ebuild: + Fixup just for the .a first of all. + + 05 Jul 2009; Robin H. Johnson lvm2-2.01.13.ebuild, + lvm2-2.02.33.ebuild, lvm2-2.02.33-r1.ebuild, lvm2-2.02.36.ebuild, + lvm2-2.02.37.ebuild, lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild, + lvm2-2.02.45.ebuild, lvm2-2.02.45-r1.ebuild, lvm2-2.02.45-r2.ebuild, + lvm2-2.02.48.ebuild: + Make repoman happy about whitespace. + +*lvm2-2.02.48 (05 Jul 2009) + + 05 Jul 2009; Robin H. Johnson +lvm2-2.02.48.ebuild, + +files/lvm2-2.02.48-as-needed.patch, + +files/lvm2-2.02.48-device-mapper-export-format.patch: + Version bump. Patch for bug #217644: as-needed fixes. + +*lvm2-2.02.45-r2 (19 May 2009) + + 19 May 2009; Robin H. Johnson + +files/clvmd.confd-2.02.39, +files/clvmd.rc-2.02.39, + +lvm2-2.02.45-r2.ebuild: + Port the latest clvm changes from clvm-2.02.39 per bug 265671, so that the + clvm package can finally die. + +*lvm2-2.02.45-r1 (09 May 2009) + + 09 May 2009; Robin H. Johnson + +lvm2-2.02.45-r1.ebuild: + Bug #262833: fix rcscript location. Bug #217644: Try to fix dlopen + failure. + + 09 May 2009; Robin H. Johnson lvm2-2.02.45.ebuild: + Bug 268662: Fix more parallel build fun. + + 12 Apr 2009; Robin H. Johnson lvm2-2.02.45.ebuild: + Bug #265593: Provide better workaround for the symlink parallel make bug. + Real fix needs upstream to change chunks of the build setup. + + 12 Apr 2009; Robin H. Johnson lvm2-2.01.13.ebuild, + lvm2-2.02.33.ebuild, lvm2-2.02.33-r1.ebuild, lvm2-2.02.36.ebuild, + lvm2-2.02.37.ebuild, lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild, + lvm2-2.02.45.ebuild: + Bug #265772: Update SRC_URI to check the /old/ directory upstream for + files as they are moved. + +*lvm2-2.02.45 (09 Apr 2009) + + 09 Apr 2009; Caleb Tennis + +files/device-mapper.conf-1.02.22-r3, +files/device-mapper.rc-1.02.22-r3, + +files/64-device-mapper.rules-1.02.22-r5, + +files/lvm2-2.02.45-device-mapper-export-format.patch, + +files/1.02.22-dmeventd.initd, +files/lvm2-2.02.45-dmeventd.patch, + +files/lvm.conf-2.02.45.patch, +files/dm-start.sh, +files/dmtab, + +lvm2-2.02.45.ebuild: + Version bump per bug #263243 + + 17 Jan 2009; Robin H. Johnson + files/lvm.rc-2.02.28-r2: + Stop using /lib/librc.so to detect openrc/baselayout2, and use a file + installed by new openrc instead, fixes bug #253076. + + 17 Jan 2009; Robin H. Johnson + files/lvm.rc-2.02.28-r2: + Minor fix for bug #255237. + + 14 Nov 2008; Robin H. Johnson metadata.xml, + lvm2-2.02.33.ebuild, lvm2-2.02.33-r1.ebuild, lvm2-2.02.36.ebuild, + lvm2-2.02.37.ebuild, lvm2-2.02.39.ebuild, lvm2-2.02.42.ebuild: + Gulm is gone per bug #246679. + +*lvm2-2.02.42 (07 Nov 2008) + + 07 Nov 2008; Robin H. Johnson +lvm2-2.02.42.ebuild: + Version bump per bug #239421. + + 10 Oct 2008; Robin H. Johnson + -files/lvm2-2.02.04-vgid.patch, -files/lvm.rc-2.02.28-r1, + -files/lvm.conf-2.02.28-r3.patch, -files/clvmd.rc, -files/lvm.rc, + -lvm2-2.02.28.ebuild, -lvm2-2.02.28-r1.ebuild, -lvm2-2.02.28-r2.ebuild, + -lvm2-2.02.28-r3.ebuild, -lvm2-2.02.28-r4.ebuild, -lvm2-2.02.28-r5.ebuild: + Bug #199726, clean up old versions. mips stable keyword now gone. 2.01.13 + remains for migration purposes. + + 17 Sep 2008; Robin H. Johnson metadata.xml: + Update metadata because rocket is long gone. + + 22 Aug 2008; Doug Goldstein metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + + 28 Jun 2008; Robin H. Johnson lvm2-2.02.39.ebuild: + Add a warning to satisfy bug #225769. + +*lvm2-2.02.39 (28 Jun 2008) + + 28 Jun 2008; Robin H. Johnson +lvm2-2.02.39.ebuild: + Version bump. + + 23 Jun 2008; Raúl Porcel lvm2-2.02.37.ebuild: + ia64/sparc stable wrt #207612 + + 22 Jun 2008; Markus Meier lvm2-2.02.36.ebuild: + x86 stable, bug #207612 + + 21 Jun 2008; Markus Rothe lvm2-2.02.37.ebuild: + Stable on ppc64; bug #207612 + + 16 Jun 2008; Jeroen Roovers lvm2-2.02.37.ebuild: + Stable for HPPA (bug #207612). + + 15 Jun 2008; Tobias Klausmann lvm2-2.02.36.ebuild: + Stable on alpha, bug #207612 + + 14 Jun 2008; Christoph Mende lvm2-2.02.36.ebuild: + Stable on amd64, bug #207612 + + 14 Jun 2008; nixnut lvm2-2.02.36.ebuild: + Stable on ppc wrt bug 207612 + +*lvm2-2.02.37 (08 Jun 2008) + + 08 Jun 2008; Robin H. Johnson + +files/lvm2-stop.sh-2.02.37, +lvm2-2.02.37.ebuild: + Version bump. Fixes bugs #210879, and #214194 (same as #202058). Make sure + you hvae the new .26 of device-mapper. + +*lvm2-2.02.36 (30 Apr 2008) + + 30 Apr 2008; Robin H. Johnson + +files/lvm.conf-2.02.36.patch, +lvm2-2.02.36.ebuild: + Version bump per bug 219091. + + 14 Mar 2008; Christian Heim metadata.xml: + Removing Eric Edgar (rocket, #78547) from metadata.xml. + + 25 Feb 2008; Robin H. Johnson lvm2-2.02.33.ebuild, + lvm2-2.02.33-r1.ebuild: + Disable testcases now that upstream added them, because they need device + nodes and have kernel interactions - bug 211312. + +*lvm2-2.02.33-r1 (11 Feb 2008) + + 11 Feb 2008; Robin H. Johnson + +lvm2-2.02.33-r1.ebuild: + Fix bug #209742 so that LDFLAGS are respected by the libraries AND binaries. + + 08 Feb 2008; Doug Klima lvm2-2.02.33.ebuild: + depend on newer device-mapper for DM_READ_AHEAD_AUTO define. bug #209381 + + 07 Feb 2008; Robin H. Johnson + files/lvm.conf-2.02.33.patch: + Use relative paths in patch. + +*lvm2-2.02.33 (07 Feb 2008) + + 07 Feb 2008; Robin H. Johnson + +files/lvm.conf-2.02.33.patch, +lvm2-2.02.33.ebuild: + Version bump, related to bug #207612. + + 01 Feb 2008; Diego Pettenò + files/lvm.rc-2.02.28-r1, files/lvm.rc-2.02.28-r2, files/lvm.rc: + Update init script to work with current development version of OpenRC + (checkroot -> root; checkfs -> fsck). + +*lvm2-2.02.28-r5 (30 Jan 2008) + + 30 Jan 2008; Doug Klima + +files/lvm2-stop.sh-2.02.28-r5, +lvm2-2.02.28-r5.ebuild: + ignore rootfs entries in mount and mtab during shutdown. Fixes issues with + shutting down in some cases. + +*lvm2-2.02.28-r4 (29 Nov 2007) + + 29 Nov 2007; Robin H. Johnson + +lvm2-2.02.28-r4.ebuild: + Bug #199860, snapshot support code was not being built properly when + non-static LVM was in use. + + 28 Nov 2007; Robin H. Johnson -lvm2-2.02.10.ebuild, + -lvm2-2.02.17.ebuild, -lvm2-2.02.25.ebuild, -lvm2-2.02.27.ebuild: + Trim old versions. + + 19 Nov 2007; Jeroen Roovers lvm2-2.02.28-r2.ebuild: + Stable for HPPA (bug #195173). + + 19 Nov 2007; Joshua Kinard lvm2-2.02.28-r2.ebuild: + Stable on mips, per #195173. + + 16 Nov 2007; Doug Klima + -files/lvm2-2.01.14-static.patch, -files/lvm2-2.01.14.patch, + -lvm2-2.01.09.ebuild, -lvm2-2.01.09-r1.ebuild, -lvm2-2.02.02-r1.ebuild, + -lvm2-2.02.04-r1.ebuild, -lvm2-2.02.05.ebuild, -lvm2-2.02.06.ebuild, + -lvm2-2.02.09.ebuild, lvm2-2.02.28-r3.ebuild: + Clean up old versions and repoman checks + +*lvm2-2.02.28-r3 (16 Nov 2007) + + 16 Nov 2007; Robin H. Johnson + +files/clvmd.rc-2.02.28-r3, +files/lvm.conf-2.02.28-r3.patch, + +lvm2-2.02.28-r3.ebuild: + Convert nolvmstatic and nolvm1 USE flags to static and lvm1 USE flags via + the base profile package.use. Finish merging clvm support. Provide a + slightly better than stock default configuration that is more suited to + Gentoo, and ignores network-block devices by default for the livecd + environment. + + 06 Nov 2007; Markus Rothe lvm2-2.02.28-r2.ebuild: + Stable on ppc64; bug #195173 + + 05 Nov 2007; Raúl Porcel lvm2-2.02.28-r2.ebuild: + alpha/ia64 stable wrt #195173 + + 05 Nov 2007; Ferris McCormick lvm2-2.02.28-r2.ebuild: + Sparc stable --- Bug #195173 + + 04 Nov 2007; Markus Meier lvm2-2.02.28-r2.ebuild: + x86 stable, bug #195173 + + 04 Nov 2007; Christoph Mende lvm2-2.02.28-r2.ebuild: + Stable on amd64 wrt bug #195173 + + 03 Nov 2007; Lars Weiler lvm2-2.02.28-r2.ebuild: + stable ppc, bug #195173 + + 02 Nov 2007; Robin H. Johnson lvm2-2.02.28-r2.ebuild: + Tweak dependancies. + + 22 Oct 2007; Raúl Porcel lvm2-2.02.28-r2.ebuild: + Re-add ~ia64 wrt #195175 + + 12 Oct 2007; Robin H. Johnson lvm2-2.01.09.ebuild, + lvm2-2.01.09-r1.ebuild, lvm2-2.01.13.ebuild, lvm2-2.02.02-r1.ebuild, + lvm2-2.02.04-r1.ebuild, lvm2-2.02.05.ebuild, lvm2-2.02.06.ebuild, + lvm2-2.02.09.ebuild, lvm2-2.02.10.ebuild, lvm2-2.02.17.ebuild, + lvm2-2.02.25.ebuild, lvm2-2.02.27.ebuild, lvm2-2.02.28.ebuild, + lvm2-2.02.28-r1.ebuild, lvm2-2.02.28-r2.ebuild: + Fix quoting. + + 12 Oct 2007; Robin H. Johnson lvm2-2.02.28-r2.ebuild: + Bug #195560, compile-fix for USE=nolvmstatic users. + +*lvm2-2.02.28-r2 (08 Oct 2007) + + 08 Oct 2007; Robin H. Johnson + +files/lvm.confd-2.02.28-r2, +files/lvm.rc-2.02.28-r2, + +files/lvm2-start.sh-2.02.28-r2, +lvm2-2.02.28-r2.ebuild: + LVM should come up after modules and mdraid. If you want to have a MD device + on top of LVM go and edit conf.d/lvm. Also ensure that all PVs are found + before starting the vgscan. + +*lvm2-2.02.28-r1 (04 Oct 2007) + + 04 Oct 2007; Doug Goldstein files/lvm2-start.sh, + +files/lvm.rc-2.02.28-r1, files/lvm2-stop.sh, +lvm2-2.02.28-r1.ebuild: + change baselayout-2 init script to call start_addon rather then hardcoding + the path + +*lvm2-2.02.28 (02 Oct 2007) + + 02 Oct 2007; Robin H. Johnson +lvm2-2.02.28.ebuild: + Version bump of LVM, bug #193297. Support for dmeventd per bug #192174. + Major cleanups of the ebuild, USE=nosnapshots/nomirrors are no longer + supported due to interactions with dmeventd. + + 29 Jul 2007; Robin H. Johnson metadata.xml: + Update metadata. + +*lvm2-2.02.27 (29 Jul 2007) + + 29 Jul 2007; Robin H. Johnson +lvm2-2.02.27.ebuild: + Version bump per bug #183185. + + 31 May 2007; Doug Goldstein files/lvm2-start.sh: + Fix from Jimmy.Jazz@gmx.net in bug #180340 where we would fail to boot + because vgscan detected other partitions then lvm. This ignores that result + and tries vgchange anyway. + +*lvm2-2.02.25 (28 May 2007) + + 28 May 2007; +lvm2-2.02.25.ebuild: + Version bump. + + 21 May 2007; Doug Goldstein files/lvm2-start.sh: + de-bash-ification by Uberlord + + 16 May 2007; Jeroen Roovers lvm2-2.02.10.ebuild: + Stable for HPPA (bug #158794). + + 12 May 2007; Joshua Kinard lvm2-2.02.10.ebuild: + Stable on mips. + + 10 May 2007; Doug Goldstein lvm2-2.02.17.ebuild: + Add elog notice about baselayout-2 + + 09 May 2007; Robin H. Johnson lvm2-2.02.17.ebuild: + Fix a bad variable name. + + 09 May 2007; Doug Goldstein metadata.xml: + Add upstream to metadata as requested + + 09 May 2007; Doug Goldstein +files/lvm.rc, + lvm2-2.02.17.ebuild: + added baselayout-2 compatible init script from bug #175983 + + 22 Feb 2007; Markus Ullmann ChangeLog: + Redigest for Manifest2 + + 05 Feb 2007; Simon Stelling lvm2-2.02.10.ebuild: + stable on amd64; bug 158794 + + 31 Dec 2006; Bryan Østergaard lvm2-2.02.10.ebuild: + Stable on Alpha, bug 158794. + + 22 Dec 2006; Gustavo Zacarias lvm2-2.02.10.ebuild: + Stable on sparc wrt #158794 + + 22 Dec 2006; Andrej Kacian lvm2-2.02.10.ebuild: + Stable on x86, bug #158794. + + 22 Dec 2006; Tobias Scherbaum lvm2-2.02.10.ebuild: + Stable on ppc wrt bug #158794. + + 22 Dec 2006; Markus Rothe lvm2-2.02.10.ebuild: + Stable on ppc64; bug #158794 + +*lvm2-2.02.17 (21 Dec 2006) + + 21 Dec 2006; Robin H. Johnson +lvm2-2.02.17.ebuild: + Version bump. + +*lvm2-2.02.10 (22 Sep 2006) + + 22 Sep 2006; Robin H. Johnson +lvm2-2.02.10.ebuild: + Version bump - needed for upstream fixes to locking, clustering and LVM + mirroring. + + 07 Sep 2006; Eric Edgar lvm2-2.02.06.ebuild: + Update the lvm2-2.02.06 ebuild to require device-mapper 1.02.07 or higher + fixing bug 141350 + +*lvm2-2.02.09 (07 Sep 2006) + + 07 Sep 2006; Eric Edgar +lvm2-2.02.09.ebuild: + Add version 2.02.09 to the tree + + 04 Sep 2006; Joshua Kinard lvm2-2.02.06.ebuild: + Marked stable on mips. + + 23 Aug 2006; Gustavo Zacarias lvm2-2.02.06.ebuild: + Stable on hppa + + 23 Aug 2006; Chris Gianelloni lvm2-2.02.05.ebuild: + Stable on alpha wrt release snapshot. + + 16 Aug 2006; Markus Rothe lvm2-2.02.06.ebuild: + Stable on ppc64 + + 05 Aug 2006; Michael Hanselmann lvm2-2.02.06.ebuild: + Stable on ppc. + + 03 Aug 2006; Daniel Gryniewicz lvm2-2.02.06.ebuild: + Marked stable on amd64 bug #131662 + + 02 Aug 2006; Gustavo Zacarias lvm2-2.02.06.ebuild: + Stable on sparc + + 18 Jul 2006; Joshua Jackson lvm2-2.02.06.ebuild: + Stable x86; bug #131662 + +*lvm2-2.02.06 (23 Jun 2006) + + 23 Jun 2006; Chris Gianelloni +lvm2-2.02.06.ebuild: + Version bump, requested by rocket. + + 16 Jun 2006; Michael Sterrett + lvm2-2.02.04-r1.ebuild, lvm2-2.02.05.ebuild: + move inherit to the top of the ebuild + + 13 Jun 2006; Danny van Dyk lvm2-2.02.05.ebuild: + Marked stable on amd64. + + 24 May 2006; Michael Hanselmann lvm2-2.02.05.ebuild: + Stable on ppc. + + 07 May 2006; Mark Loeser -lvm2-2.01.14-r1.ebuild: + Drop old version because of dependencies being removed + + 03 May 2006; Gustavo Zacarias lvm2-2.02.05.ebuild: + Stable on hppa wrt #130529 + + 01 May 2006; Markus Rothe lvm2-2.02.05.ebuild: + Stable on ppc64 + + 27 Apr 2006; Alec Warner files/digest-lvm2-2.01.13, + files/digest-lvm2-2.01.14-r1, files/digest-lvm2-2.02.02-r1, + files/digest-lvm2-2.02.04-r1, files/digest-lvm2-2.02.05, Manifest: + Fixing SHA256 digest, pass four + + 26 Apr 2006; Chris Gianelloni lvm2-2.02.05.ebuild: + Marking stable on x86 wrt bug #130529. + + 25 Apr 2006; Gustavo Zacarias lvm2-2.02.05.ebuild: + Stable on sparc wrt #130529 + + 24 Apr 2006; Joshua Kinard lvm2-2.02.05.ebuild: + Marked stable on mips. + +*lvm2-2.02.05 (24 Apr 2006) + + 24 Apr 2006; Eric Edgar +lvm2-2.02.05.ebuild: + version Bump to 2.02.05 per bug #131114. + + 24 Apr 2006; Gustavo Zacarias + lvm2-2.02.04-r1.ebuild: + Stable on hppa & sparc wrt #130529 + +*lvm2-2.02.04-r1 (21 Apr 2006) + + 21 Apr 2006; Eric Edgar + +files/lvm2-2.01.14-static.patch, +files/lvm2-2.02.04-vgid.patch, + +lvm2-2.02.04-r1.ebuild: + lvm2-2.02.04 with vgid termination patch to fix bug# 130626. Patch obtained + from upstream cvs. Will be included in lvm2-2.02.05 Replace missing + lvm2-2.01.14-static patch + + 21 Apr 2006; Eric Edgar -lvm2-2.02.03.ebuild, + -lvm2-2.02.04.ebuild: + Removed lvm2-2.02.03 and lvm2-2.02.04 as they have issue reading metadata on + disk. Downgrade to lvm2-2.02.02-r1 until upstream can fix + + 20 Apr 2006; Eric Edgar ChangeLog: + Add warning to rerun genkernel after the emerge of lvm if lvm is in the + initramfs + +*lvm2-2.02.02-r1 (20 Apr 2006) + + 20 Apr 2006; Eric Edgar +lvm2-2.02.02-r1.ebuild: + add lvm2-2.02.02-r1 ebuild back in incase the newer ones are broken + +*lvm2-2.02.04 (20 Apr 2006) + + 20 Apr 2006; Eric Edgar +lvm2-2.02.04.ebuild: + version bump lvm2-2.02.04 + +*lvm2-2.02.03 (19 Apr 2006) + + 19 Apr 2006; Eric Edgar lvm2-2.01.14-r1.ebuild, + -lvm2-2.02.01.ebuild, -lvm2-2.02.02.ebuild, +lvm2-2.02.03.ebuild: + Add lvm2-2.02.03.ebuild to fix cluster issues + + 29 Mar 2006; Markus Rothe lvm2-2.02.02.ebuild: + Added ~ppc64 + + 26 Mar 2006; Sven Wegener lvm2-2.02.02.ebuild: + 2.02.02 needs a newer device-mapper. + +*lvm2-2.02.02 (24 Mar 2006) + + 24 Mar 2006; Aron Griffis +lvm2-2.02.02.ebuild: + Bump to 2.02.02 (from 2.02.01). #120511 + + 22 Mar 2006; Paul de Vrieze lvm2-2.02.01.ebuild: + Make the install fail if the start and stop scripts can't be installed. When + these scripts are not installed, the volumes are not activated at boot, + bumping into maintainer mode. + + 02 Feb 2006; Eric Edgar Manifest: + fix lvm2-2.02.01.ebuild digest + + 01 Feb 2006; Eric Edgar lvm2-2.02.01.ebuild: + fix lvm2-2.02.01.ebuild to not have bad depends + +*lvm2-2.02.01 (01 Feb 2006) + + 01 Feb 2006; Eric Edgar +files/clvmd.rc, + +lvm2-2.02.01.ebuild: + Version bump. lvm2-2.02.01. clvm support + +*lvm2-2.01.14-r1 (31 Jan 2006) + + 31 Jan 2006; Eric Edgar +files/lvm2-2.01.14.patch, + -lvm2-2.01.14.ebuild, +lvm2-2.01.14-r1.ebuild: + remove lvm2-2.01.14.ebuild;Change device-mapper depend; add selinux suport; + gcc patch + +*lvm2-2.01.14 (14 Oct 2005) + + 14 Oct 2005; Eric Edgar +lvm2-2.01.14.ebuild: + Version Bump - added lvm2 2.01.14 + + 16 Sep 2005; Aron Griffis lvm2-2.01.09.ebuild: + Mark 2.01.09 stable on alpha + + 08 Aug 2005; Aaron Walker lvm2-2.01.13.ebuild: + Added ~mips. + +*lvm2-2.01.13 (20 Jul 2005) + + 20 Jul 2005; Eric Edgar +lvm2-2.01.13.ebuild: + Version Bump + + 20 Jul 2005; Eric Edgar -lvm2-2.00.08.ebuild, + -lvm2-2.00.15.ebuild, -lvm2-2.00.15-r1.ebuild, -lvm2-2.00.25.ebuild, + -lvm2-2.00.33.ebuild, -lvm2-2.00.33-r1.ebuild, -lvm2-2.00.33-r2.ebuild, + -lvm2-2.00.33-r4.ebuild: + Cleaning up older ebuilds. + +*lvm2-2.01.09-r1 (20 Jul 2005) + + 20 Jul 2005; Eric Edgar +lvm2-2.01.09-r1.ebuild: + Fix bug 99532 + + 05 Jul 2005; Chris Gianelloni lvm2-2.01.09.ebuild: + Added ia64 to KEYWORDS. Blame plasmaroo. + + 17 Jun 2005; Michael Hanselmann lvm2-2.01.09.ebuild: + Stable on ppc. + + 06 Jun 2005; Markus Rothe lvm2-2.01.09.ebuild: + Stable on ppc64 + + 29 May 2005; Marcus D. Hanwell lvm2-2.01.09.ebuild: + Stable on amd64, bug 92427. + + 23 May 2005; Jason Wever lvm2-2.01.09.ebuild: + Stable on SPARC. + + 14 May 2005; Guy Martin lvm2-2.01.09.ebuild: + Stable on hppa. + + 06 May 2005; Eric Edgar lvm2-2.01.09.ebuild: + Marking stable on x86. appears to fix bug 89681 + + 15 Apr 2005; Eric Edgar : +lvm2-2.01.09.ebuild: + Modified ebuild to depend on newer version of device mapper. bug #89214 + + 09 Apr 2005; Markus Rothe lvm2-2.00.33-r1.ebuild: + Stable on ppc64 + + 07 Apr 2005; Simon Stelling lvm2-2.00.33-r1.ebuild: + stable on amd64 + +*lvm2-2.01.09 (12 Apr 2005) + + 12 Apr 2005; Eric Edgar +lvm2-2.01.09.ebuild: + Adding lvm2-2.01.09.ebuild + +*lvm2-2.00.33-r4 (04 Apr 2005) + + 04 Apr 2005; Eric Edgar -lvm2-2.00.33-r3.ebuild, + +lvm2-2.00.33-r4.ebuild: + Fix a bug in the ebuild so that it compiles lvm2 statically by default + +*lvm2-2.00.33-r3 (22 Mar 2005) + + 22 Mar 2005; Eric Edgar +lvm2-2.00.33-r3.ebuild: + Added new ebuild with local use flag to override the building of lvm2. This + allows the binary to be built dynamically. + +*lvm2-2.00.33-r2 (07 Mar 2005) + + 07 Mar 2005; Eric Edgar +lvm2-2.00.33-r2.ebuild: + Added a new ebuild so that lvm2 is forced to be compiled statically. This + should be the default for files located in /sbin + + 02 Mar 2005; Eric Edgar lvm2-2.00.33-r1.ebuild: + Marking stable on x86 - this has several important feature improvements, + please read the WHATS_NEW file in the documentation tree for a list of changes. + + 22 Feb 2005; Eric Edgar files/lvm2-start.sh, + files/lvm2-stop.sh, lvm2-2.00.33-r1.ebuild: + Install scripts as lvm-{start,stop}.sh + +*lvm2-2.00.33-r1 (22 Feb 2005) + + 22 Feb 2005; Eric Edgar +files/lvm2-start.sh, + +files/lvm2-stop.sh, +lvm2-2.00.33-r1.ebuild: + New ebuild to add baselayout files to /lib/rcscripts/addons to support + starting and stopping lvm2 + +*lvm2-2.00.33 (22 Feb 2005) + + 22 Feb 2005; Eric Edgar +lvm2-2.00.33.ebuild: + Updating lvm2 to version 2.00.33 + + 25 Nov 2004; Guy Martin lvm2-2.00.25.ebuild: + Stable on hppa. + +*lvm2-2.00.25 (14 Nov 2004) + + 14 Nov 2004; +lvm2-2.00.25.ebuild: + Bump to version 2.0.25. Greatly simplify static support. Add optional readline + (lvm shell) support. Fixes bugs #54535 and #64455. + + 14 Nov 2004; lvm2-2.00.15-r1.ebuild, lvm2-2.00.15.ebuild: + Fix SRC_URI to reflect reality. + + 10 Sep 2004; Rob Holland lvm2-2.00.15-r1.ebuild: + fix syntax bug. thanks to swtaylor@gentoo.org + +*lvm2-2.00.15-r1 (10 Sep 2004) + + 10 Sep 2004; Rob Holland +lvm2-2.00.15-r1.ebuild: + Added a static use flag which installs a statically linked lvm rather than a + dynamic one (everything stays in the same place, there is no lvm.static file + installed). part of #44091. Thanks to Sascha Silbe for offering patches, but I + choose to fix it differently. + + 03 Sep 2004; Pieter Van den Abeele + lvm2-2.00.15.ebuild: + Masked lvm2-2.00.15.ebuild stable for ppc + + 17 Aug 2004; lvm2-2.00.15.ebuild: + add ~alpha #60071 + + 29 May 2004; Tom Gall lvm2-2.00.15.ebuild: + stable on ppc64, bug #52330 + + 26 Apr 2004; Aron Griffis lvm2-2.00.08.ebuild, + lvm2-2.00.15.ebuild: + Add die following econf for bug 48950 + +*lvm2-2.00.15 (24 Apr 2004) + + 24 Apr 2004; Max Kalika lvm2-2.00.15.ebuild: + Bump to version 2.0.15. Install a default lvm.conf file. + + 29 May 2004; Tom Gall lvm2-2.00.08.ebuild: + stable on ppc64, bug #52330 + + 09 Mar 2004; Max Kalika lvm2-2.00.06.ebuild, + lvm2-2.00.07.ebuild, lvm2-2.00.08.ebuild: + Update SRC_URI and HOMEPAGE to their new locations. + + 22 Jan 2004; Markus Nigbur lvm2-2.00.08.ebuild: + Marked stable on sparc. + + 17 Jan 2004; Bartosch Pixa lvm2-2.00.08.ebuild: + set ppc in keywords + + 26 Dec 2003; Seemant Kulleen lvm2-2.00.06.ebuild, + lvm2-2.00.07.ebuild, lvm2-2.00.08.ebuild: + dependency to sys-fs/lvm-user instead of sys-apps/lvm-user. Closes bug #36534 + by Adam Gelwarg + + 26 Dec 2003; Ciaran McCreesh lvm2-2.00.08.ebuild: + Added ~sparc keyword + + 13 Dec 2003; Brad House lvm2-2.00.08.ebuild: + mark stable on amd64 + + 08 Dec 2003; lvm2-2.00.08.ebuild: + But to stable x86 and add ~amd64 as per bug 34779. + +*lvm2-2.00.08 (02 Dec 2003) + + 02 Dec 2003; lvm2-2.00.08.ebuild: + Bump to version 2.00.08 ~x86 for now. This version requires the very latest + device-mapper-1.00.07 to build properly. + + 21 Oct 2003; Max Kalika lvm2-2.00.06.ebuild, + lvm2-2.00.07.ebuild: + Bump to stable x86. + +*lvm2-2.00.07 (12 Oct 2003) + + 12 Oct 2003; Max Kalika lvm2-2.00.06.ebuild, + lvm2-2.00.07.ebuild: + Bump to version 2.00.07. + +*lvm2-2.00.06 (15 Sep 2003) + + 15 Sep 2003; Seemant Kulleen lvm2-2.00.06.ebuild, + metadata.xml: + moved to sys-fs + +*lvm2-2.00.06 (03 Sep 2003) + + 03 Sep 2003; Max Kalika lvm2-2.00.05.ebuild, + lvm2-2.00.06.ebuild, metadata.xml: + Bump version to 2.00.06. + +*lvm2-2.00.05 (02 Sep 2003) + + 02 Sep 2003; Max Kalika lvm2-2.00.05.ebuild: + Bump version to 2.00.05. + + 03 Jul 2003; Max Kalika lvm2-1.95.15.ebuild: + Set KEYWORDS to ~x86. + + 12 Jun 2003; Max Kalika lvm2-1.95.15.ebuild: + Drop unneccessary die() calls. + + 29 May 2003; Max Kalika lvm2-1.95.10.ebuild, + lvm2-1.95.15.ebuild, files/lvm2.rc6: + Remove stale version. Patch /etc/init.d/{checkfs,halt.sh} to + activate/deactivate LVM2. Remove the no longer needed lvm2.rc6 file. + +*lvm2-1.95.15 (27 May 2003) + + 27 May 2003; Max Kalika lvm2-1.95.15.ebuild: + Bump version. + + 22 May 2003; root lvm2-1.95.10.ebuild, files/lvm2.rc6: + Install binary and all symlinks to /sbin as well. Fixes booting if /usr + is a separate partition. Change startup script to look for utilities in + /sbin. Fix startup script modules depend. + + 15 May 2003; Max Kalika files/lvm2.rc6: + Start before checkfs. + + 14 May 2003; Max Kalika lvm2-1.95.10.ebuild, + files/lvm2.rc6: + Add startup script. + +*lvm2-1.95.10 (12 May 2003) + + 12 May 2003; Max Kalika lvm2-1.95.10.ebuild: + Initial version. + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.confd-2.02.39 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.confd-2.02.39 new file mode 100644 index 0000000000..57821709f5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.confd-2.02.39 @@ -0,0 +1,9 @@ +# CLVMD_CLUSTER_TIMEOUT -- amount of time to wait for cluster quorum. + +CLVMD_CLUSTER_TIMEOUT=30 + + +# CLVMD_NODES_TIMEOUT -- amount of time to wait for the other nodes to +# join the cluster. + +CLVMD_NODES_TIMEOUT=60 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.rc-2.02.39 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.rc-2.02.39 new file mode 100755 index 0000000000..6bff777132 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/clvmd.rc-2.02.39 @@ -0,0 +1,147 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/clvmd.rc-2.02.39,v 1.1 2009/05/19 00:08:35 robbat2 Exp $ + +[ -x /usr/sbin/clvmd ] && CLVMD_BIN="/usr/sbin/clvmd" || CLVMD_BIN="/sbin/clvmd" + +[ -z "$CLVMD_CLUSTER_TIMEOUT" ] && CLVMD_CLUSTER_TIMEOUT=30 +[ -n "$CLVMD_NODES_TIMEOUT" ] || CLVMD_NODES_TIMEOUT=60 + +VGCHANGE="/sbin/vgchange" +VGSCAN="/sbin/vgscan" +VGDISPLAY="/sbin/vgdisplay" +CLVMD_PIDFILE="/var/run/clvmd.pid" + +depend() { + use dns logger + use net + need cman +} + +load_modules() { + local module modules + modules=$1 + + for module in ${modules}; do + ebegin "Loading ${module} kernel module" + modprobe ${module} + eend $? "Failed to load ${module} kernel module" + done +} + +unload_modules() { + local module modules + modules=$1 + + for module in ${modules}; do + ebegin "Unloading ${module} kernel module" + modprobe -r ${module} + eend $? "Failed to unload ${module} kernel module" + done +} + +umount_gfs_filesystems() { + local sig retry + local remaining="$(awk '$3 == "gfs" { print $2 }' /proc/mounts | sort -r)" + + if [ -n "${remaining}" ] + then + sig= + retry=3 + while [ -n "${remaining}" -a "${retry}" -gt 0 ] + do + if [ "${retry}" -lt 3 ] + then + ebegin "Unmounting GFS filesystems (retry)" + umount ${remaining} &>/dev/null + eend $? "Failed to unmount GFS filesystems this retry" + else + ebegin "Unmounting GFS filesystems" + umount ${remaining} &>/dev/null + eend $? "Failed to unmount GFS filesystems" + fi + remaining="$(awk '$3 == "gfs" { print $2 }' /proc/mounts | sort -r)" + [ -z "${remaining}" ] && break + /bin/fuser -k -m ${sig} ${remaining} &>/dev/null + sleep 5 + retry=$((${retry} -1)) + sig=-9 + done + fi +} + + +start_volumes() { + ebegin "Scanning LVM volumes" + $VGSCAN > /dev/null 2>&1 + eend $? + + ret=$? + if [ "$ret" -eq 5 ] + then + einfo " Waiting for other nodes to join the cluster ($CLVMD_NODES_TIMEOUT seconds)" + fi + + clustervgs=`$VGDISPLAY 2> /dev/null | awk 'BEGIN {RS="VG Name"} {if (/Clustered/) print $1;}'` + for vg in $clustervgs; do + ebegin " Activating Clustered VG: ${vg} " + + wait=0 + while [ -n "$($VGCHANGE -a y ${vg} 2>&1 |grep "clvmd not running")" ]; do + if [ $wait -lt $CLVMD_NODES_TIMEOUT ]; then + sleep 3 + wait=$(($wait + 3)) + else + eend 1 + fi + done + eend 0 + done +} + +stop_volumes() { + # Deactivate only clustered volumes + clustervgs=`$VGDISPLAY 2> /dev/null | awk 'BEGIN {RS="VG Name"} {if (/Clustered/) print $1;}'` + for vg in $clustervgs; do + ebegin " Shutting Down Clustered VG: ${vg} " + $VGCHANGE -anl ${vg} >/dev/null + eend $? + done +} + + +start() { + local module=$(awk '$1 == "dm_mod" { print $1 }' /proc/{modules,devices}) + + if [ -z "${module}" ]; then + load_modules "dm-mod" + sleep 1s + fi + + ebegin "Starting clvmd ($CLVMD_CLUSTER_TIMEOUT seconds)" + + start-stop-daemon --start --quiet --exec ${CLVMD_BIN} -- -T ${CLVMD_CLUSTER_TIMEOUT} + eend $? + + start_volumes +} + +stop() { + + # umount GFS filesystems + umount_gfs_filesystems + + #stop_volumes + + ebegin "Stopping clvmd" + #start-stop-daemon --stop -s TERM --quiet --exec ${CLVMD_BIN} --name clvmd + killall -TERM ${CLVMD_BIN} >/dev/null + eend $? + + #local module=$(awk '$1 == "dm_mod" { print $1 }' /proc/modules) + + #if [[ "$?" -eq 0 && ! -z "${module}" ]]; then + # unload_modules "dm-mod" + #fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.conf-1.02.22-r3 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.conf-1.02.22-r3 new file mode 100644 index 0000000000..bc7a251586 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.conf-1.02.22-r3 @@ -0,0 +1 @@ +RC_AFTER="lvm" diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.rc-2.02.67-r1 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.rc-2.02.67-r1 new file mode 100644 index 0000000000..1cb0f4daad --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/device-mapper.rc-2.02.67-r1 @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/device-mapper.rc-2.02.67-r1,v 1.1 2010/06/09 22:41:45 robbat2 Exp $ + +depend() { + # necessary for services when using baselayout-2 + # but conflict for baselayout-1 + if [ -e /etc/init.d/root ] ; then + before checkfs fsck + after modules + fi + # As of .67-r1, we call ALL lvm start/stop scripts with --sysinit, that + # means dmeventd is NOT notified, as it cannot be safely running + before dmeventd +} + +start() { + if [ ! -e /etc/init.d/root ] ; then + eerror "The ${SVCNAME} init script is written for baselayout-2" + eerror "Please do not use it with baselayout-1" + return 1 + fi + + local f=/lib/rcscripts/addons/dm-start.sh + if [ -r "$f" ]; then + ( . "$f" ) + fi +} + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dm-start.sh b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dm-start.sh new file mode 100644 index 0000000000..84acfa4aee --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dm-start.sh @@ -0,0 +1,86 @@ +# /lib/rcscripts/addons/dm-start.sh: Setup DM volumes at boot +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/dm-start.sh,v 1.1 2009/04/09 23:00:10 caleb Exp $ + +# char **get_new_dm_volumes(void) +# +# Return dmsetup commands to setup volumes +get_new_dm_volumes() { + local volume params + + # Filter comments and blank lines + grep -v -e '^[[:space:]]*\(#\|$\)' /etc/dmtab | \ + while read volume params ; do + # If it exists, skip it + dmvolume_exists "${volume%:}" && continue + # Assemble the command to run to create volume + echo "echo ${params} | /sbin/dmsetup create ${volume%:}" + done + + return 0 +} + +# int dmvolume_exists(volume) +# +# Return true if volume exists in DM table +dmvolume_exists() { + local x line volume=$1 + + [ -z "${volume}" ] && return 1 + + /sbin/dmsetup ls 2>/dev/null | \ + while read line ; do + for x in ${line} ; do + # the following conditonal return only breaks out + # of the while loop, as it is running in a pipe. + [ "${x}" = "${volume}" ] && return 1 + # We only want to check the volume name + break + done + done + + # if 1 was returned from the above loop, then indicate that + # volume exists + [ $? = 1 ] && return 0 + + # otherwise the loop exited normally and the volume does not + # exist + return 1 +} + +# int is_empty_dm_volume(volume) +# +# Return true if the volume exists in DM table, but is empty/non-valid +is_empty_dm_volume() { + local table volume=$1 + + set -- $(/sbin/dmsetup table 2>/dev/null | grep -e "^${volume}:") + [ "${volume}" = "$1" -a -z "$2" ] +} + +local x volume + +if [ -x /sbin/dmsetup -a -c /dev/mapper/control -a -f /etc/dmtab ] ; then + [ -n "$(get_new_dm_volumes)" ] && \ + einfo " Setting up device-mapper volumes:" + + get_new_dm_volumes | \ + while read x ; do + [ -n "${x}" ] || continue + + volume="${x##* }" + + ebegin " Creating volume: ${volume}" + if ! eval "${x}" >/dev/null 2>/dev/null ; then + eend 1 " Error creating volume: ${volume}" + # dmsetup still adds an empty volume in some cases, + # so lets remove it + is_empty_dm_volume "${volume}" && \ + /sbin/dmsetup remove "${volume}" 2>/dev/null + else + eend 0 + fi + done +fi + + +# vim:ts=4 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmeventd.initd-2.02.67-r1 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmeventd.initd-2.02.67-r1 new file mode 100644 index 0000000000..1b8ebe60a7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmeventd.initd-2.02.67-r1 @@ -0,0 +1,23 @@ +#!/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/lvm2/files/dmeventd.initd-2.02.67-r1,v 1.1 2010/06/09 22:41:45 robbat2 Exp $ + +depend() { + # As of .67-r1, we call ALL lvm start/stop scripts with --sysinit, that + # means dmeventd is NOT notified, as it cannot be safely running + after lvm device-mapper +} + +start() { + ebegin "Starting dmeventd" + start-stop-daemon --start --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid + eend $? +} + +stop() { + ebegin "Stopping dmeventd" + start-stop-daemon --stop --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid + eend $? +} + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmtab b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmtab new file mode 100644 index 0000000000..5fc1d793b5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/dmtab @@ -0,0 +1,12 @@ +#/etc/dmraid: config file for adding device-mapper volumes at boot +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/dmtab,v 1.1 2009/04/09 23:00:10 caleb Exp $ + +# Format: : +# Example: isw0: 0 312602976 striped 2 128 /dev/sda 0 /dev/sdb 0 +# +# Alternatively you can create all your volumes the first time, and just run: +# +# dmsetup table >> /etc/dmtab +# +# and verify that they are correct. + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2 new file mode 100644 index 0000000000..0b67f331bf --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2 @@ -0,0 +1,46 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2,v 1.3 2010/08/20 19:18:29 robbat2 Exp $ + +# This script is based on upstream file +# LVM2.2.02.67/scripts/lvm2_monitoring_init_red_hat.in + +depend() { + # As of .67-r1, we call ALL lvm start/stop scripts with --sysinit, that + # means dmeventd is NOT notified, as it cannot be safely running + need lvm dmeventd +} + +VGCHANGE=/sbin/vgchange +VGS=/sbin/vgs + +start() { + ret=0 + # TODO do we want to separate out already active groups only? + VGSLIST=`$VGS --noheadings -o name 2> /dev/null` + for vg in $VGSLIST + do + ebegin "Starting LVM monitoring for VG $vg:" + $VGCHANGE --monitor y --poll y $vg + ret2=$? + eend $ret2 + [ $ret2 -ne 0 ] && ret=$ret2 + done + return $ret +} + +stop() { + ret=0 + # TODO do we want to separate out already active groups only? + VGSLIST=`$VGS --noheadings -o name 2> /dev/null` + for vg in $VGSLIST + do + ebegin "Stopping LVM monitoring for VG $vg:" + $VGCHANGE --monitor n $vg + ret2=$? + eend $ret2 + [ $ret2 -ne 0 ] && ret=$ret2 + done + return $ret +} diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.conf-2.02.67.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.conf-2.02.67.patch new file mode 100644 index 0000000000..547963c7ff --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.conf-2.02.67.patch @@ -0,0 +1,48 @@ +diff -Nuar LVM2.2.02.67.orig//doc/example.conf.in LVM2.2.02.67//doc/example.conf.in +--- LVM2.2.02.67.orig//doc/example.conf.in 2010-05-20 13:47:21.000000000 +0000 ++++ LVM2.2.02.67//doc/example.conf.in 2010-06-07 18:43:34.099693472 +0000 +@@ -50,7 +50,9 @@ + + + # By default we accept every block device: +- filter = [ "a/.*/" ] ++ # Gentoo: we exclude /dev/nbd by default, because it makes a lot of kernel ++ # noise when you probed while not available. ++ filter = [ "r|/dev/nbd.*|", "a/.*/" ] + + # Exclude the cdrom drive + # filter = [ "r|/dev/cdrom|" ] +@@ -259,6 +261,8 @@ + # the new lvm2 on-disk metadata format. + # The default value is set when the tools are built. + # fallback_to_lvm1 = 0 ++ # Gentoo: the LVM tools are a seperate package. ++ fallback_to_lvm1 = 0 + + # The default metadata format that commands should use - "lvm1" or "lvm2". + # The command line override is -M1 or -M2. +@@ -449,12 +453,12 @@ + + # Metadata settings + # +-# metadata { ++metadata { + # Default number of copies of metadata to hold on each PV. 0, 1 or 2. + # You might want to override it from the command line with 0 + # when running pvcreate on new PVs which are to be added to large VGs. +- +- # pvmetadatacopies = 1 ++ # Gentoo: enable for data safety, but PV resize is then disabled. ++ #pvmetadatacopies = 2 + + # Approximate default size of on-disk metadata areas in sectors. + # You should increase this if you have large volume groups or +@@ -476,7 +480,7 @@ + # the supplied toolset to make changes (e.g. vgcfgrestore). + + # dirs = [ "/etc/lvm/metadata", "/mnt/disk2/lvm/metadata2" ] +-#} ++} + + # Event daemon + # diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.confd-2.02.28-r2 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.confd-2.02.28-r2 new file mode 100644 index 0000000000..2fbd8668c3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.confd-2.02.28-r2 @@ -0,0 +1,5 @@ +# LVM should normally only be started after mdraid is available +# this is because LVM physical volumes are very often MD devices. +RC_AFTER="mdraid" + +# vim: ft=gentoo-conf-d diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.rc-2.02.67-r1 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.rc-2.02.67-r1 new file mode 100644 index 0000000000..d4eafc1880 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm.rc-2.02.67-r1 @@ -0,0 +1,39 @@ +#!/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/lvm2/files/lvm.rc-2.02.67-r1,v 1.1 2010/06/09 22:41:45 robbat2 Exp $ + +depend() { + if [ -f /etc/init.d/sysfs ]; then + # on baselayout-1 this causes + # dependency-cycles with checkroot (before *) + before checkfs fsck + after modules device-mapper + fi + # As of .67-r1, we call ALL lvm start/stop scripts with --sysinit, that + # means dmeventd is NOT notified, as it cannot be safely running + before dmeventd +} + +run_addon() { + local f=/lib/rcscripts/addons/$1.sh + if [ -r "$f" ]; then + ( . "$f" ) + fi +} + +start() { + if [ ! -f /etc/init.d/sysfs ]; then + eerror "The $SVCNAME init-script is written for baselayout-2!" + eerror "Please do not use it with baselayout-1!". + return 1 + fi + + run_addon lvm-start +} + +stop() { + run_addon lvm-stop +} + +# vim:ts=4 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.56-lvm2create_initrd.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.56-lvm2create_initrd.patch new file mode 100644 index 0000000000..59aaa9b34a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.56-lvm2create_initrd.patch @@ -0,0 +1,72 @@ +--- LVM2.2.02.56/scripts/lvm2create_initrd/lvm2create_initrd.orig 2006-11-21 22:41:56.000000000 +0000 ++++ LVM2.2.02.56/scripts/lvm2create_initrd/lvm2create_initrd 2009-12-26 01:47:08.025224602 +0000 +@@ -54,7 +54,9 @@ + DEVRAM=/tmp/initrd.$$ + + # set defaults +-BINFILES=${BINFILES:-"`which lvm` `which bash` `which busybox` `which pivot_root`"} ++LVM=`which lvm.static` ++LVM=${LVM:-"`which lvm`"} ++BINFILES=${BINFILES:-"${LVM} `which bash` `which busybox` `which pivot_root`"} + BASICDEVICES=${BASICDEVICES:-"std consoleonly fd"} + BLOCKDEVICES=${BLOCKDEVICES:-"md hda hdb hdc hdd sda sdb sdc sdd"} + MAKEDEV=${MAKEDEV:-"debian"} +@@ -119,6 +121,10 @@ + echo "$PRE Mounting /proc" + mount -t proc none /proc + ++# We need /sys for lvm ++echo "$PRE Mounting /sys" ++mount -t sysfs sysfs /sys ++ + # plug in modules listed in /etc/modules + if [ -f /etc/modules ]; then + echo -n "$PRE plugging in kernel modules:" +@@ -179,26 +185,29 @@ + # run a shell if we're passed lvm2rescue on commandline + grep lvm2rescue /proc/cmdline 1>/dev/null 2>&1 + if [ $? -eq 0 ]; then +- lvm vgchange --ignorelockingfailure -P -a y ++ $LVM vgchange --ignorelockingfailure -P -a y + do_shell + else +- lvm vgchange --ignorelockingfailure -a y ++ $LVM vgchange --ignorelockingfailure -a y + fi + + echo "$PRE Mounting root filesystem $rootvol ro" + mkdir /rootvol + if ! mount -t auto -o ro $rootvol /rootvol; then +- echo "\t*FAILED*"; ++ echo "\t*FAILED TRYING TO MOUNT ROOTVOL*"; + do_shell + fi + + echo "$PRE Umounting /proc" + umount /proc + ++echo "$PRE Umounting /sys" ++umount /sys ++ + echo "$PRE Changing roots" + cd /rootvol + if ! pivot_root . initrd ; then +- echo "\t*FAILED*" ++ echo "\t*FAILED PIVOT TO NEW ROOT*" + do_shell + fi + +@@ -356,7 +365,7 @@ + fi + + verbose "creating basic set of directories in $TMPMNT" +-(cd $TMPMNT; mkdir bin dev etc lib proc sbin var) ++(cd $TMPMNT; mkdir bin dev etc lib proc sbin sys var) + if [ $? -ne 0 ]; then + echo "$cmd -- ERROR creating directories in $TMPMNT" + cleanup 1 +@@ -499,4 +508,3 @@ + FINALTXT + + cleanup 0 +- diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.63-always-make-static-libdm.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.63-always-make-static-libdm.patch new file mode 100644 index 0000000000..5ddcb4e567 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.63-always-make-static-libdm.patch @@ -0,0 +1,42 @@ +diff -Nuar --exclude '*~' LVM2.2.02.63.orig/daemons/dmeventd/Makefile.in LVM2.2.02.63/daemons/dmeventd/Makefile.in +--- LVM2.2.02.63.orig/daemons/dmeventd/Makefile.in 2010-04-09 14:42:48.000000000 -0700 ++++ LVM2.2.02.63/daemons/dmeventd/Makefile.in 2010-04-19 11:53:27.000000000 -0700 +@@ -28,11 +28,12 @@ + INSTALL_LIB_TARGETS = install_lib_dynamic + + LIB_NAME = libdevmapper-event ++LIB_STATIC = $(LIB_NAME).a ++INSTALL_LIB_TARGETS += install_lib_static ++TARGETS += $(LIB_STATIC) + ifeq ("@STATIC_LINK@", "yes") +- LIB_STATIC = $(LIB_NAME).a +- TARGETS += $(LIB_STATIC) dmeventd.static ++ TARGETS += dmeventd.static + INSTALL_DMEVENTD_TARGETS += install_dmeventd_static +- INSTALL_LIB_TARGETS += install_lib_static + endif + + LIB_VERSION = $(LIB_VERSION_DM) +diff -Nuar --exclude '*~' LVM2.2.02.63.orig/libdm/Makefile.in LVM2.2.02.63/libdm/Makefile.in +--- LVM2.2.02.63.orig/libdm/Makefile.in 2010-04-09 14:42:51.000000000 -0700 ++++ LVM2.2.02.63/libdm/Makefile.in 2010-04-19 11:52:20.000000000 -0700 +@@ -34,8 +34,8 @@ + + INCLUDES = -I$(srcdir)/$(interface) -I$(srcdir) + +-ifeq ("@STATIC_LINK@", "yes") + LIB_STATIC = $(interface)/libdevmapper.a ++ifeq ("@STATIC_LINK@", "yes") + endif + + LIB_SHARED = $(interface)/libdevmapper.$(LIB_SUFFIX) +@@ -63,8 +63,8 @@ + + INSTALL_TYPE = install_dynamic + +-ifeq ("@STATIC_LINK@", "yes") + INSTALL_TYPE += install_static ++ifeq ("@STATIC_LINK@", "yes") + endif + + ifeq ("@PKGCONFIG@", "yes") diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.64-dmeventd-libs.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.64-dmeventd-libs.patch new file mode 100644 index 0000000000..3a53639977 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.64-dmeventd-libs.patch @@ -0,0 +1,15 @@ +X-Gentoo-Bug: 318513 +X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=318513 + +diff -ur LVM2.2.02.64/daemons/dmeventd/plugins/lvm2/Makefile.in LVM2.2.02.64.new/daemons/dmeventd/plugins/lvm2/Makefile.in +--- LVM2.2.02.64/daemons/dmeventd/plugins/lvm2/Makefile.in 2010-04-09 23:42:49.000000000 +0200 ++++ LVM2.2.02.64.new/daemons/dmeventd/plugins/lvm2/Makefile.in 2010-05-04 13:18:07.886389742 +0200 +@@ -24,7 +24,7 @@ + + include $(top_builddir)/make.tmpl + +-LIBS += @LVM2CMD_LIB@ -ldevmapper $(PTHREAD_LIBS) ++LIBS += @LVM2CMD_LIB@ -ldevmapper -ldevmapper-event $(PTHREAD_LIBS) + + install_lvm2: install_lib_shared + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.67-createinitrd.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.67-createinitrd.patch new file mode 100644 index 0000000000..7f0bfb894f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.67-createinitrd.patch @@ -0,0 +1,18 @@ +X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=301331 +X-Gentoo-Bug: 301331 + +diff -Nuar LVM2.2.02.67.orig/scripts/lvm2create_initrd/lvm2create_initrd LVM2.2.02.67/scripts/lvm2create_initrd/lvm2create_initrd +--- LVM2.2.02.67.orig/scripts/lvm2create_initrd/lvm2create_initrd 2010-06-07 18:44:34.182980475 +0000 ++++ LVM2.2.02.67/scripts/lvm2create_initrd/lvm2create_initrd 2010-06-07 18:51:27.636312899 +0000 +@@ -469,9 +469,9 @@ + rmdir $TMPMNT/lost+found + + echo "$cmd -- ummounting ram disk" +-umount $DEVRAM ++umount $TMPMNT + if [ $? -ne 0 ]; then +- echo "$cmd -- ERROR umounting $DEVRAM" ++ echo "$cmd -- ERROR umounting $TMPMNT" + cleanup 1 + fi + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.70-asneeded.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.70-asneeded.patch new file mode 100644 index 0000000000..7576e1923c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.70-asneeded.patch @@ -0,0 +1,15 @@ +http://bugs.gentoo.org/330255 + +liblvm2app.so: undefined reference to `floor' + +--- liblvm/Makefile.in ++++ liblvm/Makefile.in +@@ -39,7 +39,7 @@ + + include $(top_builddir)/make.tmpl + +-LIBS += $(LVMINTERNAL_LIBS) -ldevmapper ++LIBS += $(LVMINTERNAL_LIBS) -ldevmapper -lm + + ifeq ("@DMEVENTD@", "yes") + LIBS += -ldevmapper-event diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.72-dynamic-static-ldflags.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.72-dynamic-static-ldflags.patch new file mode 100644 index 0000000000..f1824b1abf --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.72-dynamic-static-ldflags.patch @@ -0,0 +1,67 @@ +X-Gentoo-Bug: 332905 +X-Patch-URL: https://bugs.gentoo.org/attachment.cgi?id=243283&action=view +X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=332905 + +diff -ur LVM2.2.02.72.orig/configure.in LVM2.2.02.72/configure.in +--- LVM2.2.02.72.orig/configure.in 2010-07-28 16:55:42.000000000 +0300 ++++ LVM2.2.02.72/configure.in 2010-08-17 03:00:24.000000000 +0300 +@@ -35,6 +35,7 @@ + CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive" + LDDEPS="$LDDEPS .export.sym" + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" ++ STATIC_LDFLAGS="-Wl,--no-export-dynamic" + LIB_SUFFIX=so + DEVMAPPER=yes + ODIRECT=yes +@@ -1282,6 +1283,7 @@ + AC_SUBST(SELINUX_PC) + AC_SUBST(SNAPSHOTS) + AC_SUBST(STATICDIR) ++AC_SUBST(STATIC_LDFLAGS) + AC_SUBST(STATIC_LINK) + AC_SUBST(TESTING) + AC_SUBST(UDEV_LIBS) +diff -ur LVM2.2.02.72.orig/daemons/dmeventd/Makefile.in LVM2.2.02.72/daemons/dmeventd/Makefile.in +--- LVM2.2.02.72.orig/daemons/dmeventd/Makefile.in 2010-05-14 16:36:56.000000000 +0300 ++++ LVM2.2.02.72/daemons/dmeventd/Makefile.in 2010-08-17 03:00:24.000000000 +0300 +@@ -61,7 +61,7 @@ + $(DL_LIBS) $(LVMLIBS) $(LIBS) -rdynamic + + dmeventd.static: $(LIB_STATIC) dmeventd.o $(interfacebuilddir)/libdevmapper.a +- $(CC) $(CFLAGS) $(LDFLAGS) -static -L. -L$(interfacebuilddir) -o $@ \ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(STATIC_LDFLAGS) -static -L. -L$(interfacebuilddir) -o $@ \ + dmeventd.o $(DL_LIBS) $(LVMLIBS) $(LIBS) $(STATIC_LIBS) + + ifeq ("@PKGCONFIG@", "yes") +diff -ur LVM2.2.02.72.orig/make.tmpl.in LVM2.2.02.72/make.tmpl.in +--- LVM2.2.02.72.orig/make.tmpl.in 2010-07-20 17:38:44.000000000 +0300 ++++ LVM2.2.02.72/make.tmpl.in 2010-08-17 03:00:24.000000000 +0300 +@@ -38,6 +38,7 @@ + CLDFLAGS += @CLDFLAGS@ + LDDEPS += @LDDEPS@ + LDFLAGS += @LDFLAGS@ ++STATIC_LDFLAGS += @STATIC_LDFLAGS@ + LIB_SUFFIX = @LIB_SUFFIX@ + LVMINTERNAL_LIBS = -llvm-internal $(DL_LIBS) + DL_LIBS = @DL_LIBS@ +diff -ur LVM2.2.02.72.orig/tools/Makefile.in LVM2.2.02.72/tools/Makefile.in +--- LVM2.2.02.72.orig/tools/Makefile.in 2010-06-25 21:23:10.000000000 +0300 ++++ LVM2.2.02.72/tools/Makefile.in 2010-08-17 03:01:07.000000000 +0300 +@@ -126,7 +126,7 @@ + -o $@ dmsetup.o -ldevmapper $(LIBS) + + dmsetup.static: dmsetup.o $(interfacebuilddir)/libdevmapper.a +- $(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) \ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(STATIC_LDFLAGS) -static -L$(interfacebuilddir) \ + -o $@ dmsetup.o -ldevmapper $(STATIC_LIBS) $(LIBS) + + all: device-mapper +@@ -136,7 +136,7 @@ + $(LVMLIBS) $(READLINE_LIBS) $(LIBS) -rdynamic + + lvm.static: $(OBJECTS) lvm-static.o $(top_builddir)/lib/liblvm-internal.a $(interfacebuilddir)/libdevmapper.a +- $(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) -o $@ \ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(STATIC_LDFLAGS) -static -L$(interfacebuilddir) -o $@ \ + $(OBJECTS) lvm-static.o $(LVMLIBS) $(STATIC_LIBS) $(LIBS) + + liblvm2cmd.a: $(top_builddir)/lib/liblvm-internal.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-asneeded.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-asneeded.patch new file mode 100644 index 0000000000..ec0f7f6c6a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-asneeded.patch @@ -0,0 +1,15 @@ +Index: LVM2.2.02.73/tools/Makefile.in +=================================================================== +--- LVM2.2.02.73.orig/tools/Makefile.in ++++ LVM2.2.02.73/tools/Makefile.in +@@ -149,8 +149,8 @@ liblvm2cmd-static.a: $(top_builddir)/lib + + liblvm2cmd.$(LIB_SUFFIX): liblvm2cmd.a $(LDDEPS) + $(CC) -shared -Wl,-soname,$@.$(LIB_VERSION) \ +- $(CFLAGS) $(CLDFLAGS) -o $@ $(LVMLIBS) $(LIBS) \ +- @CLDWHOLEARCHIVE@ liblvm2cmd.a @CLDNOWHOLEARCHIVE@ ++ $(CFLAGS) $(CLDFLAGS) -o $@ \ ++ @CLDWHOLEARCHIVE@ liblvm2cmd.a @CLDNOWHOLEARCHIVE@ $(LVMLIBS) $(LIBS) + + liblvm2cmd.$(LIB_SUFFIX).$(LIB_VERSION): liblvm2cmd.$(LIB_SUFFIX) + $(LN_S) -f $< $@ diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch new file mode 100644 index 0000000000..f34c412f24 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch @@ -0,0 +1,12 @@ +diff -Nuar LVM2.2.02.73.orig//make.tmpl.in LVM2.2.02.73//make.tmpl.in +--- LVM2.2.02.73.orig//make.tmpl.in 2010-08-16 17:49:26.000000000 +0000 ++++ LVM2.2.02.73//make.tmpl.in 2010-08-20 19:20:43.237413988 +0000 +@@ -362,7 +362,7 @@ + ( cat $(srcdir)/.exported_symbols; \ + if test x$(EXPORTED_HEADER) != x; then \ + $(CC) -E -P $(INCLUDES) $(DEFS) $(CFLAGS) $(EXPORTED_HEADER) | \ +- $(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ ++ LC_ALL=C $(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ + fi \ + ) > $@ + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-start.sh-2.02.67-r1 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-start.sh-2.02.67-r1 new file mode 100644 index 0000000000..65137e2b10 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-start.sh-2.02.67-r1 @@ -0,0 +1,42 @@ +# /lib/rcscripts/addons/lvm-start.sh +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm2-start.sh-2.02.67-r1,v 1.1 2010/06/09 22:41:45 robbat2 Exp $ + +config='global { locking_dir = "/dev/.lvm" }' + +dm_in_proc() { + local retval=0 + for x in devices misc ; do + grep -qs 'device-mapper' /proc/${x} + retval=$((${retval} + $?)) + done + return ${retval} +} + +# LVM support for /usr, /home, /opt .... +# This should be done *before* checking local +# volumes, or they never get checked. + +# NOTE: Add needed modules for LVM or RAID, etc +# to /etc/modules.autoload if needed +if [ -z "${CDBOOT}" -a -x /sbin/vgscan ] ; then + if [ -e /proc/modules ] && ! dm_in_proc ; then + modprobe dm-mod 2>/dev/null + fi + + if [ -d /proc/lvm ] || dm_in_proc ; then + ebegin "Setting up the Logical Volume Manager" + #still echo stderr for debugging + # Extra PV find pass because some devices might not have been available until very recently + /sbin/pvscan --config "${config}" >/dev/null + # Now make the nodes + /sbin/vgscan --mknodes --config "${config}" >/dev/null + if [ -x /sbin/vgchange ] && \ + [ -f /etc/lvmtab -o -d /etc/lvm ] + then + /sbin/vgchange --sysinit --config "${config}" -a ly >/dev/null + fi + eend $? "Failed to setup the LVM" + fi +fi + +# vim:ts=4 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-stop.sh-2.02.67-r1 b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-stop.sh-2.02.67-r1 new file mode 100644 index 0000000000..a03823eaa8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/files/lvm2-stop.sh-2.02.67-r1 @@ -0,0 +1,31 @@ +# /lib/rcscripts/addons/lvm-stop.sh +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm2-stop.sh-2.02.67-r1,v 1.1 2010/06/09 22:41:45 robbat2 Exp $ + +config='global { locking_dir = "/dev/.lvm" }' + +# Stop LVM2 +if [ -x /sbin/vgs ] && \ + [ -x /sbin/vgchange ] && \ + [ -x /sbin/lvchange ] && \ + [ -f /etc/lvmtab -o -d /etc/lvm ] && \ + [ -d /proc/lvm -o "`grep device-mapper /proc/misc 2>/dev/null`" ] +then + einfo "Shutting down the Logical Volume Manager" + + VGS=$(/sbin/vgs --config "${config}" -o vg_name --noheadings --nosuffix 2> /dev/null) + + if [ "$VGS" ] + then + ebegin " Shutting Down logical volumes " + /sbin/lvchange --config "${config}" --sysinit -a ln ${VGS} + eend $? + + ebegin " Shutting Down volume groups " + /sbin/vgchange --config "${config}" --sysinit -a ln + eend $? + fi + + einfo "Finished Shutting down the Logical Volume Manager" +fi + +# vim:ts=4 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/lvm2-2.02.73-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/lvm2-2.02.73-r1.ebuild new file mode 100644 index 0000000000..1dd04fe864 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/lvm2-2.02.73-r1.ebuild @@ -0,0 +1,270 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.73-r1.ebuild,v 1.7 2010/11/25 15:32:02 ranger Exp $ + +EAPI=2 +inherit eutils multilib toolchain-funcs autotools linux-info + +DESCRIPTION="User-land utilities for LVM2 (device-mapper) software." +HOMEPAGE="http://sources.redhat.com/lvm2/" +SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz + ftp://sources.redhat.com/pub/lvm2/old/${PN/lvm/LVM}.${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 s390 sh sparc x86" + +IUSE="readline +static clvm cman +lvm1 selinux" + +DEPEND_COMMON="!!sys-fs/device-mapper + clvm? ( =sys-cluster/dlm-2* + cman? ( =sys-cluster/cman-2* ) ) + >=sys-fs/udev-151-r4" + +RDEPEND="${DEPEND_COMMON} + !=sys-apps/util-linux-2.16" + +# Upgrading to this LVM will break older cryptsetup +RDEPEND="${RDEPEND} + ! /$(get_libdir) + #X#mv -f "${D}"/usr/lib/lib*.so* "${D}"/$(get_libdir) + #X#[[ "$(get_libdir)" != "lib" ]] && \ + #X# mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir) + #X## .a -> /usr/$(get_libdir) + #X#[[ "$(get_libdir)" != "lib" ]] && \ + #X# mv -f "${D}"/usr/lib/lib*.a "${D}"/usr/$(get_libdir) + #X## The upstream symlinks are borked. lets rebuild them instead. + #X#find "${D}"/{usr,}/{lib,$(get_libdir)} -type l \ + #X# | xargs rm -f 2>/dev/null + #X#for i in "${D}"/$(get_libdir)/*.so.* ; do + #X# b="${i//*\/}" o="${b/.so.*/.so}" + #X# ln -s "${b}" "${D}/$(get_libdir)/${o}" + #X#done + #X## Now enable building properly + #X#for i in \ + #X# libdevmapper-event{,-lvm2{,mirror,snapshot}} \ + #X# libdevmapper \ + #X# liblvm2{format1,snapshot,cmd,app} \ + #X# ; do + #X# gen_usr_ldscript ${i}.so || die + #X#done + + dodoc README VERSION WHATS_NEW doc/*.{conf,c,txt} + insinto /$(get_libdir)/rcscripts/addons + newins "${FILESDIR}"/lvm2-start.sh-2.02.67-r1 lvm-start.sh || die + newins "${FILESDIR}"/lvm2-stop.sh-2.02.67-r1 lvm-stop.sh || die + newinitd "${FILESDIR}"/lvm.rc-2.02.67-r1 lvm || die + newinitd "${FILESDIR}"/lvm-monitoring.initd-2.02.67-r2 lvm-monitoring || die + newconfd "${FILESDIR}"/lvm.confd-2.02.28-r2 lvm || die + if use clvm; then + newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd || die + newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd || die + fi + + # move shared libs to /lib(64) + dolib.a libdm/ioctl/libdevmapper.a || die "dolib.a libdevmapper.a" + #gen_usr_ldscript libdevmapper.so + + dosbin "${S}"/scripts/lvm2create_initrd/lvm2create_initrd + doman "${S}"/scripts/lvm2create_initrd/lvm2create_initrd.8 + newdoc "${S}"/scripts/lvm2create_initrd/README README.lvm2create_initrd + + insinto /etc + doins "${FILESDIR}"/dmtab + insinto /$(get_libdir)/rcscripts/addons + doins "${FILESDIR}"/dm-start.sh + + # Device mapper stuff + newinitd "${FILESDIR}"/device-mapper.rc-2.02.67-r1 device-mapper || die + newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die + + newinitd "${FILESDIR}"/dmeventd.initd-2.02.67-r1 dmeventd || die + dolib.a daemons/dmeventd/libdevmapper-event.a \ + || die "dolib.a libdevmapper-event.a" + #gen_usr_ldscript libdevmapper-event.so + + #insinto /etc/udev/rules.d/ + #newins "${FILESDIR}"/64-device-mapper.rules-2.02.56-r3 64-device-mapper.rules || die + + # do not rely on /lib -> /libXX link + sed -e "s-/lib/rcscripts/-/$(get_libdir)/rcscripts/-" -i "${D}"/etc/init.d/* + + elog "USE flag nocman is deprecated and replaced" + elog "with the cman USE flag." + elog "" + elog "USE flags clvm and cman are masked" + elog "by default and need to be unmasked to use them" + elog "" + elog "If you are using genkernel and root-on-LVM, rebuild the initramfs." +} + +pkg_postinst() { + elog "lvm 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 lvm boot" + elog "Do NOT add it if you are using baselayout-1 still." +} + +src_test() { + einfo "Testcases disabled because of device-node mucking" + einfo "If you want them, compile the package and see ${S}/tests" +} diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/metadata.xml new file mode 100644 index 0000000000..ce61d9176c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lvm2/metadata.xml @@ -0,0 +1,24 @@ + + + + no-herd + + robbat2@gentoo.org + Robin H. Johnson + + + cardoe@gentoo.org + Doug Goldstein + + + agk@redhat.com + Alasdair Kergon + Upstream Maintainer (please CC on bugs) + + + Allow users to build clustered lvm2 + Cman support for clustered lvm + Allow users to build lvm2 with lvm1 support + Allow users to build lvm2 dynamically + +