Merge pull request #1928 from pullmoll/rsyslog

rsyslog: unbreak musl + remove systemd option
This commit is contained in:
Jürgen Buchmüller 2015-06-30 16:40:55 +02:00
commit 27e048d6bb
2 changed files with 14 additions and 5 deletions

View File

@ -0,0 +1,12 @@
--- plugins/imfile/imfile.c 2015-05-19 10:53:40.000000000 +0200
+++ plugins/imfile/imfile.c 2015-06-29 23:11:50.984104193 +0200
@@ -34,6 +34,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <glob.h>
+#if !defined(GLOB_BRACE)
+#define GLOB_BRACE 0 /* no GLOB_BRACE in musl libc */
+#endif
#include <fnmatch.h>
#ifdef HAVE_SYS_INOTIFY_H
#include <sys/inotify.h>

View File

@ -1,7 +1,7 @@
# Template file for 'rsyslog'
pkgname=rsyslog
version=8.10.0
revision=3
revision=4
build_style=gnu-configure
configure_args="--sbindir=/usr/bin
--enable-gnutls --enable-mysql --enable-pgsql
@ -9,9 +9,7 @@ configure_args="--sbindir=/usr/bin
--enable-imptcp --enable-mmsnmptrapd
--enable-impstats --enable-omprog --enable-omstdout
--enable-pmlastmsg --enable-pmcisconames --enable-pmaixforwardedfrom
--enable-pmsnare --enable-omuxsock --disable-generate-man-pages
$(vopt_enable systemd imjournal) $(vopt_enable systemd omjournal)
$(vopt_if systemd --with-systemdsystemunitdir=/usr/lib/systemd/system)"
--enable-pmsnare --enable-omuxsock --disable-generate-man-pages"
short_desc="An Enhanced multi-threaded syslog daemon"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
@ -20,7 +18,6 @@ distfiles="${homepage}/files/download/rsyslog/$pkgname-$version.tar.gz"
checksum=b92df3f367108219e2fffccd463bf49d75cb8ab3ceaa52e9789f85eace066912
build_pie=yes
build_options="systemd"
lib32disabled=yes
hostmakedepends="pkg-config postgresql-libs-devel"
makedepends="json-c-devel gnutls-devel postgresql-libs-devel