From bf2a45d9a0871dbb29b98617252b51779f7ac86a Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Fri, 15 Apr 2016 11:51:25 -0700 Subject: [PATCH] Add multipath-tools --- .../md5-cache/sys-fs/multipath-tools-0.5.0-r1 | 13 + .../sys-fs/multipath-tools/ChangeLog | 89 +++++ .../sys-fs/multipath-tools/ChangeLog-2015 | 348 ++++++++++++++++++ .../sys-fs/multipath-tools/Manifest | 9 + .../multipath-tools-0.5.0-makefile.patch | 200 ++++++++++ ...tipath-tools-0.5.0-systemd-pkgconfig.patch | 24 ++ .../sys-fs/multipath-tools/metadata.xml | 8 + .../multipath-tools-0.5.0-r1.ebuild | 64 ++++ 8 files changed, 755 insertions(+) create mode 100644 sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/sys-fs/multipath-tools-0.5.0-r1 create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog-2015 create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/Manifest create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-makefile.patch create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-systemd-pkgconfig.patch create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/metadata.xml create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/sys-fs/multipath-tools-0.5.0-r1 b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/sys-fs/multipath-tools-0.5.0-r1 new file mode 100644 index 0000000000..2677f36c73 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/sys-fs/multipath-tools-0.5.0-r1 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst prepare +DEPEND=>=sys-fs/lvm2-2.02.45 >=virtual/udev-171 dev-libs/libaio sys-libs/readline systemd? ( sys-apps/systemd ) virtual/pkgconfig virtual/pkgconfig virtual/pkgconfig +DESCRIPTION=Device mapper target autoconfig +EAPI=4 +HOMEPAGE=http://christophe.varoqui.free.fr/ +IUSE=systemd +KEYWORDS=~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sparc x86 +LICENSE=GPL-2 +RDEPEND=>=sys-fs/lvm2-2.02.45 >=virtual/udev-171 dev-libs/libaio sys-libs/readline systemd? ( sys-apps/systemd ) +SLOT=0 +SRC_URI=http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-0.5.0.tar.bz2 +_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 udev 73058269b3e70e34e084fa3981282338 +_md5_=a334832c59439e1e6848a21ecb1e06a6 diff --git a/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog new file mode 100644 index 0000000000..339b05a8c8 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog @@ -0,0 +1,89 @@ +# ChangeLog for sys-fs/multipath-tools +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# (auto-generated from git log) + +*multipath-tools-0.5.0-r1 (09 Aug 2015) + + 09 Aug 2015; Robin H. Johnson + +files/multipath-tools-0.5.0-makefile.patch, + +files/multipath-tools-0.5.0-systemd-pkgconfig.patch, +files/multipath.rc, + +files/rc-multipathd, +metadata.xml, +multipath-tools-0.5.0-r1.ebuild: + proj/gentoo: Initial commit + + This commit represents a new era for Gentoo: + Storing the gentoo-x86 tree in Git, as converted from CVS. + + This commit is the start of the NEW history. + Any historical data is intended to be grafted onto this point. + + Creation process: + 1. Take final CVS checkout snapshot + 2. Remove ALL ChangeLog* files + 3. Transform all Manifests to thin + 4. Remove empty Manifests + 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ + 5.1. Do not touch files with -kb/-ko keyword flags. + + Signed-off-by: Robin H. Johnson + X-Thanks: Alec Warner - did the GSoC 2006 migration + tests + X-Thanks: Robin H. Johnson - infra guy, herding this + project + X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo + developer, wrote Git features for the migration + X-Thanks: Brian Harring - wrote much python to improve + cvs2svn + X-Thanks: Rich Freeman - validation scripts + X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 + work in migration + X-Thanks: Michał Górny - scripts, QA, nagging + X-Thanks: All of other Gentoo developers - many ideas and lots of paint on + the bikeshed + + 09 Aug 2015; Ulrich Müller files/multipath.rc: + [QA] Remove executable bit from files, bug 550434. + + 24 Aug 2015; Justin Lecher metadata.xml: + Use https by default + + Convert all URLs for sites supporting encrypted connections from http to + https + + Signed-off-by: Justin Lecher + + 24 Aug 2015; Mike Gilbert metadata.xml: + Revert DOCTYPE SYSTEM https changes in metadata.xml + + repoman does not yet accept the https version. + This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. + + Bug: https://bugs.gentoo.org/552720 + + 24 Nov 2015; Mike Frysinger metadata.xml: + standardize various metadata.xml style + + 24 Jan 2016; Michał Górny metadata.xml: + Unify quoting in metadata.xml files for machine processing + + Force unified quoting in all metadata.xml files since lxml does not + preserve original use of single and double quotes. Ensuring unified + quoting before the process allows distinguishing the GLEP 67-related + metadata.xml changes from unrelated quoting changes. + + 24 Jan 2016; Michał Górny metadata.xml: + Replace all herds with appropriate projects (GLEP 67) + + Replace all uses of herd with appropriate project maintainers, or no + maintainers in case of herds requested to be disbanded. + + 24 Jan 2016; Michał Górny metadata.xml: + Set appropriate maintainer types in metadata.xml (GLEP 67) + + 28 Feb 2016; Matthew Thode + multipath-tools-0.5.0-r1.ebuild: + keywording arm64 + + merged on X-C1 + + Package-Manager: portage-2.2.26 + diff --git a/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog-2015 b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog-2015 new file mode 100644 index 0000000000..cf878fc646 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/ChangeLog-2015 @@ -0,0 +1,348 @@ +# ChangeLog for sys-fs/multipath-tools +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.69 2014/12/15 03:08:13 radhermit Exp $ + + 15 Dec 2014; Tim Harder + -multipath-tools-0.4.9-r5.ebuild, + -files/multipath-tools-0.4.8-kparted-ext-partitions.patch, + -files/multipath-tools-0.4.9-buffer-overflows.patch, + -files/multipath-tools-0.4.9-build.patch, + -files/multipath-tools-0.4.9-log_enquery_overflow.patch: + Remove old. + + 30 Jul 2014; Samuli Suominen + multipath-tools-0.4.9-r5.ebuild, multipath-tools-0.5.0-r1.ebuild: + Use shorter get_udevdir() instead of the longer deprecated udev_get_udevdir() + version. + + 29 May 2014; Mike Gilbert + multipath-tools-0.5.0-r1.ebuild: + Override hardcoded /usr/lib/systemd/system in Makefile. + + 14 Mar 2014; Agostino Sarubbo + multipath-tools-0.5.0-r1.ebuild: + Stable for ppc64, wrt bug #499320 + + 09 Mar 2014; Jason A. Donenfeld + +files/multipath-tools-0.5.0-systemd-pkgconfig.patch, + multipath-tools-0.5.0-r1.ebuild: + Use pkg-config to find correct systemd libraries. Fixes #502446. + + 02 Mar 2014; Pacho Ramos multipath-tools-0.5.0-r1.ebuild: + amd64 stable, bug #499320 + + 27 Feb 2014; Mike Gilbert + multipath-tools-0.5.0-r1.ebuild: + Call epatch_user. + + 24 Feb 2014; Pawel Hajdan jr + multipath-tools-0.5.0-r1.ebuild: + x86 stable wrt bug #499320 + + 02 Feb 2014; Agostino Sarubbo + multipath-tools-0.5.0-r1.ebuild: + Stable for ppc, wrt bug #499320 + +*multipath-tools-0.5.0-r1 (25 Dec 2013) + + 25 Dec 2013; Tim Harder -multipath-tools-0.5.0.ebuild, + +multipath-tools-0.5.0-r1.ebuild: + Add systemd use flag. + +*multipath-tools-0.5.0 (25 Dec 2013) + + 25 Dec 2013; Tim Harder +multipath-tools-0.5.0.ebuild, + +files/multipath-tools-0.5.0-makefile.patch: + Version bump (bug #495268). + + 03 May 2013; Samuli Suominen + -multipath-tools-0.4.8-r1.ebuild, -files/init.d-multipath-0.4.8-r1, + -files/multipath-tools-0.4.8-build.patch, + -files/multipath-tools-0.4.8-r1-kpartx.patch, + -files/multipath-tools-0.4.8-socket-cve-2009-0115.patch, + -files/multipath-tools-0.4.8-udev-scsi_id-changes.patch, + -files/multipath-start.sh, -files/multipath-stop.sh: + old + + 09 Apr 2013; Samuli Suominen + multipath-tools-0.4.8-r1.ebuild, multipath-tools-0.4.9-r5.ebuild: + Remove sys-fs/device-mapper from || () syntax in favour of sys-fs/lvm2 wrt + #461382 + + 06 Jan 2013; Agostino Sarubbo + multipath-tools-0.4.9-r5.ebuild: + Add ~sparc, wrt bug #449220 + + 01 Jan 2013; Agostino Sarubbo + multipath-tools-0.4.9-r5.ebuild: + Add ~alpha, wrt bug #449220 + + 01 Jan 2013; Agostino Sarubbo + multipath-tools-0.4.9-r5.ebuild: + Add ~ia64, wrt bug #449220 + + 28 Dec 2012; Agostino Sarubbo + multipath-tools-0.4.9-r5.ebuild: + Stable for ppc, wrt bug #448060 + + 26 Dec 2012; Jeff Horelick + multipath-tools-0.4.9-r5.ebuild: + marked x86 per bug 448060 + + 24 Dec 2012; Sergey Popov + multipath-tools-0.4.9-r5.ebuild: + Stable on amd64, wrt bug #448060 + + 23 Dec 2012; Agostino Sarubbo + multipath-tools-0.4.9-r5.ebuild: + Stable for ppc64, wrt bug #448060 + + 11 Dec 2012; Samuli Suominen + multipath-tools-0.4.8-r1.ebuild, multipath-tools-0.4.9-r5.ebuild: + Migrate latest to udev.eclass. Use virtual/udev instead of sys-fs/udev. + + 11 Dec 2012; Samuli Suominen + -multipath-tools-0.4.9-r3.ebuild, -multipath-tools-0.4.9-r4.ebuild: + old + + 25 Aug 2012; Mike Frysinger + multipath-tools-0.4.9-r5.ebuild: + Drop useless -vf args to mv #432632 by Joshua B. Kahlenberg. + +*multipath-tools-0.4.9-r5 (11 Aug 2012) + + 11 Aug 2012; Samuli Suominen + +multipath-tools-0.4.9-r5.ebuild: + Stop using /etc/udev which is reserved for user defined rules. Stop using + /lib/udev and read the value of udevdir from udev.pc pkg-config file instead. + + 26 May 2012; Alexey Shvetsov + multipath-tools-0.4.9-r4.ebuild: + [sys-fs/multipath-tools] Fix src_prepare + +*multipath-tools-0.4.9-r4 (25 May 2012) + + 25 May 2012; Alexey Shvetsov + +files/multipath-tools-0.4.9-log_enquery_overflow.patch, + +multipath-tools-0.4.9-r4.ebuild: + [sys-fs/multipath-tools] Fix bugs #413063 and #399569 + + 22 May 2012; Kacper Kowalik + files/multipath-tools-0.4.9-build.patch: + Fix as-needed error introduced in previous commit. Fixes bug #413171 by Harris + Landgarten + + 21 Apr 2012; Mike Frysinger + multipath-tools-0.4.9-r3.ebuild: + Bypass grepping of files in /usr/include #411337 by Leho Kraav. + + 21 Apr 2012; Mike Frysinger + files/multipath-tools-0.4.9-build.patch: + Respect LDFLAGS when linking shared libs. + + 20 Apr 2012; Samuli Suominen + -files/multipath-tools-0.4.7-build.patch, + -files/multipath-tools-0.4.7-udev-rules.patch, -multipath-tools-0.4.7-r1.ebuild, + -multipath-tools-0.4.7-r2.ebuild, -multipath-tools-0.4.8.ebuild, + -multipath-tools-0.4.9-r1.ebuild, -multipath-tools-0.4.9-r2.ebuild, + -files/init.d-multipath: + old + +*multipath-tools-0.4.9-r3 (30 Nov 2011) + + 30 Nov 2011; Mike Frysinger + +multipath-tools-0.4.9-r3.ebuild, files/multipath-tools-0.4.9-build.patch: + Add missing readline depepend, and drop ncurses linkage since it's only + there for readline. + + 06 Aug 2011; Samuli Suominen + multipath-tools-0.4.8.ebuild, multipath-tools-0.4.8-r1.ebuild, + multipath-tools-0.4.9-r1.ebuild, multipath-tools-0.4.9-r2.ebuild: + Remove sys-fs/sysfsutils depend from >= 0.4.8 wrt #377709 by Anthony Basile + +*multipath-tools-0.4.9-r2 (03 Jun 2011) + + 03 Jun 2011; Mike Frysinger + +multipath-tools-0.4.9-r2.ebuild, +files/multipath.rc: + Rewrite new init.d script that lacks proc checking bugs #368765 by Samuel + BAUER. + +*multipath-tools-0.4.9-r1 (28 Nov 2010) + + 28 Nov 2010; Tim Harder + -multipath-tools-0.4.8-r2.ebuild, -multipath-tools-0.4.9.ebuild, + +multipath-tools-0.4.9-r1.ebuild, + +files/multipath-tools-0.4.9-buffer-overflows.patch, + files/multipath-tools-0.4.9-build.patch: + Revbump and remove old. Specify the library directory before the library name + (fixes bug #346345 by Benjamin Schulz) and fix buffer overflows (bug #329049 + by vapier). + +*multipath-tools-0.4.9 (28 Oct 2010) + + 28 Oct 2010; Tim Harder + +multipath-tools-0.4.9.ebuild, +files/multipath-tools-0.4.9-build.patch: + Version bump (bug #321331 by Krzysiek). Update build patch and remove + patches applied upstream, remove -j1 limitation, and use emake instead of + make. + + 13 Nov 2009; Joseph Jezak + multipath-tools-0.4.8-r1.ebuild: + Marked ppc stable for bug #264564. + +*multipath-tools-0.4.8-r2 (05 Nov 2009) + + 05 Nov 2009; Robin H. Johnson + +multipath-tools-0.4.8-r2.ebuild, + +files/multipath-tools-0.4.8-kparted-ext-partitions.patch: + Bug #268961: kpartx fails on extended partitions, referencing the wrong + parent device and offset. + + 04 Nov 2009; Markus Meier + multipath-tools-0.4.8-r1.ebuild: + amd64 stable, bug #264564 + + 03 Nov 2009; Christian Faulhammer + multipath-tools-0.4.8-r1.ebuild: + stable x86, security bug 264564 + + 31 Oct 2009; Brent Baude + multipath-tools-0.4.8-r1.ebuild: + Marking multipath-tools-0.4.8-r1 ppc64 for bug 264564 + + 30 Oct 2009; Robin H. Johnson + multipath-tools-0.4.8-r1.ebuild, + +files/multipath-tools-0.4.8-socket-cve-2009-0115.patch: + Missed one more patch, bug #264564, fix for CVE-2009-0115. + +*multipath-tools-0.4.8-r1 (30 Oct 2009) + + 30 Oct 2009; Robin H. Johnson + +files/init.d-multipath-0.4.8-r1, +multipath-tools-0.4.8-r1.ebuild, + +files/multipath-tools-0.4.8-r1-kpartx.patch, + +files/multipath-tools-0.4.8-udev-scsi_id-changes.patch: + Upstream is a slacker and has not made a release in 2+ years despite being + active in Git. Fixes bug #235836: udev scsi_id lost the -s option a long + time ago. Bug #245615: remove the 1TiB limit on kpartx. + + 19 Sep 2009; Robin H. Johnson + multipath-tools-0.4.8.ebuild: + Adding ~arm support. Tested on mv78100.arm.dev.gentoo.org thanks to + Marvell. + + 10 Apr 2009; Caleb Tennis + multipath-tools-0.4.7-r1.ebuild, multipath-tools-0.4.7-r2.ebuild, + multipath-tools-0.4.8.ebuild: + Fix device-mapper dep for new lvm2, see bug #265599 + + 17 Mar 2009; files/rc-multipathd: + - baselayout-1 needed to make sure modules are loaded first + + 07 Mar 2009; Joseph Jezak + multipath-tools-0.4.8.ebuild: + Marked ppc stable for bug #245383. + + 16 Feb 2009; Brent Baude multipath-tools-0.4.8.ebuild: + stable ppc64, bug 245383 + + 09 Feb 2009; Markus Meier + multipath-tools-0.4.8.ebuild: + amd64/x86 stable, bug #245383 + + 17 Jul 2008; Markus Rothe + multipath-tools-0.4.8.ebuild: + Added ~ppc64; bug #231803 + + 25 Jun 2008; Robin H. Johnson + multipath-tools-0.4.8.ebuild: + Bug #228781 - add libaio dep, and also works on ~ppc. + +*multipath-tools-0.4.8 (20 Jun 2008) + + 20 Jun 2008; Robin H. Johnson + +files/multipath-tools-0.4.8-build.patch, +files/init.d-multipath, + +files/multipath-start.sh, +files/multipath-stop.sh, + +multipath-tools-0.4.8.ebuild: + Make multipath-tools work for early boot environments for both baselayout1 + and baselayout2. Please read the postinst output if multipath is critical + to your environment! + + 02 Feb 2008; Christian Faulhammer + multipath-tools-0.4.7-r2.ebuild: + stable amd64, bug 208482 + + 02 Feb 2008; Christian Faulhammer + multipath-tools-0.4.7-r2.ebuild: + stable x86, bug 208482 + +*multipath-tools-0.4.7-r2 (22 Aug 2007) + + 22 Aug 2007; Matthias Schwarzott + +files/multipath-tools-0.4.7-udev-rules.patch, + +multipath-tools-0.4.7-r2.ebuild: + Finally fixed udev-rules to have no udev-internal race conditions, bug 171590. + +*multipath-tools-0.4.7-r1 (28 Sep 2006) + + 28 Sep 2006; Mike Frysinger + +files/multipath-tools-0.4.7-build.patch, files/rc-multipathd, + +multipath-tools-0.4.7-r1.ebuild: + Clean up build system and fix path in init.d #149308 by Jiri Tyr. + +*multipath-tools-0.4.7 (22 May 2006) + + 22 May 2006; Martin Schlemmer + +multipath-tools-0.4.7.ebuild: + Bump version to work with latest sysfsutils. + + 27 Apr 2006; Alec Warner + files/digest-multipath-tools-0.4.6.1, Manifest: + Fixing SHA256 digest, pass four + +*multipath-tools-0.4.6.1-r1 (08 Feb 2006) + + 08 Feb 2006; Daniel Drake + +files/multipath-tools-0.4.6.1-udev-rules.patch, + +multipath-tools-0.4.6.1-r1.ebuild: + Fix a bug in the udev rules script which was claiming every available block + device for device-mapper + +*multipath-tools-0.4.6.1 (26 Jan 2006) + + 26 Jan 2006; Seemant Kulleen + -multipath-tools-0.4.2.ebuild, -multipath-tools-0.4.5.ebuild, + +multipath-tools-0.4.6.1.ebuild: + Version bump which has some minor fixes over 0.4.6.1, plus clean out old cruft + +*multipath-tools-0.4.6 (06 Dec 2005) + + 06 Dec 2005; Daniel Drake +multipath-tools-0.4.6.ebuild: + Version bump. If you were seeing udev starting *extremely* slowly, then this + is your fix (remember to etc-update/dispatch-conf). + +*multipath-tools-0.4.5 (02 Sep 2005) + + 02 Sep 2005; Martin Schlemmer + +multipath-tools-0.4.5.ebuild: + New version. + + 02 Mar 2005; Martin Schlemmer + multipath-tools-0.4.2.ebuild: + Fix device-mapper DEPEND after catagory move. + + 28 Feb 2005; Martin Schlemmer + multipath-tools-0.4.2.ebuild: + Update deps as we need >=device-mapper-1.00.19. + + 21 Feb 2005; Martin Schlemmer + multipath-tools-0.4.2.ebuild: + Add LICENSE. + + 21 Feb 2005; Martin Schlemmer files/rc-multipathd: + Change script to stop by pidfile. + +*multipath-tools-0.4.2 (21 Feb 2005) + + 21 Feb 2005; Martin Schlemmer +metadata.xml, + +files/rc-multipathd, +multipath-tools-0.4.2.ebuild: + Initial version. Ebuild and scripts by Seemant. diff --git a/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/Manifest b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/Manifest new file mode 100644 index 0000000000..c4f27cdb56 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/Manifest @@ -0,0 +1,9 @@ +AUX multipath-tools-0.5.0-makefile.patch 6790 SHA256 e6810a05b059f542fdfeea72f0befbafaadd71563f4d78df4bc37380a1376cf0 SHA512 bed96f4cdb40df1e4c126a218c67c2a48a9c9a5df8248848ff69d928f07f1cf6ffd97e02dc0aa086171d4d65f56144c918267874b6b551e689243364908b5cf1 WHIRLPOOL 2621de1450390933029f60155562da28b524b92c553c080e2a42fac8629e12e26c63a7a3ebd3e820f21351d1d84c24a0fe5f262432ac1c14b8cf57310c918b34 +AUX multipath-tools-0.5.0-systemd-pkgconfig.patch 1192 SHA256 84dfec6872fe613680bdc9207663260aa47779eb0640ed3ff264efff9e83aa7b SHA512 60b5717b0e3fd9a3d422b756359ce6bb5018346c104bd45543135257b1c4efb3c586d188e35176bbcfa2c81ed9d4824e3c96cc395e52605934e9cc4935f17fec WHIRLPOOL 710787df816072669d9e50717846da75bc5358328d25003979b98a589a9478114e2681d3da4c8866ad21af0ce09b628301314c02f2879d34f564c695fe92dc88 +AUX multipath.rc 513 SHA256 9bba7eb7152c6da486d3d49581788484aadff5df5e542fc351eff1228dee3762 SHA512 a75923d6c5f739e0b79b194124cd891f6d9a83d2b8b79e55ad56ae0a7ff05dc795d019af7e92318eab432c7dd785c7b031b08a7bb2fc9bdb20ea73c767a4fd8b WHIRLPOOL 2f2ad1f335adc16e3a52f83bed9a826e27b27480219b716a365341a63879a0e4ce919658122c0dd74610597903ef93ec6b504716c76ae9d806f438902b37ff22 +AUX rc-multipathd 408 SHA256 15ef47cfd40b0248169ec8f61c5030b15f8d6584cf7b2b2cf88a2cb9fd5d2fe5 SHA512 2a8e288cece54b0c30a2bbedfe50c7097a7ab774960198e6a88266afd209b0e8ed31ee49ee2e4539d79fdf9cc7b6fdae17e9a10fb4e2882e58eeeb0ee77e8a45 WHIRLPOOL 0b265c3cdb45972c8c81fa3f2e917af01a25e6382a20f8eb1900189776e5d1e5aa2d2816acd94b4efbcd782dd7bb9190e3ee4d9d842bae234cc9e3714cb502f4 +DIST multipath-tools-0.5.0.tar.bz2 184024 SHA256 f13cf1eb84e94e83b2019e68f7965526903c13e94246db43965d181668a0a6f9 SHA512 dfad21c45d0f69e39041d30d203a582c8ee8329bf390c51cde10155b3de379e7ad8fead2ac4beb268a924fd7e7dc8e1cf538ea3c70d41479fd8786fa30ba22a9 WHIRLPOOL bc8a365d66d1c5f584de04304125949926d4a1576cba4a00acca0f1333eb13d83318da36d9d88c5dc92691a331d427ad6b99eb1f2983fbc387303dbfdbae11ff +EBUILD multipath-tools-0.5.0-r1.ebuild 1735 SHA256 dfc25740f33f7bc4c9c08613b2c66699414b168670fe9816cc623e5dacf2d3af SHA512 06d817bc747d0ce7c35729f2bf581261068b22baa8ccbbff717e4e0e4b7362b9b9030faeca6f67e558e9775fa529257528980f8568f29ea61383004eb191d899 WHIRLPOOL bfa70e15b1428836c326ef78abfe105da3fafc1df966cfaee2f6951efcf1ac6380c71354807825baedbd1fb7692e3c6f586da0d69273142d982b2b71fe701313 +MISC ChangeLog 3386 SHA256 0340343319c34e3dddd468086aa4e17aafc58b8702e4465f7d2cadb3e2a7f943 SHA512 9578c21d79e08e99e9965c5dbd2df39a49a0ee62055ffb1db2d8a3033a9004ea58378bcc66ed59568696135bca1bd92fba1459f5853d1a620caa1478cfb7bb8d WHIRLPOOL 84a17e78880b3ba5e471779587f99117a38a4fcf3cbac4d1ab67a3d18ab37901c7208445c155507ee198811706548831df34669191bb064d2dd53c845910386a +MISC ChangeLog-2015 12680 SHA256 cf384f2021fd11a53ad19d5df068a382d8f35f40f35cadba6d4aeff826a3945b SHA512 d8c52c8d4671ecd9ea0b4dca68328adda305711d221fa7ef52df1152a659b212229a6a52d552172e89db61002c261b3e099e173a11b9a508865540e75e4435ef WHIRLPOOL 0f9aa4d94dfe0bbc2a81575617b87a028c65b5087add91111f85640ef168fea90bd04417e6174d077fa6ae36b1e5755885105368f76adbb5833ad85b55dabb2c +MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8 diff --git a/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-makefile.patch b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-makefile.patch new file mode 100644 index 0000000000..691b138731 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-makefile.patch @@ -0,0 +1,200 @@ +--- multipath-tools-0.5.0/kpartx/Makefile ++++ multipath-tools-0.5.0/kpartx/Makefile +@@ -12,7 +12,7 @@ + CFLAGS += -DLIBDM_API_COOKIE + endif + +-LDFLAGS = -ldevmapper ++LIBS = -ldevmapper + OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o sun.o \ + gpt.o mac.o ps3.o crc32.o lopart.o xstrncpy.o devmapper.o + EXEC = kpartx +@@ -20,8 +20,7 @@ + all: $(EXEC) + + $(EXEC): $(OBJS) +- $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) +- $(GZIP) $(EXEC).8 > $(EXEC).8.gz ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $(EXEC) + + install: $(EXEC) $(EXEC).8 + $(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir) +@@ -29,14 +28,15 @@ + $(INSTALL_PROGRAM) -d $(DESTDIR)$(libudevdir) + $(INSTALL_PROGRAM) -m 755 kpartx_id $(DESTDIR)$(libudevdir) + $(INSTALL_PROGRAM) -d $(DESTDIR)/etc/udev/rules.d +- $(INSTALL_PROGRAM) -m 644 kpartx.rules $(DESTDIR)/etc/udev/rules.d/ ++ $(INSTALL_PROGRAM) -m 644 kpartx.rules $(DESTDIR)/etc/udev/rules.d/66-kpartx.rules + $(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir) +- $(INSTALL_PROGRAM) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) ++ $(INSTALL_PROGRAM) -m 644 $(EXEC).8 $(DESTDIR)$(mandir) + + uninstall: + rm -f $(DESTDIR)$(bindir)/$(EXEC) +- rm -f $(DESTDIR)$(mandir)/$(EXEC).8.gz ++ rm -f $(DESTDIR)$(mandir)/$(EXEC).8 + rm -f $(DESTDIR)$(libudevdir)/kpartx_id ++ rm -f $(DESTDIR)/etc/udev/rules.d/66-kpartx.rules + + clean: +- rm -f core *.o $(EXEC) *.gz ++ rm -f core *.o $(EXEC) +--- multipath-tools-0.5.0/libmpathpersist/Makefile ++++ multipath-tools-0.5.0/libmpathpersist/Makefile +@@ -22,8 +22,6 @@ + $(CC) -Wall -fPIC -c $(CFLAGS) *.c + $(CC) -shared $(LIBDEPS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) + ln -s $(LIBS) $(DEVLIB) +- $(GZIP) mpath_persistent_reserve_in.3 > mpath_persistent_reserve_in.3.gz +- $(GZIP) mpath_persistent_reserve_out.3 > mpath_persistent_reserve_out.3.gz + + install: $(LIBS) + $(INSTALL_PROGRAM) -d $(DESTDIR)$(syslibdir) +@@ -31,19 +29,17 @@ + $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)$(syslibdir) + $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)$(man3dir) + $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)/usr/include/ +- $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)/usr/share/doc/mpathpersist/ +- ln -sf $(DESTDIR)$(syslibdir)/$(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB) +- install -m 644 mpath_persistent_reserve_in.3.gz $(DESTDIR)$(man3dir) +- install -m 644 mpath_persistent_reserve_out.3.gz $(DESTDIR)$(man3dir) +- install -m 644 mpath_persist.h $(DESTDIR)/usr/include/ ++ $(INSTALL_PROGRAM) -m 644 mpath_persistent_reserve_in.3 $(DESTDIR)$(man3dir) ++ $(INSTALL_PROGRAM) -m 644 mpath_persistent_reserve_out.3 $(DESTDIR)$(man3dir) ++ $(INSTALL_PROGRAM) -m 644 mpath_persist.h $(DESTDIR)/usr/include/ + + uninstall: + rm -f $(DESTDIR)$(syslibdir)/$(LIBS) +- rm $(DESTDIR)$(mandir)/mpath_persistent_reserve_in.3.gz +- rm $(DESTDIR)$(mandir)/mpath_persistent_reserve_out.3.gz ++ rm $(DESTDIR)$(mandir)/mpath_persistent_reserve_in.3 ++ rm $(DESTDIR)$(mandir)/mpath_persistent_reserve_out.3 + + clean: + rm -f core *.a *.o + rm -f libmpathpersist.so.0 + rm -f libmpathpersist.so +- rm -f mpath_persistent_reserve_in.3.gz mpath_persistent_reserve_out.3.gz ++ rm -f mpath_persistent_reserve_in.3 mpath_persistent_reserve_out.3 +--- multipath-tools-0.5.0/Makefile.inc ++++ multipath-tools-0.5.0/Makefile.inc +@@ -48,8 +48,8 @@ + RPM_OPT_FLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 + endif + +-OPTFLAGS = $(RPM_OPT_FLAGS) -Wunused -Wstrict-prototypes +-CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" ++OPTFLAGS = -Wall -Wunused -Wstrict-prototypes ++CFLAGS += $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" + SHARED_FLAGS = -shared + + %.o: %.c +--- multipath-tools-0.5.0/mpathpersist/Makefile ++++ multipath-tools-0.5.0/mpathpersist/Makefile +@@ -13,18 +13,17 @@ + + $(EXEC): $(OBJS) + $(CC) -g $(OBJS) -o $(EXEC) $(LDFLAGS) $(CFLAGS) +- $(GZIP) $(EXEC).8 > $(EXEC).8.gz + + install: + install -d $(DESTDIR)$(bindir) + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/ + install -d $(DESTDIR)$(mandir) +- install -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) ++ install -m 644 $(EXEC).8 $(DESTDIR)$(mandir) + + clean: + rm -f *.o $(EXEC) +- rm -f mpathpersist.8.gz ++ rm -f mpathpersist.8 + + uninstall: + rm $(DESTDIR)$(bindir)/$(EXEC) +- rm $(DESTDIR)$(mandir)/$(EXEC).8.gz ++ rm $(DESTDIR)$(mandir)/$(EXEC).8 +--- multipath-tools-0.5.0/multipath/Makefile ++++ multipath-tools-0.5.0/multipath/Makefile +@@ -7,29 +7,27 @@ + OBJS = main.o + + CFLAGS += -I$(multipathdir) +-LDFLAGS += -lpthread -ldevmapper -ldl -L$(multipathdir) -lmultipath -ludev ++LIBS += -lpthread -ldevmapper -ldl -L$(multipathdir) -lmultipath -ludev + + EXEC = multipath + + all: $(EXEC) + + $(EXEC): $(OBJS) +- $(CC) $(CFLAGS) $(OBJS) -o $(EXEC) $(LDFLAGS) +- $(GZIP) $(EXEC).8 > $(EXEC).8.gz +- $(GZIP) $(EXEC).conf.5 > $(EXEC).conf.5.gz ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $(EXEC) + + install: + $(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) -m 755 $(EXEC) $(DESTDIR)$(bindir)/ + $(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir) +- $(INSTALL_PROGRAM) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) ++ $(INSTALL_PROGRAM) -m 644 $(EXEC).8 $(DESTDIR)$(mandir) + $(INSTALL_PROGRAM) -d $(DESTDIR)$(man5dir) +- $(INSTALL_PROGRAM) -m 644 $(EXEC).conf.5.gz $(DESTDIR)$(man5dir) ++ $(INSTALL_PROGRAM) -m 644 $(EXEC).conf.5 $(DESTDIR)$(man5dir) + + uninstall: + rm $(DESTDIR)$(bindir)/$(EXEC) +- rm $(DESTDIR)$(mandir)/$(EXEC).8.gz +- rm $(DESTDIR)$(man5dir)/$(EXEC).conf.5.gz ++ rm $(DESTDIR)$(mandir)/$(EXEC).8 ++ rm $(DESTDIR)$(man5dir)/$(EXEC).conf.5 + + clean: +- rm -f core *.o $(EXEC) *.gz ++ rm -f core *.o $(EXEC) +--- multipath-tools-0.5.0/multipathd/Makefile ++++ multipath-tools-0.5.0/multipathd/Makefile +@@ -9,11 +9,11 @@ + ifdef SYSTEMD + CFLAGS += -DUSE_SYSTEMD=$(SYSTEMD) + endif +-LDFLAGS += -lpthread -ldevmapper -lreadline ++LIBS += -lpthread -ldevmapper -lreadline + ifdef SYSTEMD +- LDFLAGS += -lsystemd-daemon ++ LIBS += -lsystemd-daemon + endif +-LDFLAGS += -ludev -ldl \ ++LIBS += -ludev -ldl \ + -L$(multipathdir) -lmultipath -L$(mpathpersistdir) -lmpathpersist + + # +@@ -35,8 +35,7 @@ + all : $(EXEC) + + $(EXEC): $(OBJS) +- $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(EXEC) +- $(GZIP) $(EXEC).8 > $(EXEC).8.gz ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $(EXEC) + + install: + $(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir) +@@ -48,15 +47,15 @@ + $(INSTALL_PROGRAM) -m 644 $(EXEC).socket $(DESTDIR)$(unitdir) + endif + $(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir) +- $(INSTALL_PROGRAM) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) ++ $(INSTALL_PROGRAM) -m 644 $(EXEC).8 $(DESTDIR)$(mandir) + + uninstall: + rm -f $(DESTDIR)$(bindir)/$(EXEC) + rm -f $(DESTDIR)$(rcdir)/$(EXEC) +- rm -f $(DESTDIR)$(mandir)/$(EXEC).8.gz ++ rm -f $(DESTDIR)$(mandir)/$(EXEC).8 + rm -f $(DESTDIR)$(unitdir)/$(EXEC).service + rm -f $(DESTDIR)$(unitdir)/$(EXEC).socket + + clean: +- rm -f core *.o $(EXEC) *.gz ++ rm -f core *.o $(EXEC) + diff --git a/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-systemd-pkgconfig.patch b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-systemd-pkgconfig.patch new file mode 100644 index 0000000000..d75f841361 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/files/multipath-tools-0.5.0-systemd-pkgconfig.patch @@ -0,0 +1,24 @@ +diff -ru multipath-tools-0.5.0/libmultipath/Makefile multipath-tools-0.5.0-modified/libmultipath/Makefile +--- multipath-tools-0.5.0/libmultipath/Makefile 2013-12-17 22:40:41.000000000 +0100 ++++ multipath-tools-0.5.0-modified/libmultipath/Makefile 2014-03-07 04:03:45.963309627 +0100 +@@ -9,7 +9,7 @@ + LIBS = $(DEVLIB).$(SONAME) + LIBDEPS = -lpthread -ldl -ldevmapper -ludev + ifdef SYSTEMD +- LIBDEPS += -lsystemd-daemon ++ LIBDEPS += $(shell pkg-config --libs libsystemd 2>/dev/null || pkg-config --libs libsystemd-daemon 2>/dev/null) + endif + + OBJS = memory.o parser.o vector.o devmapper.o callout.o \ +diff -ru multipath-tools-0.5.0/multipathd/Makefile multipath-tools-0.5.0-modified/multipathd/Makefile +--- multipath-tools-0.5.0/multipathd/Makefile 2014-03-07 04:05:09.340307633 +0100 ++++ multipath-tools-0.5.0-modified/multipathd/Makefile 2014-03-07 04:04:03.555309206 +0100 +@@ -11,7 +11,7 @@ + endif + LIBS += -lpthread -ldevmapper -lreadline + ifdef SYSTEMD +- LIBS += -lsystemd-daemon ++ LIBS += $(shell pkg-config --libs libsystemd 2>/dev/null || pkg-config --libs libsystemd-daemon 2>/dev/null) + endif + LIBS += -ludev -ldl \ + -L$(multipathdir) -lmultipath -L$(mpathpersistdir) -lmpathpersist diff --git a/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/metadata.xml b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/metadata.xml new file mode 100644 index 0000000000..56c1244130 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/metadata.xml @@ -0,0 +1,8 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + diff --git a/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild new file mode 100644 index 0000000000..df3cac4223 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils systemd toolchain-funcs udev + +DESCRIPTION="Device mapper target autoconfig" +HOMEPAGE="http://christophe.varoqui.free.fr/" +SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sparc x86" +IUSE="systemd" + +RDEPEND=">=sys-fs/lvm2-2.02.45 + >=virtual/udev-171 + dev-libs/libaio + sys-libs/readline + systemd? ( sys-apps/systemd )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-systemd-pkgconfig.patch + epatch_user +} + +src_compile() { + # LIBDM_API_FLUSH involves grepping files in /usr/include, + # so force the test to go the way we want #411337. + emake LIBDM_API_FLUSH=1 CC="$(tc-getCC)" SYSTEMD=$(usex systemd 1 "") +} + +src_install() { + local udevdir="$(get_udevdir)" + + dodir /sbin /usr/share/man/man8 + emake \ + DESTDIR="${D}" \ + SYSTEMD=$(usex systemd 1 "") \ + unitdir="$(systemd_get_unitdir)" \ + libudevdir='${prefix}'/"${udevdir}" \ + install + + insinto /etc + newins "${S}"/multipath.conf.annotated multipath.conf + # /etc/udev is reserved for user modified rules! + mv "${D}"/etc/udev/rules.d "${D}/${udevdir}"/ || die + fperms 644 "${udevdir}"/rules.d/66-kpartx.rules + + dodoc multipath.conf.* AUTHOR ChangeLog FAQ + docinto kpartx + dodoc kpartx/ChangeLog kpartx/README +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "If you need multipath on your system, you must" + elog "add 'multipath' into your boot runlevel!" + fi +}