packages/librelp: new package
authorDavid GOUARIN <dgouarin@gmail.com>
Mon, 21 Sep 2020 16:58:33 +0000 (18:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 23 Sep 2020 20:08:37 +0000 (22:08 +0200)
Reliable Logging Protocol library.

Signed-off-by: David GOUARIN <dgouarin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/librelp/Config.in [new file with mode: 0644]
package/librelp/librelp.hash [new file with mode: 0644]
package/librelp/librelp.mk [new file with mode: 0644]

index 9ce19c0de98c695a63aee08067c43b45dbfb1fb7..7d1e5e4f5ffaf1425c2a763c98f29a579d07a47c 100644 (file)
@@ -694,6 +694,9 @@ F:  package/openldap/
 N:     David du Colombier <0intro@gmail.com>
 F:     package/x264/
 
+N:     David GOUARIN <dgouarin@gmail.com>
+F:     package/librelp/
+
 N:     David Lechner <david@lechnology.com>
 F:     board/lego/ev3/
 F:     configs/lego_ev3_defconfig
index 20a0167dabb8769f4a53c68a719ee8e0bb795b5a..bbaa49f76c91f8b2f21ff4348060bce26d5d23be 100644 (file)
@@ -1747,6 +1747,7 @@ menu "Networking"
        source "package/libpagekite/Config.in"
        source "package/libpcap/Config.in"
        source "package/libpjsip/Config.in"
+       source "package/librelp/Config.in"
        source "package/librsync/Config.in"
        source "package/libshairplay/Config.in"
        source "package/libshout/Config.in"
diff --git a/package/librelp/Config.in b/package/librelp/Config.in
new file mode 100644 (file)
index 0000000..d1f1f9e
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBRELP
+       bool "librelp"
+       help
+         Reliable Event Logging Protocol library
+
+         https://www.rsyslog.com/librelp/
diff --git a/package/librelp/librelp.hash b/package/librelp/librelp.hash
new file mode 100644 (file)
index 0000000..ac08039
--- /dev/null
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  a34c8fc98bf8eef2a5baf635a0f71813cce93b1185aa03648e31b5af60b7393f  librelp-1.2.18.tar.gz
+sha256  1ed76f935566e93e3c3c0d9f8fad22eb6d8bbe406e2eb8470a4a2764d9fd9685  COPYING
diff --git a/package/librelp/librelp.mk b/package/librelp/librelp.mk
new file mode 100644 (file)
index 0000000..bcb4fe0
--- /dev/null
@@ -0,0 +1,20 @@
+################################################################################
+#
+# librelp
+#
+################################################################################
+
+LIBRELP_VERSION = 1.2.18
+LIBRELP_SITE = http://download.rsyslog.com/librelp
+LIBRELP_LICENSE = GPL-3.0+
+LIBRELP_LICENSE_FILES = COPYING
+LIBRELP_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+LIBRELP_DEPENDENCIES += gnutls host-pkgconf
+LIBRELP_CONF_OPTS += --enable-tls
+else
+LIBRELP_CONF_OPTS += --disable-tls
+endif
+
+$(eval $(autotools-package))