summaryrefslogtreecommitdiff
path: root/mdadm
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2009-12-07 11:59:15 +0100
committerJuergen Daubert <jue@jue.li>2009-12-07 11:59:15 +0100
commitadbc54cddd214cca3518d1f3f8089238954c420d (patch)
tree888b6bbfc0dbeb9dfff47f29059ef6b126ca1e24 /mdadm
parentb5ec505f9a02f12d4d35358c8ed90ddb4167683e (diff)
downloadopt-adbc54cddd214cca3518d1f3f8089238954c420d.tar.gz
opt-adbc54cddd214cca3518d1f3f8089238954c420d.tar.xz
mdadm: update to 3.1.1
Diffstat (limited to 'mdadm')
-rw-r--r--mdadm/.md5sum3
-rw-r--r--mdadm/Pkgfile6
-rw-r--r--mdadm/mdadm-3.0-vol_id.patch14
3 files changed, 3 insertions, 20 deletions
diff --git a/mdadm/.md5sum b/mdadm/.md5sum
index 1fd984556..b9fb2c06b 100644
--- a/mdadm/.md5sum
+++ b/mdadm/.md5sum
@@ -1,2 +1 @@
-42b79d4160e996fb64758a17f2a2144b mdadm-3.0-vol_id.patch
-80ef2a544bfe39ac2e47686485f470ef mdadm-3.0.3.tar.gz
+4fd8e375a2ee314becd3196c1a250d98 mdadm-3.1.1.tar.bz2
diff --git a/mdadm/Pkgfile b/mdadm/Pkgfile
index 980320dc9..e236f870b 100644
--- a/mdadm/Pkgfile
+++ b/mdadm/Pkgfile
@@ -3,14 +3,12 @@
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
name=mdadm
-version=3.0.3
+version=3.1.1
release=1
-source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.gz
- mdadm-3.0-vol_id.patch)
+source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
- patch -p1 -i $SRC/mdadm-3.0-vol_id.patch
make CXFLAGS="$CFLAGS" all mdadm.static
make DESTDIR=$PKG MANDIR=/usr/man install
install -m755 mdadm.static $PKG/sbin
diff --git a/mdadm/mdadm-3.0-vol_id.patch b/mdadm/mdadm-3.0-vol_id.patch
deleted file mode 100644
index 106b0c57a..000000000
--- a/mdadm/mdadm-3.0-vol_id.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-# http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=f07996885dab45102492d7f16e7e2997e264c725
-
-diff -Nru mdadm-3.0.orig/udev-md-raid.rules mdadm-3.0/udev-md-raid.rules
---- mdadm-3.0.orig/udev-md-raid.rules 2009-06-04 10:47:00.000000000 +0200
-+++ mdadm-3.0/udev-md-raid.rules 2009-06-04 10:48:50.000000000 +0200
-@@ -30,7 +30,7 @@
- ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]", SYMLINK+="md/$env{MD_DEVNAME}%n"
- ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]", SYMLINK+="md/$env{MD_DEVNAME}p%n"
-
--IMPORT{program}="vol_id --export $tempnode"
-+IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
- OPTIONS+="link_priority=100"
- ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
- ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"

Generated by cgit