blob: 1fdf705f18208b6942153072171ffa712cacf639 (
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
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gross
pkgver=1.0.3
pkgrel=3
pkgdesc="Greylisting of suspicious sources"
url="https://codeberg.org/bizdelnick/gross"
arch="all"
license="BSD-3-Clause"
makedepends="c-ares-dev autoconf automake libtool sed"
install="$pkgname.pre-install $pkgname.pre-upgrade
$pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-dev $pkgname-openrc"
source="https://codeberg.org/bizdelnick/gross/releases/download/v$pkgver/gross-$pkgver.tar.xz
grossd.initd
grossd.confd
gross-1.0.1-default-conf.patch
gross-grey_tuple.patch
"
options="!check"
prepare() {
update_config_sub
default_prepare
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make -j1
}
package() {
make -j1 DESTDIR="$pkgdir" install
install -dD "$pkgdir"/var/run/gross
install -m755 -D "$srcdir"/grossd.initd "$pkgdir"/etc/init.d/grossd
install -m644 -D "$srcdir"/grossd.confd "$pkgdir"/etc/conf.d/grossd
}
sha512sums="
0db2d6b8a9d6ade85bdfbf57822f1babd2ac9ce32d134811c958602aaef74d97afaa97aa5c303c86d84f68852747b652a26e80678a13b5fdc0ff10d860f104fd gross-1.0.3.tar.xz
8784cd056372dced708b561548f71f24177b302efe2256626a6bb9b91374ae783be1c4d844b6f38af4b03f370b0c8c803ab9ce2f07855e630f98b585e0f65dc9 grossd.initd
d9f8b74d13e0d3f0e2dfe20e1b7a6e50e91e81c9769d3e1afe3370edf66da5827d3b24f369216370f426a0a242a797a470408831b2cf4e880d4f17d1611a065d grossd.confd
90d80c1a68f71f671c19187dccaee9d475d92925a947d25e68c277b0c52f43e0e4b37c1d8f063a2ef155daa93d8f60fc19e3692f0193a9662670d47e425f37d4 gross-1.0.1-default-conf.patch
5561d46da4848b56d9bb38aa857fe584d7c35a0c432005430b25a2280ca320c70ae8a92bb2718243198345d2919d8eb3d04fb24056c404a648a17a9a6b564c94 gross-grey_tuple.patch
"
|