]> git.ipfire.org Git - ipfire-3.x.git/blob - mdadm/mdadm.nm
kernel: udpate to 5.2
[ipfire-3.x.git] / mdadm / mdadm.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = mdadm
7 version = 3.4
8 release = 1
9
10 groups = System/Base
11 url = http://www.kernel.org/pub/linux/utils/raid/mdadm/
12 license = GPLv2+
13 summary = The mdadm program controls Linux md devices (software RAID arrays).
14
15 description
16 The mdadm program is used to create, manage, and monitor Linux MD (software
17 RAID) devices. As such, it provides similar functionality to the raidtools
18 package. However, mdadm is a single program, and it can perform
19 almost all functions without a configuration file, though a configuration
20 file can be used to help with some common tasks.
21 end
22
23 source_dl = https://www.kernel.org/pub/linux/utils/raid/mdadm/
24 sources = %{thisapp}.tar.xz
25
26 build
27 requires
28 groff
29 end
30
31 CFLAGS += -fno-strict-aliasing
32
33 prepare_cmds
34 sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
35 end
36
37 build
38 make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
39 CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
40 end
41
42 install_cmds
43 mkdir -pv %{BUILDROOT}/var/run/mdadm
44 chmod 700 %{BUILDROOT}/var/run/mdadm
45 end
46 end
47
48 packages
49 package %{name}
50
51 package %{name}-devel
52 template DEVEL
53 end
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
58 end