[arch-commits] Commit in rpcbind/trunk (PKGBUILD)

Tobias Powalowski tpowa at nymeria.archlinux.org
Wed Jun 18 20:59:56 UTC 2014


    Date: Wednesday, June 18, 2014 @ 22:59:56
  Author: tpowa
Revision: 215300

upgpkg: rpcbind 0.2.1-3

fix #40198, change statedir to /var/lib/rpcbind

Modified:
  rpcbind/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-18 19:35:09 UTC (rev 215299)
+++ PKGBUILD	2014-06-18 20:59:56 UTC (rev 215300)
@@ -3,7 +3,7 @@
 
 pkgname=rpcbind
 pkgver=0.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="portmap replacement which supports RPC over various protocols"
 arch=(i686 x86_64)
 depends=('bash' 'glibc' 'libtirpc')
@@ -26,7 +26,7 @@
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --with-rpcuser=rpc --enable-warmstarts --with-statedir=/run
+  ./configure --prefix=/usr --with-rpcuser=rpc --enable-warmstarts --with-statedir=/var/lib/rpcbind
   make
 }
 
@@ -42,6 +42,8 @@
   install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/
   # install systemd service file
   install -D -m644 $srcdir/rpcbind.service $pkgdir/usr/lib/systemd/system/rpcbind.service
+  # add state directory
+  install -d -m 700 -o 32 -g 32 $pkgdir/var/lib/rpcbind
   # install license
   install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING
 }




More information about the arch-commits mailing list