diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-05 06:25:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-05 06:25:55 +0000 |
commit | d184dae88f067a87efcd7616ad0d3c1772aeec24 (patch) | |
tree | f6b59742aa38f383ee1538b4b221b2115a78293e /main/portmap/APKBUILD | |
parent | db5638d0911a1c0320d1ac01768864a7b73ab2d9 (diff) | |
download | aports-d184dae88f067a87efcd7616ad0d3c1772aeec24.tar.bz2 aports-d184dae88f067a87efcd7616ad0d3c1772aeec24.tar.xz |
main/portmap: fix preinstall that changed premissions on /dev/null
Diffstat (limited to 'main/portmap/APKBUILD')
-rw-r--r-- | main/portmap/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/portmap/APKBUILD b/main/portmap/APKBUILD index a6e76bcf34..fb86bac3a7 100644 --- a/main/portmap/APKBUILD +++ b/main/portmap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=portmap pkgver=6.0 -pkgrel=4 +pkgrel=5 pkgdesc="RPC connection manager" url="http://neil.brown.name/portmap/" license="GPL" @@ -14,15 +14,22 @@ source="http://neil.brown.name/$pkgname/$pkgname-$pkgver.tgz $pkgname.confd $pkgname.initd" -build () -{ + +prepare() { cd "$srcdir"/portmap_$pkgver for i in ../*.patch; do msg "Applying $i" patch -p1 < $i || return 1 done +} +build() { + cd "$srcdir"/portmap_$pkgver make NO_TCP_WRAPPER=NO || return 1 +} + +package() { + cd "$srcdir"/portmap_$pkgver mkdir -p "$pkgdir"/sbin mkdir -p "$pkgdir"/usr/share/man/man8 make BASEDIR="$pkgdir" install |