diff options
author | root <root@rshg054.dnsready.net> | 2012-04-15 00:01:28 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-15 00:01:28 +0000 |
commit | f06b9295f0e60a0faa0d3231a0d0b3f2358d8459 (patch) | |
tree | 4bef4a67030f8ef621aaeeb16cc8d7f313c9eb67 /testing/rpcbind | |
parent | caa3e47071c8516ac31afaa0b654f5aaa4911939 (diff) |
Sun Apr 15 00:01:28 UTC 2012
Diffstat (limited to 'testing/rpcbind')
-rw-r--r-- | testing/rpcbind/PKGBUILD | 17 | ||||
-rw-r--r-- | testing/rpcbind/rpcbind.service | 11 |
2 files changed, 19 insertions, 9 deletions
diff --git a/testing/rpcbind/PKGBUILD b/testing/rpcbind/PKGBUILD index c96b0518e..0ca61f79f 100644 --- a/testing/rpcbind/PKGBUILD +++ b/testing/rpcbind/PKGBUILD @@ -1,31 +1,28 @@ -# $Id: PKGBUILD 156056 2012-04-12 15:32:54Z tpowa $ +# $Id: PKGBUILD 156096 2012-04-13 12:06:10Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=rpcbind pkgver=0.2.0 -pkgrel=7 +pkgrel=8 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 - ftp://ftp.archlinux.org/other/rpcbind/rpcbind-0.2.0.tar.gz - 0001-rpcbind-add-support-for-systemd-socket-activation.patch +source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2 rpcbind-sunrpc.patch + rpcbind.service rpcbind) -md5sums=('1cb086aa6503b97b55382c224c7c77d4' - 'df50ef1e5520ab13d53143899eef82f5' +md5sums=('1a77ddb1aaea8099ab19c351eeb26316' 'c02ac36a98baac70b8a26190524b7b73' + 'd2615f4c0d58f154aab6e294997ac9be' '78a963654f57cbb209e228884767836e') build() { cd $srcdir/$pkgname-$pkgver # patch for iana services file patch -Np1 -i ../rpcbind-sunrpc.patch - # add systemd support - patch -Np1 -i ../0001-rpcbind-add-support-for-systemd-socket-activation.patch ./configure --prefix=/usr --enable-warmstarts --with-statedir=/run make } @@ -42,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/testing/rpcbind/rpcbind.service b/testing/rpcbind/rpcbind.service new file mode 100644 index 000000000..418ba1e05 --- /dev/null +++ b/testing/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 |