1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.kernel.org/pub/linux/utils/raid/mdadm/
13 summary = The mdadm program controls Linux md devices (software RAID arrays).
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.
23 source_dl = https://www.kernel.org/pub/linux/utils/raid/mdadm/
24 sources = %{thisapp}.tar.xz
31 CFLAGS += -fno-strict-aliasing
34 sed -e "s/^INSTALL = .*/INSTALL = install/" -i Makefile
38 make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
39 CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
43 mkdir -pv %{BUILDROOT}/var/run/mdadm
44 chmod 700 %{BUILDROOT}/var/run/mdadm
55 package %{name}-debuginfo