Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 414376 Details for
Bug 558154
app-admin/sagan-1.0.0_rc3 : /.../liblognorm.h:65:18: fatal error: json.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposal to fix the issue in Gentoo
bug_558154.diff (text/plain), 3.88 KB, created by
Thomas Deutschmann (RETIRED)
on 2015-10-11 19:25:36 UTC
(
hide
)
Description:
Proposal to fix the issue in Gentoo
Filename:
MIME Type:
Creator:
Thomas Deutschmann (RETIRED)
Created:
2015-10-11 19:25:36 UTC
Size:
3.88 KB
patch
obsolete
>diff -rupN old/app-admin/sagan/files/sagan-1.0.0-liblognorm-json-c.patch new/app-admin/sagan/files/sagan-1.0.0-liblognorm-json-c.patch >--- old/app-admin/sagan/files/sagan-1.0.0-liblognorm-json-c.patch 1970-01-01 01:00:00.000000000 +0100 >+++ new/app-admin/sagan/files/sagan-1.0.0-liblognorm-json-c.patch 2015-10-11 21:21:28.000000000 +0200 >@@ -0,0 +1,55 @@ >+diff -rupN old/sagan-1.0.0RC3/configure.ac new/sagan-1.0.0RC3/configure.ac >+--- old/sagan-1.0.0RC3/configure.ac 2014-06-16 22:23:22.000000000 +0200 >++++ new/sagan-1.0.0RC3/configure.ac 2015-10-11 21:04:26.493632624 +0200 >+@@ -192,29 +192,15 @@ If you're not interested in libesmtp sup >+ fi >+ >+ if test "$LOGNORM" = "yes"; then >+- AC_MSG_RESULT([------- liblognorm support is enabled -------]) >+- AC_CHECK_HEADER([liblognorm.h]) >+- AC_CHECK_HEADERS([json/json.h json.h], [break], [AC_MSG_ERROR([json-c headers not found or not usable. >+-This library is important for the correlation aspects of Sagan! Please see >+-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature >+-use the --disable-lognorm flag.])]) >+- AC_CHECK_LIB(estr, main,,AC_MSG_ERROR(The libestr library cannot be found. >+-This library is important for the correlation aspects of Sagan! Please see >+-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature >+-use the --disable-lognorm flag. )) >+- AC_CHECK_LIB(ee, main,,AC_MSG_ERROR(The libee library cannot be found. >+-This library is important for the correlation aspects of Sagan! Please see >+-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature >+-use the --disable-lognorm flag. )) >+- AC_CHECK_LIB(lognorm, main,,AC_MSG_ERROR(The liblognorm library cannot be found. >+-This library is important for the correlation aspects of Sagan! Please see >+-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature >+-use the --disable-lognorm flag. )) >+- AC_CHECK_LIB(json, json_object_put,, [ AC_CHECK_LIB(json-c, json_object_put,,AC_MSG_ERROR(The json library cannot be found. >+-This library is important for the correlation aspects of Sagan! Please see >+-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature >+-use the --disable-lognorm flag.)) ],) >+- fi >++ AC_MSG_RESULT([------- liblognorm support is enabled -------]) >++ >++ PKG_CHECK_MODULES(LIBEE, libee >= 0.3.2) >++ PKG_CHECK_MODULES(LIBESTR, libestr >= 0.1.9) >++ PKG_CHECK_MODULES([JSON_C], [json-c],, [ >++ PKG_CHECK_MODULES([JSON_C], [json],,) >++ ]) >++ PKG_CHECK_MODULES(LIBLOGNORM, lognorm >= 1.0.2) >++fi >+ >+ if test "$LIBPCAP" = "yes"; then >+ AC_MSG_RESULT([------- libpcap support is enabled -------]) >+diff -rupN old/sagan-1.0.0RC3/src/Makefile.am new/sagan-1.0.0RC3/src/Makefile.am >+--- old/sagan-1.0.0RC3/src/Makefile.am 2014-06-16 22:23:22.000000000 +0200 >++++ new/sagan-1.0.0RC3/src/Makefile.am 2015-10-11 21:05:28.754492699 +0200 >+@@ -2,6 +2,9 @@ AUTOMAKE_OPIONS=foreign no-dependencies >+ >+ bin_PROGRAMS = sagan >+ >++sagan_CFLAGS = $(JSON_C_CFLAGS) $(LIBESTR_CFLAGS) $(LIBLOGNORM_CFLAGS) >++sagan_LDFLAGS = $(JSON_C_LIBS) $(LIBESTR_LIBS) $(LIBLOGNORM_LIBS) >++ >+ sagan_SOURCES = sagan.c \ >+ sagan-classifications.c \ >+ sagan-config.c \ >diff -rupN old/app-admin/sagan/sagan-1.0.0_rc3.ebuild new/app-admin/sagan/sagan-1.0.0_rc3.ebuild >--- old/app-admin/sagan/sagan-1.0.0_rc3.ebuild 2015-08-09 22:34:49.000000000 +0200 >+++ new/app-admin/sagan/sagan-1.0.0_rc3.ebuild 2015-10-11 21:10:24.998586268 +0200 >@@ -1,4 +1,4 @@ >-# Copyright 1999-2014 Gentoo Foundation >+# Copyright 1999-2015 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > >@@ -38,7 +38,7 @@ DEPEND="virtual/pkgconfig > ${RDEPEND}" > > DOCS=( AUTHORS ChangeLog FAQ INSTALL README NEWS TODO ) >-PATCHES=( "${FILESDIR}"/json_header_location.patch ) >+PATCHES=( "${FILESDIR}"/${PN}-1.0.0-liblognorm-json-c.patch ) > S="${WORKDIR}/sagan-1.0.0RC3/" > > pkg_setup() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 558154
:
409434
|
409436
| 414376