summaryrefslogtreecommitdiffstats
path: root/main/oidentd/APKBUILD
blob: 285bf15077fe737ee5f23aea070126e1c2459926 (plain)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=oidentd
pkgver=2.0.8
pkgrel=2
pkgdesc="Configurable IDENT server that supports NAT/IP masq."
url="http://dev.ojnk.net/"
arch="all"
license="GPL"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/ojnk/$pkgname-$pkgver.tar.gz
oidentd.conf
oidentd.initd
oidentd.confd"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install
	install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -D -m644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
	install -D -m644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf

}

md5sums="c3d9a56255819ef8904b867284386911  oidentd-2.0.8.tar.gz
d9c40e4d6a0bde685a359ad49b4eada2  oidentd.conf
96c45c9956d357d4ca9f5d474d58451b  oidentd.initd
05a43d3987754f179f4e31bbe61ff315  oidentd.confd"