New package: mdadm-3.3.1
This commit is contained in:
parent
f005c6784d
commit
ce2b607ad7
2 changed files with 29 additions and 0 deletions
11
srcpkgs/mdadm/patches/00-comma.patch
Normal file
11
srcpkgs/mdadm/patches/00-comma.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- super-intel.c- 2014-07-06 16:31:53.865139451 +0200
|
||||||
|
+++ super-intel.c 2014-07-06 16:31:45.646139350 +0200
|
||||||
|
@@ -5075,7 +5075,7 @@
|
||||||
|
spare->num_disks = 1,
|
||||||
|
spare->num_raid_devs = 0,
|
||||||
|
spare->cache_size = mpb->cache_size,
|
||||||
|
- spare->pwr_cycle_count = __cpu_to_le32(1),
|
||||||
|
+ spare->pwr_cycle_count = __cpu_to_le32(1);
|
||||||
|
|
||||||
|
snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
|
||||||
|
MPB_SIGNATURE MPB_VERSION_RAID0);
|
18
srcpkgs/mdadm/template
Normal file
18
srcpkgs/mdadm/template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'mdadm'
|
||||||
|
pkgname=mdadm
|
||||||
|
version=3.3.1
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="eudev-libudev-devel"
|
||||||
|
short_desc="A tool for managing/monitoring Linux md device arrays"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://neil.brown.name/blog/mdadm"
|
||||||
|
distfiles="ftp://ftp.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
|
checksum=d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make CC=${CC} BINDIR=/usr/sbin STRIP=-s
|
||||||
|
vsconf mdadm.conf-example mdadm.conf
|
||||||
|
}
|
Loading…
Reference in a new issue