aboutsummaryrefslogtreecommitdiffstats
path: root/main/portmap/APKBUILD
blob: afdb114acec72b7f451440959c61598d527fe0e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=portmap
pkgver=6.0
pkgrel=3
pkgdesc="RPC connection manager"
url="http://neil.brown.name/portmap/"
license="GPL"
depends=
makedepends=""
install="$pkgname.pre-install"
subpackages="$pkgname-doc"
source="http://neil.brown.name/$pkgname/$pkgname-$pkgver.tgz
	$pkgname-6.0-tcpd.patch
	$pkgname.confd
	$pkgname.initd"

build () 
{ 
	cd "$srcdir"/portmap_$pkgver
	for i in ../*.patch; do
		msg "Applying $i"
		patch -p1 < $i || return 1
	done

	make NO_TCP_WRAPPER=NO || return 1
	mkdir -p "$pkgdir"/sbin
	mkdir -p "$pkgdir"/usr/share/man/man8
	make BASEDIR="$pkgdir" install
	mkdir -p "$pkgdir"/etc/init.d "$pkgdir"/etc/conf.d
	install -m 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname
	install -m 644 "$startdir"/$pkgname.confd $pkgdir/etc/conf.d/$pkgname
}

md5sums="ac108ab68bf0f34477f8317791aaf1ff  portmap-6.0.tgz
bdcd217a0d459c75116d0b5aa90a372b  portmap-6.0-tcpd.patch
56b0f47cda2003f3394ef7c37ec4cdff  portmap.confd
b03305a6fc0bfb621e76e75a300acc4e  portmap.initd"