Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 30th, 2012  |  syntax: Diff  |  size: 2.46 KB  |  views: 78  |  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 -Nru zfs.orig/configure.ac-patch zfs/configure.ac-patch
  2. --- zfs.orig/configure.ac-patch 1970-01-01 03:00:00.000000000 +0300
  3. +++ zfs/configure.ac-patch      2012-06-30 23:43:57.168640000 +0400
  4. @@ -0,0 +1,21 @@
  5. +--- configure.ac.orig  2012-06-30 23:38:54.438597000 +0400
  6. ++++ configure.ac       2012-06-30 23:40:12.943990000 +0400
  7. +@@ -60,8 +60,18 @@
  8. +       dracut/90zfs/Makefile
  9. +       udev/Makefile
  10. +       udev/rules.d/Makefile
  11. ++      udev/rules.d/60-vdev.rules
  12. ++      udev/rules.d/60-zpool.rules
  13. ++      udev/rules.d/60-zvol.rules
  14. ++      udev/rules.d/90-zfs.rules
  15. +       etc/Makefile
  16. +       etc/init.d/Makefile
  17. ++      etc/init.d/zfs.arch
  18. ++      etc/init.d/zfs.fedora
  19. ++      etc/init.d/zfs.gentoo
  20. ++      etc/init.d/zfs.lsb
  21. ++      etc/init.d/zfs.lunar
  22. ++      etc/init.d/zfs.redhat
  23. +       etc/zfs/Makefile
  24. +       man/Makefile
  25. +       man/man5/Makefile
  26. diff -Nru zfs.orig/PKGBUILD zfs/PKGBUILD
  27. --- zfs.orig/PKGBUILD   2012-06-23 21:36:36.000000000 +0400
  28. +++ zfs/PKGBUILD        2012-07-01 00:16:04.294695000 +0400
  29. @@ -13,21 +13,22 @@
  30.  md5sums=('f41082bd7073198cabf37e6e54359a07'
  31.           '9a5dc8b83c6b523fd2bd0be842278e2c'
  32.           'ca13cbbfa056847aa5a3a1479b43a066'
  33. -         'af4deb337da54312591dbbc9b6a9380e')
  34. +         '7d48773be70b35355402f401cc9d9987')
  35.  license=('CDDL')
  36.  install=zfs.install
  37.  
  38.  build() {
  39.    cd "$srcdir/$pkgname-${pkgver//_/-}"
  40.    patch -p1 -i $srcdir/preempt.patch
  41. +  patch -p0 -i $startdir/configure.ac-patch
  42.    ./autogen.sh
  43. -  ./configure --prefix=/usr --sysconfdir=/etc
  44. +  ./configure --prefix=/usr --sysconfdir=/etc --with-udevdir=/lib/udev
  45.    make
  46.  }
  47.  
  48.  package() {
  49.    cd "$srcdir/$pkgname-${pkgver//_/-}"
  50.    make DESTDIR="$pkgdir" install
  51. -  install -D -m644 zfs.initcpio.hook "$pkgdir"/lib/initcpio/hooks/zfs
  52. -  install -D -m644 zfs.initcpio.install "$pkgdir"/lib/initcpio/install/zfs
  53. +  install -D -m644 $srcdir/zfs.initcpio.hook "$pkgdir"/lib/initcpio/hooks/zfs
  54. +  install -D -m644 $srcdir/zfs.initcpio.install "$pkgdir"/lib/initcpio/install/zfs
  55.  }
  56. diff -Nru zfs.orig/zfs.initcpio.install zfs/zfs.initcpio.install
  57. --- zfs.orig/zfs.initcpio.install       2012-03-28 02:18:18.000000000 +0400
  58. +++ zfs/zfs.initcpio.install    2012-06-30 22:58:19.704065000 +0400
  59. @@ -14,7 +14,7 @@
  60.      add_binary "/usr/bin/zpool_layout"
  61.      add_binary "/lib/udev/zpool_id"
  62.      add_binary "/lib/udev/zvol_id"
  63. -    add_binary "/usr/sbin/mount.zfs"
  64. +    add_binary "/sbin/mount.zfs"
  65.      add_binary "/usr/bin/hostid"
  66.  }
clone this paste RAW Paste Data