Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mdadm/
Date: Fri, 30 Nov 2018 08:04:35
Message-Id: 1543565021.2bb88dac1aea74d1927e1fd45b6592d575eb837d.polynomial-c@gentoo
1 commit: 2bb88dac1aea74d1927e1fd45b6592d575eb837d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 30 08:03:41 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 30 08:03:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb88dac
7
8 sys-fs/mdadm: Removed old.
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-fs/mdadm/Manifest | 4 --
14 sys-fs/mdadm/mdadm-3.4.ebuild | 88 -------------------------------------------
15 sys-fs/mdadm/mdadm-4.0.ebuild | 88 -------------------------------------------
16 3 files changed, 180 deletions(-)
17
18 diff --git a/sys-fs/mdadm/Manifest b/sys-fs/mdadm/Manifest
19 index 0fc2d7f6333..59301428803 100644
20 --- a/sys-fs/mdadm/Manifest
21 +++ b/sys-fs/mdadm/Manifest
22 @@ -1,6 +1,2 @@
23 -DIST mdadm-3.4.tar.xz 422704 BLAKE2B 0e8251fefb2db853a921215a07f1f7e70dfcd6650c20493cb487d4ce32cb609fe8191297046161e62f802c75150e6628b52192bb466d72c4cabfb1bcfae09839 SHA512 5de06f3a2b83333e5346a1e858b15e76f75a13a1d5c5f2032fecc6eb167454b282e12ee111ac2abec778e058ec9554708ac317a476778328546603618e6f70f7
24 -DIST mdadm-4.0.tar.xz 430780 BLAKE2B f08a67452398c864d73c78e2a7258d89c5c81b83dd136d4cd7e31e46b22d75ff67ecf553dc22f55dca418409daded51a399728dfdbd36039e828cad3233774e6 SHA512 12fb26e6b9c1912698defa406e5e47a7ca8d68d4a9aa7acdc9b463ee2d4a37fc6ecef6beb5395ff619018c3f6bdb6d8c573060d027707540f645ad2265170e8b
25 DIST mdadm-4.1.tar.xz 440756 BLAKE2B df0506d937c2aa309d7c68804f66f7dcd51783288594bf746832311c64b8cf82004af4af5f246c5f9753f1de324ff7d49b5ee752d6a00ec03864f7885389706e SHA512 0859c5d3e786345d93ff2c3b291ca8866ba60f1375479e5b4d343124f6824140a8268d42b8ae603b069edba761aa30aaf20d49e9ec54dfcbad34bad3bea0e433
26 -DIST mdadm_3.3.4-1.1.debian.tar.xz 86312 BLAKE2B 367a9ed4b16b73a63b613e8029934ee8fbb056e33ca621e92964408ac9a3b3d107af03b657dbfe572f63150e5438879f6dd29a7e7cca1599b213ba135249e78d SHA512 ea9b34a9952e1ff836cb931c7eef0ae0c44e3f4d46162c7a7eca24936d6f7168e99d67749b3100bc68ebadc8f256e4833d42da48c531cf71e6e8f3100911828f
27 -DIST mdadm_3.4-4.debian.tar.xz 81200 BLAKE2B 393bac2310139788935ced77b736d60d11f58e86349990034367af5460483e97239eef5a6622405b68a7aa6f65059bc5692518172e422c3596ab879527619952 SHA512 86a9edb8f29931fdfa40037d535ca80f0bf59539fe1ef16f2639e666a5ac1bd90ec617ec1635080ae62a02f7986a6e10c97dce5389555ab7d417885f216c0f93
28 DIST mdadm_4.1~rc1-4.debian.tar.xz 104716 BLAKE2B d3f5def44de4e83ba302c25438b0f4b2cba0ea1d65964482d6ad1fe1c9e7847e04ef5068859fbefba7125b0931a6473746eef18f1152d02ca604a6fe01e39c99 SHA512 25f60d6bb789ecc8db64dd1fdc750f0cf875f52e28fe82b10bf870e39f751b7e819d45e85c13252ce1b4b728e957216fb28ccd41d04dc8d7386cbd8cdd113fac
29
30 diff --git a/sys-fs/mdadm/mdadm-3.4.ebuild b/sys-fs/mdadm/mdadm-3.4.ebuild
31 deleted file mode 100644
32 index 14b87d2989a..00000000000
33 --- a/sys-fs/mdadm/mdadm-3.4.ebuild
34 +++ /dev/null
35 @@ -1,88 +0,0 @@
36 -# Copyright 1999-2018 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=5
40 -inherit eutils flag-o-matic multilib systemd toolchain-funcs udev
41 -
42 -DESCRIPTION="Tool for running RAID systems - replacement for the raidtools"
43 -HOMEPAGE="https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/"
44 -DEB_PR=1.1
45 -SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.xz
46 - mirror://debian/pool/main/m/mdadm/${PN}_3.3.4-${DEB_PR}.debian.tar.xz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
51 -IUSE="static"
52 -
53 -DEPEND="virtual/pkgconfig
54 - app-arch/xz-utils"
55 -RDEPEND=">=sys-apps/util-linux-2.16"
56 -
57 -# The tests edit values in /proc and run tests on software raid devices.
58 -# Thus, they shouldn't be run on systems with active software RAID devices.
59 -RESTRICT="test"
60 -
61 -src_prepare() {
62 - epatch "${FILESDIR}"/${PN}-3.4-sysmacros.patch #580188
63 -}
64 -
65 -mdadm_emake() {
66 - # We should probably make corosync & libdlm into USE flags. #573782
67 - emake \
68 - PKG_CONFIG="$(tc-getPKG_CONFIG)" \
69 - CC="$(tc-getCC)" \
70 - CWFLAGS="-Wall" \
71 - CXFLAGS="${CFLAGS}" \
72 - UDEVDIR="$(get_udevdir)" \
73 - SYSTEMD_DIR="$(systemd_get_unitdir)" \
74 - COROSYNC="-DNO_COROSYNC" \
75 - DLM="-DNO_DLM" \
76 - "$@"
77 -}
78 -
79 -src_compile() {
80 - use static && append-ldflags -static
81 - mdadm_emake all mdassemble
82 -}
83 -
84 -src_test() {
85 - mdadm_emake test
86 -
87 - sh ./test || die
88 -}
89 -
90 -src_install() {
91 - mdadm_emake DESTDIR="${D}" install install-systemd
92 - into /
93 - dosbin mdassemble
94 - dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
95 -
96 - insinto /etc
97 - newins mdadm.conf-example mdadm.conf
98 - newinitd "${FILESDIR}"/mdadm.rc mdadm
99 - newconfd "${FILESDIR}"/mdadm.confd mdadm
100 - newinitd "${FILESDIR}"/mdraid.rc mdraid
101 - newconfd "${FILESDIR}"/mdraid.confd mdraid
102 -
103 - # From the Debian patchset
104 - into /usr
105 - dodoc "${WORKDIR}"/debian/README.checkarray
106 - dosbin "${WORKDIR}"/debian/checkarray
107 - insinto /etc/default
108 - newins "${FILESDIR}"/etc-default-mdadm mdadm
109 -
110 - exeinto /etc/cron.weekly
111 - newexe "${FILESDIR}"/mdadm.weekly mdadm
112 -}
113 -
114 -pkg_postinst() {
115 - if ! systemd_is_booted; then
116 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
117 - # Only inform people the first time they install.
118 - elog "If you're not relying on kernel auto-detect of your RAID"
119 - elog "devices, you need to add 'mdraid' to your 'boot' runlevel:"
120 - elog " rc-update add mdraid boot"
121 - fi
122 - fi
123 -}
124
125 diff --git a/sys-fs/mdadm/mdadm-4.0.ebuild b/sys-fs/mdadm/mdadm-4.0.ebuild
126 deleted file mode 100644
127 index 4532b9e2202..00000000000
128 --- a/sys-fs/mdadm/mdadm-4.0.ebuild
129 +++ /dev/null
130 @@ -1,88 +0,0 @@
131 -# Copyright 1999-2018 Gentoo Authors
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=5
135 -inherit eutils flag-o-matic multilib systemd toolchain-funcs udev
136 -
137 -DESCRIPTION="Tool for running RAID systems - replacement for the raidtools"
138 -HOMEPAGE="https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/"
139 -DEB_PR=4
140 -SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.xz
141 - mirror://debian/pool/main/m/mdadm/${PN}_3.4-${DEB_PR}.debian.tar.xz"
142 -
143 -LICENSE="GPL-2"
144 -SLOT="0"
145 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
146 -IUSE="static"
147 -
148 -DEPEND="virtual/pkgconfig
149 - app-arch/xz-utils"
150 -RDEPEND=">=sys-apps/util-linux-2.16"
151 -
152 -# The tests edit values in /proc and run tests on software raid devices.
153 -# Thus, they shouldn't be run on systems with active software RAID devices.
154 -RESTRICT="test"
155 -
156 -src_prepare() {
157 - epatch "${FILESDIR}"/${PN}-3.4-sysmacros.patch #580188
158 -}
159 -
160 -mdadm_emake() {
161 - # We should probably make corosync & libdlm into USE flags. #573782
162 - emake \
163 - PKG_CONFIG="$(tc-getPKG_CONFIG)" \
164 - CC="$(tc-getCC)" \
165 - CWFLAGS="-Wall" \
166 - CXFLAGS="${CFLAGS}" \
167 - UDEVDIR="$(get_udevdir)" \
168 - SYSTEMD_DIR="$(systemd_get_unitdir)" \
169 - COROSYNC="-DNO_COROSYNC" \
170 - DLM="-DNO_DLM" \
171 - "$@"
172 -}
173 -
174 -src_compile() {
175 - use static && append-ldflags -static
176 - mdadm_emake all mdassemble
177 -}
178 -
179 -src_test() {
180 - mdadm_emake test
181 -
182 - sh ./test || die
183 -}
184 -
185 -src_install() {
186 - mdadm_emake DESTDIR="${D}" install install-systemd
187 - into /
188 - dosbin mdassemble
189 - dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
190 -
191 - insinto /etc
192 - newins mdadm.conf-example mdadm.conf
193 - newinitd "${FILESDIR}"/mdadm.rc mdadm
194 - newconfd "${FILESDIR}"/mdadm.confd mdadm
195 - newinitd "${FILESDIR}"/mdraid.rc mdraid
196 - newconfd "${FILESDIR}"/mdraid.confd mdraid
197 -
198 - # From the Debian patchset
199 - into /usr
200 - dodoc "${WORKDIR}"/debian/README.checkarray
201 - dosbin "${WORKDIR}"/debian/checkarray
202 - insinto /etc/default
203 - newins "${FILESDIR}"/etc-default-mdadm mdadm
204 -
205 - exeinto /etc/cron.weekly
206 - newexe "${FILESDIR}"/mdadm.weekly mdadm
207 -}
208 -
209 -pkg_postinst() {
210 - if ! systemd_is_booted; then
211 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
212 - # Only inform people the first time they install.
213 - elog "If you're not relying on kernel auto-detect of your RAID"
214 - elog "devices, you need to add 'mdraid' to your 'boot' runlevel:"
215 - elog " rc-update add mdraid boot"
216 - fi
217 - fi
218 -}