Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update APKBUILD to enable support of kafka plugin. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions 3.7/rsyslog/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ options="!check"
makedepends="zlib-dev gnutls-dev mariadb-dev postgresql-dev net-snmp-dev
libnet-dev libgcrypt-dev libestr-dev liblogging-dev
libfastjson-dev util-linux-dev py-docutils hiredis-dev linux-headers
curl-dev librelp-dev czmq-dev librdkafka-dev"
curl-dev librelp-dev czmq-dev librdkafka-dev bsd-compat-headers"
subpackages="$pkgname-doc $pkgname-mysql $pkgname-pgsql $pkgname-tls
$pkgname-snmp $pkgname-hiredis $pkgname-dbg $pkgname-elasticsearch
$pkgname-mmutf8fix $pkgname-imptcp $pkgname-mmjsonparse $pkgname-omstdout
$pkgname-imrelp $pkgname-omrelp $pkgname-omczmq $pkgname-imczmq
$pkgname-mmanon $pkgname-omhttpfs "
# $pkgname-mmanon $pkgname-omhttpfs $pkgname-omkafka $pkgname-imkafka"
$pkgname-mmanon $pkgname-omhttpfs $pkgname-omkafka $pkgname-imkafka"
source="http://www.rsyslog.com/files/download/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
Expand Down Expand Up @@ -62,8 +61,8 @@ build() {
--enable-relp \
--enable-omczmq \
--enable-imczmq \
--enable-omkafka=no \
--enable-imkafka=no \
--enable-omkafka \
--enable-imkafka \
--enable-omhttpfs \
--prefix=/usr \
--sysconfdir=/etc \
Expand Down Expand Up @@ -98,21 +97,21 @@ mmanon() {
"$subpkgdir"/usr/lib/rsyslog/
}

#imkafka() {
# pkgdesc="rsyslog imkafka module"
#
# mkdir -p "$subpkgdir"/usr/lib/rsyslog/
# mv "$pkgdir"/usr/lib/rsyslog/imkafka.so \
# "$subpkgdir"/usr/lib/rsyslog/
#}
imkafka() {
pkgdesc="rsyslog imkafka module"

#omkafka() {
# pkgdesc="rsyslog omkafka module"
#
# mkdir -p "$subpkgdir"/usr/lib/rsyslog/
# mv "$pkgdir"/usr/lib/rsyslog/omkafka.so \
# "$subpkgdir"/usr/lib/rsyslog/
#}
mkdir -p "$subpkgdir"/usr/lib/rsyslog/
mv "$pkgdir"/usr/lib/rsyslog/imkafka.so \
"$subpkgdir"/usr/lib/rsyslog/
}

omkafka() {
pkgdesc="rsyslog omkafka module"

mkdir -p "$subpkgdir"/usr/lib/rsyslog/
mv "$pkgdir"/usr/lib/rsyslog/omkafka.so \
"$subpkgdir"/usr/lib/rsyslog/
}

imczmq() {
pkgdesc="rsyslog imczmq module"
Expand Down