This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

zfs_aur.patch

By: a guest on Jul 17th, 2012  |  syntax: Diff  |  size: 2.15 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -ur zfs.orig/PKGBUILD zfs/PKGBUILD
  2. --- zfs.orig/PKGBUILD   2012-07-17 14:40:10.074292965 +0400
  3. +++ zfs/PKGBUILD        2012-07-17 19:36:42.981112650 +0400
  4. @@ -13,7 +13,7 @@
  5.  md5sums=('f41082bd7073198cabf37e6e54359a07'
  6.           '9a5dc8b83c6b523fd2bd0be842278e2c'
  7.           'ca13cbbfa056847aa5a3a1479b43a066'
  8. -         'af4deb337da54312591dbbc9b6a9380e')
  9. +         'cf3db22eab2a1bcb3e983446261fdc99')
  10.  license=('CDDL')
  11.  install=zfs.install
  12.  
  13. @@ -21,13 +21,13 @@
  14.    cd "$srcdir/$pkgname-${pkgver//_/-}"
  15.    patch -p1 -i $srcdir/preempt.patch
  16.    ./autogen.sh
  17. -  ./configure --prefix=/usr --sysconfdir=/etc
  18. +  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
  19.    make
  20.  }
  21.  
  22.  package() {
  23.    cd "$srcdir/$pkgname-${pkgver//_/-}"
  24.    make DESTDIR="$pkgdir" install
  25. -  install -D -m644 zfs.initcpio.hook "$pkgdir"/lib/initcpio/hooks/zfs
  26. -  install -D -m644 zfs.initcpio.install "$pkgdir"/lib/initcpio/install/zfs
  27. +  install -D -m644 $srcdir/zfs.initcpio.hook "$pkgdir"/usr/lib/initcpio/hooks/zfs
  28. +  install -D -m644 $srcdir/zfs.initcpio.install "$pkgdir"/usr/lib/initcpio/install/zfs
  29.  }
  30. diff -ur zfs.orig/zfs.initcpio.install zfs/zfs.initcpio.install
  31. --- zfs.orig/zfs.initcpio.install       2012-07-17 14:40:10.077626284 +0400
  32. +++ zfs/zfs.initcpio.install    2012-07-17 14:41:55.170507596 +0400
  33. @@ -3,18 +3,18 @@
  34.      BINARIES=""
  35.      FILES=""
  36.      SCRIPT="zfs"
  37. -    add_file "/lib/udev/rules.d/60-zpool.rules"
  38. -    add_file "/lib/udev/rules.d/60-zvol.rules"
  39. -    add_file "/lib/udev/rules.d/90-zfs.rules"
  40. +    add_file "/usr/lib/udev/rules.d/60-zpool.rules"
  41. +    add_file "/usr/lib/udev/rules.d/60-zvol.rules"
  42. +    add_file "/usr/lib/udev/rules.d/90-zfs.rules"
  43.      add_file "/etc/zfs/zdev.conf"
  44.      add_file "/etc/zfs/zpool.cache"
  45.      [ -f "/etc/hostid" ] && add_file "/etc/hostid"
  46.      add_binary "/usr/sbin/zfs"
  47.      add_binary "/usr/sbin/zpool"
  48.      add_binary "/usr/bin/zpool_layout"
  49. -    add_binary "/lib/udev/zpool_id"
  50. -    add_binary "/lib/udev/zvol_id"
  51. -    add_binary "/usr/sbin/mount.zfs"
  52. +    add_binary "/usr/lib/udev/zpool_id"
  53. +    add_binary "/usr/lib/udev/zvol_id"
  54. +    add_binary "/sbin/mount.zfs"
  55.      add_binary "/usr/bin/hostid"
  56.  }
clone this paste RAW Paste Data