aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 16:09:46 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 16:09:46 -0300
commit07b9652003eee6c334b9e37f189ab59c2a6617a3 (patch)
treedbc9fae59c4035edf0bcbd81d7f05f4b8a04d000
parent5980636df639b003f167d9cb3241fbcf65ea2c56 (diff)
main/rpcbind: modernize
-rw-r--r--main/rpcbind/APKBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/main/rpcbind/APKBUILD b/main/rpcbind/APKBUILD
index 497e421e400..046346ceb8d 100644
--- a/main/rpcbind/APKBUILD
+++ b/main/rpcbind/APKBUILD
@@ -7,7 +7,6 @@ url="http://rpcbind.sourceforge.net"
arch="all"
options="!check" # No test suite.
license="BSD-3-Clause"
-depends=
install="$pkgname.pre-install $pkgname.pre-upgrade"
makedepends="libtirpc-dev autoconf automake bsd-compat-headers"
subpackages="$pkgname-dbg $pkgname-doc $pkgname-openrc"
@@ -19,17 +18,14 @@ source="https://downloads.sourceforge.net/project/rpcbind/rpcbind/$pkgver/rpcbin
# secfixes:
# 0.2.4-r0:
-# - CVE-2017-8779
+# - CVE-2017-8779
-builddir="$srcdir"/rpcbind-$pkgver
prepare() {
- cd "$builddir"
default_prepare
sh autogen.sh
}
build() {
- cd "$builddir"
unset CC
unset CFLAGS
./configure \
@@ -47,7 +43,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir"/rpcbind.initd "$pkgdir"/etc/init.d/rpcbind
install -Dm644 "$srcdir"/rpcbind.confd "$pkgdir"/etc/conf.d/rpcbind