libestr: new package
PATCH v3 1/4 libestr: new package
---
Changes v2 -> v3:
- Corrected a typo in the license file (Suggested by Jerzy)
Changes v1 -> v2:
- No changes.
--- package/Config.in | 1 + package/libestr/Config.in | 6 ++++++ package/libestr/libestr.mk | 13 +++++++++++++ 3 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 package/libestr/Config.in create mode 100644 package/libestr/libestr.mk
package/Config.in +1 -0
@@ -817,6 +817,7 @@ source "package/enchant/Config.in" source "package/icu/Config.in" source "package/libedit/Config.in" source "package/libenca/Config.in" +source "package/libestr/Config.in" source "package/libfribidi/Config.in" source "package/libiconv/Config.in" source "package/linenoise/Config.in"
package/libestr/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBESTR + bool "libestr" + help + Some essentials for string handling (and a bit more) + + http://libestr.adiscon.com/
package/libestr/libestr.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# libestr +# +################################################################################ + +LIBESTR_VERSION = 0.1.9 +LIBESTR_SITE = http://libestr.adiscon.com/files/download/ +LIBESTR_LICENSE = LGPLv2.1+ +LIBESTR_LICENSE_FILES = COPYING +LIBESTR_INSTALL_STAGING = YES + +$(eval $(autotools-package))
Signature · 1 line
1.7.1
PATCH v3 2/4 libee: new package
---
Changes v2 -> v3:
- Corrected license files variable (Suggested by Jerzy)
Changes v1 -> v2:
- Added a select to the configure for libestr (Suggested by Baruch)
--- package/Config.in | 1 + package/libee/Config.in | 19 +++++++++++++++++++ package/libee/libee.mk | 16 ++++++++++++++++ 3 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 package/libee/Config.in create mode 100644 package/libee/libee.mk
package/Config.in +1 -0
@@ -767,6 +767,7 @@ source "package/libcap-ng/Config.in" source "package/libcgroup/Config.in" source "package/libcofi/Config.in" source "package/libdaemon/Config.in" +source "package/libee/Config.in" source "package/libelf/Config.in" source "package/libev/Config.in" source "package/libevdev/Config.in"
package/libee/Config.in new file +19 -0
@@ -0,0 +1,19 @@ +config BR2_PACKAGE_LIBEE + bool "libee" + select BR2_PACKAGE_LIBESTR + help + An Event Expression Library inspired by CEE. + + CEE is an upcoming standard used to describe network + events in a number of normalized formats. It's goal is + to unify they currently many different representations + that exist in the industry. + + The core idea of libee is to provide a small but hopefully + convenient API layer above the CEE standard. However, CEE + is not finished. At the time of this writing, CEE is under + heavy development and even some of its core data structures + (like the data dictionary and taxonmy) have not been fully + specified. + + http://www.libee.org
package/libee/libee.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# libee +# +################################################################################ + +LIBEE_VERSION = 0.4.1 +LIBEE_SITE = http://www.libee.org/download/files/download/ +LIBEE_LICENSE = LGPLv2.1+ +LIBEE_LICENSE_FILES = COPYING +LIBEE_DEPENDENCIES = libestr +LIBEE_INSTALL_STAGING = YES + +LIBEE_MAKE = $(MAKE1) + +$(eval $(autotools-package))
Signature · 1 line
1.7.1
PATCH v3 2/4 libee: new package
package/libee/libee.mk line 11
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Clayton" == Clayton Shotwell <[email protected]> writes:
Signed-off-by Clayton Shotwell <[email protected]>---
package/libee/libee.mk new file +6
-0+ +LIBEE_VERSION = 0.4.1 +LIBEE_SITE = http://www.libee.org/download/files/download/ +LIBEE_LICENSE = LGPLv2.1+ +LIBEE_LICENSE_FILES = COPYING +LIBEE_DEPENDENCIES = libestr
It uses pkg-config to find libestr, so we also need to add host-pkgconf to dependencies.
Committed with that fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v3 3/4 liblogging: new package
In reply to Clayton Shotwell---
Changes v2 -> v3:
- Fixed type in license files variable (Suggested by Jerzy)
Changes v1 -> v2:
- No changes.
--- package/Config.in | 1 + package/liblogging/Config.in | 8 ++++++++ package/liblogging/liblogging.mk | 20 ++++++++++++++++++++ 3 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 package/liblogging/Config.in create mode 100644 package/liblogging/liblogging.mk
package/Config.in +1 -0
@@ -776,6 +776,7 @@ source "package/libffi/Config.in" source "package/libglib2/Config.in" source "package/libical/Config.in" source "package/liblog4c-localtime/Config.in" +source "package/liblogging/Config.in" source "package/libnspr/Config.in" source "package/libpfm4/Config.in" source "package/libplist/Config.in"
package/liblogging/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBLOGGING + bool "liblogging" + help + Liblogging is an easy to use library for + logging. It offers an enhanced replacement + for the syslog() call, but retains its ease of use. + + http://www.liblogging.org/
package/liblogging/liblogging.mk new file +20 -0
@@ -0,0 +1,20 @@ +################################################################################ +# +# liblogging +# +################################################################################ + +LIBLOGGING_VERSION = 1.0.2 +LIBLOGGING_SITE = http://download.rsyslog.com/liblogging +LIBLOGGING_LICENSE = BSD-2c +LIBLOGGING_LICENSE_FILES = COPYING +LIBLOGGING_INSTALL_STAGING = YES +LIBLOGGING_CONF_OPT = --enable-cached-man-pages + +ifeq ($(BR2_INIT_SYSTEMD),y) +LIBLOGGING_CONF_OPT += --enable-journal +else +LIBLOGGING_CONF_OPT += --disable-journal +endif + +$(eval $(autotools-package))
Signature · 1 line
1.7.1
PATCH v3 3/4 liblogging: new package
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Clayton" == Clayton Shotwell <[email protected]> writes:
Signed-off-by Clayton Shotwell <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v3 4/4 rsyslog: bump to version 7.6.0
In reply to Clayton ShotwellBumping version of rsyslog and adding new dependencies of liblogging and libestr. The first patch has be submitted to the upstream mailing list and the second patch is a backport from the development branch of the upstream.
---
Changes v2 -> v3:
- No changes
Changes v1 -> v2:
- Upgraded to the latest release (suggested by Ryan)
- Add selects to the required libraries
- Fixing the default rsyslog.config path
- Add a install init sysv step
--- package/rsyslog/Config.in | 8 +++ ...yslog-0001-libgcrypt-config-path-override.patch | 44 +++++++++++++++++ ...yslog-0002-backport-json-include-path-fix.patch | 52 ++++++++++++++++++++ package/rsyslog/rsyslog.mk | 28 +++++++++-- 4 files changed, 128 insertions(+), 4 deletions(-) create mode 100644 package/rsyslog/rsyslog-0001-libgcrypt-config-path-override.patch create mode 100644 package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch
package/rsyslog/Config.in +8 -0
@@ -1,6 +1,14 @@ config BR2_PACKAGE_RSYSLOG bool "rsyslog" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LIBESTR + select BR2_PACKAGE_LIBLOGGING + select BR2_PACKAGE_JSON_C + depends on BR2_TOOLCHAIN_HAS_THREADS help Rsyslog is a powerful and flexible syslog implementation http://www.rsyslog.com + +comment "libxmlrpc needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/rsyslog/rsyslog-0001-libgcrypt-config-path-override.patch new file +44 -0
44 lines not on this page · raw message
package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch new file +52 -0
52 lines not on this page · raw message
package/rsyslog/rsyslog.mk +24 -4
@@ -4,21 +4,41 @@ # ################################################################################ -RSYSLOG_VERSION = 5.8.0 +RSYSLOG_VERSION = 7.6.0 RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog/ -RSYSLOG_DEPENDENCIES = zlib +RSYSLOG_LICENSE = GPLv3 LGPLv3 Apache-2.0 +RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20 +RSYSLOG_DEPENDENCIES = zlib libestr liblogging json-c +RSYSLOG_AUTORECONF = YES + +RSYSLOG_CONF_OPT = --disable-testbench \ + --enable-cached-man-pages # Build after Busybox ifeq ($(BR2_PACKAGE_BUSYBOX),y) RSYSLOG_DEPENDENCIES += busybox endif -define RSYSLOG_INSTALL_CONF_SCRIPT +ifeq ($(BR2_PACKAGE_LIBEE),y) + RSYSLOG_DEPENDENCIES += libee +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) + RSYSLOG_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config + RSYSLOG_CONF_OPT += --enable-libgcrypt=yes +else + RSYSLOG_CONF_OPT += --enable-libgcrypt=no +endif + +define RSYSLOG_INSTALL_INIT_SYSV [ -f $(TARGET_DIR)/etc/init.d/S01rsyslog ] || \ $(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \ $(TARGET_DIR)/etc/init.d/S01rsyslog +endef + +define RSYSLOG_INSTALL_CONF_SCRIPT [ -f $(TARGET_DIR)/etc/rsyslog.conf ] || \ - $(INSTALL) -m 0644 -D $(@D)/rsyslog.conf \ + $(INSTALL) -m 0644 -D $(@D)/platform/redhat/rsyslog.conf \ $(TARGET_DIR)/etc/rsyslog.conf mkdir -p $(TARGET_DIR)/etc/rsyslog.d endef
Signature · 1 line
1.7.1
PATCH v3 4/4 rsyslog: bump to version 7.6.0
Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Clayton" == Clayton Shotwell <[email protected]> writes:
Bumping version of rsyslog and adding new dependencies of liblogging and libestr. The first patch has be submitted to the upstream mailing list and the second patch is a backport from the development branch of the upstream.
Signed-off-by Clayton Shotwell <[email protected]>package/rsyslog/Config.in +0
-0
package/rsyslog/Config.in line 7
Quoted 7 lines
package/rsyslog/Config.in +5
-0@@ -1,6 +1,14 @@ config BR2_PACKAGE_RSYSLOG bool "rsyslog" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LIBESTR + select BR2_PACKAGE_LIBLOGGING + select BR2_PACKAGE_JSON_C + depends on BR2_TOOLCHAIN_HAS_THREADS
According to the configure script it also needs libuuid, so we need to add util-linux / libuuid and update the toolchain dependencies.
package/rsyslog/Config.in line 13
Quoted 6 lines
package/rsyslog/Config.in +2
-0help Rsyslog is a powerful and flexible syslog implementation http://www.rsyslog.com + +comment "libxmlrpc needs a toolchain w/ threads"
Cut'n'paste? ;)
package/rsyslog/Config.in line 11
Quoted 12 lines
package/rsyslog/Config.in +5
-2+++ b/package/rsyslog/rsyslog.mk@@ -4,21 +4,41 @@ # ################################################################################ -RSYSLOG_VERSION = 5.8.0 +RSYSLOG_VERSION = 7.6.0 RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog/ -RSYSLOG_DEPENDENCIES = zlib +RSYSLOG_LICENSE = GPLv3 LGPLv3 Apache-2.0 +RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20 +RSYSLOG_DEPENDENCIES = zlib libestr liblogging json-c
It uses pkg-config, so we need to add host-pkgconf (and util-linux).
Committed with those issues fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v3 1/4 libestr: new package
In reply to Clayton ShotwellQuoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Clayton" == Clayton Shotwell <[email protected]> writes:
Signed-off-by Clayton Shotwell <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard