diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-03 06:04:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-03 06:04:08 +0000 |
commit | db344855fd58b2e4d429da927356a247106fb07b (patch) | |
tree | adb884995ab939ca706072d1f5809184fdee4787 /testing/rsyslog/json-c.patch | |
parent | de32fae3969594f4a3cc7d80edd6cfbb332f1446 (diff) | |
download | aports-db344855fd58b2e4d429da927356a247106fb07b.tar.bz2 aports-db344855fd58b2e4d429da927356a247106fb07b.tar.xz |
testing/rsyslog: remove since we have it in main already
This was moved to main with commit 0ad18dd (main/rsyslog: moved from
testing, 2012-05-30) but re-appeared in testing with commit 5f32b2b2
(testing/rsyslog: upgrade to 7.4.1) appearently by mistake.
Diffstat (limited to 'testing/rsyslog/json-c.patch')
-rw-r--r-- | testing/rsyslog/json-c.patch | 378 |
1 files changed, 0 insertions, 378 deletions
diff --git a/testing/rsyslog/json-c.patch b/testing/rsyslog/json-c.patch deleted file mode 100644 index 8c5e311196..0000000000 --- a/testing/rsyslog/json-c.patch +++ /dev/null @@ -1,378 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index ed3b54b..c0093d0 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -14,7 +14,7 @@ lmtcpsrv_la_SOURCES = \ - tcps_sess.h \ - tcpsrv.c \ - tcpsrv.h --lmtcpsrv_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+lmtcpsrv_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - lmtcpsrv_la_LDFLAGS = -module -avoid-version - lmtcpsrv_la_LIBADD = - -diff --git a/action.c b/action.c -index 259fb66..6b52d70 100644 ---- a/action.c -+++ b/action.c -@@ -98,7 +98,7 @@ - #include <strings.h> - #include <time.h> - #include <errno.h> --#include <json/json.h> -+#include <json.h> - - #include "dirty.h" - #include "template.h" -diff --git a/config.h.in b/config.h.in -index 3682381..8c504b5 100644 ---- a/config.h.in -+++ b/config.h.in -@@ -349,9 +349,6 @@ - /* Defined if debug mode is disabled. */ - #undef NDEBUG - --/* Define to 1 if your C compiler doesn't accept -c and -o together. */ --#undef NO_MINUS_C_MINUS_O -- - /* Indicator for a BSD OS */ - #undef OS_BSD - -diff --git a/configure.ac b/configure.ac -index bb0de0c..acf2cbe 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -33,7 +33,7 @@ PKG_PROG_PKG_CONFIG - - # modules we require - PKG_CHECK_MODULES(LIBESTR, libestr >= 0.1.5) --PKG_CHECK_MODULES([JSON_C], [json]) -+PKG_CHECK_MODULES([JSON_C], [json-c]) - - case "${host}" in - *-*-linux*) -diff --git a/grammar/Makefile.am b/grammar/Makefile.am -index d231bb4..b5476e7 100644 ---- a/grammar/Makefile.am -+++ b/grammar/Makefile.am -@@ -11,7 +11,7 @@ libgrammar_la_SOURCES = \ - rainerscript.h \ - parserif.h \ - grammar.h --libgrammar_la_CPPFLAGS = $(RSRT_CFLAGS) -+libgrammar_la_CPPFLAGS = $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - - #testdriver_SOURCES = testdriver.c libgrammar.la - #testdriver_CPPFLAGS = $(RSRT_CFLAGS) -diff --git a/plugins/imdiag/Makefile.am b/plugins/imdiag/Makefile.am -index 33e86e9..b8d21ae 100644 ---- a/plugins/imdiag/Makefile.am -+++ b/plugins/imdiag/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = imdiag.la - - imdiag_la_SOURCES = imdiag.c --imdiag_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+imdiag_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - imdiag_la_LDFLAGS = -module -avoid-version - imdiag_la_LIBADD = -diff --git a/plugins/imfile/Makefile.am b/plugins/imfile/Makefile.am -index 551639b..3c70868 100644 ---- a/plugins/imfile/Makefile.am -+++ b/plugins/imfile/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = imfile.la - - imfile_la_SOURCES = imfile.c --imfile_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+imfile_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - imfile_la_LDFLAGS = -module -avoid-version - imfile_la_LIBADD = -diff --git a/plugins/imklog/Makefile.am b/plugins/imklog/Makefile.am -index 7d0d37c..ae84737 100644 ---- a/plugins/imklog/Makefile.am -+++ b/plugins/imklog/Makefile.am -@@ -10,6 +10,6 @@ if ENABLE_IMKLOG_LINUX - imklog_la_SOURCES += bsd.c - endif - --imklog_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+imklog_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - imklog_la_LDFLAGS = -module -avoid-version - imklog_la_LIBADD = -diff --git a/plugins/immark/Makefile.am b/plugins/immark/Makefile.am -index 6d8ed24..782dacc 100644 ---- a/plugins/immark/Makefile.am -+++ b/plugins/immark/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = immark.la - - immark_la_SOURCES = immark.c immark.h --immark_la_CPPFLAGS = $(RSRT_CFLAGS) -I$(top_srcdir) $(PTHREADS_CFLAGS) -+immark_la_CPPFLAGS = $(RSRT_CFLAGS) -I$(top_srcdir) $(PTHREADS_CFLAGS) $(JSON_C_CFLAGS) - immark_la_LDFLAGS = -module -avoid-version - immark_la_LIBADD = -diff --git a/plugins/imtcp/Makefile.am b/plugins/imtcp/Makefile.am -index 2665353..24ec856 100644 ---- a/plugins/imtcp/Makefile.am -+++ b/plugins/imtcp/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = imtcp.la - - imtcp_la_SOURCES = imtcp.c --imtcp_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+imtcp_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - imtcp_la_LDFLAGS = -module -avoid-version - imtcp_la_LIBADD = -diff --git a/plugins/imudp/Makefile.am b/plugins/imudp/Makefile.am -index bc64b8c..8409f86 100644 ---- a/plugins/imudp/Makefile.am -+++ b/plugins/imudp/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = imudp.la - - imudp_la_SOURCES = imudp.c --imudp_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+imudp_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - imudp_la_LDFLAGS = -module -avoid-version - imudp_la_LIBADD = $(IMUDP_LIBS) -diff --git a/plugins/imuxsock/Makefile.am b/plugins/imuxsock/Makefile.am -index 28f9f9e..3db3a58 100644 ---- a/plugins/imuxsock/Makefile.am -+++ b/plugins/imuxsock/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = imuxsock.la - - imuxsock_la_SOURCES = imuxsock.c --imuxsock_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+imuxsock_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - imuxsock_la_LDFLAGS = -module -avoid-version - imuxsock_la_LIBADD = $(RSRT_LIBS) -diff --git a/plugins/ommail/Makefile.am b/plugins/ommail/Makefile.am -index 97c9296..6a178e0 100644 ---- a/plugins/ommail/Makefile.am -+++ b/plugins/ommail/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = ommail.la - - ommail_la_SOURCES = ommail.c --ommail_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+ommail_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - ommail_la_LDFLAGS = -module -avoid-version - ommail_la_LIBADD = -diff --git a/plugins/ommysql/Makefile.am b/plugins/ommysql/Makefile.am -index e253b9d..f2336d0 100644 ---- a/plugins/ommysql/Makefile.am -+++ b/plugins/ommysql/Makefile.am -@@ -1,7 +1,7 @@ - pkglib_LTLIBRARIES = ommysql.la - - ommysql_la_SOURCES = ommysql.c ommysql.h --ommysql_la_CPPFLAGS = $(RSRT_CFLAGS) $(MYSQL_CFLAGS) $(PTHREADS_CFLAGS) -+ommysql_la_CPPFLAGS = $(RSRT_CFLAGS) $(MYSQL_CFLAGS) $(PTHREADS_CFLAGS) $(JSON_C_CFLAGS) - ommysql_la_LDFLAGS = -module -avoid-version - ommysql_la_LIBADD = $(MYSQL_LIBS) - -diff --git a/plugins/ompgsql/Makefile.am b/plugins/ompgsql/Makefile.am -index 607239c..664d3d1 100644 ---- a/plugins/ompgsql/Makefile.am -+++ b/plugins/ompgsql/Makefile.am -@@ -1,7 +1,7 @@ - pkglib_LTLIBRARIES = ompgsql.la - - ompgsql_la_SOURCES = ompgsql.c ompgsql.h --ompgsql_la_CPPFLAGS = -I$(top_srcdir) $(PGSQL_CFLAGS) $(RSRT_CFLAGS) -+ompgsql_la_CPPFLAGS = -I$(top_srcdir) $(PGSQL_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - ompgsql_la_LDFLAGS = -module -avoid-version - ompgsql_la_LIBADD = $(PGSQL_LIBS) - -diff --git a/plugins/omprog/Makefile.am b/plugins/omprog/Makefile.am -index 63fe09b..2d7e89b 100644 ---- a/plugins/omprog/Makefile.am -+++ b/plugins/omprog/Makefile.am -@@ -1,7 +1,7 @@ - pkglib_LTLIBRARIES = omprog.la - - omprog_la_SOURCES = omprog.c --omprog_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) -+omprog_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) $(JSON_C_CFLAGS) - omprog_la_LDFLAGS = -module -avoid-version - omprog_la_LIBADD = - -diff --git a/plugins/omruleset/Makefile.am b/plugins/omruleset/Makefile.am -index fdd91a6..c927dca 100644 ---- a/plugins/omruleset/Makefile.am -+++ b/plugins/omruleset/Makefile.am -@@ -1,7 +1,7 @@ - pkglib_LTLIBRARIES = omruleset.la - - omruleset_la_SOURCES = omruleset.c --omruleset_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) -+omruleset_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) $(JSON_C_CFLAGS) - omruleset_la_LDFLAGS = -module -avoid-version - omruleset_la_LIBADD = - -diff --git a/plugins/omsnmp/Makefile.am b/plugins/omsnmp/Makefile.am -index f75fb09..12c3083 100644 ---- a/plugins/omsnmp/Makefile.am -+++ b/plugins/omsnmp/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = omsnmp.la - - omsnmp_la_SOURCES = omsnmp.c omsnmp.h --omsnmp_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+omsnmp_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - omsnmp_la_LDFLAGS = -module -avoid-version - omsnmp_la_LIBADD = $(SNMP_LIBS) -diff --git a/plugins/omstdout/Makefile.am b/plugins/omstdout/Makefile.am -index 9f5d497..c4d9bcb 100644 ---- a/plugins/omstdout/Makefile.am -+++ b/plugins/omstdout/Makefile.am -@@ -1,7 +1,7 @@ - pkglib_LTLIBRARIES = omstdout.la - - omstdout_la_SOURCES = omstdout.c --omstdout_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) -+omstdout_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) $(JSON_C_CFLAGS) - omstdout_la_LDFLAGS = -module -avoid-version - omstdout_la_LIBADD = - -diff --git a/plugins/omtesting/Makefile.am b/plugins/omtesting/Makefile.am -index 4700e1e..2ee9017 100644 ---- a/plugins/omtesting/Makefile.am -+++ b/plugins/omtesting/Makefile.am -@@ -1,6 +1,6 @@ - pkglib_LTLIBRARIES = omtesting.la - - omtesting_la_SOURCES = omtesting.c --omtesting_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+omtesting_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - omtesting_la_LDFLAGS = -module -avoid-version - omtesting_la_LIBADD = -diff --git a/plugins/omudpspoof/Makefile.am b/plugins/omudpspoof/Makefile.am -index 79c495a..ff3c213 100644 ---- a/plugins/omudpspoof/Makefile.am -+++ b/plugins/omudpspoof/Makefile.am -@@ -1,7 +1,7 @@ - pkglib_LTLIBRARIES = omudpspoof.la - - omudpspoof_la_SOURCES = omudpspoof.c --omudpspoof_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) $(UDPSPOOF_CFLAGS) -+omudpspoof_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) $(UDPSPOOF_CFLAGS) $(JSON_C_CFLAGS) - omudpspoof_la_LDFLAGS = -module -avoid-version - omudpspoof_la_LIBADD = $(UDPSPOOF_LIBS) - -diff --git a/runtime/Makefile.am b/runtime/Makefile.am -index dea06fe..99b0022 100644 ---- a/runtime/Makefile.am -+++ b/runtime/Makefile.am -@@ -97,9 +97,9 @@ librsyslog_la_SOURCES = \ - # - - if WITH_MODDIRS --librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/:$(moddirs)\" $(PTHREADS_CFLAGS) -I\$(top_srcdir)/tools -+librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/:$(moddirs)\" $(PTHREADS_CFLAGS) $(JSON_C_CFLAGS) -I\$(top_srcdir)/tools - else --librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/\" -I$(top_srcdir) $(PTHREADS_CFLAGS) -I\$(top_srcdir)/tools -I\$(top_srcdir)/grammar -+librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/\" -I$(top_srcdir) $(PTHREADS_CFLAGS) $(JSON_C_CFLAGS) -I\$(top_srcdir)/tools -I\$(top_srcdir)/grammar - endif - #librsyslog_la_LDFLAGS = -module -avoid-version - librsyslog_la_LIBADD = $(DL_LIBS) $(RT_LIBS) -@@ -148,7 +148,7 @@ lmnetstrms_la_LIBADD = - # generic stream server framework - pkglib_LTLIBRARIES += lmstrmsrv.la - lmstrmsrv_la_SOURCES = strmsrv.c strmsrv.h strms_sess.c strms_sess.h --lmstrmsrv_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+lmstrmsrv_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - lmstrmsrv_la_LDFLAGS = -module -avoid-version - lmstrmsrv_la_LIBADD = - -@@ -159,7 +159,7 @@ pkglib_LTLIBRARIES += lmnsd_ptcp.la - lmnsd_ptcp_la_SOURCES = nsd_ptcp.c nsd_ptcp.h \ - nsdsel_ptcp.c nsdsel_ptcp.h \ - nsdpoll_ptcp.c nsdpoll_ptcp.h --lmnsd_ptcp_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+lmnsd_ptcp_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - lmnsd_ptcp_la_LDFLAGS = -module -avoid-version - lmnsd_ptcp_la_LIBADD = - endif # if ENABLE_INET -@@ -181,10 +181,10 @@ endif - if ENABLE_LIBGCRYPT - noinst_LTLIBRARIES += libgcry.la - libgcry_la_SOURCES = libgcry.c libgcry_common.c libgcry.h -- libgcry_la_CPPFLAGS = $(RSRT_CFLAGS) $(LIBGCRYPT_CFLAGS) -+ libgcry_la_CPPFLAGS = $(RSRT_CFLAGS) $(LIBGCRYPT_CFLAGS) $(JSON_C_CFLAGS) - pkglib_LTLIBRARIES += lmcry_gcry.la - lmcry_gcry_la_SOURCES = lmcry_gcry.c lmcry_gcry.h -- lmcry_gcry_la_CPPFLAGS = $(RSRT_CFLAGS) $(LIBGCRYPT_CFLAGS) -+ lmcry_gcry_la_CPPFLAGS = $(RSRT_CFLAGS) $(LIBGCRYPT_CFLAGS) $(JSON_C_CFLAGS) - lmcry_gcry_la_LDFLAGS = -module -avoid-version - lmcry_gcry_la_LIBADD = libgcry.la $(LIBGCRYPT_LIBS) - endif -diff --git a/runtime/msg.c b/runtime/msg.c -index a5c5281..4ca104e 100644 ---- a/runtime/msg.c -+++ b/runtime/msg.c -@@ -41,9 +41,7 @@ - #endif - #include <netdb.h> - #include <libestr.h> --#include <json/json.h> --/* For struct json_object_iter, should not be necessary in future versions */ --#include <json/json_object_private.h> -+#include <json.h> - #if HAVE_MALLOC_H - # include <malloc.h> - #endif -diff --git a/runtime/msg.h b/runtime/msg.h -index 6faf066..ac220b6 100644 ---- a/runtime/msg.h -+++ b/runtime/msg.h -@@ -30,7 +30,7 @@ - - #include <pthread.h> - #include <libestr.h> --#include <json/json.h> -+#include <json.h> - #include "obj.h" - #include "syslogd-types.h" - #include "template.h" -diff --git a/template.c b/template.c -index b675255..9cefa05 100644 ---- a/template.c -+++ b/template.c -@@ -34,7 +34,7 @@ - #include <string.h> - #include <ctype.h> - #include <assert.h> --#include <json/json.h> -+#include <json.h> - #include "stringbuf.h" - #include "syslogd-types.h" - #include "template.h" -diff --git a/template.h b/template.h -index 318db6f..87a1c77 100644 ---- a/template.h -+++ b/template.h -@@ -30,7 +30,7 @@ - #ifndef TEMPLATE_H_INCLUDED - #define TEMPLATE_H_INCLUDED 1 - --#include <json/json.h> -+#include <json.h> - #include <libestr.h> - #include "regexp.h" - #include "stringbuf.h" -diff --git a/tools/Makefile.am b/tools/Makefile.am -index 6832494..76c13cc 100644 ---- a/tools/Makefile.am -+++ b/tools/Makefile.am -@@ -38,7 +38,7 @@ rsyslogd_SOURCES = \ - pidfile.h \ - \ - ../dirty.h --rsyslogd_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -+rsyslogd_CPPFLAGS = $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(JSON_C_CFLAGS) - # note: it looks like librsyslog.la must be explicitely given on LDDADD, - # otherwise dependencies are not properly calculated (resulting in a - # potentially incomplete build, a problem we had several times...) |