summaryrefslogtreecommitdiff
path: root/core/rpcbind
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-28 22:36:26 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-28 22:36:26 +0200
commit92116b44c20c9b8e3ee49b794084d08d22e87cd3 (patch)
treeebfcd9f003924e328dd0ccdb16197c7e38c61dcf /core/rpcbind
parentc89124d6a88f4cfffaba4492922c86091f2c8516 (diff)
parent00f77ef3b2b7856520daba393370f67b773c2184 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/gnustep-base/PKGBUILD community-testing/gtranslator/PKGBUILD community-testing/parrot/PKGBUILD community/chmsee/PKGBUILD core/lvm2/PKGBUILD extra/php/PKGBUILD extra/samba/PKGBUILD multilib/lib32-openssl/PKGBUILD staging/php/PKGBUILD staging/php/php-fpm.conf.in.patch staging/php/php.ini.patch testing/cairo/PKGBUILD testing/eog-plugins/PKGBUILD testing/eog/PKGBUILD testing/gedit/PKGBUILD testing/gjs/PKGBUILD testing/glib2/PKGBUILD testing/gnome-documents/PKGBUILD testing/gnome-shell/PKGBUILD testing/gobject-introspection/PKGBUILD testing/libpeas/PKGBUILD testing/mutter/PKGBUILD testing/openssl/PKGBUILD testing/pygobject/PKGBUILD testing/python/PKGBUILD testing/rhythmbox/PKGBUILD testing/ruby/PKGBUILD testing/ruby/ruby.install testing/sushi/PKGBUILD testing/totem/PKGBUILD
Diffstat (limited to 'core/rpcbind')
-rw-r--r--core/rpcbind/PKGBUILD8
-rw-r--r--core/rpcbind/rpcbind.service11
2 files changed, 17 insertions, 2 deletions
diff --git a/core/rpcbind/PKGBUILD b/core/rpcbind/PKGBUILD
index c38f302fd..c24a915bd 100644
--- a/core/rpcbind/PKGBUILD
+++ b/core/rpcbind/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 146812 2012-01-18 17:16:35Z tpowa $
+# $Id: PKGBUILD 157234 2012-04-26 13:06:13Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=rpcbind
pkgver=0.2.0
-pkgrel=6
+pkgrel=8
pkgdesc="portmap replacement which supports RPC over various protocols"
arch=(i686 x86_64 'mips64el')
depends=('bash' 'glibc' 'libtirpc')
@@ -12,9 +12,11 @@ license=('custom')
replaces=('portmap')
source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2
rpcbind-sunrpc.patch
+ rpcbind.service
rpcbind)
md5sums=('1a77ddb1aaea8099ab19c351eeb26316'
'c02ac36a98baac70b8a26190524b7b73'
+ 'd2615f4c0d58f154aab6e294997ac9be'
'78a963654f57cbb209e228884767836e')
build() {
@@ -37,6 +39,8 @@ package() {
install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/
# install daemon
install -D -m755 $srcdir/rpcbind $pkgdir/etc/rc.d/rpcbind
+ # install systemd service file
+ install -D -m644 $srcdir/rpcbind.service $pkgdir/usr/lib/systemd/system/rpcbind.service
# install license
install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING
}
diff --git a/core/rpcbind/rpcbind.service b/core/rpcbind/rpcbind.service
new file mode 100644
index 000000000..418ba1e05
--- /dev/null
+++ b/core/rpcbind/rpcbind.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=RPC Bind
+Requires=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/rpcbind
+Restart=always
+
+[Install]
+WantedBy=multi-user.target