aboutsummaryrefslogblamecommitdiffstats
path: root/main/oidentd/APKBUILD
blob: f7d9ca752259c20eee3e4a09fa2e5c827713e75a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
                                                   

               
        

                                                              
          
             
          























                                                                               
                                               
                                                
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=oidentd
pkgver=2.0.8
pkgrel=3
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"