blob: 2edf959a73f387e5f8c415975aaaa74e0f24f71d (
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.3.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
mariadb-dev
openldap-dev
pcre2-dev
perl
re2-dev
sqlite-dev
yyjson-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="
dfbf045f2be452e18d0b24e35b140e55880cda123bdcbcf1ab1478c3a674efbc4a783d86aca248d7afb40835a672b4ef649c778430190b5df7cec020b236b76c inspircd-4.3.0.tar.gz
"
|