aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-01-27 18:13:23 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-01-28 01:51:37 +0100
commitaefed8aa14e18fa59f1b7723809d48bc874ac08b (patch)
tree9ab15065d95d98783f85dabead40d2c1e60c8a37 /main
parent8190aae00739bc46d5ee8a804d3c96cb24e9e540 (diff)
downloadaports-aefed8aa14e18fa59f1b7723809d48bc874ac08b.tar.gz
aports-aefed8aa14e18fa59f1b7723809d48bc874ac08b.tar.bz2
aports-aefed8aa14e18fa59f1b7723809d48bc874ac08b.tar.xz
main/rsyslog: add more plugins as subpackages
Diffstat (limited to 'main')
-rw-r--r--main/rsyslog/APKBUILD52
1 files changed, 51 insertions, 1 deletions
diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD
index 01b9dab09c..e9cb99da04 100644
--- a/main/rsyslog/APKBUILD
+++ b/main/rsyslog/APKBUILD
@@ -2,6 +2,7 @@
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Contributor: Cameron Banta <cbanta@gmail.com>
# Contributor: Ashley Sommer <ashleysommer@gmail.com>
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=rsyslog
pkgver=8.40.0
@@ -13,18 +14,24 @@ license="Apache-2.0 GPL-3.0-or-later LGPL-3.0-or-later"
options="!check"
makedepends="
curl-dev
+ czmq-dev
gnutls-dev
hiredis-dev
+ krb5-dev
+ libdbi-dev
libestr-dev
libfastjson-dev
libgcrypt-dev
liblogging-dev
+ libmaxminddb-dev
libnet-dev
linux-headers
+ librelp-dev
mariadb-connector-c-dev
net-snmp-dev
postgresql-dev
py-docutils
+ rabbitmq-c-dev
util-linux-dev
zlib-dev
"
@@ -39,17 +46,38 @@ source="https://www.rsyslog.com/files/download/$pkgname/$pkgname-$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver"
+# <subpackage>[:<module>...]
_plugins="
crypto:lmcry_gcry
elasticsearch:omelasticsearch
+ gssapi:lmgssutil:imgssapi:omgssapi
hiredis:omhiredis
- http:fmhttp
+ http:omhttp:fmhttp
+ libdbi:omlibdbi
+ mmanon
+ mmaudit
+ mmcount
+ mmdblookup
+ mmfields
+ mmjsonparse
+ mmpstrucdata
+ mmrm1stspace
+ mmsequence
+ mmsnmptrapd
+ mmutf8fix
mysql:ommysql
pgsql:ompgsql
+ pmaixforwardedfrom
+ pmlastmsg
+ pmsnare
+ rabbitmq:omrabbitmq
+ relp:imrelp:omrelp
snmp:omsnmp
testing:omtesting
tls:lmnsd_gtls
udpspoof:omudpspoof
+ uxsock:omuxsock
+ zmq:imczmq:omczmq
"
for _i in $_plugins; do
subpackages="$subpackages $pkgname-${_i%%:*}:_plugin"
@@ -67,19 +95,41 @@ build() {
\
--disable-rfc3195 \
--enable-largefile \
+ --enable-gssapi-krb5 \
--enable-mysql \
--enable-pgsql \
+ --enable-libdbi \
--enable-snmp \
--enable-elasticsearch \
+ --enable-omhttp \
--enable-gnutls \
--enable-mail \
--enable-imdiag \
+ --enable-mmjsonparse \
+ --enable-mmaudit \
+ --enable-mmanon \
+ --enable-mmrm1stspace \
+ --enable-mmutf8fix \
+ --enable-mmcount \
+ --enable-mmsequence \
+ --enable-mmdblookup \
+ --enable-mmfields \
+ --enable-mmpstrucdata \
+ --enable-relp \
--enable-imfile \
--enable-imptcp \
--enable-impstats \
--enable-omprog \
--enable-omudpspoof \
--enable-omstdout \
+ --enable-pmlastmsg \
+ --enable-pmaixforwardedfrom \
+ --enable-pmsnare \
+ --enable-omuxsock \
+ --enable-mmsnmptrapd \
+ --enable-omrabbitmq \
+ --enable-imczmq \
+ --enable-omczmq \
--enable-omhiredis
make
}