public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mdadm/
Date: Tue, 27 Mar 2018 09:13:23 +0000 (UTC)	[thread overview]
Message-ID: <1522141996.fd6eaf2e26066a9cf3743d818b1e45792387d6a9.polynomial-c@gentoo> (raw)

commit:     fd6eaf2e26066a9cf3743d818b1e45792387d6a9
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 27 09:10:28 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Mar 27 09:13:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6eaf2e

sys-fs/mdadm: Bump to version 4.1_rc1

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-fs/mdadm/Manifest             |  2 +
 sys-fs/mdadm/mdadm-4.1_rc1.ebuild | 87 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/sys-fs/mdadm/Manifest b/sys-fs/mdadm/Manifest
index 37c6fcbeb4e..1f58dd0f95a 100644
--- a/sys-fs/mdadm/Manifest
+++ b/sys-fs/mdadm/Manifest
@@ -1,6 +1,8 @@
 DIST mdadm-3.3.1.tar.xz 407964 BLAKE2B 7494f6431729c3278412080aa3db7676a02d963148e5be7522f3de3e73acb1af9bf9e0be0042e13ee0c7524155e772a252a924eb4965c430d6918dc37aede246 SHA512 46fc1889e97d2d14b72ac26ee07eb4301467dc4a0e838ba89920253484fcd443749f3afccb3d792f7e468b20021d50dbc29dda7033d9b5a8fbaee664200f1981
 DIST mdadm-3.4.tar.xz 422704 BLAKE2B 0e8251fefb2db853a921215a07f1f7e70dfcd6650c20493cb487d4ce32cb609fe8191297046161e62f802c75150e6628b52192bb466d72c4cabfb1bcfae09839 SHA512 5de06f3a2b83333e5346a1e858b15e76f75a13a1d5c5f2032fecc6eb167454b282e12ee111ac2abec778e058ec9554708ac317a476778328546603618e6f70f7
 DIST mdadm-4.0.tar.xz 430780 BLAKE2B f08a67452398c864d73c78e2a7258d89c5c81b83dd136d4cd7e31e46b22d75ff67ecf553dc22f55dca418409daded51a399728dfdbd36039e828cad3233774e6 SHA512 12fb26e6b9c1912698defa406e5e47a7ca8d68d4a9aa7acdc9b463ee2d4a37fc6ecef6beb5395ff619018c3f6bdb6d8c573060d027707540f645ad2265170e8b
+DIST mdadm-4.1-rc1.tar.xz 440336 BLAKE2B af2e4b9e9fd7f75e92d30a29b0a240e4b078e34f3906a583cf10cda1c89717a27d0044d1ba72e9d41b96becda370a423f880c09cd5f2d783715bf2519e401b3c SHA512 07d75ba511a252de95356bc63e480b3c196ad0715d719f75599d1fa2995d649ea86a63f74aee7558316d728ebaae2c87d86806089cba735532e1c39641baf727
 DIST mdadm_3.3-2.debian.tar.gz 127889 BLAKE2B f7cfe5e59e16bf71561f672e3c7f7a480658919665490a0b6c32b47979050880b51e481c4f0869efdeb791c8bd34d3db5d4034b40bbf9b55f5b8bbdf73040618 SHA512 92e4c403542caba4b9afb870ba803e6bc7ade143b27efdc27e03b3407f322722a635457cce9e8c195a3ecd7cbce66fdebdd6046fc4f36836e56e27d5d838c037
 DIST mdadm_3.3.4-1.1.debian.tar.xz 86312 BLAKE2B 367a9ed4b16b73a63b613e8029934ee8fbb056e33ca621e92964408ac9a3b3d107af03b657dbfe572f63150e5438879f6dd29a7e7cca1599b213ba135249e78d SHA512 ea9b34a9952e1ff836cb931c7eef0ae0c44e3f4d46162c7a7eca24936d6f7168e99d67749b3100bc68ebadc8f256e4833d42da48c531cf71e6e8f3100911828f
 DIST mdadm_3.4-4.debian.tar.xz 81200 BLAKE2B 393bac2310139788935ced77b736d60d11f58e86349990034367af5460483e97239eef5a6622405b68a7aa6f65059bc5692518172e422c3596ab879527619952 SHA512 86a9edb8f29931fdfa40037d535ca80f0bf59539fe1ef16f2639e666a5ac1bd90ec617ec1635080ae62a02f7986a6e10c97dce5389555ab7d417885f216c0f93
+DIST mdadm_4.0-2.debian.tar.xz 81844 BLAKE2B f8b33e27dacfa83292cc0632dd2d9a83b9d5a69e5360cdfb7494b489400504f20c7ab213ec455dfefc68d5a7f8a48fb2085710fe420b9791df9f8ebbe05d1a10 SHA512 a118df3edbe492e28dda054672a0adfe2c1ce276655f70509c2f24082aecd5193ade84ca3f0ee93280f646ee6a1636d703607046b7e27388086627bed911037a

diff --git a/sys-fs/mdadm/mdadm-4.1_rc1.ebuild b/sys-fs/mdadm/mdadm-4.1_rc1.ebuild
new file mode 100644
index 00000000000..148f2a65bdb
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-4.1_rc1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic multilib systemd toolchain-funcs udev
+
+DESCRIPTION="Tool for running RAID systems - replacement for the raidtools"
+HOMEPAGE="http://neil.brown.name/blog/mdadm"
+DEB_PF="4.0-2"
+SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P/_/-}.tar.xz
+		mirror://debian/pool/main/m/mdadm/${PN}_${DEB_PF}.debian.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+[[ "${PV}" = *_rc* ]] || \
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static"
+
+DEPEND="virtual/pkgconfig
+	app-arch/xz-utils"
+RDEPEND=">=sys-apps/util-linux-2.16"
+
+# The tests edit values in /proc and run tests on software raid devices.
+# Thus, they shouldn't be run on systems with active software RAID devices.
+RESTRICT="test"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.4-sysmacros.patch #580188
+)
+
+mdadm_emake() {
+	# We should probably make corosync & libdlm into USE flags. #573782
+	emake \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+		CC="$(tc-getCC)" \
+		CWFLAGS="-Wall" \
+		CXFLAGS="${CFLAGS}" \
+		UDEVDIR="$(get_udevdir)" \
+		SYSTEMD_DIR="$(systemd_get_systemunitdir)" \
+		COROSYNC="-DNO_COROSYNC" \
+		DLM="-DNO_DLM" \
+		"$@"
+}
+
+src_compile() {
+	use static && append-ldflags -static
+	mdadm_emake all
+}
+
+src_test() {
+	mdadm_emake test
+
+	sh ./test || die
+}
+
+src_install() {
+	mdadm_emake DESTDIR="${D}" install install-systemd
+	dodoc ChangeLog INSTALL TODO README* ANNOUNCE-*
+
+	insinto /etc
+	newins mdadm.conf-example mdadm.conf
+	newinitd "${FILESDIR}"/mdadm.rc mdadm
+	newconfd "${FILESDIR}"/mdadm.confd mdadm
+	newinitd "${FILESDIR}"/mdraid.rc mdraid
+	newconfd "${FILESDIR}"/mdraid.confd mdraid
+
+	# From the Debian patchset
+	into /usr
+	dodoc "${WORKDIR}"/debian/README.checkarray
+	dosbin "${WORKDIR}"/debian/checkarray
+	insinto /etc/default
+	newins "${FILESDIR}"/etc-default-mdadm mdadm
+
+	exeinto /etc/cron.weekly
+	newexe "${FILESDIR}"/mdadm.weekly mdadm
+}
+
+pkg_postinst() {
+	if ! systemd_is_booted; then
+		if [[ -z ${REPLACING_VERSIONS} ]] ; then
+			# Only inform people the first time they install.
+			elog "If you're not relying on kernel auto-detect of your RAID"
+			elog "devices, you need to add 'mdraid' to your 'boot' runlevel:"
+			elog "	rc-update add mdraid boot"
+		fi
+	fi
+}


             reply	other threads:[~2018-03-27  9:13 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-27  9:13 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-14 18:18 [gentoo-commits] repo/gentoo:master commit in: sys-fs/mdadm/ Sam James
2025-03-11 14:18 Sam James
2025-03-11 14:18 Sam James
2025-03-11 14:18 Sam James
2025-03-11 14:18 Sam James
2025-03-11 14:11 Sam James
2025-03-11 14:11 Sam James
2025-03-11 14:11 Sam James
2025-02-27  8:42 Sam James
2025-02-23  2:00 Sam James
2025-02-16  4:15 Sam James
2025-02-15 19:39 Jakov Smolić
2025-02-13 12:00 Sam James
2025-02-13 11:49 Sam James
2025-02-13 11:34 Sam James
2025-02-13 11:34 Sam James
2025-02-13 11:34 Sam James
2025-02-13 11:34 Sam James
2024-09-12 14:36 Arthur Zamarin
2024-09-12 14:36 Arthur Zamarin
2024-08-25 12:04 Andreas K. Hüttel
2024-04-17  5:37 Arthur Zamarin
2024-03-24 12:12 Sam James
2024-03-24 11:37 Sam James
2024-03-24 11:35 Sam James
2024-03-24 11:29 Sam James
2024-03-24 11:29 Sam James
2024-03-24 11:29 Sam James
2024-03-24 11:29 Sam James
2024-03-03 16:50 Andreas K. Hüttel
2024-02-19 22:32 Robin H. Johnson
2024-02-19 21:00 Robin H. Johnson
2023-09-11 15:35 Mike Gilbert
2023-04-03 18:38 Arthur Zamarin
2023-04-03 18:38 Arthur Zamarin
2023-03-04  8:18 Arthur Zamarin
2023-03-04  7:17 Arthur Zamarin
2023-03-04  6:17 Arthur Zamarin
2023-03-04  5:59 Arthur Zamarin
2023-03-04  5:55 Arthur Zamarin
2022-05-19  7:28 WANG Xuerui
2022-04-17 17:06 Sam James
2022-01-03  7:48 Sam James
2022-01-01 15:15 Lars Wendler
2021-11-04 17:53 Lars Wendler
2021-09-18  1:43 Yixun Lan
2021-09-10 20:16 Matt Turner
2021-08-04  8:19 Lars Wendler
2021-08-03 11:03 Sam James
2021-04-15 21:36 Lars Wendler
2021-03-05 19:02 Lars Wendler
2020-12-14 18:29 Mike Gilbert
2020-08-19 20:22 Sam James
2020-05-04 17:36 Thomas Deutschmann
2019-11-25 16:00 Thomas Deutschmann
2019-10-05 18:56 Michał Górny
2018-11-30  8:04 Lars Wendler
2018-11-28 16:05 Tobias Klausmann
2018-11-18 10:38 Sergei Trofimovich
2018-11-13 21:12 Robin H. Johnson
2018-11-11 11:15 Mikle Kolyada
2018-11-08 23:35 Sergei Trofimovich
2018-11-07 23:44 Thomas Deutschmann
2018-11-07 22:41 Sergei Trofimovich
2018-11-07  0:17 Sergei Trofimovich
2018-11-07  0:15 Sergei Trofimovich
2018-11-06 21:35 Mikle Kolyada
2018-10-26 23:58 Lars Wendler
2018-08-15 15:05 Lars Wendler
2017-12-01 22:19 David Seifert
2017-02-17  6:04 Markus Meier
2017-01-10 19:05 Lars Wendler
2017-01-10  6:55 Jeroen Roovers
2017-01-06 14:33 Tobias Klausmann
2016-12-29 10:05 Agostino Sarubbo
2016-02-08 23:44 Mike Frysinger
2016-01-28 10:22 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522141996.fd6eaf2e26066a9cf3743d818b1e45792387d6a9.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox