aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsyslog/APKBUILD
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2018-01-11 19:23:31 +0100
committerTimo Teräs <timo.teras@iki.fi>2018-02-07 17:02:16 +0000
commit63df36ac4a53547e31eddc2d8066bc276d7881a4 (patch)
treebd6e210cf20c2df338783e097ef716c4df95b442 /main/rsyslog/APKBUILD
parent59e32c13439abc37a2e2053ac7e714a9f3a2d52d (diff)
downloadaports-63df36ac4a53547e31eddc2d8066bc276d7881a4.tar.gz
aports-63df36ac4a53547e31eddc2d8066bc276d7881a4.tar.bz2
aports-63df36ac4a53547e31eddc2d8066bc276d7881a4.tar.xz
main/rsyslog: add -elasticsearch subpackage
Elasticsearch is very popular with rsyslog. This PR provides the necessary feature to make rsyslog talk directly to it.
Diffstat (limited to 'main/rsyslog/APKBUILD')
-rw-r--r--main/rsyslog/APKBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD
index 0a075881fd..f592b754ac 100644
--- a/main/rsyslog/APKBUILD
+++ b/main/rsyslog/APKBUILD
@@ -12,10 +12,10 @@ arch="all"
license="GPL-3.0 LGPL-3.0"
options="!check"
makedepends="zlib-dev gnutls-dev mariadb-dev postgresql-dev net-snmp-dev
- libnet-dev libgcrypt-dev libestr-dev liblogging-dev
+ libnet-dev libgcrypt-dev libestr-dev liblogging-dev curl-dev
libfastjson-dev util-linux-dev py-docutils hiredis-dev linux-headers"
subpackages="$pkgname-doc $pkgname-mysql $pkgname-pgsql $pkgname-tls
- $pkgname-snmp $pkgname-hiredis $pkgname-dbg"
+ $pkgname-snmp $pkgname-hiredis $pkgname-elasticsearch $pkgname-dbg"
source="http://www.rsyslog.com/files/download/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
@@ -47,6 +47,7 @@ build() {
--enable-gnutls \
--enable-snmp \
--enable-omhiredis \
+ --enable-elasticsearch \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
@@ -104,6 +105,14 @@ snmp() {
"$subpkgdir"/usr/lib/rsyslog/
}
+elasticsearch() {
+ pkgdesc="rsyslog elasticsearch support"
+
+ mkdir -p "$subpkgdir"/usr/lib/rsyslog/
+ mv "$pkgdir"/usr/lib/rsyslog/omelasticsearch.so \
+ "$subpkgdir"/usr/lib/rsyslog/
+}
+
sha512sums="aab888dda8df3ad7ff404767a58539cdc0bb92d0e537b703cf5833555688dd6d8223889b8d70bf8c594339a51831b57df7a65b397d8b40cded608dfb007befe7 rsyslog-8.31.0.tar.gz
9a4b184076a82e0899da79ab3749e1c67eac03f36c4460d34ed0385f4a3ffad53681a1cc25dd514e835c9399a9abd01c235743535ad549d5be7f66d9e127b9dc rsyslog.initd
a4d969671800227129be870b0318961b79d16365663754111a136734bbf7005abd4da24853dfdc07b3b6691ab5a7b215f0ac6c19022b4c5c8dab06165a42431b rsyslog.confd