aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdadm/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-09 16:27:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-09 16:27:48 +0000
commit081b6d412b61b5c8a916f77bbe7b75130c1215c6 (patch)
tree9a73f96f819548a6111740502adb9ef47cce6592 /main/mdadm/APKBUILD
parent823bbd3fe0cf19e91bbc38e97c4f826ce6bf4a3e (diff)
downloadaports-081b6d412b61b5c8a916f77bbe7b75130c1215c6.tar.bz2
aports-081b6d412b61b5c8a916f77bbe7b75130c1215c6.tar.xz
main/mdadm: upgrade to 3.0.3
Diffstat (limited to 'main/mdadm/APKBUILD')
-rw-r--r--main/mdadm/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/main/mdadm/APKBUILD b/main/mdadm/APKBUILD
index eebed1fb71..0dccc35af7 100644
--- a/main/mdadm/APKBUILD
+++ b/main/mdadm/APKBUILD
@@ -1,24 +1,29 @@
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=mdadm
-pkgver=2.6.9
-pkgrel=1
+pkgver=3.0.3
+pkgrel=0
pkgdesc="a tool for managing Linux Software RAID arrays"
url="http://neil.brown.name/blog/mdadm"
license="GPL-2"
-depends="uclibc"
+depends=
makedepends="groff"
subpackages="$pkgname-doc"
source="http://www.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${pkgver}.tar.gz
${pkgname}.initd
${pkgname}.confd
mdadm-raid.initd
+ mdadm-uclibc.patch
"
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i ../mdadm-uclibc.patch || return 1
+ make
+}
- make || return 1
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
@@ -27,7 +32,8 @@ build() {
install -m644 -D mdadm.conf-example "$pkgdir"/etc/mdadm.conf
}
-md5sums="beaa0f066288441d9b3ad1ef67fa0237 mdadm-2.6.9.tar.gz
+md5sums="80ef2a544bfe39ac2e47686485f470ef mdadm-3.0.3.tar.gz
ce57e798431f7ab89f9b07a7daaa4852 mdadm.initd
16d2b8eb2e17184357db503470fdd8eb mdadm.confd
-cf60ee08fc4fbed0450c5a2d4efc4214 mdadm-raid.initd"
+cf60ee08fc4fbed0450c5a2d4efc4214 mdadm-raid.initd
+aa601f072096fb8bae8b8946f59a561f mdadm-uclibc.patch"