blob: 72c0a3725dcb09909c00046edcffa102bd9779d3 (
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
|
# Contributor: Alex Yam <alex@alexyam.com>
# Maintainer: Sadie Powell <sadie@witchery.services>
pkgname=inspircd
pkgver=4.2.0
pkgrel=0
pkgdesc="internet relay chat daemon (ircd)"
url="https://www.inspircd.org/"
pkgusers="inspircd"
pkggroups="inspircd"
arch="all"
license="GPL-2.0-or-later"
makedepends="
argon2-dev
gnutls-dev
libpq-dev
rapidjson-dev
mariadb-dev
openldap-dev
pcre2-dev
perl
re2-dev
sqlite-dev
"
subpackages="$pkgname-doc"
options="!check" # no test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz"
# secfixes:
# 3.10.0-r0:
# - CVE-2021-33586
build() {
./configure \
--enable-extras "argon2 ldap log_json log_syslog mysql pgsql regex_pcre2 regex_posix regex_re2 sqlite3 ssl_gnutls sslrehashsignal"
./configure \
--binary-dir /usr/bin \
--data-dir /var/lib/inspircd/data \
--example-dir /usr/share/inspircd/examples \
--module-dir /usr/lib/inspircd/modules \
--script-dir /usr/lib/inspircd/scripts \
--disable-auto-extras \
--distribution-label alpine$pkgrel \
--gid inspircd \
--uid inspircd \
--system
INSPIRCD_DISABLE_RPATH=1 make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
cac23ed23ff29e0116dc42afcb12002a2bbeb663d0ffe07d0e3214b64e9b18dea4ead8abcb2402885f984b4b675f037f1f41719249be22e99bb8f4f628e1981c inspircd-4.2.0.tar.gz
"
|