[arch-commits] Commit in vagrant/trunk (PKGBUILD nfs.patch)
Jonathan Steel
jsteel at archlinux.org
Wed Jul 23 20:30:04 UTC 2014
Date: Wednesday, July 23, 2014 @ 22:30:03
Author: jsteel
Revision: 116186
Fix FS#41006
Added:
vagrant/trunk/nfs.patch
Modified:
vagrant/trunk/PKGBUILD
-----------+
PKGBUILD | 11 +++++++++--
nfs.patch | 20 ++++++++++++++++++++
2 files changed, 29 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-23 16:42:03 UTC (rev 116185)
+++ PKGBUILD 2014-07-23 20:30:03 UTC (rev 116186)
@@ -11,7 +11,7 @@
pkgname=vagrant
pkgver=1.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Build and distribute virtualized development environments"
arch=('i686' 'x86_64')
url="http://vagrantup.com"
@@ -20,11 +20,18 @@
depends=('ruby' 'curl' 'lzo2' 'libidn' 'rtmpdump')
makedepends=('git')
source=(http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz
+ nfs.patch
http://pkgbuild.com/~jsteel/aur/$pkgname/substrate_archlinux_$CARCH.zip)
-md5sums=('55a91a9d9cba7b8b9d126c75b114e510')
+md5sums=('55a91a9d9cba7b8b9d126c75b114e510' 'a670dd93057fbd782176e0275b034bee')
[[ $CARCH == i686 ]] && md5sums[3]='c04042b24de56d18a041bc005e5ecaa4'
[[ $CARCH == x86_64 ]] && md5sums[3]='53d8a137e0b50fee8509a7d1c15fd33b'
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ patch -Np0 -i "$srcdir"/nfs.patch
+}
+
build() {
cd "$srcdir"/$pkgname-$pkgver
Added: nfs.patch
===================================================================
--- nfs.patch (rev 0)
+++ nfs.patch 2014-07-23 20:30:03 UTC (rev 116186)
@@ -0,0 +1,20 @@
+--- plugins/hosts/arch/cap/nfs.rb.orig 2014-07-23 21:02:12.794095252 +0100
++++ plugins/hosts/arch/cap/nfs.rb 2014-07-23 21:06:54.738384725 +0100
+@@ -4,7 +4,7 @@
+ class NFS
+ def self.nfs_check_command(env)
+ if systemd?
+- return "/usr/sbin/systemctl status nfsd"
++ return "/usr/sbin/systemctl status nfs-server"
+ else
+ return "/etc/rc.d/nfs-server status"
+ end
+@@ -12,7 +12,7 @@
+
+ def self.nfs_start_command(env)
+ if systemd?
+- return "/usr/sbin/systemctl start nfsd rpc-idmapd rpc-mountd rpcbind"
++ return "/usr/sbin/systemctl start nfs-server nfs-idmapd nfs-mountd rpcbind"
+ else
+ return "sh -c 'for s in {rpcbind,nfs-common,nfs-server}; do /etc/rc.d/$s start; done'"
+ end
More information about the arch-commits
mailing list