summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-01 02:34:45 -0700
committerroot <root@rshg054.dnsready.net>2013-09-01 02:34:45 -0700
commitbf1faf85b813a0171c73fa31db1c5a5110d32420 (patch)
tree4c221d4b0dc3ca4f00da018be6d8959506b90123 /core
parentf20ef2edd6d039b732c288f67377cb752a8d5351 (diff)
Sun Sep 1 02:29:48 PDT 2013
Diffstat (limited to 'core')
-rw-r--r--core/reiserfsprogs/PKGBUILD6
-rw-r--r--core/rpcbind/PKGBUILD17
-rw-r--r--core/rpcbind/rpcbind.install13
3 files changed, 25 insertions, 11 deletions
diff --git a/core/reiserfsprogs/PKGBUILD b/core/reiserfsprogs/PKGBUILD
index e51af1986..f5ec824b3 100644
--- a/core/reiserfsprogs/PKGBUILD
+++ b/core/reiserfsprogs/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 189852 2013-07-09 13:39:02Z tpowa $
+# $Id: PKGBUILD 193785 2013-08-31 10:51:10Z tpowa $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=reiserfsprogs
-pkgver=3.6.23
+pkgver=3.6.24
pkgrel=1
pkgdesc="Reiserfs utilities"
arch=('i686' 'x86_64')
@@ -12,6 +12,7 @@ license=('GPL')
groups=('base')
depends=('util-linux')
source=("http://ftp.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('66787380fb418ff7d88a23e47cda7af6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -28,4 +29,3 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
-md5sums=('e7224bbda4d366ba9b11cdf98616c8f6')
diff --git a/core/rpcbind/PKGBUILD b/core/rpcbind/PKGBUILD
index 241e09780..d50b2bf4c 100644
--- a/core/rpcbind/PKGBUILD
+++ b/core/rpcbind/PKGBUILD
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD 186778 2013-05-31 07:19:10Z tpowa $
+# $Id: PKGBUILD 193786 2013-08-31 10:51:12Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=rpcbind
-pkgver=0.2.0
-pkgrel=12
+pkgver=0.2.1
+pkgrel=2
pkgdesc="portmap replacement which supports RPC over various protocols"
arch=(i686 x86_64)
depends=('bash' 'glibc' 'libtirpc')
url="http://rpcbind.sourceforge.net"
license=('custom')
replaces=('portmap')
-source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2
+source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.1.tar.bz2
rpcbind-sunrpc.patch
rpcbind.service)
-md5sums=('1a77ddb1aaea8099ab19c351eeb26316'
+install=rpcbind.install
+md5sums=('0a5f9c2142af814c55d957aaab3bcc68'
'c02ac36a98baac70b8a26190524b7b73'
- 'a7b23a32be2eb52d7dec52da36d4eba1')
-
+ 'a7b23a32be2eb52d7dec52da36d4eba1'
+)
prepare() {
cd $srcdir/$pkgname-$pkgver
# patch for iana services file
@@ -25,7 +26,7 @@ prepare() {
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-warmstarts --with-statedir=/run
+ ./configure --prefix=/usr --with-rpcuser=rpc --enable-warmstarts --with-statedir=/run
make
}
diff --git a/core/rpcbind/rpcbind.install b/core/rpcbind/rpcbind.install
new file mode 100644
index 000000000..3b5b7dc7f
--- /dev/null
+++ b/core/rpcbind/rpcbind.install
@@ -0,0 +1,13 @@
+post_install() {
+ getent group rpc &>/dev/null || groupadd -r -g 32 rpc >/dev/null
+ getent passwd rpc &>/dev/null || useradd -r -u 32 -g rpc -d /dev/null -s /bin/false -c "Rpcbind Daemon" rpc >/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ getent passwd rpc &>/dev/null && userdel rpc >/dev/null
+ getent group rpc &>/dev/null && groupdel rpc >/dev/null
+ return 0
+}