blob: ef00280986c6e415baf1bf72eecb3cfe8a0d9296 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gross-svn
pkgver=511
pkgrel=0
pkgdesc="Greylisting of suspicious sources"
url="http://code.google.com/p/gross/"
license="BSD"
depends=""
makedepends="c-ares"
subpackages="$pkgname-doc $pkgname-dev"
source="http://alpine.nethq.org/clandmeter/src/${pkgname}-${pkgver}.tar.bz2
$pkgname.initd
$pkgname.confd"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
make -j1 DESTDIR="$pkgdir" install
install -dD -onobody -gnobody "$pkgdir"/var/run/grossd
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/gross
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/gross
}
md5sums="f2488ced5b47f359c3a1127d9ba3453c gross-svn-511.tar.bz2
c5fbd3396e901c5e35e3961deb0b36b6 gross-svn.initd
b95f2fba652bc93022ad87cffd096f84 gross-svn.confd"
|