From ce2b607ad7a8797c26d349afe689791cca76ca48 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 6 Jul 2014 17:06:57 +0200 Subject: [PATCH] New package: mdadm-3.3.1 --- srcpkgs/mdadm/patches/00-comma.patch | 11 +++++++++++ srcpkgs/mdadm/template | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/mdadm/patches/00-comma.patch create mode 100644 srcpkgs/mdadm/template diff --git a/srcpkgs/mdadm/patches/00-comma.patch b/srcpkgs/mdadm/patches/00-comma.patch new file mode 100644 index 0000000000..9899de701e --- /dev/null +++ b/srcpkgs/mdadm/patches/00-comma.patch @@ -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); diff --git a/srcpkgs/mdadm/template b/srcpkgs/mdadm/template new file mode 100644 index 0000000000..824ed0bf42 --- /dev/null +++ b/srcpkgs/mdadm/template @@ -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 " +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 +}