blob: b09faeb6b038c5bf1c30601b5a45568a7d04df2f (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=oidentd
pkgver=2.0.8
pkgrel=4
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"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
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
8177b7479312db47fd952eb69766a403 oidentd.initd
05a43d3987754f179f4e31bbe61ff315 oidentd.confd"
sha256sums="a54cbed187281f8d5a301d1d8fd5cb0f30bfb13a5a8e9ab752ace76c1010fb6f oidentd-2.0.8.tar.gz
fe91a7af10e55c90a8468ba529012f8359507353035d72c669b535c8b84eb9dc oidentd.conf
beac7a3067d44dcd9682a016d35564b40433b024be2b3b45d2f9433ac818a7d8 oidentd.initd
acdd88d817474e392e8f07b0f00579007a71340d00a5520d7a2661ecf4a7e5f4 oidentd.confd"
sha512sums="86229a4ef9892121c25a7140616e180f862ca34b73ea3ad9f0fbb008f657abb17e9f14c2c25ae14c14bfc14bf1ea10b50fd68318631a9c52227bbfd6e6d43288 oidentd-2.0.8.tar.gz
a05de9b08f87a200309c39d3bc3aba0aa2c6461c3c43a9d851299e6083f0ca9a362409b0db93ca069c7a50d3a14169a308aea51b3d42ebf0180a4b4c99bf5126 oidentd.conf
c00c246ed223bd56407e10edbc50e247c32b4552c256b344b8497814446f1f7aa0c36daeb6aaf7c29cc9b31aeca992ee3b85fa480ed9380a68cdd8bd1b5f95b9 oidentd.initd
d3aba90970df7cf9869934380267b3f5c687a86ad532fa854728e2f7506551254ae4bda0a1edece24d26c4da6c29d7e9c44923a29fd67016b88a7766c6e6a050 oidentd.confd"
|