blob: 5c2df47901f5568e7ce1f510601bc9a2ff02a1ae (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# $NetBSD: Makefile.common,v 1.15 2019/11/04 21:28:52 rillig Exp $
# used by sysutils/syslog-ng/Makefile
# used by sysutils/syslog-ng/Makefile.module
DISTNAME= syslog-ng-3.17.2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=balabit/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.syslog-ng.org/
COMMENT= Highly portable log management solution
LICENSE= gnu-gpl-v2
GITHUB_RELEASE= ${DISTNAME}
PATCHDIR= ${.CURDIR}/../../sysutils/syslog-ng/patches
DISTINFO_FILE= ${.CURDIR}/../../sysutils/syslog-ng/distinfo
USE_LANGUAGES= c c99
USE_TOOLS+= flex pkg-config gmake awk:run
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_FEATURES+= strnlen
CHECK_PORTABILITY_SKIP+= debian/syslog-ng.init
CONFIGURE_ARGS+= --disable-amqp
CONFIGURE_ARGS+= --disable-geoip
CONFIGURE_ARGS+= --disable-http
CONFIGURE_ARGS+= --disable-ipv6
CONFIGURE_ARGS+= --disable-java
CONFIGURE_ARGS+= --disable-mongodb
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --disable-redis
CONFIGURE_ARGS+= --disable-smtp
CONFIGURE_ARGS+= --disable-sql
CONFIGURE_ARGS+= --disable-ssl
CONFIGURE_ARGS+= --disable-stomp
CONFIGURE_ARGS+= --disable-sun-streams
CONFIGURE_ARGS+= --disable-tcp-wrapper
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/db/syslog-ng
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-ivykis=system
CONFIGURE_ARGS+= --with-mongoc=no
CONFIGURE_ARGS+= --with-librabbitmq-client=no
CONFIGURE_ARGS+= --with-pidfile-dir=${VARBASE}/run
CONFIGURE_ARGS.SunOS+= --enable-dynamic-linking
CONFIGURE_ARGS.SunOS+= ac_cv_func_inotify_init=no
SUBST_CLASSES+= unamepath
SUBST_STAGE.unamepath= post-configure
SUBST_FILES.unamepath= contrib/syslog2ng
SUBST_VARS.unamepath= UNAME
PYTHON_VERSIONS_ACCEPTED= 27
REPLACE_AWK+= contrib/syslog2ng
REPLACE_PYTHON+= lib/merge-grammar.py
# Kill bundled depedencies, speeds up configure time
post-extract:
${RM} -rf ${WRKSRC}/lib/ivykis
${RM} -rf ${WRKSRC}/modules/afamqp/rabbitmq-c
${RM} -rf ${WRKSRC}/modules/afmongodb/mongo-c-driver
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/ivykis/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
|